I was thinking about what happens if you take a sequence of consecutive squares, for example 1,4,9, 16. Taking the differences gives you another sequence, 7,5,3. And taking the differences between those numbers, you get 2,2--a constant. Through elementary first-semester algebra, you can easily verify that this works no matter where you start your series of squares. If you use 9801, 10000, 10201, you will get the same result--after the second round of subtraction, you'll end up with a final constant difference of 2. The same thing works for cubes with the final constant difference being 6, although an additional round of subtraction is needed, in turn requiring one more number in the original sequence. Similarly as with the squares, it's not difficult to show that it will work for any sequence of natural number cubes.
My question is this: Is there a more general principle at work here? Suppose I take a series of sequential naturals n, n+1, n+2, n+3,... , and raise them to any given positive integral power p. Can it then be shown that if I take the differences repeatedly, proceeding as above, that I will eventually reach a constant difference? And if so, does this principle have anything to do with "difference engine" computing?