HP Forums

Full Version: (35S) Formula for Fibonacci Numbers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The formula finds the exact Fibonacci number for positive integer N on stack level X for N from 0 to 59, for higher values the result is approximate:


Improvements or alternative approaches welcome.

NB In case REGX is unfamiliar, access to REGX when entering a programme is via "EQN" key, setting algebraic mode, "R↓" key, giving access to registers x, y, z & t, & then choosing the desired register, ie REGX is the content of stack level X.
Reference URL's