I have a problem with number theory. I want to calculate $7^{242}$ in $\pmod{35}$, and have tried Euler totient function, but not come a long way with that.
Also tried $7^{241} \times 7^{1} = 7 \times 7 = 49$ in $\pmod{241}$. And if the residue is $49$ in $\pmod{241}$, then $7^{242} \pmod{35}$ would be $14$.
Any tips?
Preben