This problem is open to all First Year and Third Year students only of Saint Mary's Academy of Capiz.
After the drill
the 1 000 PMA cadets lined up and entered the school as follows. The first
cadet opened all the 1 000 lockers. The second cadet closed all the lockers
with even numbers. The third cadet “changed “all lockers that were numbered
with multiples of 3 by closing those that were opened and opening those that
were closed. The fourth cadet changed each locker whose numbered was a multiple
of 4, and so on. After all 1 000 cadets had entered the building in this
fashion, how many lockers were left open?
Show your process. There will be three(3) tickets to be given to students who can answer this problem.


8 comments:
Answer: 500 lockers were left open
Solution:
There are 1000 lockers.
Cadet 1 hit all lockers that are divisible by 1. (All lockers obviously)
Cadet 2 hit all lockers that are divisible by 2. (2,4,6,8,etc).
Cadet 3 hit all lockers that are divisible by 3.
(3,6,9,etc).
This pattern goes on until the 1000th cadet.
So the lockers, therefore, will be hit according to the number of their factors.
Example:
Locker 1 will be hit for only 1 time because its factor is only 1. (1 x 1)
Locker 2 will be hit 2 times because it has two factors: 2 and 1.
Locker 3 will be hit 2 times also because it has two factors: 3 and 1.
Locker 4 will be hit 3 times since it has 3 factors: 1, 4 and 2.
The pattern is continuous until the 1000th locker.
If the number of factors are even, then the locker will be closed. If it is odd, the locker will be open.
Example:
If locker 4 is hit 3 times, then it will be open in the end. (Open, close, open)
So if all of the lockers has finished being hit, the pattern will be like this:
Lockers
1-Opened 9-opened
2-Closed 10-closed
3-closed 11-closed
4-opened 12-opened
5-closed 13-closed
6-opened 14-opened
7-opened 15-opened
8-closed 16-closed
This will be the pattern every 8 lockers. so in every 8 lockers, 4 of them are closed and 4 of them are opened.
There are 125 8's in 1000 (1000/8=125).
So 125 times 4 (because in 8 lockers, 4 of them are open) is equal to 500.
Therefore, there are 500 lockers left open.
P.S. Explaining the solution is kind of harder than solving the problem itself. haha.
Angelica Bernadette P. Deslate III-OLMM
Try ko lang sir :)
ANSWER:
500
Solution:
1. The open lockers (those changed an odd number of times) are #1, 4, 9, 16, 25, 36, ...(the perfect squares).
2. The lockers touched exactly twice are those with prime numbers: 2, 3, 5, 7, 11, 13, ...
3. Locker #20 was changed by students #1, 2, 4, 5, 10, and 20 (all the divisors of 20).
Each locker gets changed by the cadets corresponding to the locker number's divisors, for example 1, 2, 4, 5, 10, and 20 for locker #20.
A prime number has only itself and 1 as its two factors (e.g. 1 and 2, 1 and 3, 1 and 17), so the prime-numbered lockers are the ones touched exactly twice.
Looking at a particular locker number, say 20, each factor above the square root has a corresponding factor (or quotient) below the square root: 1 and 20; 2 and 10; 4 and 5.
Therefore almost all lockers will have an EVEN number of divisors, and be closed after all the students passed through.
The only numbers with an ODD number of divisors are the perfect squares, since the square root is itself a factor and is represented by only one student, not two. Think of locker #100. Even though 10x10 = 100, the set of factors is 1, 2, 4, 5, 10 (only once!), 20, 25, 50, 100.
-Manuel Alparaque II (I-OLROS)
try lng
Answer: 31
Solution:
One thing we can do is to let the first 10
cadets go do their open/
close with the lockers. The cadets who come after them are not
going to touch lockers 1-10, so in the first batch lockers 1, 4, and 9 are open and the
others are closed.The next 10 cadets will also continue the pattern. Then the first 20 lockers
are through being touched, lockers 1, 4, 9, and 16 are the only ones in the first 20 that are still open.So the pattern is
Let's take a locker, like 48. It gets it's state
altered once for every student whose number in line is an exact divisor of 48. Its's like this
this Cadet leaves locker 48
1 open
2 shut
3 open
4 shut
6 open
8 shut
12 open
16 shut
24 open
48 shut
48 has an even number of divisors which is ten, namely 1,2,3,4,6,8,12,16,24,48. So the locker goes open-shut-open-shut ...
and ends up shut. Any locker number that has an even number of divisors will end up shut.
here are the locker numbers up
to 100 that are left open:
1,4,9,16,25,36,49,64,81,100.
multiply these numbers together.
When you understand how to describe them, you will see that 31 of the
1000 lockers are still open.
-Manuel Alparaque II (I-OLROS)
2nd try if it's wrong guess im gonna have to try again.
Follow up of my answer earlier sir...
THE lockers left open were lockers 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, 961
Because they are perfect squares and have an odd number of factors
16 for example has 5 factors :1,2,4,8, and 16
so every locker left open have an odd number of factors
-Manuel Alparaque II
(follow up for my 2nd answer)
My answer is:
500 lockers were left open
Solution:
There are 1000 lockers.
1.The first cadet open all lockers.(That mean's all 1000 lockers)
2.The second cadet closed all the lockers with even numbers or prime numbers.(That mean's 2,4,6,8.....)
3.The third cadet “changed “all lockers that were numbered, with multiplied by 3 and closing ,those were opened and opening and were also closed. The open lockers are those changed odd number all times like: 3 and 1...and they were also perfect squares.
4.The fourth cadet changed each locker whose numbered was a multiple of 4 that has the pattern 1,4 and 2.
As I observe the locker is alternating opened,closed,opened,closed and continuously the pattern goes to 1000.
For example:
1-opened 2- closed 3-opened 4-closed 5-opened so on and so fort…… 1-10, so in the first batch lockers 1, 4, and 9 are open and the
Each locker gets changed with the cadets hit the locker number's divisors.
Therefore I conclude a prime number has only 1 one itself as its two factors, so the lockers that is prime number is touched by one and exactly at twice.
-Therese Vlou Patricio
(III-OLHC)
Weh vlou. haha.
answer:333.3 try lang kung magtama.Iam not sure of that answer. FR.GHIZTER ATINON 1ST YEAR OLMC
The answer is 31.
Congratulations to Manuel Alparaque of I - OLROS!
Since this is your second try, you will receive only 2 tickets
Post a Comment