Mary chose an even -digit number . She wrote down all the divisors of in increasing order from left to right: . At some moment Mary wrote as a divisor of . What is the smallest possible value of the next divisor written to the right of ?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
The next divisor d must share a factor with 323 = 17 * 19, since otherwise 323d > 9999 divides n; the smallest such d is 340.
Solution
Factor . Let be the next divisor of .
Both and divide , so divides and hence is at most . If shared no prime factor with , the lcm would be , impossible. So is a multiple of or of .
The multiples of just above start at ; the multiples of start at . So , and this rules out and (neither is divisible by or ).
Now check that is attainable: take
which is even and has four digits. Its divisors are products of , and none of them lies strictly between and , so really is the divisor written immediately after .
The answer is .
Why this works
Two divisors of the same number cannot be "too coprime" relative to its size: their lcm must still fit inside . A four-digit ceiling forces consecutive large divisors to share a prime factor, which converts a search over all into a search over multiples of or . Always finish with an explicit to confirm the minimum is achieved.
Alternative approach
Test the choices in order. and are coprime to , so would be a multiple of or , both far beyond four digits. works with .
The trap
Answering 324 (the next integer) or 330 without checking that n would have to be a multiple of lcm(323, d), which has five digits when d is coprime to 323.
Common mistakes
- Answering 324 (the next integer) or 330 without checking that n would have to be a multiple of lcm(323, d), which has five digits when d is coprime to 323.
- Jumping to on the theory that the next divisor after must be a multiple of it.
Techniques
Use the answer choices (mod checks, size, form) to eliminate or select · Bound the quantity above/below or estimate to pin it down