PYRAZOLO [1,5-a]PYRIMIDINE DERIVATIVE

Abstract: The invention provides a pyrazolo[1,5-a]pyrimidine derivative of the following formula (1): wherein R¹ is hydrogen, lower alkyl which may have thienyl, lower alkoxy, lower alkylthio, oxo or hydroxyl as a substituent, cycloalkyl, thienyl, furyl, lower alkenyl, or phenyl which may have 1 to 3 substituents selected from the group consisting of lower alkyl, lower alkoxy, phenylthio and halogen; R² is naphthyl, cycloalkyl, furyl, thienyl, optionally halogen-substituted pyridyl, optionally halogen-substituted phenoxy, or phenyl which may have 1 to 3 substituents selected from the group consisting of lower alkyl, lower alkoxy, halogen, nitro, halogen-substituted lower alkyl, halogen-substituted lower alkoxy, lower alkoxycarbonyl, hydroxyl, phenyl(lower)alkoxy, amino, cyano, lower alkanoyloxy, phenyl and di(lower)alkoxyphosphoryl(lower)alkyl; R³ is hydrogen, phenyl or lower alkyl; R⁴ is hydrogen, lower alkyl, lower alkoxycarbonyl, phenyl(lower)alkyl, optionally phenylthio-substituted phenyl, or halogen; R⁵ is hydrogen or lower alkyl; R⁶ is hydrogen, lower alkyl, phenyl(lower)alkyl, or benzoyl having 1 to 3 substituents selected from the group consisting of lower alkoxy, halogen-substituted lower alkyl and halogen; R¹ and R⁵ may conjointly form lower alkylene; Q is carbonyl or sulfonyl; A is a single bond, lower alkylene or lower alkenylene; and n is 0 or 1. This derivative is useful as a potent analgesic.

Description: TECHNICAL FIELD The present invention relates to novel pyrazolo[1,5-a]pyrimidine derivatives. PRIOR ART Pyrazolo[1,5-a]pyrimidine derivatives have already been published in the literature. In patent abstract of JP-A-61057589 condensed heterocyclic derivatives are described which are useful as anti-tumor agents. As an example, 7-benzylthio-3-methyl-5-phenylpyrazolo[1,5-a]-pyrimidine is mentioned. From DE-OS-2257547 pyrazolo[1,5-a]-pyrimidins are known which can be used as medicaments for various purposes. The nitrogen atom at position 5 is always substituted by groups of different chemical nature. In patent abstract of JP-A-3204877, pyrazolo[1,5-a]-pyrimidine derivatives are described which are useful as a drug such as an improver for ischemic palsy disorder, antiinflammatory drug, anti-rheumatic, anti-asthmatic, anti-allergic, etc. As an example, 7-(3,5-di-t-butyl-4-hydroxyphenyl)amino-pyrazolo[1,5-a]-pyrimidine is mentioned. The pyrazolo[1,5-a].pyrimidine derivatives of EP-A-0591528 are described to have antiinflammatory activity. Said known pyrimidine derivatives may have different substitutions at position 8 of the pyrimidine ring. DISCLOSURE OF THE INVENTION The object of the invention is to provide compounds of value as medicines as will be described hereinafter. The present invention provides a novel pyrazolo[1,5-a]pyrimidine derivative of the following formula (1): wherein R 1 is hydrogen, lower alkyl which may have thienyl, lower alkoxy, lower alkylthio, oxo or hydroxyl as a substituent, cycloalkyl, thienyl, furyl, lower alkenyl, or phenyl which may have 1 to 3 substituents selected from the group consisting of lower alkyl, lower alkoxy, phenylthio and halogen; R 2 is naphthyl, cycloalkyl, furyl, thienyl, optionally halogen-substituted pyridyl, optionally halogen-substituted phenoxy, or phenyl which may have 1 to 3 substituents selected from the group consisting of lower alkyl, lower alkoxy, halogen, nitro, halogen-substituted lower alkyl, halogen-substituted lower alkoxy, lower alkoxycarbonyl, hydroxyl, phenyl(lower)alkoxy, amino, cyano, lower alkanoyloxy, phenyl and di(lower)alkoxyphosphoryl(lower)alkyl; R 3 is hydrogen, phenyl or lower alkyl; R 4 is hydrogen, lower alkyl, lower alkoxycarbonyl, phenyl(lower)alkyl, optionally phenylthio-substituted phenyl, or halogen; R 5 is hydrogen or lower alkyl; R 6 is hydrogen, lower alkyl, phenyl(lower)alkyl, or benzoyl having 1 to 3 substituents selected from the group consisting of lower alkoxy, halogen-substituted lower alkyl and halogen; R 1 and R 5 may conjointly form lower alkylene; Q is carbonyl or sulfonyl; A is a single bond, lower alkylene or lower alkenylene; and n is 0 or 1. Examples of the groups in the above formula (1) are as follows. The lower alkyl group includes straight- or branched-chain lower alkyl groups such as methyl, ethyl, propyl, isopropyl, butyl, isobutyl, tert-butyl, pentyl, hexyl. The cycloalkyl group includes cyclopropyl, cyclobutyl, cyclopentyl, cyclohexyl, cycloheptyl, cyclooctyl, and the like. The lower alkoxy group includes methoxy, ethoxy, propoxy, isopropoxy, butoxy, pentyloxy, hexyloxy. The lower alkylthio group includes methylthio, ethylthio, propylthio, butylthio, pentylthio, hexylthio. The halogen atom includes fluorine, chlorine, bromine and iodine. The halogen-substituted lower alkyl group includes trifluoromethyl, pentafluoroethyl, heptafluoropropyl, nonafluorobutyl, undecafluoropentyl, tridecafluorohexyl. The halogen-substituted lower alkoxy group includes trifluoromethoxy, pentafluoroethoxy, heptafluoropropoxy, nonafluorobutoxy, undecafluoropentyloxy, tridecafluorohexyloxy. The lower alkoxycarbonyl group includes methoxycarbonyl, ethoxycarbonyl, propoxycarbonyl, isopropoxycarbonyl, butoxycarbonyl, pentyloxycarbonyl, hexyloxycarbonyl. The di(lower)alkoxyphosphoryl(lower)alkyl group includes dimethoxyphosphorylmethyl, diethoxyphosphorylmethyl, dipropoxyphosphorylmethyl, diisopropoxyphosphorylmethyl, dibutoxyphosphorylmethyl, dipentyloxyphosphorylmethyl, dihexyloxyphosphorylmethyl, 2-(dimethoxyphosphoryl)ethyl, 2-(diethoxyphosphoryl)ethyl, 3-(diethoxyphosphoryl)propyl, and the like. The naphthyl group includes 1-naphthyl, 2-naphthyl. The lower alkylene group includes methylene, ethylene, trimethylene, tetramethylene, pentamethylene, hexamethylene. The lower alkenylene group includes vinylene, propenylene. The optionally halogen-substituted pyridyl group includes 2-pyridyl, 3-pyridyl, 4-pyridyl, 6-chloro-2-pyridyl, 5-chloro-2-pyridyl, 4-chloro-2-pyridyl, 3-chloro-2-pyridyl, 6-chloro-3-pyridyl, 5-chloro-3-pyridyl, 4-chloro-3-pyridyl, 2-chloro-3-pyridyl, 2-chloro-4-pyridyl, 3-chloro-4-pyridyl, 6-fluoro-3-pyridyl, 6-bromo-3-pyridyl, 6-iodo-3-pyridyl. The optionally halogen-substituted phenoxy group includes phenoxy, 2-chlorophenoxy, 3-chlorophenoxy, 4-chlorophenoxy, 4-fluorophenoxy, 4-bromophenoxy, 4-iodophenoxy. The thienyl group includes 2-thienyl and 3-thienyl, and the furyl group includes 2-furyl and 3-furyl. The lower alkenyl group includes vinyl, allyl, isopropenyl, 1-butenyl, 2-butenyl, 3-butenyl, 1-pentenyl, 2-pentenyl, 3-pentenyl, 4-pentenyl, 1-hexenyl, 2-hexenyl, 3-hexenyl, 4-hexenyl, 5-hexenyl. The phenyl(lower)alkyl group includes benzyl, 1-phenylethyl, 2-phenylethyl, 3-phenylpropyl, 4-phenylbutyl, 5-phenylpentyl, 6-phenylhexyl. The phenyl(lower)alkoxy group includes benzyloxy, 2-phenylethoxy, 3-phenylpropoxy, 4-phenylbutoxy, 5-phenylpentyloxy, 6-phenylhexyloxy. The lower alkanoyloxy group includes acetoxy, propionyloxy, butyryloxy, valeryloxy, pivaloyloxy, hexanoyloxy, heptanoyloxy. The lower alkyl group which may have thienyl, lower alkoxy, lower alkylthio, oxo or hydroxyl as a substituent includes not only the above-mentioned non-substituted lower alkyl groups but also 2-thienylmethyl, 3-thienylmethyl, 1-(2-thienyl)ethyl, 1-(3-thienyl)ethyl, 2-(2-thienyl)ethyl, 2-(3-thienyl)ethyl, 3-(2-thienyl)propyl, 4-(2-thienyl)butyl, 5-(2-thienyl)pentyl, 6-(2-thienyl)hexyl, methoxymethyl, ethoxymethyl, propoxymethyl, butoxymethyl, pentyloxymethyl, hexyloxymethyl, 1-methoxyethyl, 2-methoxyethyl, 3-methoxypropyl, 4-methoxybutyl, 5-methoxypentyl, 6-methoxyhexyl, hydroxymethyl, 1-hydroxyethyl, 2-hydroxyethyl, 1-hydroxypropyl, 2-hydroxypropyl, 3-hydroxypropyl, 3-hydroxybutyl, 4-hydroxypentyl, 5-hydroxyhexyl, methylthiomethyl, ethylthiomethyl, propylthiomethyl, butylthiomethyl, pentylthiomethyl, hexylthiomethyl, 2-methylthioethyl, 3-methylthiopropyl, 4-methylthiobutyl, 5-methylthiopentyl, 6-methylthiohexyl, formyl, formylmethyl, acetyl, 2-formylethyl, 2-oxopropyl, propionyl, 3-formylpropyl, 3-oxobutyl, 2-oxobutyl, butyryl, 4-formylbutyl, 4-oxopentyl, 3-oxopentyl, 2-oxopentyl, valeryl, 5-formylpentyl, 5-oxohexyl, 4-oxohexyl, 3-oxohexyl, 2-oxohexyl, hexanoyl. The phenyl group which may have 1 to 3 substituents selected from the group consisting of lower alkyl, lower alkoxy, phenylthio and halogen includes phenyl, 2-methylphenyl, 3-methylphenyl, 4-methylphenyl, 4-ethylphenyl, 4-propylphenyl, 4-butylphenyl, 4-t-butylphenyl, 4-pentylphenyl, 4-hexylphenyl, 2,3-dimethylphenyl, 2,4-dimethylphenyl, 2,5-dimethylphenyl, 2,6-dimethylphenyl, 3,4-dimethylphenyl, 3,5-dimethylphenyl, 2-methoxyphenyl, 3-methoxyphenyl, 4-methoxyphenyl, 4-ethoxyphenyl, 4-propoxyphenyl, 4-butoxyphenyl, 4-pentyloxyphenyl, 4-hexyloxyphenyl, 2,3-dimethoxyphenyl, 2,4-dimethoxyphenyl, 2,5-dimethoxyphenyl, 2,6-dimethoxyphenyl, 3,4-dimethoxyphenyl, 3,5-dimethoxyphenyl, 3,4,5-trimethoxyphenyl, 2-chlorophenyl, 3-chlorophenyl, 4-chlorophenyl, 4-bromophenyl, 4-iodophenyl, 4-fluorophenyl, 4-(phenylthio)phenyl, 3-(phenylthio)phenyl, 2-(phenylthio)phenyl. The phenyl group which may have 1 to 3 substituents selected from the group consisting of lower alkyl, lower alkoxy, halogen, nitro, halogen-substituted lower alkyl, halogen-substituted lower alkoxy, lower alkoxycarbonyl, hydroxyl, phenyl(lower)alkoxy, amino, cyano, lower alkanoyloxy, phenyl and di(lower)alkoxyphosphoryl-(lower)alkyl include the following groups: phenyl, 2-methylphenyl, 3-methylphenyl, 4-methylphenyl, 4-ethylphenyl, 4-propylphenyl, 4-butylphenyl, 4-t-butylphenyl, 4-pentylphenyl, 4-hexylphenyl, 2-methoxyphenyl, 3-methoxyphenyl, 4-methoxyphenyl, 4-ethoxyphenyl, 4-propoxyphenyl, 4-butoxyphenyl, 4-pentyloxyphenyl, 4-hexyloxyphenyl, 2,3-dimethoxyphenyl, 2,4-dimethoxyphenyl, 2,5-dimethoxyphenyl, 2,6-dimethoxyphenyl, 3,4-dimethoxyphenyl, 3,5-dimethoxyphenyl, 2,3,4-trimethoxyphenyl, 2,3,5-trimethoxyphenyl, 2,3,6-trimethoxyphenyl, 2,4,5-trimethoxyphenyl, 2,4,6-trimethoxyphenyl, 3,4,5-trimethoxyphenyl, 3,4,5-triethoxyphenyl, 2-fluorophenyl, 3-fluorophenyl, 4-fluorophenyl, 2-chlorophenyl, 3-chlorophenyl, 4-chlorophenyl, 2-bromophenyl, 3-bromophenyl, 4-bromophenyl, 4-iodophenyl, 2,3-dichlorophenyl, 2,4-dichlorophenyl, 2-nitrophenyl, 3-nitrophenyl, 4-nitrophenyl, 2-trifluoromethylphenyl, 3-trifluoromethylphenyl, 4-trifluoromethylphenyl, 4-pentafluoroethylphenyl, 4-heptafluoropropylphenyl, 4-nonafluorobutylphenyl, 4-undecafluoropentylphenyl, 4-tridecafluorohexylphenyl, 2-methoxycarbonylphenyl, 3-methoxycarbonylphenyl, 4-methoxycarbonylphenyl, 4-ethoxycarbonylphenyl, 4-propoxycarbonylphenyl, 4-butoxycarbonylphenyl, 4-pentyloxycarbonylphenyl, 4-hexyloxycarbonylphenyl, 2-biphenyl, 3-biphenyl, 4-biphenyl, 2-(diethoxyphosphorylmethyl)phenyl, 3-(diethoxyphosphorylmethyl)phenyl, 4-(diethoxyphosphorylmethyl)phenyl, 4-(dimethoxyphosphorylmethyl)phenyl, 4-(diisopropoxyphosphorylmethyl)phenyl, 3,5-dimethoxy-4-ethoxyphenyl, 3,5-dimethoxy-4-propoxyphenyl, 4-butoxy-3,5-dimethoxyphenyl, 3,5-dimethoxy-4-pentyloxyphenyl, 3,5-dimethoxy-4-hexyloxyphenyl, 2,3-bis(trifluoromethyl)phenyl, 2,4-bis(trifluoromethyl)phenyl, 2,5-bis(trifluoromethyl)phenyl, 2,6-bis(trifluoromethyl)phenyl, 3,4-bis(trifluoromethyl)phenyl, 3,5-bis(trifluoromethyl)phenyl, 3,5-dimethoxy-4-hydroxyphenyl, 3,5-diethoxy-4-hydroxyphenyl, 3,5-dipropoxy-4-hydroxyphenyl, 4-benzyloxy-3,5-dimethoxyphenyl, 4-benzyloxy-3,5-diethoxyphenyl, 3,5-dimethoxy-4-(2-phenylethoxy)phenyl, 4-acetoxy-3,5-dimethoxyphenyl, 3,5-dimethoxy-4-propionyloxyphenyl, 2-chloro-3,5-dimethoxyphenyl, 4-chloro-3,5-dimethoxyphenyl, 4-bromo-3,5-dimethoxyphenyl, 3,5-dimethoxy-4-iodophenyl, 3,5-dichloro-4-methoxyphenyl, 3,5-dichloro-4-ethoxyphenyl, 2-aminophenyl, 3-aminophenyl, 4-aminophenyl, 2-cyanophenyl, 3-cyanophenyl, 4-cyanophenyl, 4-trifluoromethoxyphenyl, 3-trifluoromethoxyphenyl, 2-trifluoromethoxyphenyl, 4-pentafluoroethoxyphenyl, 4-heptafluoropropoxyphenyl, 4-nonafluorobutoxyphenyl, 4-undecafluoropentyloxyphenyl, 4-tridecafluorohexyloxyphenyl, 3,5-bis(trifluoromethoxy)phenyl, 3,4,5-tris(trifluoromethoxy)phenyl. The optionally phenylthio-substituted phenyl group includes phenyl, 4-(phenylthio)phenyl, 3-(phenylthio)phenyl, 2-(phenylthio)phenyl, and the like. The benzoyl group having 1 to 3 substituents selected from the group consisting of lower alkoxy, halogen-substituted lower alkyl and halogen include 2chlorobenzoyl, 3-chlorobenzoyl, 4-chlorobenzoyl, 2fluorobenzoyl, 2-bromobenzoyl, 2-iodobenzoyl, 2,4dichlorobenzoyl, 3,4-dichlorobenzoyl, 2,5dichlorobenzoyl, 2,6-dichlorobenzoyl, 2trifluoromethylbenzoyl, 3-trifluoromethylbenzoyl, 4trifluoromethylbenzoyl, 3,5-bis(trifluoromethyl)benzoyl, 3,4,5-tris(trifluoromethyl)benzoyl, 2-methoxybenzoyl, 3methoxybenzoyl, 4-methoxybenzoyl, 2,3-dimethoxybenzoyl, 2,4-dimethoxybenzoyl, 3,5-dimethoxybenzoyl, 3,4,5trimethoxybenzoyl, 2-ethoxylbenzoyl, 2-propoxybenzoyl, 2butoxybenzoyl, 2-pentyloxybenzoyl, 2-hexyloxybenzoyl. The pyrazolo[1,5-a]pyrimidine derivatives of formula (1) according to the invention have potent analgesic effects and are useful as analgesics to relieve pains such as postoperative pain, migraine, gout, cancer pain, chronic pain and neuropathic pain. Furthermore, the derivatives of the invention are free of side effects typical of conventional analgesics, do not cause hallucination or derangement and are not addictive. Examples of preferred pyrazolo[1,5-a]pyrimidine derivatives of the invention for use as the analgesics are: compounds of formula (1) wherein Q is carbonyl and n is 0; compounds wherein Q is carbonyl, n is 1, R 1 is lower alkyl or phenyl, R 2 is phenyl having 1 to 3 substituents selected from the group consisting of lower alkoxy and halogen-substituted lower alkyl, R 3 , R 4 , R 5 and R 6 are each hydrogen, and A is a single bond; and compounds wherein Q is sulfonyl, n is 0, R 1 is lower alkyl, R 2 is phenyl which may have 1 to 3 halogens, R 3 , R 4 , R 5 and R 6 are each hydrogen, and A is a single bond. Of these preferred pyrazolo[1,5-a]pyrimidine derivatives, the following compounds are more preferable. (1) Compounds wherein R 1 is optionally lower alkylthiosubstituted lower alkyl or optionally phenylthio-substituted phenyl, R 2 is phenyl having 1 to 3 substituents selected from the group consisting of lower alkoxy, halogen and halogen-substituted lower alkyl, R 3 is hydrogen or phenyl, R 4 is hydrogen, halogen or phenyl, R 5 is hydrogen, R 6 is hydrogen or benzoyl having halogen-substituted lower alkyl as a substituent, Q is carbonyl and A is a single bond; (2) compounds wherein R 3 , R 4 and R 6 are each hydrogen, n is 0, R 1 is n-butyl and R 2 is phenyl having either 2 to 3 lower alkoxy groups or 1 to 2 halogen-substituted lower alkyl groups, or R 1 is phenyl and R 2 is phenyl having 3 lower alkoxy groups; and (3) compounds wherein R 2 is 2,4-dimethoxyphenyl, 3,4,5-trimethoxyphenyl, 2-trifluoromethylphenyl or 2,5-bis(trifluoromethyl)phenyl. Examples of most preferred pyrazolo[1,5-a]pyrimidine derivatives of the invention are 5-n-butyl-7-(3,4,5-trimethoxybenzoylamino)pyrazolo[1,5-a]pyrimidine and 5-n-butyl-7-(2-trifluoromethylbenzoylamino)pyrazolo[1,5-a]pyrimidine. The derivatives of formula (1) according to the invention can be produced by various processes. Some exemplary processes are schematically shown hereinafter. wherein R 2 , R 3 , R 5 , n, Q and A are as defined above, R 1a is hydrogen, lower alkyl which may have thienyl, lower alkoxy or lower alkylthio as a substituent, cycloalkyl, thienyl, furyl, lower alkenyl, or phenyl which may have 1 to 3 substituents selected from the group consisting of lower alkyl, lower alkoxy, phenylthio and halogen, R 1a and R 5 may conjointly form lower alkylene, R 4a is hydrogen, lower alkyl, lower alkoxycarbonyl, phenyl(lower)alkyl, or optionally phenylthio-substituted phenyl, X and Y are each halogen, and Z is lower alkyl. The condensation of the compounds (2) and (3) in Reaction Scheme-1 is carried out in a suitable inert solvent at room temperature to the boiling point of the solvent. Examples of useful inert solvents are acetic acid, ethanol, benzene, toluene, xylene and tetrahydrofuran (THF). The compounds (2) and (3) are preferably used in an approximately equimolar proportion. The reaction is carried out for about 2-5 hours to provide the desired compound (4). The subsequent halogenation of the compound (4) is carried out using a halogenating agent such as phosphorus oxychloride and phosphorus oxybromide in the presence of a suitable acid acceptor such as N,N-dimethylaniline, N,N-diethylaniline and triethylamine. Since the said halogenating agents also function as solvents, there is no need to use other solvents in this reaction but an inert solvent such as benzene, toluene and xylene may be optionally used. The acid acceptor is preferably used in an amount of about 1-10 equivalents relative to the compound (4). The reaction is carried out at approximately room temperature to 150°C for about 0.5-12 hours. The halide (5) obtained by this reaction is treated with aqueous ammonia or hydrazine to convert the halide into the compound (6). This treatment requires no solvents and is generally carried out by heating the compound (5) with an excess of aqueous ammonia at about 100-150°C for about 1-12 hours or treating the compound (5) with an excess of hydrazine at about 0°C to room temperature for about 5-30 hours. The compound (6) thus obtained is reacted with acid halide (7) to convert the compound (6) into the compound (1) of the invention. This reaction can be carried out in a suitable solvent in the presence of an acid acceptor. Examples of useful solvents are aromatic or aliphatic hydrocarbons such as benzene, toluene, xylene and petroleum ether; chain or cyclic ethers such as diethylether, dimethoxyethane, tetrahydrofuran (THF) and 1,4-dioxane; ketones such as acetone, ethylmethylketone and acetophenone; hydrocarbon halides such as dichloromethane, chloroform, carbon tetrachloride and 1,2-dichloroethane. Examples of useful acid acceptors are tertiary amines such as triethylamine, N,N-diethylaniline, N-methylmorpholine, pyridine and 4-methylaminopyridine. There is no specific limitation on the amounts of the acid halide (7) and the acid acceptor relative to the compound (6) in this reaction. It is, however, preferable that the acid halide be used in an approximately equimolar proportion and the acid acceptor in an approximately equimolar to excessive amount. The reaction goes to completion at room temperature to reflux temperature of the solvent in about 0.5-20 hours. Compound (6'), i.e., the compound (6) wherein n = 0 can be produced by the process shown in Reaction Scheme-1'. wherein R 1a , R 3 , R 4a and R 5 are as defined above. The condensation of the nitrile derivative (2') and the compound (3) in this scheme is carried out in an inert solvent such as benzene, toluene, xylene, acetic acid and ethanol at room temperature to reflux temperature of the solvent for about 2-10 hours. These two compounds are generally used in an approximately equimolar proportion. wherein R 2 , R 3 , R 5 , X, Y, A, Q, Z and n are as defined above, Ψ is lower alkyl having protected oxo, Φ is lower alkyl having oxo, Σ is lower alkyl having acyloxy, Ω is lower alkyl having tri(lower)alkyl-silyloxy, R 1b is hydroxy(lower)alkyl, R 4b is hydrogen, lower alkyl, phenyl(lower)alkyl or optionally phenylthio-substituted phenyl. The condensation of the compounds (8) and (9) in Reaction Scheme-2 can be carried out in the same manner as the condensation of the compounds (2) and (3) in Reaction Scheme-1. Examples of the lower alkyl having protected oxo and represented by Ψ in the compound (8) include lower alkyl groups having as protected oxo the residue of di(lower)alkyl acetal such as dimethylacetal, methylethylacetal, diethylacetal, dipropylacetal, dibutylacetal, dipentylacetal and dihexylacetal or the residue of cyclic acetal such as ethylene acetal, trimethylene acetal and tetramethylene acetal. The subsequent hydrolysis of the compound (10) according to Reaction Scheme-2 can be carried out using an organic acid such as acetic acid, propionic acid and p-toluenesulfonic acid. Of these organic acids, carboxylic acids such as acetic acid and propionic acid function as solvents. When such a carboxylic acid is used, no other solvents are necessary. Other suitable inert solvents such as benzene, toluene and xylene may be optionally used even when a carboxylic acid is used as the organic acid. The reaction goes to completion at approximately room temperature to reflux temperature of the solvent for about 10-80 hours to provide the compound (11). Examples of the lower alkyl having oxo and represented by Φ in the compound (11) include those prepared by eliminating protective groups from the corresponding "lower alkyl having protected oxo" and represented by Ψ. Specific examples are formyl, formylmethyl, acetyl, 2-formylethyl, 2-oxopropyl, propionyl, 3-formylpropyl, 3-oxobutyl, 2-oxobutyl, butyryl, 4-formylbutyl, 4-oxopentyl, 3-oxopentyl, 2-oxopentyl, valeryl, 5-formylpentyl, 5-oxohexyl, 4-oxohexyl, 3-oxohexyl, 2-oxohexyl, hexanoyl, and the like. The subsequent reduction of the compound (11) can be carried out using a suitable reducing agent in an inert solvent. Examples of useful reducing agents are borohydride compounds such as sodium borohydride, potassium borohydride, lithium borohydride, sodium cyanoborohydride and sodium triethylborohydride, and lithium aluminum hydride compounds such as lithium aluminum hydride and lithium tributoxyaluminohydride. When a borohydride compound is used as the reducing agent, the inert solvent is preferably either an alcohol solvent such as methanol and ethanol or a mixed solvent of said alcohol and another solvent such as dichloromethane and diethyl ether. When a lithium aluminum hydride compound is used as the reducing agent, the solvent is preferably diethyl ether, THF or like ethers. The reducing agent is preferably used in at least approximately equimolar proportion relative to the compound (11). The reaction goes to completion at approximately 0°C to room temperature in about 0.5-3 hours. Acylation of the compound (12) thus obtained can be carried out using an acylating agent in the absence of solvents or in an inert solvent such as pyridine, lutidine, N,N-dimethylformamide (DMF) and N,N-dimethylacetoamide (DMA). Examples of useful acylating agents are acid anhydrides such as acetic anhydride, propionic anhydride, butyric anhydride, valeric anhydride, hexanoic anhydride and heptanoic anhydride. These are generally used in an amount of 1-10 equivalents relative to the compound (12). In order not to acylate hydroxyl at 7 position of the compound (12), the reaction conditions are preferably selected within the ranges of approximately 0°C to room temperature and of about 0.5 to 2 hours. Halogenation of the compound (13) thus obtained can be carried out in the same manner as the halogenation of the compound (4) in Reaction Scheme-1. Conversion of the compound (14) thus obtained to the compound (15) can be carried out under the same conditions as in the conversion of the compound (5) to the compound (6) in Reaction Scheme-1. The lower alkyl having acyloxy and represented by Σ in the compound (14) is hydrolyzed to form hydroxy(lower)alkyl by this reaction. Silylation of the compound (15) thus obtained can be carried out using halotrialkylsilane in the presence of an acid acceptor in a suitable inert solvent such as THF and dichloromethane. Examples of useful acid acceptors are sodium carbonate, potassium carbonate, triethylamine and N,N-dimethylaminopyridine. Examples of useful halotrialkylsilane are chlorotrimethylsilane, chlorotriethylsilane, chlorotripropylsilane, chlorotributylsilane and chlorobutyldiethylsilane. These are normally used in an approximately equimolar to excessive amount relative to the compound (15). The reaction goes to completion at approximately room temperature in about 5-30 hours. Lastly the compound (16) thus obtained is reacted with acid halide (7) to provide the desired compound (1b) of the invention. This reaction can be carried out in the same manner as the reaction using acid halide (7) in Reaction Scheme-1. The substituent Ω at position 5 of the compound (16) can be easily converted to the corresponding R 1b group (hydroxy(lower)alkyl) by this reaction or the subsequent hydrolysis. wherein R 2 , R 3 , R 4a , R 5 , X, Y, Z, Q, A, n and Ψ are as defined above and R 1c is lower alkyl having oxo. The reaction of the compound (17) and the nitrile derivative (18) in Reaction Scheme-3 can be carried out in an inert solvent such as DMF, DMA and dimethyl sulfoxide (DMSO) in the presence of a base such as sodium hydride and'potassium hydride. The nitrile derivative (18) and the base are preferably used in an amount of 1 to an excessive equivalent relative to the compound (17) respectively. The reaction goes to completion at approximately 0°C to room temperature in 2-10 hours. The subsequent condensation of the compounds (2") and (3) can be carried out in the same manner as the condensation in Reaction Scheme-1'. Hydrolysis of the compound (19) can be carried out in the same manner as the hydrolysis in Reaction Scheme-2. The reaction of the compounds (20) and (7) can be carried out in the same manner as the reaction in Reaction Scheme-1. wherein R 2 , A, Q and Y are as defined above. As shown in Reaction Scheme-4, acid halide (7) to be used in Reaction Schemes-1, 2 and 3 can be prepared by halogenating the compound (21). The halogenation can be carried out by a conventional method. For example, the compound (21) is reacted with a halogenating agent such as thionyl chloride and thionyl bromide in the absence of solvents or in an inert solvent such as chloroform and diethylether. In this method, an excess of the halogenating agent is generally used. The reaction can be carried out at approximately room temperature to 150°C for about 0.5-5 hours. wherein R 2 , R 3 , R 5 , A and n are as defined above, R 1d is hydrogen, lower alkyl which may have lower alkyoxy or lower alkylthio as a substituent, cycloalkyl, thienyl, furyl, or phenyl which may have 1-3 substituents selected from the group consisting of lower alkyl, lower alkoxy, phenylthio and halogen, R 1d and R 5 may conjointly form lower alkylene and R 4c is halogen. The halogenation of the compound (1d) in Reaction Scheme-5 can be carried out using a halogenating agent such as N-bromosuccinimide (NBS) and N-chlorosuccinimide (NCS) in an inert solvent such as benzene, carbon tetrachloride and chloroform. The halogenating agent is normally used in an amount of 1 equivalent to a slightly excessive amount relative to the compound (1d). The reaction can be carried out at approximately room temperature to reflux temperature of the solvent for 0.5-5 hours. wherein R 3 , R 4 , R 5 and Y are as defined above, R 1e is hydrogen, lower alkyl which may have thienyl, lower alkoxy, lower alkylthio or oxo as an substituent, cycloalkyl, thienyl, furyl, lower alkenyl, or phenyl which may have 1-3 substituents selected from the group consisting of lower alkyl, lower alkoxy, phenylthio and halogen, R 1e and R 5 may conjointly form lower alkylene, R 2a is naphthyl, cycloalkyl, furyl, thienyl, optionally halogen-substituted pyridyl, optionally halogen-substituted phenoxy, or phenyl which may have 1-3 substituents selected from the group consisting of lower alkyl, lower alkoxy, halogen, nitro, halogen-substituted lower alkyl, halogen-substituted lower alkoxy, lower alkoxycarbonyl, phenyl(lower)alkoxy, cyano, lower alkanoyloxy, phenyl and di(lower)alkoxyphosphoryl-(lower)alkyl, and R 6a is phenyl(lower)alkyl, or benzoyl having 1-3 substituents selected from the group consisting of lower alkoxy, halogen-substituted lower alkyl and halogen. In Reaction Scheme-6, the compound (1f) is reacted with the compound (22) in an inert solvent in the presence of a base to provide the compound (1g). When R 6a is a phenyl(lower)alkyl, suitable inert solvents are DMF, DMA, DMSO, etc. and suitable bases are sodium hydride, potassium hydride, etc. When R 6a is a benzoyl having 1-3 substituents selected from the group consisting of lower alkoxy, halogen-substituted lower alkyl and halogen, suitable inert solvents are chloroform, dichloromethane, etc. and suitable bases are triethylamine, N,N-dimethylaniline, etc. The compound (22) is normally used in an amount of 1 to a slightly excessive equivalent. The base is preferably used in an amount of 1 to an excessive equivalent. The reaction is carried out at approximately 0°C to room temperature for 3-30 hours. wherein R 1a , R 2 , R 3 , R 4a , R 5 , X, Y, Q and A are as defined above and R 6b is lower alkyl or phenyl(lower)alkyl. The reaction of the compounds (5) and (23) in Reaction Scheme-7 is carried out in an inert solvent such as methanol and ethanol in the presence of an acid acceptor such as sodium hydrogen carbonate, sodium carbonate and potassium carbonate at reflux temperature of the solvent for about 1-5 hours. The reaction of the compounds (24) and (7) can be carried out in the same manner as the corresponding reaction in Reaction Scheme-1, thus giving the compound (1h). wherein R 1e , R 3 , R 4a , R 5 and Y are as defined above, R 2b is phenyl having 1-3 substituents selected from the group consisting of lower alkoxy, halogen, halogen-substituted lower alkyl and R 6c is benzoyl having 1 to 3 substituents selected from the group consisting of lower alkoxy, halogen-substituted lower alkyl and halogen. The reaction of the compounds (25) and (26) in Reaction Scheme-8 can be carried out in the same manner as the reaction of the compounds (6) and (7) in Reaction Scheme-1. A by-product (1j) is obtained together with the main product (1i) by this reaction. The compounds of the invention can be formed into pharmaceutically acceptable acid addition salts, which are also included among the compounds of the invention. The acid for use to form such salts includes inorganic acids such as hydrochloric acid, hydrobromic acid and sulfuric acid and organic acids such as oxalic acid, fumaric acid, maleic acid, tartaric acid and citric acid. The reaction for forming such salts can be performed by conventional methods. The object compound in each of the above processes can be easily isolated by conventional separation and purification means. Examples of useful isolation means include various conventional means such as adsorption chromatography, preparative thin-layer chromatography, recrystallization and solvent extraction. Some compounds of formula (1) according to the invention, wherein A is alkenylene or R 1 is lower alkenyl, may be cis- or trans-isomers. Of course, these isomers are included in the invention. Compounds of the formula (1) according to the invention may exist as optical isomers having an carbon atom as a stereogenic center. Such optically active substances and racemic derivatives are included in the invention. The compound of the invention can be made into usual dosage forms of pharmaceutical compositions using suitable non-toxic pharmaceutically acceptable carriers. The present invention provides such pharmaceutical compositions, especially analgesics. Examples of useful pharmaceutically acceptable carriers include conventional diluents or excipients such as fillers, volume builders, binders, humectants, disintegrators, surfactants, lubricants, and the like. These carriers are selectively used according to the desired unit dosage form. The unit dosage form of said pharmaceutical composition can be selected from a broad variety of forms according to the intended medical treatment. Typical examples are tablets, pills, powders, solutions, suspensions, emulsions, granules, capsules, suppositories, injections (solutions, suspensions, etc.) and ointments. The tablets can be molded using as pharmaceutically acceptable carriers excipients such as lactose, sucrose, sodium chloride, glucose, urea, starch, calcium carbonate, kaolin, crystalline cellulose, silicic acid and potassium phosphate, binders such as water, ethanol, propanol, simple syrup, glucose syrup, starch solution, gelatin solution, carboxymethyl cellulose, hydroxypropyl cellulose, methyl cellulose and polyvinyl pyrrolidone, disintegrators such as sodium carboxymethyl cellulose, calcium carboxymethyl cellulose, low-substituted hydroxypropyl cellulose, dry starch, sodium alginate, agar powder, laminaran powder, sodium hydrogen carbonate and calcium carbonate, surfactants such as polyoxyethylene sorbitan fatty acid ester, sodium lauryl sulfate and stearyl monoglyceride, disintegration inhibitors such as sucrose, stearin, cacao butter and hydrogenated oil, absorption promoters such as quaternary ammonium base and sodium lauryl sulfate, humectants such as glycerin and starch, adsorbents such as starch, lactose, kaolin, bentonite and colloidal silicic acid, and lubricants such as purified talc, stearic acid salt, boric acid powder and polyethylene glycol. Furthermore, such tablets may be optionally coated to provide sugarcoated tablets, gelatin-coated tablets, enteric tablets, film-coated tablets, etc. or be processed into double-layer or multiple-layer tablets. The pills can be molded using as pharmaceutically acceptable carriers excipients such as glucose, lactose, starch, cacao butter, hydrogenated vegetable oil, kaolin and talc, binders such as gum arabic powder, tragacanth powder, gelatin and ethanol, and disintegrators such as laminaran and starch. The suppositories can be molded using as pharmaceutically acceptable carriers polyethylene glycol, cacao butter, higher alcohols or their esters, gelatin, semisynthetic glycerides, and the like. The capsules can be manufactured by mixing the active ingredient compound of the invention with pharmaceutically acceptable carriers as mentioned above and filling the mixture into hard gelatin capsule shells, soft capsule shells, etc. according to conventional methods. The injections in the form of solutions, emulsions, suspensions, etc. can be manufactured using diluents such as water, ethyl alcohol, macrogol, propylene glycol, ethoxylated isostearyl alcohol, polyoxyisostearyl alcohol and polyoxyethylene sorbitan fatty acid ester and are preferably sterilized and rendered isotonic with respect to the blood. In order to provide such an isotonic solution, a sufficient amount of sodium chloride, glucose or glycerin may be added to the pharmaceutical composition of the invention. Conventional solubilizers, buffers, local anesthetics, etc. may also be added. Further, coloring agents, preservatives, perfumes, flavors, sweeteners, or other pharmaceutical compositions may be optionally incorporated in the pharmaceutical compositions of the invention. The ointments in the form of paste, cream, gel, etc. can be manufactured using diluents such as white vaseline, paraffin, glycerin, cellulose derivatives, polyethylene glycol, silicone and bentonite. The proportion of the active ingredient compound of formula (1) of the invention in the pharmaceutical composition of the invention is not so critical but can be liberally selected from a broad range. Generally, the active ingredient compound preferably accounts for about 1 to 70 weight % of the final composition. There is no specific limitation on the administration method for the pharmaceutical composition of the invention. The proper method can be determined according to the dosage form, patient's age, sex or other conditions, severity of disease, etc. For example, the tablets, pills, solutions, suspensions, emulsions, granules and capsules are orally administered. The injections are intravenously administered singly or in admixture with a conventional infusion such as glucose and amino acid, and optionally administered singly by the intramuscular, intradermal, subcutaneous or intraperitoneal route. The suppositories are intrarectally administered. The dosage of the pharmaceutical composition is suitably selected according to the administration method, patient's age, sex or other conditions, severity of disease, etc. The dosage of the compound of the invention as the active ingredient is preferably about 0.5-20 mg per kg body weight a day and this amount can be administered once or in 2-4 divided doses. BEST MODE FOR PRACTICING THE INVENTION Preparation examples for starting compounds to produce compounds of the invention are given below as Reference Examples, and preparation examples for compounds of the invention are given below as Examples to clarify the present invention in more detail. Reference Example 1 Preparation of 7-amino-5-n-butylpyrazolo[1,5-a]pyrimidine Step (1) A solution of 100 g of 3-aminopyrazole and 190 g of methyl 3-oxoheptanoate in 120 ml of toluene was refluxed with heating at 100°C for 3 hours and then cooled. Toluene was distilled off under reduced pressure and diethyl ether was added to the residue. The crystals precipitated were collected and washed with diethyl ether and acetonitrile to provide 184 g of 5-n-butyl-7-hydroxypyrazolo[1,5-a]pyrimidine as colorless crystals. Step (2) Phosphorus oxychloride (80 ml) and triethylamine (44 ml) were added to a toluene suspension (400 ml) containing 40 g of the crystals obtained in step (1). The reaction mixture was refluxed with heating for 4 hours. After completion of the reaction, the reaction mixture was concentrated under reduced pressure and the residue was poured into ice water. The mixture was neutralized with sodium acetate and extracted with ethyl acetate. The organic layer was collected, washed with a saturated saline solution, dried over anhydrous sodium sulfate and concentrated under reduced pressure. The residue was purified by silica gel column chromatography (eluent: ethyl acetate:n-hexane=1:9) to provide 41 g of 5-n-butyl-7-chloropyrazolo[1,5-a]pyrimidine as a light yellow oily compound. Step (3) The compound prepared in the above step (2) (21 g) and 25% aqueous ammonia (100 ml) were enclosed in a stainless steel sealed tube, heated at 110°C for 12 hours and cooled. The crystals precipitated were collected by filtration, washed with water and recrystallized from chloroform-n-hexane to provide 18.4 g of 7-amino-5-n-butylpyrazolo[1,5-a]pyrimidine as colorless crystals (melting point: 124-126°C). The following compounds were prepared in the same manner as above. (1) 7-Amino-5-ethylpyrazolo[1,5-a]pyrimidine (melting point: 175-177°C, recrystallization solvent: ethyl acetate-n-hexane) (2) 7-Amino-5-n-propylpyrazolo[1,5-a]pyrimidine (melting point: 138-140°C, recrystallization solvent: ethyl acetate-n-hexane) (3) 7-Amino-5-cyclopropylpyrazolo[1,5-a]pyrimidine (melting point: 206-209°C, recrystallization solvent: chloroform-n-hexane) (4) 7-Amino-5-n-pentylpyrazolo[1,5-a]pyrimidine (melting point: 125-126°C, recrystallization solvent: ethyl acetate-n-hexane) (5) 7-Amino-5-phenylpyrazolo[1,5-a]pyrimidine (melting point: 207-209°C, recrystallization solvent: ethyl acetate-n-hexane) (6) 7-Amino-5-(4-methoxyphenyl)pyrazolo[1,5-a]pyrimidine (melting point: 194-196°C, recrystallization solvent: ethanol-n-hexane) (7) 7-Amino-5-(2-thienyl)pyrazolo[1,5-a]pyrimidine (melting point: 227-229°C, recrystallization solvent: ethanol-n-hexane) (8) 7-Amino-5-(3-thienyl)pyrazolo[1,5-a]pyrimidine (melting point: 203-205°C, recrystallization solvent: ethanol-n-hexane) (9) 7-Amino-5-methylpyrazolo[1,5-a]pyrimidine (melting point: 220-222°C, recrystallization solvent: chloroform-n-hexane) (10) 7-Amino-5-n-butyl-2-methylpyrazolo[1,5-a]pyrimidine (melting point: 176-178°C, recrystallization solvent: chloroform-n-hexane) (11) 7-Amino-5-(2,4-dimethylphenyl)pyrazolo[1,5-a]pyrimidine (melting point: 168-170°C, recrystallization solvent: chloroform-n-hexane) (12) 7-Amino-5-(3,5-dimethylphenyl)pyrazolo[1,5-a]pyrimidine (melting point: 180-182°C, recrystallization solvent: ethanol-n-hexane) (13) 7-Amino-5-(2-methoxyphenyl)pyrazolo[1,5-a]pyrimidine (melting point: 201-203°C, recrystallization solvent: ethanol-n-hexane) (14) 7-Amino-5-(3-methoxyphenyl)pyrazolo[1,5-a]pyrimidine (melting point: 195-197°C, recrystallization solvent: ethanol-n-hexane) (15) 7-Amino-5-(3,4,5-trimethoxyphenyl)pyrazolo[1,5-a]pyrimidine (melting point: 198-200°C, recrystallization solvent: ethanol-n-hexane) (16) 7-Amino-5-(2-chlorophenyl)pyrazolo[1,5-a]pyrimidine (melting point: 208-210°C, recrystallization solvent: chloroform-n-hexane) (17) 7-Amino-5-(2-furyl)pyrazolo[1,5-a]pyrimidine (melting point: 204-206°C, recrystallization solvent: ethanol-n-hexane) (18) 7-Amino-5-(3-furyl)pyrazolo[1,5-a]pyrimidine (melting point: 208-210°C, recrystallization solvent: ethanol-n-hexane) (19) 7-Amino-5-(2-thienylmethyl)pyrazolo[1,5-a]pyrimidine (melting point: 188-190°C, recrystallization solvent: ethanol-n-hexane) (20) 7-Amino-5-(3,5-dimethoxyphenyl)pyrazolo[1,5-a]pyrimidine (melting point: 207-209°C, recrystallization solvent: ethanol-n-hexane) The following compounds were also prepared in the same manner as above. (21) 7-Amino-5-(3-butenyl)pyrazolo[1,5-a]pyrimidine (22) 7-Amino-5-ethoxymethylpyrazolo[1,5-a]pyrimidine (23) 7-Amino-5-(2-methylphenyl)pyrazolo[1,5-a]pyrimidine (24) 7-Amino-5-(3-methylphenyl)pyrazolo[1,5-a]pyrimidine (25) 7-Amino-5 -(4-methylphenyl)pyrazolo[1,5-a]pyrimidine (26) 7-Amino-5-(3-chlorophenyl)pyrazolo[1,5-a]pyrimidine (27) 7-Amino-5-(4-chlorophenyl)pyrazolo[1,5-a]pyrimidine (28) 7-Aminopyrazolo[1,5-a]pyrimidine (29) 7-Amino-5-n-butyl-3-ethoxycarbonyl-2-methylpyrazolo[1,5-a]pyrimidine (melting point: 178-180°C, recrystallization solvent: methylene chloride-n-hexane) (30) 7-Amino-2,5-di-n-butyl-3-methylpyrazolo[1,5-a]pyrimidine (melting point: 123-125°C, recrystallization solvent: diethyl ether-n-hexane) (31) 7-Amino-5-n-butyl-2-phenylpyrazolo[1,5-a]pyrimidine (melting point: 206-208°C, recrystallization solvent: ethyl acetate-n-hexane) (32) 7-Amino-3-benzyl-5-n-butyl-2-phenylpyrazolo[1,5-a]pyrimidine (melting point: 106-108°C, recrystallization solvent: chloroform-n-hexane) (33) 7-Amino-5-n-butyl-2-phenyl-3-[4-(phenylthio)phenyl]pyrazolo[1,5-a]pyrimidine (melting point: 139-141°C, recrystallization solvent: diethyl ether-n-hexane) (34) 7-Amino-3,5-di-n-butylpyrazolo[1,5-a]pyrimidine (melting point: 58-60°C, recrystallization solvent: ethyl acetate-n-hexane) (35) 7-Amino-5-n-butyl-3-phenylpyrazolo[1,5-a]pyrimidine (melting point: 113-115°C, recrystallization solvent: ethyl acetate-n-hexane) (36) 7-Amino-5-[(ethylthio)methyl]pyrazolo[1,5-a]pyrimidine (melting point: 109-111°C, recrystallization solvent: chloroform-n-hexane) (37) 7-Amino-5-[2-(methylthio)ethyl]pyrazolo[1,5-a]pyrimidine (melting point: 77-79°C, recrystallization solvent: ethyl acetate-n-hexane) (38) 7-Amino-5-[4-(phenylthio)phenyl]pyrazolo[1,5-a]pyrimidine (melting point: 182-184°C, recrystallization solvent: chloroform-diethyl ether) (39) 9-Amino-5,6,7,8-tetrahydropyrazolo[5,1-b]quinazoline (melting point: 230-233°C, recrystallization solvent: ethyl acetate-n-hexane) (40) 7-Amino-2,5-di-n-butylpyrazolo[1,5-a]pyrimidine (melting point: 105-107°C, recrystallization solvent: diethyl ether-n-hexane) Reference Example 2 Preparation of 5-n-butyl-7-hydrazinopyrazolo[1,5-a]pyrimidine Hydrazine monohydrate (50 ml) was slowly added dropwise to 21.0 g of 5-n-butyl-7-chloropyrazolo[1,5-a]pyrimidine prepared in step (2) of Reference Example 1 at room temperature and stirred at room temperature for 10 hours. After completion of the reaction, the crystals precipitated were collected, washed with water and recrystallized from chloroform-n-hexane to provide 12.6 g of the object compound as colorless crystals (melting point: 126-129°C). 7-Hydrazino-5-phenylpyrazolo[1,5-a]pyrimidine was prepared in the same manner as above. Reference Example 3 Preparation of 7-amino-5-(3-oxobutyl)pyrazolo[1,5-a]pyrimidine An acetonitrile solution (10 ml) containing 5.0 g of methyl 2-methyl-1,3-dioxolane-2-propionate was added dropwise to 10 ml of a DMF suspension containing 2.3 g of 60% sodium hydride, and stirred at room temperature for 4 hours. The reaction mixture was poured into ice water, acidified with a saturated citric acid solution and extracted with ethyl acetate. The organic layer was washed with water and a saturated saline solution and concentrated under reduced pressure. The residue was purified by silica gel column chromatography (eluent: n-hexane:ethyl acetate=3:2) to provide 3.0 g of 2-methyl-β-oxo-1,3-dioxolane-2-pentanenitrile as oil. Subsequently, a toluene solution (1.6 ml) containing 3.0 g of the compound thus obtained and 1.4 g of 3-aminopyrazole was stirred at 115°C for 10 hours. The reaction mixture was concentrated under reduced pressure. The residue was purified by silica gel column chromatography (eluent: chloroform : methanol = 20:1) and recrystallized from chloroform-n-hexane to provide 2.1 g of 7-amino-5-[2-(2-methyl-1,3-dioxolane-2-yl)ethyl]pyrazolo[1,5-a]pyrimidine as colorless crystals. Then 1.0 g of the crystals thus obtained were dissolved in 500 ml of acetic acid-water (4:1) and stirred at 80°C overnight. After completion of the reaction, the reaction mixture was concentrated under reduced pressure. The remaining acetic acid-water was azeotropically distilled off with benzene. The residue was recrystallized from ethanol-n-hexane to provide 0.7 g of the title object compound as colorless crystals. Melting point: 164-166°C, recrystallization solvent: ethanol-n-hexane Reference Example 4 Preparation of 7-amino-5-n-butyl-6-methylpyrazolo[1,5-a]pyrimidine A toluene solution (2.5 ml) containing 1.8 g of 3-aminopyrazole and 3 g of 2-methyl-3-oxoheptanenitrile was heated at 115°C for 3.5 hours. Toluene was distilled off under reduced pressure and the residue was recrystallized from ethyl acetate and washed with diethyl ether to provide 2.4 g of the title object compound as colorless crystals. Melting point: 153-155°C, recrystallization solvent: ethyl acetate Example 1 Preparation of 5-n-butyl-7-(3,4,5-trimethoxybenzoylamino)pyrazolo[1,5-a]pyrimidine 7-Amino-5-n-butylpyrazolo[1,5-a]pyrimidine (1.90 g) and pyridine (20 ml) were dissolved in 20 ml of dry dichloromethane. A dry dichloromethane solution (10 ml) containing 2.6 g of 3,4,5-trimethoxybenzoyl chloride was slowly added dropwise thereto and stirred at room temperature for 10 hours. After addition of 50 ml of a 10% aqueous sodium hydrogen carbonate solution, the reaction mixture was extracted with chloroform. The organic layer was collected, washed with 10% aqueous hydrochloric acid and water, dried over anhydrous sodium sulfate and concentrated under reduced pressure. The residue was purified by silica gel column chromatography (eluent: ethyl acetate : n-hexane = 1:2) and recrystallized from diethyl ether-n-hexane to provide 2.4 g of the object compound as colorless crystals. Table 1 shows the structure and melting point of the compound obtained. Examples 2-46 The compounds set forth in Table 1 were prepared in the same manner as in Example 1. The structures and melting points of the compounds are also shown in Table 1. As to the oily compounds, data on the results of 1 H-NMR analysis are shown. Examples 47-99 The compounds set forth in Table 2 were prepared in the same manner as in Example 1. The structures and melting points of the compounds are also shown in Table 2. As to the oily compounds, data on the results of 1 H-NMR analysis are shown. Example 100 Preparation of 5-(3-hydroxybutyl)-7-(3,4,5-trimethoxybenzoylamino)pyrazolo[1,5-a]pyrimidine Step (1) A toluene solution (2 ml) containing 0.90 g of 3-aminopyrazole and 1.90 g of methyl 2-methyl-β-oxo-1,3-dioxolane-2-valerate was refluxed with heating at 115°C for 1 hour, allowed to cool and then concentrated under reduced pressure. Diethyl ether was added to the residue. The crystals precipitated were collected and washed with diethyl ether to provide 1.85 g of 7-hydroxy-5-[2-(2-methyl-1,3-dioxolane-2-yl)ethyl]pyrazolo[1,5-a]pyrimidine as colorless crystals. Step (2) The crystals thus obtained (2.2 g) were dissolved in 500 ml of acetic acid-water (4:1) and stirred at 50°C for 3 days. After completion of the reaction, the reaction mixture was concentrated under reduced pressure and the remaining acetic acid-water was azeotropically distilled off with benzene. The residue was recrystallized from ethanol-n-hexane to provide 11.0 g of 7-hydroxy-5-(3-oxobutyl)pyrazolo[1,5-a]pyrimidine as colorless crystals. Step (3) The crystals obtained in step (2) (5.7 g) were dissolved in 120 ml of methanol. Sodium borohydride (0.53 g) was added under ice-cooling and stirred at 0°C for 2 hours. After completion of the reaction, the reaction mixture was acidified by adding dilute aqueous hydrochloric acid dropwise and then extracted with chloroform. The organic layer was collected, washed with a saturated saline solution, dried over anhydrous sodium sulfate and concentrated under reduced pressure. The residue was recrystallized from ethanol-n-hexane to provide 4.16 g of 7-hydroxy-5-(3-hydroxybutyl)pyrazolo[l,5-a]pyrimidine as colorless crystals. Step (4) The crystals obtained in step (3) (4.16 g) were dissolved in 40 ml of acetic anhydride and 40 ml of pyridine and stirred at room temperature for 30 minutes. After completion of the reaction, the reaction mixture was concentrated under reduced pressure and the residue was recrystallized from methanol-diethyl ether to provide 4.2 g of 5-(3-acetoxybutyl)-7-hydroxypyrazolo[1,5-a]pyrimidine as colorless crystals. Step (5) Phosphorus oxychloride (6.4 ml) and triethylamine (3.5 ml) were added to 40 ml of a toluene suspension containing 4.2 g of the crystals obtained in step (4), and the mixture was refluxed with heating for 6 hours. After completion of the reaction, the reaction mixture was concentrated under reduced pressure and the residue was poured into ice water. The mixture was neutralized with sodium acetate and extracted with ethyl acetate. The organic layer was collected, washed with a saturated saline solution, dried over anhydrous sodium sulfate and concentrated under reduced pressure. The residue was purified by silica gel column chromatography (eluent: ethyl acetate:n-hexane=4:1) to provide 4.3 g of 5-(3-acetoxybutyl)-7-chloropyrazolo[1,5-a]pyrimidine as a light yellow oily compound. Step (6) The compound prepared in step (5) (4.3 g) and 25% aqueous ammonia (50 ml) were enclosed in a stainless steel sealed tube, heated at 105°C for 14 hours and allowed to cool. The crystals precipitated were collected by filtration, washed with water and dried to provide 3.2 g of 7-amino-5-(3-hydroxybutyl)pyrazolo[1,5-a]pyrimidine as light yellow crystals. Step (7) Triethylamine (400 µl) and chlorotrimethylsilane (680 µl) were added to 5 ml of a THF solution containing 500 mg of the crystals obtained in step (6), and the mixture was stirred at room temperature for 12 hours. After completion of the reaction, a saturated aqueous NaHCO 3 solution was added and the reaction mixture was extracted with dichloromethane. The organic layer was collected, washed with water and a saturated saline solution, dried over anhydrous sodium sulfate and concentrated under reduced pressure. n-Hexane was added to the residue. The crystals precipitated were collected by filtration to provide 520 mg of 7-amino-5-(3-trimethylsilyloxybutyl)pyrazolo[1,5-a]pyrimidine as colorless crystals. 1 H-NMR (δ:ppm) [CDCl 3 ] 0.12(9H, s), 1.20(3H, d, J=5.9), 1.8-1.9(2H, m), 2.6-2.9 (2H, m), 3.8-3.9(1H, m), 5.61(2H, brs), 5.99(1H, s), 6.41(1H, d, J=2.0), 7.99(1H, d, J=2.0) Step (8) A dry dichloromethane solution (5 ml) containing 650 mg of 3,4,5-trimethoxybenzoyl chloride was slowly added dropwise to 5 ml of a pyridine solution containing 520 mg of the crystals obtained in step (7), and stirred at room temperature for 2 hours. After completion of the reaction, a saturated aqueous NaHCO 3 solution was added and the reaction mixture was extracted with dichloromethane. The organic layer was collected and washed with a 1N aqueous hydrochloric acid until the pH of the water layer became about 1. The organic layer was allowed to stand for 2 hours, washed with water and a saturated saline solution, dried over anhydrous sodium sulfate and concentrated under reduced pressure. The residue was recrystallized from dichloromethane-n-hexane to provide 480 mg of the object compound as colorless crystals. Table 2 shows the structure and melting point of the compound obtained. Examples 101 and 102 The compounds set forth in Table 2 were prepared in the same manner as in Example 100. The structures and melting points of the compounds are also shown in Table 2. Example 103 Preparation of 5-n-butyl-3-chloro-2-methyl-7-(3,4,5-trimethoxybenzoylamino)pyrazolo[1,5-a]pyrimidine 5-n-Butyl-2-methyl-7-(3,4,5-trimethoxybenzoylamino)pyrazolo[1,5-a]pyrimidine (the compound of Example 53; 0.78 g) was dissolved in 10 ml of chloroform. After addition of 0.28 g of NCS, the mixture was refluxed with heating for 1 hour and allowed to cool. After addition of some water, the reaction mixture was extracted with chloroform. The organic layer was collected, dried over anhydrous sodium sulfate and concentrated under reduced pressure. The residue was purified by silica gel column chromatography (eluent: ethyl acetate:n-hexane=1:2) and recrystallized from ethanol-n-hexane to provide 0.61 g of the object compound as colorless crystals. Table 3 shows the structure and melting point of the compound obtained. Examples 104-106 The compounds set forth in Table 3 were prepared in the same manner as in Example 103. The structures and melting points of the compounds are also shown in Table 3. Examples 107-128 The compounds set forth in Table 4 were prepared in the same manner as in Example 1. The structures and melting points of the compounds are also shown in Table 4. Example 129 Preparation of 5-n-butyl-7-[N-methyl-N-(3,4,5-trimethoxybenzoyl)amino]pyrazolo[1,5-a]pyrimidine 5-n-Butyl-7-chloropyrazolo[1,5-a]pyrimidine (the compound prepared in step (2) of Reference Example 1; 8.60 g), sodium hydrogen carbonate (3.44 g) and 40% methylamine (3.18 g) were added to 50 ml of ethanol and heated at 120°C for 2 hours. After completion of the reaction, ethanol was distilled off under reduced pressure. After addition of some water, the residue was extracted with ethyl acetate. The organic layer was collected, dried over anhydrous sodium sulfate and concentrated under reduced pressure. The residue was purified by silica gel column chromatography (eluent: ethyl acetate:n-hexane=1:2) to provide 2.33 g of 5-n-butyl-7-methylaminopyrazolo[1,5-a]pyrimidine as crystals. The object compound was prepared using the crystals thus obtained and 3,4,5-trimethoxybenzoyl chloride in the same manner as in Example 1. The structure and melting point of the compound obtained are shown in Table 5. Example 130 The compound set forth in Table 5 was prepared in the same manner as in Example 129. The structure and melting point of the compound are also shown in Table 5. Example 131 Preparation of 5-n-butyl-7-[N,N-bis(3,4,5-trimethoxybenzoyl)amino]pyrazolo[1,5-a]pyrimidine The compound prepared in Example 1 (1.92 g) and triethylamine (1.02 g) were dissolved in 10 ml of chloroform. A chloroform solution (10 ml) containing 1.28 g of 3,4,5-trimethoxybenzoyl chloride was added to the solution at room temperature and the mixture was stirred at room temperature for 10 hours. After completion of the reaction, the organic layer was washed with dilute aqueous hydrochloric acid, dried over anhydrous sodium sulfate and concentrated. The residue was purified by silica gel column chromatography (eluent: ethyl acetate:n-hexane=1:2) and recrystallized from ethyl acetate-n-hexane to provide 1.10 g of the object compound as colorless crystals. The structure and melting point of the compound obtained are shown in Table 5. Example 132 Preparation of 5-n-butyl-7-[N,N-bis(2-chlorobenzoyl)amino]pyrazolo[1,5-a]pyrimidine The former fractions obtained by silica gel column chromatography in Example 23 were purified by silica gel column chromatography again (eluent: dichloromethane), and recrystallized to provide the object compound as colorless crystals. Table 5 shows the structure and melting point of the compound obtained. Examples 133-134 The former fractions obtained by silica gel column chromatography in Examples 32 and 52 were treated in the same manner as in Example 132, thus giving the compounds shown in Table 5. The structures and melting points of the compounds are also shown in Table 5. The former fractions obtained by silica gel column chromatography in Example 1 were treated likewise, giving the same compound as in Example 131. Given below are Pharmacological Test Examples for the compounds of the invention and Formulation Examples for pharmaceutical compositions containing the compounds of the invention. Pharmacological Test Example 1 Six-week-old male Wistar rats were used as subjects (each group: 7 rats). The pain threshold of each rat's left hind paw was measured using Analgesy-Meter (Unicom) based on the method of Randall-Selitto [Randall, L.O. and Selitto, J.J., Arch. Int. Pharmacodyn., 111, 409 (1957)]. The value thus obtained was termed "pre-value". After one hour from the measurement, 0.1 ml of a 20% yeast suspension was subcutaneously injected to the left hind paw of each rat. Immediately after the injection, a 5% gum arabic suspension containing the compound of the invention was orally given to the rats of test group in an amount of 10 ml/kg, whereas a 5% gum arabic suspension (free of the compound of the invention) was given to the rats of control group likewise. The pain threshold of each rat's left hind paw was measured in the same manner as mentioned above every one hour after the yeast injection. The value thus obtained was termed "post-value". The recovery rate of the pain threshold was calculated from these values (post-values) and the prevalues of the rats in each group, by means of the following formula. Recovery rate of pain threshold (%) = (Test group average post-value) - (Control group average post-value) (Control group average pre-value) - (Control group average post-value) x 100 Table 6 shows the results (the highest recovery rates). Ex. No. Recovery rate (%) Dosage (mg/kg) Time to measure (hours later) 1 41.5 3 3 7 44.1 3 4 14 51.6 3 4 19 53.9 3 3 21 54.0 3 4 23 45.1 3 1 32 43.0 3 3 36 32.7 1 3 48 52.2 1 3 52 79.6 3 3 54 55.7 1 4 55 73.7 3 3 69 38.7 1 3 70 36.8 1 3 74 43.9 1 2 76 57.6 1 2 77 41.6 1 3 79 32.1 1 3 88 76.4 3 4 92 39.7 1 3 93 32.6 1 4 94 31.3 1 3 96 35.0 1 2 97 51.5 1 4 104 78.5 3 3 111 62.0 3 4 115 61.0 3 4 120 63.8 3 4 121 46.2 3 3 127 36.4 1 3 134 115.4 3 3 Pharmacological Test Example 2 Using 6-week-old male Wistar rats (each group: 7 rats), the pain threshold of each rat's left hind paw was measured using Analgesy-Meter (Unicom) based on the method of Randall-Selitto [Randall, L.O. and Selitto, J.J., Arch. Int. Pharmacodyn., 111, 409 (1957)]. The value thus obtained was termed "pre-value". After one hour from the measurement, a 5% gum arabic suspension containing the compound of the invention was orally given to the rats of test group in an amount of 10 ml/kg so that the dosage of the compound of the invention was 1 mg/kg, whereas a 5% gum arabic suspension (free of the compound of the invention) was given to the rats of control group likewise. One hour later, a physiological saline solution containing substance P (25 ng/0.1 ml) was subcutaneously injected to the left hind paw of each rat. The pain threshold of each rat's left hind paw was measured in the same manner as above at a certain time after the injection of substance P. The value thus obtained was termed "post-value". The recovery rate of the pain threshold was calculated from these values (post-values) and the prevalues of the rats in each group, by means of the following formula. Recovery rate of pain threshold (%) = (Test group average post-value) - (Control group average post-value) (Control group average pre-value) - (Control group average post-value) x 100 Table 7 shows the results (the highest recovery rates). As shown in Tables 6 and 7, the compounds of the invention produce excellent analgesic effects. Formulation Example 1 Manufacture of tablets Using the compound of the invention obtained in Example 1 as an active ingredient, tablets (2000 tables) each containing 300 mg of the active ingredient were manufactured according to the following formula: Compound of Example 1 600 g Lactose (product of Japanese pharmacopoeia: JP) 67 g Corn starch (JP) 33 g Calcium carboxymethyl cellulose (JP) 25 g Methyl cellulose (JP) 12 g Magnesium stearate (JP) 3 g More specifically, the compound of Example 1, lactose, corn starch and calcium carboxymethyl cellulose according to the above formula were fully blended and granulated using an aqueous solution of methyl cellulose. The granulated mixture was passed through a 24-mesh sieve and the granules under the sieve were mixed with magnesium stearate and compression-molded into tablets to provide the object tablets. Formulation Example 2 Manufacture of capsules Using the compound of the invention obtained in Example 32 as an active ingredient, hard gelatin capsules (2000 units) each containing 200 mg of the active ingredient were manufactured according to the following formula: Compound of Example 32 400 g Crystalline cellulose (JP) 60 g Corn starch (JP) 34 g Talc (JP) 4 g Magnesium stearate (JP) 2 g More specifically, the ingredients according to the above formula were finely pulverized and blended to give a homogeneous composition. This composition was filled into proper-sized gelatin capsule shells for oral administration to provide the object capsules. Industrial Applicability The pyrazolo[1,5-a]pyrimidine derivatives according to the present invention have potent analgesic effects and are useful as analgesics.

Claims: A pyrazolo[1,5-a]pyrimidine derivative of the following formula (1): wherein R 1 is hydrogen, straight or branched chain alkyl having 1 to 6 carbon atoms which may have thienyl, alkoxy having 1 to 6 carbon atoms, alkylthio having 1 to 6 carbon atoms, oxo or hydroxyl as a substituent, cycloalkyl having 3 to 8 carbon atoms, thienyl, furyl, alkenyl having up to 8 carbon atoms, or phenyl which may have 1 to 3 substituents selected from the group consisting of straight or branched chain having 1 to 6 carbon atoms, alkoxy having 1 to 6 carbon atoms, phenylthio and halogen; R 2 is naphtthyl, cycloalkyl having 3 to 8 carbon atoms, furyl, thienyl, optionally halogen-substituted pyridyl, optionally halogen-substituted phenoxy, or phenyl which may have 1 to 3 substituents selected from the group consisting of straight or branched chain alkyl having 1 to 6 carbon atoms, alkoxy having 1 to 6 carbon atoms, halogen, nitro, halogen-substituted alkyl having 1 to 6 carbon atoms, halogen-substituted alkoxy having 1 to 6 carbon atoms, alkoxycarbonyl having 2 to 7 carbon atoms, hydroxyl, phenyl-alkoxy, the alkyl chain having 1 to 6 carbon atoms, amino, cyano, alkanoyloxy having 2 to 7 carbon atoms, phenyl and di-alkoxyphosphoryl-alkyl, the alkyls having independently 1 to 6 carbon atoms; R 3 is hydrogen, phenyl or straight or branched alkyl having 1 to 6 carbon atoms; R 4 is hydrogen, straight or branched chain alkyl having 1 to 6 carbon atoms, alkoxycarbonyl having 2 to 7 carbon atoms, phenyl-alkyl, the alkyl having 1 to 6 carbon atoms, optionally phenylthio-substituted phenyl, or halogen; R 5 is hydrogen or straight or branched alkyl having 1 to 6 carbon atoms; R 6 is hydrogen, straight or branched chain alkyl having 1 to 6 carbon atoms, phenyl-alkyl, the alkyl having 1 to 6 carbon atoms, or benzoyl having 1 to 3 substituents selected from the group consisting of alkoxy having 1 to 6 carbon atoms, halogen-substituted alkyl having 1 to 6 carbon atoms and halogen; R 1 and R 5 may conjointly form alkylene having 1 to 6 carbon atoms; Q is carbonyl or sulfonyl; A is a single bond, alkylene having 1 to 6 carbon atoms or alkenylene having 2 to 3 carbon atoms; and n is 0 or 1. A pyrazolo[1,5-a]pyrimidine derivative according to claim 1 which is selected from the group consisting of compounds of formula (1) wherein Q is carbonyl and n is 0, compounds wherein Q is carbonyl, n is 1, R 1 is straight or branched claim alkyl having 1 to 6 carbon atoms or phenyl, R 2 is phenyl having 1 to 3 substituents selected from the group consisting of alkoxy having 1 to 6 carbon atoms and halogen-substituted alkyl having 1 to 6 carbon atoms, R 3 , R 4 R 5 and R 6 are each hydrogen, and A is a single bond; and compounds wherein Q is sulfonyl, n is 0, R 1 is straight or branched alkyl having 1 to 6 carbon atoms, R 2 is phenyl which may have 1 to 3 halogens, R 3 , R 4 , R 5 and R 6 are each hydrogen, and A is a single bond. A pyrazolo[1,5-a]pyrimidine derivative according to claim 2 wherein R 1 is optionally alkylthio (1 to 6 carbon atoms)-substituted alkyl having 1 to 6 carbon atoms or optionally phenylthio-substituted phenyl, R 2 is phenyl having 1 to 3 substituents selected from the group consisting of alkoxy having 1 to 6 carbon atoms, halogen and halogen-substituted alkyl having 1 to 6 carbon atoms, R 3 is hydrogen or phenyl, R 4 is hydrogen, halogen or phenyl; R 5 is hydrogen; R 6 is hydrogen or benzoyl having halogen-substituted straight or branched chain alkyl having 1 to 6 carbon atoms as a substituent, Q is carbonyl and A is a single bond. A pyrazolo[1,5-a]pyrimidine derivative according to claim 3 wherein R 3 , R 4 and R 6 are each hydrogen, n is 0, R 1 is n-butyl and R 2 is phenyl having either 2 to 3 alkoxy groups having 1 to 6 carbon atoms or 1 to 2 halogen-substituted alkyl groups having 1 to 6 carbon atoms, or R 1 is phenyl and R 2 is phenyl having 3 alkoxy groups having 1 to 6 carbon atoms. A pyrazolo[1,5-a]pyrimidine derivative according to claim 4 wherein R 2 is 2,4-dimethoxyphenyl, 3,4,5-trimethoxyphenyl, 2-trifluoromethylphenyl or 2,5-bis(trifluoromethyl)phenyl. A pyrazolo[1,5-a]pyrimidine derivative according to claim 5 which is selected from 5-n-butyl-7-(2,3,5-trimethoxybenzoylamino)pyrazolo[1,5-a)pyrimidine and 5-n-butyl-7-(2-trifluoromethylbenzoyl-amino)pyrazolo[1,5-a]pyrimidine. A pyrazolo[1,5-a]pyrimidine derivative according to claim 6 which is 5-n-butyl-7-(3,4,5-trimethoxybenzoylamino)pyrazolo[1,5-a]pyrimidine. An analgesic composition which comprises an effective amount of a pyrazolo[1,5-a]pyrimidine derivative defined in one of claims 1 to 7 and a pharmaceutically acceptable carrier. An analgesic composition according to claim 8 which comprises the pyrazolo[1,5-a]pyrimidine derivative defined in claim 7 as an active ingredient. Use of an effective amount of the pyrazolo[1,5-a]pyrimidine derivative defined in claim 1 for the manufacture of a pharmaceutical composition for relieving pain.

Inventors: HASHIMOTO KINJI, INOUE MAKOTO, OHARA MASAYUKI, OKAMURA TAKASHI, SHOJI YASUO, YASUDA TSUNEO, HASHIMOTO, KINJI, INOUE, MAKOTO, OHARA, MASAYUKI, OKAMURA, TAKASHI, SHOJI, YASUO, YASUDA, TSUNEO, OHARA, MASAYUKI, 11-28, AZA NAKASENAKANOKOSHI, SHOJI, YASUO, SHINSEIBIRU 302
Applicants: OTSUKA PHARMA CO LTD, OTSUKA PHARMACEUTICAL FACTORY, INC.
Application year: 1995
Main classification: C07D487
IPC codes: C07D487