[GCD2] GCD of consecutive Fibonacci numbers (2 pts) [00JZ]
Recall the Fibonacci numbers, defined by F_0 = 0, F_1 = 1, and F_{n+2} = F_{n+1} + F_n. That is, the first two Fibonacci numbers are 0, 1, and then each subsequent Fibonacci number is the sum of the previous two, so the first few are 0, 1, 1, 2, 3, 5, 8, 13, \dots
- Compute F_9 and F_{10}, and trace the execution of the Euclidean Algorithm to compute \gcd (F_{10}, F_9). What happens?
- Prove by induction on n that \gcd (F_{n+1}, F_n) = 1 for all n \geq 0.
- Explain why your proof also shows that the Euclidean Algorithm requires n recursive steps to compute \gcd (F_{n+1}, F_n) = 1.