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