How many positive perfect squares less than 1 0 6 are multiples of 2 4 ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I was being a bit dumb here: I was doing exactly the same thing but spent a lot of time unnecessarily trying to find first multiples of odd powers or 2 and then of 3 and then of both.
Log in to reply
The only flaw here is the inequality symbol he/she uses. It should only be 144 X k^2 < 10^6.
Great solution and explanation.
awesome solution..very lucid.appreciate that
nice solution
yeah cool
gr8
Cool solution. By the way, this problem is 2007 AIME 1 Problem 1.
Well done! Thanks!
Cool\
great......did the same way
great very great....
cooooooooooooooooollllllllllllllllllllllllllll
The only flaw here is the inequality symbol he/she uses. It should only be 144 X k^2 < 10^6.
In order to have this possible the prime factorization of the perfect square has to be 2x2x2x3. So for the original number we need at least 2x2x3 so that we can reach at least 2^3 and 3 when its squared . That just gives us all multiples of 12 until a 1000. So 1000/12 floored equals to 83.
Great approach
Solution in Python:
answer=0
n=1
while n<1000000:
if (n**0.5)%1==0 and n%24==0:
answer+=1
n+=1
else:
n+=1
print answer
>>> 83
See my solution with better complexity.
1 2 3 4 5 |
|
2 4 = 2 3 ⋅ 3 , so its smallest perfect square multiple is 2 3 ⋅ 3 ⋅ 2 ⋅ 3 = 2 4 ⋅ 3 2 = 1 4 4 . If we divide 1 0 6 = 1 , 0 0 0 , 0 0 0 by 1 4 4 , we would get 6 9 4 4 . 4 4 4 … ≈ 6 9 4 4 . Then, we calculate the greatest prefect square smaller than 6944, and we get 8 3 2 = 6 8 8 9 . Therefore, the number of perfect square multiples of 24 less than 1,000,000 is 8 3 .
{ root (10^6 / 144 ) } = 83.something so 83 is the ans
details
24 = 2 x 2 x 2 x 3 = 2^2 x 2 x 3
the lowest perfect square which divided by 24 is = 2^2 x 2^2 x 3^2 = 144
the 2nd lowest perfect square which divided by 24 is = 2^2 x 2^2 x 2^2 x 3^2 = 144 x 2^2
.........3rd.................................................................................................=144 x 3^2
.................................................................................................................
.................................................................................................................=144 x 83^2 = 992016
..................................................................................................................=144 x 84^2 = 1016064 > 10^6
As we are talking about perfect squares ≤ 1 0 6 , the last number whose square can be included is 1 0 0 0 .
Now , by observing some starting square numbers , we can see that 1 2 2 is the first number which can be divided by 2 4 .........The next would be 2 4 2 .........so on.
Hence , we can conclude that the multiples of 1 2 less than 1 0 0 0 will be the number of perfect squares divisible by 2 4 .
The number which is divisible by 1 2 just before 1 0 0 0 is 9 9 6 .
Therefore ,
Number if such numbers is ,
1 2 9 9 6 = 8 3
see 24=2 2 2*3 and as we have to find squares divisible by it therefore if we find nos divisble by 12 that no nos i.e. sq of those nos will itself get divided by 12 and btw 24 too as if sq no it should have repeated factors and as the sq no shld be less than 10^6 therefore their roots shld be less than 1000 and ur done by jst finding the no nos divisible by 12 below 1000
The prime factorization of 24 is 2^3.3. Thus, each square must have at least 3 factors of 2 and 1 factor of 3 and its square root must have 2 factors of 2 and 1 factor of 3. This means that each square is in the form (12c)^2, where c is a positive integer less than sqrt{10^6}. that gives us 1000/12=83
12^2 is 144 which is a multiple of 24, 12 2^2 is a multiple of 24, ................................................ till 12 x^2 is a multiple of 24, such that x takes the value less than square root of 10^6... on solving we get x=83.333 therefore ans is 83
24 can be split into 6 and 4, so for a number to be a multiple of 24 it has to be multiples of both 6 and 4 at the same time. This is to make sure we dont miss out any perfect numbers, which will be explained later.
To make things easier, take the LCM of the 6 and 4, which would be 12. Making it multiples of 12 would mean that they are always divisible by 6 or 4 at the same time.
4,8,12
6,12
Instead of trying to guess the perfect squares like 144 or 576, it is easier to start before the number is squared
12^2, 24^2, 36^2, 48^2 ..... and so on
All these will be multiples of 24, as they are divisible by 6 and 4 at the same time. So it continues until it reaches 1000^2 since it cant reach past a million. Bear in mind it needs to start squaring from multiples of 12 and not start squaring from multiples of 24 as you miss numbers like 36^2, 60^2 and others when u start with 24.
To find the number of multiples of 12 that are before a thousand simply take 1000 and divide by 12.
1000/12 = 83.333333
So you have,
(12 x 1)^2, (12 x 2)^2 ......... until (12 x 83)^2 all of which are multiples of 24
1-83 --> 83 numbers
The prime factorization of 24 is 2^3 \cdot 3. Thus, each square must have at least 3 factors of 2 and 1 factor of 3 and its square root must have 2 factors of 2 and 1 factor of 3. This means that each square is in the form (12c)^2, where c is a positive integer less than \sqrt{10^6}. There are \left\lfloor \frac{1000}{12}\right\rfloor = 083
Nearest squared number multiple of 24 is 144. So the numbers have to be squared number multiples of 144 to be a perfect square. (10^6/144)^0.5 = 83.3. So answer = 83
All of the perfect squares that are multiples of 24 are going to be squares of the multiples of 12, so all you really have to do is found out how many times 1 2 fits into 1 0 6 = 1 0 3 = 1 0 0 0 . That can easily be done by dividing 1000 by 12, and getting the floor of that value (rounding down).
1 2 1 0 0 0 = 8 3 . 3 3 3 . . . = 8 3
24 can be written as = 2 × 2 × 2 × 3 = 2 3 × 3
Any multiple of 24 which is a perfect square should have its prime factorization as 2 4 × 3 2 × n 2 where n is a natural number.
So, the numbers which we have to find have to be in the form of 1 4 4 × n 2 < 1,000,000 = n 2 < 1 4 4 1 0 0 0 0 0 0 = n 2 < 6944.44
8 3 2 < 6944.44 < 8 4 2 .
So, there will be 83 positive perfect squares less than 1 0 6 which would be multiple of 24.
Whenever there is a question on perfect squares, it is a good idea to factor the number given:
2
4
=
2
3
×
3
1
In order to be a perfect square, all the exponents in the prime factorization of the number must be even. The lowest number that is a multiple of 24 that satisfies this condition is
2
4
×
3
2
=
1
4
4
.
Now, every number that satisfies the condition of being a perfect square and a multiple of 24 must be in the form of:
1
4
4
×
n
where n is a perfect square. Note: A perfect square times a perfect square is another perfect square.
Given the bound:
0
<
1
4
4
n
<
1
0
6
, the number of solutions for n is the number of perfect squares under
1
4
4
1
0
6
:
n
=
⌊
1
4
4
1
0
6
⌋
=
8
3
.
we can break down 24 into 2 2 2 3... since each prime factor of positive perfect squares has to come in pair, the first positive perfect squares which is a multiple of 24 is 144 ( 2 2 2 3 ) * ( 2 3 )... to find the next number, we just need to multiply 144 with another perfect squares... the nearest number to 10^6 is 144 (83)^2... thus the quantity of the approptiate number is 83
Problem Loading...
Note Loading...
Set Loading...
First, find the factors of 2 4 = ( 2 × 2 × 2 × 3 ) .
So the first multiple of 24 which is a perfect square is ( 2 × 2 × 2 × 3 ) × 2 × 3 = 1 4 4
Now, any multiple of 144 is a multiple of 24 too. So, the numbers which are perfect squares are
1 4 4 × 1 2
1 4 4 × 2 2
1 4 4 × 3 2
... and so on, such that 1 4 4 × k 2 ≤ 1 0 6
Solving this, we get k ≤ 8 3 . 3 3 3
Hence, the answer is 8 3 .