[CH2:1]([O:3][C:4]([C:6]1[C:11](=[O:12])[N:10]2[CH:13]=[CH:14][CH:15]=[C:16]([SH:17])[C:9]2=[N:8][CH:7]=1)=[O:5])[CH3:2].[CH2:18]=[O:19]>>[CH2:1]([O:3][C:4]([C:6]1[C:11](=[O:12])[N:10]2[CH:13]=[CH:14][CH:15]=[C:16]([S:17][CH2:18][OH:19])[C:9]2=[N:8][CH:7]=1)=[O:5])[CH3:2]A mixture of 1.0 g of 3-ethoxycarbonyl-9-mercapto-4-oxo-4H-pyrido[1,2-a]pyrimidine (II-1) and 325 mg of 27% formaldehyde is stirred at 100° C. for 2 hours in a nitrogen atmosphere. The reaction mixture is washed with methylene chloride and recrystallized from methylene chloride-methanol (19:1 v/v) to give 311 mg (Yield: 27.8%) of 3-ethoxycarbonyl-9-(hydroxymethylthio)-4-oxo-4H-pyrido[1,2-a]pyrimidine (III).