Source: https://education.ti.com/sites/FRANCE/downloads/pdf/4.Fractions_PGCD_et_scoubidous.pdf