Skip to main content
[Edit removed during grace period]
Source Link
Aaron
  • 168
  • 9
Source Link
Aaron
  • 168
  • 9

The Fibonacci sequence grows fast enough that it exceeds 4 000 000 with its 34th term, as shown on the OEIS.

Given this fact, hardcoding the set of even Fibonacci numbers under 4 000 000 - or even their sum - would be far from impractical and would be an obvious solution to drastically increase execution time.