2018 AMC 12B Problem 17

Attempt Problem 17 of the 2018 AMC 12B 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 2018 AMC 12B solutions, or check the answer key.

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

17.

Let pp and qq be positive integers such that 59<pq<47 \dfrac{5}{9}\lt\dfrac{p}{q}\lt\dfrac{4}{7} and qq is as small as possible. What is q−p?q-p?
77
1111
1313
1717
1919
Answer: A
Concepts:fractioninequalitybounding to limit cases
Small hint:
Since 9p>5q9p\gt5q and 4q>7p4q\gt7p with integer sides, 9p−5q≥19p-5q\ge1 and 4q−7p≥14q-7p\ge1
Big hint:
Add these after writing 47−59=163\tfrac{4}{7}-\tfrac{5}{9}=\tfrac{1}{63} to bound qq
Solution:
From 59<pq\tfrac59\lt\tfrac pq we get 9p−5q≥1,9p-5q\ge1, and from pq<47\tfrac pq\lt\tfrac47 we get 4q−7p≥1.4q-7p\ge1. Now 163=47−59=4q−7p7q+9p−5q9q≥17q+19q=1663q. \begin{gathered} \dfrac{1}{63}=\dfrac47-\dfrac59 \\ =\dfrac{4q-7p}{7q}+\dfrac{9p-5q}{9q} \\ \ge\dfrac{1}{7q}+\dfrac{1}{9q} \\ =\dfrac{16}{63q}. \end{gathered}
Hence q≥16.q\ge16. With q=16,q=16, the fraction 916\tfrac{9}{16} lies strictly between 59\tfrac59 and 47,\tfrac47, so p=9p=9 and q−p=16−9=7.q-p=16-9=7.
Thus, the correct answer is A.
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.