AMC 10 Step by Step

2018 AMC 10B Problem 21

P21-25~6 minPrint

Mary chose an even 44 -digit number nn . She wrote down all the divisors of nn in increasing order from left to right: 1,2,…,n2,n1,2,\ldots,\dfrac{n}{2},n . At some moment Mary wrote 323323 as a divisor of nn . What is the smallest possible value of the next divisor written to the right of 323323 ?

Log in to save your progress.
Show solution without answering

Key insight

The next divisor must share the factor 17 or 19 with 323; otherwise n would be a multiple of their product, far too big.

Solution

Break 323323 into primes first: 323=17×19323 = 17 \times 19.

1. Why the choices 324324 and 330330 fail. Suppose the next divisor dd has no factor 1717 or 1919. Then nn is a multiple of 323323 and also of dd, with no factors in common, so nn is a multiple of 323×d323 \times d. But
323×324=104652,323 \times 324 = 104652,
is already six digits, and dd is at least 324324. So nn could not have four digits.
2. So dd is a multiple of 1717 or 1919. Neither 324=22×34324 = 2^2 \times 3^4 nor 330=2×3×5×11330 = 2 \times 3 \times 5 \times 11 is, so both are ruled out.
3. Smallest such dd above 323. Since 323=17×19323 = 17 \times 19:
- the next multiple of 1717 is 17×20=34017 \times 20 = 340;
- the next multiple of 1919 is 19×18=34219 \times 18 = 342.

So dd is at least 340340.
4. Show 340340 really happens. Try n=17×19×20=6460n = 17 \times 19 \times 20 = 6460. It is even and has four digits, and both 323323 and 340340 divide it. Its prime factors are 2×2×5×17×192 \times 2 \times 5 \times 17 \times 19. Could a divisor land between 323323 and 340340? A divisor using both 1717 and 1919 is 323323 times 1,2,4,5,…1, 2, 4, 5, \ldots, so the next one is 646646. One using 1717 but not 1919 is 1717 times a divisor of 2020, the closest being 17×20=34017 \times 20 = 340. One using 1919 but not 1717 is at most 19×20=38019 \times 20 = 380 and otherwise 19×10=19019 \times 10 = 190 or less. One using neither is at most 2020. So nothing lies strictly between, and 340340 comes right after 323323.

The answer is (C) 340\boxed{\textbf{(C)}\ 340}.

Why this works

Two divisors of the same number that share no prime factor force the number to be a multiple of their product. With a four-digit limit and divisors around 300300, that product is far too big, so the next divisor must share a prime with 323323. That leaves only a couple of candidates, and an explicit example confirms the smallest one works.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Factor 323=17⋅19323 = 17 \cdot 19. Let d>323d > 323 be the next divisor of nn.

Both 323323 and dd divide nn, so lcm⁡(323,d)\operatorname{lcm}(323, d) divides nn and hence is at most 99999999. If dd shared no prime factor with 323323, the lcm would be 323d≥323⋅324>100000323 d \ge 323 \cdot 324 > 100000, impossible. So dd is a multiple of 1717 or of 1919.

The multiples of 1717 just above 323=17⋅19323 = 17 \cdot 19 start at 17⋅20=34017 \cdot 20 = 340; the multiples of 1919 start at 19⋅18=34219 \cdot 18 = 342. So d≥340d \ge 340, and this rules out 324324 and 330330 (neither is divisible by 1717 or 1919).

Now check that d=340d = 340 is attainable: take
n=lcm⁡(323,340)=17⋅19⋅20=6460,n = \operatorname{lcm}(323, 340) = 17 \cdot 19 \cdot 20 = 6460,
which is even and has four digits. Its divisors are products of 2a5b17c19e2^a 5^b 17^c 19^e, and none of them lies strictly between 323323 and 340340, so 340340 really is the divisor written immediately after 323323.

The answer is (C) 340\boxed{\textbf{(C)}\ 340}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.