14
Prep Math Competition, Lec. 1 Peter Burkhardt 1 Number Theory Lecture 1 Divisibility and Modular Arithmetic (Congruences)

Number Theory

Embed Size (px)

DESCRIPTION

Number Theory. Lecture 1 Divisibility and Modular Arithmetic (Congruences). Basic Definitions and Notations (1). N = {1,2,3,…} denotes the set of natural numbers Z = {…,-3,-2,-1,0,1,2,3,…} denotes the set of integers. Basic Definitions and Notations (2). Divisibility (1) - PowerPoint PPT Presentation

Citation preview

Page 1: Number Theory

Prep Math Competition, Lec. 1

Peter Burkhardt 1

Number Theory

Lecture 1

Divisibility and Modular Arithmetic (Congruences)

Page 2: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 2

Basic Definitions and Notations (1)

N = {1,2,3,…}

denotes the set of natural numbers

Z = {…,-3,-2,-1,0,1,2,3,…} denotes the set of integers

Page 3: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 3

Basic Definitions and Notations (2)

Divisibility (1)Let a, b Z, a not equal to zero.We say a divides b if there existsan integer k such that

akb akb

akb

Page 4: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 4

Basic Definitions and Notations (3)

Divisibility (2)In this case we write

a|bSometimes we say that: b is divisible by a, or a is a factor of b, or b is a multiple of a

akb akb

Page 5: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 5

Basic Definitions and Notations (4)

Prime and Composite NumbersA natural number p > 1 is called a prime number, or, simply, prime, if it is divisible only by itself and by 1.

P = {2,3,5,7,…} denotes the set of prime numbers.Otherwise the number is called composite.

akb

Page 6: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 6

Properties of Divisibility

a|b ”a|bc for each integer c a|b and b|c ”a|c a|b and a|c ”a|(bx + cy) for any x, y Z a|b and a, b not equal to zero ”|a| |b|

Page 7: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 7

Division with Remainder

Let m ,a Z, m > 1.

Then, there exist uniquely determined

numbers q and r such that

a = qm + r

with

0 r < m

Obviously, m|a if and only if r = 0.

Page 8: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 8

Congruences

Let a, b Z, m N. We say

a is congruent to b modulo m

if

m|(a-b)

and we write

)( shorter, or, )(mod mbamba

Page 9: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 9

Congruence and Division with Remainder

)(mod mba

)(mod mba

Dividing a and b by m yields the same remainder.

Page 10: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 10

Basic Properties of Congruences

)(mod)(mod),(mod :tyTransitivi

)(mod)(mod :Symmetry

)(mod :yReflexivit

: ,,,

mcamcbmba

mabmba

maa

NmZcba

That is, congruence is an equivalence relation.

Page 11: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 11

Modular Arithmetic

Nkmba

mdbca

mdbca

mdcmba

NmZdcba

kk

)(mod :RulePower

)(mod :RuleProduct

)(mod :RuleAddition

then),(mod),(mod If

: ,,,,

0for )(mod :RuleFactor

)(mod :RulePower

)(mod :RuleProduct

)(mod :RuleAddition

then),(mod),(mod If

: ,,,,

ccmcbca

Nkmba

mdbca

mdbca

mdcmba

NmZdcba

kk

”Demonstration

Page 12: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 12

Little Fermat’s Theorem

)(mod

)(mod11

paa

pap

p

)(mod11 pa p

Let a Z, and p prime. If p does not divide a, then

For all a Z we have

)(mod paa p

Page 13: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 13

Have you understood?

How can you write the following statements

using congruences? (a, b, r Z, mN)

1. m|a

2. r is the remainder of a divided by m

Using congruences, give a sufficient condition

for

m|a if and only if m|b

Page 14: Number Theory

Prep Math Competition, Lec. 1 Peter Burkhardt 14

Practice (Handouts)