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 commentsGroup

Sequences & Series I
- 14 Problems
- 87 Finishers
- Sum all integers from 1 to 2^n
- Integer sequence - 2 : Kolakoski sequence
- Sum all integers from 1 to 2^n
- Project Euler: Problem 2, Sum of even Fibonacci
- Sum of first n terms of a harmonic progression
- Project Euler: Problem 6, Natural numbers, squares and sums.
- Integer Sequence - II : New Fibonacci
- Project Euler: Problem 2, Sum of even Fibonacci
- Project Euler: Problem 6, Natural numbers, squares and sums.
- Find the stride of the longest skip sequence
- Sum the Infinite Series
- Return the Fibonacci Sequence
- Sum of first n terms of a harmonic progression
- "Look and say" sequence
- Is X a Fibonacci Matrix?
- Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
- Golomb's self-describing sequence (based on Euler 341)
- Alternating sum
- Integer sequence - 2 : Kolakoski sequence
- Integer Sequence - II : New Fibonacci
Problem Recent Solvers567
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!