This Lesson (Make any sequence valid) was created by by terryriegel(1)  : View Source, ShowAbout terryriegel: I love programming and math.
Whats the next number in a sequence. It can be any number you want.
The solution arises from the fact that anything times zero is just zero and also adding zero to something doesn't change it.
Now granted the formula can get a bit lengthy but it is a valid solution and it can be any number you want.
Lets start with a simple sequence of three random numbers between (1-10) from random.org I got 6,9,2,_ whats next, Ok back to random.org its came up with 5.
So our problem is to come up with a formula f(n) that produces f(1)=6, f(2)=9, f(3)=2, and f(4)=5
f(1)=6
f(2)=9
f(3)=2
f(4)=5
Lets initially choose
f(1) = 6 check
f(2) = 6 fail
so lets refine it
f(1) = 6 check
f(2) = 9 check
f(3) = 12 fail
so we refine further
f(1) = 6 check
f(2) = 9 check
f(3) = 2 check
f(4) = -15 fail
so we refine further
f(1) = 6 check
f(2) = 9 check
f(3) = 2 check
f(4) = 5 check
There we have it a generalized method for making any sequence valid.
So the next time your teacher asks you whats next in this sequence
1,2,3,4,?
Tell them it can be anything.
This lesson has been accessed 1914 times.
|