Skip to content
GATEiit

GATE CSE 2019 Q31: Value of 3^51 mod 5

Syllabus topic: Monoids and groups

Question

The value of 351 mod 5 is ________.

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 2 (official GATE 2019 final answer key)

Concept used: Modular exponentiation: powers of 3 modulo 5 repeat with period 4 (Fermat's little theorem gives 34≡1(mod5)).

Concept notes

Loading notes…

First step: Write 51=4⋅12+3, so 351≡33(mod5).

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Monoids and groups

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. Question paper · Answer key