返回题库

AIME 2019 I · 第 14 题

AIME 2019 I — Problem 14

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

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

Video Solution & More by MegaMath

https://www.youtube.com/watch?v=E6Vs5uf49Fc

解析

Solution

We know that 201981(modp)2019^8 \equiv -1 \pmod{p} for some prime pp. We want to find the smallest odd possible value of pp. By squaring both sides of the congruence, we find 2019161(modp)2019^{16} \equiv 1 \pmod{p}.

Since 2019161(modp)2019^{16} \equiv 1 \pmod{p}, the order of 20192019 modulo pp is a positive divisor of 1616.

However, if the order of 20192019 modulo pp is 1,2,4,1, 2, 4, or 8,8, then 201982019^8 will be equivalent to 1(modp),1 \pmod{p}, which contradicts the given requirement that 201981(modp)2019^8\equiv -1\pmod{p}.

Therefore, the order of 20192019 modulo pp is 1616. Because all orders modulo pp divide ϕ(p)\phi(p), we see that ϕ(p)\phi(p) is a multiple of 1616. As pp is prime, ϕ(p)=p(11p)=p1\phi(p) = p\left(1 - \dfrac{1}{p}\right) = p - 1. Therefore, p1(mod16)p\equiv 1 \pmod{16}. The two smallest primes equivalent to 1(mod16)1 \pmod{16} are 1717 and 9797. Because 16p116 | p - 1, and p116p - 1 \geq 16, each possible value of pp must be verified by manual calculation to make sure that p20198+1p | 2019^8+1. As 20198≢1(mod17)2019^8 \not\equiv -1 \pmod{17} and 201981(mod97)2019^8 \equiv -1 \pmod{97}, the smallest possible pp is thus 097\boxed{097}.

Note to solution

ϕ(k)\phi(k) is the Euler Totient Function of integer kk. ϕ(k)\phi(k) is the number of positive integers less than kk relatively prime to kk. Define the numbers k1,k2,k3,,knk_1,k_2,k_3,\cdots,k_n to be the prime factors of kk. Then, we have

ϕ(k)=ki=1n(11ki).\phi(k)=k\cdot \prod^n_{i=1}\left(1-\dfrac{1}{k_i}\right). A property of the Totient function is that, for any prime pp, ϕ(p)=p1\phi(p)=p-1.

Euler's Totient Theorem states that

aϕ(k)1(modk)a^{\phi(k)} \equiv 1\pmod k if gcd(a,k)=1\gcd(a,k)=1.

Furthermore, the order aa modulo nn for an integer aa relatively prime to nn is defined as the smallest positive integer dd such that ad1(modn)a^{d} \equiv 1\pmod n. An important property of the order dd is that dϕ(n)d|\phi(n). It's important to remember that the order dϕ(n)d \leq \phi(n), and Euler's Totient Theorem does not guarantee equality. That's why in this problem we had to test primes such that d=16(p1)d=16 | (p-1), and find the smallest such prime pp. ~First

Solution 2 (Basic Modular Arithmetic)

In this solution, kk will represent an arbitrary nonnegative integer.

We will show that any potential prime pp must be of the form 16k+116k+1 through a proof by contradiction. Suppose that there exists some prime pp that can not be expressed in the form 16k+116k+1 that is a divisor of 20198+12019^8+1. First, note that if the prime pp is a divisor of 20192019, then 201982019^8 is a multiple of pp and 20198+12019^8+1 is not. Thus, pp is not a divisor of 20192019.

Because 20198+12019^8+1 is a multiple of pp, 20198+10(modp)2019^8+1\equiv0\pmod{p}. This means that 201981(modp)2019^8\equiv-1\pmod{p}, and by raising both sides to an arbitrary odd positive integer, we have that 201916k+81(modp)2019^{16k+8}\equiv-1\pmod{p}.

Then, since the problem requires an odd prime, pp can be expressed as 16k+m16k+m, where mm is an odd integer ranging from 33 to 1515, inclusive. By Fermat's Little Theorem, 2019p11(modp)2019^{p-1}\equiv1\pmod{p}, and plugging in values, we get 201916k+n1(modp)2019^{16k+n}\equiv1\pmod{p}, where n=m1n=m-1 and is thus an even integer ranging from 22 to 1414, inclusive.

If n=8n=8, then 201916k+81(modp)2019^{16k+8}\equiv1\pmod{p}, which creates a contradiction. If nn is not a multiple of 88 but is a multiple of 44, squaring both sides of 201916k+n1(modp)2019^{16k+n}\equiv1\pmod{p} also results in the same contradictory equivalence. For all remaining nn, raising both sides of 201916k+n1(modp)2019^{16k+n}\equiv1\pmod{p} to the 44th power creates the same contradiction. (Note that 32k32k and 64k64k can both be expressed in the form 16k16k.)

Since we have proved that no value of nn can work, this means that a prime must be of the form 16k+116k+1 in order to be a factor of 20198+12019^8+1. The smallest prime of this form is 1717, and testing it, we get

20198+1138+11694+1(1)4+11+12(mod17),2019^8+1\equiv13^8+1\equiv169^4+1\equiv(-1)^4+1\equiv1+1\equiv2\pmod{17}, so it does not work. The next smallest prime of the required form is 9797, and testing it, we get

20198+1(18)8+13244+1334+110892+1222+1484+11+10(mod97),2019^8+1\equiv(-18)^8+1\equiv324^4+1\equiv33^4+1\equiv1089^2+1\equiv22^2+1\equiv484+1\equiv-1+1\equiv0\pmod{97}, so it works. Thus, the answer is 097\boxed{097}. ~emerald_block

Solution 3 (Official MAA)

Suppose prime p>2p>2 divides 20198+1.2019^8+1. Then 201981(modp).2019^8\equiv -1\pmod p. Squaring gives 2019161(modp).2019^{16}\equiv 1\pmod p. If 2019m1(modp)2019^m\equiv 1 \pmod p for some $0 it follows that

2019gcd(m,16)1(modp).2019^{\gcd(m,16)}\equiv 1\pmod p. But 201981(modp),2019^8\equiv -1\pmod p, so gcd(m,16)\gcd(m,16) cannot divide 8,8, which is a contradiction. Thus 2019162019^{16} is the least positive power congruent to 1(modp).1\pmod p. By Fermat's Little Theorem, 2019p11(modp).2019^{p-1}\equiv 1\pmod p. It follows that p=16k+1p=16k+1 for some positive integer k.k. The least two primes of this form are 1717 and 97.97. The least odd factor of 20198+12019^8+1 is not 1717 because

201913(mod17)and1321691(mod17),2019\equiv 13\pmod{17}\qquad \text{and}\qquad 13^2\equiv 169\equiv -1\pmod{17}, which implies 201981≢1(mod17).2019^8\equiv 1\not\equiv -1\pmod {17}. But 201918(mod97),2019\equiv -18\pmod{97}, so

(18)2=32433(mod97),332=108922(mod97),and222=4841(mod97).\begin{aligned} (-18)^2=324&\equiv 33\pmod{97}, \\ 33^2=1089&\equiv 22\pmod{97},\,\text{and} \\ 22^2=484&\equiv -1\pmod{97}.\end{aligned} Thus the least odd prime factor is 97.97.

In fact, 20198+1=297p,2019^8+1=2\cdot97\cdot p, where pp is the 2525-digit prime

1423275002072658812388593.1423275002072658812388593.

Solution 4

Let nn represent the least odd prime that the question is asking for.

We can see that 201981(modn).2019^8\equiv -1\pmod n.

Squaring both sides we get 2019161(modn).2019^{16}\equiv 1\pmod n.

From Fermat's Little Theorem an11(modn)a^{n-1}\equiv 1\pmod n, we know that n1n-1 has to be a multiple of 16. So we want to test prime numbers that fit this.

The first prime we get is 17 and when we try it in 201981(modn),2019^8\equiv -1\pmod n,

20198138(mod17)2019^{8}\equiv 13^8\pmod {17} 1694164(mod17)169^{4}\equiv 16^4\pmod {17} 25621(mod17)256^2\equiv 1\pmod {17} 1+1=21+1=2

We see that 17 does not work. The next number that works from the application of Fermat's Little Theorem is 97 and when we try that,

20198798(mod97)2019^{8}\equiv 79^8\pmod {97} 62414334(mod97)6241^{4}\equiv 33^4\pmod {97} 10892222(mod97)1089^2\equiv 22^2\pmod {97} 4841(mod97)484\equiv -1\pmod {97} 1+1=0-1+1=0

Thus our answer is 097\boxed{097}. ~pengf

Video Solution

On The Spot STEM:

https://youtu.be/_vHq5_5qCd8

https://youtu.be/IF88iO5keFo

Video Solution by The Power Of Logic

https://youtu.be/hqg5kCz6rnQ