GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 9

Prove Fibonacci parity by induction

Discrete Mathematics · Proof Techniques & Number Theory · Full GATE CSE 1996 paper

GATE 1996, Q9 5 marks · Descriptive
Report issue

Proof Techniques & Number Theory

Question 9, GATE 1996: Let f1=f2=1 and f_(n+2)=f_(n+1)+f_n for n≥1. Prove by induction that every third term is even.
Tap to enlarge
Answer & solution

Answer: For every k≥1, f_(3k) is even. (no official key was published)

Use induction on k, not on the original index one step at a time. The base case is f3=f2+f1=2, which is even. For the induction step, derive a recurrence connecting terms three positions apart:
fm+3=fm+2+fm+1=(fm+1+fm)+fm+1=2f_(m+1)+fm.

Assume f3k is even. Set m=3k in this identity. Then f3k+3=2f_(3k+1)+f3k is the sum of two even integers, hence even. This proves the claim for k+1 and completes the induction.

The proof deliberately does not assume anything about f3k+1: multiplying any integer by 2 makes it even. An alternative stronger invariant is that each consecutive block has parity odd,odd,even. Starting from 1,1,2, the recurrence gives the next block odd,odd,even again. This additionally proves that exactly the multiples of three have even terms, but the weaker requested conclusion already follows from the simpler induction above.

Original paper, page 8