Source: https://www.math.univ-paris13.fr/~vento/docs/TD L2-S2 Proba.pdf