Let 3 a be the highest power of 3 that divides 1 0 0 0 ! . What is a ?
Note: 1 0 0 0 ! = 1 × 2 × 3 … × 9 9 9 × 1 0 0 0 .
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.
That's the exact method I used :)
Same solution.
Did exactly the same...... couldn't answer due to calc error!!!!!!!
Elegantly stated!
Did the same... But careless and got 497!
As 3^a is divided by the product of so many numbers, 1000!, the highest power of 3 that can be divided by 1000! depends on the number of factors 3 in the product of numbers from 1 to 1000.
The quantity of numbers from 1 to 1000 which can be divided by 3 at least once can be found from the smallest integer < \frac {1000}{3} , as this would show how many numbers have 3 as a factor. The result is 333.
Then, we can find the quantity of numbers with 3^2, 9, as a factor, using the same method, with a result of 111. For numbers with the factor 9, after the factor 3 has been taken care of in the earlier step, the factor 9 would become the factor 3, and so they are divided again, and are thus taken into account. So far, a can definitely be at least 444.
This continues on for factors 3^3, 27, 3^4, 81, 3^5, 243 and 3^6, 729. As 729 is the highest value of 3^x lower than 1000, it is the last power to be considered. After counting the quantity of numbers with factors 3^1, 3^2, 3^3, 3^4, 3^5 and 3^6, the highest power a of 3^a divisible by 1000! is determined to be 333+111+37+12+4+1=498.
First, we calculate the number of multiplier which is divisible by 3^6- denoted k (for the reason that 3^7 > 1000), because k.(3^6) \leq 1000, and k is an positive integer, so k=1 We continue equivalently with respect to 3^5, 3^4, 3^3, 3^2, 3^1. But in each case, we have to omit the multiplier which is divisible by 3. For example, for 3^5, we have 4 value of k (1, 23, 4), but one of those is divisible by 3, that means we may be double-counting. In the end we have the result of the product : 3^(6 1) 3^(5 3) 3^(4 8) 3^(3 25) 3^(2 74) 3^(1 222) P (P represented for the remain product which is indivisible by 3) =3^498*P Therefore we get the value of a is 498 P/s: I come from non-english-speaking country, so there definitely some mistakes about expession and grammar
For any integer d > 0 , let 1 0 0 0 = q ⋅ d + r , where q and r are integers and 0 ≤ r ≤ d − 1 is the remainder of 600 upon division by d . Then there are q numbers less than or equal to 1000 that are multiples of d .
We will calculate the number of times that 3 divides 1 0 0 0 ! and this will give us the highest power of 3. There are 333 multiples of 3, 111 multiples of 9, 37 multiples of 27, 12 multiples of 81, 4 multiples of 243, 1 multiple of 729, and 0 multiples of 2187. The multiples of 3 will contribute 1 factor of 3 each. The multiples of 9 will contribute 2 factors of 3, but we have already counted 1 factor from the multiple of 3, so they will contribute 1 additional factor of 3. Similarly, the multiples of 27, 81, 243, and 729 will contribute 1 additional factor of 3.
Therefore the highest power of 3 that divides 1 0 0 0 ! is 3 3 3 + 1 1 1 + 3 7 + 1 2 + 4 + 1 = 4 9 8 .
Note: Using the floor function, the above answer is
⌊ 3 1 0 0 0 ⌋ + ⌊ 9 1 0 0 0 ⌋ + ⌊ 2 7 1 0 0 0 ⌋ + ⌊ 8 1 1 0 0 0 ⌋ + ⌊ 2 4 3 1 0 0 0 ⌋ + ⌊ 7 2 9 1 0 0 0 ⌋ = 4 9 8 .
1000/3=333+1000/9=111+ 1000/27=37+1000/81=12+1000/243=4+1000/729=1 =498
a = i = 1 ∑ 6 ⌊ n i k ⌋ = 4 9 8 where k = 1 0 0 0 and n = 3
This solution is incomplete. Where did the formula come from? Why stop at 6 ? What are you trying to do?
We have to use the Greatest Integer Function of the floor function to find out how much of each power of 3 can go into 1 0 0 0 :
⌊ 3 1 0 0 0 ⌋ + ⌊ 3 2 1 0 0 0 ⌋ + ⌊ 3 3 1 0 0 0 ⌋ + ⌊ 3 4 1 0 0 0 ⌋ + ⌊ 3 5 1 0 0 0 ⌋ + ⌊ 3 6 1 0 0 0 ⌋ which is 4 9 8
This solution is incomplete. You didn't explain why we stop at ⌊ 3 6 1 0 0 0 ⌋ .
[1000/3]+[1000/9]+[1000/27]+[1000/81]+[1000/243]+[1000/729]=333+111+37+12+4+1=498
This solution is incomplete. Since you're not using L A T E X , you need to explain that [x] is the floor function of x. Furthermore, you did not explain the reasoning before those steps.
Problem Loading...
Note Loading...
Set Loading...
There are ⌊ 3 1 0 0 0 ⌋ = 3 3 3 multiple of 3 in the 1 0 0 0 factors of 1 0 0 0 ! . Every multiple of 3 have at least 1 factor of 3 1 , so 1 0 0 0 ! is divisible by 3 3 3 3 . Moreover, there are ⌊ 3 2 1 0 0 0 ⌋ = 1 1 1 multiple of 3 2 in the 1 0 0 0 factor of 1 0 0 0 ! . Every multiple of 3 2 has 3 × 3 as factor and note that multiple of 3 2 is also multiple of 3 1 so we have already counted the first 3 in the previous counting, thus this time we are only counting the second 3 , and this provide extra factor, 3 1 1 1 , so now we know that 1 0 0 0 ! is divisible by 3 3 3 3 ⋅ 3 1 1 1 = 3 4 4 4 . Apply the same argument on counting the number of multiple of 3 3 , 3 4 , 3 5 , 3 6 in 1 0 0 0 factor of 1 0 0 0 ! lead to a = ⌊ 3 1 0 0 0 ⌋ + ⌊ 3 2 1 0 0 0 ⌋ + ⌊ 3 3 1 0 0 0 ⌋ + ⌊ 3 4 1 0 0 0 ⌋ + ⌊ 3 5 1 0 0 0 ⌋ + ⌊ 3 6 1 0 0 0 ⌋ = 3 3 3 + 1 1 1 + 3 7 + 1 2 + 4 + 1 = 4 9 8 .
Generalization : The argument above can be generalized to the problem of determining the highest power n a that divides k ! . a = i = 1 ∑ ∞ ⌊ n i k ⌋