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.16% Correct | 75.84% Incorrect
Last Solution submitted on Apr 26, 2025

Problem Comments

Solution Comments

Show comments

Group

All Things Fibonacci Image
All Things Fibonacci
  • 9 Problems
  • 319 Finishers

Problem Recent Solvers1436

Community Treasure Hunt

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

Start Hunting!
Go to top of page