Uploaded by ASIST IPO

LEARNING GUIDE NUMBER THEORY content

advertisement
UNIT I
DIVISIBILITY AND PRIME FACTORIZATION
Number theory or in older usage is called higher arithmetic, is a branch
of pure mathematics devoted primarily to the study of integers. German
mathematician Carl Friedrich Gauss (1777–1855) said, "Mathematics is the
queen of the sciences—and number theory is the queen of mathematics."
Concepts of divisibility and factorization which form basis and
foundation for the study of more advanced topics in number theory are
developed in this chapter. Main topics of this chapter are quite old, which
dates back 300 B.C. These concepts result to important properties and
theorems of integers, which are extremely useful in elementary number
theory.
a. Divisibility, division algorithm, greatest integer function
Divisibility-is a fundamental relation connecting one integer to another
- it is regarded to Euclid of Alexandria
- divisibility relation means “divides evenly with zero remainder”
- 2 divides 4; 4 does not divide 7
Definition 1: Let a,b∈Z. Then a divides b, denoted a|b, if there exists c∈Z such
that b=ac. If a|b, then a is said to be the divisor or factor of b.
Example 1: 2|4 since there exists c∈Z such that 4=2c where c=2.
4 does not divide 7 since there does not exist c∈Z such that 7=4c.
Propositions 1 and 2:
1. Let a,b,c∈ Z. If a|b and b|c, then a|c.
2. Let a,b,c,m,n ∈ Z. If c|a and c|b, then c|ma+nb.
Definition 2: The expression ma+nb is said to be an integral linear
combination of a and b.
Definition 3: Let x∈ R. The greatest integer function of x, denoted by [๐‘ฅ], is the
greatest integer less than or equal to x.
Example 2: a.) [5]=5, since the greatest integer less than or equal to 5 is
itself.
7
7
b.) [3]=2, since the greatest integer less than or equal to 3 is 2.
1
Lemma 1:
Let x∈ R. Then x-1< [๐‘ฅ]≤ x.
Theorem 1: (The Division Algorithm) Let a,b∈ Z with b>0. Then there exist
unique q,r ∈ Z such that a=bq + r, 0≤r<b.
๐‘Ž
๐‘Ž
Note: q=[๐‘] and r=a-b([๐‘])
Example 3: Find q and r as in the division algorithm if a=-7 and b=3.
−7
q=[ 3 ]=-3
r=-7-3(-3)=2
Definition 4: Let n∈Z. Then n is said to be even if 2|n and n is said to be odd if
2 does not divide n.
Tests for Divisibility
Divisibility Rules for 2,3,4,5,6,7,8,9, and 10 are as follows:
A number is divisible by 2 if the last digit is either 0, 2, 4, 6, or 8.
A number is divisible by 3 if the sum of the digits is divisible by 3.
A number is divisible by 4 if the last two digits is divisible by 4.
A number is divisible by 5 if the last digit is either 0 or 5.
A number is divisible by 6 if the number is divisible by both 2 and 3.
A number is divisible by 7 if the new number is divisible by 7 after
removing the last digit from the original number, doubling it, and subtracting
the result from the remaining digits. The procedure may be applied over and
over again as necessary.
A number is divisible by 8 if the last three digits is divisible by 8.
A number is divisible by 9 if the sum of the digits is divisible by 9.
A number is divisible by 10 if the last digit is 0.
2
Activity No. 1
Divisibility and Division Algorithm
Objectives:
divisibility;
1. To prove or disprove statements using the concept of
and
2. To find unique integers q and r guaranteed by the division
algorithm.
Direction: Accomplish the following problems. Show all pertinent solutions.
1. Prove or disprove each statement below.
a. 7|42
b. 4|70
c. 18|0
d. 14|175637
e. 17|998206
2. Find the unique integers q and r guaranteed by the division algorithm
with each dividend and divisor below.
a. a=46, b=6
b. a=297, b=14
c. a=-87, b=8
d. a=-480, b=27
3
b. Primes, Euclid's Theorem, Prime Number Theorem, Goldbach and Twin
Primes conjectures, Mersenne primes, Fermat primes
Prime Numbers
Definition 5: Let p ∈ Z with p>1. Then p is said to be prime if the only positive
divisors of p are 1 and p. If n ∈ Z, n>1, and n is not prime, then n is said to be
composite.
Lemma 2: Every integer greater than 1 has a prime divisor.
Theorem (Euclid) 2: There are infinitely many prime numbers.
Proposition 3: Let n be a composite number. Then n has a prime divisor p with
p≤√๐‘›.
Sieve of Eratosthenes
By Proposition 3, the sieve of Eratosthenes is a method of finding all
prime numbers less than or equal to a specified integer n>1 by producing a
criterion satisfied by all composite numbers. If an integer greater than one
fails to satisfy this criterion, then the integer is a prime number. This
systematic procedure was named after Eratosthenes of Cyrene (276-194
B.C.)
Example 4: Suppose we want to find all prime numbers less than or equal to
50. Then by Proposition 3, we know that √50.≈7.07. The prime numbers less
than 7.07 are 2,3,5, and 7. Thus, from a list of the integers from 2 to 50, we
cross out all multiples of 2,3,5, and 7 except 2,3,5, and 7. All integers that
were crossed out are composite numbers while the remaining integers are
prime numbers.
11
21
31
41
2
12
22
32
42
3
13
23
33
43
4
14
24
34
44
5
15
25
35
45
6
16
26
36
46
7
17
27
37
47
8
18
28
38
48
9
19
29
39
49
10
20
30
40
50
Proposition 4: For any positive integer n, there are at least n consecutive
composite positive integers.
Conjecture (Twin Prime Conjecture) 1: There are infinitely many prime
numbers p for which p+2 is also a prime number.
4
Definition 6: Let x ∈ R with x>0. Then ๐œ‹(x) is the function defined by
๐œ‹(x)= |{๐‘:๐‘ ๐‘๐‘Ÿ๐‘–๐‘š๐‘’;1<๐‘≤๐‘ฅ}|.
Note: The vertical bars denote cardinality of the set.
Example 5: a.) ๐œ‹ (20) = 8, since there are 8 prime numbers greater than 1
but less than or equal to 20.
b.) ๐œ‹ (45) = 14, since there are 14 prime numbers greater than
1 but less than or equal to 45.
Theorem (Prime Number Theorem) 3:
๐œ‹(๐‘ฅ)lnโก(๐‘ฅ)
lim
= 1.
๐‘ฅ
๐‘ฅ→∞
The Prime Number Theorem says that, for large x, the quantity
๐œ‹(๐‘ฅ)lnโก(๐‘ฅ)
๐‘ฅ
๐‘ฅ
is
close to or approaching 1. Also, the quantity ln ๐‘ฅ is an estimate for ๐œ‹(๐‘ฅ) for
large x.
๐’™
๐ฅ๐ง ๐’™
๐…(๐’™)
x
103
168
104
1229
105
9592
106
78498
107
664579
108
5761455
๐…(๐’™)๐ฅ๐งโก(๐’™)
๐’™
Conjecture (Goldbach, 1742) 2: Every even integer greater than 2 can be
expressed as the sum of two (not necessarily distinct) prime numbers.
Example 6: a.) 5=2+3
b.) 6=3+3
5
Definition 7: Any prime number expressible in the form 2^ −1 with p prime is
said to be a Mersenne prime.
Example 7: a.) 3 is a Mersenne prime since 2^2 −1=3.
b.) 7 is a Mersenne prime since 2^3 −1=7.
Conjecture 3: There are infinitely many Mersenne primes.
Definition 8: Any prime number expressible in the form 2^(2^๐‘› )+1 with n๐œ–Z
and n≥0 is said to be a Fermat prime.
Example 8: a.) 3 is a Fermat prime since 2^(2^0 )+1=3.
b.) 5 is a Fermat prime since 2^(2^1 )+1=5.
Conjecture 4: There are exactly five Fermat primes.
Conjecture 5: There are infinitely many prime numbers expressible in the form
๐‘›^2+1 where n is a positive integer.
6
Activity No. 2
Prime Numbers and Prime Number Theorem
Objectives:
1. To use the Sieve of Eratosthenes in finding prime numbers;
2. To find twin primes;
3. To find ๐œ‹(x); and
๐œ‹(๐‘ฅ)lnโก(๐‘ฅ)
4. To compute
for a given x.
๐‘ฅ
Direction: Accomplish the following problems. Show all pertinent solutions.
1. Use the Sieve of Eratosthenes to find all prime numbers less
than 200.
2. Find all twin prime numbers less than 250.
3. Find
a. ๐œ‹(25)
b. ๐œ‹(110)
c. ๐œ‹(250)
๐œ‹(๐‘ฅ)lnโก(๐‘ฅ)
4. Compute
for
๐‘ฅ
a. x=25
b. x=110
c. x=250
7
c. The greatest common divisor, Euclid's algorithm, integral linear
combinations
Greatest Common Divisors
Definition 8: Let a,b ๐œ–Z with a and b not both zero. The greatest common
divisor of a and b, denoted (a,b), is the greatest positive integer d such that
d|a and d|b. If (a,b)=1, then a and b are said to be relatively prime.
Example 9: a. The divisors of 24 are …
The divisors of 36 are…
The greatest common divisor of 24 and 36 is 12, which is
denoted by (24,36)=12.
b. Every integer is a divisor of zero. Hence, (12,0)=12.
c. (12,35)=1
Proposition 5: Let a,b ๐œ–Z with (a,b)=d. Then (a/d,b/d)=1.
Proposition 6: Let a,b ๐œ–Z with a and b not both zero. Then
(a,b)=min{ma+nb: n ๐œ–Z, ma+nb>0}
Note: The set-theoretic function min produces the minimum element of a set.
The greatest common divisor of two integers is the least positive number that
is expressible as an integral linear combination of the integers.
Definition 9: Let ๐‘Ž1 , ๐‘Ž2,…, ๐‘Ž๐‘› ๐œ–Z with ๐‘Ž1 , ๐‘Ž2,…, ๐‘Ž๐‘› not all zero. The greatest
common divisor of ๐‘Ž1 , ๐‘Ž2,…, ๐‘Ž๐‘› denoted (๐‘Ž1 , ๐‘Ž2,…, ๐‘Ž๐‘› ) is the greatest integer d
such that d|๐‘Ž๐‘– = 1,2, … , ๐‘›. If (๐‘Ž1 , ๐‘Ž2,…, ๐‘Ž๐‘› ) =1, then ๐‘Ž1 , ๐‘Ž2,…, ๐‘Ž๐‘› are said to be
relatively prime. If (๐‘Ž๐‘– , ๐‘Ž๐‘— ) =1 for all pairs i,j with i≠j, then ๐‘Ž1 , ๐‘Ž2,…, ๐‘Ž๐‘› are said to
be pairwise relatively prime.
Example 10: (12,36,49) =1
* relatively prime but not pairwise relatively prime
Lemma 3: If a,b ๐œ–Z , a≥b>0, and a=bq+r with q,r ๐œ–Z , then (a,b)=(b,r).
8
Theorem (Euclidean Algorithm) 4: Let a,b ๐œ–Z with a≥b>0. By the division
algorithm, there exist ๐‘ž1 , ๐‘Ÿ1 ๐œ–Z such that
a=b๐‘ž1 + ๐‘Ÿ1, 0≤ ๐‘Ÿ1 <b.
If ๐‘Ÿ1 >0, there exist (by the division algorithm) ๐‘ž2 , ๐‘Ÿ2 ๐œ–Z such that
b=๐‘Ÿ1 ๐‘ž2 + ๐‘Ÿ2, 0≤ ๐‘Ÿ2 < ๐‘Ÿ1 .
If ๐‘Ÿ2 >0, there exist (by the division algorithm) ๐‘ž3 , ๐‘Ÿ3 ๐œ–Z such that
๐‘Ÿ1=๐‘Ÿ2 ๐‘ž3 + ๐‘Ÿ3 , 0≤ ๐‘Ÿ3 < ๐‘Ÿ2 .
Continue this process. Then ๐‘Ÿ๐‘› =0 for some n. If n>1, then (a,b)=๐‘Ÿ๐‘›−1. If n=1,
then (a,b)=b.
Example 11: Find (1180,482) by using the Euclidean Algorithm.
Let a=1180 and b=482. Then by the division algorithm, we have,
1180=482(2)+216.
Since ๐‘Ÿ1=216>0, then by the division algorithm, we have,
482=216(2)+ 50.
Since ๐‘Ÿ2 =50>0, then by the division algorithm, we have,
216=50(4)+16.
Since ๐‘Ÿ3 =16>0, then by the division algorithm, we have,
50=16(3)+2.
Since ๐‘Ÿ4 =2>0, then by division algorithm, we have,
16=2(8)+0.
Since ๐‘Ÿ5 =0, then by the Euclidean algorithm, (1180,482)=โก๐‘Ÿ4 =2.
Example 12: Express (1180,482) as an integral linear combination of 1180
and 482.
From the Euclidean algorithm, (written generally in the form a=bq+r)
1180=482(2)+216
482=216(2)+ 50
216=50(4)+16
50=16(3)+2,
we rewrite the expressions in the form r=a-bq. Thus,
216=1180-482(2)
50=482-216(2)
16=216-50(4)
2=50-16(3).
Then using back substitution, we must come up with the integral linear
combination
2=1180(m)+482(n)
d. The least common multiple
Definition 10: Let a,b ๐œ–Z with a,b>0. The least common multiple of a and b,
denoted [a,b], is the least positive integer m such that a|m and b|m.
9
e. The Fundamental Theorem of Arithmetic, Euclid's Lemma, canonical
prime factorization, divisibility, gcd, and lcm in terms of prime
factorizations
Lemma (Euclid) 5: Let a,b,p ๐œ–Z with p prime. If p|ab, then p|a or p|b.
Corollary 1: Let ๐‘Ž1 , ๐‘Ž2,…, ๐‘Ž๐‘› ,p ๐œ–Z with p prime. If p|๐‘Ž1 , ๐‘Ž2,…, ๐‘Ž๐‘› , then p|๐‘Ž๐‘– for
some ๐‘–.
Theorem (Fundamental Theorem of Arithmetic) 5: Every integer greater than
1 can be expressed in the form ๐‘1 ๐‘Ž1 ๐‘2 ๐‘Ž2 …๐‘๐‘› ๐‘Ž๐‘› with ๐‘1, ๐‘2 ,…,๐‘๐‘› distinct prime
numbers and ๐‘Ž1 , ๐‘Ž2 ,…, ๐‘Ž๐‘› positive integers. This form is said to be the prime
factorization of the integer. This prime factorization is unique except for the
arrangement of the ๐‘๐‘– ๐‘Ž๐‘– .
Theorem 6: Let a,b ๐œ–Z with a,b>0. Then (a,b)[a,b]=ab.
Corollary 2: Let a,b ๐œ–Z with a,b>0. Then [a,b]=ab if and only if (a,b)=1.
Example 13. Find the prime factorization of 54.
54=2·27
=2·3·9
=2·3·3·3
=2·33
Example 14. Find the prime factorization of 888.
888=2·444
=2·2·222
=2·2·2·111
=2·2·2·3·37
=23 ·3·37
Example 15. Find [54,888] by using prime factorization.
From the prime factorizations of 54 in example 13 and 888 in example
14 written in canonical form, [54,888]= 23 ·33 ·37=7992.
Example 16. Find (54,888) by using prime factorization.
10
From the prime factorizations of 54 in example 13 and 888 in example
14 written in canonical form, (54,888)= 2·3=6.
f. Primes in arithmetic progressions, Dirichlet's Theorem on primes in
arithmetic progressions
Theorem (Dirichlet’s Theorem on Prime Numbers in Arithmetic Progressions)
7: Let a,b ๐œ–Z with a,b>0 and (a,b)=1. Then the arithmetic progression
a,a+b,a+2b,…,a+nb,…
contains infinitely many prime numbers.
Theorem 7 was named after Peter Gustav Lejeune Dirichlet (18051859). He was born in Germany and a student of Carl Friedrich Gauss and
Gauss’s successor at Gottingen University.
Proposition 7: There are infinitely many prime numbers expressible in the
form 4n+3 where n is a nonnegative integer.
Lemma 6: Let a,b ๐œ–Z. If a and b are expressible in the form 4n+1 where n is
an integer, then ab is also expressible in that form.
11
Activity No. 3
Prime Factorization, GCD and LCM
Objectives: 1. To find gcd using the Euclidean Algorithm and express integers
as an integral linear combination of the given integers; and
2. To find gcd and lcm using prime factorization.
Direction: Accomplish the following and show pertinent solutions.
1. Use the Euclidean Algorithm to find the greatest common
divisors below. Express each greatest common divisor as an integral
linear combination of the original integers.
a. (37,60)
b. (441,1155)
c. (793,3172)
2. Find the lcm and gcd of each pair of integers below using
prime factorization.
a. 100 and 105
b. 3780 and 8820
c. 423453 and 1484945
12
UNIT II
CONGRUENCES AND ITS ASSOCIATED THEOREMS
Congruences satisfy a number of important properties, and are
extremely useful in many areas of number theory. Carl Friedrich Gauss, a
German mathematician, developed the theory of congruences which is
considered as the greatest work ever in the theory of numbers.
Four theorems involving congruences will be presented in this chapter.
These theorems are the Chinese Remainder Theorem, Wilson’s Theorem,
Fermat’s Little Theorem, and Euler’s Theorem, which are extremely useful as
computational and theoretical tools in number theory.
a. Congruence, residue classes, complete residue systems, reduced
residue systems
Definition 1: Let a,b,mโก๐œ– Z with m>0. Then a is said to be congruent to b
modulo m, denoted a≡b mod m, if m|a-b. If a≡b mod m, then m is said to be
the modulus of the congruence. The notation a≡ b mod m means that a is not
congruent to b modulo m; a is said to be incongruent to b modulo m.
Carl Friedrich Gauss was the greatest mathematician of the nineteenth
century and is generally regarded as one of the greatest mathematicians of all
time. He is best known for his Disquisitiones Arithmeticae, which is perhaps
the greatest work ever in the theory of numbers. In it, Gauss develops the
theories of congruences, and quadratic residues.
Example 1. 25≡1 mod 3, since 3|25-1.
Example 2. 18≡-3 mod 7, since 7|18-(-3).
Example 3. -9≡ 2 mod 5, since 5| -9-2.
Proposition 1: Congruence modulo m is an equivalence relation on Z.
Properties:
a. Let a๐œ– Z Since any integer divides 0, then m|0, from which
m|a-a and a≡a mod m. (Reflexive Property)
b. Let a,b๐œ– Z and assume that a≡b mod m. Then m|a-b, and we
have m|(-1)(a-b), or equivalently, m|b-a. (Symmetric Property)
c. Let a,b,c๐œ– Z and assume that a≡b mod m and b≡c mod m.
Then m|a-b and m|a-c. (Transitive Property)
Consequence 1: Z is partitioned into equivalence classes under congruence
modulo m.
13
Example 4. The equivalence classes of Z under congruence modulo 3 are
[0]
={x ๐œ–Z:x≡0 mod 3}
={x ๐œ–Z:3|x-0}
={x ๐œ–Z:3|x}
={x:x=3n for some n ๐œ–Z }
={…,-6,-3,0,3,6,…}
[1]
={x ๐œ–Z:x≡1 mod 3}
={x ๐œ–Z:3|x-1}
={x:x-1=3n for some n ๐œ–Z }
={x:x=3n+1 for some n ๐œ–Z }
={…,-5,-2,1,4,7,…}
[2]
={x ๐œ–Z:x≡2 mod 3}
={x ๐œ–Z:3|x-2}
={x:x-2=3n for some n ๐œ–Z }
={x:x=3n+2 for some n ๐œ–Z }
={…,-4,-1,2,5,8,…}
Consequently, Z is partitioned into the three equivalence classes
={…,-6,-3,0,3,6,…}
={…,-5,-2,1,4,7,…}
={…,-4,-1,2,5,8,…}
under congruence modulo 3.
Definition 2: A set of integers such that every integer is congruent modulo m
to exactly one integer of the set is said to be a complete residue system
modulo m.
Example 5: {0,1,2} is a complete residue system modulo 3.
Proposition 2: The set {0,1,2,3,…,m-1} is a complete residue system modulo
m.
Definition 3: The set {0,1,2,3,…,m-1} is said to be the set of least nonnegative
residues modulo m.
Proposition 3: Let a,b,c,d ๐œ–Z such that a≡b mod m and c≡d mod m.
i. (a+c)=(b+d) mod m
ii. ac=bd mod m
14
Example 6: Addition and multiplication tables for the equivalence classes
under congruence modulo 3 on Z (may be written as ๐‘3 ) are as follows:
+
[0] [1] [2]
[0] [0] [1] [2]
[1] [1] [2] [0]
[2] [2] [0] [1]
·
[0]
[1]
[2]
[0]
[0]
[0]
[0]
[1]
[0]
[1]
[2]
[2]
[0]
[2]
[1]
Proposition 4: Let a,b,c,d ๐œ–Z. Then ca≡cb mod m if and only if ๐‘Ž ≡b mod
(m/(c,m))
15
Activity No. 4
Congruences and Residue Systems
Objectives:
1. To prove or disprove statements involving congruences;
2. To find a complete residue system for a given modulo m; and
3. To construct addition and multiplication tables for equivalence
classes under congruence modulo m.
Direction: Accomplish the given problems and show pertinent solutions.
1. Prove or disprove each given statement.
a. 8≡5 mod 3
b. 10≡15 mod 4
c. -6≡ 4 mod 5
d. 0≡ -7 mod 7
e. -30≡19 mod 7
2. Find a complete residue system modulo 8 consisting entirely of
a. odd integers.
b. even integers.
3. Construct the addition and multiplication tables of the equivalence
classes under congruence modulo 8.
16
b. Linear congruences in one variable, Euclid's algorithm
Definition 4: Let a,b ๐œ–Z. A congruence of the form ๐‘Ž๐‘ฅ ≡b mod m is said to be a
linear congruence in one variable (x).
Example 7. The congruence 2๐‘ฅ ≡4 mod 3 is a linear congruence in one
variable x. Modulo 3 means that there are only three values that x can have,
namely, 0,1, and 2. Substituting these x values in the given linear congruence
2๐‘ฅ ≡4 mod 3, shows that only x=2 results in a true congruence; hence the
solution set for this congruence is 2 as well as any integer congruent to 2
modulo 3, i.e. {…,-7,-4,-1,2,5,8,11,…}.
Theorem 1: Let ๐‘Ž๐‘ฅ ≡b mod m be a linear congruence in one variable and let
d=(a,m). If d| b, then the congruence has no solutions in Z. If d|b, then the
congruence has exactly d incongruent solutions modulo m in Z.
Porism 1: Let ๐‘Ž๐‘ฅ ≡b mod m be a linear congruence in one variable and let
d=(a,m). If d|b, the d incongruent solutions modulo m of the congruence are
given by
๐‘š
๐‘ฅ0 +( ๐‘‘ )n,
n=0,1,2,…,d-1
where ๐‘ฅ0 is any particular solution of the congruence.
Example 8. Suppose we want to find all incongruent solutions of 16x≡8 mod
28. By Euclidean algorithm, we have
28=16(1)+12
16=12(1)+4
12=4(3)+0.
Thus, d=(a,m)=(16,28)=4. Since d|b, i.e. 4|8, then the congruence has four
incongruent solutions modulo 28. To find these four incongruent solutions, we
must first find ๐‘ฅ0 . Expressing (16,28) as a linear combination of 16 and 28, we
have
4=16(2)+28(-1).
The solvability of the linear congruence 16x≡ 8mod 28 for x is equivalent to
the solvability of the equation 16x-28y=8 for x and y.
Multiplying both sides of 4=16(2)+28(-1) by 2 we obtain
8=16(4)+28(-2).
Rewriting it in the form similar to 16x-28y=8 we have
16(4)-28(2)=8.
17
Hence, ๐‘ฅ0 =4 and ๐‘ฆ0 =2. Now, by Porism 1, all incongruent solutions of 16x≡8
mod 28 are given by
28
4+( 4 )n,
n=0,1,2,3
i.e. 4,11,18, and 25.
Definition 5: Any solution of the linear congruence in one variable ๐‘Ž๐‘ฅ ≡1 mod
m is said to be a multiplicative inverse of a modulo m.
Corollary 1: The linear congruence in one variable ๐‘Ž๐‘ฅ ≡1 mod m has a
solution if and only if (a.m)=1. If (a,m)=1, then ๐‘Ž๐‘ฅ ≡1 mod m has exactly one
incongruent modulo m.
Example 9. The inverse of 3 mod 11 is 4 since (4*3) mod 11=1.
c. System of linear congruences, Chinese Remainder Theorem
Theorem (Chinese Remainder Theorem) 2: Let ๐‘š1 ,โก๐‘š2 ,…,โก๐‘š๐‘› be pairwise
relatively prime positive integers and let ๐‘1 ,โก๐‘2 ,…,โก๐‘๐‘› be any integers. Then the
system of linear conguences in one variable given by
x≡ ๐‘1 mod ๐‘š1
x≡ ๐‘2 mod ๐‘š2
.
.
.
x≡ ๐‘๐‘› mod ๐‘š๐‘›
has a unique solution modulo ๐‘š1 ๐‘š2 ···๐‘š๐‘› .
Example 9. Solve the system
x≡1 mod 3
x≡1 mod 4
x≡1 mod 5
x≡0 mod 7.
Solving for M, we have
M= 3*4*5*7=420
M1=4*5*7=140
M2=3*5*7=105
M3=3*4*7=84
M4=3*4*5=60.
18
Writing the preceding results in the form ax ≡ 1โกmod m,
140≡1 mod 3
105≡1 mod 4
84≡1 mod 5
60≡1 mod 7.
Determining the residues, we obtain
2๐‘ฅ1 ≡1 mod 3
๐‘ฅ2 ≡1 mod 4
4๐‘ฅ3 ≡1 mod 5
2๐‘ฅ4 ≡1 mod 7.
Hence,
x=(1*140*2)+(1*105*1)(1*84*4)+(0*60*2)
=721
x≡301 mod 420.
d. Wilson's Theorem
Lemma 1: Let p be a prime number and let a๐œ–Z. Then a has its own inverse
modulo p if and only if a≡ ±1 mod p.
Theorem (Wilson’s Theorem) 3: Let p be a prime number. Then
(p-1)!โก≡-1 mod p.
The theorem was named after John Wilson, but he could not provide a proof.
It was first proved by Joseph Louis Lagrange in 1771. Lagrange is an Italian
mathematician and regarded as one of the greatest mathematicians in the
eighteenth century.
Proposition 5: Let n๐œ–Z with n>1. If (n-1)! ≡-1 mod n, then n is a prime
number.
e. Fermat's Theorem, pseudoprimes and Carmichael numbers
Theorem (Fermat’s Little Theorem) 4: Let p be a prime number and let
a๐œ–Z. If p| a, then
๐‘Ž๐‘−1 ≡1 mod p.
19
Fermat’s Little Theorem is named for Pierre de Fermat (1601-1665).
He is a French mathematician and was the founding father of the modern
theory of numbers.
Corollary 2: Let p be a prime number and let a๐œ–Z. If p| a, then ๐‘Ž๐‘−2 is the
inverse of a modulo p.
Corollary 3: Let p be a prime number and let a๐œ–Z. Then ๐‘Ž๐‘ ≡a mod p.
Corollary 4: Let p be a prime number. Then 2๐‘ ≡2 mod p.
Definition 6: Let n be a composite integer. If 2๐‘› ≡2 mod n, then n is said to be
pseudoprime.
Example 10. 341 is a pseudoprime since by Fermat’s Little Theorem
210 = 1024 ≡ 1 mod 341.
Hence 2 340 ≡ 1 mod 341.
f. Euler's Theorem
Definition 7: Let n๐œ– Z with n>0. The Euler phi-function, denoted ๐œ‘(n), is the
function defined by
๐œ‘(n)=|{x๐œ– Z:1≤x≤n;(x,n)=1}|.
Example 11. ๐œ‘(10)=4 since there are four positive integers less than or equal
to 10 that are relatively prime to 10, namely, 1,3,7,and 9.
Theorem (Euler’s Theorem) 5: Let a,m๐œ– Z with m>0. If (a,m)=1, then
๐‘Ž๐œ‘(๐‘š) ≡ 1 mod m.
The Fermat’s Little Theorem was generalized by Leonhard Euler in
1760. Euler (1707-1783) was a Swiss mathematician who has the honor of
being the most prolific mathematician in history.
Definition 8: Let m be a positive integer. A set ๐œ‘(m) integers such that each
element of the set is relatively prime to m and no two elements of the set are
congruent modulo m is said to be a reduced residue system modulo m.
Example 12. The reduced residue system modulo 10 is given by the set
{1,3,7,9}.
20
Porism 2: Let m be a positive integer and let {r1,r2,…,rโก๐œ‘(m)} be a reduced
residue system modulo m. If a is an integer with (a,m)=1, then the set {r1a
,r2a,…,rโก๐œ‘(m)a} is a reduced residue system modulo m.
Corollary 5: Let a,m x๐œ– Z with m>0. If (a,m)=1, then ๐‘Ž๐œ‘(๐‘š)−1 is the inverse of a
modulo m.
21
Activity No. 5
Congruence Theorems
Objectives:
1. To solve system of linear congruences using the Chinese
Remainder Theorem;
2. To use Wilson’s Theorem in finding the least nonnegative
residue modulo m;
3. To prove statement using Fermat’s Little Theorem; and
4. To find the Euler phi-function of an integer; and
5. To find a reduced residue system modulo of an integer.
Direction: Accomplish the given problems and show pertinent solutions.
1. Solve the given system of congruences.
a.
x≡2 mod 6
x≡1 mod 7
x≡5 mod 8
b.
2x≡1 mod 3
3x≡2 mod 5
5x≡4 mod 7
2. Using Wilson’s Theorem, find the least nonnegative residue modulo m of
each integer n below.
a. n=30! ; m=31
b. n=88! , m=89
3. Prove that 910 ≡1 mod 11 using Fermat’s Little Theorem.
4. Find ๐œ‘(n) for all integral n between 1 and 25.
5. Find a reduced residue system modulo of
a. 15
b. 18
22
UNIT III
ARITHMETIC FUNCTIONS
Function is one of the extremely used concepts in mathematics and that
it plays a significant role in number theory. In Unit III we have already
encountered one example of such function, namely, the Euler phi-function. In
this chapter, we investigate the Euler phi-function and other related functions
more thoroughly.
a. Arithmetic functions, Multiplicativity
Definition 1: An arithmetic function is a function whose domain is the set of
positive integers.
Example 1. a.) The Euler phi-function ๐œ‘(10) is an arithmetic function.
b.) The number of positive divisors of an integer n is an
arithmetic function.
Definition 2: An arithmetic function f is said to be multiplicative if f(mn)=f(m)f(n)
whenever m and n are relatively prime positive integers. An arithmetic
function f is said to be completely multiplicative if f(mn)=f(m)f(n) for all positive
integers m and n.
Theorem 1: Let f be an arithmetic function and, for n๐œ–Z with n>0, let
F(n)=∑๐‘‘|๐‘›,๐‘‘>0 ๐‘“(๐‘‘).
If f is multiplicative, then F is multiplicative.
b. The Euler phi function
Theorem 2: The Euler phi-function ๐œ‘(n) is multiplicative.
Theorem 3: Let p be a prime number and let a๐œ–Z with a>0. Then
๐œ‘(๐‘๐‘Ž ) = ๐‘๐‘Ž -๐‘๐‘Ž−1 .
Theorem 4: Let n๐œ–Z with n>0. Then
1
๐œ‘(n) = n ∏๐‘|๐‘›,๐‘โก๐‘๐‘Ÿ๐‘–๐‘š๐‘’ (1 − ๐‘)
where ∏๐‘|๐‘›,๐‘โก๐‘๐‘Ÿ๐‘–๐‘š๐‘’
For instance,
means “the product over all distinct prime divisors p of n”.
1
1
1
∏๐‘|10,๐‘โก๐‘๐‘Ÿ๐‘–๐‘š๐‘’ (1 − )= (1 − ) (1 − ).
๐‘
2
5
Example 2. Determine ๐œ‘(888) using Theorem 4.
23
Since 888=23 ·3·37, then the distinct prime divisors of 888 are 2,3, and
37. Hence,
1
1
1
๐œ‘(888)= 888(1 − 2) (1 − 3) (1 − 37)=288.
This means that there are exactly 288 positive integers not exceeding 888
that are relatively prime to 888.
Theorem (Gauss) 5: Let n๐œ–Z with n>0. Then
∑๐‘‘|๐‘›,๐‘‘>0 ๐œ‘(๐‘‘)= n.
Example 3. Show that ∑๐‘‘|10,๐‘‘>0 ๐œ‘(๐‘‘)= 10.
We have
10=∑๐‘‘|10,๐‘‘>0 ๐œ‘(๐‘‘)
10=โก๐œ‘(10) + ๐œ‘(5) + ๐œ‘(2) + ๐œ‘(1)
=4+4+1+1
= 10
as desired.
24
Activity No. 6
Arithmetic Function and Euler phi- Function
Objectives:
1. To show that two integers are multiplicative; and
2. To find ๐œ‘(n) using Theorem 4.
Direction: Accomplish the following problems. Show all pertinent solutions.
1. Show that F(mn)=F(m)F(n) if m=3 and n=4.
2. Using Theorem 4, find ๐œ‘(n) for each given value.
a. 605
b. 1592
c. 4851
3. Prove that if n is a positive integer, then
๐œ‘(2n)=
๐œ‘(n),
if n is odd
2๐œ‘(n),
if n is even.
25
c. The number-of-divisors function and sum-of-divisors function
Definition 3: Let n๐œ–Z with n>0. The number of positive divisors function,
denoted v(n), is the function defined by
v(n)= |{d๐œ–Z:d>0;d|n}|.
Theorem 6: The number of positive divisors function v(n) is multiplicative.
Theorem 7: Let p be a prime number and let a๐œ–Z with a≥0. Then
v(๐‘๐‘Ž )= a + 1.
๐‘Ž
๐‘Ž
๐‘Ž
Theorem 8: Let n=๐‘1 1 ๐‘2 2 ···๐‘๐‘Ÿ ๐‘Ÿ with ๐‘1,โก๐‘2 ,…,โก๐‘๐‘Ÿ distinct prime numbers and
๐‘Ž1 ,โก๐‘Ž2 ,…,โก๐‘Ž๐‘Ÿ nonnegative integers. Then
v(n)=∏๐‘Ÿ๐‘–=1(๐‘Ž๐‘– + 1).
Example 4. Compute v(888) using Theorem 8.
We know that 888=23·3·37. The exponents of the prime factors of 888 are 3,1,
and 1. Hence,
v(888)= (3+1)(1+1)(1+1)=16.
This means that there are exactly 16 positive divisors of 888.
Definition 4: Let n๐œ–Z with n>0. The sum of positive divisors function, denoted
๐œŽ(n), is the function defined by
๐œŽ(n)= ∑๐‘‘|๐‘›,๐‘‘>0 ๐‘‘
Theorem 9: The sum of the positive divisors function ๐œŽ(n) is multiplicative.
Theorem 10: Let p be a prime number and let a๐œ–Z with a≥0. Then
๐‘๐‘Ž+1 −1
๐œŽ(๐‘๐‘Ž )=
๐‘Ž
๐‘Ž
๐‘−1
๐‘Ž
Theorem 11: Let n=๐‘1 1 ๐‘2 2 ···๐‘๐‘Ÿ ๐‘Ÿ with ๐‘1,โก๐‘2 ,…,โก๐‘๐‘Ÿ distinct prime numbers and
๐‘Ž1 ,โก๐‘Ž2 ,…,โก๐‘Ž๐‘Ÿ nonnegative integers. Then
๐‘Ž +1
๐œŽ(n)=∏๐‘Ÿ๐‘–=1
๐‘๐‘– ๐‘–
−1
๐‘๐‘– −1
Example 5. Compute ๐œŽ(888) using Theorem 11.
Since 888=23·3·37, then
24 −1
32 −1
372 −1
๐œŽ(888)= ( 2−1 ) ( 3−1 ) ( 37−1 )=2280
which is the sum of the positive divisors of 888.
26
d. Perfect numbers
Definition 5: Let n๐œ–Z with n>0. Then n is said to be a perfect number if
๐œŽ(n)=2n. Consequently, n is said to be a perfect number if ๐œŽ(n)-n=n.
Example 6. Since ๐œŽ(6)=12=2(6), then 6 is a perfect number. Equivalently, the
sum of all positive divisors of 6 other than 6, i.e. 1+2+3=6, is equal to 6. Note
that 6 is the first perfect number.
Theorem 12: Let n๐œ–Z with n>0. Then n is an even perfect number if and only if
n=2๐‘−1 (2๐‘ − 1)
where 2๐‘−1 is a prime number (Mersenne prime).
Conjecture 1: There are infinitely many perfect numbers.
Conjecture 2: Every perfect number is even.
27
Activity No. 7
Number of divisors and sum of divisors functions and Perfect Numbers
Objectives:
1. To determine the number of divisors and sum of divisors of a
given number; and
2. To find perfect numbers.
Direction: Accomplish the given problems below. Show all pertinent solutions.
1. Compute v(n) for each value of n.
a. 605
b. 1592
c. 4851
2. Determine ๐œŽ(n) for each value of n.
a. 605
b. 1592
c. 4851
3. Find the next four perfect numbers after 28.
28
UNIT IV
QUADRATIC RESIDUES
Linear congruences in one variable was seen in Unit II. This chapter is
focused on the solvability of quadratic congruences in one variable. It will be
devoted on the special form of quadratic congruences and the Legendre
symbol which will culminated to the quadratic reciprocity law.
a. Quadratic residues and nonresidues
Definition 1: Let a,m๐œ–Z with m>0 and (a,m)=1. Then a is said to be be a
quadratic residue modulo m if the quadratic congruence x2≡a mod m is
solvable in Z; otherwise, a is said to be a quadratic nonresidue modulo m.
Example 1. 1 is a quadratic residue modulo 11 since 12≡1 mod 11.
Proposition 1: Let p be an odd prime number and let aโก๐œ–Z with p| a. Then the
quadratic congruence x2≡a mod p has either no solutions or exactly two
incongruent solutions modulo p.
Porism 1: Let p be an odd prime number and let aโก๐œ–Z with p| a. If the
congruence x2≡a mod p is solvable, say with x=x0, then the two incongruent
solutions modulo p of this congruence are given precisely by x0 and p-x0.
Proposition 3: Let p be an odd prime number. Then there are exactly
incongruent quadratic residues modulo p and exactly
nonresidues modulo p.
๐‘−1
2
๐‘−1
2
incongruent
b. The Legendre symbol, Euler's Criterion, Gauss' Lemma
Definition 2: Let p be an odd prime number and let aโก๐œ–Z with p| a. The
๐‘Ž
Legendre symbol, denoted by (๐‘), is
๐‘Ž
(๐‘)=
1, if a is a quadratic residue modulo p
-1, if a is a quadratic nonresidue modulo p.
The Legendre symbol was named after Adrien- Marie Legendre (17521833), a French mathematician. Legendre is known principally for a work
entitled Elements de geometrie, a simplification and rearrangement of Euclid’s
Elements.
1
Example 2. a. (11)=1
29
2
b. (11)=-1
Theorem 1 (Euler’s Criterion): Let p be an odd prime number and let aโก๐œ–Z with
p| a. Then
๐‘Ž
(๐‘)= ๐‘Ž
๐‘−1
2
mod p
3
Example 3. (7) ≡27 mod 7≡-1 mod 7
Theorem 2: Let p be an odd prime number. Then
๐‘−1
2
−1
( ๐‘ )= −1
=
1, if p≡1 mod 4
-1, if p≡3 mod 4
Lemma (Gauss’s Lemma) 1: Let p be an odd prime number and let aโก๐œ–Z with
p| a. Let n be the number of least positive residues of the integers
๐‘−1
๐‘
a,2a,3a,…,โก 2 (a) that are greater than 2. Then
๐‘Ž
(๐‘)= (−1)๐‘›
c. The law of quadratic reciprocity
Theorem (Law of Quadratic Reciprocity) 3: Let p and q be distinct odd prime
numbers. Then
๐‘
๐‘ž
(๐‘ž ) (๐‘) =−1(
=
๐‘−1 ๐‘ž−1
)(
)
2
2
1, if p≡1 mod 4 or q≡1 mod 4 (or both)
-1, if ๐‘ ≡ ๐‘ž ≡3 mod 4
The simplification of the law of quadratic reciprocity was introduced by Emil
Artin. He was born in Austria and was one of the leading mathematicians of
the twentieth century.
7
53
4
Example 4. (53)= ( 7 )= (7)=1
30
References
Strayer, James K. Elementary Number Theory, Lock Haven University:
Waveland Press, Inc., 1994, 2002
https://www.onlinemathlearning.com/divisibility-rules-6.html. Divisibility Rules
for 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
https://en.wikipedia.org/wiki/Number_theory.Number Theory
https://www.math.uh.edu/~minru/number/hj01cs01.pdf. Summary: Divisibility
and Factorization
http://mathworld.wolfram.com/Congruence.html. Congruence
https://www.youtube.com/watch?v=hB34-GSDT3k. The Extended Euclidean
algorithm
http://gauss.math.luc.edu/greicius/Math201/Fall2012/Lectures/ChineseRemai
nderThm.article.pdf. The Chinese Remainder Theorem
https://www.youtube.com/watch?v=2-tdwLqyaKo. Using the Chinese
Remainder Theorem on a system of congruences
31
32
33
34
35
36
37
Download