Fibonacci Numbers Using Pythan
Definition :-
Fn=Fn-1 +Fn-2
where seed Values F1=1 and F2=1
The first 11 Fibonacci numbers Fn for n=0,1,2,....,11 aref0 | f1 | f2 | f3 | f4 | f5 | f6 | f7 | f8 | f9 | f10 | f11 |
---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 1 | 2 | 3 | 5 | 8 | 13 | 21 | 34 | 55 | 89 |
f0 | f1 | f2 | f3 | f4 | f5 | f6 | f7 | f8 | f9 | f10 | f11 |
---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 1 | 2 | 3 | 5 | 8 | 13 | 21 | 34 | 55 | 89 |
IT's Good
No comments:
Post a Comment