KatInterview

Eight Number Puzzles: Spot the Rule, Predict the Next Value

Math & Bit ManipulationModel answer
MediumModel answerMath & Bit Manipulationsequencespattern-recognitionrecurrence-relations

Last updated

Work out the hidden rule behind eight short numeric and fractional sequences, state the next term for each, and justify it against every given term.

Each of the eight sequences below follows a single hidden rule. For each one, identify the rule, give the next term, and explain why the rule fits every term shown.

  1. 12, 28, 36, 84, 88, 168, ?
  2. 4/3, 1, 5, 8, 23, 47, ?
  3. 3, 1, 2, 6, 12, 144, ?
  4. 1/5, 2/3, 3/11, 3/6, 5/17, 4/9, ?
  5. 7, 14, 24, 6, 12, 22, ?
  6. 19, 18, 20, 60, 15, 14, 16, ?
  7. 4, 2, 6, 6, 30, 150, ?
  8. 1, 3, 7, 17, 41, 99, ?

What a strong answer includes

  • A clear statement of the rule for each sequence, checked against all given terms rather than just the first few.
  • The final value for each.
  • For any sequence where more than one rule is plausible, a note on the ambiguity and why you prefer your choice.
  • A short description of the general search strategy you used, since you will not know the rule in advance.

Hints

Hint 1

Compute first differences and ratios, then check whether odd-position and even-position terms (or steps) behave like two separate sequences. Do not simplify fractions before looking for structure.

Hint 2

If the simple tools fail, try a recurrence that builds each term from the previous two or three: a linear combination such as a(n-1) + k*a(n-2), a product of earlier terms, or a(n-1) times something depending on a(n-2). Strange-looking seeds like 4/3 often exist to make such a rule come out cleanly.

Hint 3

Look for repeating operation cycles (for example four different operations applied in turn) and for blocks of three terms that repeat the same internal steps with a reset in between. Always verify the rule on every given term before committing.