What makes it work is that the differences of a polynomial of degree n are the values of a polynomial of degree n-1, so if you keep taking the differences of differences you get polynomials of decreasing degree, eventually arriving at a polynomial of degree 0 which is a constant. The number of differences you need to take to arrive at a constant is the degree of the original polynomial.

CB