Shopify · Probability & Brainteasers
Infer and justify non-trivial sequence patterns
TrueInterview
October 7, 2026 · 2 min read
Determine the underlying rule and give the missing terms; explain each in one or two sentences: a) 2, 3, 5, 9, 17, 33, ?; b) 1, 4, 2, 8, 4, 16, 8, 32, ?, ?; c) 1, 3, 7, 15, 31, ?; d) Complete the ? in the 3×3 grid where every row obeys the same rule: [[7, 4, 11], [5, 9, 14], [?, 13, 18]].
Overview: The problem tests mathematical reasoning, sequence inference, and pattern recognition by requiring the solver to find the governing rules and justify the missing terms in several numeric sequences and a small grid.
Solution General strategy: Look for (1) constant or patterned differences, (2) multiplicative/alternating operations, (3) powers/exponential forms, and (4) simple row-wise arithmetic relationships. Prefer the simplest rule that fits all given terms.
- (a) Rule: First differences double: , , , , . Next difference is 32, so next term = . Justification: The differences follow 1, 2, 4, 8, 16 (powers of two); equivalently .
- (b) Rule: Alternating operations: ×4 then ÷2 (1 → 4 → 2 → 8 → 4 → 16 → 8 → 32 →...). Next two: , then . Justification: The pattern strictly alternates between multiplying by 4 and halving.
- (c) Rule: Each term is previous ×2 + 1; equivalently the sequence is (). Next: . Justification: 1, 3, 7, 15, 31 match , , , , .
- (d) Rule (row-wise): Third entry = first + second. Check: ; ; so . Justification: The same row rule holds across all rows, yielding the missing value 5.
Validation and notes:
- Each proposed rule is consistent with all provided terms and yields a unique next value. While many rules can fit short sequences, the simplest consistent pattern is typically intended in interview settings.
Community answers Answer by yogyaburra a) 65 (, starting from ) b) 16, 64 (odd terms = , even terms = ) c) 63 (, starting from ) d) 5 ( in )