Source: https://www.maths-france.fr/MathSpe/Exercices/06-series-corrige.pdf