Source: https://lmbp.uca.fr/~fdumas/fichiers/PolyL2seriesint.pdf