Source: https://www2.mat.ulaval.ca/fileadmin/Pages_personnelles_des_profs/hm/H14_Nombresparfaits.pdf