Source: http://jaicompris.com/lycee/math/calcul/reduire/reduire.pdf