Solution
Let the three digit number be , where , , are digits, , and .
We are given two conditions:
- is divisible by .
- .
By the divisibility rule for , the alternating sum of digits must be a multiple of . Since and , the value of can only be or .
Case 1:
Let
Then, we get:
Since the right side is even, the left side must also be even, meaning that must be an even digit ().
If , then
Then,
This gives the number .
Check: and . So, it is valid.
Testing yields quadratic equations with no integer solutions for .
Case 2:
Let .
Since , we must have . Substituting into the expression of :
Equating this to our second condition:
Let’s test the possible sums for from to :
If , then
Substitute .
Solving this quadratic equation using the quadratic formula:
When , . This gives the number .
Check: and . So, it is valid.
Testing other values for from to yields no other integer solutions.
The only three-digit numbers satisfying the property are and .
Leave a Reply