Difference between revisions of "2005 AMC 12A Problems/Problem 18"

(solution)
m (um.. whoops)
Line 1: Line 1:
 
== Problem ==
 
== Problem ==
Two is <math>10 \%</math> of <math>x</math> and <math>20 \%</math> of <math>y</math>. What is <math>x - y</math>?
+
Call a number ''prime-looking'' if it is composite but not divisible by 2, 3, or 5. The three smallest prime-looking numbers are 49, 77, and 91. There are 168 prime numbers less than 1000. How many prime-looking numbers are there less than 1000?
  
 
<math>
 
<math>
(\mathrm {A}) \ 1 \qquad (\mathrm {B}) \ 2 \qquad (\mathrm {C})\ 5 \qquad (\mathrm {D}) \ 10 \qquad (\mathrm {E})\ 20
+
(\mathrm {A}) \ 100 \qquad (\mathrm {B}) \ 102 \qquad (\mathrm {C})\ 104 \qquad (\mathrm {D}) \ 106 \qquad (\mathrm {E})\ 108
 
</math>
 
</math>
  
 
== Solution ==
 
== Solution ==
<math>2 = \frac {1}{10}x \Longrightarrow x = 20,\quad 2 = \frac{1}{5}y \Longrightarrow y = 10,\quad x-y = 20 - 10=10  \mathrm{(D)}</math>.
+
The given states that there are 168 prime numbers less than 1000, which is a fact we must somehow utilize. Since there seems to be no easy way to directly calculate the number of "prime-looking" numbers, we can apply the [[not principle]]. We can split the numbers from 1 to 1000 into several groups: <math>\{1\},</math> <math>\{\mathrm{numbers\ divisible\ by\ 2 = S_2}\},</math> <math> \{\mathrm{numbers\ divisible\ by\ 2 = S_3}\},</math> <math> \{\mathrm{numbers\ divisible\ by\ 2 = S_5}\}, \{\mathrm{primes\ not\ including\ 2,3,5}\},</math> <math> \{\mathrm{prime-looking}\}</math>. Hence, the number of prime-looking number is <math>1000 - 165 - 1 - |S_2 \cup S_3 \cup S_5|</math>.
 +
 
 +
We can calculate <math>S_2 \cup S_3 \cup S_5</math> using the [[Principle of Inclusion-Exclusion]]: (the values of <math>|S_2| \ldots</math> and their intersections can be found quite easily)
 +
 
 +
<div style="text-align:center;"><math>|S_2 \cup S_3 \cup S_5| = |S_2| + |S_3| + |S_5| - |S_2 \cap S_3| - |S_3 \cap S_5| - |S_2 \cap S_5| + |S_2 \cap S_3 \cap S_5|</math><br /><math>= 500 + 333 + 200 - 166 - 66 - 100 + 33 = 734</math></div>
 +
 
 +
Substituting, we find that our answer is <math>1000 - 165 - 1 - 734 = 100 \Longrightarrow \mathrm{(A)}</math>.
  
 
== See also ==
 
== See also ==
{{AMC12 box|year=2005|before=First question|num-a=2|ab=A}}
+
{{AMC12 box|year=2005|num-b=17|num-a=19|ab=A}}
  
 
[[Category:Introductory Algebra Problems]]
 
[[Category:Introductory Algebra Problems]]

Revision as of 09:03, 23 September 2007

Problem

Call a number prime-looking if it is composite but not divisible by 2, 3, or 5. The three smallest prime-looking numbers are 49, 77, and 91. There are 168 prime numbers less than 1000. How many prime-looking numbers are there less than 1000?

$(\mathrm {A}) \ 100 \qquad (\mathrm {B}) \ 102 \qquad (\mathrm {C})\ 104 \qquad (\mathrm {D}) \ 106 \qquad (\mathrm {E})\ 108$

Solution

The given states that there are 168 prime numbers less than 1000, which is a fact we must somehow utilize. Since there seems to be no easy way to directly calculate the number of "prime-looking" numbers, we can apply the not principle. We can split the numbers from 1 to 1000 into several groups: $\{1\},$ $\{\mathrm{numbers\ divisible\ by\ 2 = S_2}\},$ $\{\mathrm{numbers\ divisible\ by\ 2 = S_3}\},$ $\{\mathrm{numbers\ divisible\ by\ 2 = S_5}\}, \{\mathrm{primes\ not\ including\ 2,3,5}\},$ $\{\mathrm{prime-looking}\}$. Hence, the number of prime-looking number is $1000 - 165 - 1 - |S_2 \cup S_3 \cup S_5|$.

We can calculate $S_2 \cup S_3 \cup S_5$ using the Principle of Inclusion-Exclusion: (the values of $|S_2| \ldots$ and their intersections can be found quite easily)

$|S_2 \cup S_3 \cup S_5| = |S_2| + |S_3| + |S_5| - |S_2 \cap S_3| - |S_3 \cap S_5| - |S_2 \cap S_5| + |S_2 \cap S_3 \cap S_5|$
$= 500 + 333 + 200 - 166 - 66 - 100 + 33 = 734$

Substituting, we find that our answer is $1000 - 165 - 1 - 734 = 100 \Longrightarrow \mathrm{(A)}$.

See also

2005 AMC 12A (ProblemsAnswer KeyResources)
Preceded by
Problem 17
Followed by
Problem 19
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