Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

There exist unique nonnegative integers and unique integers () with each either or such thatFind .
Solution
In base , we find that . In other words, In order to rewrite as a sum of perfect powers of , we can use the fact that : The answer is . Note: Solution by bounding is also possible, namely using the fact that
Final answer
21