by Ricardo Fernández Serrata
Get index of a Fib number (or any number) corresponding to the Fib sequence.
Because sqrt(5) and ln(Phi) are constants, you should compute them once for better performance, if you are going to repeatedly execute this algorithm. This is the reason why I isolated both constants, so that you can 📋CP their blocks to set the variables just once instead of multiple times
Reviews and ratings can be submitted in the app.