Source: https://utbmbz.free.fr/sq20/P12-SQ20-1denombrementc.pdf