The condensation between 3-bromobenzaldehyde (I), 1-(6-morpholinyl-3-pyridinyl)ethanone (II) and malononitrile in the presence of ammonium acetate in refluxing benzene produced the bipyridyl derivative (III). Then treatment of (III) with refluxing formamide gave the title pyridopyrimidine.
6-Chloronicotinic acid (I) was converted to the corresponding acid chloride (II) by treatment with oxalyl chloride. Condensation of acid chloride (II) with diethyl malonate in the presence of MgCl2 and Et3N produced the keto diester (III), which was further decarbethoxylated to ketone (IV) upon heating in moist DMSO. Displacement of the chloride group of (III) with 4-piperidone ethylene ketal (V) furnished the piperidinyl pyridine (VI). Knoevenagel condensation of malononitrile with 3-bromobenzaldehyde (VII) using glycine as the catalyst produced the benzylidene malononitrile (VIII). The dipyridyl derivative (IX) was obtained by condensation of ketone (VI) with dinitrile (VIII) in the presence of ammonium acetate. Cyclization of amino nitrile (IX) in hot formamide gave rise to the pyridopyrimidine system (X). Ketone (XI) was then obtained by acid hydrolysis of the ethylene ketal function of (X). Finally, condensation of ketone (XI) with 4-tetrahydropyranyloxyamine (XII) yielded the title oxime.