Solve this:
(2^5^40^80) divided by 7
:')
shadowsabers03:
You mean to find the remainder?
Answers
Answered by
4
Question:
Find the remainder when is divided by 7.
Solution:
Since 7 is a prime number and gcd(2, 7) = 1, we use Fermat's theorem.
So we have to write in the form 6a + b. For this, we have to get the remainder on dividing by 6.
Here it seems gcd(5, 6) = 1, but 6 is not a prime number. Here we use Euler's theorem.
So we have to write in the form 2a + b. And we have to find the remainder when is divided by 2.
Since 40 is divisible by 2, then so will be hence 0 is the remainder.
Let
Hence the remainder when is divided by 6 is 1.
Let
Now,
Hence, 2 is the answer.
Similar questions