Question: ermat's Little Theorem: For any prime pp and integer aa , ap 1 1 modpap 1 1 modp. It happens that the converse to FLT
ermat's Little Theorem:
For any prime pp and integer aa apmodpapmodp.
It happens that the converse to FLT is often but not always true.
That is if nn is composite and aa is an integer, then more often than not anmodnanmodn.
We can use this as the basis of a simple primality test, called the Fermat Test.
For a in Zna in Zn we make the following definitions.
We call aa a Fermat Liar for nn if anmodnanmodn, where anan
We call aa a Fermat Witness for nn if anmodnanmodn, where anan
If a number is composite, then is very often a Fermat Witness.
What is the smallest composite integer nn greater than for which is not a Fermat Witness?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
