2024 AIME II Problem 14
Problem 14 of 15HarderNumber TheoryArithmetic
Let be an integer. Call a positive integer -eautiful if it has exactly two digits when expressed in base and these two digits sum to For example, is -eautiful because and Find the least integer for which there are more than ten -eautiful integers.
Your answer
Integer from 0 to 999
Show solution
Solution
A two-digit number in base is with and and the condition says where Then so Note Conversely, for any with and divisible by setting and gives and hence exactly one -eautiful integer So the count equals the number of with
Let Since and are coprime, each prime power dividing must divide or so by the Chinese remainder theorem there are solutions modulo where is the number of distinct prime factors of Among the representatives only falls outside our range (and qualifies), so the count is
We need i.e. The smallest positive integer with four distinct prime factors is so the least base is (which has -eautiful integers).
Tagged: number base · digits · Chinese Remainder Theorem