Project Euler #2: Even Fibonacci numbers

Oussama Zaki
Jun 26, 2017 · 5 min read

Problem statement

Project Euler version

Project Euler+ version (Generic)


Analysis

Before reading through this section, I encourage you to think of a possible solution of your own first ~🎀

Naive implementation
Clever implementation
Explicit expression of the sum of the even Fibonacci numbers
precision issue for bigger numbers
Explicit expression of the sum of the even Fibonacci numbers using the Python Decimal library
Preprocessing implementation

`Show your love and support by clicking the clap 👏

Oussama Zaki

Written by

Simple human. Writes beautiful code.