Saturday, December 26, 2009

How can a sequence of numbers to go 1,2,3,4,5,126?

I need to figure out how the sequence moves on to 126 instead of just 6. Any help would be appreciated as this has been driving me crazy.How can a sequence of numbers to go 1,2,3,4,5,126?
The equation for this sequence is


f(n)=(n-1)(n-2)(n-3)(n-4)(n-5) + n.





The next few numbers are 727, 2528, 6729,...How can a sequence of numbers to go 1,2,3,4,5,126?
If part of the rule was to take the cube of the fifth number and add the first, that would work, but I would need more numbers in the sequence to refine that rule.
0x0x0x0x0+1 = 1


0x0x0x0x1+2 = 2


0x0x0x1x2+3 = 3


0x0x1x2x3+4 = 4


0x1x2x3x4+5 = 5


1x2x3x4x5+6 =126


2x3x4x5x6+7 = 727


3x4x5x6x7+8 = 2528
1,2,3,4,5,126





(1*2*3*4*5)+6 = 126
I came up with the same answer as ';knottedbrain';. Multiply first 5 numbers then add 6th. And then I saw the answerer right above me and was humbled...lol.
There is nothing like this in the Online Encyclopedia of Integer Sequences, and that database is huge. Where did you see this sequence?

No comments:

Post a Comment