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
icon
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
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
steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education