Okay, lets dive straight into the code...
const fib = n =>
Math.floor((((1 + 5**.5)/2)**n - ((1 - 5**.5)/2)**n)/5**.5)
Explanation here.
Okay, lets dive straight into the code...
const fib = n =>
Math.floor((((1 + 5**.5)/2)**n - ((1 - 5**.5)/2)**n)/5**.5)
Explanation here.
For further actions, you may consider blocking this person and/or reporting abuse
Victor Ogbonna -
Arindam Majumder -
Peter Wan -
reverse Ch -
Top comments (1)
Wow.
High School Olympiad Math.
Well done!!!
🤩