Source: https://www.technologuepro.com/cours-systemes-logiques-3/chapitre-1-1-systeme-de-numeration-et-codage-des-informations.pdf