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.
Is the 7 term 233?
There exist a number sequence database somewhere in the internet... ;-)
Word Counting and Indexing
Number of 1s in a binary string
03 - Matrix Variables 4
Natural numbers in string form
Beauty of Parentheses
longest common semi-substring
birthday on same day of week
Elements with highest local average
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