Source: https://www.lyceedadultes.fr/sitepedagogique/documents/math/mathTermSspe/03_Nombres_premiers/03_cours_triplets_pythagoriciens.pdf