Number Theory

Elementary Number Theory.

NT

Number Theory — 50 MCQs

Toggle any question to reveal a step-by-step solution. Use the master controls to show/hide all.
Q1
Which of the following is a prime number?
Basic primes
Q2
gcd(36, 60) equals?
GCD via prime factors
Answer: B
Q3
lcm(8, 12) equals?
LCM via max powers
Answer: A
Q4
What is the remainder when 2^10 is divided by 11?
Use Fermat/Euler
Answer: A
Q5
If a ≡ 7 (mod 10), which of these could be a?
Last digit reasoning
Answer: A
Q6
Which is true: if p is prime and p | ab then?
Prime divisibility
Answer: A
Q7
Number of positive divisors of 360?
Use exponent+1
Answer: B
Q8
If φ(n) = 4, which n is possible?
Euler’s totient small values
Answer: C
Q9
Solve 3x ≡ 1 (mod 7). x = ?
Find inverse of 3 mod 7
Answer: C
Q10
Which pair is coprime?
gcd check
Answer: B
Q11
Which is the smallest primitive root modulo 7?
Generators mod prime
Answer: B
Q12
Is 1 considered a prime number?
Definition
Answer: B
Q13
Which number is composite?
Composite vs prime
Answer: C
Q14
Which is true: if gcd(a,b)=1 then?
Relatively prime implication
Answer: B
Q15
If 7 divides (x^2 – 1), which residues x mod7 are possible?
Solve x^2 ≡1 (mod7)
Answer: A
Q16
How many primes are there less than 10?
Count small primes
Answer: C
Q17
If a ≡ b (mod m) and c ≡ d (mod m), then?
Mod arithmetic linearity
Answer: C
Q18
Which is the least quadratic residue mod 11 (excluding 0)?
Squares mod 11
Answer: A
Q19
If 2^k divides n but 2^{k+1} does not, k is called?
2-adic valuation
Answer: B
Q20
Chinese Remainder Theorem applies when moduli are?
CRT conditions
Answer: A
Q21
Find last digit of 7^100.
Cycle of last digits
Answer: A
Q22
Which number is square-free?
No repeated prime factors
Answer: C
Q23
Which is true about perfect numbers?
Definition of perfect
Answer: A
Q24
Find 11^{-1} mod 26 (multiplicative inverse).
Solve 11x≡1 (mod26)
Answer: A
Q25
If p is an odd prime, φ(p) = ?
Euler phi for prime
Answer: A
Q26
Which is a Mersenne prime candidate?
Form 2^p -1
Answer: D
Q27
Which congruence holds: 5^2 (mod 6)?
Compute square mod6
Answer: A
Q28
Which is true: sum of two odd numbers is?
Parity
Answer: B
Q29
Order of 2 modulo 9?
Find smallest k with 2^k≡1 (mod9)
Answer: B
Q30
Which is divisible by 3?
Digit sum test
Answer: B
Q31
If p | (a-b) and p | (a+b) then p divides?
Linear combination
Answer: D
Q32
Which is Fermat’s little theorem?
Prime modulus
Answer: C
Q33
Which is an arithmetic progression of primes?
AP of primes
Answer: A
Q34
If a ≡ 3 (mod 4), what is a^2 mod4?
Parity squares
Answer: B
Q35
Which integer is a Carmichael number?
Fermat pseudoprime composite
Answer: A
Q36
If p is prime >2, p is odd. Sum of two consecutive integers is?
Evenness
Answer: A
Q37
An integer n ≡ 2 (mod3). Which are possible residues mod3 of n^3?
Use mod arithmetic
Answer: D
Q38
Which is true: sum of Euler’s totient over divisors of n equals?
Identity: Σ_{d|n} φ(d) = n
Answer: A
Q39
Binary gcd (Stein) algorithm uses which operations most?
Bitwise gcd
Answer: A
Q40
Which of the following is not a property of primes?
Properties list
Answer: C
Q41
Find gcd(101, 4620).
Use Euclidean algorithm
Answer: A
Q42
Which number is a factorial prime? (n! ± 1 prime)
Check small values
Answer: D
Q43
If a ≡ 0 (mod m) then gcd(a,m) = ?
Divisibility
Answer: A
Q44
Twin primes are primes that differ by?
Definition
Answer: B
Q45
If a ≡ b (mod m) then which of these holds for any integer k?
Power congruences
Answer: C
Q46
If n is prime, number of nonzero residues modulo n that are quadratic residues equals?
Half of nonzero residues
Answer: A
Q47
Which of these congruences has a solution: x^2 ≡ -1 (mod5)?
Check squares
Answer: A
Q48
Which is true for any integer n: n and n+1 are?
Consecutive integers
Answer: B
Q49
Which of these is true for Pell’s equation x^2 – 2y^2 = 1?
Minimal solution
Answer: A
Q50
Which of these numbers is a perfect square?
Check square root
Answer: A

Number Theory – Frequently Asked Questions

Q1. What is Number Theory?

Number theory is a branch of mathematics that studies integers, their properties, and relationships. It includes concepts such as prime numbers, divisibility, congruences, and Diophantine equations. Number theory is considered the purest form of mathematics but also has practical applications in cryptography, coding theory, and computer algorithms, making it a cornerstone of modern science and technology.

Q2. Why are prime numbers important in Number Theory?

Prime numbers are the fundamental building blocks of integers, as stated in the Fundamental Theorem of Arithmetic. Every integer greater than one can be expressed uniquely as a product of primes. Primes are essential in mathematics due to their unpredictable distribution and play a crucial role in cryptography, primality testing, and secure communication technologies worldwide.

Q3. What is modular arithmetic?

Modular arithmetic deals with numbers in a system where values wrap around after reaching a certain modulus. For instance, in mod 7, 15 ≡ 1 (mod 7). This arithmetic is used extensively in computer science, cryptography, and solving remainder problems. It simplifies otherwise complex problems by focusing on remainders instead of full values.

Q4. How are GCD and LCM related?

The Greatest Common Divisor (GCD) is the largest integer dividing two numbers, while the Least Common Multiple (LCM) is the smallest integer divisible by them. They are connected through the formula: GCD(a, b) × LCM(a, b) = a × b. This relationship is vital in simplifying fractions, solving equations, and applications in number theory.

Q5. What are Diophantine equations?

Diophantine equations are algebraic equations where integer solutions are required. Examples include ax + by = c and famous cases like Fermat’s Last Theorem. They highlight the challenges of working with integers and often involve modular arithmetic and divisibility rules. Diophantine problems have intrigued mathematicians for centuries due to their complexity and real-world applications.

Q6. What is Euler’s Totient Function?

Euler’s Totient Function, φ(n), counts integers less than n that are coprime to n. For example, φ(12) = 4 since {1, 5, 7, 11} are coprime with 12. This function is crucial in number theory, particularly in Euler’s theorem, and is used in cryptography, especially RSA encryption, where modular arithmetic plays a central role.

Q7. What is Fermat’s Little Theorem?

Fermat’s Little Theorem states that if p is prime and a is not divisible by p, then a^(p−1) ≡ 1 (mod p). It underpins primality testing and cryptographic systems by providing a fast way to verify properties of numbers. Its simplicity and power make it one of the most useful theorems in modular arithmetic.

Q8. What are perfect numbers?

A perfect number is equal to the sum of its proper divisors. For example, 28 = 1 + 2 + 4 + 7 + 14. They are rare and mysterious, with deep connections to Mersenne primes. Despite centuries of study, many open questions remain, such as whether there are infinitely many perfect numbers.

Q9. How is Number Theory used in cryptography?

Number theory provides the backbone of cryptography, particularly through prime factorization, modular arithmetic, and discrete logarithms. Public-key encryption systems like RSA depend on the difficulty of factoring large numbers. Secure digital communication, online banking, and blockchain systems rely on number-theoretic principles to ensure data privacy and authentication.

Q10. What is the difference between congruence and equality?

Equality means two values are exactly the same, while congruence refers to equivalence under a modulus. For instance, 17 ≡ 2 (mod 5) because both leave remainder 2 upon division by 5. Congruence is fundamental in modular arithmetic, simplifying problems involving cycles, divisibility, and remainder systems.

Q11. What is the Fundamental Theorem of Arithmetic?

The Fundamental Theorem of Arithmetic states that every integer greater than one can be uniquely expressed as a product of prime numbers, up to the order of factors. This theorem forms the foundation of number theory and is central to the study of divisibility, factorization, and prime distribution.

Q12. What are twin primes?

Twin primes are pairs of prime numbers that differ by two, such as (11, 13) or (17, 19). They are a subject of ongoing research, and the Twin Prime Conjecture suggests infinitely many exist, though it remains unproven. Studying them provides insights into prime distribution and deep unsolved problems in mathematics.

Q13. What are coprime numbers?

Two integers are coprime if their greatest common divisor (GCD) is one. For example, 9 and 10 are coprime, while 9 and 12 are not. Coprime relationships are crucial in modular arithmetic, Euler’s theorem, and cryptography, where secure encryption often depends on choosing numbers that are coprime with certain moduli.

Q14. What is Wilson’s Theorem?

Wilson’s Theorem states that a natural number p > 1 is prime if and only if (p−1)! ≡ −1 (mod p). Though not efficient for large primes, it provides a theoretical characterization of primes. Wilson’s theorem highlights the deep connection between factorials and prime numbers in number theory.

Q15. What are Mersenne primes?

Mersenne primes are primes of the form 2^p − 1, where p is also prime. They are closely linked to perfect numbers and are used in testing large prime discoveries. Modern distributed computing projects, like GIMPS, focus on finding new Mersenne primes, which hold records for the largest known primes.

Q16. What is the Chinese Remainder Theorem?

The Chinese Remainder Theorem provides a way to solve systems of congruences with pairwise coprime moduli. It states that a unique solution exists modulo the product of the moduli. This theorem is powerful in cryptography, computer science, and error correction codes, simplifying calculations across multiple modular systems.

Q17. What are arithmetic functions in Number Theory?

Arithmetic functions are functions defined on integers with special properties, such as the divisor function d(n), sum of divisors σ(n), and Euler’s totient φ(n). They play an important role in analytic number theory, providing insights into distribution, patterns, and averages of integers and primes.

Q18. What is a composite number?

A composite number is an integer greater than one that is not prime, meaning it has divisors other than one and itself. For example, 4, 6, and 9 are composite. They contrast with prime numbers and appear naturally in factorization, divisibility, and problem-solving involving integers.

Q19. What is a primitive root in modular arithmetic?

A primitive root modulo n is a number g such that its powers generate all integers coprime to n under modulo n. For example, 3 is a primitive root mod 7. Primitive roots are central to cryptography and number theory, particularly in discrete logarithms and Diffie-Hellman key exchange systems.

Q20. What are quadratic residues?

Quadratic residues are integers that are congruent to a perfect square modulo n. For example, modulo 7, the quadratic residues are {1, 2, 4}. They are important in solving congruences, cryptography, and advanced topics like quadratic reciprocity, a central theorem in number theory discovered by Gauss.

Q21. What is Pell’s Equation?

Pell’s Equation is a Diophantine equation of the form x² − Dy² = 1, where D is a non-square integer. It has infinitely many integer solutions and is solved using methods such as continued fractions. Pell’s Equation has historical significance and connections to quadratic forms and algebraic number theory.

Q22. What is the difference between rational and irrational numbers in number theory?

Rational numbers are numbers that can be expressed as a fraction of two integers, while irrational numbers cannot. Examples include √2 and π. Number theory focuses primarily on integers and rationals, but irrational numbers appear in proofs, approximations, and continued fraction expansions.

Q23. What is the Legendre symbol?

The Legendre symbol (a/p) is used in number theory to indicate whether an integer a is a quadratic residue modulo an odd prime p. It equals 1 if a is a quadratic residue, −1 if it is a non-residue, and 0 if p divides a. It is vital in quadratic reciprocity and advanced modular studies.

Q24. What are amicable numbers?

Amicable numbers are two integers where each number is the sum of the proper divisors of the other. For example, 220 and 284 form the smallest amicable pair. They fascinated ancient mathematicians and are still studied today for their mysterious relationships and connections to divisor functions.

Q25. How does Number Theory connect to modern computing?

Number theory underpins modern computing through cryptography, error correction, hashing, and algorithms. Concepts like modular arithmetic, prime testing, and factorization are used in data encryption, blockchain systems, and cybersecurity. Thus, number theory bridges ancient mathematical principles with cutting-edge digital applications in everyday life.

Explore more in mathematics

   
Scroll to Top