Given
Find
Compute the value of mod
Step-by-step explanation
We have given
as we can rewrite it
here , we see dividend , a = 2187 and divisor , b = 7
we know ,
where int is a integer part of the value .
so ,
2187 mod 7 = 2187 -(Int (2187/7)*7)
2187 mod 7 = 2187 - 312 *7
2187 mod 7 = 2187 - 2184
2187 mod 7 = 3
Final Answer
Therefore , the value of 3^7 mod 7 = 3