How many Fibonacci numbers? - MATLAB Cody - MATLAB Central

Problem 44481. How many Fibonacci numbers?

Difficulty:Rate

Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers.

Example:

 x = [1 2 3 4 5 6 7 8 8]
 y = 5

Solution Stats

29.83% Correct | 70.17% Incorrect
Last Solution submitted on Mar 20, 2025

Problem Comments

Solution Comments

Show comments
Who Deserves Your Praise? Discover the New Contribution Widget!
...
We are excited to announce another update to our Discussions area: the...

Problem Recent Solvers797

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page