Source: https://www.letableaunoir.net/TleES/ExercicesProblemes/TES-Ch03-Suites-ExercicesSuitesArithmeticoGeometriques-Corriges.pdf