Let $a > 0$. I would like to know what is the largest index for the Fibonacci sequence $F_n$ such that $F_n \le a$.
My effort: $F_0 = 1$, $F_1 = 2$, $F_n = F_{n-1} + F_{n-2}$ and the explicit formula is $$F_n={(1+\sqrt5)^{n+2}-(1-\sqrt5)^{n+2} \over 2^{n+2}\sqrt5}$$
So the inequation to solve is $F_n\le a$. Can't find a way to solve this
I do know where $\phi$ = golden ratio that
$$F_n = \left\lfloor {\phi^{n+2} \over \sqrt 5} \right\rfloor$$
this gives the result easily.
but I don't want to use this formula