Source: https://fisik.free.fr/ressources/TP_Hacheur_serie.pdf