2020 AIME II Problem 5
Problem 5 of 15EasierNumber TheoryArithmeticProblem-Solving Techniques
For each positive integer let be the sum of the digits in the base-four representation of and let be the sum of the digits in the base-eight representation of For example, and the digit sum of is so Let be the least value of such that the base-sixteen representation of cannot be expressed using only the digits through Find the remainder when is divided by
Your answer
Integer from 0 to 999
Show solution
Solution
The smallest value whose base-sixteen representation uses a digit beyond is Thus we seek the least for which the base-eight digit sum of is Checking possible values of in order, every value less than has base-eight digit sum at most while has digit sum Since the least achieving a given base-four digit sum increases with that sum, we want the least with
A base-four digit is at most so a digit sum of requires at least digits, and the smallest -digit choice is a leading followed by ten s:
The remainder when is divided by is
Tagged: number base · digits · work backwards