How could I solve the congruence $6x \equiv 1 \pmod { 5^4}$?
I wanted to use the formula $x_n=\frac{5^4+1}{6}$, but calculating this number, we see that it is not integer.
How else could we solve the congruence?
How could I solve the congruence $6x \equiv 1 \pmod { 5^4}$?
I wanted to use the formula $x_n=\frac{5^4+1}{6}$, but calculating this number, we see that it is not integer.
How else could we solve the congruence?
$5^4=625\equiv1\pmod6$, so $5\cdot5^4\equiv5\pmod6$, and $5^5\equiv5\pmod6$, i.e., $6\mid 5^5+1$.
Now $5^5+1\equiv1\pmod{5^4}$, so you could just as well solve $6x\equiv5^5+1\pmod{5^4}$.