Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Competitions › SOF ICSO › unit 5 of 16

Series and patterns

SOF ICSO · Logical Reasoning · about 6 minutes

Computer olympiads use the same reasoning puzzles as maths ones: find the rule, apply it once more.

Reveal the gaps, then the answer.

In this lesson

  1. Find the rule
  2. Letters and codes
  3. Check before answering
  4. Worked examples
  5. Where marks are lost
  6. Check yourself

1Find the rule

Write the differences between terms. Equal differences mean adding; growing differences may mean squares, or a ×2 rule.

Check alternate terms for two series woven together.

2Letters and codes

Number the letters A = 1 to Z = 26 and look at the gaps. In coding questions, see how each letter moved: CAT → DBU moves each letter on by 1.

Reverse positions (A ↔ Z, B ↔ Y) add up to 27.

3Check before answering

Test your rule on every term given, not just the first two.

If two rules fit, the one that fits all terms with the simplest step is the intended one.

Worked examples

  1. Example 1Next term: 1, 4, 9, 16, 25, …

    1. These are 1², 2², 3², 4², 5².

    Answer: 36

  2. Example 2If GOOD is coded TLLW, how is BAD coded?

    1. G (7) → T (20), O (15) → L (12): each pair adds to 27.
    2. B (2) → 25 = Y, A (1) → 26 = Z, D (4) → 23 = W.

    Answer: YZW

See it move

Where marks are lost

  • Testing only the first two terms.
  • Miscounting letter positions.
  • Missing the reverse-alphabet code.

Exam tips

  • Check differences, then ratios.
  • Letters can be series too: A, C, E, G (skip one).
  • Map letters to numbers: A = 1, B = 2, …

Practice questions

  1. Next letter: A, D, G, J, …

  2. Next: 1, 4, 9, 16, …

  3. Next: 5, 10, 20, 40, …

More worked examples

Try each one first, then open the working.

  1. Figures 1, 2 and 3 of a matchstick pattern are shown. How many matchsticks are in figure 18?

    Figure 1Figure 2Figure 3
    Show the working

    Start: How many sticks are added each time?

    The figures use 3, 5, 7, …: add 2 each time. Figure n uses 2n + 1, so figure 18 uses 37.

    Answer: 37

  2. Asha saves ₹400 in the first month and ₹50 more each month than the month before. After how many months will her total savings be ₹21850?

    Show the working

    Start: Use Sₙ = n/2 (2a + (n − 1)d) and solve for n.

    Sₙ = n/2 [2 × 400 + (n − 1)50] = 21850 gives n = 23.

    Answer: 23 months

  3. What number is hidden at “?” in Pascal’s triangle?

    1111211331146411510?51
    Show the working

    Start: Add the two numbers just above.

    Each number is the sum of the two above it. It is C(5, 3) = 10.

    Answer: 10

  4. Which figure in this pattern uses exactly 166 matchsticks?

    Figure 1Figure 2Figure 3
    Show the working

    Start: Write the rule for figure n, then solve.

    Figure n uses 5n + 1. 5n + 1 = 166 gives n = 33.

    Answer: 33

Practise more

New questions every time, at exam level

Which figure in this pattern uses exactly 181 matchsticks?

Figure 1Figure 2Figure 3

Sit a timed SOF ICSO mock test

Sorting algorithmsNext: Directions