Using Fermat’s little theorem, find the least residue of 5^38 modulo 13.
I know that the theorem states to use a^p-1 is congruant to 1 (mod p)
but how do i apply this using the above 5^38 mod 13?
any help would be great
snejs
Using Fermat’s little theorem, find the least residue of 5^38 modulo 13.
I know that the theorem states to use a^p-1 is congruant to 1 (mod p)
but how do i apply this using the above 5^38 mod 13?
any help would be great
snejs
Actually Fermat's little theorem is, if p is a prime
ap = a mod(p)
We can write that as
ap-1 = 1 mod(p)
only if a and p are relatively prime. In any case
528 = 512 512 52 52
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.