Number Theory Introduction
- 47Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
47 questions
- 1A number is called prime if its only positive factors are 1 and_____.
Hint
Think about what makes a number prime versus composite.
Answer
itself
- 2The number 1 is not considered prime because it would break the property of_____factorization.
Hint
Think about why we exclude 1 to ensure a unique way to factor numbers.
Answer
unique
- 3Euclid's proof that there are infinitely many primes works by taking the product of all known primes, adding one, and showing this new number is either a new prime or has a new_____.
Hint
What does the new number produce that wasn't in the original list?
Answer
prime factor
- 4Dirichlet's theorem states that there are infinitely many primes of the form an + b provided that a and b have no_____.
Hint
What condition ensures that the arithmetic progression contains infinitely many primes?
Answer
common factors
- 5The Sieve of Eratosthenes generates primes up to a certain number by repeatedly crossing out multiples of each prime, starting with the smallest prime, which is_____.
Hint
What is the smallest prime number?
Answer
2
- 6A Mersenne prime is a prime number of the form 2n−1 where n itself must be_____.
Hint
If the exponent is composite, what can we say about the Mersenne number?
Answer
prime
- 7The Mersenne number 211−1=2047 is not prime because it equals 23 times_____.
Hint
Think about the factorization of 2047.
Answer
89
- 8A perfect number is a positive integer whose proper divisors (excluding the number itself) sum to the_____.
Hint
Recall examples like 6 and 28.
Answer
number itself
- 9Euclid's formula for even perfect numbers is 2n−1×(2n−1), where 2n−1 must be a_____.
Hint
The condition involves a specific type of prime.
Answer
Mersenne prime
- 10It is currently unknown whether any_____perfect numbers exist, though if they do, they must be enormous (over 101500).
Hint
What parity is missing in known perfect numbers?
Answer
odd
- 11Fermat primes are of the form 22n+1, and the first five are 3, 5, 17, 257, and_____.
Hint
It is the fifth Fermat number, 216+1.
Answer
65537
- 12Fermat's conjecture that all numbers of the form 22n+1 are prime turned out to be false; Euler showed that 232+1 is divisible by_____.
Hint
This number divides the sixth Fermat number.
Answer
641
- 13Gauss proved that a regular polygon with n sides can be constructed with ruler and compass if and only if n is a power of two times a product of distinct_____.
Hint
What special type of primes appear in this condition?
Answer
Fermat primes
- 14There are infinitely many primes of the form 4n+1 and of the form 4n+3, but the only prime of the form 4n+2 is_____.
Hint
Since 4n+2 is even, what does that imply for n>0?
Answer
2
- 15No perfect square can end in the digits 2, 3, 7, or_____.
Hint
Think about the possible last digits of squares of 0-9.
Answer
8
- 16The sum of the first n odd numbers equals_____.
Hint
Think of the geometric representation with L-shaped dots.
Answer
n2
- 17A perfect square modulo 4 is either 0 or 1, never 2 or_____.
Hint
Consider the possible residues of even and odd numbers mod 4.
Answer
3
- 18A number consisting entirely of ones, like 1111, cannot be a perfect square because it is congruent to 3 modulo_____.
Hint
What modulo condition must all perfect squares satisfy?
Answer
4
- 19If n is an odd integer, then n2 is congruent to 1 modulo_____.
Hint
Use the expression n=2k+1 and examine n2.
Answer
8
- 20All primitive Pythagorean triples with a odd and b even can be generated by a=x2−y2, b=2xy, c=x2+y2, where x and y are coprime and of opposite_____.
Hint
What property must x and y have regarding evenness?
Answer
parity
- 21The Pythagorean triple (3,4,5) is generated by the values x=2, y=1 in the formula: a=22−12=3, b=2⋅2⋅1=4, $c=2^2+1^2=_____$
Hint
Calculate c from the formula.
Answer
5
- 22For a prime number like 29, there are exactly_____right triangles (primitive) that have 29 as a side length.
Hint
29 can appear as either the hypotenuse or one leg in primitive triples.
Answer
two
- 23Numbers of the form 4n+3 cannot be written as the sum of two_____.
Hint
What type of expression are we considering?
Answer
squares
- 24A prime of the form 4n+1 can be expressed as the sum of two squares in exactly_____way(s).
Hint
Fermat stated this theorem about uniqueness.
Answer
one
- 25Fermat's Last Theorem states that for integers n>2, the equation an+bn=cn has no positive integer solutions. It was proved by_____in 1995.
Hint
Name the mathematician who finally proved it after 350 years.
Answer
Andrew Wiles
- 26In modular arithmetic, we say a≡b(modn) if a−b is divisible by n, meaning a and b have the same_____when divided by n.
Hint
What do we compare after division?
Answer
remainder
- 27Gauss introduced modular arithmetic in his book_____published in 1801.
Hint
What is the title of Gauss's number theory book?
Answer
Disquisitiones Arithmeticae
- 28On a 12-hour clock, 9 plus 6 equals 3, which is written as $9+6 \equiv 3 \pmod{_____}$.
Hint
What modulus is used for a 12-hour clock?
Answer
12
- 29To find the day of the week, we can use Carroll's method which adds four numbers: century, year, month, and day, and then reduces the sum modulo_____.
Hint
How many days in a week?
Answer
7
- 30In Carroll's method, the century number is found by taking the first two digits of the year, dividing by 4, subtracting the remainder from 3, and_____the result.
Hint
What operation comes after subtracting the remainder from 3?
Answer
doubling
- 31For the year number in Carroll's method, we take the last two digits of the year, divide by 12, add the quotient, the remainder, and the number of times 4 divides into the_____.
Hint
What do we do with the remainder from the division by 12?
Answer
remainder
- 32Using Carroll's method, September 28, 2020 yields a day number of 1, which corresponds to_____.
Hint
If 0 is Sunday, then 1 is which day?
Answer
Monday
- 33February has five Sundays only in leap years, and within a century, these occur in 2004, 2032, 2060, and_____. (Hint: the cycle repeats every 28 years.)
Hint
Add 28 to 2060 to find the next year.
Answer
2088
- 34Fermat's little theorem states that for any integer a and prime p, ap−a is divisible by p, or equivalently ap−1≡1(modp) provided that a and p are_____.
Hint
What condition on a and p allows dividing by a?
Answer
coprime
- 35One proof of Fermat's little theorem uses counting of_____with p beads and a colors, where the number of necklaces using at least two colors is integer.
Hint
What object with beads is counted in the alternative proof?
Answer
necklaces
- 36When shuffling a standard 52-card deck using a perfect riffle shuffle, the cards return to their original order after_____shuffles.
Hint
This number comes from 2n≡1(mod53).
Answer
52
- 37For a deck of 54 cards (including two jokers), the cards return to original order after_____shuffles.
Hint
We combine results mod 5 and mod 11 to get mod 55.
Answer
20
- 38Euler's totient function ϕ(n) counts the number of integers between 1 and n that are_____to n.
Hint
What property do these numbers share with n?
Answer
coprime
- 39For a prime p, $\phi(p) =_____.
Hint
All positive integers less than a prime are coprime to it.
Answer
p−1
- 40If p and q are distinct primes, then $\phi(pq) = (p-1)(_____-1)$.
Hint
The formula involves both primes.
Answer
q
- 41Euler's theorem generalizes Fermat's theorem: if a and n are coprime, then $a^{\phi(n)} \equiv 1 \pmod{_____}$.
Hint
The modulus is the same as in the exponent's base.
Answer
n
- 42RSA cryptography was publicly invented in 1978 by Rivest, Shamir, and Adleman, but earlier discovered secretly by_____at Bletchley Park.
Hint
The British mathematician who preceded the RSA trio (the lecture mentions 'Cliff Cox').
Answer
Cliff Cocks
- 43In RSA, the public key consists of N, the product of two large primes, and an exponent e that is coprime to ϕ(N). The private key d satisfies $ed \equiv 1 \pmod{_____}$.
Hint
Which modulus is used to define d?
Answer
ϕ(N)
- 44In RSA, encryption of a message M is computed as C=MemodN, and decryption is M=CdmodN, where the security relies on the difficulty of_____large numbers.
Hint
What computational problem is hard if N is large?
Answer
factoring
- 45In the RSA example with p=29, q=37, N=1073, ϕ(N)=1008, e=11, then d is computed to be_____.
Hint
Find d such that 11d≡1(mod1008).
Answer
275
- 46In RSA, the message M is first converted to a number using a scheme like A=1,B=2, etc., and then encrypted using the_____key.
Hint
Which key is used to encrypt?
Answer
public
- 47Euler's theorem is used in RSA to show that raising a ciphertext to the private exponent d recovers the original message: Med≡M(modN) because $e d \equiv 1 \pmod{_____}$.
Hint
Which modulus relates e and d?
Answer
ϕ(N)

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