Difference between revisions of "2024 AIME I Problems/Problem 13"
(→Solution 4) |
(→Solution 2 (Hensel's Lemma)) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 49: | Line 49: | ||
<font size=2>Solution by Quantum-Phantom</font> | <font size=2>Solution by Quantum-Phantom</font> | ||
− | ==Solution 2== | + | ==Solution 2 (Hensel's Lemma)== |
− | We | + | |
− | < | + | We know, from Solution 1, that by Fermat's Little Theorem, <math>p\equiv 1\pmod{8}</math>, and that the smallest <math>p</math> satisfying such is <math>17</math>. Thus, we have <math>p^2=289</math> and we are attempting to lift modulo <math>17</math> to modulo <math>289</math>. |
− | + | ||
+ | Given in the problem, it is established that <math>p^2\mid m^4 +1</math> holds true, so we can guarantee that <math>m^4\equiv 1\pmod{289}</math>. Testing for roots <math>r_0</math> modulo <math>17</math> gives us the solutions <math>r_0= \pm 2</math>, <math>\pm 8</math>, which satisfy <math>r_0^4\equiv -1 \pmod{17}</math>. | ||
+ | |||
+ | Note that we can now use Hensel's Lemma, by defining a function <math>f(x)=x^4+1</math>, giving <math>f'(x)=4x^3</math>. We know firstly that, though <math>f(r_0)</math> for all roots <math>r_0</math> we found is congruent to <math>0\pmod{17}</math>, this does not hold true for <math>f'(r_0)</math>, so we guarantee that there is one lift by Hensel's Lemma to <math>289</math> that we can perform, defined for root <math>r_1</math> that <math>r_1 = r_0-\frac{f(r_0)}{f'(r_0)}\pmod{p^k}</math>. We now break our work into four cases: | ||
+ | |||
+ | # <math>r_0 = 2</math>. <math>f(2)=17</math> and <math>f'(2)=32</math>, so <math>r_1=2-\frac{17}{32}\pmod{289}</math>, and we need to find the inverse of <math>32\equiv 15</math> modulo <math>17</math>. By the extended Euclidean algorithm, we find that <math>8\cdot 15\equiv 1 \pmod{17}</math>, and thus <math>r_1=2-17\cdot 8\equiv 155 \pmod{289}</math>. | ||
+ | # <math>r_0 = -2</math>, or equivalent, <math>15</math>. <math>f(-2)=17</math> and <math>f'(-2)=-32</math>, so <math>r_1=-2+\frac{17}{32}\pmod{289}</math>. We already found the inverse of <math>32</math> modulo <math>17</math>, so this case has <math>r_1=-1+17\cdot 8\equiv 134 \pmod{289}</math>. | ||
+ | # <math>r_0 = 8</math>. <math>f(8)=4097</math> and <math>f'(8)=2048</math>, so <math>r_1=-2+\frac{4097}{2048}\pmod{289}</math>, and we need to find the inverse of <math>32\equiv 8</math> modulo <math>17</math>. We already know the inverse of <math>8</math> is <math>15</math>, so we end up with <math>r_1=8-4097\cdot 15\equiv 110\pmod{289}</math>. | ||
+ | # <math>r_0 = -8</math>, or equivalent, <math>9</math>. <math>f(-8)=4097</math> and <math>f'(-8)=-2048</math>, so <math>r_1=-8+\frac{4097}{2048}\pmod{289}</math>. We already found the inverse of <math>2048</math> modulo <math>17</math>, so this case has <math>r_1=-8+4097\cdot 15\equiv 179\pmod{289}</math>. | ||
+ | |||
+ | Thus, out of our four values for <math>m</math>, the smallest is <math>\boxed{110}</math>. Solution by [[User:Juwushu|juwushu]]. | ||
==Solution 3 (Easy, given specialized knowledge)== | ==Solution 3 (Easy, given specialized knowledge)== | ||
Line 60: | Line 70: | ||
~Aaryabhatta1 | ~Aaryabhatta1 | ||
+ | ==Solution 4 (Unfinished)== | ||
+ | We work in the ring \(\mathbb Z/289\mathbb Z\) and use the formula | ||
+ | <cmath>\sqrt[4]{-1}=\pm\sqrt{\frac12}\pm\sqrt{-\frac12}.</cmath> | ||
+ | Since \(-\frac12=144\), the expression becomes \(\pm12\pm12i\), and it is easily calculated via Hensel that \(i=38\), thus giving an answer of \(\boxed{110}\). | ||
==Video Solution== | ==Video Solution== |
Latest revision as of 01:12, 9 July 2025
Contents
Problem
Let be the least prime number for which there exists a positive integer
such that
is divisible by
. Find the least positive integer
such that
is divisible by
.
Solution 1
If \(p=2\), then \(4\mid n^4+1\) for some integer \(n\). But \(\left(n^2\right)^2\equiv0\) or \(1\pmod4\), so it is impossible. Thus \(p\) is an odd prime.
For integer \(n\) such that \(p^2\mid n^4+1\), we have \(p\mid n^4+1\), hence \(p\nmid n^4-1\), but \(p\mid n^8-1\). By Fermat's Little Theorem, \(p\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(p-1,8)\) mustn't be divide into \(4\) or otherwise \(p\mid n^{\gcd(p-1,8)}-1\mid n^4-1\), which contradicts. So \(\gcd(p-1,8)=8\), and so \(8\mid p-1\). The smallest such prime is clearly \(p=17=2\times8+1\). So we have to find the smallest positive integer \(m\) such that \(17\mid m^4+1\). We first find the remainder of \(m\) divided by \(17\) 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\equiv\pm2\), \(\pm8\pmod{17}\). If \(m\equiv2\pmod{17}\), let \(m=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=9\), and \(m=155\).
If \(m\equiv-2\pmod{17}\), let \(m=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=8\), and \(m=134\).
If \(m\equiv8\pmod{17}\), let \(m=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=6\), and \(m=110\).
If \(m\equiv-8\pmod{17}\), let \(m=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=11\), and \(m=179\).
In conclusion, the smallest possible \(m\) is \(\boxed{110}\).
Solution by Quantum-Phantom
Solution 2 (Hensel's Lemma)
We know, from Solution 1, that by Fermat's Little Theorem, , and that the smallest
satisfying such is
. Thus, we have
and we are attempting to lift modulo
to modulo
.
Given in the problem, it is established that holds true, so we can guarantee that
. Testing for roots
modulo
gives us the solutions
,
, which satisfy
.
Note that we can now use Hensel's Lemma, by defining a function , giving
. We know firstly that, though
for all roots
we found is congruent to
, this does not hold true for
, so we guarantee that there is one lift by Hensel's Lemma to
that we can perform, defined for root
that
. We now break our work into four cases:
.
and
, so
, and we need to find the inverse of
modulo
. By the extended Euclidean algorithm, we find that
, and thus
.
, or equivalent,
.
and
, so
. We already found the inverse of
modulo
, so this case has
.
.
and
, so
, and we need to find the inverse of
modulo
. We already know the inverse of
is
, so we end up with
.
, or equivalent,
.
and
, so
. We already found the inverse of
modulo
, so this case has
.
Thus, out of our four values for , the smallest is
. Solution by juwushu.
Solution 3 (Easy, given specialized knowledge)
Note that means
The smallest prime that does this is
and
for example. Now let
be a primitive root of
The satisfying
are of the form,
So if we find one such
, then all
are
Consider the
from before. Note
by LTE. Hence the possible
are,
Some modular arithmetic yields that
is the least value.
~Aaryabhatta1
Solution 4 (Unfinished)
We work in the ring \(\mathbb Z/289\mathbb Z\) and use the formula
Since \(-\frac12=144\), the expression becomes \(\pm12\pm12i\), and it is easily calculated via Hensel that \(i=38\), thus giving an answer of \(\boxed{110}\).
Video Solution
https://www.youtube.com/watch?v=_ambewDODiA
~MathProblemSolvingSkills.com
Video Solution 1 by OmegaLearn.org
Video Solution 2
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)
See also
2024 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 12 |
Followed by Problem 14 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions.