Entered Answer Preview Result 8 00 2 120 8 correct 2 correct 120 At least one of the answers above is NOT correct. (1 point) This question concerns primality testing. Consider the composite number 231. Recall Fermat's Little Theorem: For any prime p and integer a, -1 ap- = 1 mod p. incorrect n-1 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 #1 mod n. We can use this as the basis of a simple primality test, called the Fermat Test. For a Є Z231 we make the following definitions. 1) We call a a Fermat Liar for n = 231 if an 11 mod n, where a € (0, 1, n − 1). n-1 - 2) We call a a Fermat Witness for n = 231 if a 1 mod n, where a € (0, 1, n − 1). Please answer the following. a) What is the first Fermat Liar in Z231 ? 8 b) What is the first Fermat Witness in Z231 ? 2 c) How many Fermat Liars are in Z231? Remember not to count 0,1, or n - 1. 120
Entered Answer Preview Result 8 00 2 120 8 correct 2 correct 120 At least one of the answers above is NOT correct. (1 point) This question concerns primality testing. Consider the composite number 231. Recall Fermat's Little Theorem: For any prime p and integer a, -1 ap- = 1 mod p. incorrect n-1 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 #1 mod n. We can use this as the basis of a simple primality test, called the Fermat Test. For a Є Z231 we make the following definitions. 1) We call a a Fermat Liar for n = 231 if an 11 mod n, where a € (0, 1, n − 1). n-1 - 2) We call a a Fermat Witness for n = 231 if a 1 mod n, where a € (0, 1, n − 1). Please answer the following. a) What is the first Fermat Liar in Z231 ? 8 b) What is the first Fermat Witness in Z231 ? 2 c) How many Fermat Liars are in Z231? Remember not to count 0,1, or n - 1. 120
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
![Entered
Answer Preview
Result
8
00
2
120
8
correct
2
correct
120
At least one of the answers above is NOT correct.
(1 point) This question concerns primality testing. Consider the composite number 231.
Recall Fermat's Little Theorem:
For any prime p and integer a, -1
ap- = 1 mod p.
incorrect
n-1
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 #1 mod n. We can use this as the basis of a simple primality test, called
the Fermat Test.
For a Є Z231 we make the following definitions.
1) We call a a Fermat Liar for n = 231 if an 11 mod n, where a € (0, 1, n − 1).
n-1
-
2) We call a a Fermat Witness for n = 231 if a 1 mod n, where a € (0, 1, n − 1).
Please answer the following.
a) What is the first Fermat Liar in Z231 ?
8
b) What is the first Fermat Witness in Z231 ?
2
c) How many Fermat Liars are in Z231? Remember not to count 0,1, or n - 1.
120](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F38650a9c-63f5-423f-8b89-b03c0dad949f%2F047a0014-3676-41a9-aaeb-8f95d09fbeb1%2Fheyrdl_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Entered
Answer Preview
Result
8
00
2
120
8
correct
2
correct
120
At least one of the answers above is NOT correct.
(1 point) This question concerns primality testing. Consider the composite number 231.
Recall Fermat's Little Theorem:
For any prime p and integer a, -1
ap- = 1 mod p.
incorrect
n-1
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 #1 mod n. We can use this as the basis of a simple primality test, called
the Fermat Test.
For a Є Z231 we make the following definitions.
1) We call a a Fermat Liar for n = 231 if an 11 mod n, where a € (0, 1, n − 1).
n-1
-
2) We call a a Fermat Witness for n = 231 if a 1 mod n, where a € (0, 1, n − 1).
Please answer the following.
a) What is the first Fermat Liar in Z231 ?
8
b) What is the first Fermat Witness in Z231 ?
2
c) How many Fermat Liars are in Z231? Remember not to count 0,1, or n - 1.
120
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education