Source: https://mathezca.files.wordpress.com/2020/03/exercicesdiriges_entiers_plusloin_6eme_nc2.pdf