Source: https://mathsrombaldi.pagesperso-orange.fr/AgregInterne/SolPbAlgArithm.pdf