I was able to show that if $(n,72)=1$ then $n^{12}\equiv 1\mod {72}$, and now the second part of this question seeks to find the largest $m$ such that $n^{12}\equiv 1\mod m$ for all $n$ relatively prime to $m$. Based on the first part we must have $m\geq 72$. But I have no idea on how to proceed; any hint would be vastly appreciated. Maybe using Euler's totient function?
Asked
Active
Viewed 289 times
1
-
Did you mean $m\ge\color{red}72$? – J. W. Tanner Mar 05 '20 at 19:53
-
@J.W.Tanner yes, thanks for spotting the typo – Stupid Questions Inc Mar 05 '20 at 19:58
-
$m=144$ seems to work – J. W. Tanner Mar 05 '20 at 20:00
-
@J.W.Tanner but how can I find the largest one (or prove that 144 is the largest one if that's the case)? – Stupid Questions Inc Mar 05 '20 at 20:02
-
$m=65520$ seems to work (it's the product of $16, 9, 5, 7, $ and $13$, which work) – J. W. Tanner Mar 05 '20 at 20:13
-
the Carmichael function of $65520$ is $12$ – J. W. Tanner Mar 05 '20 at 20:38
-
I like this question (+1); where is it from? – J. W. Tanner Mar 05 '20 at 21:38
-
@StupidQuestionsInc See also here – Bill Dubuque Mar 05 '20 at 22:17
2 Answers
2
We are looking for the largest $m$ whose Carmichael function is $12$.
The Carmichael function of $m$ is the least common multiple
of the Carmichael function of the prime powers that are factors of $m$.
The Carmichael function of $p^k$ is $\phi(p^k)$ for $p$ odd or $p^k\in\{2,4\},$
and it is $\dfrac{\phi(2^k)}2$ for $p=2$ and $k\ge3$, where $\phi$ is Euler's totient function.
The Carmichael function divides $12$ for $m=16$, $m=9$, $m=5$, $m=7$, and $m=13$,
and not for any higher prime powers.
Therefore, the largest $m$ is $16\times9\times5\times7\times13=65520$.

J. W. Tanner
- 60,406
-
Is it possible to offer an answer using only the Euler totient function, his theorem, etc? – Stupid Questions Inc Mar 05 '20 at 20:58
-
I think you need the Carmichael function (at least in concept), as the other (incorrect) answer illustrates: $\phi(72)=24,$ but $\lambda(72)=6$, which divides $12$ – J. W. Tanner Mar 05 '20 at 21:07
-
-
0
just an idea
For each $ n $ relatively prime to $ m $, Euler's theorem allows us to write
$$n^{\phi(m)} \equiv 1 \mod m$$
So, you can look for the largest $ m $ such that $$\phi(m)=12$$

hamam_Abdallah
- 62,951
-
good idea, but i don't think that's sufficient, for instance $\phi(72)=24$ and yet $n^{12}\equiv 1\mod{72}$ is also satisfied, – Stupid Questions Inc Mar 05 '20 at 20:49