On this page
Pick any two Fibonacci numbers, find their greatest common divisor, and you land on another Fibonacci number: the one whose position is the gcd of the two positions. Below: a worked example, a three-step proof and two consequences for divisibility and primes.
What is the gcd property of Fibonacci numbers?
We use the standard indexing F₀ = 0, F₁ = 1 and Fₙ = Fₙ₋₁ + Fₙ₋₂, which gives 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 (OEIS A000045).
The gcd property says that for all positive integers m and n, gcd(Fₘ, Fₙ) = F_(gcd(m, n)) (Wikipedia: Fibonacci prime).
The proof copies Euclid's algorithm move for move on the indices; our post on Euclid's gcd, step by step is a refresher.
How do you check gcd(F₁₂, F₁₈) = F₆ by hand?
From the sequence, F₁₂ = 144 and F₁₈ = 2584 (OEIS A000045). Run the Euclidean algorithm on the numbers:
2584 = 17 × 144 + 136
144 = 1 × 136 + 8
136 = 17 × 8 + 0
So gcd(144, 2584) = 8. Now run it on the positions: gcd(18, 12) = gcd(12, 6) = 6, and F₆ = 8. The answers match.
Try one more: F₁₀ = 55 and F₁₅ = 610. Since gcd(10, 15) = 5, the rule predicts F₅ = 5, and indeed 55 = 5 × 11 and 610 = 5 × 122, with 11 and 122 sharing no factor.
Why is gcd(Fₘ, Fₙ) = F_(gcd(m, n))?
The engine is the addition formula Fₘ₊ₙ = Fₘ Fₙ₊₁ + Fₘ₋₁ Fₙ, which appears (with m and n swapped) on MathWorld's Fibonacci Number page. Test it with m = n = 6: F₁₂ = 8 × 13 + 5 × 8 = 144. It can be proved by induction on n from the recurrence.
Step 1: neighbours are coprime. Any common divisor of Fₙ and Fₙ₊₁ also divides Fₙ₊₁ − Fₙ = Fₙ₋₁. Step down again and again and you reach gcd(F₂, F₁) = 1.
Step 2: shift the index. Take any d that divides Fₙ. By the addition formula, d divides Fₘ₊ₙ exactly when it divides Fₘ Fₙ₊₁. Since d shares no factor with Fₙ₊₁ (Step 1), that happens exactly when d divides Fₘ. So gcd(Fₘ₊ₙ, Fₙ) = gcd(Fₘ, Fₙ).
Step 3: copy Euclid. Step 2 says gcd(Fₐ, Fₙ) = gcd(Fₐ₋ₙ, Fₙ) whenever a > n, the subtraction form of Euclid's rule gcd(a, n) = gcd(a − n, n). Keep subtracting the smaller index from the larger. The indices follow Euclid's algorithm until one is 0 and the other is gcd(m, n). Since F₀ = 0, the last line reads gcd(F_(gcd(m, n)), 0) = F_(gcd(m, n)), which is the claim.
If the stepping down in Step 1 or the induction behind the addition formula feels shaky, the Fermi Concept Library gives every concept in mathematics its own lesson, so you can go back to the one you need.
What does it tell you about divisibility and Fibonacci primes?
Fₘ divides Fₙ when m divides n. If m divides n, then gcd(m, n) = m, so gcd(Fₘ, Fₙ) = Fₘ, which means Fₘ divides Fₙ. The converse also holds once m ≥ 3: Fₘ divides Fₙ if and only if m divides n (Wikipedia: Fibonacci prime). For example, F₆ = 8 divides F₁₂ = 144, F₁₈ = 2584 and F₂₄ = 46368, and no other Fibonacci number from F₁ to F₂₄ is a multiple of 8.
A Fibonacci prime needs a prime index. Suppose n is composite and n ≠ 4. Then n has a divisor a with 3 ≤ a < n, so Fₐ divides Fₙ with 1 < Fₐ < Fₙ, and Fₙ is not prime. The one exception is F₄ = 3, because 4's only proper divisor above 1 is 2, and F₂ = 1. The converse fails: F₁₉ = 4181 = 37 × 113. Fₚ is prime for 8 of the first 10 primes p, the exceptions being F₂ = 1 and F₁₉ (Wikipedia: Fibonacci prime).
For more structure in the same sequence, see Zeckendorf's theorem on sums of Fibonacci numbers and where the Fibonacci numbers sit in Pascal's triangle.
How should you practise the Fibonacci gcd property?
Write F₀ to F₂₄ from the recurrence and check your list against OEIS.
Verify the rule for the pairs (12, 18), (10, 15) and (14, 21). For the last, gcd(14, 21) = 7, so expect F₇ = 13.
Close your notes and rewrite Steps 1 and 2 of the proof.
Prove that Fₙ is even exactly when 3 divides n, using F₃ = 2 and the converse above.
Explain why F₄ = 3 is the only Fibonacci prime with a composite index.
If a divisibility proof stalls, the Fermi Problem Library has a step-by-step solver that explains the reasoning, so you can find the line where your argument went off.



