Source: http://mathematiques.ac-bordeaux.fr/lycee2010/premiere/nvx_prog/documents_stage/ex_loi_bin.pdf