You are viewing a single comment's thread. Return to all comments →
(long) Math.ceil((Math.log(10) * (n - 1) + Math.log(5) / 2) / Math.log(phi))
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #25: N-digit Fibonacci number
You are viewing a single comment's thread. Return to all comments →