Rational Numbers | IT

Question 1

Context: Queen Ratnamanjuri left a puzzle in her will for her son Khoisnam and 99 relatives. They are in a room with 100 lockers, numbered 1 to 100.

  • Person 1 opens every locker.
  • Person 2 toggles every 2nd locker (closes if open, opens if closed).
  • Person 3 toggles every 3rd locker (3rd, 6th, 9th, ...).
  • Person 4 toggles every 4th locker (4th, 8th, 12th, ...). This continues until all 100 get their turn.

Q. 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.

Question diagram 1
Check your answer with HomiSolve it yourself, then let Homi check your steps and spot mistakes.
Solution

Khoisnam figured out that the lockers that will be open at the end are those whose numbers are perfect squares.

Step 1 — Understanding how locker states change

Each locker starts in a closed state. When a locker is toggled, its state changes. If it was closed, it becomes open. If it was open, it becomes closed.

Let us consider the final state of a locker. If a locker is toggled an odd number of times, it will end up open. If a locker is toggled an even number of times, it will end up closed.

Now, let us determine how many times each locker is toggled. Person 1 toggles every 1st locker. Person 2 toggles every 2nd locker. Person 3 toggles every 3rd locker. This pattern means that a locker, say locker number LL, is toggled by person PP if PP is a factor (or divisor) of LL. For example, locker 12 is toggled by Person 1, Person 2, Person 3, Person 4, Person 6, and Person 12. These are all the factors of 12. So, the number of times a locker LL is toggled is equal to the total number of its factors.

Diagram 1

Step 2 — Identifying lockers that remain open

We need to find which lockers are toggled an odd number of times. This means we need to find numbers that have an odd number of factors.

Let's examine the number of factors for different types of numbers: Consider a number that is not a perfect square, like 6. Its factors are 1, 2, 3, 6. These factors can be paired up: (1, 6) and (2, 3). There are 4 factors, which is an even number. Consider a number that is a perfect square, like 9. Its factors are 1, 3, 9. These factors can be paired up: (1, 9) and (3, 3). The factor 3 is paired with itself. This means it is counted only once in the list of distinct factors. So, there are 3 factors, which is an odd number.

In general, factors of a number always come in pairs (a,b)(a, b) such that a×b=the numbera \times b = \text{the number}. If the number is not a perfect square, all its factors will have a distinct partner. This results in an even number of factors. If the number is a perfect square, one factor (its square root) will be paired with itself. This means that factor is counted only once, leading to an odd total number of factors. Therefore, only perfect square numbers have an odd number of factors.

The lockers that will be open at the end are those whose numbers are perfect squares between 1 and 100. Let's list these perfect squares: 12=11^2 = 1 22=42^2 = 4 32=93^2 = 9 42=164^2 = 16 52=255^2 = 25 62=366^2 = 36 72=497^2 = 49 82=648^2 = 64 92=819^2 = 81 102=10010^2 = 100

Khoisnam figured out that the lockers corresponding to these numbers would be open.

Answer

Khoisnam figured out that a locker would be open at the end if it was toggled an odd number of times. A locker is toggled by every person whose number is a factor of the locker's number. Therefore, a locker is open if its number has an odd number of factors. Numbers with an odd number of factors are perfect squares. So, Khoisnam knew that the lockers numbered with perfect squares would be open.

The lockers that will be open at the end are: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100.

More questions in IT

Q1

Context: Queen Ratnamanjuri left a puzzle in her will for her son Khoisnam and 99 relatives. They are in a room with 100 lockers, numbered 1 to 100.

  • Person 1 opens every locker.
  • Person 2 toggles every 2nd locker (closes if open, opens if closed).
  • Person 3 toggles every 3rd locker (3rd, 6th, 9th, ...).
  • Person 4 toggles every 4th locker (4th, 8th, 12th, ...). This continues until all 100 get their turn.

Q. 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.

Q2

Does every number have an even number of factors?

Q3

Can you use this insight to find more numbers with an odd number of factors?

Q4

Context: In a room with 100 lockers, only lockers whose numbers are square numbers remain open.

Q. Write the locker numbers that remain open.

Q5

Find the squares of the first 30 natural numbers and fill in the table below.

Q6

Context: Patterns and Properties of Perfect Squares

Find the squares of the first 30 natural numbers and fill in the table below.

Q. What patterns do you notice? Share your observations and make conjectures.

Q7

If a number ends in 0, 1, 4, 5, 6 or 9, is it always a square?

Q8

Write 5 numbers such that you can determine by looking at their units digit that they are not squares.

Q9

Let us consider square numbers ending in 6: 16=4216 = 4^2, 36=6236 = 6^2, 196=142196 = 14^2, 256=162256 = 16^2, 576=242576 = 24^2, and 676=262676 = 26^2. Which of the following numbers have the digit 6 in the units place?

(i) 38238^2 (ii) 34234^2 (iii) 46246^2 (iv) 56256^2 (v) 74274^2 (vi) 82282^2

Q10

Find more such patterns by observing the numbers and their squares from the table you filled earlier.

Q11

If a number contains 3 zeros at the end, how many zeros will its square have at the end?

Q12

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?

Q13

What can you say about the parity of a number and its square?

Q14

Find how many numbers lie between two consecutive perfect squares. Do you notice a pattern?

Q15

How many square numbers are there between 1 and 100? How many are 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?

Q16

Can you see any relation between triangular numbers and square numbers? Extend the pattern shown and draw the next term.

Q17

Find whether 1156 and 2800 are perfect squares using prime factorisation.

Q18

How many cubes of side 1 cm make a cube of side 2 cm?

Q19

How many cubes of side 1 cm will make a cube of side 3 cm?

Q20

Is 9 a cube?

Q21

Can you estimate the number of unit cubes in a cube with an edge length of 4 units?

Q22

Complete the table below.

Q23

What patterns do you notice in the table above?

Q24

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?

Q25

Similar to squares, can you find the number of cubes with 1 digit, 2 digits, and 3 digits? What do you observe?

Q26

Can a cube end with exactly two zeroes (00)? Explain.

Q27

The next two taxicab numbers after 1729 are 4104 and 13832. Find the two ways in which each of these can be expressed as the sum of two positive cubes.

Q28

Context: Look at the following pattern of consecutive odd numbers: 1=1=131 = 1 = 1^3 3+5=8=233 + 5 = 8 = 2^3 7+9+11=27=337 + 9 + 11 = 27 = 3^3 13+15+17+19=64=4313 + 15 + 17 + 19 = 64 = 4^3 21+23+25+27+29=125=5321 + 23 + 25 + 27 + 29 = 125 = 5^3 31+33+35+37+39+41=216=6331 + 33 + 35 + 37 + 39 + 41 = 216 = 6^3

Later in this series, we get the following set of consecutive numbers: 91+93+95+97+99+101+103+105+107+10991 + 93 + 95 + 97 + 99 + 101 + 103 + 105 + 107 + 109

Q. Can you tell what this sum is without doing the calculation?

Q29

Find the cube roots of these numbers:

(i) 643=\sqrt[3]{64} = (ii) 5123=\sqrt[3]{512} = (iii) 7293=\sqrt[3]{729} =

Q30

Compute successive differences over levels for perfect cubes until all the differences at a level are the same. What do you notice?

← Back to Rational Numbers