Find the remainder when dividing $13^{3530}$ with $12348$.
How do I solve these type of exercises? I know there's some algorithm for solving them, I just haven't found a concrete example. Could anyone point me in the right direction?
Find the remainder when dividing $13^{3530}$ with $12348$.
How do I solve these type of exercises? I know there's some algorithm for solving them, I just haven't found a concrete example. Could anyone point me in the right direction?
As $12348=2^23^27^3,$
$13\equiv1\pmod{2^2}\implies13^n\equiv1\ \ \ \ (1)$
$13^3=(1+12)^3\equiv1\pmod{3^2}$
As $3530\equiv2\pmod3,13^{3530}\equiv13^2\pmod9\equiv7\ \ \ \ (2)$
Now $\phi(7^3)=7^2(7-1)$ and $3530\equiv2\pmod{7^2(7-1)}$ $\implies13^{3530}\equiv13^2\pmod{7^3}\equiv169\ \ \ \ (3)$
Now apply CRT on $(1),(2),(3)$
Alternatively, using Carmichael function, $$\lambda(2^23^27^3)=294$$ and $$3530\equiv2\pmod{294}$$
$$\implies13^{3530}\equiv13^2\pmod{2^23^27^3}$$