Find the remainder when $2^{1990}$ is divided by $1990$. I didn't get answer by Euler's generalization.
Asked
Active
Viewed 258 times
0
1 Answers
2
Let's see. 199 is prime, so $b^{198x} = 1 \pmod{199}$. Since the period of $5$ is 4, we see that $b^{1981} = b^1 \pmod{1990} $ for all b. So it's a matter of finding the remainder of $2^{10} \pmod{1990}$
But since this is $1024$, which is less than $1990$, that is the sought answer.

wendy.krieger
- 6,856
(2 ^ 1990) \
mod` 1990` in Haskell says "1024". – Dan Shved Mar 30 '14 at 06:40