The goal: Build a long list of Fibonacci numbers.
What is a Fibonacci number? A Fibonacci number is the addition of the previous and the previous-previous numbers.
For example, the first Fibonacci number is 0; the second is 1. (There are varying definitions for what starts as the first number, 1 or 0, but to make it simple, we start at "nothing", or 0.)
Therefore, the third Fibonacci number is 1 (0 + 1). Thus begins the Game [which you now have lost, by the way].
What is a Fibonacci number? A Fibonacci number is the addition of the previous and the previous-previous numbers.
For example, the first Fibonacci number is 0; the second is 1. (There are varying definitions for what starts as the first number, 1 or 0, but to make it simple, we start at "nothing", or 0.)
Fibonacci said:Fib(0) = 0
Fib(1) = 1
Fib(n) = Fib(n - 1) + Fib(n -2)
Therefore, the third Fibonacci number is 1 (0 + 1). Thus begins the Game [which you now have lost, by the way].