The reaction of βaminocrotononitrile 44 with cyanoacetohydrazide 1 in presence of sodium methoxide, gave a condensation product which has been identified as the pyrazolo [3, 4 -b] pyridine derivative 46. The reaction is assumed to proceed via the intermediate 45 which could be separated when 44 was stirred with 3-amino pyrazolone 23 at room temperature . This intermediate when refluxed in acetic acid gave the final isolable product 46 (Scheme 17). The pyrazolo[1,5-a]-s-triazine derivative 50 was obtained when