Source: http://math.univ-lille1.fr/~marsalle/enseignement/ISN/ChainesMarkovDanielFlipo.pdf