Source: https://www.jeuxmath.ch/solutions/3-carre-magique.pdf