gcd(F_m, F_n) = F_gcd(m,n)
Statement
With , , , prove that for all positive integers ,
Deduce that if is prime and , then is prime.
Hint
First prove and . Then show and imitate the Euclidean algorithm on the indices.
Show solutionHide solution
Solution
Step 1: addition formula. For : . Proven by induction on (both sides satisfy the Fibonacci recurrence in ).
Step 2: consecutive terms are coprime. .
Step 3: the key reduction. By Step 1, , so
where the last equality holds because and are coprime (Step 2).
Step 4: Euclid on the indices. By Step 3, for . This is the subtraction form of the Euclidean algorithm, applied to the indices, which ends at with . Hence .
Consequence. Let be composite, with . Since , , and . By the formula, , i.e. . Here and , so has a proper divisor and is composite. Hence if is prime and , then is prime.
Remark. The converse fails: .
Lesson. A divisibility property that is "Euclid-like" (gcd of values equals value at the gcd) is proved by showing .