Class 6 Mathematics · Chapter 1

Patterns in Mathematics

Number patterns, sequences such as odd, even, triangular and square numbers, and patterns in shapes.

NCERT Ganita PrakashCBSE Class 6 19 min read

1. Chapter at a Glance

Mathematics is often called the study of patterns. A pattern is anything that repeats or grows according to a rule. When we notice a pattern, we can predict what comes next, explain why it happens and use it to solve problems quickly. Patterns appear everywhere — in the numbers on a calendar, the tiles on a floor, the petals of a flower and even the way a cricket score grows over by over.

In this chapter we look at two kinds of patterns: patterns in numbers (number sequences) and patterns in shapes (shape sequences). We also learn how to draw number patterns as dots so that we can see why they behave the way they do. Finally, we discover surprising links between different sequences — for example, that adding odd numbers always gives a square number.

What you will learn
  • What mathematics is and why patterns matter in science, art and daily life.
  • Important number sequences: counting numbers, odd and even numbers, triangular, square and cube numbers, Virahānka numbers, and powers of 2 and 3.
  • How to picture number sequences with dots and see the rule behind them.
  • Relations between sequences, such as 1 + 3 + 5 + … = a square number.
  • Shape sequences: regular polygons, complete graphs, stacked squares and triangles, and the Koch snowflake.
  • How shape sequences connect back to number sequences.

2. What is Mathematics?

Mathematics is a way of thinking. Mathematicians look for patterns, then try to explain them. The explanation is what turns a guess into knowledge. Once a pattern is understood, it can be used again and again in new situations.

  • In science and technology: the movement of planets, the timing of tides, the working of mobile phones and computers all depend on mathematical patterns.
  • In daily life: we use patterns to plan budgets, read timetables, measure land, cook with the right quantities and play games.
  • In art and design: rangoli, kolam, block prints and temple carvings use repeating shapes and symmetry.
  • For its own sake: many patterns are studied simply because they are beautiful and interesting. Often, years later, they turn out to be useful too.

India has a long history of mathematics. Ancient scholars studied number patterns in poetry, astronomy and architecture. One famous example — the Virahānka numbers — came from counting rhythms in Sanskrit and Prakrit poetry, as we will see below.

3. Patterns in Numbers: Number Sequences

A number sequence is a list of numbers written in a definite order, following a rule. Each number in the list is called a term. Here are the most important sequences of this chapter.

SequenceFirst termsRule in words
All 1s1, 1, 1, 1, 1, …Every term is 1.
Counting numbers1, 2, 3, 4, 5, …Add 1 each time.
Odd numbers1, 3, 5, 7, 9, …Start at 1 and add 2.
Even numbers2, 4, 6, 8, 10, …Start at 2 and add 2.
Triangular numbers1, 3, 6, 10, 15, …Add 2, then 3, then 4, then 5, …
Square numbers1, 4, 9, 16, 25, …1×1, 2×2, 3×3, 4×4, …
Cube numbers1, 8, 27, 64, 125, …1×1×1, 2×2×2, 3×3×3, …
Virahānka numbers1, 2, 3, 5, 8, 13, 21, …Each term = sum of the previous two.
Powers of 21, 2, 4, 8, 16, 32, …Multiply by 2 each time.
Powers of 31, 3, 9, 27, 81, …Multiply by 3 each time.

How to find the rule of a sequence

  1. Find the difference between consecutive terms. If it is the same every time, the rule is "add that number" (for example, odd numbers go up by 2).
  2. If the differences themselves grow (2, 3, 4, 5, …), the sequence may be triangular or square-like.
  3. If each term is a fixed number of times the previous one, the rule is "multiply" (powers of 2 or 3).
  4. If each term is the sum of the two before it, it is a Virahānka-type sequence.
Worked Example 1

Find the next two terms: 2, 5, 10, 17, 26, …

Solution: Differences are 3, 5, 7, 9 — the odd numbers. The next differences are 11 and 13. So the next terms are 26 + 11 = 37 and 37 + 13 = 50. (Notice each term is one more than a square: 1+1, 4+1, 9+1, 16+1, 25+1, 36+1, 49+1.)

Virahānka numbers — a pattern from poetry

In Sanskrit and Prakrit poetry, syllables are either short (1 beat) or long (2 beats). The scholar Virahānka (around 700 CE) asked: in how many ways can a rhythm of n beats be made using short and long syllables? The answers form the sequence 1, 2, 3, 5, 8, 13, 21, 34, …, where each number is the sum of the two before it. For example, a 4-beat rhythm can be made in 5 ways: SSSS, SSL, SLS, LSS, LL. This same sequence was later studied in Europe and is known there as the Fibonacci sequence, but Indian scholars described it centuries earlier.

Worked Example 2

Write the next three Virahānka numbers after 21, 34.

Solution: 21 + 34 = 55; 34 + 55 = 89; 55 + 89 = 144.

4. Visualising Number Sequences

Many sequences become easy to understand when we draw them with dots. The picture shows the rule that the numbers alone hide.

Triangular numbers 13610 Square numbers 14916 Each new triangle adds one more row; each new square adds an L-shaped border.
Triangular numbers grow by adding a longer row each time; square numbers grow by adding an L-shaped border.
  • Triangular numbers (1, 3, 6, 10, 15, …) are the number of dots that can be arranged in a triangle. To get the next one, add a new row that is one dot longer than the previous bottom row.
  • Square numbers (1, 4, 9, 16, 25, …) are the number of dots in a square arrangement. The nth square number is n × n.
  • Cube numbers (1, 8, 27, 64, …) are the number of small cubes needed to build a bigger cube. The nth cube number is n × n × n.
  • Odd numbers can be drawn as L-shapes (1 dot, then 3 dots in an L, then 5 dots in a bigger L …). Even numbers can be drawn as two equal rows of dots.
Remember

An even number of dots can always be split into two equal rows. An odd number of dots always leaves one dot extra. This is why odd + odd = even and odd + even = odd.

5. Relations among Number Sequences

The most exciting part of this chapter is discovering that different sequences are connected. Here are the key relations, each with a picture-based reason.

(a) Adding odd numbers gives square numbers

1 = 1,   1 + 3 = 4,   1 + 3 + 5 = 9,   1 + 3 + 5 + 7 = 16,   1 + 3 + 5 + 7 + 9 = 25

Why? Draw a square of dots and split it into L-shaped layers starting from one corner. The layers have 1, 3, 5, 7, … dots — the odd numbers. So the sum of the first n odd numbers is n × n.

1+ 3+ 5+ 7+ 9 = 25 = 5 × 5
Peeling a square into L-shaped layers shows that 1 + 3 + 5 + 7 + 9 = 5 × 5.
Worked Example 3

Without adding one by one, find 1 + 3 + 5 + … + 19.

Solution: The odd numbers from 1 to 19 are 1, 3, 5, 7, 9, 11, 13, 15, 17, 19 — that is 10 odd numbers. The sum of the first 10 odd numbers is 10 × 10 = 100.

(b) Counting up and down gives square numbers

1 = 1,   1 + 2 + 1 = 4,   1 + 2 + 3 + 2 + 1 = 9,   1 + 2 + 3 + 4 + 3 + 2 + 1 = 16

Why? Tilt a square of dots so that it stands on a corner (like a diamond). Reading the rows from top to bottom gives 1, 2, 3, …, n, …, 3, 2, 1. So the sum is n × n.

(c) Two consecutive triangular numbers make a square

1 + 3 = 4,   3 + 6 = 9,   6 + 10 = 16,   10 + 15 = 25

Why? A square of dots can be cut along a diagonal into two triangles, one slightly smaller than the other. These two triangles are consecutive triangular numbers.

(d) Adding counting numbers gives triangular numbers

1 = 1,   1 + 2 = 3,   1 + 2 + 3 = 6,   1 + 2 + 3 + 4 = 10

This is simply the triangle picture read row by row. A quick trick: the sum 1 + 2 + … + n = n × (n + 1) ÷ 2. For example, 1 + 2 + … + 10 = 10 × 11 ÷ 2 = 55.

(e) Adding powers of 2

1 + 2 = 3,   1 + 2 + 4 = 7,   1 + 2 + 4 + 8 = 15,   1 + 2 + 4 + 8 + 16 = 31

The sum is always one less than the next power of 2. For example, 1 + 2 + 4 + 8 = 15 = 16 − 1. Picture it with a strip: half of a bar + a quarter + an eighth … keeps getting closer to the whole bar.

(f) Adding counting numbers and the cubes

Another beautiful relation: 1³ = 1, 1³ + 2³ = 9 = 3², 1³ + 2³ + 3³ = 36 = 6², 1³ + 2³ + 3³ + 4³ = 100 = 10². The sum of the first few cube numbers is the square of a triangular number (1, 3, 6, 10, …).

Worked Example 4

Find 1 + 2 + 4 + 8 + 16 + 32 + 64 quickly.

Solution: The next power of 2 after 64 is 128. So the sum = 128 − 1 = 127.

6. Patterns in Shapes

A shape sequence is a list of figures that change according to a rule. Important examples:

  • Regular polygons: triangle (3 sides), square (4), pentagon (5), hexagon (6), heptagon (7), octagon (8), nonagon (9), decagon (10). All sides are equal and all angles are equal. The number of sides gives the counting numbers starting from 3.
  • Complete graphs: place 1, 2, 3, 4, 5, … points on a circle and join every pair of points with a line. The number of lines is 0, 1, 3, 6, 10, … — the triangular numbers!
  • Stacked squares: squares of 1×1, 2×2, 3×3 arrangements — the numbers of small squares are 1, 4, 9, 16, … (square numbers).
  • Stacked triangles: big triangles made of small triangles; the number of small triangles is 1, 4, 9, 16, … (also square numbers).
  • Koch snowflake: start with a triangle. On each side, replace the middle third by two sides of a smaller triangle pointing outwards. Repeat. The number of sides is 3, 12, 48, 192, … — each time it is multiplied by 4.
1 line3 lines6 lines10 lines
Complete graphs: joining every pair of points gives 1, 3, 6, 10, … lines — the triangular numbers.

7. Relation to Number Sequences

Shape sequences and number sequences are closely linked. Counting something in each shape (sides, lines, small squares, corners) usually gives a familiar number sequence.

Shape sequenceWhat we countNumber sequence
Regular polygonsSides (or corners)3, 4, 5, 6, 7, … (counting numbers from 3)
Complete graphsLines joining points0, 1, 3, 6, 10, … (triangular numbers)
Stacked squaresSmall squares1, 4, 9, 16, … (square numbers)
Stacked trianglesSmall triangles1, 4, 9, 16, … (square numbers)
Koch snowflakeSides3, 12, 48, 192, … (×4 each time)
Worked Example 5

How many lines are there in a complete graph with 7 points?

Solution: The numbers of lines are triangular numbers: for n points the count is 1 + 2 + … + (n − 1). For 7 points, 1 + 2 + 3 + 4 + 5 + 6 = 21 lines. (Check: each point joins 6 others, 7 × 6 = 42, but each line is counted twice, so 42 ÷ 2 = 21.)

8. Master Formula Table

PatternFormula / RuleExample
nth odd number2n − 110th odd number = 19
nth even number2n10th even number = 20
nth square numbern × n7th = 49
nth cube numbern × n × n4th = 64
nth triangular numbern × (n + 1) ÷ 210th = 55
Sum of first n odd numbersn × n1 + 3 + … + 15 = 64
1 + 2 + … + n + … + 2 + 1n × n1+2+3+4+5+4+3+2+1 = 25
Two consecutive triangular numberssum = square number15 + 21 = 36
1 + 2 + 4 + … + 2ⁿnext power of 2 − 11+2+4+8+16 = 31
Virahānka numbersnext term = sum of previous two13 + 21 = 34
Lines in complete graph of n points(n − 1) × n ÷ 26 points → 15 lines
Sides of Koch snowflakemultiply by 4 each step3 → 12 → 48 → 192

9. Master Summary Table

TopicKey ideaExam focus
MathematicsStudy of patterns and their explanationsExamples of patterns in daily life
Number sequenceOrdered list of numbers following a ruleFind next terms, state the rule
Dot picturesTriangles, squares, L-shapes show the ruleDraw and explain a sequence
Odd sums1 + 3 + … (n terms) = n²Quick sums without adding
Up-and-down sums1 + … + n + … + 1 = n²Diamond picture reasoning
Triangular numbers1, 3, 6, 10, 15, …Consecutive pair makes a square
Powers of 2Sum = next power − 1Fast calculation
Virahānka numbersSum of previous two termsOrigin in Indian poetry
Shape sequencesPolygons, complete graphs, stacks, Koch snowflakeCount and link to numbers

Growth chart of five sequences (first 6 terms)

Term number123456
Counting123456
Triangular136101521
Square149162536
Powers of 212481632
Cube182764125216

Notice how multiplying sequences (powers, cubes) grow much faster than adding sequences (counting, triangular). This difference in growth is an important idea you will meet again in higher classes.

10. Mind Map

Patterns in Mathematics
Number sequences
  • Counting, odd, even
  • Triangular, square, cube
  • Virahānka, powers of 2 and 3
Visualising
  • Dot triangles and squares
  • L-shapes for odd numbers
  • Cubes from small cubes
Relations
  • Odd sums = squares
  • Up-down sums = squares
  • Powers of 2 sum = next − 1
Shape sequences
  • Regular polygons
  • Complete graphs
  • Koch snowflake

11. Tips and Tricks

Smart shortcuts
  • To add the first n odd numbers, just square n. Count how many odd numbers there are first: from 1 to an odd number k, there are (k + 1) ÷ 2 of them.
  • To add 1 + 2 + … + n, multiply n by (n + 1) and halve the answer.
  • To add 1 + 2 + 4 + … + a power of 2, double the last term and subtract 1.
  • Check the differences between terms first; then check if each term is a multiple of the previous one.
  • For complete graphs, count lines from each point and halve the total — every line has two ends.
Common mistakes
  • Thinking 1 is not a square or triangular number — it is the first term of both.
  • Mixing up square numbers (n × n) with doubling (n × 2): 6² = 36, not 12.
  • Counting the number of odd numbers wrongly: 1 to 21 has 11 odd numbers, not 10.
  • Forgetting that the Koch snowflake sides are multiplied by 4, not increased by 4.

12. Important One-liners

  • Mathematics is the search for patterns and for explanations of why they occur.
  • A number sequence is an ordered list of numbers that follows a rule.
  • The sum of the first n odd numbers is n × n.
  • 1 + 2 + 3 + … + n + … + 3 + 2 + 1 = n × n.
  • The sum of two consecutive triangular numbers is always a square number.
  • Triangular numbers are 1, 3, 6, 10, 15, 21, 28, …
  • Square numbers are 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, …
  • Cube numbers are 1, 8, 27, 64, 125, 216, …
  • Virahānka numbers: each term is the sum of the previous two terms.
  • Virahānka found these numbers while counting rhythms of short and long syllables in poetry.
  • 1 + 2 + 4 + 8 + … is always one less than the next power of 2.
  • The number of lines in complete graphs gives the triangular numbers.
  • The Koch snowflake's number of sides is multiplied by 4 at each step.
  • A regular polygon has all sides equal and all angles equal.
  • The nth odd number is 2n − 1 and the nth even number is 2n.

13. Exam-pattern Questions with Detailed Answers

These questions follow the pattern of school tests and the NCERT exercises. Try each one before opening the answer.

Q1Easy

Which of these is the next triangular number after 1, 3, 6, 10, 15?

  1. 18
  2. 20
  3. 21
  4. 25
Show answer

Triangular numbers grow by adding 2, 3, 4, 5, 6, … The difference after 15 is 6, so the next term is 15 + 6 = 21.

Answer: (C) 21

Q2Easy

Find the sum 1 + 3 + 5 + 7 + 9 + 11 + 13 without adding the numbers one by one.

Show answer

There are 7 odd numbers starting from 1. The sum of the first n odd numbers is n × n.

So the sum = 7 × 7 = 49.

Answer: 49

Q3Easy

Write the next three terms of the Virahānka sequence 1, 2, 3, 5, 8, 13, …

Show answer

Each term is the sum of the two terms before it: 8 + 13 = 21, 13 + 21 = 34, 21 + 34 = 55.

Answer: 21, 34, 55

Q4Medium

What is 1 + 2 + 3 + 4 + 5 + 6 + 7 + 6 + 5 + 4 + 3 + 2 + 1? Explain using a picture.

Show answer

Count up to 7 and back down. Draw a 7 × 7 square of dots and turn it so that a corner points up. The diagonal rows have 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1 dots.

So the sum equals the number of dots in the square = 7 × 7 = 49.

Answer: 49

Q5Medium

Find 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128.

  1. 255
  2. 256
  3. 254
  4. 511
Show answer

The sum of powers of 2 starting from 1 is one less than the next power of 2. The next power after 128 is 256.

So the sum = 256 − 1 = 255.

Answer: (A) 255

Q6Medium

How many lines are there in a complete graph with 8 points? Show two different ways.

Show answer

Way 1: The number of lines is the triangular number 1 + 2 + … + 7 = 7 × 8 ÷ 2 = 28.

Way 2: Each of the 8 points joins the other 7 points, giving 8 × 7 = 56 line-ends. Each line has two ends, so the number of lines is 56 ÷ 2 = 28.

Answer: 28 lines

Q7Medium

Which two consecutive triangular numbers add up to 64?

Show answer

Two consecutive triangular numbers add to a square. 64 = 8 × 8, so we need the 7th and 8th triangular numbers.

7th = 7 × 8 ÷ 2 = 28 and 8th = 8 × 9 ÷ 2 = 36. Check: 28 + 36 = 64.

Answer: 28 and 36

Q8Medium

The Koch snowflake starts with a triangle of 3 sides. How many sides does it have after 4 steps?

Show answer

At every step, each side is replaced by 4 smaller sides, so the number of sides is multiplied by 4.

Start: 3 → after step 1: 12 → step 2: 48 → step 3: 192 → step 4: 768.

Answer: 768 sides

Q9Hard

The sum of some consecutive odd numbers starting from 1 is 225. How many odd numbers were added, and what was the last one?

Show answer

The sum of the first n odd numbers is n × n. Since 225 = 15 × 15, n = 15.

The 15th odd number is 2 × 15 − 1 = 29.

Answer: 15 odd numbers; the last one is 29

Q10Hard

A rhythm in poetry uses short syllables (1 beat) and long syllables (2 beats). In how many ways can a rhythm of 6 beats be made?

Show answer

The numbers of ways for 1, 2, 3, 4, 5 beats are 1, 2, 3, 5, 8 (Virahānka numbers). Each new count is the sum of the previous two, because a rhythm of n beats either starts with a short syllable (then n − 1 beats remain) or a long one (then n − 2 beats remain).

For 6 beats: 5 + 8 = 13.

Answer: 13 ways

Q11Hard

Find 1³ + 2³ + 3³ + 4³ + 5³ using a pattern, and check by direct addition.

Show answer

Pattern: the sum of the first n cube numbers is the square of the nth triangular number. The 5th triangular number is 15, so the sum = 15 × 15 = 225.

Check: 1 + 8 + 27 + 64 + 125 = 225. ✔

Answer: 225

Q12Hard

Look at the sequence 2, 6, 12, 20, 30, … Find the next term and explain how it is related to triangular numbers.

Show answer

The differences are 4, 6, 8, 10, so the next difference is 12 and the next term is 30 + 12 = 42.

Each term is double a triangular number: 2 = 2 × 1, 6 = 2 × 3, 12 = 2 × 6, 20 = 2 × 10, 30 = 2 × 15, 42 = 2 × 21. It is also n × (n + 1): 1×2, 2×3, 3×4, 4×5, 5×6, 6×7.

Answer: 42 (twice the 6th triangular number)

14. Quick Revision Summary

Revise in 2 minutes
  • Mathematics studies patterns and explains why they happen.
  • Key sequences: counting, odd (2n − 1), even (2n), triangular (1, 3, 6, 10, …), square (n²), cube (n³), Virahānka (add previous two), powers of 2 and 3.
  • Dot pictures explain the rules: triangles for triangular numbers, squares for square numbers, L-shapes for odd numbers.
  • Relations: sum of first n odd numbers = n²; 1 + … + n + … + 1 = n²; consecutive triangular numbers add to a square; 1 + 2 + 4 + … = next power of 2 − 1.
  • Shape sequences: regular polygons (3, 4, 5 sides …), complete graphs (triangular numbers of lines), stacked squares and triangles (square numbers), Koch snowflake (sides × 4).