+0  
 
0
706
5
avatar

what is the fibonacci sequence

 Nov 29, 2016
 #2
avatar
0

1

1

2

3

5

8

13

...

1

1+0=1

1+1=2

1+2=3

2+3=5

5+3=8

8+5=13

...

 Nov 29, 2016
 #3
avatar+33653 
0

I.e. You start with two 1's and each subsequent term is the sum of the previous two terms.

Alan  Nov 29, 2016
 #4
avatar+26388 
0

what is the fibonacci sequence

 

Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.

 

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811, 514229, 832040, 1346269, 2178309, 3524578, 5702887, 9227465, 14930352, 24157817, 39088169 ...

 

laugh

 Nov 29, 2016
 #5
avatar
0

It's a recursivie function.

\(fib (n) = fib(n-2) + fib(n-1) \text{ iff } n \geq 2 \\ fib(n) = 1 \text{ iff } n = 0 \text{ } \vee n = 1\)

 Nov 29, 2016

5 Online Users

avatar