Euler’s theorem.
Fermat’s Theorem
Fermat’s
theorem states:
If
p is prime and a is a positive integer not divisible by p, then
ap-1 º 1(mod p)
Alternatively ap º a (mod p)
useful
in public key and primality testing
Note: º indicates congruence
•Euler’s
totient
function, written Ø(n),
and defined as the number of positive integers less than n and relatively prime
to n.
Ø(1)=1
Ø(3) = (3-1)=2
Ø(4)={1,3}=2
No comments:
Post a Comment