Name: Anonymous 2008-04-23 18:11
Sup /sci/,
I was just playing with lists in python,and I noticed something-if you take the differences of the numbers in a list of n to the power x,where both x and n are natural,and do this recursively x times,you get a list of the same number-the factorial of x.
Now as you can obviously see,I can't speak 'maths',so I'll just give you some examples.The question is-Why does this happen?
x^2
[1, 4, 9, 16, 25, 36, 49]
[3, 5, 7, 9, 11, 13]
[2, 2, 2, 2, 2]
x^3
[1, 8, 27, 64, 125, 216, 343, 512, 729, 1000, 1331]
[7, 19, 37, 61, 91, 127, 169, 217, 271, 331]
[12, 18, 24, 30, 36, 42, 48, 54, 60]
[6, 6, 6, 6, 6, 6, 6, 6]
x^4
[1, 16, 81, 256, 625, 1296, 2401, 4096, 6561, 10000, 14641, 20736, 28561, 38416, 50625]
[15, 65, 175, 369, 671, 1105, 1695, 2465, 3439, 4641, 6095, 7825, 9855, 12209]
[50, 110, 194, 302, 434, 590, 770, 974, 1202, 1454, 1730, 2030, 2354]
[60, 84, 108, 132, 156, 180, 204, 228, 252, 276, 300, 324]
[24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24]
I was just playing with lists in python,and I noticed something-if you take the differences of the numbers in a list of n to the power x,where both x and n are natural,and do this recursively x times,you get a list of the same number-the factorial of x.
Now as you can obviously see,I can't speak 'maths',so I'll just give you some examples.The question is-Why does this happen?
x^2
[1, 4, 9, 16, 25, 36, 49]
[3, 5, 7, 9, 11, 13]
[2, 2, 2, 2, 2]
x^3
[1, 8, 27, 64, 125, 216, 343, 512, 729, 1000, 1331]
[7, 19, 37, 61, 91, 127, 169, 217, 271, 331]
[12, 18, 24, 30, 36, 42, 48, 54, 60]
[6, 6, 6, 6, 6, 6, 6, 6]
x^4
[1, 16, 81, 256, 625, 1296, 2401, 4096, 6561, 10000, 14641, 20736, 28561, 38416, 50625]
[15, 65, 175, 369, 671, 1105, 1695, 2465, 3439, 4641, 6095, 7825, 9855, 12209]
[50, 110, 194, 302, 434, 590, 770, 974, 1202, 1454, 1730, 2030, 2354]
[60, 84, 108, 132, 156, 180, 204, 228, 252, 276, 300, 324]
[24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24]