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!
Little coding, more time spent figuring out the sequence.
Is the 7 term 233?
There exist a number sequence database somewhere in the internet... ;-)
Project Euler: Problem 2, Sum of even Fibonacci
Pi Estimate 1
Doubling elements in a vector
The sum of the numbers in the vector
Matlab Basics - Rounding III
longest common substring : Skipped character version
Beauty of Parentheses
Graph Algorithms - 1 : Length of the largest closed path
Integer Sequence - 1
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office