2017 AIME II Problem 4
Problem 4 of 15EasierNumber TheoryArithmeticProblem-Solving Techniques
Find the number of positive integers less than or equal to whose base-three representation contains no digit equal to
Your answer
Integer from 0 to 999
Show solution
Solution
A positive integer has no in base three exactly when every digit is or For there are such -digit numbers, and all of them are at most
Since a seven-digit string of s and s is at most exactly when it begins with or any string beginning already beats at the third digit, since its digits are nonzero. That gives seven-digit numbers.
The total is
Tagged: number base · digits · casework