Source: https://animation.hepvs.ch/mathematiques/index.php/files/803/Dossiersrattrappage/2047/10CONOFractions.pdf