Source: https://maths.bzh/pdf/classe5/sequence3/exercice/exercices-5e-triangles.pdf