Difference between revisions of "2006 AIME II Problems/Problem 7"
God of Math (talk | contribs) m (→Solution 1) |
Lookcloser (talk | contribs) (→Solution) |
||
Line 20: | Line 20: | ||
There are two other scenarios. <math>a</math> and <math>b</math> can be a three digit number and a two digit number, or a three digit number and a one digit number. For the first scenario, there are <math>9 \times 8 \times 2=144</math> possibilities (the two accounting for whether <math>a</math> or <math>b</math> has three digits) and for the second case there are <math>9 \times 2=18</math> possibilities. Thus, thus total possibilities for <math>(a,b)</math> is <math>576+144+18=738</math>. | There are two other scenarios. <math>a</math> and <math>b</math> can be a three digit number and a two digit number, or a three digit number and a one digit number. For the first scenario, there are <math>9 \times 8 \times 2=144</math> possibilities (the two accounting for whether <math>a</math> or <math>b</math> has three digits) and for the second case there are <math>9 \times 2=18</math> possibilities. Thus, thus total possibilities for <math>(a,b)</math> is <math>576+144+18=738</math>. | ||
+ | |||
+ | |||
+ | === Solution 3 === | ||
+ | We first must notice that we can find all the possible values of a between 1 and 500 and then double that result. | ||
+ | |||
+ | When 1 < a < 100 there are 9 X 9 = 81 possible solution for a so that neither a nor b has a zero in it, counting 1 through 9, 11 through 19 ... 81 through 89. | ||
+ | When 100 < a < 200 there are 9 X 8 =72 possible solution for a so that neither a nor b has a zero in it, counting 111 through 119, 121 through 129 ... 181 through 189. | ||
+ | This can clearly be extended to 100k < a < 100(k+1) where k is an integer and 0 < k < 9. | ||
+ | Thus for 100 < a < 500 there are 72 X 4 = 288 possible values of a. | ||
+ | |||
+ | Thus when 1 < a < 500 there are 288 + 81 = 369 possible values of a and b. | ||
+ | |||
+ | Doubling this yields the 738. | ||
== See also == | == See also == |
Revision as of 21:13, 7 March 2011
Problem
Find the number of ordered pairs of positive integers such that and neither nor has a zero digit.
Solution
Solution 1
There are numbers up to 1000 that have 0 as their units digit. All of the other excluded possibilities are when or have a 0 in the tens digit, and since the equation is symmetric, we will just count when has a 0 in the tens digit and multiply by 2 (notice that the only time both and can have a 0 in the tens digit is when they are divisible by 100, which falls into the above category, so we do not have to worry about overcounting).
Excluding the numbers divisible by 100, which were counted already, there are numbers in every hundred numbers that have a tens digit of 0 (this is true from 100 to 900), totaling such numbers; considering also and we have . Therefore, there are such ordered pairs.
Solution 2
Let and be 3 digit numbers:
cde +fgh ---- 1000
and must add up to , and must add up to , and and must add up to . Since none of the digits can be 0, there are possibilites if both numbers are three digits.
There are two other scenarios. and can be a three digit number and a two digit number, or a three digit number and a one digit number. For the first scenario, there are possibilities (the two accounting for whether or has three digits) and for the second case there are possibilities. Thus, thus total possibilities for is .
Solution 3
We first must notice that we can find all the possible values of a between 1 and 500 and then double that result.
When 1 < a < 100 there are 9 X 9 = 81 possible solution for a so that neither a nor b has a zero in it, counting 1 through 9, 11 through 19 ... 81 through 89. When 100 < a < 200 there are 9 X 8 =72 possible solution for a so that neither a nor b has a zero in it, counting 111 through 119, 121 through 129 ... 181 through 189. This can clearly be extended to 100k < a < 100(k+1) where k is an integer and 0 < k < 9. Thus for 100 < a < 500 there are 72 X 4 = 288 possible values of a.
Thus when 1 < a < 500 there are 288 + 81 = 369 possible values of a and b.
Doubling this yields the 738.
See also
2006 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 6 |
Followed by Problem 8 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |