organic compounds
Open access
Methylation of [1-hydroxy-3-(pyridin-2-yl)indolizin-2-yl](pyridin-2-yl)methanone was performed via metalation with potassium tert-butanolate in toluene and a subsequent metathesis reaction with methyl iodide yielded the yellow title compound, C20H15N3O2. The substituents at the indolizine unit are twisted [the indolizine ring system makes dihedral angles of 34.67 (7) and 77.49 (5)°, respectively, with the pyridyl and pyridinoyl rings] with single bonds between the central unit and the attached pyridine ring [1.459 (3) Å] and the pyridinoyl group [1.483 (3) Å]. There are no classical hydrogen bonds in the crystal structure.