Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

When a positive integer is expressed in base 7, it is , and when it is expressed in base 5, it is . What is the positive integer in decimal?
Solution
The number is , and the number is , so . Then , so . Then must be a multiple of 3. But is also a digit in base 5, so , and . The number is .
Final answer
17