Problem 2423. Integer Sequence - II : New Fibonacci
Solution Stats
Problem Comments
-
9 Comments
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!
Enjoyed :-)
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 Comments
Show commentsProblem Recent Solvers443
Suggested Problems
-
Find the maximum number of decimal places in a set of numbers
2371 Solvers
-
Create an index-powered vector
630 Solvers
-
Integer sequence - 2 : Kolakoski sequence
142 Solvers
-
831 Solvers
-
1105 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!