Source: https://lewebpedagogique.com/guerinv/files/2017/09/2017_10_10_Tab_Graph_Nb_dec_DM.pdf