Project Euler #25: N-digit Fibonacci number

  • + 1 comment
    (long) Math.ceil((Math.log(10) * (n - 1) + Math.log(5) / 2) / Math.log(phi))