Notes
All notes

Number Series and Coding-Decoding (Aptitude #12)

Series and coding questions test pattern recognition, not calculation. The trick is to check the differences, then the ratios, then squares/cubes, in that order. This post covers every common series and coding type with worked examples.

Number series

The order to check patterns:

  1. Constant difference (AP) or constant ratio (GP).
  2. Difference of differences (second-order).
  3. Squares, cubes, or their combinations.
  4. Alternating series (two interleaved).
  5. Products, factorials, primes.

Variation 1 — arithmetic progression

Q. 3, 7, 11, 15, ? Solution. Difference \(= 4\). Next \(= 19\).

Variation 2 — geometric progression

Q. 2, 6, 18, 54, ? Solution. Ratio \(= 3\). Next \(= 162\).

Variation 3 — second-order differences

Q. 2, 5, 10, 17, 26, ? Solution. Differences \(3, 5, 7, 9\) (increase by 2). Next difference 11 → \(26 + 11 = 37\). (These are \(n^2 + 1\).)

Variation 4 — squares and cubes

Q. 1, 4, 9, 16, 25, ? Solution. Perfect squares: \(6^2 = 36\).

Q. 1, 8, 27, 64, ? Solution. Cubes: \(5^3 = 125\).

Variation 5 — combination (square ± constant)

Q. 2, 3, 10, 15, 26, 35, ? Solution. These are \(1^2+1, 2^2-1, 3^2+1, 4^2-1, \dots\) So \(7^2 - 1 = 48\).

Variation 6 — alternating series

Q. 4, 9, 6, 11, 8, 13, ? Solution. Two interleaved APs: 4,6,8,? (add 2) and 9,11,13 (add 2). Next in the first: 10.

Variation 7 — prime numbers

Q. 2, 3, 5, 7, 11, ? Solution. Primes: 13.

Variation 8 — product / factorial

Q. 1, 2, 6, 24, 120, ? Solution. Factorials: \(6! = 720\).

Letter series

Fix the alphabet positions: A=1, B=2, …, Z=26. Gaps and shifts drive letter series.

Variation 9 — constant gap

Q. A, C, F, J, O, ? Solution. Gaps: \(+2, +3, +4, +5\) → next \(+6\). O (15) + 6 = U (21).

Variation 10 — reverse alphabet / pairs

Q. Z, X, V, T, ? Solution. Gap \(-2\) each time: R.

Variation 11 — mixed letter-number

Q. A1, C3, F6, J10, ? Solution. Letters: A, C, F, J (+2, +3, +4) → +5 = O. Numbers: 1, 3, 6, 10 (+2, +3, +4) → +5 = 15. Answer: O15.

\begin{tikzpicture}[font=\rmfamily, >=stealth,
  c/.style={draw, thick, minimum size=0.62cm, font=\small\bfseries}]
  \foreach \v [count=\i from 1] in {A,B,C,D,E,F,G,H} { \node[c, fill=blue!8] at (\i*0.72,0) {\v}; \node[font=\scriptsize\ttfamily] at (\i*0.72,-0.55) {\i}; }
  \node[font=\rmfamily\small, text=black!60, anchor=north] at (3.2,-1.0) {A=1 ... H=8; fix positions to see the gaps};
\end{tikzpicture}

Coding-Decoding

A code replaces letters/words by a rule. Identify the rule from the example, then apply it.

Variation 12 — letter shift

Q. If CAT is coded as DBU, how is DOG coded? Solution. Each letter shifts \(+1\): D→E, O→P, G→H → EPH.

Variation 13 — reverse and shift

Q. If MOTHER is coded as RETHOM, how is FATHER coded? Solution. The letters are reversed. FATHER → REHTAF.

Variation 14 — number-letter position

Q. If GOOD is coded as 7-15-15-4, how is BEST coded? Solution. Each letter becomes its alphabet position: B=2, E=5, S=19, T=20 → 2-5-19-20.

Variation 15 — symbol substitution

Q. In a code, $ means +, + means -, - means ×, × means ÷. Find the value of \(15 + 5 - 3 × 6\). Solution. Substitute: \(15 - 5 \times 3 \div 6\). By BODMAS: \(15 - 2.5 = 12.5\).

Variation 16 — conditional letter coding

Q. Vowels are coded as the next letter and consonants as the previous. Code “APPLE”. Solution. A (vowel) → B; P (consonant) → O; P → O; L → K; E (vowel) → F. Result: BOOKF.

Variation 17 — word rearrangement

Q. If “MONKEY” is written as “YENKOM” by reversing, and “12345” as “54321”, what is the rule for “STONE” → ? Solution. Reverse: ENOTS.

Shortcuts worth memorising

Practice

QQuestionFind the next term: 5, 11, 23, 47, ?

[!solution] Differences \(6, 12, 24\) double → next \(+48\): 95. (Rule: \(\times 2 + 1\).)

QQuestionFind the next letter: B, D, H, P, ?

[!solution] Gaps \(+2, +4, +8\) double → next \(+16\). P (16) + 16 = 32 → wrap to F (32−26=6). F.

QQuestionIf “PEN” is coded as “RGP”, code “INK”.

[!solution] Each letter \(+2\): I→K, N→P, K→M → KPM.

QQuestionIf 3 # 4 = 25 and 5 # 6 = 61, find 7 # 8 (where # is a rule).

[!solution] \(3^2 + 4^2 = 9 + 16 = 25\); \(5^2 + 6^2 = 61\). So \(7^2 + 8^2 = 49 + 64 = **113\)**.

Pitfalls

QQuestionSelf-check

In what order should you test number-series patterns? How do you code a letter a fixed number of steps forward?

ASolution

Differences, then ratios, then squares/cubes, then alternation/products. To shift a letter forward by \(k\), add \(k\) to its position; if it exceeds 26, subtract 26 to wrap around.

Next: Blood Relations and Direction Sense (Aptitude #13) — family trees and headings.