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.21% Correct | 75.79% Incorrect
Last Solution submitted on Jan 17, 2025

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
14
6

Group

Basics - Fibonacci Image
Basics - Fibonacci
  • 8 Problems
  • 352 Finishers

Problem Recent Solvers1427

Community Treasure Hunt

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

Start Hunting!
Go to top of page