Remainder when $2005^{2002} + 2002^{2005}$ is divided by $2003$

282 Views Asked by At

Find the remainder when $2005^{2002} + 2002^{2005}$ is divided by $2003$ ?

Is there any better approach to this rather than using binomial theorem?

1

There are 1 best solutions below

0
On BEST ANSWER

\begin{align*} 2005^{2002} + 2002^{2005} & \equiv (2)^{2002}+(-1)^{2005} \pmod{2003}\\ & \equiv 1-1 \pmod{2003}\\ & \equiv 0 \pmod{2003}. \end{align*} The second last step follows from Fermat's little theorem (since $2003$ is prime), we have $$2^{2002} \equiv 1 \pmod{2003}.$$