Source: http://laboiteame.a.l.f.unblog.fr/files/2012/02/congruence_selon_c_rogers.pdf