Number Theory MCQs
Number Theory MCQs
Number Theory MCQs
Lecture 1
1. ℚ is the set of rational numbers of the form m/n such that
(a)m, n ∈ ℤ, n ≠ 0 (b)m, n ∈ 𝕎, n ≠ 0
(c)m, n ∈ ℤ, n = 0 (d)m, n ∈ ℕ, n ≠ 0
2. For a real number x, |x| denotes the absolute value of x such that
(a)|x| = x if x ≥ 0 (b)|x| = -x if x < 0
(c)|x| = x if x ≤ 0 (d)Both a and b
3. The number of elements in a set S is denoted by
(a)# S (b)S #
(c)* S (d)S *
4. The real part and imaginary parts of S are denoted by
(a)Re(S);Im(S) (b)Real(S);Imaginary(S)
(c)R(S);I(S) (d)Rea(S);Imag(S)
(a)Commutative (b)Associative
(a)b|0 (b)b∤0
(a)a|1 (b)1|a
Proposition:
i. If a| b and b| c, then a| c.
ii. If a| b and c| d, then ac| bd.
iii. If m ≠ 0 ∈ ℤ, then a| b iff ma| mb.
iv. If d ≠ 0 ∈ ℤ s.t. d| a and a ≠ 0, then |d| ≤ |a|
v. If a| x and a| y, then a| (cx + dy) for any integers c, d.
1|Page
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
10. By Principle of Induction, a set S of positive integers s.t. 1∈ S and k∈ S k+1∈ S, then
(a)S = 𝕎 (b)S = ℕ
(c)S = ℚ (d)S = ℤ
12. If a, b∈ ℤ and b≠ 0, then ∃ a unique pair of integers q and r, s.t. a = bq + r where ______.
13. If n, k∈ ℤ s.t. n is the square of an odd integer, then perfect square must be of the form ______.
(a)8k + 1 (b)7k + 1
(c)6k + 1 (d)9k + 1
Lecture 2
1. Any _______ has a unique decimal expansion.
4. If a and b are two integers, then ∃ some integers x and y such that
2|Page
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
6. The greatest common divisor of 2 integers a and b is the unique positive integer d if
(a)d | a (b)d | b
7. If c | a, c | b and d = gcd(a, b)
(a)c ≤ d (b)c | d
Lecture 3
1. An efficient way of obtaining the gcd is known as ________.
2. If 𝑎 = 𝑞𝑏 + 𝑟, then
(a)Coprime (b)Composite
(a)1, 1, 2, 3, 4, … (b)1, 2, 3, 5, …
(c)1, 2, 3, 3, 8, … (d)1, 1, 2, 3, 5, 8, …
(a)1 (b)2
(c)3 (d)0
3|Page
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
Lecture 4
1. If gcd(a, b) = 1 for any two integers a and b, then a and b are _________.
(a)13, 26 (b)4, 29
(a)ax + by = 1 (b)ax - by = 1
(a)a | bc a | c (b)a | c b | c ab | c
(a)Diophantus (b)Diophantine
8. The linear Diophantine equation ax + by = c with d = gcd(a, b) has a solution in integers iff
(a)d | c (b)c | d
9. Let d = gcd(a, b) and n∈ ℕ. If d| c and (𝑥0 , 𝑦0 ) is a solution of linear Diophantine equation i.e.
𝑎𝑥 + 𝑏𝑦 = 𝑐, then all integral solutions are given by
𝒃𝒏 𝒂𝒏 𝑏𝑛 𝑎𝑛
(a)(𝒙, 𝒚) = (𝒙𝟎 + 𝒅
, 𝒚𝟎 − 𝒅
) (b)(𝑥, 𝑦) = (𝑥0 − 𝑑
, 𝑦0 + 𝑑
)
𝑎𝑛 𝑏𝑛 𝑎𝑛 𝑏𝑛
(c)(𝑥, 𝑦) = (𝑥0 + , 𝑦0 − ) (d)(𝑥, 𝑦) = (𝑥0 − , 𝑦0 + )
𝑑 𝑑 𝑑 𝑑
4|Page
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
Lecture 5
1. Diophantine equation is an equation that seeks its solution from the set of ______.
(a)(1, 2) (b)(2, 1)
(c)(0, 3) (d)(1, 1)
4. Let d = gcd(a, b) and n∈ ℕ. If d| c and (𝑥0 , 𝑦0 ) is a solution of linear Diophantine equation i.e.
𝑎𝑥 + 𝑏𝑦 = 𝑐, then all integral solutions are given by
𝒃𝒏 𝒂𝒏 𝑏𝑛 𝑎𝑛
(a)(𝒙, 𝒚) = (𝒙𝟎 + , 𝒚𝟎 − ) (b)(𝑥, 𝑦) = (𝑥0 − , 𝑦0 + )
𝒅 𝒅 𝑑 𝑑
𝑎𝑛 𝑏𝑛 𝑎𝑛 𝑏𝑛
(c)(𝑥, 𝑦) = (𝑥0 + 𝑑
, 𝑦0 − 𝑑
) (d)(𝑥, 𝑦) = (𝑥0 − 𝑑
, 𝑦0 + 𝑑
)
6. If (a, b)=1 and a, b, c > 0, then no. of positive solutions of ax + by = c is the no. of t such that
𝒙∗ 𝒚∗ 𝑥∗ 𝑦∗
(a)− 𝒃
<𝒕< 𝒂
(b)− 𝑏
>𝑡> 𝑎
𝑥∗ 𝑦∗ 𝑥∗ 𝑦∗
(c)− 𝑎
<𝑡< 𝑎
(d)− 𝑎
<𝑡< 𝑏
Lecture 6
1. Which of the following Diophantine equations has no solution in integers?
2. If a and b are coprime, then the solution of Diophantine equation ax + by = c _____ exist(s).
(c)Never (d)Partially
3. If (a, b)=1 and a, b, c > 0, then no. of positive solutions of ax + by = c is the no. of t such that
5|Page
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
𝒙∗ 𝒚∗ 𝑥∗ 𝑦∗
(a)− <𝒕< (b)− >𝑡>
𝒃 𝒂 𝑏 𝑎
𝑥∗ 𝑦∗ 𝑥∗ 𝑦∗
(c)− <𝑡< (d)− <𝑡<
𝑎 𝑎 𝑎 𝑏
Review Lecture 4
Lecture 7
Review Lecture 5
Lecture 8 & 9
1. Let m be a positive integer. Two integers a and b are congruent modulo m iff ______.
(a)m|(a – b) (b)m|(a + b)
2. If a positive integer m divides the difference of 2 integers a and b i.e. m|(a-b), then
5. If 2 integers are congruent modulo m then the residue r from the set {0, 1, 2, …, m-1} is called ___
6. For modulus m, if every integer is congruent to an element of set S and S is smallest such set then
6|Page
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
(a)Symmetric (b)Reflexive
(c)Transitive (d)Antisymmetric
10. For any common divisor of a, b and m, i.e. c| a, b, m; then a b(mod m) iff
𝑎 𝑏 𝑚 𝑏 𝑎 𝑚
(a) 𝑐 𝑐 (𝑚𝑜𝑑 𝑐 ) (b) 𝑐 𝑐 (𝑚𝑜𝑑 𝑐 )
𝑚 𝑏 𝑎
(c) 𝑐 𝑐 (𝑚𝑜𝑑 𝑐 ) (d)Both a and b
Lecture 10
1. The necessary condition for Diophantine equation ax + by = c to have integral solutions is that
Lecture 11
1. The smallest positive integer that is the multiple of 2 numbers a and b is called _____.
(a)HCF (b)LCM
(a)(a, b) (b)[a, b)
(c)[a, b] (d){a, b}
7|Page
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
(a)2 (b)6
(c)3 (d)23
4. For any two positive integers a and b, the LCM and GCD are related as
5. A prime number is an integer p > 1, which has no positive divisors other than _____.
(a)1 (b)0
(c)p| b (d)p| a or p| b
(a)Naturals (b)Composites
Lecture 12
1. Let a and b be two integers, then a divides b if
8|Page
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
4. Let a and b be positive integers, then ∃ unique integers q and r such that
5. The greatest common divisor of a and b is the ______ linear combination of a and b.
(a)ab | c (b)bc | a
(c)a | bc (d)c | ab
(c)(a, b + c) = 1 (d)(a, b – c) = 1
8. Which name matches the statement if a|bc and (a, b) = 1, then a|c ?
Lecture 13
1. The set of integers such that every integer is congruent modulo m to exactly one integer of the set
is called ______ modulo m.
(a)1, 2, 3, 4, 5 (b)6, 7, 8, 9, 10
9|Page
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
(a)[𝑟𝑖 , 𝑚] = 1 (b)(𝒓𝒊 , 𝒎) = 1
(a){0, 5} (b){1, 5}
(c){1, 2, 3} (d){1, 3, 6}
i. ∀ a ∈ ℤ, a a(mod m) (Reflexive)
ii. If a b(mod m), then b a(mod m) (Symmetric)
iii. If a b(mod m) and b c(mod m), then a c(mod m) (Transitive)
iv. If a b(mod m) and c d(mod m) then for any integer c,
a ± c b ± d(mod m) and ac bd(mod m)
v. If a b(mod m). Then ca cb(mod m) for any integer c
𝑎 𝑏 𝑚
vi. For any common divisor c of a, b, and m, we’ve a b(mod m) iff ቀ𝑚𝑜𝑑 ቁ
𝑐 𝑐 𝑐
vii. If a b(mod m), then an bn(mod m) for any positive integer n
viii. If f(x) is any polynomial with integer coefficients and a b(mod m) then
f(a) f(b)(mod m)
Lecture 14
Let 𝑎𝑘 10𝑘 + 𝑎(𝑘−1) 10𝑘−1 + ⋯ + 𝑎0 is the decimal expansion of the integer n, then
1. n is divisible by 2𝑟 , iff
2. n is divisible by 3, iff
3. n is divisible by 9, iff
10 | P a g e
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
(a)223317888 (b)12345678
(c)234789120 (d)976
(a)123456 (b)12345678
(c)1234567 (d)123
(a)12345678 (b)1234567
(c)123456 (d)12345
(a)1571724 (b)3636567
Lecture 15
1. Linear congruence is of the form ______ .
2. Two integers s and t that are not congruent to each other w.r.t. mod m are said to be _____.
(a)Equivalent (b)Incongruent
3. Let d = (a, m), then the congruence ax b(mod m) has a solution iff
(a)b| d (b)m| d
(c)d| b (d)a| d
11 | P a g e
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
6. The number of mutually incongruent solutions of linear congruence 42x 90(mod 156) is
(a)3 (b)2
(c)5 (d)6
Lecture 16
1. A congruence of the form ax b(mod m) is called ________.
3. The elements in the solution set of a linear congruence are ________ to each other.
(a)d| b (b)b| d
5. If d = (a, m), and d | b; then ∃ _________ solution modulo m for congruence ax b(mod m).
6. If (a, m) = d| b, then for x* being a solution of ax b(mod m); d mutually incongruent solutions are
𝒎 𝑚
(a)𝒙 𝒙∗ + ቀ 𝒅 ቁ 𝒕(𝒎𝒐𝒅 𝒎), t=0, 1, …, d-1 (b)𝑥 𝑥 ∗ − ቀ 𝑑 ቁ 𝑡(𝑚𝑜𝑑 𝑚), t=0, 1, …, d-1
𝑚
(c)𝑥 𝑥 ∗ + ቀ 𝑑 ቁ 𝑡(𝑚𝑜𝑑 𝑚), t=0, 1, …, d (d)𝑥 𝑥 ∗ + (𝑚)𝑡(𝑚𝑜𝑑 𝑚), t=0, 1, …, d-1
Lecture 17
1. The solution of linear congruence 2x 4(mod 12) is _______.
12 | P a g e
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
(a)2 (b)1
(c)3 (d)4
(a)a* (b)b*
Lecture 18 & 19
𝑎1 𝑥 ≡ 𝑏1 (𝑚𝑜𝑑 𝑚1 )
𝑎 𝑥 ≡ 𝑏2 (𝑚𝑜𝑑 𝑚2 )
1. System of the form { 2 with fixed positive integers m1, m2, …, mr is called
…
𝑎𝑟 𝑥 ≡ 𝑏𝑟 (𝑚𝑜𝑑 𝑚𝛤 )
(a)System of Linear congruence (b)System of Congruences
2. An integer c satisfying all linear congruences in the system is called ______ of the system.
4. Suppose that 𝑚𝑗 are pairwise relatively prime and 𝑎𝑗 are arbitrary integers(j=1, … , k), then ∃
solutions x to the simultaneous congruences x 𝑎𝑗 (mod 𝑚𝑗 ) s.t. the solutions x are _______.
13 | P a g e
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
6. Let 𝑚1 , 𝑚2 , … , 𝑚𝑟 > 0 be pairwise relatively prime, then simultaneous solution of the system given
𝑎1 𝑥 ≡ 𝑏1 (𝑚𝑜𝑑 𝑚1 )
𝑎 𝑥 ≡ 𝑏2 (𝑚𝑜𝑑 𝑚2 )
by { 2 is __________________.
…
𝑎𝑟 𝑥 ≡ 𝑏𝑟 (𝑚𝑜𝑑 𝑚𝛤 )
(a)Unique modulo 𝒎𝟏 . 𝒎𝟐 . 𝒎𝟑 … 𝒎𝒓 (b)Not unique
𝑚1 𝑚2 𝑚
(c)Unique modulo . … 𝑎𝑟
𝑎1 𝑎2
(d)None of these
𝑟
Lecture 20 & 21
1. Which of the statements is false?
(a)There is no pattern in prime numbers (b)No formula exists for prime numbers
4. If solution for 𝑥 2 a(mod p) exists, s.t. p(odd prime) doesn’t divide a, then it has ___.
(a)One (b)Two
14 | P a g e
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
7. If solutions for 𝑥 2 a(mod m) exists where m is a composite number, then the congruence has
11. Which theorem states that “If p is prime, then (p-1)! -1(mod p).”?
Lecture 22 & 23
1. Let p be an odd prime. Then 𝑥 2 -1(mod p) has a solution if p is of the form _________.
(a)4k+1 (b)4k
(c)4k+3 (d)None of these
2. Let p be an odd prime. Then 𝑥 2 -1(mod p) has no solution if p is of the form _________.
(a)4k+1 (b)4k
15 | P a g e
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
3. “Let p be a prime and p doesn’t divide a. Then 𝑎𝑝−1 1(mod p).” is a statement of
6. Let 𝑎, 𝑢, 𝑣 be integers s.t. 𝑢, 𝑣, 𝑚 > 0 and d=(𝑢, 𝑣). If 𝑎𝑢 1(mod m) and 𝑎𝑣 1(mod m), then
Euler Φ-Function: If m>1. Then Φ(m) is the count of integers less than m and relatively
prime to m. Mathematically Φ(m) = 𝑐𝑜𝑢𝑛𝑡{𝑛 < 𝑚|𝑛 ∈ ℤ+ |(𝑛, 𝑚) = 1}.
8. Euler Φ-Function of a prime number p i.e. Φ(p) = _________.
(a)p (b)p-1
(c)p/2-1 (d)None of these
Reduced Residue System: Let m > 0, then the set of integers s.t. every number which is
relatively prime to m is congruent modulo m to a unique element of the set is called
Reduced Residue System Modulo m.
9. The reduced residue system(RRS) is _______ of complete residue system(CRS).
(a)Compliment (b)Subset
(c)Not a subset (d)Both a and c
10. For which values of m, CRS = RRS?
(a)If m is a prime (b)If m is a consonant
(c)If m < 10 (d)None of these
16 | P a g e
Multiple Choice Questions
Number Theory BS Mathematics 2017-2021
MATH3118 Created by Z and N
𝒎
(a)a 𝒃 ቀ𝒎𝒐𝒅 (𝒄,𝒎)ቁ (b)a 𝑏(𝑚𝑜𝑑 𝑚)
17 | P a g e