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 Solvers492
Suggested Problems
-
Determine whether a vector is monotonically increasing
20772 Solvers
-
How to find the position of an element in a vector without using the find function
2728 Solvers
-
Set some matrix elements to zero
536 Solvers
-
807 Solvers
-
Is this is a Tic Tac Toe X Win?
511 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!