- #1
Saitama
- 4,243
- 93
Problem:
When $3^{2002}+7^{2002}+2002$ is divided by 29, the remainder is:
A)0
B)1
C)2
D)7
Attempt:
I tried the following:
$3^3 \equiv -2\mod 29$ i.e $3^{2002} \equiv 3\cdot 3^{2001} \equiv -3\cdot 2^{667} \mod 29$
Also, $2^5 \equiv 3 \mod 29$, hence, $-3\cdot 2^{667} \equiv -3\cdot 2^2\cdot 3^{133} \mod 29$
But this is becoming too long, I can continue with $3^3 \equiv -2\mod 29$ again but this is time consuming. I assume there exists a better method because 29 is a prime number.
Any help is appreciated. Thanks!
When $3^{2002}+7^{2002}+2002$ is divided by 29, the remainder is:
A)0
B)1
C)2
D)7
Attempt:
I tried the following:
$3^3 \equiv -2\mod 29$ i.e $3^{2002} \equiv 3\cdot 3^{2001} \equiv -3\cdot 2^{667} \mod 29$
Also, $2^5 \equiv 3 \mod 29$, hence, $-3\cdot 2^{667} \equiv -3\cdot 2^2\cdot 3^{133} \mod 29$
But this is becoming too long, I can continue with $3^3 \equiv -2\mod 29$ again but this is time consuming. I assume there exists a better method because 29 is a prime number.
Any help is appreciated. Thanks!