Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

When the base-16 integer is divided by the base 10 number , what is the remainder? Express your answer in base 10.
Solution
We have We could actually convert this to base 10 and divide by , but we can also use a clever trick here, writing as and as . Then so when we divide by , the remainder is the same as the remainder left by . This is .

(This trick may remind you of the justification for the test of divisibility by in base . That isn't a coincidence!)
Final answer
3