Problem 2423. Integer Sequence - II : New Fibonacci
Solution Stats
Problem Comments
-
11 Comments
@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.
Maybe I'm missing something or maybe the problem statement got corrupted somehow, but I have no idea what the problem is even asking for: "Crack [whatever that means] the following integer sequence." End-of-problem-statement. Even after looking at the solutions (having to hard code the answers to do so), it's unclear what you were looking for. As written, it seems you were asking for a function that was a simple regurgitation of the "given" sequence terms in the test cases.
@Wayne The problem description is indeed terse... the values of the sequence are given in the test cases, and you're supposed to find out the mathematical rule that was used to generate them.
For the actual rule, see e.g. solution 1879955.
Solution Comments
Show commentsProblem Recent Solvers567
Suggested Problems
-
Find the sum of all the numbers of the input vector
50479 Solvers
-
Find a subset that divides the vector into equal halves
391 Solvers
-
Simple equation: Annual salary
4203 Solvers
-
Is this triangle right-angled?
5988 Solvers
-
413 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!