Source: https://www.math.univ-paris13.fr/~basdevan/SPI-ATS/Exam_L2_SPI_1405.pdf