Problem 44311. Number of Even Elements in Fibonacci Sequence
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
Problem Comments
-
8 Comments
Show
5 older comments
Ricardo
on 13 Nov 2022
The Tran Tran comment is the key to solve the problem.
Robert Wagner
on 9 Nov 2023
interesting - I never noticed the groups of 3
子强
on 9 Jul 2025
Funny problem lol
Solution Comments
Show commentsProblem Recent Solvers1448
Suggested Problems
-
Renaming a field in a structure array
1561 Solvers
-
Generate N equally spaced intervals between -L and L
901 Solvers
-
1531 Solvers
-
499 Solvers
-
916 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!