#Skip to menu

2 - Even Fibonacci Numbers

First read the problem description.

Every third fibonacci number is even. Since \(F_n = F_{n-3} * 4 + F_{n-6}\), we initialy calculate \(F_3\) and \(F_6\) then \(F_9 = F_6 * 4 + F_3\), \(F_{12} = F_9 * 4 + F_6\) etc…


Source code of the solution(s):