[Na].[NH:2]1[CH:6]=[CH:5][C:4]([NH2:7])=[N:3]1.CN1[CH:14]=[CH:13][C:12](=[O:15])N(C)C1=O>CCO>[N:2]1[N:3]2[CH:14]=[CH:13][C:12]([OH:15])=[N:7][C:4]2=[CH:5][CH:6]=1To a solution of dry EtOH (500 mL) was added sodium (22.1 g, 481 mmol) under a cold water bath. After complete dissolution, 1H-pyrazol-3-amine (40.0 g, 481 mmol) and 1,3-dimethylpyrimidine-2,4(1H,3H)-dione (101 g, 722 mmol) were added. The reaction mixture was heated at reflux for 4 hours. After cooling, the white solid was collected by filtration, washed with cold EtOH and dried under vacuum. The crude solid was suspended in minimum amount of water and the pH of the solution was adjusted to 5 by dropwise addition of acetic acid. The precipitated solid was collected by filtration, re-dissolved in MeOH and concentrated by rotary evaporation to azeotrope any remaining water to afford pyrazolo[1,5-a]pyrimidin-5-ol (34.3 g, 53%).