Oximes of gamma cyano- and gamma nitro-ketones are decomposed by heat as well as by acids. From the very complex mixtures resulting there have been isolated arylated pyrroles, arylated 2-aminopyridines, and the corresponding pyridones, as well as several minor products. This behavior constitutes a new synthesis of these heterocyclic compounds. In a Beckmann rearrangement γ-benzoyl-α,β-diphenylbutyronitrile gave an anilide, the structure of which was confirmed by an independent synthesis. By physical methods both structures of gamma ketonic amides are confirmed.