Source: http://www.i3s.unice.fr/~malapert/R/pdf/F1-nombres.pdf