Miniconference on the Mathematics of Computation

Slides:



Advertisements
Similar presentations
Section 4.1: Primes, Factorization, and the Euclidean Algorithm Practice HW (not to hand in) From Barr Text p. 160 # 6, 7, 8, 11, 12, 13.
Advertisements

Quotient-Remainder Theory, Div and Mod
NUMBER THEORY Chapter 1: The Integers. The Well-Ordering Property.
RATIONAL EXPRESSIONS Chapter Quotients of Monomials.
Elementary Number Theory and Methods of Proof. Basic Definitions An integer n is an even number if there exists an integer k such that n = 2k. An integer.
Chapter II. THE INTEGERS
Congruence of Integers
Mathematics of Cryptography Part I: Modular Arithmetic, Congruence,
WHOLE NUMBERS; INTEGERS Whole numbers: Z 0,+ = the natural numbers  {0}. Integers:
CSE 311 Foundations of Computing I Lecture 12 Primes, GCD, Modular Inverse Spring
Fall 2002CMSC Discrete Structures1 Let us get into… Number Theory.
BY MISS FARAH ADIBAH ADNAN IMK
Quiz 2 key.
Mathematics of Cryptography Part I: Modular Arithmetic, Congruence,
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
Module :MA3036NI Cryptography and Number Theory Lecture Week 7
Mathematics of Cryptography Modular Arithmetic, Congruence,
Chapter 4 Number Theory in Asia The Euclidean Algorithm The Chinese Remainder Theorem Linear Diophantine Equations Pell’s Equation in Brahmagupta Pell’s.
WIKIPEDIA HAS MANY MORE DIVISIBILITY RULES. EXAMPLE Since 52=13(4) is divisible by 4, is divisible by 4 Since 452=56(8)+4 is not divisible.
Cryptography Inverses and GCD Piotr Faliszewski. GCD(a,b) gcd(a, 0) = a gcd(a, b) = gcd(b, a mod b) a = b*q + r Here: q =  a / b  r = a mod b (a –
The Integers. The Division Algorithms A high-school question: Compute 58/17. We can write 58 as 58 = 3 (17) + 7 This forms illustrates the answer: “3.
CompSci 102 Discrete Math for Computer Science
Rational Numbers and Fields
Chinese Remainder Theorem Dec 29 Picture from ………………………
Math 409/409G History of Mathematics Books VII – IX of the Elements Part 1: Divisibility.
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.
CSE 311 Foundations of Computing I Lecture 14 Euclid’s Algorithm Mathematical Induction Autumn 2012 CSE
Tuesday’s lecture: Today’s lecture: One-way permutations (OWPs)
Internet Engineering Czesław Smutnicki Discrete Mathematics – Numbers Theory.
Ref: Pfleeger96, Ch.31 Properties of Arithmetic Reference: Pfleeger, Charles P., Security in Computing, 2nd Edition, Prentice Hall, 1996.
AF2. Turn off your phones Primes, gcd, some examples, reading.
Discrete Mathematics 4. NUMBER THEORY Lecture 7 Dr.-Ing. Erwin Sitompul
Discrete Mathematics
AF2. Turn off your phones Primes, gcd, some examples, reading.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 2 The Fundamentals: Algorithms,
Chapter 4 With Question/Answer Animations 1. Chapter Summary Divisibility and Modular Arithmetic - Sec 4.1 – Lecture 16 Integer Representations and 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.
Number Theory Lecture 1 Text book: Discrete Mathematics and its Applications, 7 th Edition.
Agenda Review:  Relation Properties Lecture Content:  Divisor and Prime Number  Binary, Octal, Hexadecimal Review & Exercise.
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
CMPS 2433 – Coding Theory Chapter 3
Lecture 4 The Euclidean Algorithm
Warm Up Compute the following by using long division.
Mathematics of Cryptography
MATH301- DISCRETE MATHEMATICS Copyright © Nahid Sultana Dr. Nahid Sultana Chapter 4: Number Theory and Cryptography.
Analytic Number Theory MTH 435
Chapter 4 Number Theory in Asia
Applied Discrete Mathematics Week 4: Number Theory
Number Theory (Chapter 7)
Foundations of Discrete Mathematics
5.7: Fundamental Theorem of Algebra
Week #5 – 23/25/27 September 2002 Prof. Marie desJardins
刘振 上海交通大学 计算机科学与工程系 电信群楼3-509
Exercise 2x − 3 = 9 x = 6.
Algorithmic Number Theory and Cryptography (CS 303) Modular Arithmetic
Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
Types of Number © B. Taylor
Assignment #1 Solutions
Miniconference on the Mathematics of Computation
Combinations and Pascal’s triangle
Miniconference on the Mathematics of Computation
Miniconference on the Mathematics of Computation
Factor A factor of an integer is any integer that divides the given integer with no remainder.
Miniconference on the Mathematics of Computation
Discrete Mathematics Chapter 4 Number Theory. Discrete Mathematics Chapter 4 Number Theory.
#1 #3 #2 Chapter 1-1 Number Systems
Presentation transcript:

Miniconference on the Mathematics of Computation MTH 210 Test 2 Review Dr. Anthony Bonato Ryerson University

Notes on Test 2 Test 2 is in-class on Thursday, March 14 in VIC 205, starting at 10:30 am 90 minutes, 5 questions (multiple parts), 25 marks total Material covers all material on number theory, up to and including material covered in the March 7 lecture. Need to know: definitions, examples, exercises, assigned problems, quiz material, theorems, key facts Two questions short answer, one question fill in the blank; two questions long answer NOTE: scientific calculators are allowed. Phones or other internet connected devices cannot be used. You are responsible for bringing your own calculator.

Key facts an integer m is a divisor of n if n = pm for some integer p integer n > 1 is prime if its only divisors are 1 and n a real number is irrational if it is not rational that is, it isn’t a fraction of integers egs: 2 , 3 , 5 , …

General congruences m > 2 an integer a ≡ b (mod n) if n | (a - b) congruences behave like = [m] = {x | x ≡ m (mod n)} called equivalence classes (mod n) or congruence classes

Greatest Common Divisors m and n integers > 1 among all the divisors of both m and n, the largest is called the greatest common divisor write gcd(m,n)

Key Facts gcd(n,0) = n If a = bq + r, then gcd(a,b) = (b,r)

Euclidean Algorithm Goal: find gcd(a,b) Step 1: Express a = bq + r Step 2: Find gcd(b,r). Step 3: Express b = sr + t. Step 4: Find gcd(r,t). … Keep going until remainder is zero.

x = x1 + tb/d, y = y1 – ta/d, where t is an integer. How to solve ax + by = c? Calculate gcd(a,b) by using the Euclidean Algorithm. Does gcd(a,b) divide c? If NO, then there is no solution to the linear Diophantine equation. If YES then Solve ax + by = gcd(a,b) = d by working backwards through your steps in the Euclidean Algorithm. This gives a particular solution (x1,y1) The general solution is: x = x1 + tb/d, y = y1 – ta/d, where t is an integer.