GMAT Practice Question: What is the greatest positive integer n such that 5^n divides 10!-(2)(5!)^2 ?
Question
What is the greatest positive integer n such that 5^n divides 10!-(2)(5!)^2 ?
- 2
- 3
- 4
- 5
- 6
Topics: factorials, divisibility, number theory, prime factorization, exponents
Solution
Step 1
We first factor out the common 5! from both terms to simplify the expression.
10! - 2(5!)^2 = 5! (6 7 8 9 10 - 2 5!)
Step 2
We then multiply 6 and 7 inside the parentheses.
6 7 = 42
Step 3
We then multiply the result by 8.
42 8 = 336
Step 4
We simplify 336 9 by distributing to avoid large-factor multiplication.
336 = 300 + 36 300 9 = 2700 36 9 = 324 2700 + 324 = 3024
Step 5
We then multiply the result by 10.
3024 10 = 30240
Step 6
We then subtract twice 5! from that result to complete the parentheses.
2 5! = 2 120 = 240 30240 - 240 = 30000
Step 7
This means the expression becomes 5! times 30000.
5! 30000 = 120 30000
Step 8
We break each factor into its prime factors to find the exponent of 5 in the product.
5! = 2 3 4 5 = 2 3 (2 2) 5 = 2^3 3 5 30000 = 3 10^4 = 3 (2 5)^4 = 3 2^4 5^4
Step 9
We then combine the prime factors and apply Divisibility via Prime Exponents to find the largest power of 5 dividing the product.
2^3 3 5 2^4 3 5^4 = 2^7 3^2 5^5
Answer
5
