Possible Duplicate:
Computational complexity of Fibonacci Sequence
Hi, I found out a inductive proof yesterday for the time complexity of a recursive Fibonacci program.The proof first claimed that the complexity is exponential(and later goes on to prove it by induction) by saying that:
There exists a "r" such that f(n) >= r^n for all r>=1 and n>=1.
Then it chooses r to be equal to 1+sqrt(5)/2 such that it satisfies the equation r^2 = r + 1.
(It later justifies it's choice for r).
And then it says that now the statement becomes f(n) >= r^(n-2).
I didn't understand this part how does it become r^(n-2) from r^n.Can someone please help me with that.