Difference between revisions of "2002 AMC 12B Problems/Problem 3"

(Solution)
(Solution)
Line 8: Line 8:
 
\qquad\mathrm{(D)}\ \text{more\ than\ two,\ but\ finitely\ many}
 
\qquad\mathrm{(D)}\ \text{more\ than\ two,\ but\ finitely\ many}
 
\qquad\mathrm{(E)}\ \text{infinitely\ many}</math>
 
\qquad\mathrm{(E)}\ \text{infinitely\ many}</math>
== Solution ==
+
== Solution 1 ==
 
Factoring, we get <math>n^2 - 3n + 2 = (n-2)(n-1)</math>. Either <math>n-1</math> or <math>n-2</math> is odd, and the other is even.  Their product must yield an even number.  The only prime that is even is <math>2</math>, which is when <math>n</math> is <math>3</math>. The answer is <math>\boxed{\mathrm{(B)}\ \text{one}}</math>.
 
Factoring, we get <math>n^2 - 3n + 2 = (n-2)(n-1)</math>. Either <math>n-1</math> or <math>n-2</math> is odd, and the other is even.  Their product must yield an even number.  The only prime that is even is <math>2</math>, which is when <math>n</math> is <math>3</math>. The answer is <math>\boxed{\mathrm{(B)}\ \text{one}}</math>.
 +
 +
== Solution 2 ==
 +
Considering parity, we see that <math>n^2 - 3n + 2</math> is always even.  The only even prime is <math>2</math>, and so <math>n^2-3n=0</math> whence <math>n=3\Rightarrow\boxed{\mathrm{(B)}\ \text{one}}</math>.
  
 
== See also ==
 
== See also ==

Revision as of 19:44, 5 November 2015

The following problem is from both the 2002 AMC 12B #3 and 2002 AMC 10B #6, so both problems redirect to this page.

Problem

For how many positive integers $n$ is $n^2 - 3n + 2$ a prime number?

$\mathrm{(A)}\ \text{none} \qquad\mathrm{(B)}\ \text{one} \qquad\mathrm{(C)}\ \text{two} \qquad\mathrm{(D)}\ \text{more\ than\ two,\ but\ finitely\ many} \qquad\mathrm{(E)}\ \text{infinitely\ many}$

Solution 1

Factoring, we get $n^2 - 3n + 2 = (n-2)(n-1)$. Either $n-1$ or $n-2$ is odd, and the other is even. Their product must yield an even number. The only prime that is even is $2$, which is when $n$ is $3$. The answer is $\boxed{\mathrm{(B)}\ \text{one}}$.

Solution 2

Considering parity, we see that $n^2 - 3n + 2$ is always even. The only even prime is $2$, and so $n^2-3n=0$ whence $n=3\Rightarrow\boxed{\mathrm{(B)}\ \text{one}}$.

See also

2002 AMC 10B (ProblemsAnswer KeyResources)
Preceded by
Problem 5
Followed by
Problem 7
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
2002 AMC 12B (ProblemsAnswer KeyResources)
Preceded by
Problem 2
Followed by
Problem 4
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

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png