$\cfrac{(3^{34})}{55}$ find out the reminder
My Approach
$3^1$ mod $55$=$3$
$3^2$ mod $55$=$9$
$3^3$ mod $55$=$7$
$3^4$ mod $55$=$6$
and the pattern repeats ..
So,I did $3$^$4$.$8$ +$2$=$3^2$=9 mod $55$=$9$.
Can anyone guide me how to solve the problem?Pleae correct me if I am wrong?
$55=5\cdot11$
$3^2\equiv-1\pmod5\implies3^{34}=(3^2)^{17}\equiv(-1)^{17}$
$\implies3^{34}\equiv-1\pmod5\equiv4\ \ \ \ (1)$
As $(3,11)=1,3^{10}\equiv1\pmod{11}$ and $34\equiv4\pmod{10}$
$\implies3^{34}\equiv3^4\pmod{11}\equiv4\ \ \ \ (2)$
Apply CRT on $(1),(2)$
Otherwise by observation $3^{34}\equiv4\pmod{11\cdot5}$ as $(11,5)=1$