Chapter 5 Lecture Notes - Number Theoretic Functions
Chapter 5 Lecture Notes - Number Theoretic Functions
SEMESTER 1 2022/2023
NUMBER-THEORETIC FUNCTIONS
PROF. MADYA DR ROHAIDAH MASRI
DR. NOR HAFIZAH MD HUSIN
NUMBER-THEORETIC FUNCTIONS
The function and σ
Definition 1
Given a positive integer n, let (n) denote the number of positive divisor of n
and σ(n) denote the sum of these divisor.
2
NUMBER-THEORETIC FUNCTIONS
The function and σ
Example
Let n =12.
Example
Let n =15.
3
NUMBER-THEORETIC FUNCTIONS
The function and σ
Example.
4
NUMBER-THEORETIC FUNCTIONS
Note:
5
NUMBER-THEORETIC FUNCTIONS
Summation & Product
Some interpretation of the symbols:
(i) Sum the values f(d) as d runs over all the positive divisors of the
positive integer n
Example:
6
NUMBER-THEORETIC FUNCTIONS
Summation & Product
Some interpretation of the symbols (cont.):
(ii)
7
NUMBER-THEORETIC FUNCTIONS
Summation & Product
Definition 3.
8
NUMBER-THEORETIC FUNCTIONS
Summation & Product
Example.
9
NUMBER-THEORETIC FUNCTIONS
Summation & Product
Example.
10
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Theorem 1.
If n = p p ... p
k1
1
k2
2
kr
r is the prime factorization of n 1, then the
positive divisors are precisely those integers d of the form,
d = p p ... p
a1
1
a2
2
ar
r
where 0 ai ki ( i = 1, 2, ... , r ) .
11
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Lemma 1
12
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Proof:
13
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Example.
14
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Theorem 2
If n = p p ... p
k1
1
k2
2
kr
r is the prime factorization of n 1, then
(a) ( n ) = ( k1 + 1)( k2 + 1) ... ( kr + 1) , and
k1 +1 k2 +1 kr +1
− 1 p2 − 1
p pr − 1
(b) (n) = 1
...
p1 − 1 p2 − 1 pr − 1
15
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Example.
16
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Example.
17
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Example.
Let n =376.
Then,
18
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Example.
Let n =180.
Then,
positive divisors.
19
NUMBER-THEORETIC FUNCTIONS
Number of Positive Divisors & Sum of Divisors
Cont..
20
NUMBER-THEORETIC FUNCTIONS
Multiplicative Functions
Observe that:
These calculations bring out the nasty fact that, in general, it need not be true that
21
NUMBER-THEORETIC FUNCTIONS
Multiplicative Functions
Definition 4
Theorem 3
22
NUMBER-THEORETIC FUNCTIONS
Multiplicative Functions
Proof:
23
NUMBER-THEORETIC FUNCTIONS
Multiplicative Functions
Proof:
24
NUMBER-THEORETIC FUNCTIONS
Multiplicative Functions
Lemma 2
If gcd ( m, n ) = 1, then the set of positive divisors of mn consists
of all products d1d 2 , where d1 | m , d 2 | n and gcd ( d1 , d 2 ) = 1,
futhermore, these products are all distinct.
Theorem 4
25
NUMBER-THEORETIC FUNCTIONS
Multiplicative Functions
Example.
26
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Definition 5
Let x be arbitrary real numbers. [ x ] is the largest integer less than or equal to x;
that is, [ x ] is the unique integer satisfying
x–1[x]x .
Example.
Note:
Let x = - 3/2
where, [ x ] = x holds if and only if x is an integer
- 2.5 < [ - 1.5 ] -1.5
Then, [-1.5] = -2
27
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Example.
Let x= 2
where,
0.4 2 = 1.414 1.414
Then = 1
2
Example.
1/ 3 = 0
= 3.142 = 3
− = −3.142 = −4
28
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Example.
Let p = 3 & n = 9 .
A formula that will give this
Then,
count, without the necessity of
9 ! = 1 . 2. 3 . 4 . 5 . 6 . 7 . 8 . 9
writing n! is given in the
= 27 . 34 . 5 . 7
following theorem
Then, the exact power of 3 that divides 9! Is 4 .
29
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Theorem 5
If n is a positive integer and p is a prime,
then the exponent of the highest power of p that divides n! Is
n
pk
k =1
n
where the series is finite, since k = 0 for p k n.
p
30
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Example.
Determine the number of times 10 enters into the product 50!
Solution:
It is enough to find the exponent of 2 & 5 in the prime factorization of
50! .
50 50 50 50 50 50
k =1
2k = 21 + 22 + 23 + 24 + 25 + 0 + ...
= 25 + 12 + 6 + 3 + 1 + 0 + .... = 47
By Theorem 5, 247 divides 50! .
50 50 50
Similarly, 5k = 51 + 52 + 0 + ... = 10 + 2 + 0 + .... = 12
k =1
By Theorem 5, 512 divides 50! .
Therefore,
50! ends with 12 zeros.
31
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Theorem 6
Corollary 1
For a positive integer r, the product of any r consecutive positive
integers is divisible by r! .
32
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Example. Note:
7.8.9.10.11 = 55440
Let (7)(8)(9)(10)(11) , where r = 5. Where,
55440 = 5! (462) + 0
Then, by corollary 1,
7.8.9.10.11 is divisible by 5! . Then, 5! | 55440 .
Theorem 7
33
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Corollary 2
Corollary 3
34
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Example. (Corollary 2)
By Corollary 2 ; 6 6
6
n =1
(n ) =
n =1 n
= 6 + 3 + 2 + 1 + 1 + 1 = 14
35
NUMBER-THEORETIC FUNCTIONS
The Greatest Integer Function
Example. (Corollary 3)
36
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
A positive integer n is called as perfect number if n is equal to the sum of all its positive divisors,
excluding n itself.
Example.
37
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
Theorem 8
Example.
2 (22 – 1 ) = 6
22 (23 – 1 ) = 28
24 (25 – 1 ) = 496
26 (27 – 1 ) = 8128
Where, 6, 28, 496 & 8128 are perfect numbers.
38
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
Proof ():
39
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
Proof ():
40
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
41
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
42
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
Lemma 3
Theorem 9
43
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
Proof: (Theorem 9)
44
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
Theorem 10
Proof:
45
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
46
NUMBER-THEORETIC FUNCTIONS
Perfect Numbers
47
NUMBER-THEORETIC FUNCTIONS
Mersenne Primes
48
NUMBER-THEORETIC FUNCTIONS
Mersenne Primes
Next theorem gives us a method for determining whether certain special types
of Mersenne numbers are prime or composite.
Theorem 11
Example.
49
NUMBER-THEORETIC FUNCTIONS
Mersenne Primes
Of the two possibilities q | Mp or q | Mp + 2, it is reasonable to ask:
What conditions on q will ensure that q | Mp?
Theorem 12
50
NUMBER-THEORETIC FUNCTIONS
Mersenne Primes
Corollary 4
Example. (Corollary 4)
51
NUMBER-THEORETIC FUNCTIONS
Mersenne Primes
Note:
52
NUMBER-THEORETIC FUNCTIONS
Mersenne Primes
Fermat’s Theorem:
The following theorems tackle two results of Fermat that restrict the p prime, aZ+, p | a
divisors of Mp.
Then, ap -1 1 (mod p)
Theorem 13
Theorem 14
If p is an odd prime, then any prime divisor q of Mp is of the form
q 1 (mod 8).
53
NUMBER-THEORETIC FUNCTIONS
Mersenne Primes
Theorem 15 (Euler)
Corollary 5.
54