Professional Documents
Culture Documents
Chapter 1 Number Theory - Kalam
Chapter 1 Number Theory - Kalam
(BUM1233)
Example:
15 13
5 or 4.3333
3 3
Integer Not an integer
Division in the integers
Remark:
We can express a | b using quantifiers such as c, ac b
Example
Integers that have exactly two different positive integer factors are
called primes.
DEFINITION:
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43,
47, 53, 59, 61, 67, 71, 73, 79, 83, 89, and 97.
Prime Factorization
• Theorem 2:
•If n is a composite integer then n has a prime divisor less than or equal to
. n
• Theorem 3:
•There are infinitely many primes.
Prime Factorization
2 2
100 2 2 5 5 2 5
641 641
999 3 3 3 37 33 37
1024 2 2 2 2 2 2 2 2 2 2 210
2
7007 7 7 11 13 7 11 13
Exercises 1.2
a) 119 c) 101
b) 277 d) 1113
a) 39 d) 238
b) 113 e) 96
c) 5954 f) 101
1.3 The Division Algorithm
a) 44 is divided by 8?
b) 777 is divided by 21?
c) -2002 is divided by 87?
1.4 Greatest Common Divisor
(GCD)
TIPS
The largest integer that divides both of two integers is
called GREATEST COMMON DIVISOR of these integers
Greatest Common Divisor (GCD)
List down
Example
Solution
Hence, GCD(105,30) = 15
Example
Solution
3. Find GCD(45,33).
Example:
What is the greatest common divisor of 19 and 22?
Solution:
Divisors of 19 : 1, 19 Relatively
Divisors of 22 : 1, 2, 11, 22 Prime
Example:
Determine whether the integers 10, 17, and 21 are pairwise relatively
prime and whether the integers 10, 19, and 24 are pairwise relatively
prime.
Solution:
• Since GCD(10, 17) = 1, GCD(10, 21) = 1, and GCD (17, 21) = 1, we
conclude that 10, 17, and 21 are pairwise relatively prime.
Since GCD(10, 24) = 2 > 1, we see that 10, 19, and 24 are not pairwise
relatively prime.
Exercises 1.4
a) 11, 15, 19
b) 14, 15, 21
c) 12, 17, 31, 37
d) 7, 8, 9, 11
Finding the GCD by Prime Factorization
TIPS
min (a, b) represents the minimum of the two integers a and b
Example
Solution
• The prime factorization of 120 is 120 23 3 5
• Hence,
b) 11 13 17
and 29 37 55 73