Source: http://maths-au-quotidien.fr/lycee/docs/code_barre.pdf