Source: https://jfculus.fr/wp-content/uploads/2018/03/08_Triplets_Pythagoriciens_Sol.pdf