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

Slides:



Advertisements
Similar presentations
Mod arithmetic.
Advertisements

1 Lect. 12: Number Theory. Contents Prime and Relative Prime Numbers Modular Arithmetic Fermat’s and Euler’s Theorem Extended Euclid’s Algorithm.
1 In this lecture  Number Theory ● Rational numbers ● Divisibility  Proofs ● Direct proofs (cont.) ● Common mistakes in proofs ● Disproof by counterexample.
Cryptography and Network Security
Chapter 3 Elementary Number Theory and Methods of Proof.
The Integers and Division. Outline Division: Factors, multiples Exercise 2.3 Primes: The Fundamental Theorem of Arithmetic. The Division Algorithm Greatest.
1 Section 2.4 The Integers and Division. 2 Number Theory Branch of mathematics that includes (among other things): –divisibility –greatest common divisor.
February 19, 2015Applied Discrete Mathematics Week 4: Number Theory 1 The Growth of Functions Question: If f(x) is O(x 2 ), is it also O(x 3 )? Yes. x.
CSE115/ENGR160 Discrete Mathematics 03/13/12 Ming-Hsuan Yang UC Merced 1.
Number Theory and Cryptography
Congruence class arithmetic. Definitions: a ≡ b mod m iff a mod m = b mod m. a  [b] iff a ≡ b mod m.
CSE115/ENGR160 Discrete Mathematics 03/15/11
Chapter II. THE INTEGERS
Congruence of Integers
Lecture 3.2: Public Key Cryptography II CS 436/636/736 Spring 2012 Nitesh Saxena.
The essential quality of a proof is to compel belief.
Fall 2002CMSC Discrete Structures1 Let us get into… Number Theory.
Peter Lam Discrete Math CS.  Sometimes Referred to Clock Arithmetic  Remainder is Used as Part of Value ◦ i.e Clocks  24 Hours in a Day However, Time.
BY MISS FARAH ADIBAH ADNAN IMK
The Integers and Division
Divisibility October 8, Divisibility If a and b are integers and a  0, then the statement that a divides b means that there is an integer c such.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 3 (Part 2): The Fundamentals: Algorithms, the.
1 Properties of Integers Objectives At the end of this unit, students should be able to: State the division algorithm Apply the division algorithm Find.
9/2/2015Discrete Structures1 Let us get into… Number Theory.
Mathematics of Cryptography Part I: Modular Arithmetic
February 24, 2015Applied Discrete Mathematics Week 4: Number Theory 1 Modular Arithmetic Let a be an integer and m be a positive integer. We denote by.
Copyright © Curt Hill Divisibility and Modular Arithmetic A Topic in Number Theory.
Chapter The Integers and Division Division
Number Theory 이재원 School of Information Technology Sungshin W. University.
Chapter 2 (Part 1): The Fundamentals: Algorithms, the Integers & Matrices The Integers and Division (Section 2.4)
Elements of Coding and Encryption 1. Encryption In the modern word, it is crucial that the information is transmitted safely. For example, Internet purchases,
Foundations of Discrete Mathematics Chapter 4 By Dr. Dalia M. Gil, Ph.D.
Chinese Remainder Theorem. How many people What is x? Divided into 4s: remainder 3 x ≡ 3 (mod 4) Divided into 5s: remainder 4 x ≡ 4 (mod 5) Chinese Remainder.
Ref: Pfleeger96, Ch.31 Properties of Arithmetic Reference: Pfleeger, Charles P., Security in Computing, 2nd Edition, Prentice Hall, 1996.
Objective: To prove and apply theorems about angles Proving Angles Congruent (2-6)
Foundations of Computing I CSE 311 Fall Review: Division Theorem Let a be an integer and d a positive integer. Then there are unique integers q.
Introduction to Number Theory
CSE 311: Foundations of Computing Fall 2013 Lecture 11: Modular arithmetic and applications.
Math 51/COEN 19. Number theory vocab Let a, b Z, a ≠ 0. We say that a divides b and write a|b if m Z such that b = ma (ie b is a multiple of a)
Sets and Basic Operations on Sets Notation A set will usually be denoted by a capital letter, such as, A,B,X, Y,..., whereas lower-case letters, a, b,
Cryptography Lecture 14 Arpita Patra © Arpita Patra.
Divisibility and Modular Arithmetic
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 2 The Fundamentals: Algorithms,
Ch04-Number Theory and Cryptography 1. Introduction to Number Theory Number theory is about integers and their properties. We will start with the basic.
Chapter 4 With Question/Answer Animations 1. Chapter Motivation Number theory is the part of mathematics devoted to the study of the integers and their.
Number Theory Lecture 1 Text book: Discrete Mathematics and its Applications, 7 th Edition.
Dr Nazir A. Zafar Advanced Algorithms Analysis and Design Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar.
Number Theory. Introduction to Number Theory Number theory is about integers and their properties. We will start with the basic principles of divisibility,
Number-Theoretic Algorithms
CSE15 Discrete Mathematics 03/15/17
Topic 12: Number Theory Basics (2)
Introduction to Cryptography
Integers and Division Section 3.4.
CMSC Discrete Structures
2.5 Reasoning with properties from Algebra
MATH301- DISCRETE MATHEMATICS Copyright © Nahid Sultana Dr. Nahid Sultana Chapter 4: Number Theory and Cryptography.
Applied Discrete Mathematics Week 3: Algorithms
Applied Discrete Mathematics Week 4: Number Theory
Review Basic Math Divisibility tests Prime and Composite Numbers
Direct Proof and Counterexample III
刘振 上海交通大学 计算机科学与工程系 电信群楼3-509
Modular Arithmetic and Change of Base
CMSC 203, Section 0401 Discrete Structures Fall 2004 Matt Gaston
Copyright © Zeph Grunschlag,
Applied Discrete Mathematics Week 10: Introduction to Counting
Clements MAΘ October 30th, 2014
Number Theory.
Algebra 5 Congruence Classes.
Lecture 3 Strings and Things (Section 1.1)
Presentation transcript:

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

Prep Math Competition, Lec. 1Peter Burkhardt2 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

Prep Math Competition, Lec. 1Peter Burkhardt3 Basic Definitions and Notations (2) Divisibility (1) Let a, b e Z, a not equal to zero. We say a divides b if there exists an integer k such that

Prep Math Competition, Lec. 1Peter Burkhardt4 Basic Definitions and Notations (3) Divisibility (2) In this case we write a|b Sometimes we say that:  b is divisible by a, or  a is a factor of b, or  b is a multiple of a

Prep Math Competition, Lec. 1Peter Burkhardt5 Basic Definitions and Notations (4) Prime and Composite Numbers A 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.

Prep Math Competition, Lec. 1Peter Burkhardt6 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 e Z  a|b and a, b not equal to zero ” |a| £ |b|

Prep Math Competition, Lec. 1Peter Burkhardt7 Division with Remainder Let m,a e 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.

Prep Math Competition, Lec. 1Peter Burkhardt8 Congruences Let a, b e Z, m e N. We say a is congruent to b modulo m if m|(a-b) and we write

Prep Math Competition, Lec. 1Peter Burkhardt9 Congruence and Division with Remainder Dividing a and b by m yields the same remainder.

Prep Math Competition, Lec. 1Peter Burkhardt10 Basic Properties of Congruences That is, congruence is an equivalence relation.

Prep Math Competition, Lec. 1Peter Burkhardt11 Modular Arithmetic ” Demonstration Demonstration

Prep Math Competition, Lec. 1Peter Burkhardt12 Little Fermat’s Theorem Let a e Z, and p prime. If p does not divide a, then For all a e Z we have

Prep Math Competition, Lec. 1Peter Burkhardt13 Have you understood? How can you write the following statements using congruences? (a, b, r e Z, m e N) 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

Prep Math Competition, Lec. 1Peter Burkhardt14 Practice (Handouts)