In mathematics, the Fibonacci numbers commonly denoted F(n), form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones, starting from 0 and 1. The Sequence looks like this:
[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...]
Finding
N-th
member of this sequence would be useful in many Applications:
- Recently Fibonacci sequence and the golden ratio are of great interest to researchers in many fields of science including high energy physics, quantum mechanics, Cryptography and Coding.
- Prepare Base Matrice
- Calculate the power of this Matrice
- Take Corresponding value from Matrix
Find 8-th
member of Fibonacci
| F(n+1) F(n) |
| F(n) F(n-1)|
Calculate matrix^1
| 1 1 |
| 1 0 |
Calculate matrix^2
| 2 1 |
| 1 1 |
Calculate matrix^4
| 5 3 |
| 3 2 |
Calculate matrix^8
| 34 21 |
| 21 13 |
F(8)=21