Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

A number is divisible by if the sum of its digits is divisible by For example, the number is divisible by but is not.

If is divisible by where and each represent a single digit, what is the sum of all possible values of the sum
Solution
For to be divisible by we must have divisible by Since and are each a single digit, we know each is between and Therefore, is between and Therefore, is between and The numbers between and that are divisible by are and

If then

If then

Therefore, the possible values of are and Our answer is then
Final answer
25