Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

Find the number of even digits in the base-7 representation of .
Solution
We begin by converting into base-7. Since is the largest power of 7 that is less than 403, and it can go into the given number once, the coefficient of the term will be 1. From here, we are left with a remainder of . The largest power of 7 less than this number is , and the largest multiple of 49 that is less than 60 is itself. This leaves us with , which we can express as . So, we find that , which only has even digit.
Final answer
1