$$\left[\frac{2222^{5555}}{7} + \frac{5555^{2222}}{7}\right]$$
Please guide me through steps. Thanx..
$$\left[\frac{2222^{5555}}{7} + \frac{5555^{2222}}{7}\right]$$
Please guide me through steps. Thanx..
We need to evaluate $$2222^{5555}+5555^{2222}\equiv?\pmod{7}$$
We have,
$$2222\equiv3\pmod{7}$$ $$3^5\equiv5\pmod{7}$$
$$5555\equiv4\pmod{7}$$
$$4^2\equiv2\equiv-5\pmod{7}$$
Can you do it now?
$$a^{\varphi(n)} \equiv 1 \pmod n, \text{ when } (a,n)=1$$ $$\varphi(7)=6 \Rightarrow 2222^6\equiv 1 \pmod7$$ $$2222^{5555} \pmod7=2222^{925 \cdot 6 +5} \pmod7=(2222^6)^{925} \cdot 2222^5 \pmod7 = 2222^5 \pmod7 =3^5 \pmod7=243 \pmod7=5$$ Do the same for the other one..