Source: http://www.dimension-k.com/maths/2nde/ISN-Binaire-Hexa_cours-exercices.pdf