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))
Project Euler #25: N-digit Fibonacci number
You are viewing a single comment's thread. Return to all comments →