Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory junior

Problem

A number is divisible by if the number formed by its last digits is divisible by For example, the number is divisible by because is divisible by However, is not divisible by because is not divisible by

If is divisible by where represents one digit, what is the sum of the possible values of
Solution
For to be divisible by we must have divisible by We check each of the possibilities, using a calculator or by checking by hand:

is not divisible by is not divisible by is not divisible by

is divisible by

is not divisible by is not divisible by is not divisible by

is divisible by

is not divisible by is not divisible by

Therefore, the possible values of are and Thus, the answer is
Final answer
10