Difference between revisions of "2004 AMC 10B Problems/Problem 2"
(→Solution) |
(→Solution 2) |
||
Line 15: | Line 15: | ||
We use complementary counting. The complement of having at least one <math>7</math> as a digit is having no <math>7</math>s as a digit. | We use complementary counting. The complement of having at least one <math>7</math> as a digit is having no <math>7</math>s as a digit. | ||
− | Usually, we have <math>9</math> digits to choose from for the first digit, and <math>10</math> digits for the second. This gives a total of <math>90</math> | + | Usually, we have <math>9</math> digits to choose from for the first digit, and <math>10</math> digits for the second. This gives a total of <math>90</math> two-digit numbers. |
But since we cannot have a <math>7</math> as a digit, we have <math>8</math> first digits and <math>9</math> second digits to choose from. | But since we cannot have a <math>7</math> as a digit, we have <math>8</math> first digits and <math>9</math> second digits to choose from. | ||
− | Thus there are <math>72</math> | + | Thus there are <math>72</math> two-digit numbers without a <math>7</math> as a digit. |
− | <math>90</math> (The total number of | + | <math>90</math> (The total number of two-digit numbers) - <math>72</math> (The number of two-digit numbers without a <math>7</math>) <math>= 18 \Rightarrow</math> <math>\boxed{\mathrm{(B)}\18}</math>. |
== See also == | == See also == |
Revision as of 19:01, 24 January 2015
Contents
Problem
How many two-digit positive integers have at least one as a digit?
Solution
Ten numbers have as the tens digit. Nine numbers have it as the ones digit. Number is in both sets.
Thus the result is .
Solution 2
We use complementary counting. The complement of having at least one as a digit is having no s as a digit.
Usually, we have digits to choose from for the first digit, and digits for the second. This gives a total of two-digit numbers.
But since we cannot have a as a digit, we have first digits and second digits to choose from.
Thus there are two-digit numbers without a as a digit.
(The total number of two-digit numbers) - (The number of two-digit numbers without a ) $\boxed{\mathrm{(B)}\18}$ (Error compiling LaTeX. Unknown error_msg).
See also
2004 AMC 10B (Problems • Answer Key • Resources) | ||
Preceded by Problem 1 |
Followed by Problem 3 | |
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 10 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.