Source: http://www.ac-grenoble.fr/disciplines/maths/pages/PM/Ressources/140/mod_dichotomie_balayage_1.pdf