Referring to a Heterocyclic Compound of formula (i), wherein R1 and R2 are c1-c6 alkyl, cycloalkyl alquenilo C3 C2 - C6, C8 alkoxy C1 - C6, among others The Ring is a group of 5 members heterocicliclo Aromatic Aromatic Ring fused with a 5 to 14 members, optionally substituted alq Uilo C1 - C6, alquenilo C2 - C6, among others x1 is an individual Link, a group alquileno C1 - C6A vinylene Group, among others The Ring B is a phenyl Group, pyridine, Furan, oxazole, among others M is an integer from 0 to 3 n is an integer from 0 to 2 W is n o C.Preferred compounds are: (+) - 2 - (5 - isopropyl - 3 - methoxy - 2-methylphenyl) - 2 - [6 - (4 - methoxy 4-methylimidazole - 1 - il) pyridin-2-yl - 5,6,7,8-tetrahydro [1,2,4] triazolo [1,5-a] pyridine (-) - 2 - [6 - (4 - methoxy 4-methylimidazole - 1 - il) pyridin-3-yl] - 4 - (2 - trifluorometilfenil) - 5,6,7,8-tetrahydro [1,2,4] triazolo [1,5-a] pyridine ( (-) - 8 - 4-bromo-2 - trifluorometilfenil) - 2 - [6 - (4 - methoxy 4-methylimidazole - 1 - il) pyridin-2-yl] - 5,6,7,8 - tetrahydro [1,2,4] triazolo [1,5-a] pyridine, among others. These compounds inhibit the production of Amyloid beta and are useful in the treatment of Alzheimers disease, Downs Syndrome, Dementia and AmyloidosisREFERIDA A UN COMPUESTO HETEROCICLICO DE FORMULA (I), DONDE R1 Y R2 SON ALQUILO C1-C6, CICLOALQUILO C3-C8, ALQUENILO C2-C6, ALCOXI C1-C6, ENTRE OTROS EL ANILLO A ES UN GRUPO HETEROCICLICLO AROMATICO DE 5 MIEMBROS FUSIONADO CON UN ANILLO NO AROMATICO DE 5 A 14 MIEMBROS, OPCIONALMENTE SUSTITUIDO ALQUILO C1-C6, ALQUENILO C2-C6, ENTRE OTROS X1 ES UN ENLACE INDIVIDUAL, UN GRUPO ALQUILENO C1-C6, UN GRUPO VINILENO, ENTRE OTROS EL ANILLO B ES UN GRUPO FENILO, PIRIDINA, OXAZOL, FURANO, ENTRE OTROS m ES UN ENTERO DE 0 A 3 n ES UN ENTERO DE 0 A 2 W ES N O C. SON COMPUESTOS PREFERIDOS: (+)-8-(5-ISOPROPIL-4-METOXI-2-METILFENIL)-2-[6-METOXI-5-(4-METILIMIDAZOL-1-IL)PIRIDIN-2-IL-5,6,7,8-TETRAHIDRO[1,2,4]TRIAZOLO[1,5-a]PIRIDINA, (-)-2-[5-METOXI-6-(4-METILIMIDAZOL-1-IL)P