Source: https://mathgm.fr/images/documents/terminale/cours_exercices/chap1_recurrence_diapo_pdf.pdf