Source: https://irem.univ-reunion.fr/IMG/pdf/fic2_proba-2.pdf