Source: https://www.dcode.fr/fraction-irreductible.pdf