- #1
Lahooty
- 5
- 0
Homework Statement
A more efficient algorithm to calculate Fibonacci numbers applies the simultaneous transformation:
T(a; b) = (a+b; a)
repeatedly with a = 1 and b = 0 as initial values.
What Fibonacci numbers result from T^k(1; 0)? Justify your answer (e.g., as proof by induction in k would be nice).
Homework Equations
The Attempt at a Solution
Let k = 1
T^1(1; 0) = (1; 1) = (F2; F1)
Assume T^k(1; 0) = (Fk+1; Fk) and show T^(k+1)(1; 0) = (Fk+2; Fk+1)
T^(k+1)(1; 0) = T^k(T^1(1; 0)) = T^k(1; 1) = (Fk+2; Fk+1)
Is this enough to conclude my solution and justify the proof? Any help will be greatly appreciated.
Thanks