What is the next number in this sequence?
1, 4, 9, 16, 25, pi
The sequence is not arbitrary. Create a mathematical function that generates this sequence.
(In reply to
Word problem??? by fwaff)
Sorry, I should have put this on the end of my previous post...
A mathematical function that gives the sequence is:
(floor(n/6))pi + (1-floor(n/6))n^2
for n=1 to 5 this is equivalent to 0pi + 1n^2 = n^2
for n=6 this is 1pi + (1-1)6^2 = pi
for n=7 to 11 this is 1pi + (1-1)n^2 = pi
for n=12 this is 2pi - 144
Again I guess that this is A solution rather than THE solution.
|
Posted by fwaff
on 2003-04-21 22:29:44 |