Number of Even Elements in Fibonacci Sequence - MATLAB Cody - MATLAB Central

Problem 44311. Number of Even Elements in Fibonacci Sequence

Difficulty:Rate

Find how many even Fibonacci numbers are available in the first d numbers.

Consider the following first 14 numbers

1 1 2 3 5 8 13 21 34 55 89 144 233 377 ...

4 of them are even.

Solution Stats

24.18% Correct | 75.82% Incorrect
Last Solution submitted on Mar 02, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers1431

Suggested Problems

More from this Author92

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page