Problem 56050. Easy Sequences 73: Emergence of Fibonacci Insects
Solution Stats
Problem Comments
-
6 Comments
I am getting 51840212 for test 7 instead of 90928381.
Hi Tim,
I've updated test 7. Please try again. Thanks.
Thanks, I would try, but I am using "BigInteger" and "for" and will therefore fail test 10.
Hi Tim, please consider that modulus of Fibonacci numbers are periodic...
This should be part of the problem statement (test case 10):
Not Allowed in solution:
'persistent' 'global' 'BigInteger' 'java'
(OK so far, but also)
'if' 'for' 'switch' 'while' 'try'
Hi Gee, thanks for the comment. However, I don't think there is need to include it in the problem statement coz players can already clearly see the blocked functions in test 10.
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
Determine whether a vector is monotonically increasing
20805 Solvers
-
Given two arrays, find the maximum overlap
1507 Solvers
-
Fix the last element of a cell array
1349 Solvers
-
compress sequence into intervals
87 Solvers
-
110 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!