0% found this document useful (0 votes)
5 views

unit - 5

The document covers classical theorems in algebra and number theory, specifically Wilson's Theorem, Fermat's Little Theorem, and Euler's Theorem, along with their proofs. It also includes examples demonstrating the application of these theorems to find remainders and the Euler phi function. Additionally, it provides a formula for the phi function and proves its multiplicative property.

Uploaded by

chaithanya2007s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

unit - 5

The document covers classical theorems in algebra and number theory, specifically Wilson's Theorem, Fermat's Little Theorem, and Euler's Theorem, along with their proofs. It also includes examples demonstrating the application of these theorems to find remainders and the Euler phi function. Additionally, it provides a formula for the phi function and proves its multiplicative property.

Uploaded by

chaithanya2007s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

DEPARTMENT OF MATHEMATICS

NAME OF THE SUBJECT: ALGEBRA AND NUMBER

THEORY

SUBJECT CODE : MA8551

REGULATION : 2017

UNIT – V : CLASSICAL THEOREMS AND


MULTIPLICATIVE FUNCTIONS
MA8551 – Algebra and Number Theory
UNIT – V CLASSICAL THEOREMS AND MULTIPLICATIVE FUNCTIONS
Wilson Theorem:
1. State and prove Wilson’s Theorem
Statement:
If p is prime, then (p  1)! ≡ 1 (mod p).
Proof :
We have to prove (p  1)! ≡ 1 (mod p)
When p = 2, (p 1)! = (2 1)! = 1 ≡l (mod 2).
So, the theorem is true when p = 2.
Now let p > 2 and let a be a positive integer such that 1 ≤ a ≤ p  1.
Since p is a prime and a < p, (a, p) = 1.
Then the congruence ax ≡ 1 (mod p) has a solution a' congruence modulo p.
.∙. aa' ≡ l(mod p), where 1 ≤ a' <p  1
.∙. a, a' are inverses of each other modulo p.
If a' = a, then a .a ≡ 1 (mod p)
 a2  1 ≡ 0∙(mod p)
.∙. .p ∣ a2  l  p ∣ (a  1) (a+ 1)
 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...(p3)(p2)≡l (mod p )
 1.2 ∙ 3 ∙ 4 ... (p2) (p1)≡ p  1mod p )
(p1) ! ≡  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,
which is the result suggested by Wilson.
np!
  1  mod p
n
2. Let p be a prime and n any positive integer. Prove that
n!pn
Proof:
First, we can make an observation. Let a be any positive integer congruent to 1 modulo p.
Then by Wilson’s theorem , a(a 1)...(a  (p  2))  (p 1)!  1(mod p)
In other words, the product of the p-1 integers between any two consecutive multiples of p is
congruent to -1 mod p.
(np)! (np)!
Then 
n p.2p.3p...(np)
n!p
n
   r 1 p 1 ...  r 1 p  (p 1)
r1
n
  (p 1)!(mod p)
r1

n
 (1)(mod p)  (1)n (mod p)

r1
Fermat’s Little Theorem:
1. State and prove Fermat’s little theorem.
If p is a prime and a is any integer not divisible by p, then a  1(mod p)
p1

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≤ p1.
Then (i  j)a ≡ 0(mod p)  p  (i  j) a
Since pa, pij 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).
1947
2. 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
We know 17 is a prime & 17∣24
.∙. By Fermats theorem, 24l7-1 ≡ 1(mod 17)
 2416 ≡1(mod 17)
.∙. (2416)121 ≡1121(mod 17)
 241936 ≡ 1(mod 17)
Now
241947 = 241936+11= 241936 .2411
242 = 576≡ -2(mod 17)
.∙. (242)2 ≡ (2)2(mod 17)
 244 ≡4(mod 17)
(244)2 ≡42(mod 17)
 248 ≡ 16(mod 17)
≡l(mod 17)
2411 = 248.242.24 ≡ (l)( 2). 7(mod 17)
≡ 14(mod 17)
.∙. 241947 ≡ 14(mod 17)
≡ 14(mod 17)
.∙. The remainder is 14 when 241947 is divided by 17.
Euler’s Theorem:
1. State and prove Euler’s theorem.
Let m be a positive integer and a be any integer such that (a, m) = 1.
Then a Φ (m) ≡ 1(mod m).
Proof :
Given m is a positive integer and a is any integer such that (a, m) = 1.
Let r1, r2, ...,r Φ(m) be all the positive integers < m and relatively prime to m.
Since ri  rj < m, clearly ri ≠ rj (mod m) if i ≠ j
Consider the products ar1, ar2, ...,arΦ(m)
Since (a, m) = 1,ari ≠ arj (mod m) if i ≠ j
we find ar1, ar2, ...,arΦ(m) mod m are distinct.
We now prove (ari, m) = 1
For, suppose (ari, m)> 1, then let p be a prime factor of (ari, m) = d.
.∙. p  a and p m
 p  a or p  ri and p m.
If p  ri and p  m then, (ri,m) ≠ 1, a contradiction.
If p a and p  m, then p  (a, m)  (a,m)  1, which is again a contradiction.
.∙. (ari∙,m) = l, i = 1,2,3, ...,Φ(m)
.∙. the Φ(m) least residues ar1, ar2, ...,arΦ(m) modulo m are distinct and relatively prime to m.
So, they are the same as integers r1, r2, ...,rΦ(m), in some order modulo m.
.∙. their product ar1 ar2 ... arΦ(m)  r1 r2 ... rΦ(m) (mod m)
 aΦ(m) r1 . r2,, rΦ(m) ≡ r1r2.. r Φ(m) (mod m)
Since each ri is relatively prime to m, (r1r2.. rΦ(m), m) = 1
We get a Φ(m) ≡ 1(mod m)
1040
2. Using Euler’s theorem, find the remainder when 245 is divided by 18.
Solution.
We have to find the remainder when 2451040 is divided by 18.
Here a = 245 = 5 ∙ 72 and m = 18 = 32 ∙ 2 , (a, m) = 1
Hence by Euler’s theorem,
a (m) ≡ 1(mod m) 245 (m) ≡ 1(mod m)
 (18)   (3 .2)   (3 ). (2) 3 1 .1 6
2 2 1
2

 3 
But 
 2456  1
(mod18)
 (2456 )173  1173 (mod18)
2451038  1(mod18)
2451040  24510382  24510382452
But 245  11(mod18)
2452 ≡ 112 (mod 18)
≡121 (mod 18)
≡ 13 (mod 18)
245l040 ≡ 1 ∙ 13 (mod 18)
≡ 13 (mod 18)
.∙. The remainder ek is 13 when 2451040 is divided by 18.
n  p e1 e2
p ...p
If is the canonical decomposition of a positive integer n then derive the
1 2 k

formula for the phi function   n  and use it to find (6860)


Proof:
 ( pe )  pe  pe1  pe (1 1 )
p
To prove : If p is prime and e any positive integer then prove that
( pe )  number of positive integers  pe and relatively prime to it
= {number of positive integers  p }-{ number of positive integers  p
e e

and not relatively prime to it}

The number of positive integers  p is p (because they are 1, 2, 3, ..., p )


e e e

The number of positive integers  p and not prime to it are the various multiples of p.
e

e1
They are p, 2 p, 3p,...... ,( p ) p
The number of such numbers  p
e1

( pe )  pe  pe1  pe (1 1 )
p
Hence
( p )  p  p  p (1 )
e e e1 e 1
p
Since is a multiplicative function,
(n)  ( p p ...p )  ( p )( p ) ( pe )
e e
1
e
2
e e
k 1 2 k
 pe (1 1 ) pe (1 1 ) ... pe (1 1 )
1 p1 2 p2 k pk

 p p ... p (1 )(1 ) ... (1 1 )


e e e 1 1
1 2 k p1 p2 pk
 n(1 1
)(1 ) .. (1 ) 1 1
p1 p2 pk

To find (6860) :
(6860)  (22 ).(5).(73 )
 1  1
 22 1 4.73 1  252
 2  7 
   
Euler phi function:
Let  : N  N be a function defined by
(1)= 1 and
for n>1 (n)=the number of positive integer ≤ n and relative prime to n.
1. Prove that Euler phi function is multiplicative:
Proof:
Let m and n be positive integers such that (m, n) = 1.
To prove (mn) = (m) (n)
Arrange the mn integers 1, 2, 3, ..., mn in m rows of n numbers each.
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 m  r 2m  r 3m  r ... (n 1)m  r
: : : : : :
rth row 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) arc
relatively 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.

2. If p is prime and e any positive integer then prove that


 
 pe pe pe1
. 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  p }-{ number of positive integers  p
e e

and not relatively prime to it}

The number of positive integers  p is p (because they are 1, 2, 3, ..., p )


e e e
The number of positive integers  p and not prime to it are the various multiples of p.
e

e1
They are p, 2 p, 3p, ..... ,( p ) p
The number of such numbers  p
e1

Hence
 p p
 pe e e1

n
n  when n  2k
To prove that 2
Given n  2k
 1 1 n
  (n)  (2k )  2k  1   2k . 
2 2 2
 
2p1  1
3. Find the primes p for which p is a square.
Solution:
2 p1 1 2
n
for some positive integer n. Then 2 1 pn
p1 2
Suppose p
Clearly both p and n must be odd.
Let p=2k+1 for some positive integer k.
Then 2 1 pn
2k 2

 (2k 1) (2k 1)  pn2


Suppose (2 1) is a perfect square, (2k 1)  r 2  2k  r 2 1
k

2 p1  22k  (2k ) 2   r 2 1


2

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
r  0, 2  (02 1)2  1  p=0 which is not possible
p1

r  1, 2p1  (12 1)2  4  p=3

Suppose (2 1) is a perfect square


k

(2k 1)  s2  2k  s2 1
2p1 s 1 s 1
2 2

Then both s -1 and s+1 both must be the factors of 2


s 1 1 or 2, & s 1 1 or 2
 s  0, 1, 2 or 3
If s  0; 2 p1   0 1  0 1  1 p  1
2 2

which is not possible


If s  1; 2 p1  11 11  0
2 2

which is not possible


If s  2; 2 p1   2 1  2 1  9
2 2

which is not possible


If s  3; 2 p1   3 1  3 1  26  p  7
2 2

.
Thus p must be 3 or 7
Tau function:
Let n be a positive integer then
(n) denotes the number of positive factors of n that is (n)  1
d/n
Sigma function:
Let n be a positive integer then (n) denotes the sum of the positive factors of n that is
(n)   d
d/n
Problems:
1. Evaluate (18) and (23)
Solution:
The positive divisors of 18 are 1,2,3,6,9,18 so that (18)  6
23 being a prime , has exactly two positive divisors so (23)  2
2. Evaluate (12) and (28)
Solution:
The positive divisors of 12 are 1,2,3,4,6,12 so that (12)  1  2  3  4  6  12  28
The positive divisors of 28 are 1,2,4,7,14,28 so that (28)  1  2  4  7  14  28  56

You might also like