|
think abbout this
1 2 3 4 5 6 7 8 9 10 - + 1 to each
1 2 4 8 16 32 64 128 - double previous number
1 1 2 3 5 8 13 21 34 - add previous 2 numbers together
you could see the pattern due to being able to think abotu the problem, unless you define every single type of pattern to the program then have it chase them all, it would be practically impossible to work out the pattern :/
|