Number Theory
Number Theory
Number Theory
Fall 2002 1
Introduction to Number Theory
• if a | b and a | c, then a | (b + c)
Example: 3 | 6 and 3 | 9, so 3 | 15.
• if a | b and b | c, then a | c
Example: 4 | 8 and 8 | 24, so 4 | 24.
Fall 2002 4
Primes
A positive integer p greater than 1 is called
prime if the only positive factors of p are 1 and
p.
Fall 2002 7
The Division Algorithm
Let a be an integer and d a positive integer.
Then there are unique integers q and r, with
0 r < d, such that a = dq + r.
Fall 2002 8
The Division Algorithm
Example:
17 = 53 + 2.
• 17 is the dividend,
• 5 is the divisor,
• 3 is called the quotient, and
• 2 is called the remainder.
Fall 2002 9
The Division Algorithm
Another example:
What happens when we divide -11 by 3 ?
Note that the remainder cannot be negative.
-11 = 3(-4) + 1.
Fall 2002 10