Source: https://www.math.univ-toulouse.fr/~barthe/L1math2/Exos-Corriges-arithmetique.pdf