2026 AIME II Problem 4
Problem 4 of 15EasierNumber TheoryCombinatoricsArithmetic
For each positive integer let be the value of the base-ten numeral viewed in base where is the least integer greater than the greatest digit in For example, if then and as a numeral in base equals therefore Find the number of positive integers less than such that
Your answer
Integer from 0 to 999
Show solution
Solution
If has a single digit then the numeral has value in every base, so all one-digit numbers work. If has digits with then always, and if then because the leading digit satisfies So a multi-digit satisfies exactly when that is, when some digit of equals
Two-digit numbers containing a the numbers through plus for Three-digit numbers containing a subtracting the numbers with no (leading digit – others –).
The total is
Tagged: number base · digits · complementary counting