Patterns in Square Numbers
Square numbers are not just the results of multiplying a number by itself — they follow beautiful and predictable patterns. Recognising these patterns helps in mental calculation, competitive exams, and deeper understanding of number theory.
In Class 8, the NCERT chapter on Squares and Square Roots introduces several important patterns: the sum of first n odd numbers, differences between consecutive squares, patterns in the last digits, triangular number connections, and Pythagorean triplets.
These patterns are not coincidences. They can be proved algebraically. Understanding the "why" behind each pattern strengthens your algebraic thinking.
This topic builds on your knowledge of square numbers and their properties covered earlier in the chapter.
What is Patterns in Square Numbers?
Definition: A pattern in square numbers is a predictable relationship or regularity observed when square numbers are arranged, added, subtracted, or compared in systematic ways.
Recall:
- A square number (perfect square) is the product of an integer with itself: 1, 4, 9, 16, 25, 36, ...
- The nth square number = n².
- The first 15 perfect squares: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225.
Types and Properties
Pattern 1: Sum of First n Odd Numbers = n²
- 1 = 1 = 1²
- 1 + 3 = 4 = 2²
- 1 + 3 + 5 = 9 = 3²
- 1 + 3 + 5 + 7 = 16 = 4²
- 1 + 3 + 5 + 7 + 9 = 25 = 5²
Rule: The sum of the first n odd natural numbers is always n².
Pattern 2: Difference Between Consecutive Squares
- 4 − 1 = 3 = 2(1) + 1
- 9 − 4 = 5 = 2(2) + 1
- 16 − 9 = 7 = 2(3) + 1
- 25 − 16 = 9 = 2(4) + 1
Rule: (n+1)² − n² = 2n + 1. The difference between consecutive perfect squares is always an odd number.
Pattern 3: Last Digit Pattern
- Square numbers can only end in: 0, 1, 4, 5, 6, or 9.
- A number ending in 2, 3, 7, or 8 can never be a perfect square.
- The last digits of squares cycle: 1, 4, 9, 6, 5, 6, 9, 4, 1, 0, 1, 4, 9, ...
Pattern 4: Sum of Two Consecutive Triangular Numbers
- Triangular numbers: 1, 3, 6, 10, 15, 21, 28, ...
- 1 + 3 = 4 = 2²
- 3 + 6 = 9 = 3²
- 6 + 10 = 16 = 4²
- 10 + 15 = 25 = 5²
Rule: The sum of the nth and (n+1)th triangular numbers equals (n+1)².
Pattern 5: Squares of Numbers Ending in 5
- 5² = 25 → 0 × 1 followed by 25 → Hmm, more precisely:
- 15² = 225 → 1 × 2 = 2, write 225
- 25² = 625 → 2 × 3 = 6, write 625
- 35² = 1225 → 3 × 4 = 12, write 1225
- 45² = 2025 → 4 × 5 = 20, write 2025
Rule: To square a number ending in 5, multiply the tens digit by (tens digit + 1) and append 25.
Pattern 6: Pythagorean Triplets
- For any natural number m > 1, the triplet (2m, m² − 1, m² + 1) forms a Pythagorean triplet.
- m = 2: (4, 3, 5) → 4² + 3² = 16 + 9 = 25 = 5²
- m = 3: (6, 8, 10) → 6² + 8² = 36 + 64 = 100 = 10²
- m = 4: (8, 15, 17) → 8² + 15² = 64 + 225 = 289 = 17²
Methods
Using Pattern 1 to find sum of odd numbers:
- To find 1 + 3 + 5 + ... + (2n − 1), count how many odd numbers there are.
- The number of terms = n.
- Sum = n².
Example: 1 + 3 + 5 + 7 + 9 + 11 + 13 = ? There are 7 terms, so sum = 7² = 49.
Using Pattern 2 to find squares quickly:
- If you know n², you can find (n+1)² without multiplying.
- (n+1)² = n² + 2n + 1.
Example: 25² = 625. Then 26² = 625 + 2(25) + 1 = 625 + 50 + 1 = 676.
Using Pattern 5 to square numbers ending in 5:
- Take the tens digit, call it a.
- Multiply: a × (a + 1).
- Write the result followed by 25.
Example: 65² → 6 × 7 = 42 → Answer: 4225.
Using Pattern 6 to generate Pythagorean triplets:
- Choose any natural number m > 1.
- Calculate: 2m, m² − 1, m² + 1.
- These three numbers form a Pythagorean triplet.
Example: m = 5 → 10, 24, 26. Check: 10² + 24² = 100 + 576 = 676 = 26².
Solved Examples
Example 1: Example 1: Sum of odd numbers
Problem: Find the sum: 1 + 3 + 5 + 7 + 9 + 11 + 13 + 15.
Solution:
These are the first 8 odd numbers.
Using the pattern: Sum of first n odd numbers = n².
Sum = 8² = 64.
Verification: 1+3 = 4, 4+5 = 9, 9+7 = 16, 16+9 = 25, 25+11 = 36, 36+13 = 49, 49+15 = 64. Correct!
Answer: The sum is 64.
Example 2: Example 2: Express a square as sum of odd numbers
Problem: Express 36 as the sum of consecutive odd numbers starting from 1.
Solution:
36 = 6². So 36 = sum of first 6 odd numbers.
36 = 1 + 3 + 5 + 7 + 9 + 11.
Verification: 1+3+5+7+9+11 = 36. Correct!
Answer: 36 = 1 + 3 + 5 + 7 + 9 + 11.
Example 3: Example 3: Difference between consecutive squares
Problem: Without calculating 31² and 30², find 31² − 30².
Solution:
Using the pattern: (n+1)² − n² = 2n + 1.
Here n = 30.
31² − 30² = 2(30) + 1 = 60 + 1 = 61.
Verification: 31² = 961, 30² = 900. Difference = 961 − 900 = 61. Correct!
Answer: 31² − 30² = 61.
Example 4: Example 4: Using difference pattern to find a square
Problem: Given that 40² = 1600, find 41² without multiplying.
Solution:
(n+1)² = n² + 2n + 1
41² = 40² + 2(40) + 1 = 1600 + 80 + 1 = 1681.
Verification: 41 × 41 = 1681. Correct!
Answer: 41² = 1681.
Example 5: Example 5: Squaring a number ending in 5
Problem: Find 75² using the shortcut for numbers ending in 5.
Solution:
Step 1: Tens digit = 7.
Step 2: Multiply: 7 × 8 = 56.
Step 3: Append 25: 5625.
Verification: 75 × 75 = 5625. Correct!
Answer: 75² = 5625.
Example 6: Example 6: Checking if a number can be a perfect square
Problem: Can 4587 be a perfect square?
Solution:
Last digit of 4587 is 7.
Perfect squares can only end in 0, 1, 4, 5, 6, or 9.
Since 7 is not in this list, 4587 is not a perfect square.
Answer: No, 4587 cannot be a perfect square.
Example 7: Example 7: Triangular number pattern
Problem: The 5th triangular number is 15 and the 6th is 21. Verify that their sum equals 6².
Solution:
5th triangular number = 15 (sum of 1+2+3+4+5).
6th triangular number = 21 (sum of 1+2+3+4+5+6).
Sum = 15 + 21 = 36.
6² = 36.
They are equal. The pattern holds!
Answer: 15 + 21 = 36 = 6². Verified!
Example 8: Example 8: Generating a Pythagorean triplet
Problem: Generate a Pythagorean triplet using m = 6.
Solution:
Using the formula: 2m, m² − 1, m² + 1.
- 2m = 2 × 6 = 12
- m² − 1 = 36 − 1 = 35
- m² + 1 = 36 + 1 = 37
Check: 12² + 35² = 144 + 1225 = 1369 = 37². Correct!
Answer: The Pythagorean triplet is (12, 35, 37).
Example 9: Example 9: Number of odd numbers in a sum
Problem: How many odd numbers starting from 1 must be added to get 100?
Solution:
100 = 10². Using the pattern: sum of first n odd numbers = n².
So n = 10. We need the first 10 odd numbers.
1 + 3 + 5 + 7 + 9 + 11 + 13 + 15 + 17 + 19 = 100.
Answer: 10 odd numbers must be added.
Example 10: Example 10: Difference of non-consecutive squares
Problem: Find 50² − 48² without calculating the individual squares.
Solution:
Using the algebraic identity: a² − b² = (a + b)(a − b).
50² − 48² = (50 + 48)(50 − 48) = 98 × 2 = 196.
Verification: 50² = 2500, 48² = 2304. Difference = 2500 − 2304 = 196. Correct!
Answer: 50² − 48² = 196.
Real-World Applications
Applications of patterns in square numbers:
- Mental arithmetic: The shortcut for squaring numbers ending in 5, and using differences of consecutive squares for quick calculations.
- Competitive exams: Recognising that a number is not a perfect square from its last digit saves time.
- Pythagorean triplets: Used in construction, navigation, and engineering to create right angles.
- Computer science: Square-number patterns appear in algorithms, grid computations, and pixel calculations.
- Art and architecture: Square-based tiling patterns use properties of square numbers for aesthetic designs.
- Number theory: Patterns in squares form the basis for Fermat's theorems, modular arithmetic, and cryptography.
Key Points to Remember
- Sum of first n odd numbers = n². This is one of the most important patterns.
- (n+1)² − n² = 2n + 1. Consecutive square differences are always odd.
- Perfect squares can only end in 0, 1, 4, 5, 6, or 9.
- A number ending in 2, 3, 7, or 8 is never a perfect square.
- Sum of nth and (n+1)th triangular numbers = (n+1)².
- To square a number ending in 5: multiply tens digit by (tens digit + 1), append 25.
- Pythagorean triplet formula: 2m, m²−1, m²+1 for any m > 1.
- a² − b² = (a+b)(a−b) is useful for finding differences of squares quickly.
- The square of an even number is always even; the square of an odd number is always odd.
- These patterns can be proved algebraically — they are not just observations but mathematical facts.
Practice Problems
- Find the sum: 1 + 3 + 5 + 7 + 9 + 11 + 13 + 15 + 17 + 19 + 21.
- Express 81 as the sum of consecutive odd numbers starting from 1.
- Without calculating, find 51² − 50².
- Using the shortcut, find 85².
- Can 7928 be a perfect square? Give a reason.
- Find 99² using the fact that 100² = 10000.
- Generate a Pythagorean triplet using m = 7.
- The 7th triangular number is 28 and the 8th is 36. Verify that their sum equals 8².
Frequently Asked Questions
Q1. Why is the sum of first n odd numbers equal to n²?
This can be proved algebraically. The kth odd number is 2k − 1. Sum of first n odd numbers = sum of (2k − 1) for k = 1 to n = 2 × n(n+1)/2 − n = n(n+1) − n = n² + n − n = n². It can also be visualised: each L-shaped layer added to a square grid adds the next odd number of unit squares.
Q2. Why can a perfect square never end in 2, 3, 7, or 8?
The last digit of a square depends only on the last digit of the number being squared. Squaring digits 0-9: 0²=0, 1²=1, 2²=4, 3²=9, 4²=6, 5²=5, 6²=6, 7²=9, 8²=4, 9²=1. The possible last digits are only 0, 1, 4, 5, 6, 9. No combination produces 2, 3, 7, or 8.
Q3. What is a triangular number?
The nth triangular number is the sum of the first n natural numbers: T(n) = 1 + 2 + 3 + ... + n = n(n+1)/2. The first few triangular numbers are 1, 3, 6, 10, 15, 21, 28. They represent the number of dots that can form an equilateral triangle.
Q4. Does the shortcut for squaring numbers ending in 5 always work?
Yes, it works for any number ending in 5. For a number like n5 (where n is any number of digits), (10n + 5)² = 100n² + 100n + 25 = 100n(n+1) + 25. So multiply n by (n+1) and append 25. Example: 115² → 11 × 12 = 132, append 25 → 13225.
Q5. How is a² − b² = (a+b)(a−b) useful?
This identity lets you find the difference of two squares without calculating the individual squares. For example, 73² − 27² = (73+27)(73−27) = 100 × 46 = 4600. This is much faster than computing 5329 − 729.
Q6. Are all Pythagorean triplets generated by the formula 2m, m²−1, m²+1?
No. This formula generates some Pythagorean triplets but not all. For example, (9, 12, 15) is a valid Pythagorean triplet (it is 3 times the basic triplet 3, 4, 5) but is not directly produced by this formula. The formula generates primitive triplets where GCD of the three numbers may or may not be 1.
Q7. Can the difference between two perfect squares be even?
Yes. If both numbers are even or both are odd, their squares' difference is even. For example, 6² − 4² = 36 − 16 = 20 (both even). 5² − 3² = 25 − 9 = 16 (both odd). If one is even and the other odd, the difference is odd. Example: 5² − 4² = 25 − 16 = 9.
Q8. How can I check if a large number is a perfect square?
First, check the last digit — if it ends in 2, 3, 7, or 8, it is not a perfect square. If it passes this test, try the digital root (repeated digit sum): a perfect square has digital root 1, 4, 7, or 9 only. For confirmation, find the square root by long division or prime factorisation.










