Homepage › Solution manuals › David S. Dummit › Abstract Algebra › Exercise 0.3.4 ($37^{100} \mod 29$)
Exercise 0.3.4 ($37^{100} \mod 29$)
Compute the remainder when is divided by .
Answers
Proof. Since is a prime number, by Fermat’s Theorem,
Therefore
Moreover, modulo ,
So
where . Therefore the remainder when is divided by is . □
With Sagemath:
sage: a = Mod(37, 29) sage: a^100 23
2026-01-07 10:27