Source: https://perso.univ-rennes1.fr/marie-pierre.lebaud/IREM/progression_spirale/S2/exercices/S2-FicheA.pdf