1999 AIME Problem 5
Problem 5 of 15EasierAlgebraNumber TheoryProblem-Solving Techniques
For any positive integer let be the sum of the digits of and let be For example, How many values do not exceed
Your answer
Integer from 0 to 999
Show solution
Solution
If the last digit of is at most adding changes no other digit, so Otherwise there is carrying. If ends in the digit preceded by exactly nines, then replaces by so and If ends in exactly nines, then replaces by so and
Both carrying families give exactly the values that is, for and every such value occurs. So the possible values of are together with all Requiring gives which is values, and adds one more, for a total of
Tagged: digits · arithmetic sequence · casework