2015 AMC 12A Problem 18

Attempt Problem 18 of the 2015 AMC 12A below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2015 AMC 12A solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

18.

The zeros of the function f(x)=x2−ax+2af(x) = x^2 - ax + 2a are integers. What is the sum of the possible values of a?a?
77
88
1616
1717
1818
Answer: C
Concepts:Vieta’s FormulasSimon’s Favorite Factoring Trick
Small hint:
If the integer roots are p,qp,q then p+q=ap+q = a and pq=2apq = 2a
Big hint:
Eliminate aa to get pq=2(p+q),pq = 2(p+q), i.e. (p−2)(q−2)=4(p-2)(q-2) = 4
Solution:
Let the integer zeros be pp and q.q. By Vieta’s formulas p+q=ap + q = a and pq=2a,pq = 2a, so pq=2(p+q).pq = 2(p+q). Rearranging gives (p−2)(q−2)=4.(p-2)(q-2) = 4.
The integer factor pairs of 44 are (1,4),(1,4), (2,2),(2,2), (4,1),(4,1), (−1,−4),(-1,-4), (−2,−2),(-2,-2), (−4,−1),(-4,-1), which yield (p,q)(p,q) pairs summing to a=9,8,−1,a = 9, 8, -1, and 0.0.
The distinct possible values of aa are 9,8,0,−1,9, 8, 0, -1, whose sum is 16.16.
Thus, the correct answer is C.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.