On the singular spectrum of the Almost Mathieu operator. Arithmetics and Cantor spectra of integrable models