What is the greatest three-digit positive integer for which the sum of the first positive integers is a divisor of the product of the first positive integers?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
n(n+1)/2 divides n! exactly when n+1 divides 2(n-1)!, which fails only if n+1 is prime; the largest three-digit n with n+1 prime is 996.
Solution
The sum is and the product is . Their quotient is
so the sum divides the product exactly when divides .
If is a prime , then divides none of the factors nor the , so does not divide : the sum is not a divisor. If is composite, its prime factors are all at most and appear (with room to spare) inside , so the sum does divide the product.
So we need the largest three-digit with prime. Check downward: , , and are composite, while is prime (it has no prime factor up to ). Hence .
The answer is .
Why this works
Dividing the factorial by the triangular number leaves , which turns the question into "does divide a product of smaller numbers?" That is where primes stand out: a prime only divides a product if it divides one of the factors. Reducing a fraction before reasoning about divisibility is the habit to take away.
Alternative approach
Work directly from the choices: for each from down, ask whether has all its prime factors below . , and all do (and the powers are easily covered), so those divide; is prime, so is the first failure.
The trap
Testing n = 999 and 998 too casually: 1000 and 999 are composite, so they do divide, and the first failure is n + 1 = 997.
Common mistakes
- Testing n = 999 and 998 too casually: 1000 and 999 are composite, so they do divide, and the first failure is n + 1 = 997.
- Choosing because it is the prime that appears, forgetting that the condition concerns , not .
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta · Use the answer choices (mod checks, size, form) to eliminate or select