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.82% Correct | 70.18% Incorrect
Last Solution submitted on Mar 28, 2025

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers798

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