The Fibonacci sequence is one of the most famous integer sequences in mathematics: every term equals the sum of the two preceding terms. This reference lists the numbers from F(1) onward and lets you jump straight to any single F(n) — computed exactly, with no rounding, directly in your browser.
How it works
The sequence is built from a simple recurrence with two seed values:
F(1) = 1
F(2) = 1
F(n) = F(n-1) + F(n-2) for n > 2
To produce the list, the tool keeps a running pair of the last two values and adds them to generate the next, repeating up to the count you choose. The single-index lookup runs the same loop up to your chosen n and returns the final term. Because each addition uses BigInt, the values never overflow or lose precision — F(100), for example, is the exact 21-digit integer 354224848179261915075.
Tips and example
- A 1-indexed list begins
1, 1, 2, 3, 5, 8, 13, 21, 34, 55— handy for hand-checking code that generates the sequence. - The ratio of neighbouring terms approaches the golden ratio φ ≈
1.618; by F(20) it is already accurate to several decimals. - If your project defines F(0) = 0, just remember this tool starts at F(1); shift your index by one to match.
Use the copy button to grab an exact large Fibonacci number for a test fixture or a constant, without re-deriving it by hand.