Let be the least positive integer greater than for which What is the sum of the digits of ?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
The gcds mean 21 | n+120 but not 9, and 60 | n+63 but not 8; solve n = 237 mod 420, then test 1077, 1497, 1917.
Solution
Translate each gcd. with means but . with means but .
Divisibility parts: and . Write ; then , so , i.e. , giving . So .
Candidates above : . Check the exclusions:
- : , digit sum , divisible by . Then . Rejected.
- : (digit sum , fine), but , so . Rejected.
- : , digit sum , not divisible by ; , and is not a multiple of . Both gcds are exactly and . Accepted.
Digit sum of : .
The answer is .
Why this works
"" is two statements: divides , and the extra prime power in beyond does not. The divisibility parts combine into a single congruence mod , producing a short list of candidates; the exclusion parts then act as a filter. With only three candidates to test, the filter is faster than encoding it algebraically.
The trap
Stopping at the first n > 1000 satisfying the divisibility parts (n = 1077, digit sum 15) without checking that the gcds are exactly 21 and 60.
Common mistakes
- Stopping at the first n > 1000 satisfying the divisibility parts (n = 1077, digit sum 15) without checking that the gcds are exactly 21 and 60.
- Checking "not divisible by " but forgetting "not divisible by ," which accepts (digit sum , choice (D)).
Techniques
Organized listing / direct enumeration · Set up the equation/formula and compute; no special trick needed