Skip to content

Number and shape patternsGo deeperabout 60 min

Why patterns work: rules, algebra and proof

nth terms, equivalent expressions, picture proofs, Pingala’s rhythms, Meru Prastara and patterns that break

Turn rules into algebra and prove them: why the step becomes the coefficient of n, why odd numbers make squares, sums of powers and cubes, the Indian discovery of the Fibonacci numbers and Meru Prastara, why digit patterns stop, and why patterns that look certain can break.

Start at chapter 1

In this part you’ll

  • Write and check nth-term formulas for arithmetic and geometric sequences, and decide whether a number is a term.
  • Explain why the common difference becomes the coefficient of n, and show that different counting pictures give equivalent expressions.
  • Use differences to tell linear, quadratic and exponential sequences apart, and prove classic sums with pictures and pairing.
  • Explain the Indian origins of the Fibonacci numbers and Meru Prastara and find patterns inside the triangle.
  • Give examples of patterns that break and explain why proof matters.

So far you have found rules, tested them and used them. This layer asks the deeper question: why do the rules work, and how can we be sure?

You will turn rules in words into algebra, the language that lets one short line describe infinitely many cases. You will prove that the step of an arithmetic sequence always becomes the number in front of n, that the odd numbers really do add up to squares for ever, and that 1 + 2 + … + n is always n(n + 1) ÷ 2. You will meet the Indian poets and scholars who counted rhythms and discovered the “Fibonacci” numbers and the “Pascal” triangle centuries before the Europeans whose names they carry. And you will meet patterns that look perfect and then break, which is exactly why proof matters.

Chapter 01

From words to algebra: the nth term

In earlier layers we wrote rules like “multiply the position by 3 and add 1”. Mathematicians shorten this with a variable, a letter that stands for any number. With n for the position, the rule becomes 3 × n + 1, often written even more briefly as 3n + 1 (a number written right in front of a letter means multiply).

A rule like 3n + 1 is an expression. When we say that the term T in position n is given by it, we write a formula: Tₙ = 3n + 1 (say “T sub n equals three n plus one”). The number multiplying n (here 3) is the coefficient; the number added on its own (here 1) is the constant.

This small step, using a letter for “any number”, is the beginning of algebra. It lets one line say something about infinitely many cases at once: Tₙ = 3n + 1 describes the 1st, the 10th, the 1,000th and the millionth picture of matchstick squares.

Tₙ = a + (n − 1) × d
Any arithmetic sequence: first term a, common difference d, n − 1 jumps.
Tₙ = d × n + (a − d)
The same formula tidied: the step d is the coefficient of n; a − d is the constant.
Tₙ = a × rⁿ⁻¹
Any geometric sequence: first term a, common ratio r, n − 1 multiplications.
Tₙ = n²
Square numbers.
Tₙ = n(n + 1) ÷ 2
Triangular numbers.
Fₙ = Fₙ₋₁ + Fₙ₋₂
Fibonacci: each term is built from the two before (a term-to-term rule).

Worked example

0 / 4 steps shown

Find and check an nth-term formula

Find the nth term of 7, 11, 15, 19, …, check it, and find the 250th term.

Need a different angle?
Tablenth-term formulas for some arithmetic sequences (each checked for n = 1 to 20)
SequenceadTₙT₁₀₀
4, 7, 10, 13, …433 × n + 1301
3, 5, 7, 9, …322 × n + 1201
6, 11, 16, 21, …655 × n + 1501
5, 10, 15, 20, …555 × n500
2, 9, 16, 23, …277 × n − 5695
50, 47, 44, 41, …50−3−3 × n + 53−247
−4, 2, 8, 14, …−466 × n − 10590
1.5, 2, 2.5, 3, …1.50.50.5 × n + 151

Chapter 02

Why the step becomes the multiplier

Here is the reason, once and for all, why an arithmetic sequence with step d always has a formula starting d × n.

Imagine the d times table: d, 2d, 3d, 4d, … Its nth term is d × n, and it goes up by d each time.

Your sequence also goes up by d each time. So your sequence and the d times table move in step: whatever the gap between them is at position 1, it stays exactly the same at every position. That gap is a − d (your first term minus the first term of the times table).

So Tₙ = (d times table) + (fixed gap) = d × n + (a − d).

For the matchstick squares, the 3 times table is 3, 6, 9, 12 and the sticks are 4, 7, 10, 13: always 1 more. So the rule is 3n + 1. For 50, 47, 44, 41, … (step −3), compare with −3, −6, −9, −12: the gap is always 53, so Tₙ = −3n + 53, better written 53 − 3n.

Worked example

0 / 4 steps shown

Is a number in the sequence?

Is 500 a term of 7, 11, 15, 19, …? Is 503? What about −1 in 50, 47, 44, …?

Lab

Find the nth-term formula of arithmetic sequences, including decreasing, negative and fractional ones.

Round 1 / 24★ 0 ptsBest: 0

Puzzle 1 of 8 · step 1 of 3 Number pattern

7111519?

What comes next?

Text version of this activity

Eight arithmetic sequences. After predicting the next terms, you choose the nth-term formula from four options; the wrong options are the classic slips (using the first term as the constant, or the wrong coefficient).

  1. 7, 11, 15, 19, … next 23; Tₙ = 4 × n + 3.
  2. 50, 47, 44, 41, … next 38, 35; Tₙ = −3 × n + 53.
  3. −4, 2, 8, 14, … next 20, 26; Tₙ = 6 × n − 10.
  4. 1.5, 2, 2.5, 3, … next 3.5, 4; Tₙ = 0.5 × n + 1.
  5. 2, 9, 16, 23, … next 30, 37; Tₙ = 7 × n − 5.
  6. 100, 88, 76, 64, … next 52, 40, 28; Tₙ = −12 × n + 112.
  7. 11, 22, 33, 44, … next 55; Tₙ = 11 × n.
  8. −10, −15, −20, −25, … next −30, −35; Tₙ = −5 × n − 5.

Method: the step is the coefficient of n. Then choose the constant so that n = 1 gives the first term.

Need a different angle?

Chapter 03

Same pattern, different pictures

Different people see the same matchstick pattern in different ways, and each way gives a different-looking formula. Here are three ways to count n squares in a row:

How you see it Counting Formula
One stick, then 3 more per square 1 + 3 + 3 + … 1 + 3n
First square whole (4), then 3 per extra square 4 + 3 + 3 + … 4 + 3(n − 1)
Horizontal sticks and vertical sticks n on top, n on the bottom, n + 1 upright 2n + (n + 1)
All squares separate, minus the shared sides 4 per square, minus n − 1 shared 4n − (n − 1)

All four formulas must give the same numbers, because they count the same sticks. And algebra agrees:

  • 4 + 3(n − 1) = 4 + 3n − 3 = 3n + 1
  • 2n + (n + 1) = 3n + 1
  • 4n − (n − 1) = 4n − n + 1 = 3n + 1

Expressions that give the same value for every n are called equivalent expressions. Showing that two different pictures lead to equivalent expressions is a small proof that both ways of seeing are right.

Worked example

0 / 3 steps shown

Two ways to see the hexagon chain

Show that “6 sticks for the first hexagon, then 5 for each one after” and “6 per hexagon minus the shared sides” both give 5n + 1.

Lab

Show that different ways of counting a pattern lead to equivalent expressions.

Match each way of counting to its simplest equivalent expression.

8 pairs are hiding in two mixed-up columns. Pick one from each side to join them.

Text version of this activity

Eight pairs of equivalent expressions to connect.

  • 4 + 3(n − 1) ↔ 3n + 1 (matchstick squares: first square, then 3 per extra square).
  • 3 + 2(n − 1) ↔ 2n + 1 (matchstick triangles).
  • 6n − (n − 1) ↔ 5n + 1 (hexagons: separate hexagons minus shared sides).
  • n + (n − 1) ↔ 2n − 1 (an L-shape: one arm of n tiles and one of n − 1).
  • 7 + 4(n − 1) ↔ 4n + 3.
  • 50 − 3(n − 1) ↔ 53 − 3n (a decreasing sequence).
  • n(n + 1) ÷ 2 + (n + 1)(n + 2) ÷ 2 ↔ (n + 1)² (two neighbouring triangular numbers make a square).
  • n² − (n − 1)² ↔ 2n − 1 (the gap between neighbouring squares).

To check a pair, put n = 1, 2 and 3 into both sides, then expand the brackets to be sure.

Chapter 04

Powers and geometric growth

A geometric sequence multiplies by the same number each time, so its terms are powers. We write 2 × 2 × 2 × 2 × 2 as 2⁵ (“2 to the power 5”); the small 5 is the index or exponent and counts how many 2s are multiplied.

  • Powers of 2: 2⁰ = 1, 2¹ = 2, 2² = 4, … 2¹⁰ = 1,024 (about a thousand; that is why computers say “kilo” for 1,024 bytes).
  • Powers of 10: 10⁰ = 1, 10¹ = 10, 10² = 100, 10³ = 1,000, … 10⁵ = 1,00,000 (one lakh), 10⁷ = 1,00,00,000 (one crore).
  • Powers of 3: 1, 3, 9, 27, 81, 243, 729, …

For a geometric sequence starting at a with ratio r, the first term has had no multiplications, the second one, the third two, so the nth term is a × rⁿ⁻¹. That is why 3, 6, 12, 24, … has 10th term 3 × 2⁹ = 3 × 512 = 1,536.

Because 2¹⁰ ≈ 1,000, powers of 2 grow by roughly a factor of 1,000 every 10 steps: 2²⁰ ≈ 10 lakh (actually 1,048,576), and 2³⁰ ≈ 100 crore (actually 1,073,741,824).

Worked example

0 / 6 steps shown

The doubling-sum trick

Find 1 + 2 + 4 + 8 + … + 512 without adding term by term, and explain why the sum of powers of 2 is always one less than the next power.

Chapter 05

Squares, triangles and sums: proofs with pictures

For square numbers the first differences are not constant, but the second differences (the differences of the differences) are:

n 1 2 3 4 5 6
1 4 9 16 25 36
1st difference 3 5 7 9 11
2nd difference 2 2 2 2

A constant first difference means a linear formula (like 3n + 1). A constant second difference means the formula has an in it: it is quadratic. For triangular numbers the second difference is 1, and indeed n(n + 1) ÷ 2 = (n² + n) ÷ 2 has n² in it. A constant ratio means an exponential (geometric) formula like 2ⁿ.

This gives you a checklist for any sequence: constant 1st difference → linear; constant 2nd difference → quadratic; constant ratio → exponential; each term the sum of the two before → Fibonacci-type.

Proof: 1 + 2 + … + n = n(n + 1) ÷ 2

  1. Step 01Name the sum

    S = 1 + 2 + 3 + … + (n − 1) + n.

  2. Step 02Write it backwards

    S = n + (n − 1) + … + 3 + 2 + 1.

  3. Step 03Add the two lines column by column

    Each column adds to n + 1: 1 + n, 2 + (n − 1), 3 + (n − 2), …

  4. Step 04Count the columns

    There are n columns, so 2S = n × (n + 1).

  5. Step 05Halve

    S = n(n + 1) ÷ 2. This is the two-staircase rectangle from Investigate, written in algebra.

  6. Step 06Check

    n = 100: 100 × 101 ÷ 2 = 5,050 ✓ (Gauss). n = 4: 4 × 5 ÷ 2 = 10 ✓.

Proof: 1 + 3 + 5 + … + (2n − 1) = n²

  1. Step 01The nth odd number

    The odd numbers 1, 3, 5, … have step 2 and first term 1, so the nth is 2n − 1.

  2. Step 02Picture

    An L-shape of 2n − 1 tiles wraps an (n − 1) square into an n square.

  3. Step 03Stack the Ls

    Start with 1 tile, wrap L-shapes of 3, 5, 7, …, 2n − 1. You build an n by n square.

  4. Step 04Algebra

    Pairing works too: (1 + (2n − 1)) × n ÷ 2 = 2n × n ÷ 2 = n².

  5. Step 05Check

    n = 10: 1 + 3 + … + 19 = 100 ✓.

Worked example

0 / 4 steps shown

Adding any arithmetic sequence

A savings plan puts in ₹100 in month 1, ₹120 in month 2, ₹140 in month 3, and so on, rising by ₹20 each month. How much has been saved after 2 years (24 months)?

Need a different angle?

Try it

Lab

Classify sequences as linear, quadratic, exponential or Fibonacci-type by testing differences and ratios.

Use differences and ratios to sort each sequence by the kind of formula that makes it.

16 cards, 4 bins. Tap a card, then tap its bin. You can also drag, or press a bin’s number key.

Text version of this activity

Sixteen sequences, four bins.

Linear (constant first difference): 5, 8, 11, 14, 17 (3n + 2); 100, 91, 82, 73 (109 − 9n); −7, −2, 3, 8, 13 (5n − 12); 0.5, 1, 1.5, 2, 2.5 (0.5n).

Quadratic (constant second difference): 2, 5, 10, 17, 26 (n² + 1); 1, 3, 6, 10, 15 (triangular); 2, 6, 12, 20, 30 (n(n + 1)); 0, 3, 8, 15, 24 (n² − 1); 4, 7, 12, 19, 28 (n² + 3).

Exponential (constant ratio): 3, 6, 12, 24, 48; 1, 10, 100, 1,000; 64, 32, 16, 8, 4; 1, 3, 9, 27, 81.

Fibonacci-type (sum of the two before): 2, 1, 3, 4, 7, 11 (Lucas); 5, 5, 10, 15, 25, 40; 1, 3, 4, 7, 11, 18.

Need a different angle?

Chapter 06

Fibonacci numbers: an Indian discovery

Sanskrit and Prakrit poetry is built from syllables that are short (laghu, 1 beat) or long (guru, 2 beats). Poets and scholars of prosody (chandaḥśāstra, the science of metre) asked a natural question: how many different rhythms fill a line of exactly n beats?

Try it with S for a short syllable (1 beat) and L for a long one (2 beats):

Beats Rhythms How many
1 S 1
2 SS, L 2
3 SSS, SL, LS 3
4 SSSS, SSL, SLS, LSS, LL 5
5 SSSSS, SSSL, SSLS, SLSS, LSSS, SLL, LSL, LLS 8

The counts go 1, 2, 3, 5, 8, 13, 21, 34, …: the Fibonacci numbers! Why? Every rhythm of n beats ends in either a short syllable or a long one. If it ends in S, the rest is a rhythm of n − 1 beats; if it ends in L, the rest is a rhythm of n − 2 beats. So (rhythms of n) = (rhythms of n − 1) + (rhythms of n − 2). That is exactly the Fibonacci rule, and it is a real proof, not just a spotted pattern.

Who found these patterns?

  1. 3rd–2nd BCE
    Pingala Pingala’s Chandaḥśāstra, a treatise on metre, studies patterns of short and long syllables. Its rules contain the seeds of both the Fibonacci numbers and the triangle later called Meru Prastara — though the Fibonacci rule itself is only stated plainly by later writers.
  2. 499 CE
    Āryabhaṭa The Āryabhaṭīya gives rules for sums of arithmetic sequences and for sums of squares and cubes.
  3. c. 600–800
    Virahānka Gives the rule clearly: the number of rhythms of n beats is the sum of the counts for n − 1 and n − 2. NCERT calls these Virahānka numbers.
  4. 10th century
    Halāyudha His commentary on Pingala describes the Meru Prastara (“staircase of Mount Meru”): the triangle of numbers now called Pascal’s triangle.
  5. 12th century
    Khajuraho A 4 × 4 magic square is inscribed on the wall of the Parshvanath temple, which was itself built about 950–970 CE (see Extend).
  6. c. 1135
    Gopāla Also gives the rhythm-counting rule for these numbers.
  7. c. 1150
    Hemachandra The Jain scholar Hemachandra states the same rule for counting metres, still about half a century before Fibonacci.
  8. 1202
    Fibonacci Leonardo of Pisa’s Liber Abaci brings Hindu–Arabic numerals to Europe and includes the rabbit puzzle that gives 1, 1, 2, 3, 5, 8, …
  9. 1356
    Nārāyaṇa Paṇḍita His Gaṇita Kaumudī studies these sequences further, and magic squares in great detail.
  10. 1654
    Pascal Blaise Pascal writes his treatise on the arithmetic triangle; in Europe it takes his name.
  11. 1870s
    Lucas Édouard Lucas attaches Fibonacci’s name to the sequence and studies its relative 2, 1, 3, 4, 7, 11, …
TableDivide each Fibonacci number by the one before (to 4 decimal places)
FractionDecimal
2 ÷ 12.0000
3 ÷ 21.5000
5 ÷ 31.6667
8 ÷ 51.6000
13 ÷ 81.6250
21 ÷ 131.6154
34 ÷ 211.6190
55 ÷ 341.6176
89 ÷ 551.6182
144 ÷ 891.6180

The ratios swing above and below a special number, getting closer each time: 1.6180339…, called the golden ratio and written φ (the Greek letter phi). It equals (1 + √5) ÷ 2.

This is the usual explanation for why Fibonacci numbers show up in plants. A growing sunflower adds each new seed at roughly a fixed angle of turn from the last, about 137.5°, which is 360° ÷ φ² (the “golden angle”). That angle packs the seeds evenly with no wasted gaps, and the spirals your eye picks out then come in neighbouring Fibonacci numbers: often 34 and 55, or 55 and 89 in large heads. Pinecones commonly show 8 and 13 spirals and pineapples 8, 13 and 21.

It is a strong tendency, not a law. In a citizen-science count of 657 sunflower heads, 565 of 768 careful spiral counts were Fibonacci numbers, but 136 of them — nearly one in five — had no Fibonacci structure at all. Some plants show neighbouring Lucas numbers (like 4, 7, 11) instead. So: common, and for a reason, but always worth counting rather than assuming.

Try it

Lab

Extend Fibonacci-type sequences from different starts and spot hidden Fibonacci patterns.

Round 1 / 12★ 0 ptsBest: 0

Puzzle 1 of 6 · step 1 of 2 Number pattern

12358???

What are the next 3 terms?

Text version of this activity

Six Fibonacci puzzles.

  1. Pingala–Virahānka rhythm counts: 1, 2, 3, 5, 8, … next 13, 21, 34.
  2. Lucas numbers: 2, 1, 3, 4, 7, 11, … next 18, 29.
  3. Starting 3, 3: 3, 3, 6, 9, 15, … next 24, 39 (3 × the Fibonacci numbers).
  4. Starting 1, 4: 1, 4, 5, 9, 14, … next 23, 37.
  5. Running totals of 1, 1, 2, 3, 5, 8, …: 1, 2, 4, 7, 12, 20, … next 33, 54. Each total is one less than a Fibonacci number (1 + 1 + 2 + 3 + 5 + 8 = 20 = 21 − 1).
  6. The even Fibonacci numbers: 2, 8, 34, 144, … next 610. They are every third Fibonacci number.

Chapter 07

Meru Prastara: the triangle of patterns

Write a 1 at the top. Each row below starts and ends with 1, and every other number is the sum of the two numbers just above it. Halāyudha, explaining Pingala’s rules in the 10th century, called this the Meru Prastara, the “staircase of Mount Meru”. In Europe it is called Pascal’s triangle.

Pingala’s question was: in a line of n syllables, in how many ways can exactly k of them be long? The answer is the kth number in row n of the triangle (counting from 0). For example, in 4 syllables there are 6 ways to have exactly 2 long ones: LLSS, LSLS, LSSL, SLLS, SLSL, SSLL.

TableMeru Prastara, rows 0 to 8 (each entry the sum of the two above)
RowNumbersRow total
011
11 12
21 2 14
31 3 3 18
41 4 6 4 116
51 5 10 10 5 132
61 6 15 20 15 6 164
71 7 21 35 35 21 7 1128
81 8 28 56 70 56 28 8 1256

Explore

Patterns hiding in the Meru Prastara

Pick a pattern to see where it hides in the triangle.

  1. 1
  2. 2
  3. 4
  4. 8
  5. 16
  6. Powers of 2

Each row adds up to double the row before, because every number is used twice in making the next row. Row n totals 2ⁿ. This matches Pingala’s count: n syllables, each short or long, give 2ⁿ patterns altogether.

Try it

Chapter 08

Why the digit patterns work, and why they stop

Why do the digits of multiples of 9 add to 9? Take a two-digit number with tens digit a and units digit b. Its value is 10a + b = 9a + (a + b). So the number and its digit sum a + b differ by 9a, a multiple of 9. If the number is a multiple of 9, its digit sum must be a multiple of 9 too. For 9 × 1 to 9 × 10 the digit sum is exactly 9. (For bigger multiples, like 99 = 9 × 11, the digit sum is 18, and adding those digits gives 9.) This is the reason behind the divisibility test for 9.

Why does 111 × 111 = 12,321? Multiply the long way. Each row of the working is 111, shifted one place:

1 1 1
1 1 1
1 1 1
Column sums 1 2 3 2 1

The number of 1s in each column rises and falls, giving 1, 2, 3, 2, 1. With nine 1s the middle column holds 9, the biggest single digit. With ten 1s the middle column would hold 10, which forces a carry and the pattern breaks. You predicted this in Understand; now you know why.

Worked example

0 / 4 steps shown

Why 12 × 9 + 3 = 111

Explain the pattern 1 × 9 + 2 = 11, 12 × 9 + 3 = 111, 123 × 9 + 4 = 1,111.

Chapter 09

Patterns that break: why proof matters

Here is the most famous trap in the study of patterns. Draw a circle and mark some points on it. Join every pair of points with a straight line, and count the regions (pieces) the circle is cut into. Place the points so that no three lines meet at the same point inside, which gives the most regions.

Points 1 2 3 4 5 6
Regions 1 2 4 8 16 31

1, 2, 4, 8, 16, … Surely the next is 32? It is 31. Draw it very carefully with 6 points and count: 31 is the most you can get, however hard you try. (Watch out when you draw: six equally spaced points give only 30, because the three long diagonals all cross at the centre. Nudge one point and you get 31.) With 7 points you get 57, not 64, and with 10 points just 256, not 512.

The true rule has nothing to do with doubling. The regions are 1 + (number of lines) + (number of crossing points inside): each line and each crossing adds one region. With n points there are n(n − 1) ÷ 2 lines, and every choice of 4 points gives exactly one crossing. The doubling was a coincidence of small numbers.

Predict first

Before reading the table below, predict: with 6 points on a circle, all joined, into how many regions is the circle cut (at most)?

Lab

Discover that patterns which look certain can break, and that different rules can share the same first terms.

Round 1 / 8★ 0 ptsBest: 0

Puzzle 1 of 4 · step 1 of 2 Number pattern

124816?

What comes next?

Text version of this activity

Four puzzles about trust.

  1. Circle regions: 1, 2, 4, 8, 16, … Most people type 32. The real next term is 31. The rule is 1 + lines + crossings, not doubling.
  2. Doubling from 1: 1, 2, 4, 8, 16, … next 32. The same first five terms as puzzle 1, but a different rule.
  3. Pancake cuts (the most pieces from n straight cuts of a round pancake, counting 0 cuts as 1 piece): 1, 2, 4, … next 7, 11, 16 (add 1, 2, 3, 4, 5). The same first three terms as doubling!
  4. n × n − n + 41: 41, 43, 47, 53, 61, 71, … next 83, 97. Every one of these is prime, all the way to n = 40 (1,601). But n = 41 gives 41 × 41 = 1,681, which is not prime.

Moral: a rule is only safe when you know why it works.

Chapter 10

Check your deeper understanding

Algebra and pattern words

variable
A letter that stands for a number that can change, such as the position n.
Example: In 3n + 1, n is the variable.
expression
A combination of numbers, letters and operations, without an equals sign.
Example: 4n + 3
formula
An equation that tells you how to calculate one quantity from others.
Example: Tₙ = 4n + 3
coefficient
The number that multiplies a variable.
Example: In 5n + 1, the coefficient of n is 5.
constant
A number on its own in an expression, not multiplied by a variable.
Example: In 5n + 1, the constant is 1.
equivalent expressions
Expressions that give the same value for every value of the variable.
Example: 4 + 3(n − 1) and 3n + 1
linear sequence
A sequence with a constant first difference; its nth term has the form dn + c.
Example: 5, 8, 11, 14
quadratic sequence
A sequence with a constant second difference; its nth term has n² in it.
Example: 2, 5, 10, 17 (n² + 1)
second difference
The difference between neighbouring first differences.
Example: For 1, 4, 9, 16 it is always 2.
power / index
A number multiplied by itself; the index says how many times.
Example: 2⁵ = 32
exponential growth
Growth by the same multiplying factor each step.
Example: Doubling: 1, 2, 4, 8, 16
golden ratio
The number (1 + √5) ÷ 2 ≈ 1.618, approached by ratios of neighbouring Fibonacci numbers.
Example: 89 ÷ 55 ≈ 1.618
Meru Prastara
The triangle of numbers (Pascal’s triangle) described in Halāyudha’s commentary on Pingala; each number is the sum of the two above.
Example: Row 4: 1 4 6 4 1
prosody (chandaḥśāstra)
The study of the rhythm and metre of poetry; Indian prosody led to early discoveries about patterns.
Example: Short and long syllables
Lucas numbers
The Fibonacci rule started from 2 and 1.
Example: 2, 1, 3, 4, 7, 11, 18
proof
An argument showing a statement is true in every case, not just the ones checked.
Example: Pairing proves 1 + … + n = n(n + 1) ÷ 2.
tetrahedral number
The number of balls in a triangular pyramid; a running total of triangular numbers.
Example: 1, 4, 10, 20, 35

Quick check

Reasoning with patterns

11 questions · answer what you can, then check. Getting one wrong is useful.

  1. Q1What is the nth term of 9, 14, 19, 24, …?
  2. Q2What is the nth term of 40, 36, 32, 28, …?
  3. Q3Is 300 a term of 5, 12, 19, 26, … (7n − 2)?
  4. Q4Which expression is equivalent to 6 + 5(n − 1)?
  5. Q5The sequence 3, 6, 11, 18, 27, … has second differences of:
  6. Q6What is 1 + 2 + 4 + … + 2⁹?
  7. Q7What is 1³ + 2³ + … + 5³?
  8. Q8How many rhythms of short (1 beat) and long (2 beats) syllables fill 6 beats?
  9. Q9In the Meru Prastara, what does row 6 add up to?
  10. Q10With 6 points on a circle all joined, the most regions is 31, not 32. What does this show?
  11. Q11Who stated the rhythm-counting rule for the numbers 1, 2, 3, 5, 8, … around 1150, before Fibonacci’s book of 1202?

Reflect

This stays on this page only. It isn’t saved or sent anywhere.

Helps you understand

Order of operations

Formulas like 5n + 4 and n(n + 1) ÷ 2 rely on the order of operations: multiply before adding, and brackets first.

Related to

Properties of numbers

The divisibility test for 9 comes from 10a + b = 9a + (a + b), and expanding brackets uses the distributive property.

Related to

Prime and composite numbers

n × n − n + 41 gives primes for n = 1 to 40 and then a composite number: a warning about trusting patterns in primes.

Keep this

Cheat sheet

  • Algebra: a variable (n) stands for any position. 3n means 3 × n. Tₙ is the nth term. In 5n + 4, 5 is the coefficient and 4 the constant.
  • Arithmetic: Tₙ = a + (n − 1)d = dn + (a − d). The step is the coefficient because the sequence moves in step with the d times table.
  • Is x a term? Solve dn + c = x. If n is a positive whole number, yes. Remainders give a quick test.
  • Equivalent expressions come from different ways of seeing: 4 + 3(n − 1) = 2n + (n + 1) = 3n + 1.
  • Geometric: Tₙ = a × rⁿ⁻¹. 1 + 2 + 4 + … + 2ⁿ⁻¹ = 2ⁿ − 1 (double and subtract).
  • Differences: constant 1st → linear; constant 2nd → quadratic (n²); constant ratio → exponential.
  • Proved sums: 1 + … + n = n(n + 1) ÷ 2; 1 + 3 + … + (2n − 1) = n²; 1³ + … + n³ = (1 + … + n)².
  • Fibonacci in India: rhythms of short and long syllables (Pingala, Virahānka, Gopāla, Hemachandra c. 1150) give 1, 2, 3, 5, 8, … before Fibonacci (1202). Ratios approach φ ≈ 1.618.
  • Meru Prastara: each number is the sum of the two above. Rows total 2ⁿ; diagonals give counting, triangular and tetrahedral numbers; shallow diagonals give Fibonacci.
  • Digit patterns work until a column sum reaches 10 and a carry appears: 111,111,111² is a palindrome; 1,111,111,111² is not.
  • Patterns can break: circle regions 1, 2, 4, 8, 16, 31; n² − n + 41 is prime up to n = 40 only. Examples suggest; proofs decide.

Where this comes from

Sources

  • Ganita Prakash, Class 6, Chapter 1: Patterns in Mathematics (chapter PDF) (opens another website) — NCERTawaiting owner check

    Supports the school treatment of number sequences (Table 1: counting, odd, even, triangular, square, cube numbers, Virahānka numbers, powers of 2 and 3), visualising sequences as pictures, the sum of the first n odd numbers, and shape sequences (§1.5).

  • Ganita Prakash, Class 7, Chapter 4: Expressions Using Letter-Numbers (chapter PDF) (opens another website) — NCERTawaiting owner check

    Supports matchstick patterns (Example 2, Ls made of 2 sticks each), the idea of a letter-number n standing for a position, writing 4 × n as 4n, and finding an expression for the nth term of a growing pattern.

  • Fibonacci sequence (History section) (opens another website) — Wikipediaawaiting owner check

    Supports the earlier Indian history: Pingala's prosody, Virahānka (c. 700, the clearest exposition), Gopāla (c. 1135) and Hemachandra (c. 1150), before Fibonacci's Liber Abaci (1202); Lucas naming the sequence; and that the numbers do not occur in all species.

  • Pascal's triangle (opens another website) — Wikipediaawaiting owner check

    Supports the construction of the triangle, row sums as powers of 2, diagonals giving counting and triangular numbers, shallow diagonals giving Fibonacci numbers, and the meru-prastāra of Halāyudha's 10th-century commentary on Pingala (3rd or 2nd century BC).

  • Dividing a circle into areas (opens another website) — Wikipediaawaiting owner check

    Supports the circle-regions sequence 1, 2, 4, 8, 16, 31, 57, 99, 163, 256 (Moser's circle problem), the formula C(n,4) + C(n,2) + 1, and the fact that six equally spaced points give only 30 regions.

  • Fibonacci Sequence (opens another website) — Math is Funawaiting owner check

    Supports the Fibonacci rule xₙ = xₙ₋₁ + xₙ₋₂, the ratio of neighbouring terms approaching about 1.618 (the golden ratio) and the Fibonacci spiral, which the page illustrates with a sunflower.

  • Sequences (opens another website) — Math is Funawaiting owner check

    Supports definitions of sequence, term and rule, arithmetic and geometric sequences, and the special sequences (triangular, square, cube, Fibonacci).

  • Pingala (opens another website) — Wikipediaawaiting owner check

    Supports Pingala's dating (c. 3rd–2nd century BCE), his Chandaḥśāstra's recursive enumeration of metres as a binary representation, the mātrāmeru link to the Fibonacci numbers and the meru-prastāra, and Halāyudha's 10th-century commentary.

  • Aryabhata (opens another website) — Wikipediaawaiting owner check

    Supports the dating of the Āryabhaṭīya to 499 CE and Āryabhaṭa's results for the summation of series of squares and cubes, and his treatment of arithmetic progressions in the Ganitapada.

End of Go deeper

What you just read

  • Write and check nth-term formulas for arithmetic and geometric sequences, and decide whether a number is a term.
  • Explain why the common difference becomes the coefficient of n, and show that different counting pictures give equivalent expressions.
  • Use differences to tell linear, quadratic and exponential sequences apart, and prove classic sums with pictures and pairing.
  • Explain the Indian origins of the Fibonacci numbers and Meru Prastara and find patterns inside the triangle.
  • Give examples of patterns that break and explain why proof matters.

The web

Explore a connection

  • Related to

    Number system

    Place-value charts are full of patterns: each place is ten times the one to its right.

  • Related to

    Properties of numbers

    Many number patterns — like the sum of consecutive odd numbers — are properties of numbers in disguise.

  • Related to

    Order of operations

    A pattern rule such as 3 × n + 1 is an expression — you need the order of operations to use it.

Want to save topics or ask for new ones? Invited families can connect a learning device. Everything here stays free to read without signing in.

Revision 1 · release preview-7e1cbbcc4f · accepted 20/09/2026