1Which 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
Correct Answer: A positive integer greater than 1 with exactly two positive divisors
Explanation:
A prime number is an integer greater than 1 whose only positive divisors are and itself, giving it exactly two divisors.
Incorrect! Try again.
2Which of the following numbers is not prime?
primes
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
, so it has divisors other than and itself, making it composite. The others are prime.
Incorrect! Try again.
3What is the smallest prime number?
primes
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
is the smallest prime and the only even prime number. is not prime because it has only one divisor.
Incorrect! Try again.
4The 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
Correct Answer: The order of the factors
Explanation:
The theorem guarantees a unique prime factorization for each integer , unique except for the order in which the prime factors are written.
Incorrect! Try again.
5What is the prime factorization of ?
the fundamental theorem of arithmetic
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
, which uses only prime factors.
Incorrect! Try again.
6Which of these represents a valid prime factorization?
the fundamental theorem of arithmetic
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
A prime factorization uses only prime bases. Only is written entirely in terms of primes; the others contain composite factors.
Incorrect! Try again.
7When using trial division to test whether is prime, up to which value must you test divisors?
trial division
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
It suffices to test primes up to , since if has a factor larger than , it must also have a corresponding factor smaller than .
Incorrect! Try again.
8Using trial division, which is the first prime you would test to check if is prime?
trial division
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
Trial division starts with the smallest prime, , and proceeds upward. (For , testing continues to , which divides it: .)
Incorrect! Try again.
9Trial 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
Correct Answer: Prime less than or equal to
Explanation:
If no prime up to divides , then is prime. Testing only primes is enough because composite divisors reduce to prime ones.
Incorrect! Try again.
10The 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
Correct Answer: Find all primes up to a given limit
Explanation:
The sieve systematically marks multiples of each prime as composite, leaving the primes up to a specified integer .
Incorrect! Try again.
11In 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
Correct Answer: Cross out all multiples of greater than
Explanation:
You keep the prime itself and eliminate its multiples () as composite, then move on to the next unmarked number.
Incorrect! Try again.
12When 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.
Correct Answer:
Explanation:
After , the next number not yet crossed out is , which is the next prime used to mark multiples.
Incorrect! Try again.
13The Prime Number Theorem approximates the number of primes less than by which expression?
the prime number theorem
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The Prime Number Theorem states that , the count of primes up to , is asymptotic to .
Incorrect! Try again.
14The 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
Correct Answer: Less frequent on average
Explanation:
Since , the density of primes near decreases as increases, so primes thin out.
Incorrect! Try again.
15What is ?
greatest common divisors and least common multiples
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The common divisors of and are , and the greatest of these is .
Incorrect! Try again.
16What is ?
greatest common divisors and least common multiples
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The least common multiple is the smallest positive integer divisible by both and , which is .
Incorrect! Try again.
17For positive integers and , which relationship always holds?
greatest common divisors and least common multiples
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The product of the GCD and LCM of two positive integers equals the product of the integers themselves.
Incorrect! Try again.
18Two 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
Correct Answer: Relatively prime
Explanation:
When , the integers share no common factor other than and are said to be relatively prime (coprime).
Incorrect! Try again.
19The Euclidean algorithm computes by repeatedly replacing the pair with:
the Euclidean algorithm
Easy
A. only
B.
C.
D.
Correct Answer:
Explanation:
The algorithm uses the fact that , repeating until the remainder is .
Incorrect! Try again.
20Using the Euclidean algorithm, what is ?
the Euclidean algorithm
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
, then , then . The last nonzero remainder is .
Incorrect! Try again.
21What is the prime factorization of ?
the fundamental theorem of arithmetic
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
. By the fundamental theorem of arithmetic this factorization is unique.
Incorrect! Try again.
22Using the Euclidean algorithm, what is ?
the Euclidean algorithm
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
, , . The last nonzero remainder is .
Incorrect! Try again.
23If and , what is the product ?
greatest common divisors and least common multiples
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
For any positive integers, .
Incorrect! Try again.
24Which pair of integers satisfies ?
greatest common divisors as linear combinations
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
. Checking: , which matches the gcd.
Incorrect! Try again.
25To test whether is prime using trial division, up to which integer must you test divisors?
trial division
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Trial division only needs primes up to , so test divisors up to . Since none of divide , it is prime.
Incorrect! Try again.
26When 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.
Correct Answer:
Explanation:
You only need to sieve using primes up to . The largest such prime is .
Incorrect! Try again.
27Which of the following numbers is prime?
primes
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
, , . Only has no divisors other than and itself.
Incorrect! Try again.
28What is ?
greatest common divisors and least common multiples
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
and . The lcm takes the highest power of each prime: .
Incorrect! Try again.
29According to the prime number theorem, the number of primes less than is approximately:
the prime number theorem
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The prime number theorem states that , the number of primes not exceeding , is asymptotic to .
Incorrect! Try again.
30How many division steps does the Euclidean algorithm take to compute ?
the Euclidean algorithm
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
, , . This takes division steps, giving .
Incorrect! Try again.
31How many positive divisors does have?
the fundamental theorem of arithmetic
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
. The number of divisors is .
Incorrect! Try again.
32The 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.
Correct Answer:
Explanation:
A linear equation has integer solutions iff divides . Here .
Incorrect! Try again.
33Two 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.
Correct Answer:
Explanation:
Both and are prime and differ by . In the others, , , and are composite.
Incorrect! Try again.
34If , 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
Correct Answer: relatively prime
Explanation:
When the greatest common divisor of two integers equals , they share no common prime factor and are called relatively prime (or coprime).
Incorrect! Try again.
35Using trial division, which is the smallest prime factor of ?
trial division
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
is not divisible by . Testing : , so is the smallest prime factor.
Incorrect! Try again.
36What is computed by the Euclidean algorithm?
the Euclidean algorithm
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
, , . The gcd is .
Incorrect! Try again.
37Which 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
Correct Answer: Every integer greater than has a unique prime factorization up to order
Explanation:
The fundamental theorem of arithmetic guarantees each integer greater than can be written uniquely as a product of primes, apart from the order of the factors.
Incorrect! Try again.
38How many primes are there less than or equal to ?
the sieve of Eratosthenes
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The primes up to are , which is primes.
Incorrect! Try again.
39Given that , which expression correctly writes as a linear combination?
greatest common divisors as linear combinations
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
, which equals . The other combinations do not evaluate to .
Incorrect! Try again.
40Using 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
Correct Answer: about
Explanation:
. The actual count is , so the approximation is in the right range.
Incorrect! Try again.
41Let . How many positive divisors of are perfect squares?
the fundamental theorem of arithmetic
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
A divisor is a perfect square when each exponent is even. Choices: (3), (2), (2), (1). Total .
Incorrect! Try again.
42If 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.
Correct Answer:
Explanation:
. The quotient factors so that coprime-per-prime assignment gives unordered arrangements; requiring the same prime set and narrows valid solutions to pairs: excluded by prime-set/ constraints, leaving admissible.
Incorrect! Try again.
43How many division steps does the Euclidean algorithm take to compute ?
the Euclidean algorithm
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
are consecutive Fibonacci numbers, the worst case. Steps: , , , , , , , (then ). Counting to reach gcd gives steps.
Incorrect! Try again.
44Find integers with where . What is ?
greatest common divisors as linear combinations
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Back-substituting the Euclidean algorithm: , , so . Thus , . Adjusting modulo : , giving (with ).
Incorrect! Try again.
45When 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.
Correct Answer:
Explanation:
Trial division needs only primes . The largest prime not exceeding is . (In fact , so is a divisor.)
Incorrect! Try again.
46In 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.
Correct Answer:
Explanation:
For each prime , the sieve starts crossing at because all smaller multiples were already eliminated by smaller primes. For , that is ; multiples like were already removed via .
Incorrect! Try again.
47By 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
Correct Answer: About times
Explanation:
Density ratio . So primes are about times denser near than near .
Incorrect! Try again.
48Which 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
Correct Answer: is divisible by
Explanation:
For prime , is odd and not divisible by . Then is a product of two consecutive even numbers (giving factor ) and includes a multiple of , so .
Incorrect! Try again.
49The 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
Correct Answer: , giving zeros
Explanation:
Trailing zeros equal of exponents of and ; since is scarcer, it controls. By Legendre's formula, exponent of in is .
Incorrect! Try again.
50For positive integers , which identity always holds?
greatest common divisors and least common multiples
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Writing each prime's exponent, takes the minimum and the maximum; sum of the two exponents. Multiplying across all primes yields .
Incorrect! Try again.
51For 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
Correct Answer: is a multiple of
Explanation:
A linear Diophantine equation is solvable iff . Here , so solutions exist exactly when .
Incorrect! Try again.
52Using the Euclidean algorithm, what is ?
the Euclidean algorithm
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
There is a known identity: . Since , the answer is .
Incorrect! Try again.
53Which of these Mersenne-type numbers is NOT prime, illustrating that prime does not guarantee prime?
primes
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Although is prime, is composite. The others () are all Mersenne primes.
Incorrect! Try again.
54How many positive integers are 'squarefree' (not divisible by any perfect square greater than )?
the fundamental theorem of arithmetic
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Using inclusion-exclusion over squares of primes: . The count is , consistent with the density .
Incorrect! Try again.
55To 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
Correct Answer: Primes up to
Explanation:
Any composite has a prime factor . Once all multiples of primes are removed, the remaining unmarked numbers are prime, so sieving only needs bases up to .
Incorrect! Try again.
56The 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
Correct Answer: The logarithmic integral
Explanation:
While is the leading asymptotic, approximates much more closely for finite , with far smaller relative error at practical ranges.
Incorrect! Try again.
57If and , and , which single value of is consistent with and ?
greatest common divisors and least common multiples
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
With , , we need (so not all share a factor of ) and . Choosing gives and . Other options fail one condition.
Incorrect! Try again.
58Given 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.
Correct Answer:
Explanation:
The general solution shifts by multiples of and compensates by , since keeps constant. This gives all integer solutions.
Incorrect! Try again.
59The 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
Correct Answer: The Fibonacci sequence
Explanation:
Lamé's theorem shows consecutive Fibonacci numbers form the worst case: each division has quotient , minimizing decrease per step and thus maximizing step count relative to input size.
Incorrect! Try again.
60By 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
Correct Answer: Infinitely many
Explanation:
There are infinitely many primes of the form , provable by a Euclid-style argument: assuming finitely many leads to a contradiction. This is a special case of Dirichlet's theorem on primes in arithmetic progressions.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →