2018 AMC 12B Problem 19

Attempt Problem 19 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).

19.

Mary chose an even 44-digit number n.n. She wrote down all the divisors of nn in increasing order from left to right: 1,1, 2,2, …,\ldots, n2,\tfrac{n}{2}, n.n. At some moment Mary wrote 323323 as a divisor of n.n. What is the smallest possible value of the next divisor written to the right of 323?323?
324324
330330
340340
361361
646646
Answer: C
Concepts:divisibilitygreatest common divisorprime factorization
Small hint:
Factor 323=17⋅19323=17\cdot19
Big hint:
If the next divisor dd were coprime to 323,323, then n≥323d>9999;n\ge323d\gt9999; so dd shares a prime with 323323
Solution:
Let dd be the next divisor after 323.323. If gcd⁡(d,323)=1,\gcd(d,323)=1, then 323d323d divides n,n, forcing n≥323d>3232>9999,n\ge323d\gt323^2\gt9999, impossible for a 44-digit number. So dd shares a prime factor with 323=17⋅19.323=17\cdot19.
Then d−323≥gcd⁡(d,323)≥17,d-323\ge\gcd(d,323)\ge17, so d≥340.d\ge340. Indeed d=340=17⋅20d=340=17\cdot20 occurs for n=17⋅19⋅20=6460,n=17\cdot19\cdot20=6460, which is even and 44-digit.
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.