Problem 2423. Integer Sequence - II : New Fibonacci
Aamod Garg, it is not appropriate to effectively publish the solution as a comment. The instruction asks Players to "crack" the sequence. —DIV [Can some Admin possibly please delete Aamod Garg's comment?]
The Integer Sequence isn't shown for some reason.
I don't see an integer sequence here
The integer sequence is not shown (at least for me), but you can get the idea from the test cases. Here is the sequence, if you are looking for it: 1, 1, 1, 2, 5, 21, 233, 10946, 5702887...
These numbers are from the original Fibonacci sequence. To crack it, you'll need to find the relationship between these numbers and their indices.
Probably the most satisfactory problem I've encountered this far. Wonderful!
That was a really cool sequence :)
This sequence makes no sense. The third number in the sequence (n) relies on the second number (n-1), and the previous to that Fibonacci number (n-2). Using 1 and 1 for these numbers, I get 2 for the THIRD number in this sequence.
@Brandon It's not the Fibonacci sequence, it's a sequence _based_ thereon. Please feel free to take a look at other players' correct solutions to see what the intended solution was.
Solution CommentsShow comments
Problem Recent Solvers428
Golomb's self-describing sequence (based on Euler 341)
More from this Author44
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!