Skip to main content

2002 AMC 12B Problem 3

Problem 3 of 25EasierAlgebraNumber Theory

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

Answer choices

Show solution

Solution

Factor n23n+2=(n1)(n2).n^2-3n+2=(n-1)(n-2). For n4n\ge4 both factors exceed 1,1, so the value is composite. Checking n=1,2,3n=1,2,3 gives 0,0, 0,0, and 2.2. Only n=3n=3 yields a prime, so there is exactly one such n.n. Thus, the correct answer is B.

More practice

Concepts: factoring · prime

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.