2019 AIME I Problem 14

Below is the professionally curated solution for Problem 14 of the 2019 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2019 AIME I solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:multiplicative ordermodular exponentiation

Difficulty rating: 2990

14.

Find the least odd prime factor of 20198+1.2019^8 + 1.

Solution:

Suppose an odd prime pp divides 20198+1.2019^8 + 1. Then 201981(modp),2019^8 \equiv -1 \pmod{p}, so 20191612019^{16} \equiv 1 while 20198≢1:2019^8 \not\equiv 1: the multiplicative order of 20192019 modulo pp is exactly 16.16. Since the order divides p1,p - 1, we need p1(mod16),p \equiv 1 \pmod{16}, and the smallest such primes are 1717 and 97.97.

Modulo 17:17: 201913,2019 \equiv 13, and 132=1691,13^2 = 169 \equiv -1, so 20198(1)4=12019^8 \equiv (-1)^4 = 1 and 20198+120.2019^8 + 1 \equiv 2 \neq 0. Modulo 97:97: 201918,2019 \equiv -18, and squaring repeatedly, 2019232433,20194332=108922,20198222=4841(mod97).2019^2 \equiv 324 \equiv 33, \qquad 2019^4 \equiv 33^2 = 1089 \equiv 22, \qquad 2019^8 \equiv 22^2 = 484 \equiv -1 \pmod{97}.

So 9797 divides 20198+1,2019^8 + 1, and it is the least odd prime factor: 97.97.

← Problem 13Full ExamProblem 15

Problem 14 in Other Years