Colourful LEGO bricks arranged in repeating patterns
Neuro-Focus

Before algebra: how brick patterns train the visual cortex for mathematical thinking

Pattern recognition isn't a decorative skill. It's the cognitive engine behind arithmetic, music, language, and code — and four-year-olds can start building it with two colours of bricks.

5 min read·23 March 2026

Mathematics, at its core, is the study of patterns — their structure, their rules, and their exceptions. Long before a child can count to twenty or add single digits, they can recognise, complete, and extend a pattern. That capacity is not decorative. It is foundational.

Brick play is one of the cleanest pattern-training tools available to a preschooler, because bricks have discrete, visible properties — colour, shape, size — that can be arranged into sequences and rules with no ambiguity.


What pattern recognition actually is

When developmental researchers talk about pattern recognition in young children, they mean something specific: the ability to identify the core unit of a repeating sequence and use it to predict what comes next.

A row of red-blue-red-blue bricks presents a two-element AB pattern. A child who can extend this sequence correctly has done something cognitively non-trivial: they've abstracted the rule (alternating) from the specific instances (these particular bricks), and applied it forward.

This abstraction process — pulling a rule from examples — is the same cognitive operation used in:

  • Arithmetic: recognising that 2+3 and 3+2 follow the same rule
  • Reading: understanding that letter patterns create sound patterns
  • Programming: seeing that a loop is an abstraction of repeated actions

"Children who demonstrate strong patterning ability at age 4–5 show significantly higher mathematical achievement at age 7–8, even when controlling for general cognitive ability." — Rittle-Johnson et al., Journal of Experimental Child Psychology

Building from AB to more complex patterns

Pattern work with bricks follows a natural developmental progression:

AB patterns (ages 3–4): Alternating two elements. Red-blue-red-blue. Tall-short-tall-short. These are within reach for most three-year-olds once demonstrated.

AAB / ABB patterns (ages 4–5): Three-element cores with repetition. Red-red-blue-red-red-blue, or red-blue-blue-red-blue-blue. The child must track position within the core, not just alternation.

ABC patterns (ages 5–6): Three distinct elements in rotation. More working memory load — the child must hold three positions simultaneously.

Symmetry (ages 4–6): Not a sequence but a spatial rule: this side mirrors that side. Bilateral symmetry appears naturally in children's builds around age four and is worth naming explicitly when you see it.

Translating bricks to transfer

The research on pattern training only shows lasting effect when children can transfer — recognise that a red-blue-red-blue sequence and a circle-square-circle-square sequence obey the same rule expressed through different elements.

You can test and practise this directly:

Abstract the pattern. After building a red-blue-red-blue row, ask: "What's the rule?" Not "What colour comes next?" — but what the rule is. Some children will say "they keep swapping." That's the abstraction.

Copy the pattern in a different material. Reproduce the same AB pattern using stickers, fruit, claps, or steps. Does the child recognise it as "the same pattern" even when the elements change? If yes, transfer is happening.

Break the pattern deliberately. Add a wrong brick and ask: "Is something wrong here?" The child who spots it has an implicit model of the rule.


Pattern recognition is one of the few mathematical capacities that is genuinely trainable before formal schooling begins. The child who arrives at Year 1 with a strong intuitive understanding of sequence and rule has a significant foundation — one built in fifteen minutes a day, on the floor, with a pile of bricks.