NC1[CH:3]=[C:4]([C:8]#[N:9])[CH:5]=[N:6][CH:7]=1.[H-].[Na+].CI.[CH3:14][N:15]([CH:17]=O)[CH3:16]>>[C:8]([C:4]1[CH:5]=[N:6][CH:7]=[C:17]([N:15]([CH3:16])[CH3:14])[CH:3]=1)#[N:9]To a solution of 5-amino-3-cyanopyridine (0.50 g, 4.20 mmol) in DMF (5 ml) was added NaH (60% in oil) (0.37 g, 9.26 mmol) under ice-cooling, and the mixture was stirred for 20 minutes. Methyl iodide (0.58 ml, 9.31 mmol) in DMF (2 ml) was added dropwise under ice-cooling. The mixture was stirred for 2 hours while the temperature was raised up to room temperature. Ice was added to the reaction mixture, and the mixture was extracted with diethyl ether (30 ml×3). The diethyl ether layer was washed with saturated brine, dried over anhydrous sodium sulfate and concentrated under reduced pressure. The residue thus obtained was purified by silica gel column chromatography (Wako Gel C-200, 20 g; eluted with chloroform:methanol=200:1) to give 3-cyano-5-dimethylaminopyridine (145 mg, yield 23%).