The invention encompasses pyrazolo[1,5-a]pyrimidine derivatives which selectively inhibit microtubule affinity regulating kinase (MARK) and are therefore useful for the treatment or prevention of Alzheimer's disease. Pharmaceutical compositions and methods of use are also included.
Described herein are compounds represented by formula (I) or a pharmaceutically acceptable salt thereof, pharmaceutical compositions comprising the same and methods of preparing and using the same. The variables Ar, X, R1, R3, R 4, Y1, Y2, n and p are as defined herein.