Br[C:2]1[CH:3]=[N:4][CH:5]=[CH:6][CH:7]=1.[CH3:8][CH2:9][CH2:10][CH2:11][CH2:12]C.C([Li])CCC.[Cl-].[NH4+].CC[O:23][CH2:24][CH3:25]>>[C:24]([C:2]1[CH:3]=[N:4][CH:5]=[CH:6][CH:7]=1)(=[O:23])[CH2:25][CH2:8][CH2:9][CH2:10][CH2:11][CH3:12]A solution of 10.0 g (63.3 mmol) of 3-bromopyridine in 100 ml of ether was cooled to -78° C., to which 40 ml of 1.6M (64 mmol) n-butyllithium hexane solution was added dropwise. The mixture was stirred for 15 minutes after completion of the addition, to which a solution of 7.52 g (67.7 mmol) of heptanitrile in 15 ml of ether was added dropwise and stirred at -78° C. to room temperature further for 1 hour. To the reaction mixture an aqueous solution of ammonium chloride was added, from which the product was extracted with ethyl acetate. The extract was washed with water and dried, and the solvent was evaporated off. The residue was purified with silica gel column chromatography (eluted with isopropyl ether), to give 3.9 g (36%) of 3-heptanoylpyridine (an oil).