A playable guide to maths thinking

Maths is the science of patterns.

See 2, 4, 6, 8… and your brain whispers “+2.” But there's a bigger move: catching the one rule that names every term at once. That move — from a few examples to a rule for all of them — is the heart of algebra.

Start spotting
The whole idea

A pattern is a promise about what comes next.

When you look at 2, 4, 6, 8 and feel certain the next number is 10, you've done something amazing: you've spotted a rule hiding inside a handful of examples — and trusted it to keep working forever.

That little leap is what mathematicians do all day. We call it generalising: going from a few specific cases (“here are four numbers”) to one universal statement that covers them all (“the rule is, double the position”). A pattern isn't really the list of numbers — it's the rule that makes the list. Find the rule and you own the whole infinite sequence, not just the bit you can see.

People sometimes say maths is the science of patterns, and that's not a poetic exaggeration. A scientist watches the world, collects a few examples, and asks: what rule is producing these? A mathematician does the same with numbers and shapes. The skill you're about to practise — look, extend, name the rule — is the exact thinking behind everything from times tables to the equations that fly rockets. It all starts with refusing to be satisfied by “the next number is 10” and asking instead, “but what's the rule for any number?”

And here's the quiet magic of this page. Once you can write a pattern's rule in a single short phrase like “the nth term is 2n,” you've taken your first real step into algebra — the branch of maths where letters stand in for “any number you like.” You won't need a single hard equation to get there. You just need to look, extend, and notice. Let's go.

Try it · 01

Extend the pattern — and watch the rule appear.

Here's a growing pattern made of dots. Each new term (one step of the pattern) is a little block of 2 rows. Press Add the next term and keep going. Watch two things at once: the dots stacking up, and the numbers underneath. Somewhere around the third or fourth term, you'll notice the rule reveal itself.

add terms →
Position (n)
1
Dots in this term
2
= 2 rows of
1
Each term is 2 rows. Add a few and see how many dots land in each one…
1

Term 1 has 2 dots, term 2 has 4, term 3 has 6… Because every block is 2 rows of n, the term in position n always holds 2 × n dots. So the rule — the nth term — is 2n. The little orange block is the one you just added.

Stop and feel how big that is. You didn't just guess the next number — you found a machine. Tell the machine a position (say, 50) and it hands you that term instantly: 2 × 50 = 100. You never had to count 50 blocks of dots. That's the whole point of a rule: it lets you skip ahead to any term you want, even ones too far away to draw.

And notice why the rule has to keep working forever, not just for the terms you drew. Every block is built the same way — two rows, with as many dots in each row as the term's position. There's no special term where that suddenly changes. Because the building method is the same every time, the rule 2n must hold every time. That's the difference between a lucky guess and a real generalisation: you can point to the reason it can't break.

Try it · 02

Two kinds of rule — and why one is far stronger.

There are two ways to describe 2, 4, 6, 8… and the difference is the most important idea on this page. A term-to-term rule tells you how to get from one term to the next one: here, “add 2.” A position-to-position rule (also called the nth term) tells you a term straight from its position: here, “double the position,” 2n. Pick a far-off position below and race the two rules to it.

10
Choose a position, then try each rule.
Add 2 (term-to-term)
Use 2n (position rule)
Both rules reach the same number. But notice how much work each one takes.

“Add 2” is true — but to reach term 50 you'd add 2 forty-nine separate times. The rule 2n jumps straight there in one multiply. Both are real patterns; only the position rule lets you leap.

This is exactly why generalising matters. “Add 2” keeps you walking the sequence one step at a time, forever tied to the term before. The rule 2n cuts the rope: every term stands on its own position, ready whenever you ask. When teachers say “find the nth term,” this is what they're really asking for — the rule that doesn't need the previous answer.

The recipe · 03

How to find the nth term, in three looks.

Most patterns you'll meet in school are linear — they go up (or down) by the same amount each step, like a staircase with even steps. Every linear rule has the same shape: an + b, which just means “multiply the position by some number a, then add some number b.” Here's the friendly way to crack one, no algebra required.

nth term  =  a × n  +  ba = the steady gap between terms · b = a small adjustment to line things up

Look 1 — find the gap. See how much the sequence jumps each step. For 5, 8, 11, 14 the gap is 3. That gap is your a, so the rule starts with 3n.

Look 2 — test the bare rule. Try 3n on its own: for n = 1 it gives 3, but your sequence starts at 5. So 3n is always 2 short.

Look 3 — adjust. Add whatever fixes the gap: here, +2. The rule is 3n + 2. Check it: position 1 → 3 + 2 = 5. Position 4 → 12 + 2 = 14. It works for every term you can see, so you trust it for the ones you can't.

The gap tells you what to multiply by. A quick check tells you what to add. That's nearly every linear pattern, cracked.

The recipe works going down too. Take 20, 17, 14, 11. The gap is −3 (you subtract 3 each step), so the rule contains −3n. Test it: at n = 1, −3n gives −3, but the sequence starts at 20 — that's 23 too low. So add 23, and the rule is −3n + 23. Check position 4: −12 + 23 = 11. A downhill staircase is just an uphill one with a negative gap; the method never changes.

One gentle warning that we'll come back to: the gap is not the whole rule. A gap of 3 means the rule contains 3n — but you almost always need the little “+ b” adjustment too. Forgetting it is the single most common slip, so the next demo lets you feel both pieces moving.

Try it · 04

Build the rule yourself.

Pick a sequence, then dial in your rule with the two sliders: the multiplier a and the adjuster b. Each cell turns green when your rule's term matches the real one, and red when it doesn't. Get all five green and you've found the nth term.

The real sequence
Your rule says
a × n + b
1
0
Set the sliders so every cell turns green.

Tip from the recipe: set a to the gap between terms first, then nudge b until position 1 lines up. Once it's all green, read off the rule — and notice it instantly predicts term 100, far past anything shown.

Play with a few sequences and a habit forms. The gap fixes the multiplier; the start fixes the adjuster. “Even numbers” give 2n, “odd numbers” give 2n − 1, the three-times table gives 3n. Same recipe, different dials — which is exactly what makes a single method feel powerful.

Try it · 05

Patterns you can build out of shapes.

Patterns aren't only numbers — they grow as shapes too, and the same rule-finding works. Here's a row of squares made from matchsticks, where neighbouring squares share a side. Press Add a square and watch the matchstick count. Can you feel where the rule comes from before the numbers tell you?

add squares →
Squares (n)
1
Matchsticks used
4
The rule
3n + 1
The very first upright (the teal one) is the “+ 1.” Each new square adds 3 orange sticks.
1

Here's the trick the colours reveal: every square contributes a top, a bottom, and a right side — that's 3 per square, the 3n. But the whole row needs one extra upright on the very left to close the first square — that's the lonely + 1. So the nth term is 3n + 1.

Notice what just happened: the algebra came from the picture. The “3n” is the three repeated sides; the “+ 1” is the one-off starter. When you can point to where each piece of a rule lives in the shape, you're not memorising a formula — you're understanding it. That's the difference generalising makes.

Here's something lovely: there's more than one correct way to see the same rule. You could instead count 4 sticks for the first square, then 3 for each extra one — that's 4 + 3(n − 1), which tidies up to exactly 3n + 1. Different eyes, different picture, same rule. Two people can describe a pattern in words that look nothing alike and still be saying the same true thing — and checking that they match is itself a neat little taste of algebra.

Try it · 06

Spot the rule.

Time to trust your eye. For each sequence below, pick the rule — the nth term — that makes it. Use the recipe: find the gap, then check position 1. There's an explanation after every answer, so a wrong guess is just a faster way to learn.

Read the sequence, then choose its rule.
Score
0 / 0

Every rule here is linear: gap × n, then a small adjustment. If the gap is 3, the rule contains 3n — but always double-check what to add or subtract.

Going further · 07

When the steps aren't even.

So far every pattern has climbed by the same gap each step — a straight staircase. But some patterns speed up as they go, and the very same habit (look, extend, name the rule) still cracks them. You just have to notice that the gaps themselves form a pattern.

Take the square numbers: 1, 4, 9, 16, 25. The gaps are 3, 5, 7, 9 — not steady, but growing by 2 each time. The clue is in the name: each one is a number times itself (1×1, 2×2, 3×3, 4×4), so the nth term is n × n, written . You can even see it — term 3 really is a 3-by-3 square of dots. Picture beats formula again.

Or the triangular numbers: 1, 3, 6, 10, 15 — the dots you'd use to build bigger and bigger triangles (or stack bowling pins). Each term adds one more row than the last, so the gaps go 2, 3, 4, 5. These don't follow a simple gap-times-n rule, and that's fine: the lesson isn't “every rule is an + b.” The lesson is that a pattern always has a rule, and your job is to hunt for it — sometimes in the numbers, sometimes in the gaps, sometimes in a picture. Linear staircases are simply the friendliest place to start.

If the terms don't climb evenly, look at the gaps. A pattern in the gaps is still a pattern.

Don't be fooled · 08

Three traps when you generalise.

Pattern-spotting feels easy, which is exactly why it's easy to slip. Here are the three mix-ups that catch nearly everyone — and how to dodge them.

Trap 1 — the famous one
The rule for 2, 4, 6, 8 is just “add 2.”
Only half a rule

“Add 2” is a real term-to-term rule, but it can't tell you the 100th term without grinding through all 99 before it. The position rule, 2n, can. When a question asks for the nth term, it wants the position rule — the one that jumps straight to any term. “Add 2” describes the steps; “2n” describes the staircase.

Trap 2 — forgetting the adjuster
The numbers go up by 3, so the rule is just 3n.
Check position 1

The gap does give you the multiplier — but rarely the whole rule. For 5, 8, 11, 14 the gap is 3, yet plain 3n gives 3, 6, 9, 12 — every term is 2 too small. You still need the “+ b” adjustment (here +2, so 3n + 2). Always test your bare rule at position 1 and patch the difference.

Trap 3 — too few examples
It starts 2, 4, 8… so it must be doubling.
A pattern needs proof, not vibes

Three terms can fit many rules — 2, 4, 8 could be “double each time” (→ 16) or could be 2, 4, 8, 14, 22 (adding 2, 4, 6…). A few examples can suggest a rule, but until you find a reason it should keep working, it's a guess. Real generalising means finding the rule that must hold, not just one that happens to fit so far.

Patterns everywhere · 09

Once you see rules, you can't unsee them.

Generalising isn't a school trick — it's how we describe a world that loves to repeat. Each card below is a real pattern with its own nth term quietly running underneath.

🎭

Theatre seats

Row 1 has 12 seats, each row adds 2. Row n holds 2n + 10 — so row 30 has 70, no counting needed.

💰

Saving up

Start with $5, add $3 a week. After n weeks you have 3n + 5 dollars. Week 20? That's $65.

🧱

Tiling a path

Each new paving slab adds the same border tiles. The count grows by a fixed gap — a linear rule.

📅

Calendars

Same weekday lands 7 days apart: 7n. Spot it and you can find any future Monday instantly.

🐝

Honeycomb

Bees build hexagon rings that grow by a steady step — a pattern you can write as a rule.

🎵

Music

A beat repeats every few counts. Bar n starts on a beat you can predict — rhythm is a rule.

In every one of these, the win is the same: instead of listing forever, you capture the whole thing in one short rule. That's why algebra — letters standing for “any position” — is so useful. It's the language we invented precisely so we could say “for every n” in a single breath.

And this is only the beginning of the story. The moment you write a rule like 2n or 3n + 1, that little n stops being a position number and becomes a variable — a letter that can stand for anything. Later you'll learn to combine these rules, rearrange them, and solve for the n that makes something true (“which seat row holds exactly 50 people?”). Every bit of that grows from the single move you practised today: looking at a few examples and daring to write down the rule behind all of them.

Carry this with you

Generalising, in three moves.

1

Spot

Look at the examples and find the steady gap between terms.

2

Write

Turn the gap into a position rule: an + b, the nth term.

3

Trust

Check it on the terms you can see, then use it for the ones you can't.