Difference between revisions of "2007 AMC 12A Problems/Problem 22"
(create problem/sol) |
m (→Solution 2: (blank edit) 2nd solution by Jacob Steinhardt) |
||
Line 48: | Line 48: | ||
:<math>\displaystyle4x + y = 35</math>. The only two solutions satisfying the constraints for this equation are <math>x = 7</math>, <math>y = 7</math> and <math>x = 8</math>, <math>y = 3</math>. | :<math>\displaystyle4x + y = 35</math>. The only two solutions satisfying the constraints for this equation are <math>x = 7</math>, <math>y = 7</math> and <math>x = 8</math>, <math>y = 3</math>. | ||
− | The solutions are thus <math>1977, 1980, 1983, 2001</math> and the answer is <math>D) 4</math>. | + | The solutions are thus <math>1977, 1980, 1983, 2001</math> and the answer is <math>\mathrm{(D)}\ 4</math>. |
== See also == | == See also == |
Revision as of 19:00, 14 September 2007
Problem
For each positive integer , let denote the sum of the digits of For how many values of is
Solution
Solution 1
For the sake of notation let . Obviously . Then the maximum value of is when , and the sum becomes . So the minimum bound is . We do casework upon the tens digit:
Case 1: . Easy to directly disprove.
Case 2: . , and if and otherwise.
- Subcase a: . This exceeds our bounds, so no solution here.
- Subcase b: . First solution.
Case 3: . , and if and otherwise.
- Subcase a: . Second solution.
- Subcase b: . Third solution.
Case 4: . But , and the these clearly sum to .
Case 5: . So and , and . Fourth solution.
In total we have solutions, which are and .
Solution 2
Clearly, . We can break this up into three cases:
Case 1:
- Inspection gives .
Case 2: , ,
- If you set up an equation, it reduces to
- which has as its only solution satisfying the constraints , .
Case 3: , ,
- This reduces to
- . The only two solutions satisfying the constraints for this equation are , and , .
The solutions are thus and the answer is .
See also
2007 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 21 |
Followed by Problem 23 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |