The six-digit number is prime for only one digit What is
- A)
- B)
- C)
- D)
- E)
Answer
E
Key insight
Divisibility rules kill every digit: even digits and 5 fail, digit sum rules out 1 and 7, and 202103 has alternating sum 0, so 11 divides it.
Solution
A six-digit prime cannot be even and cannot end in , so is one of ; choice (C) is out.
Digit sum: . This is a multiple of when () or (), so and are divisible by . Choices (A) and (D) are out.
Now test with the alternating sum of digits from the right. For : , which is divisible by , so is composite. Choice (B) is out.
The only digit left is , and the problem guarantees exactly one digit works, so is the prime.
The answer is .
Why this works
"Prime for exactly one digit" is an invitation to eliminate rather than to prove primality. Run the cheap divisibility tests in order of cost: last digit ( and ), digit sum (), alternating digit sum (). Four of the five choices fall to these tests, and the problem statement certifies the survivor.
The trap
Stopping after the rules for 2, 3 and 5 leave both 3 and 9, then guessing, instead of applying the alternating-sum test for 11.
Common mistakes
- Stopping after the rules for 2, 3 and 5 leave both 3 and 9, then guessing, instead of applying the alternating-sum test for 11.
- Miscomputing the digit sum and eliminating (sum , not a multiple of ) by mistake.
Techniques
Use the answer choices (mod checks, size, form) to eliminate or select · Set up the equation/formula and compute; no special trick needed