Ant QB 2020 21tech
Ant QB 2020 21tech
( xa ) b 1
post multiply by a-1 ( xa )a b a
1 1 1
x b 1a 1
Assume that G is an abelian group
ab b1a 1 a 1b1
1
( Gis abelian) `
Conversely assume that ab a b a, b G
1 1 1
To Prove : G is abelian
ab ab a b b a
1 1 1 1 1 1 1 1 1
ba .
Thus G is abelian
4 Prove that if every element of the group is its own inverse, then G is abelian.
If every element of the group is its own inverse, then a-1 = a for all aG
ab ab a, b G
1
b 1a 1 ab (ab) =b a
-1 -1 1
ba ab b =b and a =a
-1 -1
Therefore G is abelian.
5 Define a group homomorphism with an example.
Let (G,*) and ( S , ) be two groups. A mapping f: G S is said to be a group homomorphism
if for any a, b G,
f(a*b) = f(a) f(b).
Example: Consider f : R ,. R, where f(x) = log10(x)
6 Consider two groups G and G where G={Z, +} and G={zm/m=0,± 1,± 2 ,± 3,..., }. Let
: Z { z m / m isan integer} defined by m 2m where mZ. Prove that is
homomorphism.
m 2m where mZ
m r 2mr 2m 2r m r
Hence is homomorphism.
7 Let f : (G , ) (G, ) be an isomorphism. If G is an abelian group then prove that
G is also an abelian group.
Let a, b G.
Then there exists a, b G,such that f (a) = a & f (b) = b
a b f (a)+ f (b) f (a b) = f (b a) f (b) + f (a) b a
Hence G is an abelian group.
8 Let G = Z12 , 12 , Find the left cosets of H [0],[4],[8] and show that the distinct
left cosets of H forms a partition of G.
Z12 [0],[1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11] ; H [0],[4],[8]
[0] H [0],[4],[8] H [4] H [8] H
[1] H [1],[5],[9] [5] H [9] H
[2] H [2],[6],[10] [6] H [10] H
[3] H [3],[7],[11] [7] H [11] H
G H ([1] H ) ([2] H ) ([3] H )
9 Define cyclic group.
A group (G,*) is said to be cyclic if there exists an element aG such that every element of G
can be written as some power of „a‟.
10 State any two properties of cyclic group.
1. Every subgroup of a cyclic group is cyclic.
2. Suppose that G is a finite cyclic group of order m. Let „ a‟ be a generator of G. Suppose j
∈ Z, then aj is a generator of G if and only if gcd(j, m) = 1.
11 Give an example for a cyclic group along with its generator. [NOV/DEC 19]
G 1,1, i,i is a cyclic group with generators i or i .
12 Show that every cyclic group is abelian.
Let (G,*) be a cyclic group with „a‟ as generator
x, y G x a , y a x y a a a m n a n m y x
m n m n
13 Prove that the multiplicative group Z 7 {1, 2, 3, 4, 5, 6} is cyclic and find its
*
generator.
The element 3 is a cyclic generator since
31 mod 7 3
32 mod 7 9 mod 7 2
33 mod 7 (32 3) mod 7 (2 3) mod 7 6 mod 7 6
34 mod 7 (33 3) mod 7 (6 3) mod 7 18mod 7 4
St. Joseph’s Institute of Technology Page 2 of 50
MA8551 – Algebra and Number Theory Department of CSE / IT 2020-2021
Let r1, r2 , r3 denote the reflections of the equilateral triangle along the lines joining vertices
3,1,2 and the mid-points of the opposite sides.
Each reflection is a 3-dimensional rigid motion.
1 2 3 1 2 3 1 2 3
r1 , r2 , r3
2 1 3 1 3 2 3 2 1
0 1 2 r1 r2 r3
0 0 1 2 r1 r2 r3
1 1 2 0 r3 r1 r2
2 2 0 1 r2 r3 r1
r1 r1 r2 r3 0 1 2
r2 r2 r3 r1 2 0 1
r3 r3 r1 r2 1 2 0
From the table it is clear that G is a group.
Note that 2 r1 r2 and r1 2 r3
2 r1 r1 2 , G is not an abelian group of order six.
1ii) 0 1
Show that (M , .) is an abelian group where M={A, A2, A3, A4} with A and
1 0
“.” is the ordinary matrix multiplication. Further prove that (M , .) is isomorphic to the
abelian group (G , .) where G={1, -1, i, -i} and “.” is the ordinary multiplication.
0 1 1 0 3 0 1 1 0
A ; A2 ; A ; A4 I
1 0 0 1 1 0 0 1
For all 1≤ m, n ≤ 4, Am. An = Am+n = Ar where 1< r < 4 and m + n r (mod 4).
Thus . is a closure. Thus . is a closure operation. Since matrix multiplication is associative
so is „.‟.
1 0
A4 I is the identity.
0 1
1 0 1
A1 A3
1 1 0
1 1 1 0
A2 A2
1 0 1
1 1 0 1
A3 A
1 1 0
1 1 1 0
A4 I A4
1 0 1
For all 1≤ m, n ≤ 4, Am. An = Am+n = An+m = An. Am, so „.‟ is communicative.
(M , .) is an abelian group .
Define f: M → G such that f A i, f (A 2 ) 1 i 2 , f (A3 ) i i3 , f (A 4 ) 1 i 4
f is 1-1 and onto
Since i3 = -i = f(A3) = f (A.A2) = f(A) f(A2) = i.i2 = i3 = -i
Hence f is isomorphic from M to G.
2i) Let G be a group subgroups H and K. If |G|=660, |K|=66 and KHG, what are the
possible values of |H| ? [NOV/DEC 19]
O(K) < O(H) < O(G) and O(K) divides O(H) and O(H) divides O(G).
O(K ) = |K| = 66 = 2311.
O(G) = |G| = 660 = 223511.
|K| divides |H| and |K| < |H|
St. Joseph’s Institute of Technology Page 5 of 50
MA8551 – Algebra and Number Theory Department of CSE / IT 2020-2021
Let (G,*) be the cyclic group generated by an element a G and let H be the subgroup of G.
Claim: H is cyclic
Case1: H is a trivial subgroup of G (i.e) H = G or H = {e}
If H = G or {e} then trivially H is cyclic.
Case2: H is a non - trivial subgroup of G
If not the elements of H are non-zero integral powers of a.
Since if ar H, its inverse a-r H.
Let “m” be the smallest positive integer such that am H. → (1)
Let an be any arbitrary element of H. Let q be the quotient and r be the remainder when n is
divided by m.
Then n = qm + r where 0 r < m. → (2)
Now an = aqm + r = (am)q. ar
ar = (am)- q. an = an-mq.
Since am H, (am)q H by closure property, amq H
(amq)-1 H, by existence of inverse, as H is a subgroup a-mq H
Since an H and a-mq H by closure property an-mq H ar H
By (1) & (2), we get r = 0, n=mq
q
a n a mq a m .
q
Thus every element of a n H is of the form a m
3i) a 0
Let A a R (a) Show that A is a ring under matrix addition and
0 a
multiplication (b) Prove that R is isomorphic to A.
b 0 c 0
a For any B and C , we have
0 b 0 c ,
b 0 c 0 b c 0
BC A and
0 b 0 c 0 b c
b 0 c 0 bc 0
BC A
0 b 0 c 0 bc
b 0 b 0
Also for any B , the additiveinverse B 0 b exists such that
0 b
b 0 b 0 0 0
B (B) A.
0 b 0 b 0 0
Distributive Laws:
a 0 b 0 c 0 a 0 b c 0
A. B C . .
0 a 0 b 0 c 0 a 0 b c
a.(b c) 0 ( a.b a.c) 0
A. B C
0 a.(b c) 0 ( a.b a.c)
a.b 0 a.c 0
0 a.b 0 a.c
a 0 b 0 a 0 c 0
A.B A.C
0 a 0 b 0 a 0 c
Similarly, (B+C).A=B.A+C.A
Thus Ais a ring.
(b) To prove isomorphism, consider a one-to-one and onto function f from R onto A defined
r 0
as follows For all r R, f : R A where f (r)
0 r
i.e., for any real number we associate a 2nd order scalar matrix.
Now for any r,s R
r s 0 r 0 s 0
f (r s) f (r) f (s)
0 r s 0 r 0 s
rs 0 r 0 s 0
f (r s) f (r) f (s)
0 rs 0 r 0 s
Thus twooperations , are preserved and f is 1 1and onto.
f is an isomorphism from R to A.
3ii) Prove that every group of prime order is cyclic.
Proof:
Let O(G) = p, where p is a prime number.
Let a (≠ e) G.
Consider a subgroup generated by a.
Let H a
O H 1 H a a H & also e H O H 1
Since H is a subgroup of G, then by Lagrange‟s theorem,
O(H)/O(G) O(H)/p
O H 1 or p p is prime
But O H 1, O H 1.
Thus O H p O(G ) G H
But H is a cyclic group, G is a cyclic group.
4i) Let (G , ) , (H,*) be groups with respective identities eG , eH .If f :GH is a
homomorphism, then show that
(a ) f (eG ) e H
1
( b ) f ( a 1 ) f ( a ) a G
(c ) f (a n ) f (a ) a G and all n Z
n
Hence f a 1 is the inverse of f a
1
i.e., f (a 1) f (a) a G
(c) a G and all n Z
Case(i): if n=0 then a a eG
n 0
f a0 f eG eH f a
0
f (a n ) f (a)
n
f (a n ) f (a) a G and all n Z
n
x1 x2 a1 b1 2 a2 b2 2 a1 a2 b1 b2 2 R
where a1 a2 & b1 b2 Z .
R is closed under +.
2. Associative: Let x1 a1 b1 2 , x2 a2 b2 2, x3 a3 b3 2 R where
a1 , a2 , a3 , b1 , b2 , b3 Z
x 1
x2 x3 a1 b1 2 a2 b2 2 a3 b3 2
a1 a2 b1 b2 2 a3 b3 2
a1 a2 a3 b1 b2 b3 2
a1 a2 a3 b1 b2 b3 2
a1 b1 2 a2 a3 b2 b3 2
a1 b1 2 a2 b2 2 a3 b3 2 x1 x2 x3
3. Identity: 0 0 2 R
a b 2 0 0 2 (a 0) (b 0) 2 a b 2
4. Inverse: a b 2, a b 2 R
a b 2 a b 2 (a a) (b b) 2 00 2
(a) (b) 2 is the identity inverse of a b 2
5. Commutative law:
x1 x2 a1 b1 2 a2 b2 2 a1 a2 b1 b2 2
a2 a1 b2 b1 2
a2 b2 2 a1 b1 2 x2 x1
Under Multiplication
6. Closure Axioms:
x1 x2 a1 b1 2 . a2 b2 2 a1a2 2b1b2 a2b1 a1b2 2
a1a2 2b1b2 , a2b1 a1b2 Z , x1 x2 R
7. Associative:
x 1
x2 x3 a1 b1 2 a2 b2 2 a3 b3 2
a1a2 2b1b2 a2b1 a1b2 2 a3 b3 2
a1a2 2b1b2 a3 2 a2b1 a1b2 b3 a1a2 2b1b2 b3 a2b1 a1b2 a3 2
x1 x2 x3
8. Distributive Laws :
x1 x2 x3 a1 b1 2 a2 b2 2 a3 b3 2
a1 b1 2 a2 a3 b2 b3 2
a1 a2 a3 2 b2 b3 b1 b1 a2 a3 b2 b3 a1 2
a1 b1 2 a2 b2 2 a1 b1 2 a3 b3 2
St. Joseph’s Institute of Technology Page 10 of 50
MA8551 – Algebra and Number Theory Department of CSE / IT 2020-2021
n
( fg )( x) : f ( x) g ( x) d 0 d1 x d n x n , where d n ai bn i .
i 0
x5 0 x 4 2 x3 3 x 2 x 1
x5 0 x 4 5 x3
4 x3 3 x 2
4 x3 0 x 2 20 x
x2 5
3x 2 2 x 6
3 x 2 0 x 15
2x 5
2 x 4 5 x3 7 x 2 4 x 8
2 x 4 x3
2x 1
6 x3 7 x 2
6 x3 3x 2
4x 2 4 x
4 x2 2 x
2x 8
2x 1
9
Quotient x3 3x2 2 x 1 and Remainder 9.
f ( x) x 2 x 1 Under Z7[ x]
f (0) 02 0 1 1 f (0) 1
f ( x) x 2 x 1 ( x 2)( x 4)
( x 5)( x 3).
18. Give an example for an irreducible & reducible polynomial in Z2[ x] [NOV/DEC 19]
Z2 {[0],[1]}.
Irreducible polynomial Reducible polynomial
2 2
f ( x) x x 1 g ( x) x x
f (0) 02 0 1 1 g (0) 02 0 0
f (1) 12 1 1 3 1 (mod 2) g (1) 12 1 2 0(mod 2)
Let f ( x), g ( x) R[ x]. Then f ( x) g ( x), f ( x).g ( x) are also polynomials over R.
Therefore R[ x] is close with respect to addition and multiplication of polynomials.
Now let f ( x) ai xi a0 a1x a2 x 2 a3 x3 ..... am x m ..
g ( x) bi xi b0 b1x b2 x 2 b3 x3 ..... bm x m ......
h( x) ci xi c0 c1x c2 x 2 c3 x3 ..... cm x m .....
Commutativity of Addition:
f ( x) g ( x) (a0 b0 ) (a1 b1) x (a2 b2 ) x 2 ...(am bm ) x m .......
(b0 a0 ) (b1 a1) x (b2 a2 ) x 2 ...(bm am ) x m .... g ( x) f ( x)
Associative of Addition
[ f ( x) g ( x)] h( x) ai xi bi xi ci xi
ai xi bi xi ci xi f ( x) [ g ( x) h( x)]
Identity element of Addition
0( x) 0 0 x 0 x 2 ...... is the additive identity element of R[ x]
Inverse Element of Addition
f ( x) a0 a1x a2 x 2 a3 x3 ..... am x m .... is the additive inverse element of R[ x]
Associativity of Multiplication
Verification:
St. Joseph’s Institute of Technology Page 18 of 50
MA8551 – Algebra and Number Theory Department of CSE / IT 2020-2021
By remainder theorem: If 𝑓 𝑥 ∈ 𝐹[𝑥] and 𝑎 ∈ 𝐹, for any field F then f(a) is the remainder
when f(x) is divided by (x–a).
Remainder r ( x) (1)100 (1)90 (1)80 (1)50 1 5 .
In Z2[ x], r(x) = 1. Hence remainder is 1.
(b) Given f ( x) x8 7 x5 4 x4 3x3 5x2 4; g ( x) x 3
By long division
x 7 3 x 6 9 x5 34 x 4 98 x3 297 x 2 896 x 2688 ( q ( x))
x8 7 x 5 4 x 4 3 x 3 5 x 2 4
x8 3 x 7
3x7 0 x6
3x7 9 x6
9 x 6 7 x5
9 x 6 27 x5
34 x5 4 x 4
34 x5 102 x 4
x3
98 x 4 3 x3
98 x 4 294 x3
297 x3 5 x 2
297 x3 891x 2
896 x 2 0 x
896 x 2 2688 x
2688 x 4
2688 x 8064
8060 r ( x)
Remainder r ( x) 8060.
Verification:
By remainder theorem: If 𝑓 𝑥 ∈ 𝐹[𝑥] and 𝑎 ∈ 𝐹, for any field F then f(a) is the remainder
when f(x) is divided by (x–a).
x10 x7 x5 x3 x 2 1
10 7 5 3 2
x8 x5 x3 1 x x x 0x x 0
x3 1
x10 x7 x5 x3 x2 1 x2 ( x8 x5 x3 1) ( x3 1)
x5 1
x8 x 5 x 3 1
x8 x 5
Similarly,
x3 1 x3 1
x3 1
0
( x8 x5 x3 1) ( x 1) ( x 1) 0 Hence required G.C.D is ( x3 1).
3 5
x3 3 x 2 3 x 1
3 2
x3 2 x 1 x 0 x 2 x 1
3x 2 x
x3 3x2 3x 1 x( x3 2 x 1) (3x 2 x)
Similarly,
2x 1
x3 0 x 2 2 x 1
x3 2 x 2 0 x
3x 2 x 3x 2 2 x 1
3x2 x 0
x 1
x3 2 x 1 (3x2 x)(2 x 1) ( x 1)
Similarly,
3x
3x2 x
3
x 1 3x 3x
3x
x 1 3x(2 x) 1
Hence required G.C.D is 1.
2ii) If f ( x ) F [ x] has degree n 1 , then prove that f ( x ) has at most n roots in F
[NOV/DEC 19]
Proof:
We prove this theorem by mathematical induction on the degree f ( x) .
If f ( x) has degree 1, then f ( x) a x b,a, b F ,(a 0) .
With f (a 1b) 0 , f ( x) has at least one root in F .
If c1 and c2 are both roots, then f (c1) ac1 b 0 ac2 b f (c2 )
By cancellation law in a ring, ac1 b ac2 b ac1 ac2 .
Since F is a field and a 0 , we have ac1 ac2 c1 c2
So f ( x) has only one root in F.
Now assume that the result is true for all polynomials of degree k 1 in F[ x].
Consider a polynomial f ( x) of degree k 1.
If f ( x) has no roots in F , the theorem follows.
Otherwise, let r F , f (r ) 0.
By factor theorem, f ( x) ( x r ) g ( x) , where g ( x) has degree k .
Consequently , by the induction hypothesis, g ( x) has at most k roots in F and f ( x) has at
most k 1 roots in F .
3i) If ( F , , .) is a field and Char (F) > 0, then prove that Char(F) must be prime.
Proof:
Let Char ( F ) n 0 .
If n is not prime, we write n mk where m, k Z and 1 m n, 1 k n .
By definition of Characteristic, nu z , the zero of F. Hence (mk )u z. But
(mk )u (u u ......u ) (u u u..... u ).(u u u..... u ) ( mu )( ku )
mk summation m summation k summation
2 x2 4
2
x 2 x 2 2x 2 x 4
2x x
St. Joseph’s Institute of Technology Page 22 of 50
MA8551 – Algebra and Number Theory Department of CSE / IT 2020-2021
Therefore x 2 2 x 2 x 1 x x 1 2 x 1
1
(ii) To Find [2 x 1]
Now consider 2x 1 2x [4 x 2 4 x] [ x 2 x] [2] [1]
Since 4 1(mod3), x2 x 2(mod x2 x 2) and 2 1(mod3)
[2x 1][2x] [1] [2x 1]1 [2 x]
4. Prove that a finite field has order pt, where pis prime and t Z . [NOV/DEC 19]
Give that F is a finite field and Char ( F ) p , a prime , and let u denote the unity and z the
zero element.
Then S0 {u, 2u,3u,..... pu z} is a set of p distinct element in F .
If not mu nu for 1 m n p and (n m)u z with 0 n m p.
So for all x F ,we now find that (n m) x (n m)ux [(n m)u]x zx z, and this
contradicts to Char ( F ) p.
If F S0 , then | F | p ' and the result as follows.
If not let a F S0 , then S1 {ma nu / 0 m, n p} is a sub set of F with | S1 | p 2 .
If | S1 | p 2 , then m1a n1u m2a n2u, with 0 m1, m2 , n1, n2 p and at least one
m1 m2 , n2 n1 0 .
If m1 m2 0, then (m1 m2 )a z (n2 n1)u, with 0 | n2 n1 | p.
Consequently , for all x F ,| n2 n1 | x | n2 n1 | (ux) (| n2 n1 | u) x , zx z , with
0 | n2 n1 | p char ( F ) another contradiction.
If n2 n1 0, then (m1 m2 )a z, with 0 | m1 m2 | p.
Since F is a field and a z , we know that a 1 F , so | m1 m2 | aa 1 za 1 z , with
0 | m1 m2 | p, which is another contradiction.
Hence neither m1 m2 nor n2 n1 is 0. Therefore (m1 m2 )a (n2 n1)u z.
Choose k Z such that 0 k p and k (m1 m2 ) 1 (mod p). Then
a a(m1 m2 )k k (n2 n1)u, and a S0 , one more contradiction.
Hence | S1 | p 2 , and if F S1 the theorem is proved.
If not, continue this process with an element b F S1.
Then S2 {lb ma nu / 0 l, m, n p} will have order p3 . Since F is finite , we reach a
point where F St 1 for some t Z , and | F || St 1 | pt .
5i) If F is a field, then prove that F[x] is an integral domain and not a field
Given that F is a filed. Therefore, F is a commutative ring.
Therefore F[ x] is a commutative ring.
Case (1) To prove F is an integral Domain
Let ab 0, a 0 in F.
a 1(ab) a 1(0) 0
(a 1a)b 0 b 0
Therefore, F Is an integral Domain.
1 n m
h( x) [ g ( x) q( x) f ( x)] [anbm x ] f ( x)
,
1 n m
g(x) [q( x) anbm x ] f ( x)
so h( x) S and this contradicts the choice of r ( x) as having minimum degree.
Consequently deg(r ( x)) deg( f ( x)) and we have the existence part of the theorem.
For uniqueness,
let g ( x) q1( x) f ( x) r1( x) q2 ( x) f ( x) r2 ( x)
where r1( x) 0 or deg r1( x) deg f ( x) , and r2 ( x) 0 or deg r2 ( x) deg f ( x).
Then [q2 ( x) q1( x)] f ( x) r1( x) r2 ( x),
If [q2 ( x) q1( x)] 0, then deg[q2 ( x) q1( x)] f ( x) deg ( f ( x)),
whereas [r1( x) r2 ( x)] 0 or deg[r1( x) r2 ( x)] max{deg r1( x),deg r2 ( x)} deg f (x).
Consequently r1( x) r2 ( x) and q1( x) q2 ( x).
1 Explain Divisibility.
Let a, b z we say „a‟ divides b if their exist c z such that b=ac. „a‟ is called divisor or factor
of „b‟. and „b‟ is called multiple of „a‟. So we write it as a / b (i.e.) b is divisible by a.
If a does not divide b, then we write a / b .
2 State the properties of divisibility.
(i). a / b a / bc for all integer c
(ii). If a / b, b/ c a / c
(iii). If a / b, a / c a / bx cy integers x & y
(iv). If a / b, b / a a b
3 If a/b, a/c prove that a/bx + cy for all integers x &y
since a / b b am - - - - - (1); a / c c al - - - - - (2)
(1) x bx amx - - - - - (3)
(2) y cy aly - - - - - (4)
(3) (4) bx cy amx aly a (mx ly ) , where mx ly is integer a / bx cy
6. Add two more rows to the following pattern, and write conjecture formula for the n th
row:
9 9 7 88
98 9 6 888
987 9 5 8888
9876 9 4 88888
98765 9 3 888888
The next two rows of the given pattern are,
987654 9 2 8888888
9876543 9 1 88888888
The general pattern is
98765.....(10 n) 9 (8 n) 888.....88
( n 1) Eights
252 360
a, b ab
252, 360 2520
a, b 36
14 If (a, 4) = 2 & (b, 4) = 2show that ( a+b , 4) = 2
a, 4 2 gcd of a, 4 2 2 / a but 4 / a a 2k , and k is odd
b, 4 2 gcd of b, 4 2 2 / b but 4 / b b 2l, and l is odd
a b 2k 2l 2 k l 2(even) 2 2m 4m
4 / a b gcd a b, 4 4
15 If x and y are odd integers show that x2 + y2 cannot be perfect square.
Since x and y are odd integers x 2 y 2 is even 2/x 2 y 2
To prove:
x 2 y 2 cannot be perfect square, it is enough to show that x 2 y 2 , 4 2
Let x 2k 1, y 2l 1
x2 y 2 4 k 2 l 2 k l 2
x 2 y 2 , 4 4 k 2 l 2 k l 2, 4 2, 4
hence x 2 y 2 cannot be perfect square.
16 Prove that any prime of the form 3k+1 is of the form 6k+1.
Let the prime p =3k+1, then k must be even.
[if k is odd, then 3k is odd 3k+1 is even 3k+1 is not prime]
k=2k, then p =3(2k)+1=6k+1.
Hence any prime of the form 3k+1 is of the form 6k+1.
17 Using canonical decomposition of 1050 and 2574 find their LCM. [NOV/DEC 19]
1050 2 3 52.7 2574 2 32 11.13
LCM 1050, 2574 2 32 52 7.11.13 450
18 Find the canonical decomposition of 29 - 1
29 1 23 13 23 1 26 23 1 a3 b3 a b a 2 ab b 2
3
7 73
19 If d = a,b and d' is any common divisor of a and b, then d'/d.
Since d = a, b , α and β such that d a b.
also since d' is common divisor of a & b. d'/ a & d'/ b
d'/ αa+βb ; so d'/d.
k 2 2k 1 k 1 k 2 k 2k 2 Even number
hence p(n)=n 2 n is even integer n.
PART-B
1i) Find the number of positive integers in the range 1976 through 3776 that are divisible
by13.
Solution:
1976
The number of positive integers 1976 that are divisible by 13 152
13
3776
The number of positive integers 3776 that are divisible by 13 290
13
The number of positiveintegers1976 to3776 that are divisible by 13
290 152 1
139 [ 1976 is included in the list of numbers divisible by 13]
1ii) Prove that (a, a – b) = 1if and only if (a, b) = 1
Proof:
Let a, a b 1
Then there exist integer l and m such that
la mb 1
la ma mb ma 1
(l m)a m(a b) 1
(l m)a ( m)( a b) 1
a, a b 1
Conversely, let a, a b 1. To prove : a, b 1
Then there exist integer and such that
a ( a b) 1
a a b 1
a ( )b 1 a, b 1
1iii) Obtain six consecutive integers that are composite.
Solution:
By theorem, for every integer n, there are n consecutive integers that are composite numbers.
Then the six consecutive composite numbers are
n 1! 2, n 1! 3, n 1! 4, n 1! 5, n 1! 6, n 1! 7
put n 6
The six consecutive composite numbers are5042, 5043,5044,5045,5046, and 5047
2i) Apply Euclidean Algorithm and express (4076, 1024) as a linear combination of 4076,
1024.
Solution:
By successive application of division algorithm, we get:
4076 3 1024 1004
1024 1 1004 20
1004 50 20 4
20 5 4 0
Since the last nonzero remainder is 4 4076,1024 4
4076,1024 4 1004 50 20
1004 50 1024 11004
511004 50 1024
51 4076 3 1024 50 1024
51 4076 203 1024
2ii) Prove that there are infinitely many primes. [NOV/DEC 19]
Proof:
We prove by contradiction method.
Assume that there are only n primes p1 , p2 ,..., pn where n is prime.
6, 60 , 75 ,132
6, 75 ,132 3,132 3
4ii) Find the number of positive integers ≤ 3000 and divisible by 3, 5, or 7.
Solution:
Let A,B,C be the set of numbers ≤ 3000 and divisible by 3, 5,7 respectively.
Required A B C
By inclusion and exclusion principle, we get
A B C S1 S 2 S3
Now
3000
A 1000 1000
3
3000
B 600 600
5
3000
C 428.57 428
7
S1 A B C 1000 600 428 2028
3000
AB 200 200
3 5
3000
A C 142.85 142
3 7
3000
B C 85.71 85
5 7
S2 A B A C B C 200 142 85 427
3000
Now S3 A B C 28.57 28
3 5 7
A B C S1 S2 S3 2028 427 28 1629
4iii) Show that product of k consecutive integers is divisible by k!
Proof:
Let n 1 , n 2 , , n k be the 'k' consecutive integer.
Product of 'k' consecutive integer = n 1 n 2 n k
n!
n 1 n 2 n k
n!
n k !
n!
k! n k !
Product of 'k' consecutive integer= k! n rCr Integer
k! n !
Hence the product of k consecutive integers is divisible by k!
5i) State and prove fundamental theorem of arithmetic.
Statement:
Every integer n 2 either is a prime or can be expressed as a product of primes. The
factorization into primes is unique except for the order of the factors.
Proof:
First, we will show by strong induction that n either is a prime or can be expressed as a product
of primes. Then we will establish the uniqueness of such a factorization.
Let P(n) denote the statement that n is a prime or can be expressed as a product of primes.
To show that P n is true for every integer n 2 :
since 2 is a prime, clearly P(2) is true.
Now assume P(2), P(3),…..P(k) are true; that is every integer 2 through k either is a prime or
can be expressed as a product of primes.
If k+1 is a prime, then P(k+1) is true. So suppose k+1 is composite. Then k+1 = ab for some
integers a and b, where 1 < a, b < k+1. By the inductive hypothesis, a and b either are primes or
can be expressed as products of primes; in any event, k+1=ab can be expressed as products of
primes. Thus, P(k+1) is also true.
Thus by strong induction, the result holds for every integer n 2
To Establish the Uniqueness of the Factorization:
Let n be a composite number with two factorization into primes; n p1 p2 pr q1q2 qs
we will show that r = s and every pi equals some j ,where 1 i, j r; that is, the primes
q
a, b p p maxa1 ,b1
1
maxa2 ,b2
2
.....p max an ,bn
n
a, b p p mina1 ,b1
1
mina2 ,b2
2
.....p minan ,bn
n
p a1 b1
1
p a2 b2
2
.....p an bn
n
the remainder is 0.
The digital roots of square numbers are 1, 4, 7, or 9.
1+6+1+5+1+6+1+3+9+2+4=39 remainder is 3 when divided by 9
Therefore digital root of 16151613924 is 3.
Hence 16151613924 is not a square.
5 Solve x7 + 1 0(mod 7)
The complete residuesystem(CRS ) is {0,1, 2,3, 4,5,6}
But 4 3 (mod 7)
5 2 (mod 7)
6 1 (mod 7)
The CRS is {0, 1, 2, 3}
The CRS does not satisfy the congruence x 2 1 0 (mod 7)
The given congruence has no solution.
6 State Chinese remainder theorem.
Let m1 , m2 ,...., mr denote r positive integers that are relatively prime in pairs and let
a1 , a2 ,...., ar be any r integers. Then the congruence x ai (mod mi ), i 1, 2,...., r have
common solution.
7 Determine whether the LDEs 12x + 18y = 30, 2x + 3y = 4, and 6x + 8y = 25 are
solvable .
(12,18) 6 and 6 | 30, so the LDE 12 x 18 y 30 has a solution.
(2,3) 1, so the LDE has a solution.
(6,8) 2, but 2 / 5, so the LDE 6 x 8 y 25 is not solvable.
8 Prove that a b(mod m) if and only if a = b + km for some integer k
Suppose a b (mod m).
Then m / (a - b), so a b km for some integer k .
(i.e) a b km.
Conversely, suppose a b km.
Then a b km, so m / (a b) and consequently, a b(mod m).
9 Find the remainder when 1! 2! ...... 100! is divided by 15.
Notice that when k 5, k ! 0 (mod 15)
1! 2! ..... 100! 1! 2! 3! 4! 0 ..... 0(mod 15)
1 2 6 24 (mod15)
1 2 0 ( mod15)
3(mod15)
Thus, when the given sum is divided by 15, the remainder is 3.
10 Let a b(mod m) and c d(mod m) then prove that a + c b+ d(mod m)
Since a b (mod m) and c d (mod m),
a b lm and c d km for some inegers l and m.
Then a c (b lm) (d km)
(b d ) (l k )m
b d (mod m)
11 Let a b(mod m) and c d(mod m) then prove that ac b d(mod m)
Since a b (mod m) and c d (mod m),
23
ad bc 1 12(mod 13).
34
Since (12,13)=1 Therefore the system has a unique solution modulo 13.
18 Prove that no prime of the form 4n + 3 can be expressed as the sum of two squares.
Let N be a prime of the form 4n + 3.
Then N 3(mod 4).
Suppose N A2 B 2 for some integers A and B.
Since N is odd, one of the squares
(say A2 ) must be odd and hence B2 must be even.
Then A must be odd and B even.
Let A 2a 1 and B 2b for some integers a and b .
Then N (2a 1) 2 (2b) 2
4(a 2 b 2 a ) 1
1(mod 4)
which is a contradiction,since N 3(mod 4)
19 Show that a palindrome with an even number of digits is divisible by 11.
Let be n n2k 1n2 k 2 ......n1n0 palindrome with an even number of digits
n (n0 n 2 ..... n 2 k 2 ) ( n1 n 3 ..... n 2 k 1 )(mod11)
0 (mod11)
because n is palindrome with an even number of digits
Thus, 11| n.
20 Define complete residue system.
A set x1 , x2 ,...., xm is a complete residue system mod m if for integer y , there is one and only one
x j such that y x j (mod m) .
PART B
1i) Show that n + n 0(mod 2) for any positive integer n.
2
Proof:
a b (mod k ) a b km, m z
a b is divisible by k
n even 2m
n 2 n (2m) 2 (2m) 4m 2 2m 2(2m 2 m)
n2 n is divisible by 2
n odd 2m 1
n 2 n (2m 1) 2 (2m 1)
4m 2 4m 1 2m 1
4m 2 6m 2
2(2m 2 3m 1)
n2 n is divisible by 2 n2 n 0(mod 2)
1ii) Prove that p is a prime iff (p – 1)! +1 0(mod p).
Proof:
Suppose p is not a prime then p p1 p2 where 1 p1 , p2 p 1
since 1 p1 p 1, we find p1 is a factor of ( p 1)!
(ie) p1 ( p 1)! Also p1 p
St. Joseph’s Institute of Technology Page 35 of 50
MA8551 – Algebra and Number Theory Department of CSE / IT 2020-2021
put k 5, b1 1
m
For m2 b2 1(mod m2 )
m2
(28)b2 1(mod 3) 3 / 28b2 1
28b2 1 3k , k is an integer
28b 2 1 3k
1 3k
b2
28
put k 9, b2 1
m
For m3 b3 1(mod m3 )
m3
(12)b3 1(mod 7) 7 /12b3 1
12b3 1 7k2 , k2 is an integer
12b3 1 7k2
1 7 k2
b3
12
put k2 5, b3 3
By chinese remainder theorem,
3
m
x ai bi (mod m)
i 1 mi
m m m
a1b1 a2b2 a3b3 (mod m)
m1 m2 m3
(2111) (28 0 1) (12 5 3) (mod 84)
(21 180) (mod 84)
201(mod 84)
3ii) Determine whether the system x 3(mod10); x 8(mod15); x 5(mod84)
has a solution and findthemall if it exists .
Solution:
The first congruence x 3(mod10) is equivalent to the simultaneous congruences
x 3(mod 2) -------(1)
x 3(mod 5) --------(2)
The congruence x 8(mod15)is equivalent to,
x 8(mod 3) (3)
x 8(mod 5) (4)
The congruence x 5(mod 84) is equivalent to,
x 5(mod 3) (5)
x 5(mod 4) (6)
x 5(mod 7) (7)
m
For m4 b4 1(mod m4 )
m4
(60)b4 1(mod 7) 7 / 60b4 1
60b4 1 7k4 , k4 is an integer
84b 4 1 7k4
1 7 k4
b4
84
put k4 17, b3 2
By chinese remainder theorem,
4
m
x ai bi (mod m)
i 1 mi
m m m m
a1b1 a2b2 a3b3 a4b4 (mod m)
m1 m2 m3 m4
(105 11) (140 2 2) (84 3 4) (60 5 2) (mod 420)
(105 560 1008 600) (mod 420)
2273(mod 420) 173(mod 420)
y0 2 6t and z0 1 3t , t Z
So, the generalsolution of (2) is
b a
y y0 t ' and z z0 t ', t ' Z
d d
12 8
y 2 6t t ' and z 1 3t t ', t ' Z
4 4
y 2 6t 3t ' and z 1 3t 2t ', t ' Z
Thus the general solution of (1) is
x 1 2t , y 2 6t 3t ', z 1 3t 2t ', t ' Z
5ii) Find the general solution of the LDE 15x + 21y = 39 [NOV/DEC 19]
Solution:
15 x 21 y 39 a 15, b 21, c 39.
d (15, 21) and d / 39 d 3
So, the given LDE is solvable.
15 x 21y 39 5 x 7 y 13 (1)
then (5, 7) d 1 d /13
a 5, b 7, d 1
We find x0 3, y0 4 is a solution of (1) is
b a
x x0 t and y y0 t , t Z
d d
7 5
x 3 t and y 4 t , t Z
1 1
x 3 7t and y 4 5t , t Z
6i) Solve the linear system [NOV/DEC 19]
5 x 6 y 10(mod13)
6 x 7 y 2(mod13).
Solution:
5 x 6 y 10 (mod13)
6 x 7 y 2 (mod13)
a 5, b 6, c 6, d 7, e 10, f 2.
m 13, ad bc 35 36 71(mod13) 7(mod13)
(, m) (13,1) 1.
Hence unique solution .
10 6
x0 1 (mod13) (1)
2 7
5 10
y0 1 (mod13) (2)
6 2
1 1(mod13)
7 1 1(mod13) 1 2(mod13)
(1) x0 1 (70 12)(mod13) 2(70 12)(mod13) 8(mod13) 5(mod13)
[1,2,…,n] , in other words, the quantity number in the range [1,2,…,n] whose greatest common
divisor with n is the unity.
18 Using Fermat‟s theorem, find the last digit of 3100 when divided by 10.
We know that
32 9 1 mod 10
3 1 mod 10
2n n
3
250
1 mod 10
50
p ∣ a l or p ∣ a + 1
Since a < p, if p ∣ a +1 then a=p 1.
If p ∣ a 1, then a 1 = 0 => a = 1∙
a =1 or p-1 if a = a'
i.e., 1 and p 1 are their own inverses.
If a' ≠ a, excluding 1 and p 1, the remaining p 3 residues 2, 3, 4, ..., (p 3), (p 2) can be
grouped into p 3 pairs of the type a, a' such that aa' ≡ 1 (mod p)
2
Multiplying all these pairs together we get, 2∙3∙4...(p3)(p2)≡l (mod p )
1.2 ∙ 3 ∙ 4 ... (p2) (p1)≡ p 1mod p )
(p1) ! ≡ 1 (mod p ) ( Since p - 1 ≡-1 (mod p))
Hence the theorem.
This can be rewritten as (p 1)! + 1 ≡ 0 (mod p)
p ∣ (p l)! + l,
St. Joseph’s Institute of Technology Page 45 of 50
MA8551 – Algebra and Number Theory Department of CSE / IT 2020-2021
Proof:
Given p is a prime and a is any integer not divisible by p
When an integer is divided by p, the set of possible remainders are 0, 1, 2, 3, ...,p 1
Consider the set of integers 1 a, 2 a,3 a,....( p 1) a --------------(1)
Suppose ia ≡ 0(mod p), then p ia.
But p a .∙. p i, which is impossible, since i < p.
ia 0(mod p) for i = 1, 2, ...,p 1.
So, no term of (1) is zero.
Next we prove they are all distinct
Suppose ia ≡ ja(mod p), where 1≤ i,j≤ p1.
Then (i j)a ≡ 0(mod p) p (i j) a
Since pa, pij and i, j < p i j < p.
i - j = 0 i ≡ j(mod p)
.∙. i≠ j ia ≠ ja.
This means, no two of the integers in (1) are congruent modulo p.
.∙. The least residues (or remainders) of the integers a, 2a, 3a, ...,(p l)a modulo p are the
same as the integers 1, 2, 3, ...,p 1 in some order.
So, their products are congruent modulo p.
a . 2 a ∙ 3 a ... (p l) a ≡ 1 ∙2 ∙ 3 ... (p 1) (mod p)
l∙2∙3...(p l)∙ a P-1 ≡ (p l)!(mod p)
(p l)! aP-1 ≡ (p-l)!(mod p)
a P-1 ≡l(mod p) (since p (p-l))
The result ap-1 ≡ l(mod p) is equivalent to a p ≡ a (mod p).
2ii) 1947
Find the remainder when 24 is divided by 17
Solution.
We have to find the remainder when 241947 is divided by 17.
Here a = 24, p = 17
St. Joseph’s Institute of Technology Page 46 of 50
MA8551 – Algebra and Number Theory Department of CSE / IT 2020-2021
3
245 1(mod18)
6
1 m 1 2m 1 3m 1 ... (n 1)m 1
2 m 2 2m 2 3m 2 ... (n 1)m 2
3 m 3 2m 3 3m 3 ... (n 1)m 3
: : : : : :
: : : : : :
r row r m r 2m r 3m r ... (n 1)m r
th
: : : : : :
: : : : : :
m 2m 3m 4m ... nm
Let r be a positive integer ≤ m such that (r, m) > 1.
We will now show that no element of the rth row in the array is relatively prime to mn.
Let d = (r, m). Then d r and d m d km + r for any integer k
This means d is a factor of every element in the rth row.
Thus, no element in the rth row is relatively prime to m and hence to mn if (r, m ) > 1.
In other words,
the elements in the array relatively prime to mn come from the rth row only if (r, m) = 1.
Since r < m and relatively prime to m, we find there are φ(m) such integers r and have φ(m)
such rows.
Now let us consider the rth row where (r, m) = 1.
The elements in the rth row are r, m + r, 2m + r, ..., (n-1)m + r.
When they are divided by n, the remainders are 0, 1, 2, ..., n - 1 in some order of which φ(n)
arerelatively prime to n.
Therefore, exactly φ(n) elements in the rth row are relatively prime to n and hence to mn.
Thus there are φ(m) rows containing positive integers relatively prime to mn and each row
contain φ(n) elements relatively prime to it.
Hence the array contains φ(m) φ(n) positive integers ≤ mn and relatively prime to mn.
That is φ(mn) = φ(m) φ(n).
Hence φ is multiplicative function.
5i)
If p is prime and e any positive integer then prove that pe pe pe1 . Also show that
n
n when n 2k
2
Proof:
( pe ) number of positive integers pe and relatively prime to it
= {number of positive integers pe }-{ number of positive integers pe
and not relatively prime to it}
1 1 n
(n) (2k ) 2k 1 2k .
2 2 2
2p 1 1
5ii) Find the primes p for which is a square.
p
Solution:
2 p 1 1 2
Suppose n for some positive integer n. Then 2 p1 1 p n2
p
Clearly both p and n must be odd.
Let p=2k+1 for some positive integer k.
Then 22k 1 p n2 (2k 1)(2k 1) pn2
Suppose (2k 1) is a perfect square, (2k 1) r 2 2k r 2 1
2
2 p 1 22k (2k )2 r 2 1
Since r≥1 and is odd, r = 2i + 1 for some integer i ≥ 0.
Then r2 = (2i + 1)2 has to be an odd number.
But r2 + 1= 2k r2 + 1 has to divide 2.
r2 + 1 = 1 or 2.
r =0 or 1
p 1
r 0, 2 (02 1)2 1 p=0 which is not possible
r 1, 2 p1 (12 1)2 4 p=3
Suppose (2k 1) is a perfect square
(2k 1) s 2 2k s 2 1
2 p 1 s 1 s 1
2 2
If s 3; 2 p 1 3 1 3 1 26 p 7 . Thus p must be 3 or 7
2 2