Source: http://maths.desfontaines.free.fr/IMG/pdf/proba_2_ex_4.pdf