Discrete Mathematics, Chapter 4: Number Theory and ...
Discrete Mathematics, Chapter 4: Number Theory and Cryptography
Richard Mayr
University of Edinburgh, UK
Richard Mayr (University of Edinburgh, UK)
Discrete Mathematics. Chapter 4
1 / 35
Outline
1 Divisibility and Modular Arithmetic 2 Primes and Greatest Common Divisors 3 Solving Congruences 4 Cryptography
Richard Mayr (University of Edinburgh, UK)
Discrete Mathematics. Chapter 4
2 / 35
Division
Definition
If a and b are integers with a = 0, then a divides b if there exists an integer c such that b = ac.
When a divides b we write a|b. We say that a is a factor or divisor of b and b is a multiple of a. If a|b then b/a is an integer (namely the c above). If a does not divide b, we write a |b.
Theorem
Let a, b, c be integers, where a = 0. 1 If a|b and a|c, then a|(b + c). 2 If a|b, then a|bc for all integers c. 3 If a|b and b|c, then a|c.
Richard Mayr (University of Edinburgh, UK)
Discrete Mathematics. Chapter 4
3 / 35
Division Algorithm
When an integer is divided by a positive integer, there is a quotient and a remainder. This is traditionally called the "Division Algorithm", but it is really a theorem.
Theorem
If a is an integer and d a positive integer, then there are unique integers q and r , with 0 r < d, such that a = dq + r
a is called the dividend. d is called the divisor. q is called the quotient. q = a div d r is called the remainder. r = a mod d
Richard Mayr (University of Edinburgh, UK)
Discrete Mathematics. Chapter 4
4 / 35
Congruence Relation
Definition
If a and b are integers and m is a positive integer, then a is congruent to b modulo m iff m|(a - b).
The notation a b( mod m) says that a is congruent to b modulo m. We say that a b( mod m) is a congruence and that m is its modulus. Two integers are congruent mod m if and only if they have the same remainder when divided by m. If a is not congruent to b modulo m, we write a b( mod m).
Richard Mayr (University of Edinburgh, UK)
Discrete Mathematics. Chapter 4
5 / 35
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- math skills temperature conversions questions with answers
- writing and comparing fractions k5 learning
- chapter 10 amplifiers frequency response
- fx 82au plus ii support home casio
- simplify the fraction to lowest terms calculator
- changing the subject of a formula with fractions calculator
- discrete mathematics chapter 4 number theory and
- simplifying rational expressions
- needs assessment edge
- journal of policy modeling
Related searches
- discrete mathematics symbols meaning
- discrete mathematics symbols
- california mathematics grade 4 pdf
- chapter 4 questions and answers
- the outsiders chapter 4 questions and answers
- discrete mathematics answer key
- discrete mathematics sets calculator
- discrete mathematics relation
- discrete mathematics venn diagram calculator
- chapter 4 page 31 scatter plots and lines of fit
- chapter 4 earth science geology the environment and the universe
- chapter 4 lesson 4 rivalry in north america