Source: https://maths.ac-orleans-tours.fr/fileadmin/user_upload/maths/interacad/Recueil_Exercices_Prob.pdf