2007 AMC 12A Problems/Problem 22
From AoPSWiki
- The following problem is from both the 2007 AMC 12A #22 and 2007 AMC 10A #25, so both problems redirect to this page.
Problem
For each positive integer
, let
denote the sum of the digits of
For how many values of
is
Contents |
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.
Case 3:
.
, and
if
and
otherwise.
Case 4:
. But
, and the these clearly sum to
.
Case 5:
. So
and
(recall that
), and
. Fourth solution.
In total we have
solutions, which are
and
.
Solution 2
Clearly,
. We can break this up into three cases:
- If you set up an equation, it reduces to
- This reduces to
The solutions are thus
and the answer is
.
Solution 3
As in Solution 1, we note that
and
.
Obviously,
.
As
, this means that
, or equivalently that
.
Thus
. For each possible
we get three possible
.
(E. g., if
, then
is a number such that
and
, therefore
.)
For each of these nine possibilities we compute
as
and check whether
.
We'll find out that out of the 9 cases, in 4 the value
has the correct sum of digits.
This happens for
.
See also
| 2007 AMC 12A (Problems • 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 | ||
| 2007 AMC 10A (Problems • Resources) | ||
| Preceded by Problem 24 | Followed by Last question | |
| 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 | ||























