F(100)
- Input
- n=100
- Expected output
- 354.224.848.179.261.915.075
21 digits — impossible with float64.
Fibonacci algorithms in computing
The naive recursive implementation costs O(2ⁿ). The iterative one costs O(n). This tool uses iterative BigInt to compute F(499) in milliseconds.
21 digits — impossible with float64.
42 digits with exact precision.
It is a sequence of integers where each term is the sum of the two preceding ones: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34… It was popularized by Leonardo of Pisa ('Fibonacci') in the 13th century.
Float64 has ~15–17 significant digits. F(79) already has 17 digits and exceeds float precision. BigInt has no precision limit.
No. It helps explain the scenario and use the tool more safely, but real decisions should consider official sources, full context and qualified guidance when needed.
First 10 Fibonacci terms
0112358132134All calculations stay in your browser. No data is sent to any server.