Fibonacci Sequence: First 100 Numbers Matrix
The Fibonacci sequence starts 1, 1, 2, 3, 5, 8, where each number is the sum of the two before it. This matrix lists the exact first 100 values with the golden ratio they approach, plus a live F(n) calculator.
RecurrenceF(n) = F(n−1) + F(n−2)Each number is the sum of the previous two
Start ValuesF(0) = 0, F(1) = 1This table lists F(1) to F(100)
Golden Ratioφ = (1 + √5) / 2About 1.6180339887
Binet's FormulaF(n) = (φn − ψn) / √5Exact on paper, inexact in 64-bit floats
F(50)12,586,269,02511 digits, fits in 64-bit
F(100)354,224,848,179,261,915,07521 digits, needs BigInt
Fibonacci Calculator
Tip: open this page with ?n=50 to start with F(50) and highlight its row (the table lists F(1) to F(100); the calculator is exact up to F(1000) using BigInt).
| Index (Fn) | Exact Fibonacci Value | Golden Ratio (φ) Ratio: Fn / Fn−1 | Copy |
|---|---|---|---|
| F1 | 1 | n/a (F0 = 0) | |
| F2 | 1 | 1.0000000000 | |
| F3 | 2 | 2.0000000000 | |
| F4 | 3 | 1.5000000000 | |
| F5 | 5 | 1.6666666667 | |
| F6 | 8 | 1.6000000000 | |
| F7 | 13 | 1.6250000000 | |
| F8 | 21 | 1.6153846154 | |
| F9 | 34 | 1.6190476190 | |
| F10 | 55 | 1.6176470588 | |
| F11 | 89 | 1.6181818182 | |
| F12 | 144 | 1.6179775281 | |
| F13 | 233 | 1.6180555556 | |
| F14 | 377 | 1.6180257511 | |
| F15 | 610 | 1.6180371353 | |
| F16 | 987 | 1.6180327869 | |
| F17 | 1597 | 1.6180344478 | |
| F18 | 2584 | 1.6180338134 | |
| F19 | 4181 | 1.6180340557 | |
| F20 | 6765 | 1.6180339632 | |
| F21 | 10946 | 1.6180339985 | |
| F22 | 17711 | 1.6180339850 | |
| F23 | 28657 | 1.6180339902 | |
| F24 | 46368 | 1.6180339882 | |
| F25 | 75025 | 1.6180339890 | |
| F26 | 121393 | 1.6180339887 | |
| F27 | 196418 | 1.6180339888 | |
| F28 | 317811 | 1.6180339887 | |
| F29 | 514229 | 1.6180339888 | |
| F30 | 832040 | 1.6180339887 | |
| F31 | 1346269 | 1.6180339888 | |
| F32 | 2178309 | 1.6180339887 | |
| F33 | 3524578 | 1.6180339887 | |
| F34 | 5702887 | 1.6180339887 | |
| F35 | 9227465 | 1.6180339887 | |
| F36 | 14930352 | 1.6180339887 | |
| F37 | 24157817 | 1.6180339887 | |
| F38 | 39088169 | 1.6180339887 | |
| F39 | 63245986 | 1.6180339887 | |
| F40 | 102334155 | 1.6180339887 | |
| F41 | 165580141 | 1.6180339887 | |
| F42 | 267914296 | 1.6180339887 | |
| F43 | 433494437 | 1.6180339887 | |
| F44 | 701408733 | 1.6180339887 | |
| F45 | 1134903170 | 1.6180339887 | |
| F46 | 1836311903 | 1.6180339887 | |
| F47 | 2971215073 | 1.6180339887 | |
| F48 | 4807526976 | 1.6180339887 | |
| F49 | 7778742049 | 1.6180339887 | |
| F50 | 12586269025 | 1.6180339887 | |
| F51 | 20365011074 | 1.6180339887 | |
| F52 | 32951280099 | 1.6180339887 | |
| F53 | 53316291173 | 1.6180339887 | |
| F54 | 86267571272 | 1.6180339887 | |
| F55 | 139583862445 | 1.6180339887 | |
| F56 | 225851433717 | 1.6180339887 | |
| F57 | 365435296162 | 1.6180339887 | |
| F58 | 591286729879 | 1.6180339887 | |
| F59 | 956722026041 | 1.6180339887 | |
| F60 | 1548008755920 | 1.6180339887 | |
| F61 | 2504730781961 | 1.6180339887 | |
| F62 | 4052739537881 | 1.6180339887 | |
| F63 | 6557470319842 | 1.6180339887 | |
| F64 | 10610209857723 | 1.6180339887 | |
| F65 | 17167680177565 | 1.6180339887 | |
| F66 | 27777890035288 | 1.6180339887 | |
| F67 | 44945570212853 | 1.6180339887 | |
| F68 | 72723460248141 | 1.6180339887 | |
| F69 | 117669030460994 | 1.6180339887 | |
| F70 | 190392490709135 | 1.6180339887 | |
| F71 | 308061521170129 | 1.6180339887 | |
| F72 | 498454011879264 | 1.6180339887 | |
| F73 | 806515533049393 | 1.6180339887 | |
| F74 | 1304969544928657 | 1.6180339887 | |
| F75 | 2111485077978050 | 1.6180339887 | |
| F76 | 3416454622906707 | 1.6180339887 | |
| F77 | 5527939700884757 | 1.6180339887 | |
| F78 | 8944394323791464 | 1.6180339887 | |
| F79 | 14472334024676221 | 1.6180339887 | |
| F80 | 23416728348467685 | 1.6180339887 | |
| F81 | 37889062373143906 | 1.6180339887 | |
| F82 | 61305790721611591 | 1.6180339887 | |
| F83 | 99194853094755497 | 1.6180339887 | |
| F84 | 160500643816367088 | 1.6180339887 | |
| F85 | 259695496911122585 | 1.6180339887 | |
| F86 | 420196140727489673 | 1.6180339887 | |
| F87 | 679891637638612258 | 1.6180339887 | |
| F88 | 1100087778366101931 | 1.6180339887 | |
| F89 | 1779979416004714189 | 1.6180339887 | |
| F90 | 2880067194370816120 | 1.6180339887 | |
| F91 | 4660046610375530309 | 1.6180339887 | |
| F92 | 7540113804746346429 | 1.6180339887 | |
| F93 | 12200160415121876738 | 1.6180339887 | |
| F94 | 19740274219868223167 | 1.6180339887 | |
| F95 | 31940434634990099905 | 1.6180339887 | |
| F96 | 51680708854858323072 | 1.6180339887 | |
| F97 | 83621143489848422977 | 1.6180339887 | |
| F98 | 135301852344706746049 | 1.6180339887 | |
| F99 | 218922995834555169026 | 1.6180339887 | |
| F100 | 354224848179261915075 | 1.6180339887 |
| Data Type | Maximum Value | Largest n That Fits | F(n) at That Index | First Overflow | Copy |
|---|---|---|---|---|---|
| 32-bit signed int | 2147483647 | F(46) | 1836311903 | F(47) | |
| 32-bit unsigned int | 4294967295 | F(47) | 2971215073 | F(48) | |
| 64-bit signed int (long) | 9223372036854775807 | F(92) | 7540113804746346429 | F(93) | |
| 64-bit unsigned int | 18446744073709551615 | F(93) | 12200160415121876738 | F(94) | |
| JavaScript Number (safe integer) | 9007199254740991 | F(78) | 8944394323791464 | F(79) |
| Method | Language | Time | Space | Best For | Copy Code |
|---|---|---|---|---|---|
| Naive recursion | Python | O(2n) | O(n) | Teaching only; F(50) needs over 40 billion calls | |
| Memoization | Python | O(n) | O(n) | Simple recursive solution in interviews (n up to about 900) | |
| Iterative loop | Python | O(n) | O(1) | Default answer: fast, tiny, no recursion limit | |
| Fast doubling | Python | O(log n) | O(log n) | Huge n such as F(1,000,000) | |
| Iterative BigInt | JavaScript | O(n) | O(1) | Exact values beyond F(78) in the browser or Node |
Save & Share This List
Frequently Asked Questions
| Question | Answer |
|---|---|
| What are the first 10 Fibonacci numbers? | Starting from F(0) = 0 the first 10 are 0, 1, 1, 2, 3, 5, 8, 13, 21, 34. This page lists F(1) to F(100), where F(1) = 1 and F(2) = 1. |
| What is F(100), the 100th Fibonacci number? | F(100) = 354224848179261915075, a 21-digit number. It is too large for a 64-bit integer, so use BigInt, Python int or another arbitrary-precision type. |
| How do you compute Fibonacci numbers efficiently? | Use an iterative loop (O(n) time, O(1) space) or fast doubling (O(log n)). Naive recursion is O(2n): F(50) alone needs 40,730,022,147 function calls. |
| Why does F(n)/F(n-1) approach the golden ratio? | The ratio of consecutive Fibonacci numbers converges to φ = (1 + √5) / 2 = 1.6180339887... It already matches φ to 10 decimals at F(26)/F(25). |
| Which Fibonacci number overflows a 64-bit integer? | F(93) = 12200160415121876738 overflows a signed 64-bit integer (the largest that fits is F(92) = 7540113804746346429). F(94) overflows an unsigned 64-bit integer. |
| Is there a closed formula for the nth Fibonacci number? | Yes, Binet's formula: F(n) = (&φ;n − &ψ;n) / √5, with ψ = (1 − √5) / 2. With 64-bit floating point it rounds to the wrong integer from n = 71, so use integer methods for exact results. |