2004 AIME II Problem 14
Problem 14 of 15HarderNumber TheoryProblem-Solving Techniques
Consider a string of ’s, into which signs are inserted to produce an arithmetic expression. For example, could be obtained from eight ’s in this way. For how many values of is it possible to insert signs so that the resulting expression has value
Your answer
Integer from 0 to 999
Show solution
Solution
Dividing by turns the summands into or (no summand with four or more digits fits, since ) and the target into If count the summands of each size, then and Subtracting gives so the possible correspond exactly to the attainable values of
The constraints are and (then follows). For the value ranges over the intervals and (when only fits). Their union is every integer from to together with only is unattainable.
So takes values, and takes values.
Tagged: Diophantine Equation · digits · casework