2

Find $2^{403}$ mod $22$.

I tried using FLT but since 22 is not prime then I can't, so I'm stuck on how to break down $2^{403}$ so its easier to compute the remainder.

Robert Z
  • 145,942
  • Use fermats little theorem in conjunction with chinese remainder theorem. What is the remainder of $2^{403}$ when divided by $11$? What is the remainder of $2^{403}$ when divided by $2$? How do you combine this information? – JMoravitz Nov 09 '17 at 21:17
  • 1
    $2^{403}$ = 8 (mod 11) and $2^{403}$ = 0 (mod 2) so $2^{403}$ = 8 (mod 22)? – Skrrrrrtttt Nov 09 '17 at 21:20
  • 1
    See here. If it were up to me I would instaclose this as a duplicate, but I have promised not to. Instead, I downvote answers by experienced users unless their answer brings up an unusual solution. – Jyrki Lahtonen Nov 09 '17 at 21:29

3 Answers3

3

If $2^{403}=r+22 q$ with $q,r\in \mathbb{Z}$ then $r$ is even and $2^{402}=r'+11 q$, where $r=2r'$.

Now note that $11$ is prime and by Fermat's little theorem $2^{402}=2^{10\cdot 40}4\equiv 4$ mod $11$.

Therefore $2^{403} \equiv 2\cdot 4\equiv 8$ mod $22$.

Robert Z
  • 145,942
  • I got a downvote. That's fine. But I am really curious to know if something is wrong with my answer. – Robert Z Nov 09 '17 at 21:34
2

$2^{403} \equiv 0$ mod $2$, and $2^{403}=2^{10 \times 40} 2^{3} \equiv 8$ mod $11$, by Fermats little theorem. By the Chinese remainder theorem, $2^{403} \equiv 8$ mod $22$.

mich95
  • 8,713
0

Well, if the Chinese Remainder Theorem slipped your mind. You can always reason:

$2^{403} = 22k + r$ and as $22$ and $2^{403}$ are even then $r$ is even.

$2^{403} = 22k + 2s$ so $2^{402} = 11k + s$. Now you can use $FLT$.

$2^{10}\equiv 1 \mod 11$ so $2^{402} \equiv 2^2 \equiv 4 \mod 11$.

So $s =4$ and $r = 8$.

... But as others have pointed out CRT theorem addresses just this problem.

fleablood
  • 124,253