返回题库

AIME 2024 I · 第 13 题

AIME 2024 I — Problem 13

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Let pp be the least prime number for which there exists a positive integer nn such that n4+1n^{4}+1 is divisible by p2p^{2}. Find the least positive integer mm such that m4+1m^{4}+1 is divisible by p2p^{2}.

解析

Solution 1

If p=2p=2, then 4n4+14\mid n^4+1 for some integer nn. But (n2)20\left(n^2\right)^2\equiv0 or 1(mod4)1\pmod4, so it is impossible. Thus pp is an odd prime.

There are two ways to do the first part:

First Method using FLT. For integer nn such that p2n4+1p^2\mid n^4+1, we have pn4+1p\mid n^4+1, hence pn41p\nmid n^4-1, but pn81p\mid n^8-1. By Fermat's Little Theorem, pnp11p\mid n^{p-1}-1, so \begin{equation*} p\mid\gcd\left(n^{p-1}-1,n^8-1\right)=n^{\gcd(p-1,8)}-1. \end{equation*} Here, gcd(p1,8)\gcd(p-1,8) mustn't be divide into 44 or otherwise pngcd(p1,8)1n41p\mid n^{\gcd(p-1,8)}-1\mid n^4-1, which contradicts. So gcd(p1,8)=8\gcd(p-1,8)=8, and so 8p18\mid p-1. The smallest such prime is clearly p=17=2×8+1p=17=2\times8+1.

Second Method using orders. Notice that the order modulo p2p^2 of n4n^4 must be 88, so 8φ(p2)=p(p1)8\mid\varphi(p^2)=p(p-1). Hence 8p18\mid p-1, so p1(mod8)p\equiv 1\pmod{8}. The smallest such prime is p=17p=17. ~eevee9406

So we have to find the smallest positive integer mm such that 17m4+117\mid m^4+1. We first find the remainder of mm divided by 1717 by doing \begin{array}{|c|cccccccccccccccc|} \hline \vphantom{\tfrac11}x\bmod{17}&1&2&3&4&5&6&7&8&9&10&11&12&13&14&15&16\\\hline \vphantom{\dfrac11}\left(x^4\right)+1\bmod{17}&2&0&14&2&14&5&5&0&0&5&5&14&2&14&0&2\\\hline \end{array} So m±2m\equiv\pm2, ±8(mod17)\pm8\pmod{17}. If m2(mod17)m\equiv2\pmod{17}, let m=17k+2m=17k+2, by the binomial theorem, \begin{align*} 0&\equiv(17k+2)^4+1\equiv\mathrm {4\choose 1}(17k)(2)^3+2^4+1=17(1+32k)\pmod{17^2}\\[3pt] \implies0&\equiv1+32k\equiv1-2k\pmod{17}. \end{align*} So the smallest possible k=9k=9, and m=155m=155.

If m2(mod17)m\equiv-2\pmod{17}, let m=17k2m=17k-2, by the binomial theorem, \begin{align*} 0&\equiv(17k-2)^4+1\equiv\mathrm {4\choose 1}(17k)(-2)^3+2^4+1=17(1-32k)\pmod{17^2}\\[3pt] \implies0&\equiv1-32k\equiv1+2k\pmod{17}. \end{align*} So the smallest possible k=8k=8, and m=134m=134.

If m8(mod17)m\equiv8\pmod{17}, let m=17k+8m=17k+8, by the binomial theorem, \begin{align*} 0&\equiv(17k+8)^4+1\equiv\mathrm {4\choose 1}(17k)(8)^3+8^4+1=17(241+2048k)\pmod{17^2}\\[3pt] \implies0&\equiv241+2048k\equiv3+8k\pmod{17}. \end{align*} So the smallest possible k=6k=6, and m=110m=110.

If m8(mod17)m\equiv-8\pmod{17}, let m=17k8m=17k-8, by the binomial theorem, \begin{align*} 0&\equiv(17k-8)^4+1\equiv\mathrm {4\choose 1}(17k)(-8)^3+8^4+1=17(241-2048k)\pmod{17^2}\\[3pt] \implies0&\equiv241-2048k\equiv3+9k\pmod{17}. \end{align*} So the smallest possible k=11k=11, and m=179m=179.

In conclusion, the smallest possible mm is 110\boxed{110}.

Solution by Quantum-Phantom

Solution 2 (Hensel's Lemma)

We know, from Solution 1, that by Fermat's Little Theorem, p1(mod8)p\equiv 1\pmod{8}, and that the smallest pp satisfying such is 1717. Thus, we have p2=289p^2=289 and we are attempting to lift modulo 1717 to modulo 289289.

Given in the problem, it is established that p2m4+1p^2\mid m^4 +1 holds true, so we can guarantee that m41(mod289)m^4\equiv 1\pmod{289}. Testing for roots r0r_0 modulo 1717 gives us the solutions r0=±2r_0= \pm 2, ±8\pm 8, which satisfy r041(mod17)r_0^4\equiv -1 \pmod{17}.

Note that we can now use Hensel's Lemma, by defining a function f(x)=x4+1f(x)=x^4+1, giving f(x)=4x3f'(x)=4x^3. We know firstly that, though f(r0)f(r_0) for all roots r0r_0 we found is congruent to 0(mod17)0\pmod{17}, this does not hold true for f(r0)f'(r_0), so we guarantee that there is one lift by Hensel's Lemma to 289289 that we can perform, defined for root r1r_1 that r1=r0f(r0)f(r0)(modpk)r_1 = r_0-\frac{f(r_0)}{f'(r_0)}\pmod{p^k}. We now break our work into four cases:

  1. r0=2r_0 = 2. f(2)=17f(2)=17 and f(2)=32f'(2)=32, so r1=21732(mod289)r_1=2-\frac{17}{32}\pmod{289}, and we need to find the inverse of 321532\equiv 15 modulo 1717. By the extended Euclidean algorithm, we find that 8151(mod17)8\cdot 15\equiv 1 \pmod{17}, and thus r1=2178155(mod289)r_1=2-17\cdot 8\equiv 155 \pmod{289}.
  2. r0=2r_0 = -2, or equivalent, 1515. f(2)=17f(-2)=17 and f(2)=32f'(-2)=-32, so r1=2+1732(mod289)r_1=-2+\frac{17}{32}\pmod{289}. We already found the inverse of 3232 modulo 1717, so this case has r1=1+178134(mod289)r_1=-1+17\cdot 8\equiv 134 \pmod{289}.
  3. r0=8r_0 = 8. f(8)=4097f(8)=4097 and f(8)=2048f'(8)=2048, so r1=2+40972048(mod289)r_1=-2+\frac{4097}{2048}\pmod{289}, and we need to find the inverse of 32832\equiv 8 modulo 1717. We already know the inverse of 88 is 1515, so we end up with r1=8409715110(mod289)r_1=8-4097\cdot 15\equiv 110\pmod{289}.
  4. r0=8r_0 = -8, or equivalent, 99. f(8)=4097f(-8)=4097 and f(8)=2048f'(-8)=-2048, so r1=8+40972048(mod289)r_1=-8+\frac{4097}{2048}\pmod{289}. We already found the inverse of 20482048 modulo 1717, so this case has r1=8+409715179(mod289)r_1=-8+4097\cdot 15\equiv 179\pmod{289}.

Thus, out of our four values for mm, the smallest is 110\boxed{110}. Solution by juwushu.

Solution 3 (Easy, given specialized knowledge)

Note that n4+10(modp)n^4 + 1 \equiv 0 \pmod{p} means ordp(n)=8p1.\text{ord}_{p}(n) = 8 \mid p-1. The smallest prime that does this is 1717 and 24+1=172^4 + 1 = 17 for example. Now let gg be a primitive root of 172.17^2. The satisfying nn are of the form, gp(p1)8,g3p(p1)8,g5p(p1)8,g7p(p1)8.g^{\frac{p(p-1)}{8}}, g^{3\frac{p(p-1)}{8}}, g^{5\frac{p(p-1)}{8}}, g^{7\frac{p(p-1)}{8}}. So if we find one such nn, then all nn are n,n3,n5,n7.n, n^3, n^5, n^7. Consider the 22 from before. Note 1722417+117^2 \mid 2^{4 \cdot 17} + 1 by LTE. Hence the possible nn are, 217,251,285,2119.2^{17}, 2^{51}, 2^{85}, 2^{119}. Some modular arithmetic yields that 2511102^{51} \equiv \boxed{110} is the least value.

~Aaryabhatta1

Solution 4 (Unfinished)

We work in the ring Z/289Z\mathbb Z/289\mathbb Z and use the formula

14=±12±12.\sqrt[4]{-1}=\pm\sqrt{\frac12}\pm\sqrt{-\frac12}. Since 12=144-\frac12=144, the expression becomes ±12±12i\pm12\pm12i, and it is easily calculated via Hensel that i=38i=38, thus giving an answer of 110\boxed{110}.

Video Solution

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

~MathProblemSolvingSkills.com

Video Solution 1 by OmegaLearn.org

https://youtu.be/UyoCHBeII6g

Video Solution 2

https://youtu.be/F3pezlR5WHc

~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)