t(1) = 1
t(2) = 1
t(n+1) = t(n) + t(n-1) for n = 1, 2, 3, ...
That is, the first two terms are 1; after that every term is the sum of the previous two terms.
Chat with our AI personalities
The 20th Fibonacci number in the sequence is 6,765.
The Fibonacci sequence requires two numbers as "seeds".
42
No, the Fibonacci sequence never ends. It just keeps on going!
Assuming the Fibonacci sequence starts with the numbers 0, 1, as per sequence A000045, the 24th Fibonacci number is 28657.