Question: ( 1 point ) This question concerns primality testing. Consider the composite number 2 3 1 . Recall Fermat's Little Theorem: For any prime p

(1 point) This question concerns primality testing. Consider the composite number 231.
Recall Fermat's Little Theorem:
For any prime p and integer a,ap-1-=1modp.
It happens that the converse to FLT is often but not always true. That is, if n is composite and a is an
integer, then more often than not an-11modn. We can use this as the basis of a simple primality
test, called the Fermat Test.
For ainZ231 we make the following definitions.
We call a a Fermat Liar for n=231 if an-1-=1modn, where a!in(0,1,n-1).
We call a a Fermat Witness for n=231 if an-11modn, where a!in(0,1,n-1).
Please answer the following.
a) What is the first Fermat Liar in Z231?
b) What is the first Fermat Witness in Z231?
c) How many Fermat Liars are in Z231? Remember not to count 0,1, or n-1.
 (1 point) This question concerns primality testing. Consider the composite number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!