Qm

1, 3, 4, 7, 11, 18, what next?

Find the next term of

1, 3, 4, 7, 11, 18, ?

Then explain how this sequence is related to the Fibonacci numbers 1, 1, 2, 3, 5, 8, 13, ..., say how fast it grows, and find a surprising exact connection between the two sequences.

Show a hint

Add each pair of neighbours.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Binary strings with no two 1s in a row1, 1, 2, 5, 14, 42, what next?Climbing ten steps one or two at a time8, 5, 4, 9, 1, 7, 6, 3, 2, 0: what is the ordering?A hundred empty glasses and the dregs
All questions →