Question
The value of is ________.
Official answer and solution
- Official answer
- 2
- From
- Official GATE 2019 answer key
Solution
Apply Fermat's Little Theorem to compute the remainder of 3^51 modulo 5.
Since is prime and , Fermat's Little Theorem states that:
Express the exponent in terms of multiples of :
Compute :
Final answer
2
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2019 Computer Science and Information Technology (CS)
- Question
- 31 of 65, printed as CS Q.21
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.