Source: https://www.mathgm.fr/images/documents/premiere/cours_exercices//suites3.pdf