1

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?

J. W. Tanner
  • 60,406

2 Answers2

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
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$$