Source: https://www.math.univ-toulouse.fr/~fchapon/M1Processus/Processus-M1-2012-Examen.pdf