How can I find $19^{92}\pmod{92}$?
I am completely stumped.
I thought of calculating $19^{92} \pmod{23}$ and $19^{92} \pmod{4}$.. ( because $23\cdot4 = 92$).
But I don't know the modulo operation to proceed.
How can I find $19^{92}\pmod{92}$?
I am completely stumped.
I thought of calculating $19^{92} \pmod{23}$ and $19^{92} \pmod{4}$.. ( because $23\cdot4 = 92$).
But I don't know the modulo operation to proceed.
$$92=23\times 4\quad\textrm{and}\quad \gcd(23,4)=1$$
Compute the residue modulo $23$ and $4$ first. We'll use Fermat's Little Theorem for the modulo $23$ part since it's a prime moduli.
$$19^{92}\equiv 19^{92~\bmod~22}\equiv 19^4\equiv (361)^2\equiv 16^2\equiv 3\pmod{23}$$
$$19^{92}\equiv (20-1)^{92}\equiv (-1)^{92}\equiv 1\pmod4$$
Use Chinese Remainder Theorem now.
Using Euler-Fermat, we have
$$19^{\varphi(92)} = 19^{44} \equiv 1 \mod 92$$
Thus $$19^{92} \equiv 19^{92-2\cdot44} = 19^4 \equiv 49 \mod 92$$
The last step can be done using a calculator.
$$19\equiv-1\pmod4,19^{92}\equiv(-1)^{92}\equiv1\ \ \ \ (1)$$
$$19\equiv-4\pmod{23}\implies19^{92}\equiv(-4)^{92}$$
$(-4)^{92}=4^{92}=(2^2)^{92}=2^{184}$
$184\equiv8\pmod{22}\implies2^{184}\equiv2^8\equiv3\pmod{23}\ \ \ \ (2)$
Apply CRT on $(1),(2)$ to find $$19^{92}\equiv49\pmod{92}$$