Problem 56050. Easy Sequences 73: Emergence of Fibonacci Insects
I am getting 51840212 for test 7 instead of 90928381.
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 CommentsShow comments
Problem Recent Solvers3
Check that number is whole number
Easy Sequences 30: Nearly Pythagorean Triangles
More from this Author116
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!