Source: https://www.freemaths.fr/corriges-par-theme/bac-s-mathematiques-polynesie-2018-specialite-corrige-exercice-4-arithmetique-et-matrices.pdf