Problem 52624. Determine whether a number is a fibodiv number
The number 14 is a fibodiv number because you can divide it into 1 and 4, use those numbers as the seeds for a Fibonacci sequence, and find 14 later in the sequence: 1, 4, 5, 9, 14. The number 549 is also a fibodiv number because dividing it into 54 and 9 gives the sequence is 54, 9, 63, 72, 135, 207, 342, 549.
Write a function to determine whether the input is a fibodiv number.
Solution Stats
Problem Comments
-
3 Comments
Dyuman Joshi
on 28 Aug 2021
Chris, I wonder how you keep coming with such new interesting problems!
ChrisR
on 29 Aug 2021
I'm glad you like them!
goc3
on 30 Apr 2022
I agree. ChrisR has posted some great problems!
Solution Comments
Show commentsProblem Recent Solvers16
Suggested Problems
-
29198 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5725 Solvers
-
Find the peak 3n+1 sequence value
2538 Solvers
-
620 Solvers
-
Longest run of consecutive numbers
6174 Solvers
More from this Author311
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!