Prime Numbers and Euclid’s Proof
- 94Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
94 questions
- 1As of 2024, the largest known prime has almost_____digits.
Hint
It is many times larger than a number with 687 digits.
Answer
25 million
Explanation
The content states that the largest known prime as of 2024 has almost 25 million digits.
- 2The record-setting prime discovered in 2018 is written as 282589933−1, a number of the form_____.
Hint
Look for the general pattern used to describe Mersenne numbers.
Answer
2 to the power of n minus 1
Explanation
The exponent is a particular value of n, so the prime follows the form 2n−1.
- 3Despite centuries of searching, mathematicians still have not found a_____for generating all prime numbers.
Hint
It would be a single mathematical rule that produces primes.
Answer
formula
Explanation
The content says that no formula for generating prime numbers has been found, although methods for discovering larger primes exist.
- 4Around 300 BCE, Euclid proved that there are_____many prime numbers.
Hint
His proof shows that any proposed complete list can be challenged.
Answer
infinitely
Explanation
Euclid's argument establishes that the primes never run out.
- 5The fundamental factorization fact used in Euclid's proof is that every composite number has a unique representation as a product of_____.
Hint
These are the indivisible building blocks of integer factorization.
Answer
prime numbers
Explanation
Every composite number can be factored uniquely into prime numbers, apart from the ordering of its factors.
- 6In Euclid's proof, if the supposed complete list of primes is P, the constructed number Q is the product of all primes in P plus_____.
Hint
The added amount creates a remainder of one when divided by any listed prime.
Answer
1
Explanation
Euclid constructs Q by multiplying every number in the assumed list and adding 1.
- 7If Euclid's constructed number Q is prime, it directly contradicts the assumption that_____.
Hint
A prime outside the proposed complete list would disprove that assumption.
Answer
we have found all prime numbers
Explanation
If Q is prime, it is a prime not included in the assumed list P.
- 8If Q is composite, its prime factors cannot be any of the primes in P, since dividing Q by a listed prime leaves a remainder of_____.
Hint
This is the remainder created by adding one to the product of the listed primes.
Answer
1
Explanation
Every prime in P divides the product used to construct Q, so it leaves remainder 1 when dividing Q.
- 9The two cases in Euclid's argument show that the assumed list of all primes must be_____.
Hint
Whether Q is prime or composite, a prime outside the list must exist.
Answer
incomplete
Explanation
If Q is prime, it is missing from the list; if Q is composite, its prime factors are not in the list.
- 10The number 260 illustrates prime factorization as $2 \times 2 \times 5 \times_____$.
Hint
This is the remaining prime factor in the example.
Answer
13
Explanation
The example factors 260 as 2×2×5×13.
- 11For checking divisors of a number, divisor pairs imply that searching beyond the number's_____is unnecessary.
Hint
If one factor in a pair is larger than this threshold, its partner is smaller.
Answer
square root
Explanation
Divisors come in pairs, so every composite number has a factor at or below its square root.
- 12When searching for factors of a number up to its square root, it is enough to test_____as possible divisors.
Hint
A composite divisor would itself contain a smaller prime factor.
Answer
prime numbers
Explanation
Any composite divisor has prime factors, so testing prime divisors up to the square root is sufficient.
- 13To use prime-only divisor testing, one must already have a list of_____.
Hint
The divisor method relies on knowing which candidates are not composite.
Answer
prime numbers
Explanation
The method requires a list identifying the primes to test as possible divisors.
- 14The Sieve of Eratosthenes begins by declaring_____prime and marking its multiples as not prime.
Hint
It is the first prime number.
Answer
2
Explanation
The algorithm starts with 2, marks it prime, and crosses off its multiples.
- 15After marking the multiples of the current prime in the Sieve of Eratosthenes, the algorithm selects the next number that has not been_____.
Hint
This remaining candidate is then declared prime.
Answer
marked off
Explanation
The process repeatedly selects the next uncrossed number and marks off its multiples.
- 16Compared with checking every number individually, the Sieve of Eratosthenes is significantly_____, though it still has limits for very large primes.
Hint
It eliminates many composite candidates at once.
Answer
faster
Explanation
Crossing off multiples makes the sieve much faster than testing every number individually.
- 17The Sieve of Atkin starts with a list that already contains_____, 3, and 5.
Hint
It is the first prime in the list.
Answer
2
Explanation
The initial list for the Sieve of Atkin contains 2, 3, and 5.
- 18One of the three expressions used by the Sieve of Atkin is 4x2+y2; another is 3x2+y2, and the third is_____.
Hint
It uses subtraction rather than addition between the squared terms.
Answer
3x2−y2
Explanation
The three expressions are 4x2+y2, 3x2+y2, and 3x2−y2.
- 19In the Sieve of Atkin, results from the specified quadratic expressions are evaluated_____before candidates are added to the prime list.
Hint
The calculation uses remainders with a fixed modulus.
Answer
modulo 60
Explanation
The algorithm evaluates the expressions modulo 60 and uses the resulting values to identify candidates.
- 20After generating candidates in the Sieve of Atkin, the algorithm removes multiples of the_____of each relevant list number.
Hint
For example, it squares 7 and removes multiples of that result.
Answer
square
Explanation
The cleanup step removes multiples of each relevant number squared.
- 21On modern computers, the Sieve of Atkin can identify primes up to_____in less than a second.
Hint
The value is one thousand million.
Answer
1 billion
Explanation
The content says the Sieve of Atkin can find primes up to 1 billion in under a second on modern computers.
- 22Fermat's Little Theorem states that for prime p and an integer a smaller than p, ap−a is divisible by_____.
Hint
The prime named in the theorem is also the divisor.
Answer
p
Explanation
The theorem states that p divides ap−a for prime p and the specified values of a.
- 23The congruence form of Fermat's Little Theorem is ap≡a_____p.
Hint
This word specifies that the two sides have the same remainder upon division.
Answer
modulo
Explanation
Fermat's Little Theorem can be written as ap≡a(modp).
- 24Passing one Fermat test does not prove primality: with base 2, the composite number 341 satisfies the divisibility test and acts like a_____.
Hint
The test gives a misleading positive result for this composite.
Answer
prime
Explanation
The content notes that 2341−2 is divisible by 341, even though 341 is composite.
- 25Testing 341 with base a=3 reveals that it does not pass Fermat's test, indicating that 341 is_____.
Hint
A failed test can show that a number is composite.
Answer
not prime
Explanation
Unlike base 2, base 3 exposes that 341 is not prime.
- 26Composite numbers that pass Fermat's test for every allowed choice of a are called_____numbers.
Hint
This category of numbers can fool the theorem regardless of the base chosen.
Answer
Carmichael
Explanation
Carmichael numbers are composite numbers that satisfy the Fermat test for all choices of a described in the content.
- 27There are only_____Carmichael numbers up to one million, according to the content.
Hint
It is a relatively small two-digit count.
Answer
43
Explanation
The content gives the count as 43 Carmichael numbers up to one million.
- 28Because Carmichael numbers exist, Fermat's Little Theorem alone can identify only_____primes rather than guaranteeing primality.
Hint
The result indicates high likelihood, not certainty.
Answer
probable
Explanation
A Carmichael number can fool Fermat's test, so passing it does not provide absolute certainty.
- 29In the Miller–Rabin setup, an odd candidate n is written as 2xy+1, where y is_____.
Hint
The factorization removes powers of two from n−1.
Answer
odd
Explanation
The form n=2xy+1 expresses n−1 as a power of two times an odd number.
- 30For n=221, the Miller–Rabin decomposition given is 221=22×55+1, so the value of y is_____.
Hint
It is the odd factor multiplying the power of two.
Answer
55
Explanation
The example writes 221 as 22×55+1, making y=55.
- 31For n=221 with base a=13, the first remainder after computing 13y modulo 221 is_____.
Hint
This value is neither 1 nor negative 1 modulo 221.
Answer
208
Explanation
The example gives 1355mod221=208.
- 32In the Miller–Rabin example for 221, the first squaring gives 2082mod221=_____.
Hint
The result is still not negative 1 modulo 221.
Answer
169
Explanation
Squaring the remainder 208 gives remainder 169 modulo 221.
- 33For the Miller–Rabin test of 221, failing to reach negative 1 after the required squarings proves with certainty that 221 is_____.
Hint
A Miller–Rabin failure is conclusive evidence of compositeness.
Answer
not a prime number
Explanation
The example concludes that 221 is composite after the sequence of remainders never reaches negative 1.
- 34For n=37, the decomposition 37=22×9+1 gives_____as the odd factor.
Hint
It is the number multiplied by 22.
Answer
9
Explanation
The example expresses 37 as 22×9+1.
- 35With n=37 and a=8, the initial Miller–Rabin remainder is 6; after squaring, the remainder is_____modulo 37.
Hint
This is equivalent to negative 1 modulo 37.
Answer
36
Explanation
The next remainder is 36, which equals −1 modulo 37.
- 36In the Miller–Rabin example, a base that indicates a number is prime is called a_____.
Hint
For 37, both 8 and 11 play this role.
Answer
witness number
Explanation
The content calls bases such as 8 and 11 witness numbers because they indicate that 37 is prime.
- 37A base that makes a composite number appear prime in the Miller–Rabin test is called a_____.
Hint
For the composite number 85, base 13 receives this name.
Answer
liar
Explanation
The example calls 13 a liar because it indicates that 85 is prime when it is not.
- 38In the example with n=85, base 13 gives remainder 13 initially and then negative 1 after squaring, so 13 is a_____for 85.
Hint
The test is fooled even though 85 is composite.
Answer
liar
Explanation
Because 13 makes composite 85 appear prime, it is called a liar in this example.
- 39The content states that, on average, a number n has about a_____chance of a randomly selected Miller–Rabin base being a liar.
Hint
This is one quarter.
Answer
25%
Explanation
The stated average proportion of liars for a number is 25%.
- 40If five different randomly selected Miller–Rabin bases all indicate primality, the stated confidence that the number is prime is_____.
Hint
Repeated tests make the chance of a false positive very small.
Answer
99.9%
Explanation
The content says that five such tests provide 99.9% confidence.
- 41Unlike the Fermat test, the Miller–Rabin test has no composite number that appears prime for_____values of a.
Hint
For every composite, at least one base exposes it.
Answer
all
Explanation
The content says every composite number has some choice of a that reveals it is not prime.
- 42The Agrawal–Kayal–Saxena test is notable because it can determine primality with_____certainty.
Hint
Unlike probabilistic tests, it does not merely estimate likelihood.
Answer
100%
Explanation
The AKS test is presented as a method for conclusively determining whether a number is prime.
- 43For prime p, the AKS property described says that all coefficients in (x+1)p−xp−1 are divisible by_____.
Hint
The prime being tested is the divisor of every coefficient.
Answer
p
Explanation
The special property used by the AKS test is that the resulting coefficients are divisible by p when p is prime.
- 44Although the AKS test is conclusive, testing a 1000-digit number with it on a modern computer would still take_____.
Hint
Its certainty comes with a substantial speed limitation.
Answer
years
Explanation
The content emphasizes that AKS is slow for very large numbers and gives years as the example runtime.
- 45A prime of the form 2n−1 is called a_____prime.
Hint
The name is also used in the term “Mersenne number.”
Answer
Mersenne
Explanation
Primes of the form 2n−1 are called Mersenne Primes.
- 46The six largest known primes mentioned in the content are all_____Primes.
Hint
They share the form 2n−1.
Answer
Mersenne
Explanation
The content states that the six largest known primes are Mersenne Primes.
- 47If n is composite, then 2n−1 is_____.
Hint
Factoring n allows the expression to be factored.
Answer
composite
Explanation
When n is composite, the factorization of 2n−1 shows that it cannot be prime.
- 48The implication “if n is composite, then 2n−1 is composite” does not mean that prime n always produces a_____number 2n−1.
Hint
A conditional cannot generally be reversed, and the example with n=11 demonstrates this.
Answer
prime
Explanation
The converse is false: for example, 211−1=2047 is composite even though 11 is prime.
- 49A perfect number is an integer equal to the sum of its divisors,_____itself.
Hint
The number itself is left out when adding its proper divisors.
Answer
excluding
Explanation
A perfect number equals the sum of its divisors other than itself.
- 50Equivalently, for a perfect number n, the sum of all its factors, including itself, equals_____.
Hint
Include the number itself in addition to its proper divisors.
Answer
2n
Explanation
The content gives the equivalent definition that the sum of all factors of n is 2n.
- 51The smallest perfect number is_____.
Hint
Its proper divisors add to the number itself.
Answer
6
Explanation
The proper divisors of 6 are 1, 2, and 3, and their sum is 6.
- 52The next perfect number after 6 listed in the content is_____.
Hint
Its factors are 1, 2, 4, 7, 14, and itself.
Answer
28
Explanation
The first perfect numbers given are 6, 28, and 496.
- 53The content states that a Mersenne prime associated with exponent n, multiplied by 2n−1, yields a_____number.
Hint
The resulting number equals the sum of its proper divisors.
Answer
perfect
Explanation
The relationship described is that 2n−1(2n−1) is perfect when 2n−1 is a Mersenne prime.
- 54For the first Mersenne prime, multiplying 3 by 22−1 produces the first perfect number,_____.
Hint
It is also the sum of 1, 2, and 3.
Answer
6
Explanation
The example uses the first Mersenne prime, 3, and 22−1=3, giving 9?
- 55For the perfect number 28, the factors 1, 2, and 4 are_____of 2.
Hint
They can be written as 20, 21, and 22.
Answer
powers
Explanation
The factors 1, 2, and 4 are consecutive powers of 2.
- 56In the factor list of 28, the factors 7, 14, and 28 are the same powers of 2 multiplied by the corresponding_____prime.
Hint
The number 7 is the relevant prime of the form 2n−1.
Answer
Mersenne
Explanation
The factors 7, 14, and 28 are 7 times 1, 2, and 4, respectively.
- 57The Lucas–Lehmer sequence starts with 4, and each next term is the previous term squared minus_____.
Hint
The recurrence subtracts a small even integer after squaring.
Answer
2
Explanation
The sequence is defined by starting at 4 and repeatedly squaring the previous term and subtracting 2.
- 58The first three terms of the Lucas–Lehmer sequence are 4, 14, and_____.
Hint
Compute 142−2.
Answer
194
Explanation
The recurrence gives 142−2=194.
- 59For a Mersenne number 2n−1, the Lucas–Lehmer test checks whether the number divides the sequence's term numbered_____.
Hint
The index is one less than the exponent in the Mersenne number.
Answer
n−1
Explanation
The test examines the (n−1)th term of the sequence.
- 60To test whether 23−1=7 is prime, the Lucas–Lehmer procedure checks the second sequence term,_____.
Hint
It follows 4 in the sequence.
Answer
14
Explanation
For exponent 3, the relevant term is the second one, which is 14; 7 divides it.
- 61To keep Lucas–Lehmer calculations manageable, each term can be reduced by taking its remainder modulo the_____number.
Hint
This prevents intermediate values from becoming larger than necessary.
Answer
number being tested
Explanation
Reducing modulo the candidate Mersenne number keeps the calculated remainders manageable.
- 62The Lucas–Lehmer test example for 213−1 finds that the relevant twelfth term is congruent to_____.
Hint
A zero remainder means the candidate divides the term.
Answer
0
Explanation
The content reports that the twelfth term is 0 modulo 8191, so the test identifies 8191 as prime.
- 63In the content's account of the Lucas–Lehmer test, the sequence term indexed one less than the exponent is divisible by the Mersenne number when the test indicates it is_____.
Hint
The test uses divisibility of that sequence term as its criterion.
Answer
prime
Explanation
The described criterion is that the Mersenne number divides the relevant sequence term.
- 64A group consists of a set together with a binary operation satisfying closure, associativity, an identity element, and_____.
Hint
Every element must have a partner that combines with it to give the identity.
Answer
inverses
Explanation
These four properties define a group in the content.
- 65Closure means that combining any two elements using the operation produces another element_____.
Hint
The operation must not take you outside the set.
Answer
within the same group
Explanation
A group operation is closed when its result remains in the group.
- 66Associativity means that changing the grouping of operations does not change the_____.
Hint
For addition, (a+b)+c equals a+(b+c).
Answer
result
Explanation
Associativity concerns how operations are grouped, not the order of the elements.
- 67An identity element combines with any group element and leaves that element_____.
Hint
For integer addition, this element is 0.
Answer
unchanged
Explanation
The identity has no effect on another element under the group's operation.
- 68In the group of integers under addition, the identity element is_____.
Hint
Adding this value to an integer leaves it unchanged.
Answer
0
Explanation
Zero is the additive identity for the integers.
- 69In the group of integers under addition, the inverse of an integer is its_____.
Hint
Adding a number to this partner gives zero.
Answer
negative
Explanation
An integer and its negative sum to the identity, zero.
- 70The group of integers modulo 10 with addition uses the elements from_____through 9.
Hint
The set contains ten consecutive remainders.
Answer
0
Explanation
The elements in this group are the integers 0 through 9.
- 71In addition modulo 10, the sum of 5 and 6 is represented by the remainder_____.
Hint
The ordinary sum is 11, which leaves this remainder when divided by 10.
Answer
1
Explanation
Since 11 leaves remainder 1 upon division by 10, 5+6 is 1 modulo 10.
- 72The order of a group is the_____in the group.
Hint
For the integers modulo 10, this value is 10.
Answer
number of elements
Explanation
Group order counts how many elements the group contains.
- 73The order of an element is the smallest positive number of repeated operations with itself needed to reach the_____.
Hint
For addition modulo 10, this is 0.
Answer
identity element
Explanation
An element's order is the minimum number of repetitions that produces the group's identity.
- 74In the modulo 10 addition group, repeatedly adding 4 reaches 0 after five additions, so the order of 4 is_____.
Hint
The sequence of remainders is 4, 8, 2, 6, 0.
Answer
5
Explanation
Five repetitions are the first to return 4 to the identity element 0.
- 75If repeating an operation with an element a a total of s times gives the identity, then s must be a_____of the element's order.
Hint
For example, both 5 and 10 repetitions of 4 give the identity modulo 10.
Answer
multiple
Explanation
Any repetition count that returns to the identity is a multiple of the element's order.
- 76In the modulo 10 addition group, the order of element 3 is_____.
Hint
Repeated addition cycles through all ten elements before returning to 0.
Answer
10
Explanation
The sequence generated by repeatedly adding 3 returns to 0 after ten additions.
- 77The order of an element in a finite group cannot be greater than the_____of that group.
Hint
An element's cycle cannot contain more distinct elements than the group itself.
Answer
order
Explanation
An element's order is at most the number of elements in the group.
- 78For the Lucas–Lehmer sequence proof, the content defines x=2+3 and y=2−3, whose product is_____.
Hint
Use the difference of squares: (2+3)(2−3).
Answer
1
Explanation
Multiplying the conjugates gives 4−3=1.
- 79The sequence term numbered n is represented using x and y as x2n−1+y2n−1; this expression gives 4 when_____.
Hint
Substitute the first index into the exponents.
Answer
n=1
Explanation
When n=1, the expression is x+y=(2+3)+(2−3)=4.
- 80Squaring the expression for a sequence term and subtracting 2 produces the next term because xy equals_____.
Hint
The cross term simplifies using the product of the conjugates.
Answer
1
Explanation
Since xy=1, the cross term cancels the subtracted 2, leaving the expression for the next term.
- 81The set X consists of elements of the form a+b3, where both coefficients a and b belong to_____.
Hint
The coefficients come from the integers modulo the proposed factor.
Answer
Zq
Explanation
The proof defines X using coefficients in Zq.
- 82Because there are q choices for each of a and b, the set X has_____elements.
Hint
Count all ordered pairs of coefficient choices.
Answer
q2
Explanation
There are q possibilities for each of two coefficients, giving q2 combinations.
- 83The multiplicative group X∗ contains the elements of X that have a multiplicative_____.
Hint
Such an element can be paired with another to produce the identity 1.
Answer
inverse
Explanation
The group is defined using elements that are invertible under multiplication.
- 84The identity element for multiplication in X∗ is_____.
Hint
Multiplying by this value leaves every element unchanged.
Answer
1
Explanation
The multiplicative identity is 1.
- 85In the set X, zero is excluded from X∗ because it has no multiplicative_____.
Hint
There is no number that can be multiplied by zero to produce 1.
Answer
inverse
Explanation
Zero cannot be inverted, while the other elements are treated as invertible in the proof's construction.
- 86The proof gives the order of X∗ as_____.
Hint
It is the size of X with its noninvertible zero element removed.
Answer
q2−1
Explanation
Since X has q2 elements and zero is excluded, X∗ has q2−1 elements.
- 87The contradiction follows because the order of an element cannot exceed the group order, yet the proof forces it to be 2p while ∣X∗∣ is less than_____.
Hint
Compare the group-size bound with the claimed element order.
Answer
2p
Explanation
The proof obtains ∣X∗∣=q2−1<2p−1, which is smaller than the claimed order 2p.
- 88GIMPS is short for the Great Internet_____Prime Search.
Hint
The project searches for primes of the form 2n−1.
Answer
Mersenne
Explanation
GIMPS stands for the Great Internet Mersenne Prime Search.
- 89GIMPS relies on volunteers using free software and the combined computing power of computers around the_____.
Hint
The volunteers are geographically distributed.
Answer
world
Explanation
The project combines the work of hundreds of thousands of volunteer computers worldwide.
- 90GIMPS was founded in 1996 by_____.
Hint
He is identified as the founder of the distributed search project.
Answer
George Woltman
Explanation
The content names George Woltman as the founder of GIMPS.
- 91Since its beginning, GIMPS has discovered the new largest known prime number_____times.
Hint
It is a two-digit count of record-setting discoveries.
Answer
15
Explanation
The content says the project has set the record for the largest known prime 15 times.
- 92The 2018 record-breaking prime mentioned was discovered by Patrick Laroche using an ordinary home computer with an Intel processor from_____.
Hint
The computer hardware was several years old when the discovery was made.
Answer
2014
Explanation
Patrick Laroche found the prime on December 7, 2018, using a home computer with a 2014 Intel processor.
- 93Even with modern technology, testing a Mersenne number with millions of digits can take from a week to a_____or longer on one computer.
Hint
The upper end of the stated range is a unit of about four weeks.
Answer
month
Explanation
The content states that checking such a number can take a week to an entire month or more.
- 94The enormous numbers discussed at the end can have more digits than the total number of_____in the universe.
Hint
These are the tiny constituents of ordinary matter.
Answer
atoms
Explanation
The content describes numbers whose digit counts exceed the number of atoms in the universe.

Ask anything
We've read this whole study set, so questions about it get the best answers.