Unit 2: Number Theory-II - Practice Quiz

MTH381 — Number Theory And Cryptography 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 Which of the following is the definition of a prime number?

primes Easy
A. A positive integer greater than 1 with exactly two positive divisors
B. A positive integer divisible by 2
C. Any positive integer greater than 0
D. A positive integer greater than 1 with more than two divisors

2 Which of the following numbers is not prime?

primes Easy
A.
B.
C.
D.

3 What is the smallest prime number?

primes Easy
A.
B.
C.
D.

4 The Fundamental Theorem of Arithmetic states that every integer greater than 1 can be written as a product of primes that is unique up to what?

the fundamental theorem of arithmetic Easy
A. The choice of base
B. The order of the factors
C. The number of digits
D. The sign of the factors

5 What is the prime factorization of ?

the fundamental theorem of arithmetic Easy
A.
B.
C.
D.

6 Which of these represents a valid prime factorization?

the fundamental theorem of arithmetic Easy
A.
B.
C.
D.

7 When using trial division to test whether is prime, up to which value must you test divisors?

trial division Easy
A.
B.
C.
D.

8 Using trial division, which is the first prime you would test to check if is prime?

trial division Easy
A.
B.
C.
D.

9 Trial division determines primality by checking whether is divisible by any:

trial division Easy
A. Multiple of
B. Prime less than or equal to
C. Even number less than
D. Number greater than

10 The Sieve of Eratosthenes is an algorithm used to:

the sieve of Eratosthenes Easy
A. Find all primes up to a given limit
B. Compute the GCD of two numbers
C. Factor a single large number
D. Solve linear equations

11 In the Sieve of Eratosthenes, after selecting the prime , what do you do next?

the sieve of Eratosthenes Easy
A. Cross out all odd numbers
B. Cross out itself
C. Cross out all numbers less than
D. Cross out all multiples of greater than

12 When applying the Sieve of Eratosthenes up to , once you finish with the prime , what is the next prime to sieve with?

the sieve of Eratosthenes Easy
A.
B.
C.
D.

13 The Prime Number Theorem approximates the number of primes less than by which expression?

the prime number theorem Easy
A.
B.
C.
D.

14 The Prime Number Theorem tells us that as numbers grow larger, primes become:

the prime number theorem Easy
A. More frequent on average
B. Equally spaced everywhere
C. Less frequent on average
D. Completely absent

15 What is ?

greatest common divisors and least common multiples Easy
A.
B.
C.
D.

16 What is ?

greatest common divisors and least common multiples Easy
A.
B.
C.
D.

17 For positive integers and , which relationship always holds?

greatest common divisors and least common multiples Easy
A.
B.
C.
D.

18 Two integers whose greatest common divisor is are called:

greatest common divisors and least common multiples Easy
A. Composite
B. Relatively prime
C. Perfect
D. Twin primes

19 The Euclidean algorithm computes by repeatedly replacing the pair with:

the Euclidean algorithm Easy
A. only
B.
C.
D.

20 Using the Euclidean algorithm, what is ?

the Euclidean algorithm Easy
A.
B.
C.
D.

21 What is the prime factorization of ?

the fundamental theorem of arithmetic Medium
A.
B.
C.
D.

22 Using the Euclidean algorithm, what is ?

the Euclidean algorithm Medium
A.
B.
C.
D.

23 If and , what is the product ?

greatest common divisors and least common multiples Medium
A.
B.
C.
D.

24 Which pair of integers satisfies ?

greatest common divisors as linear combinations Medium
A.
B.
C.
D.

25 To test whether is prime using trial division, up to which integer must you test divisors?

trial division Medium
A.
B.
C.
D.

26 When applying the sieve of Eratosthenes to find all primes up to , what is the largest prime whose multiples must be crossed out?

the sieve of Eratosthenes Medium
A.
B.
C.
D.

27 Which of the following numbers is prime?

primes Medium
A.
B.
C.
D.

28 What is ?

greatest common divisors and least common multiples Medium
A.
B.
C.
D.

29 According to the prime number theorem, the number of primes less than is approximately:

the prime number theorem Medium
A.
B.
C.
D.

30 How many division steps does the Euclidean algorithm take to compute ?

the Euclidean algorithm Medium
A.
B.
C.
D.

31 How many positive divisors does have?

the fundamental theorem of arithmetic Medium
A.
B.
C.
D.

32 The equation has integer solutions if and only if is a multiple of which value?

greatest common divisors as linear combinations Medium
A.
B.
C.
D.

33 Two primes and are called twin primes if they differ by . Which of the following is a twin prime pair?

primes Medium
A.
B.
C.
D.

34 If , the integers and are said to be:

greatest common divisors and least common multiples Medium
A. relatively prime
B. twin primes
C. both prime
D. perfect squares

35 Using trial division, which is the smallest prime factor of ?

trial division Medium
A.
B.
C.
D.

36 What is computed by the Euclidean algorithm?

the Euclidean algorithm Medium
A.
B.
C.
D.

37 Which statement correctly describes the fundamental theorem of arithmetic?

the fundamental theorem of arithmetic Medium
A. Every integer greater than is prime
B. Every integer greater than has a unique prime factorization up to order
C. There are infinitely many prime numbers
D. Every even number is a product of two primes

38 How many primes are there less than or equal to ?

the sieve of Eratosthenes Medium
A.
B.
C.
D.

39 Given that , which expression correctly writes as a linear combination?

greatest common divisors as linear combinations Medium
A.
B.
C.
D.

40 Using the prime number theorem approximation , roughly how many primes are less than ? (Use .)

the prime number theorem Medium
A. about
B. about
C. about
D. about

41 Let . How many positive divisors of are perfect squares?

the fundamental theorem of arithmetic Hard
A.
B.
C.
D.

42 If and , and with both having exactly the same set of prime factors as , how many ordered pairs with are possible?

greatest common divisors and least common multiples Hard
A.
B.
C.
D.

43 How many division steps does the Euclidean algorithm take to compute ?

the Euclidean algorithm Hard
A.
B.
C.
D.

44 Find integers with where . What is ?

greatest common divisors as linear combinations Hard
A.
B.
C.
D.

45 When testing whether is prime by trial division, what is the largest prime you must test as a potential divisor?

trial division Hard
A.
B.
C.
D.

46 In the sieve of Eratosthenes applied to integers up to , when crossing out multiples of the prime , what is the first (smallest) number that gets crossed out at this step?

the sieve of Eratosthenes Hard
A.
B.
C.
D.

47 By the prime number theorem, the density of primes near a large integer is approximately . Roughly how many times denser are primes near compared to near ?

the prime number theorem Hard
A. About times
B. About times
C. About times
D. About times

48 Which of the following statements about twin primes and the number for a prime is always true?

primes Hard
A. is divisible by
B. is divisible by
C. is divisible by but never
D. is always prime

49 The number of trailing zeros of in base is determined by the exponent of which prime in its factorization?

the fundamental theorem of arithmetic Hard
A. , giving zeros
B. , giving zeros
C. , giving zeros
D. , giving zeros

50 For positive integers , which identity always holds?

greatest common divisors and least common multiples Hard
A.
B.
C.
D.

51 For which values of does the equation have integer solutions?

greatest common divisors as linear combinations Hard
A. is a multiple of
B. is a multiple of
C. is a multiple of
D. is a multiple of

52 Using the Euclidean algorithm, what is ?

the Euclidean algorithm Hard
A.
B.
C.
D.

53 Which of these Mersenne-type numbers is NOT prime, illustrating that prime does not guarantee prime?

primes Hard
A.
B.
C.
D.

54 How many positive integers are 'squarefree' (not divisible by any perfect square greater than )?

the fundamental theorem of arithmetic Hard
A.
B.
C.
D.

55 To find all primes up to using the sieve of Eratosthenes, up to which value must you sieve (use primes as strike-out bases)?

the sieve of Eratosthenes Hard
A. Primes up to
B. Primes up to
C. Primes up to
D. Primes up to

56 The prime number theorem states . Which refinement gives a more accurate approximation for finite ?

the prime number theorem Hard
A. The ratio
B. The exponential
C. The polynomial
D. The logarithmic integral

57 If and , and , which single value of is consistent with and ?

greatest common divisors and least common multiples Hard
A.
B.
C.
D.

58 Given expressed as , the complete set of solutions to is described by which formula (with )?

greatest common divisors as linear combinations Hard
A.
B.
C.
D.

59 The number of steps in the Euclidean algorithm for with is maximized (relative to size) when are consecutive terms of which sequence?

the Euclidean algorithm Hard
A. The Fibonacci sequence
B. The powers of
C. The prime sequence
D. The triangular numbers

60 By a classic result, how many primes are there of the form less than or equal to a given bound, in the limit?

primes Hard
A. Infinitely many
B. Only twin-prime candidates
C. None beyond
D. Exactly finitely many