You are viewing a single comment's thread. Return to all comments →
Here is a one liner in Python using the Golden Ratio. Faster processing guaranteed!
Golden ratio
n-th Fibonnaci number is the closest value of:
print(round((((1+(5**0.5))/2)**int(input()))/(5**0.5)))
Seems like cookies are disabled on this browser, please enable them to open this website
Recursion: Fibonacci Numbers
You are viewing a single comment's thread. Return to all comments →
Here is a one liner in Python using the Golden Ratio. Faster processing guaranteed!
Golden ratio
n-th Fibonnaci number is the closest value of: