by Ricardo Fernández Serrata
Computes Nth Fib. number faster than O(n). It uses rounding because Binet's Formula returns some non-integer results and it's generalized to work with complex numbers (which AM doesn't support natively)
This flow is optimized for speed and float precision, not accuracy nor generalized functions.
Never use this to generate an array of the Fib sequence, because it will be slower than computing simple additions. But if you want an unsorted array of Fib numbers with some missing values, you should use this because it computes faster by avoiding recursion and loops
Rate and review within the app in the Community section.