Envoyer par SMS: Generalized associated Legendre functions and their applications