Chapter Introduction
Numbers can carry secret messages. A single digit can tell how many taller children stand ahead in a queue; a row of digits can tell whether a sum is possible at all. In this chapter we play detective with numbers: we look for rules behind patterns, use parity to reject impossible answers, build magic squares, count rhythms with a famous sequence, and crack codes where letters hide digits.
These Class 7 Maths Notes teach each rule before it is used, then apply it to fresh problems with every step written out.
Learning Objectives
- Read and create a "count of taller people ahead" sequence from a line of children.
- Define parity and predict the parity of sums, differences and products without full calculation.
- Express even and odd numbers algebraically, including the nth even and nth odd number.
- Use row and column totals to test and construct magic squares; generalise a 3 × 3 magic square.
- Generate Virahāṅka–Fibonacci numbers by a rule and connect them with counting rhythms and stairs.
- Solve cryptarithms by place-value reasoning.
1. Numbers That Describe an Arrangement
Rule first: Stand in a line and look only at the people in front of you. Count how many of them are taller than you. That count is your number. The shortest child at the very front says \(0\), because nobody stands ahead.
Notice what the number does not say: it is not your height, not your position, and not your rank. It describes only the people ahead of you.
Worked example — decode a line
Suppose the heights from front to back, in arbitrary units, are \(4, 5, 4, 7, 6, 8, 6\). We compare each child with everyone before them.
Step 1 — child 1 (height 4): nobody ahead → \(\boxed{0}\)
Step 2 — child 2 (height 5): ahead = \(\{4\}\); taller than 5: none → \(\boxed{0}\)
Step 3 — child 3 (height 4): ahead = \(\{4,5\}\); only \(5>4\) → \(\boxed{1}\)
Step 4 — child 4 (height 7): ahead = \(\{4,5,4\}\); none exceeds 7 → \(\boxed{0}\)
Step 5 — child 5 (height 6): ahead = \(\{4,5,4,7\}\); only \(7>6\) → \(\boxed{1}\)
Step 6 — child 6 (height 8): ahead = \(\{4,5,4,7,6\}\); none exceeds 8 → \(\boxed{0}\)
Step 7 — child 7 (height 6): ahead includes \(7\) and \(8\), both taller → \(\boxed{2}\)
Sequence: \(0,\;0,\;1,\;0,\;1,\;0,\;2\)
Alternative check: the last (backmost) child can say at most \(n-1\) in a group of \(n\), because only \(n-1\) people stand ahead. This gives an instant sanity check on any sequence you write.
| Statement | Verdict | Reason |
|---|---|---|
| The first person always says \(0\). | Always true | There is nobody in front. |
| The tallest person always says \(0\). | Always true | No one ahead can be taller. |
| Saying \(0\) means you are tallest. | Sometimes true | A shorter person at the front also says \(0\). |
| A middle person cannot say \(0\). | Sometimes true | They can, if all people ahead are shorter. |
| The largest number belongs to the shortest person. | Sometimes true | A tall person behind many even taller people can also have a large count. |
2. Picking Parity
Definition: parity is the property of being even or odd. An even number can be split into pairs with nothing left over; an odd number is one more than a collection of pairs (and also one less than the next collection of pairs).
Rules for addition and subtraction
Write every even number as \(2k\) and every odd number as \(2k+1\). Then the rules follow by ordinary algebra.
Even + even: \(2a+2b=2(a+b)\) → \(\boxed{\text{even}}\)
Odd + odd: \((2a+1)+(2b+1)=2(a+b+1)\) → \(\boxed{\text{even}}\)
Even + odd: \(2a+(2b+1)=2(a+b)+1\) → \(\boxed{\text{odd}}\)
Even − odd: \(2a-(2b+1)=2(a-b-1)+1\) → \(\boxed{\text{odd}}\)
Odd − even: \((2a+1)-2b=2(a-b)+1\) → \(\boxed{\text{odd}}\)
Counting rule for a sum: only the number of odd terms matters. An even number of odd terms gives an even sum; an odd number of odd terms gives an odd sum. Even terms never change parity.
Worked example — the five-card puzzle
Five odd cards must total \(30\). There are \(5\) odd terms, and \(5\) is odd.
Step 1: pair the odd cards: \(5=2+2+1\) groups of odd cards.
Step 2: two pairs contribute an even sum; the leftover single odd card makes the total odd.
Step 3: but \(30=2\times 15\) is even. Odd cannot equal even.
Therefore the puzzle has \(\boxed{\text{no solution}}\).
Real-life application: a shop bill with an odd number of odd-priced items cannot end in an even total unless some other item changes the count. Parity rejects impossible totals before you add.
Parity of products
Rule: a product is even as soon as one factor is even, because that factor supplies a \(2\). It is odd only when every factor is odd.
Grid with \(m\times n\) cells: if either \(m\) or \(n\) is even, \(mn\) is even; if both are odd, \(mn\) is odd.
Example: \(27\times13\): both odd → \(\boxed{\text{odd}}\); \(135\times654\): \(654\) even → \(\boxed{\text{even}}\).
Parity of expressions
An expression such as \(3n+4\) changes parity as \(n\) changes. An expression of the form \(2k\) or \(2k+c\) with \(c\) even is always even; \(2k+1\) or \(2k+3\) is always odd.
| n | \(3n+4\) | Parity |
|---|---|---|
| \(3\) | \(3\times3+4=9+4=13\) | odd |
| \(8\) | \(3\times8+4=24+4=28\) | even |
| \(10\) | \(3\times10+4=30+4=34\) | even |
Rule for the nth even number: \(2n\), since every even number has a factor \(2\).
Rule for the nth odd number: compare term by term with the evens:
Evens: \(2,\;4,\;6,\;8,\dots\) Odds: \(1,\;3,\;5,\;7,\dots\)
Conclusion: \(\boxed{2n-1}\). For \(n=100\): \(2(100)-1=200-1=\boxed{199}\).
3. Magic Squares in a Grid
Definition: a magic square is a square grid in which each row, each column and each diagonal has the same total, called the magic sum.
Key total rule: adding all three row totals counts every cell exactly once. For a 3 × 3 grid filled with \(1\) to \(9\),
\(1+2+3+4+5+6+7+8+9=45\)
\(3\times\text{magic sum}=45\Rightarrow\text{magic sum}=45\div3=\boxed{15}\)
The same argument works for columns. This is why a grid whose circle total is \(5\) or \(26\) is impossible: three cells can total at least \(1+2+3=6\) and at most \(9+8+7=24\).
Building the 3 × 3 square systematically
- The centre must be \(5\): if \(9\) were central, \(9+8+\square=15\) would need \(-2\); if \(1\) were central, \(1+2+\square=15\) would need \(12\). Similarly all values except \(5\) fail.
- The numbers \(1\) and \(9\) cannot be in corners. A corner belongs to three lines; with \(1\) in a corner we would need three different pairs summing to \(14\), but only \(5+9\) and \(6+8\) work.
- So \(1\) and \(9\) sit opposite each other in the middle of an edge: \(1,\;5,\;9\) form a complete line, and the rest follow from the total \(15\).
| One 1–9 magic square | ||
|---|---|---|
| \(8\) | \(1\) | \(6\) |
| \(3\) | \(5\) | \(7\) |
| \(4\) | \(9\) | \(2\) |
Check: \(8+1+6=15\), \(3+5+7=15\), \(4+9+2=15\), \(8+3+4=15\), \(1+5+9=15\), \(6+7+2=15\), \(8+5+2=15\), \(6+5+4=15\).
General form and transformations
Rule: for nine consecutive numbers with centre \(m\), write every other cell as its offset from \(m\). One valid arrangement is:
| \(m+3\) | \(m-4\) | \(m+1\) |
| \(m-2\) | \(m\) | \(m+2\) |
| \(m-1\) | \(m+4\) | \(m-3\) |
Row total \(=(m+3)+(m-4)+(m+1)=3m+0=\boxed{3m}\)
If \(m=25\): magic sum \(=3\times25=75\); the grid becomes \(28,21,26\;/\;23,25,27\;/\;24,29,22\).
If magic sum is \(60\): \(3m=60\Rightarrow m=20\); centre \(20\) gives \(23,16,21\;/\;18,20,22\;/\;19,24,17\).
Transformation rule: adding the same number \(k\) to every cell adds \(3k\) to the magic sum; multiplying every cell by \(k\) multiplies the magic sum by \(k\). Subtracting or dividing by a fixed number also preserves equality of the lines, provided the entries stay valid numbers.
4. Nature's Favourite Sequence: Virahāṅka–Fibonacci Numbers
Rule: start \(1,2\). Every later term is the sum of the two terms before it:
\(1,\;2,\;3,\;5,\;8,\;13,\;21,\;34,\;55,\;89,\dots\)
\(T_n=T_{n-1}+T_{n-2}\quad(n\ge3)\)
Why this counts rhythms: a rhythm of \(n\) beats made of 1-beat and 2-beat syllables must begin with either \(1\) or \(2\). If it begins with \(1\), the rest has \(n-1\) beats; if it begins with \(2\), the rest has \(n-2\) beats. Hence the number of rhythms is \(C(n)=C(n-1)+C(n-2)\) — the same recurrence.
| Beats | Ways to write as 1s and 2s | Count |
|---|---|---|
| \(1\) | \(1\) | \(1\) |
| \(2\) | \(1+1,\;2\) | \(2\) |
| \(3\) | \(1+1+1,\;1+2,\;2+1\) | \(3\) |
| \(4\) | \(1+1+1+1,\;1+1+2,\;1+2+1,\;2+1+1,\;2+2\) | \(5\) |
| \(5\) | previous 4-beat ways prefixed by \(1+\), plus previous 3-beat ways prefixed by \(2+\) | \(5+3=8\) |
| \(6\) | same prefix method | \(8+5=13\) |
| \(8\) | 8th term of the sequence | \(34\) |
Parity pattern: odd, even, odd, odd, even, odd, … repeats in blocks of three. Since \(\text{odd}+\text{even}=\text{odd}\), \(\text{even}+\text{odd}=\text{odd}\), \(\text{odd}+\text{odd}=\text{even}\), the pattern reproduces itself. Thus every third term is even; the \(20\)th term is even because \(20\) is not a multiple of \(3\).
5. Digits in Disguise (Cryptarithms)
Rules for cryptarithms: (1) each letter is one fixed digit \(0\)–\(9\); (2) different letters usually mean different digits; (3) a leading letter cannot be \(0\); (4) work column by column from the units column, carrying over as needed.
Worked example — \(T+T+T=UT\)
Units column: \(3T\) ends in \(T\), so \(3T-T=2T\) is a multiple of \(10\). Thus \(T=5\) (since \(T=0\) would not give a two-digit answer).
Calculate: \(3\times5=15\), so tens digit \(U=1\), units digit \(T=5\).
\(\boxed{T=5,\;U=1,\;UT=15}\)
Worked example — \(K2+K2=HMM\)
Units: \(2+2=4\), so \(M=4\) and there is no carry.
Tens: \(K+K=2K\) must end in \(M=4\) and produce a hundreds digit \(H\).
Try \(K=7\): \(2\times7=14\), so \(M=4\), carry \(1\), \(H=1\). Check: \(72+72=144\).
\(\boxed{K=7,\;M=4,\;H=1}\)
Common Mistakes and How to Avoid Them
- Counting yourself: in the height rule, count only people in front, never yourself or people behind.
- Saying "odd + odd = odd": two odd numbers always pair up completely; the sum is even. Test with \(3+5=8\) before answering.
- Assuming a larger product is always bigger: multiplying by a fraction less than \(1\) makes a number smaller. Check the size of the multiplier.
- Forgetting the equality of all eight lines in a magic square: verify rows, columns and both diagonals before declaring success.
- Writing the nth odd number as \(2n\): \(2n\) is even; the odd sequence starts at \(1\), so use \(2n-1\).
- Allowing leading zero in a cryptarithm: \(UT\) with \(U=0\) would not be a two-digit number.
Real-life Applications
Parity checks give quick error detection in billing, ticket counts and inventory. Magic squares appear in architecture, temple art and puzzle design. Recurrence sequences model population growth, computer algorithms, musical rhythm and the arrangement of seeds in flowers. Cryptarithms train the same place-value logic used in checking account codes and digit puzzles.
Key Points
- A child's number counts taller children ahead; the front person always says \(0\).
- Even \(=2k\), odd \(=2k+1\); the parity of a sum depends only on how many odd terms there are.
- nth even \(=2n\); nth odd \(=2n-1\).
- In a 1–9 magic square the magic sum is \(15\) and the centre is \(5\).
- Virahāṅka–Fibonacci rule: add the previous two terms; parity repeats odd, even, odd.
- In cryptarithms, start from the units column and use carries.
Exam-focused Q&A
Short answer
Q. What is the parity of \(27\times13+8\)?
A. \(27\times13\) is odd (odd × odd), and \(8\) is even. Odd + even = odd, so the answer is \(\boxed{\text{odd}}\).
Q. Why can five odd numbers never total \(30\)?
A. Five odd numbers give an odd sum, while \(30\) is even.
Long answer guidance
When asked to construct a magic square, first state the total \(1+\cdots+9=45\), deduce the magic sum \(15\), fix the centre \(5\), place \(1\) and \(9\) in opposite edge centres, and complete with a check of all eight lines. Marks are awarded for the reasoning, not only the final grid.
Practice and Competency Questions
- Write a sequence for seven children in which the fourth child says \(3\). Is your answer unique?
- Is the sum \(11+13+15+17+19\) even or odd? Explain without adding.
- Find the \(50\)th odd number and the \(50\)th even number. What is their difference?
- Create a magic square with centre \(9\) and verify both diagonals.
- Write the next four Virahāṅka numbers after \(377\), and state the parity of the \(30\)th term.
- Solve \(AB+BA=CAC\), where different letters are different digits and \(A\ne0\). Show the column reasoning.
- A snake moves in 1-step and 2-step jumps. How many routes of total 7 steps can it take? Explain how you know.
Practise these with Class 7 MCQs with Answers to check each idea quickly, and consult Class 7 Mathematics Solutions for fully worked steps.