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
Solution Comments
Show comments
Loading...
Problem Recent Solvers18
Suggested Problems
-
Return the 3n+1 sequence for n
8491 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1988 Solvers
-
23762 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
Sum the numbers on the main diagonal
613 Solvers
More from this Author323
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Chris, I wonder how you keep coming with such new interesting problems!
I'm glad you like them!
I agree. ChrisR has posted some great problems!