NCERT Solutions Class 8 Maths Chapter 1 In-Text Questions — A Square and A Cube
NCERT Class 8 Mathematics — Ganita Prakash Part 1, Chapter 1 A Square and A Cube, the questions in the running text (sections 1.1 and 1.2). All 41 questions solved.
These are the small “?” questions scattered through the chapter. They build one story: a number is a perfect square when its prime factors pair up, and a perfect cube when they group in threes. Everything else (last digits, zeros, odd-number sums, roots) follows from those two facts.
Key insight. Count factors, pair them up. A factor that pairs with itself ($n \times n$) is what makes a square special, and a prime factor that appears in a group of three is what makes a cube special.
Section 1.1 Square Numbers: the locker puzzle
Add up groups of odd numbers and see each total is a cube. Open full size
Question 1
Queen Ratnamanjuri’s will describes $100$ lockers and $100$ people. Person $1$ opens every locker, Person $2$ toggles every $2$nd locker, Person $3$ every $3$rd locker, and so on up to Person $100$. Before the process begins, Khoisnam realises that he already knows which lockers will be open at the end. How did he figure out the answer? (Hint: find out how many times each locker is toggled.)
Solution. Locker $k$ is toggled once by every person whose number divides $k$, so the number of toggles equals the number of factors of $k$. The locker starts closed, so it ends open only if it is toggled an odd number of times. Factors come in partner pairs $(a, k/a)$, which gives an even count, unless some factor is its own partner, that is $k = n \times n$. So exactly the perfect-square lockers are left open.
The lockers whose numbers are perfect squares: $1, 4, 9, 16, 25, 36, 49, 64, 81, 100$.
Question 2
Does every number have an even number of factors?
Solution. Factors pair up with their partners, which suggests an even count. But the book’s boxes for $1$, $4$ and $9$ show the pair $1\times1$, $2\times2$, $3\times3$, where both partners are the same number and so count only once. Then $1$ has one factor, $4$ has three ($1, 2, 4$) and $9$ has three ($1, 3, 9$).
No. Numbers such as $1$, $4$ and $9$ have an odd number of factors.
Question 3
Can you use this insight to find more numbers with an odd number of factors?
Solution. Any number $n = m \times m$ has the repeated pair $(m, m)$, which counts once, while every other factor still has a different partner. So the total is odd. For $36$, the pair $6\times6$ is the unpaired one: the factors are $1, 2, 3, 4, 6, 9, 12, 18, 36$, which is $9$.
Yes. Every perfect square has an odd number of factors, for example $16, 25, 36, 49$.
Question 4
Write the locker numbers that remain open.
Solution. From the reasoning in Question 1, the open lockers are the squares $1^2, 2^2, \dots, 10^2$. The next square, $11^2 = 121$, is beyond $100$.
$1, 4, 9, 16, 25, 36, 49, 64, 81, 100$
Question 5
Khoisnam collects word clues from these $10$ lockers and reads, “The passcode consists of the first five locker numbers that were touched exactly twice.” Which are these five lockers?
Solution. A locker is touched once for each factor, so “touched exactly twice” means exactly two factors, $1$ and the number itself. These are the primes. Locker $1$ is touched only once, so it does not count. The first five primes give the code.
Lockers $2, 3, 5, 7, 11$ (the code $2\text{-}3\text{-}5\text{-}7\text{-}11$).
Section 1.1 Patterns and properties of perfect squares
Question 6
Find the squares of the first $30$ natural numbers and fill in the table.
Solution. Multiply each number by itself. A quick way to move down the table is that $n^2$ to $(n+1)^2$ increases by the odd number $2n+1$, so $12^2 = 121 + 23 = 144$. Each entry here was computed directly.
| $n$ | $n^2$ | $n$ | $n^2$ | $n$ | $n^2$ |
|---|---|---|---|---|---|
| $1$ | $1$ | $11$ | $121$ | $21$ | $441$ |
| $2$ | $4$ | $12$ | $144$ | $22$ | $484$ |
| $3$ | $9$ | $13$ | $169$ | $23$ | $529$ |
| $4$ | $16$ | $14$ | $196$ | $24$ | $576$ |
| $5$ | $25$ | $15$ | $225$ | $25$ | $625$ |
| $6$ | $36$ | $16$ | $256$ | $26$ | $676$ |
| $7$ | $49$ | $17$ | $289$ | $27$ | $729$ |
| $8$ | $64$ | $18$ | $324$ | $28$ | $784$ |
| $9$ | $81$ | $19$ | $361$ | $29$ | $841$ |
| $10$ | $100$ | $20$ | $400$ | $30$ | $900$ |
$1^2$ to $30^2$: $1, 4, 9, 16, 25, 36, 49, 64, 81, 100$; $121, 144, 169, 196, 225, 256, 289, 324, 361, 400$; $441, 484, 529, 576, 625, 676, 729, 784, 841, 900$.
Question 7
What patterns do you notice? Share your observations and make conjectures.
Solution. This is open-ended, so any true observation is welcome. Some good ones from the table: every square ends in $0, 1, 4, 5, 6$ or $9$ and never in $2, 3, 7$ or $8$; the squares of $1, 9, 11, 19, 21, 29$ all end in $1$; squares of numbers ending in $5$ end in $25$; the gaps between consecutive squares are $3, 5, 7, 9, \dots$, the odd numbers.
Open-ended. For example: squares end only in $0, 1, 4, 5, 6, 9$, and the gaps between consecutive squares are consecutive odd numbers.
Question 8
If a number ends in $0, 1, 4, 5, 6$ or $9$, is it always a square?
Solution. The table shows these are the only possible last digits of a square, but that does not run the other way round. A single counter-example is enough: $26$ ends in $6$ and so do $16$ and $36$, yet $26$ lies between $5^2 = 25$ and $6^2 = 36$ and is not a square. Similarly $10, 11, 14, 15, 19$ are not squares.
No. For example $26$ ends in $6$ but is not a square.
Question 9
Write $5$ numbers such that you can determine by looking at their units digit that they are not squares.
Solution. A square cannot end in $2, 3, 7$ or $8$, so any number ending in one of these digits is certainly not a square. Many answers are fine.
For example $12, 23, 37, 48, 53$ (any numbers ending in $2, 3, 7$ or $8$).
Question 10
The squares $1^2, 9^2, 11^2, 19^2, 21^2$ and $29^2$ all have $1$ in their units place. Write the next two squares.
Solution. A square ends in $1$ exactly when the number ends in $1$ or $9$, since $1\times1$ and $9\times9=81$ both end in $1$. After $29$ the next such numbers are $31$ and $39$. Then $31^2 = 961$ and $39^2 = 1521$.
$31^2 = 961$ and $39^2 = 1521$.
Question 11
Square numbers can end in $6$: $16 = 4^2$, $36 = 6^2$, $196 = 14^2$, $256 = 16^2$, $576 = 24^2$, $676 = 26^2$. Which of the following have the digit $6$ in the units place? (i) $38^2$ (ii) $34^2$ (iii) $46^2$ (iv) $56^2$ (v) $74^2$ (vi) $82^2$
Solution. The units digit of a square depends only on the units digit of the number. A square ends in $6$ when the number ends in $4$ or $6$ (since $4\times4=16$ and $6\times6=36$). So $34, 46, 56, 74$ qualify. The number $38$ ends in $8$ and $8\times8=64$ gives $4$; the number $82$ ends in $2$ and $2\times2=4$ gives $4$.
(ii) $34^2$, (iii) $46^2$, (iv) $56^2$, (v) $74^2$.
Question 12
Find more such patterns by observing the numbers and their squares from the table you filled earlier.
Solution. Open-ended. Some patterns that really hold: numbers ending in $4$ or $6$ give squares ending in $6$; numbers ending in $5$ give squares ending in $25$ (for example $15^2=225$, $25^2=625$); numbers ending in $2$ or $8$ give squares ending in $4$; numbers ending in $3$ or $7$ give squares ending in $9$.
Open-ended. For example: numbers ending in $5$ have squares ending in $25$, and numbers ending in $3$ or $7$ have squares ending in $9$.
Question 13
If a number contains $3$ zeros at the end, how many zeros will its square have at the end?
Solution. The book’s cloud diagram shows one zero becoming two ($10^2=100$) and two zeros becoming four ($100^2 = 10000$). In general a number ending in $n$ zeros is $k\times10^n$ and its square is $k^2\times10^{2n}$. With $n=3$ the square ends in $6$ zeros, for example $2000^2 = 4{,}000{,}000$.
$6$ zeros.
Question 14
What do you notice about the number of zeros at the end of a number and the number of zeros at the end of its square? Will this always happen? Can we say that squares can only have an even number of zeros at the end?
Solution. Write the number as $k\times10^n$ where $k$ does not end in $0$. Its square is $k^2\times10^{2n}$, and $k^2$ does not end in $0$ either, so the square has exactly $2n$ zeros. That is double, and it always happens. Since $2n$ is always even, a square can only have an even number of zeros at the end.
The square has double the number of zeros. Yes, this always happens, so squares have only an even number of zeros at the end.
Question 15
What can you say about the parity of a number and its square?
Solution. Even $\times$ even is even, and odd $\times$ odd is odd. So the square keeps the parity of the number: $4^2 = 16$ is even and $5^2 = 25$ is odd.
A number and its square have the same parity: the square of an even number is even and the square of an odd number is odd.
Section 1.1 Perfect squares and odd numbers
Question 16
Using the pattern above, find $36^2$, given that $35^2 = 1225$.
Solution. The sum of the first $n$ odd numbers is $n^2$. So $1225$ is the sum of the first $35$ odd numbers, and $36^2$ is that sum plus the $36$th odd number: $36^2 = 1225 + 71 = 1296$.
$36^2 = 1296$
Question 17
How do we find the $36$th odd number?
Solution. The odd numbers go $1, 3, 5, \dots$, each $2$ more than the last, and the $n$th is one less than $2n$. For $n=36$ this is $2\times36-1 = 71$.
$71$
Question 18
What is the $n^{\text{th}}$ odd number?
Solution. The first is $1 = 2\times1-1$, the second is $3 = 2\times2-1$, the third is $5=2\times3-1$, so the pattern is $2n-1$.
$2n-1$
Question 19
Find how many numbers lie between two consecutive perfect squares. Do you notice a pattern?
Solution. The gap is $(n+1)^2 – n^2 = 2n+1$, so the numbers strictly between $n^2$ and $(n+1)^2$ number $2n$. Between $3^2 = 9$ and $4^2 = 16$ there are $6$ numbers ($10$ to $15$). The pattern is $2, 4, 6, 8, \dots$ as you go up the squares. NCERT’s own answer says the same thing: if $p$ and $q$ are consecutive squares, there are $q-p-1$ numbers between them.
There are $2n$ numbers between $n^2$ and $(n+1)^2$ (equivalently $q-p-1$ between consecutive squares $p$ and $q$). Yes, there is a pattern.
Question 20
How many square numbers are there between $1$ and $100$? How many between $101$ and $200$? Using the table of squares you filled earlier, enter the values below, tabulating the number of squares in each block of $100$. What is the largest square less than $1000$?
Solution. List the squares and sort them into blocks. Block $1$ to $100$ has $1, 4, \dots, 100$, that is $10$. Block $101$ to $200$ has $121, 144, 169, 196$. Block $201$ to $300$ has $225, 256, 289$, and so on. Since $31^2 = 961$ and $32^2 = 1024$, the largest square below $1000$ is $961$.
| Block | $1$–$100$ | $101$–$200$ | $201$–$300$ | $301$–$400$ | $401$–$500$ |
|---|---|---|---|---|---|
| Squares | $10$ | $4$ | $3$ | $3$ | $2$ |
| Block | $501$–$600$ | $601$–$700$ | $701$–$800$ | $801$–$900$ | $901$–$1000$ |
|---|---|---|---|---|---|
| Squares | $2$ | $2$ | $2$ | $2$ | $1$ |
Counts: $10, 4, 3, 3, 2, 2, 2, 2, 2, 1$. The largest square less than $1000$ is $961 = 31^2$.
Section 1.1 Perfect squares and triangular numbers
Question 21
Can you see any relation between triangular numbers and square numbers? Extend the pattern shown and draw the next term. (The triangular numbers are $1, 3, 6, 10, 15$; the figure shows $1+3=4=2^2$, $3+6=9=3^2$, $6+10=16=4^2$.)
Solution. Two dot-triangles of consecutive sizes fit together to make a square of dots. So the sum of two consecutive triangular numbers is a perfect square. The next pair of triangular numbers is $10$ and $15$, giving a $5\times5$ square of dots: $10 + 15 = 25 = 5^2$.
The sum of two consecutive triangular numbers is a square. The next term is $10+15 = 25 = 5^2$.
Section 1.1 Square roots
Question 22
The area of a square is $49$ sq. cm. What is the length of its side?
Solution. Area is side times side, so side$^2 = 49$. Since $7\times7 = 49$, the side is $7$ cm.
$7$ cm
Question 23
What is the square root of $64$?
Solution. Both $8\times8$ and $(-8)\times(-8)$ equal $64$, so $64$ has two square roots, $+8$ and $-8$. The chapter then agrees to use the symbol $\sqrt{\ }$ for the positive root only.
$\sqrt{64} = 8$ (the positive square root; $-8$ is also a square root, since $(-8)^2 = 64$).
Question 24
Given a number, such as $576$ or $327$, how do we find out if it is a perfect square? If it is, how can we find its square root?
Solution. Prime-factorise and see whether the factors can be split into two identical groups. $576 = 2^6\times3^2 = (2^3\times3)^2 = 24^2$, so it is a square with root $24$. For $327 = 3\times109$ both primes appear once, so $327$ cannot be split in two equal groups and is not a square (its units digit $7$ already says so).
Prime-factorise: it is a perfect square if every prime appears an even number of times, and the root is the product of one from each pair. $576$ is a square with $\sqrt{576}=24$; $327$ is not.
Question 25
Is $324$ a perfect square?
Solution. $324 = 2\times2\times3\times3\times3\times3$. Group the factors in pairs: $(2\times2)\times(3\times3)\times(3\times3)$. Every prime has an even power, so $324 = (2\times3\times3)^2 = 18^2$.
Yes, $324 = 18^2$, so $\sqrt{324} = 18$.
Question 26
Is $156$ a perfect square?
Solution. $156 = 2\times2\times3\times13$. The factors $3$ and $13$ cannot be paired. As a cross-check, $12^2 = 144 < 156 < 169 = 13^2$.
No.
Question 27
Find whether $1156$ and $2800$ are perfect squares using prime factorisation.
Solution. $1156 = 2^2\times17^2 = (2\times17)^2 = 34^2$, so it is a square. $2800 = 2^4\times5^2\times7$, and the single $7$ cannot be paired, so it is not.
$1156$ is a perfect square ($34^2$); $2800$ is not.
Section 1.2 Cubic Numbers
Question 28
How many cubes of side $1$ cm will make a cube of side $3$ cm?
Solution. The big cube is $3$ layers, each layer is $3\times3 = 9$ small cubes, so $3\times3\times3 = 27$.
$27$
Question 29
Is $9$ a cube?
Solution. $2^3 = 8$ and $3^3 = 27$, and $9$ falls between them, so it is not the cube of any natural number. Alternatively, $9 = 3\times3$ has the prime $3$ only twice, not in a group of three.
No.
Question 30
Can you estimate the number of unit cubes in a cube with an edge length of $4$ units?
Solution. Each layer is $4\times4 = 16$ unit cubes and there are $4$ layers, so $4\times4\times4 = 64$.
$64$
Question 31
Complete the table of cubes ($1^3$ to $20^3$).
Solution. Multiply the square by the number again: $6^3 = 36\times6 = 216$, $7^3 = 49\times7 = 343$, $8^3 = 64\times8 = 512$, $9^3 = 81\times9=729$, $10^3=1000$, $12^3 = 144\times12 = 1728$, $15^3 = 225\times15 = 3375$, $16^3 = 256\times16=4096$, $20^3 = 400\times20 = 8000$. The other entries ($1, 8, 27, 64, 125, 1331, 2197, 2744, 4913, 5832, 6859$) are given in the book.
$6^3=216$, $7^3=343$, $8^3=512$, $9^3=729$, $10^3=1000$, $12^3=1728$, $15^3=3375$, $16^3=4096$, $20^3=8000$.
Question 32
What patterns do you notice in the table above?
Solution. Open-ended. Some true patterns: cubes of even numbers are even and cubes of odd numbers are odd; $1^3, 5^3, 6^3$ end in $1, 5, 6$ just like the number itself; $2^3$ ends in $8$ and $8^3$ ends in $2$, and likewise $3^3$ ends in $7$ and $7^3$ ends in $3$; the cube of a number ending in $0$ ends in $000$.
Open-ended. For example: odd numbers have odd cubes, even numbers have even cubes, and the units digits pair up ($2 \leftrightarrow 8$, $3 \leftrightarrow 7$).
Question 33
We know that $0, 1, 4, 5, 6, 9$ are the only last digits possible for squares. What are the possible last digits of cubes?
Solution. The last digit of $n^3$ depends only on the last digit of $n$: $0\to0$, $1\to1$, $2\to8$, $3\to7$, $4\to4$, $5\to5$, $6\to6$, $7\to3$, $8\to2$, $9\to9$. All ten digits appear, so unlike squares, cubes can end in any digit.
Any digit: $0, 1, 2, 3, 4, 5, 6, 7, 8$ or $9$.
Question 34
Similar to squares, can you find the number of cubes with $1$ digit, $2$ digits and $3$ digits? What do you observe?
Solution. $1^3 = 1$ and $2^3 = 8$ are $1$-digit, so there are $2$. $3^3 = 27$ and $4^3 = 64$ are $2$-digit: $2$ of them. $5^3 = 125$ up to $9^3 = 729$ are $3$-digit: $5$ of them. Then $10^3 = 1000$ already has $4$ digits. Squares gave $3, 6, 22$ for the same ranges, so cubes are much sparser.
$1$-digit cubes: $2$ ($1, 8$). $2$-digit cubes: $2$ ($27, 64$). $3$-digit cubes: $5$ ($125, 216, 343, 512, 729$). Cubes are much rarer than squares.
Question 35
Can a cube end with exactly two zeroes ($00$)? Explain.
Solution. A cube ending in $0$ comes from a number ending in $0$. If the number is $k\times10^m$ with $k$ not ending in $0$, its cube is $k^3\times10^{3m}$, which ends in exactly $3m$ zeros. The number of final zeros is always a multiple of $3$, so it is never exactly $2$.
No.
Question 36
The next two taxicab numbers after $1729$ are $4104$ and $13832$. Find the two ways in which each can be expressed as the sum of two positive cubes.
Solution. Compare with $1729 = 1^3+12^3 = 9^3+10^3$. For $4104$, try $2^3 = 8$: then $4104 – 8 = 4096 = 16^3$. Another way: $9^3 + 15^3 = 729 + 3375 = 4104$. For $13832$, try $2^3 = 8$: $13832 – 8 = 13824 = 24^3$. Another way: $18^3 + 20^3 = 5832 + 8000 = 13832$.
$4104 = 2^3 + 16^3 = 9^3 + 15^3$ and $13832 = 2^3 + 24^3 = 18^3 + 20^3$.
Question 37
The book’s pattern of consecutive odd numbers (for $1^3, 2^3, \dots, 6^3$) continues with $91 + 93 + 95 + 97 + 99 + 101 + 103 + 105 + 107 + 109$. Can you tell what this sum is without doing the calculation?
Solution. The sums are $1^3, 2^3, 3^3, \dots$, with $n$ odd numbers in the $n$th line. This line has $10$ numbers, so it is $10^3$. As a check, the average is $(91+109)/2 = 100$ and $10\times100 = 1000$. NCERT’s own answer is $10^3 = 1000$.
$10^3 = 1000$
Section 1.2 Cube roots
Question 38
Let us check if $3375$ is a perfect cube.
Solution. $3375 = 3\times3\times3\times5\times5\times5$. The factors split into three identical groups of $(3\times5)$, so $3375 = (3\times5)^3 = 15^3$. Equivalently, $3375 = 3^3\times5^3$.
Yes, $3375 = 15^3$, so $\sqrt[3]{3375} = 15$.
Question 39
Is $500$ a perfect cube?
Solution. $500 = 2\times2\times5\times5\times5$. The two $2$s cannot make a group of three, so the factors cannot be split into three identical groups. Cross-check: $7^3 = 343 < 500 < 512 = 8^3$.
No.
Question 40
Find the cube roots of these numbers.
Solution. Each number is a known cube from the table: $4^3 = 64$, $8^3 = 512$, $9^3 = 729$.
(i) $\sqrt[3]{64}$
$4$
(ii) $\sqrt[3]{512}$
$8$
(iii) $\sqrt[3]{729}$
$9$
Question 41
Compute successive differences over levels for perfect cubes until all the differences at a level are the same. What do you notice?
Solution. For squares the same method stops after two levels (the second level is all $2$). For cubes $1, 8, 27, 64, 125, 216$: level one is $7, 19, 37, 61, 91$; level two is $12, 18, 24, 30$; level three is $6, 6, 6$. So it takes three levels, and the constant is $6$.
After three levels all the differences are the same, equal to $6$ (squares needed two levels, with constant $2$).
Common mistakes
- Question 5: Including locker $1$ in the passcode. It is touched only once, so it is not “touched exactly twice”.
- Question 8: Thinking a last digit of $0, 1, 4, 5, 6$ or $9$ proves a square. The digit can only rule a number out, never in: $26$ ends in $6$ but is not a square.
- Question 11: Looking at the units digit of the number (like $38$ or $82$) instead of working out what its square ends in.
- Question 13 and 14: Saying a number with $3$ zeros has a square with $3$ zeros. Every zero doubles, because $10^n$ squared is $10^{2n}$.
- Question 19: Answering $2n+1$, which is the difference $(n+1)^2-n^2$. The numbers strictly between are one fewer, $2n$.
- Question 35: Forgetting that three factors of $10$ appear for each zero of the number, so a cube cannot stop at $00$.
Practise next
- Is $1764$ a perfect square? Find its square root by prime factorisation. (Yes, $1764 = 2^2\times3^2\times7^2$, so $\sqrt{1764}=42$.)
- Is $1728$ a perfect cube, and what is its cube root? (Yes, $1728 = 2^6\times3^3 = 12^3$, so $\sqrt[3]{1728}=12$.)
- Move on to Figure it Out, page 10 and Figure it Out, page 16, or test yourself with the free chapter quiz.
Done with this exercise? Try the short quiz on the whole chapter — free, no sign-in needed.

Doubts are answered by Shiwam, usually within a day. Ask about this question specifically — a general question about the chapter is better asked in class.