Source: http://www.bcpst2.bginette.com/Maths/Cours/pyth_polynomes.pdf