The value of $3^{18} (mod\, 4)$ is equal to
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 1
Compute $3^{18}\;(\text{mod}\;4)$
$3\equiv -1\;(\text{mod}\;4)$
$3^{18}\equiv (-1)^{18}\;(\text{mod}\;4)$
$(-1)^{18}=1$
$3^{18}\equiv1\;(\text{mod}\;4)$
The value of $3^{18}\;(\text{mod}\;4)$ is $1$.