Fibonacci Sequence

The Fibonacci sequence is a series where each term equals the sum of the previous two terms; it models growth patterns found in nature.

Fn=Fn1+Fn2,F1=F2=1F_n = F_{n-1} + F_{n-2}, \quad F_1 = F_2 = 1

Solve a problem with Fibonacci Sequence

Type the problem. The solver will use Fibonacci Sequence where Fibonacci Sequence is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Fibonacci Sequence takes
FnF_n
nn
Fibonacci Sequence
SymbolMeaning
FnF_nThe nn-th term in the Fibonacci sequence, a positive integer found by adding the two previous terms; confusing it with the index nn itself will cause errors in later calculations.
nnThe position or index in the sequence, a positive integer (1, 2, 3, ...) that tells you which term you want; Fibonacci indexing starts at 1, not 0, so treat any deviation as a red flag.

When to use it

Reach for Fibonacci when modeling growth patterns where each stage depends on the two previous ones, such as population dynamics or branching structures.

Level

Usually taught in: Algebra II

Worked examples

1. Find the 6th Fibonacci number

Problem

Find F6F_6 using the recurrence relation Fn=Fn1+Fn2F_n = F_{n-1} + F_{n-2} with F1=F2=1F_1 = F_2 = 1.
  1. F1=1,F2=1F_1 = 1, \quad F_2 = 1

    The recurrence relation requires two starting values; the problem gives us F1=1F_1 = 1 and F2=1F_2 = 1.

  2. F3=F2+F1=1+1=2,F4=F3+F2=2+1=3F_3 = F_2 + F_1 = 1 + 1 = 2, \quad F_4 = F_3 + F_2 = 2 + 1 = 3

    Apply the formula to find F3F_3 and F4F_4 by adding consecutive pairs of previous terms.

  3. F5=F4+F3=3+2=5,F6=F5+F4=5+3=8F_5 = F_4 + F_3 = 3 + 2 = 5, \quad F_6 = F_5 + F_4 = 5 + 3 = 8

    Continue the pattern by adding the two previous terms to get the next term.

Answer: F6=8F_6 = 8

The Fibonacci sequence is built one term at a time by adding the previous two terms. This recurrence method is the most direct way to compute a Fibonacci number at any specific position you need.

2. Extend Fibonacci to negative indices

Problem

The Fibonacci recurrence can work backwards. Given that F1=1F_1 = 1, F2=1F_2 = 1, and Fn=Fn1+Fn2F_n = F_{n-1} + F_{n-2} for all nn, find F0F_0 and F1F_{-1} by rearranging the formula.
  1. F2=F1+F0    1=1+F0    F0=0F_2 = F_1 + F_0 \implies 1 = 1 + F_0 \implies F_0 = 0

    Rearrange the recurrence formula Fn=Fn1+Fn2F_n = F_{n-1} + F_{n-2} as Fn2=FnFn1F_{n-2} = F_n - F_{n-1}; substitute n=2n = 2 to find F0F_0.

  2. F1=F0+F1    1=0+F1    F1=1F_1 = F_0 + F_{-1} \implies 1 = 0 + F_{-1} \implies F_{-1} = 1

    Now use the rearranged formula with n=1n = 1 to find F1F_{-1}; substitute the value F0=0F_0 = 0 just calculated.

  3. Check:F0=F1F2=11=0,F1=F0F1=01=1\text{Check:} \quad F_0 = F_1 - F_2 = 1 - 1 = 0, \quad F_{-1} = F_0 - F_1 = 0 - 1 = -1

    Wait — using Fn2=FnFn1F_{n-2} = F_n - F_{n-1} with n=0n = 0 gives F2=F0F1=01=1F_{-2} = F_0 - F_{-1} = 0 - 1 = -1, confirming our pattern is self-consistent.

Answer: F0=0,F1=1F_0 = 0, \quad F_{-1} = 1

Fibonacci extends to negative indices when we rearrange the recurrence formula algebraically. This example requires careful attention to index arithmetic and shows that the pattern continues logically in both directions — a more sophisticated use of the formula than simply building forward.

3. Construction crew productivity over weeks

Problem

A construction crew is splitting a large project. Team A completes 1 unit of work in week 1, Team B completes 1 unit in week 2. From week 3 onward, the total work each week equals the sum of the previous two weeks' totals (due to accumulated learning and efficiency gains). How many units will be completed in week 8?
  1. W1=1 unit,W2=1 unitW_1 = 1 \text{ unit}, \quad W_2 = 1 \text{ unit}

    Set up the initial work amounts for the first two weeks, then apply the Fibonacci pattern: Wn=Wn1+Wn2W_n = W_{n-1} + W_{n-2} for weeks 3 and beyond.

  2. W3=2,W4=3,W5=5,W6=8,W7=13W_3 = 2, \quad W_4 = 3, \quad W_5 = 5, \quad W_6 = 8, \quad W_7 = 13

    Calculate work for each week using the recurrence: W3=1+1=2W_3 = 1 + 1 = 2, then W4=2+1=3W_4 = 2 + 1 = 3, and so on up to week 7.

  3. W8=W7+W6=13+8=21W_8 = W_7 + W_6 = 13 + 8 = 21

    Week 8's work is the sum of weeks 7 and 6, following the Fibonacci recurrence.

Answer: W8=21 unitsW_8 = 21 \text{ units}

This problem models real-world productivity growth where each stage builds on the two before it. The Fibonacci sequence naturally describes situations like this where output compounds because future performance depends on accumulated experience from the recent past.

Common mistakes

Where Fibonacci Sequence usually goes wrong
Answer came out wrong
Using initial values F0=0F_0 = 0 and F1=1F_1 = 1 instead of F1=1F_1 = 1 and F2=1F_2 = 1.
Always use the starting values given in the problem: F1=1F_1 = 1 and F2=1F_2 = 1. If the problem requires F0F_0, derive it algebraically from the recurrence as shown in Example 2.
Computing Fn=Fn2+Fn3F_n = F_{n-2} + F_{n-3} (or any other pair) instead of Fn=Fn1+Fn2F_n = F_{n-1} + F_{n-2}.
Always add the two consecutive terms right before the one you want. Write out the first few terms explicitly — 1,1,2,3,5,81, 1, 2, 3, 5, 8 — and verify that each new number is the sum of the exact two before it.
Forgetting that the indexing starts at n=1n = 1 and treating the first 1 as F0F_0.
Memorize that the sequence begins at position 1: the first 1 is F1F_1, the second 1 is F2F_2, then 2 is F3F_3, then 3 is F4F_4, and so on. When counting positions, always start from 1.
The mistakeWhy it is wrongThe fix
Using initial values F0=0F_0 = 0 and F1=1F_1 = 1 instead of F1=1F_1 = 1 and F2=1F_2 = 1.The problem statement defines F1=F2=1F_1 = F_2 = 1; if you use the F0F_0 convention instead, all your term indices shift by one position, producing a different sequence entirely.Always use the starting values given in the problem: F1=1F_1 = 1 and F2=1F_2 = 1. If the problem requires F0F_0, derive it algebraically from the recurrence as shown in Example 2.
Computing Fn=Fn2+Fn3F_n = F_{n-2} + F_{n-3} (or any other pair) instead of Fn=Fn1+Fn2F_n = F_{n-1} + F_{n-2}.Students sometimes misread or miscount, accidentally adding the term two steps back plus the term three steps back, when Fibonacci specifically requires the two immediately previous terms.Always add the two consecutive terms right before the one you want. Write out the first few terms explicitly — 1,1,2,3,5,81, 1, 2, 3, 5, 8 — and verify that each new number is the sum of the exact two before it.
Forgetting that the indexing starts at n=1n = 1 and treating the first 1 as F0F_0.Since F1=1F_1 = 1 and F2=1F_2 = 1 by definition, the first appearance of 1 is at position 1, not position 0; if you miscount the starting position, every subsequent index will be off by one.Memorize that the sequence begins at position 1: the first 1 is F1F_1, the second 1 is F2F_2, then 2 is F3F_3, then 3 is F4F_4, and so on. When counting positions, always start from 1.

Tips and when to use something else

  • For large values of nn (say n>20n > 20), calculating Fibonacci by hand using the recurrence becomes tedious; instead use Binet's formula Fn=ϕnψn5F_n = \frac{\phi^n - \psi^n}{\sqrt{5}} where ϕ=1+52\phi = \frac{1+\sqrt{5}}{2} (the golden ratio), or use a calculator or spreadsheet.
  • Fibonacci numbers appear in nature everywhere: flower petal counts, spiral shells, tree branching, and even galaxy formations — this is why the sequence shows up in biology and physics, not just mathematics.
  • The ratio of consecutive Fibonacci numbers Fn+1Fn\frac{F_{n+1}}{F_n} approaches the golden ratio (approximately 1.618) as nn grows larger, which is why Fibonacci rectangles and spirals appear in art and design.
  • If a word problem mentions numbers that depend on the two previous values, or describes growth in natural systems, think Fibonacci before trying to fit an arithmetic sequence, geometric sequence, or other formula.

Frequently asked questions

How do you find a large Fibonacci number like F50F_{50} without computing all the previous terms?
For very large nn, calculating by hand is impractical; use Binet's formula, a computer program, or a spreadsheet that implements the recurrence. By hand, the method shown in Example 1 works reasonably for n15n \leq 15 or so, after which the numbers grow too large.
Why does the Fibonacci sequence appear so often in nature?
Fibonacci models growth processes where each generation depends on the two previous ones — this occurs in plant reproduction (seeds spiraling in a sunflower), shell formation, and animal population dynamics. Nature 'uses' Fibonacci because it efficiently organizes space and resources.
Is there an easy pattern for predicting which numbers are Fibonacci numbers?
There is no simple rule like 'all even numbers' or 'all primes,' but Fibonacci numbers appear in many identities: for example, every third Fibonacci number is even, and the sum of the first nn Fibonacci numbers equals Fn+21F_{n+2} - 1.
What happens if you start a Fibonacci-like sequence with different initial values, like 2 and 3?
You get a generalized Fibonacci or Lucas sequence that follows the same recurrence pattern Gn=Gn1+Gn2G_n = G_{n-1} + G_{n-2} but with different terms. These sequences share many properties with the standard Fibonacci sequence, including a connection to the golden ratio.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18