Source: https://maths-au-quotidien.fr/lycee/theme/escalier.pdf