Reactions of 4-aryl-1H-pyrazol-5(3)-amines with 2-acylcycloakanones and 2-acyl-5,5-dimethylcyclohexane-1,3-diones led to the formation of regioisomeric 6,7,8,9-tetrahydropyrazolo[1,5-a]quinazoline, 5,6,7,8-tetrahydropyrazolo[5,1-b]quinazoline, and 7,8-dihydro-6H-cyclopenta[e]pyrazolo[1,5-a]pyrimidine derivatives. The product structure was determined by X-ray analysis and 1 H and 13 C NMR spectroscopy. * For communication V, see [1]. Extensive development of synthetic approaches to polyfunctional pyrazolo[1,5-a]pyrimidine derivatives is stimulated by the fact that compounds possessing pyrazole and pyrimidine fragments are promising as potential biologically active substances. Several efficient medical agents exhibiting sedative and soporific activity (such as Zaleplon [2], Indiplon [3], and Ocinaplon [4]) are known; some compounds of this series have been patented as antidiabetic [5] and antiphlogistic agents [6], antidepressants [7], and analgesics [8,9]. Pronounced biological activity of pyrazolo-[1,5-a]pyrimidine derivatives was noted in [10][11][12][13][14][15][16][17].The goal of the present work was to study regioselectivity in the formation of cycloalkane-annulated pyrazolo[1,5-a]pyrimidines and determine characteristic 13 C NMR spectral parameters of particular regioisomers. We examined reactions of 5(3)-amino-4-aryl-1H-pyrazoles Ia-Id with 2-acylcycloalkanones III-VII and three-component condensation of 5(3)-amino-4-aryl-1H-pyrazoles Ia and Id with dimedone and aldehydes.Aminopyrazoles I reacted with 2-ethoxymethylidene-5,5-dimethylcyclohexane-1,3-dione (II) and 2-acetyl-5,5-dimethylcyclohexane-1,3-dione (III) to give only substituted 6,7,8,9-tetrahydropyrazolo-[1,5-a]quinazolines which may be regarded as pyrazolopyrimidines fused at the C 6 -C 7 bond to cyclohexene ring. The reaction begins with nucleophilic attack by the amino nitrogen atom of pyrazole I at the carbon atom of the ethoxymethylidene or acetyl group in II or III, respectively. In the first case, the primary linear adduct, 5,5-dimethyl-2-{[(3-methyl-4-phenyl-1H-pyrazol-5-yl)amino]methylidene}cyclohexane-1,3-dione (A), was isolated as individual substance, while in the second case, 3-hydroxy-5,5-dimethyl-2-{1-[(4-phenyl-1H-pyrazol-3-yl)imino]ethyl}cyclohex-2-en-1-one (B) was detected as intermediate product by 1 H NMR (Scheme 1). The formation of an analogous intermediate compound was observed previously in the reaction of 5-methoxymethylidene-2,2-dimethyl-1,3-dioxane-4,6-dione with 5(3)-aminopyrazoles [18]. In the 1 H NMR spectrum of compound A, the NH proton in the pyrazole ring resonated at δ 12.82 ppm, and the exocyclic CH= and NH protons gave doublets at δ 8.65 and 12.76 ppm, respectively, with a coupling constant 3 J of 13.1 Hz. The downfield position of the latter NH signal indicates formation of intramolecular hydrogen bond NH · · · O. The structure of intermediate B was determined by 1 H NMR monitoring of the reaction of aminopyrazole Id with acetyldimedone III in DMSO-d 6 at 20°C. After 2 days, the 1 H NMR spectrum of the reaction...