Let be a seven-digit number that is completely divisible by , where and are single-digit natural numbers such that . What is the remainder when is divided by ?
- Answer
- B
- C
- D
Answer
The remainder when is divided by is .
The seven-digit number is divisible by , which means it must satisfy divisibility by both and . The last three digits are divisible by only when or . The sum of digits is divisible by when or . Testing gives , which satisfies . Testing gives , which violates . Thus, and , giving . By Fermat's Little Theorem, , so .
Step-by-Step Solution
Key Concept
Combining composite divisibility rules (8 and 9) with Fermat's Little Theorem for large power remainder evaluation.