Introduction Common Divisors. Discrete Mathematics Andrei Bulatov

Similar documents
Divisibility. c = bf = (ae)f = a(ef) EXAMPLE: Since 7 56 and , the Theorem above tells us that

Chapter 3: Theory of Modular Arithmetic 38

When two numbers are written as the product of their prime factors, they are in factored form.

Berkeley Math Circle AIME Preparation March 5, 2013

ON SPARSELY SCHEMMEL TOTIENT NUMBERS. Colin Defant 1 Department of Mathematics, University of Florida, Gainesville, Florida

AQI: Advanced Quantum Information Lecture 2 (Module 4): Order finding and factoring algorithms February 20, 2013

9.1 The multiplicative group of a finite field. Theorem 9.1. The multiplicative group F of a finite field is cyclic.

arxiv: v1 [math.nt] 12 May 2017

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012

Lecture 16 Root Systems and Root Lattices

of the contestants play as Falco, and 1 6

A proof of the binomial theorem

C/CS/Phys C191 Shor s order (period) finding algorithm and factoring 11/12/14 Fall 2014 Lecture 22

ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION. 1. Introduction. 1 r r. r k for every set E A, E \ {0},

arxiv: v1 [math.co] 4 May 2017

A Bijective Approach to the Permutational Power of a Priority Queue

By the end of this section you will be able to prove the Chinese Remainder Theorem apply this theorem to solve simultaneous linear congruences

k. s k=1 Part of the significance of the Riemann zeta-function stems from Theorem 9.2. If s > 1 then 1 p s

Solution to HW 3, Ma 1a Fall 2016

Lecture 28: Convergence of Random Variables and Related Theorems

A Crash Course in (2 2) Matrices

THE CONE THEOREM JOEL A. TROPP. Abstract. We prove a fixed point theorem for functions which are positive with respect to a cone in a Banach space.

f h = u, h g = v, we have u + v = f g. So, we wish

Quantum Fourier Transform

HOW TO TEACH THE FUNDAMENTALS OF INFORMATION SCIENCE, CODING, DECODING AND NUMBER SYSTEMS?

Secret Exponent Attacks on RSA-type Schemes with Moduli N = p r q

Brief summary of functional analysis APPM 5440 Fall 2014 Applied Analysis

Enumerating permutation polynomials

MATH 417 Homework 3 Instructor: D. Cabrera Due June 30. sin θ v x = v r cos θ v θ r. (b) Then use the Cauchy-Riemann equations in polar coordinates

10/04/18. P [P(x)] 1 negl(n).

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs

THE NUMBER OF TWO CONSECUTIVE SUCCESSES IN A HOPPE-PÓLYA URN

New problems in universal algebraic geometry illustrated by boolean equations

15.081J/6.251J Introduction to Mathematical Programming. Lecture 6: The Simplex Method II

arxiv: v1 [math.nt] 28 Oct 2017

ON THE INVERSE SIGNED TOTAL DOMINATION NUMBER IN GRAPHS. D.A. Mojdeh and B. Samadi

ANA BERRIZBEITIA, LUIS A. MEDINA, ALEXANDER C. MOLL, VICTOR H. MOLL, AND LAINE NOBLE

QIP Course 10: Quantum Factorization Algorithm (Part 3)

The Archimedean Circles of Schoch and Woo

3.1 Random variables

Online Mathematics Competition Wednesday, November 30, 2016

A Short Combinatorial Proof of Derangement Identity arxiv: v1 [math.co] 13 Nov Introduction

Physics 2A Chapter 10 - Moment of Inertia Fall 2018

arxiv: v1 [math.co] 1 Apr 2011

Heronian Triangles of Class K: Congruent Incircles Cevian Perspective

Probablistically Checkable Proofs

6 Matrix Concentration Bounds

Fall 2014 Randomized Algorithms Oct 8, Lecture 3

arxiv: v2 [math.ag] 4 Jul 2012

Galois points on quartic surfaces

Fixed Argument Pairing Inversion on Elliptic Curves

A STUDY OF HAMMING CODES AS ERROR CORRECTING CODES

The Congestion of n-cube Layout on a Rectangular Grid S.L. Bezrukov J.D. Chavez y L.H. Harper z M. Rottger U.-P. Schroeder Abstract We consider the pr

Connectedness of Ordered Rings of Fractions of C(X) with the m-topology

Dynamic Visualization of Complex Integrals with Cabri II Plus

SPECTRAL SEQUENCES. im(er

Do Managers Do Good With Other People s Money? Online Appendix

Fractional Zero Forcing via Three-color Forcing Games

15 Solving the Laplace equation by Fourier method

Complements of plane curves with logarithmic Kodaira dimension zero

Chapter 1: Introduction to Polar Coordinates

APPENDIX. For the 2 lectures of Claude Cohen-Tannoudji on Atom-Atom Interactions in Ultracold Quantum Gases

BASIC ALGEBRA OF VECTORS

Temporal-Difference Learning

PROBLEM SET #1 SOLUTIONS by Robert A. DiStasio Jr.

On a quantity that is analogous to potential and a theorem that relates to it

Rigid Body Dynamics 2. CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2018

Journal of Inequalities in Pure and Applied Mathematics

Construction and Analysis of Boolean Functions of 2t + 1 Variables with Maximum Algebraic Immunity

Method for Approximating Irrational Numbers

ON THE ASYMPTOTIC BEHAVIO R OF SOLUTIONS OF LINEAR DIFFERENCE EQUATION S

New Finding on Factoring Prime Power RSA Modulus N = p r q

KOEBE DOMAINS FOR THE CLASSES OF FUNCTIONS WITH RANGES INCLUDED IN GIVEN SETS

Math 124B February 02, 2012

Vanishing lines in generalized Adams spectral sequences are generic

OLYMON. Produced by the Canadian Mathematical Society and the Department of Mathematics of the University of Toronto. Issue 9:2.

The Erdős-Hajnal conjecture for rainbow triangles

SUPPLEMENTARY MATERIAL CHAPTER 7 A (2 ) B. a x + bx + c dx

Lab #0. Tutorial Exercises on Work and Fields

FOURIER-BESSEL SERIES AND BOUNDARY VALUE PROBLEMS IN CYLINDRICAL COORDINATES

THE JEU DE TAQUIN ON THE SHIFTED RIM HOOK TABLEAUX. Jaejin Lee

Permutations and Combinations

(n 1)n(n + 1)(n + 2) + 1 = (n 1)(n + 2)n(n + 1) + 1 = ( (n 2 + n 1) 1 )( (n 2 + n 1) + 1 ) + 1 = (n 2 + n 1) 2.

Internet Appendix for A Bayesian Approach to Real Options: The Case of Distinguishing Between Temporary and Permanent Shocks

Suborbital graphs for the group Γ 2

JANOWSKI STARLIKE LOG-HARMONIC UNIVALENT FUNCTIONS

Journal of Number Theory

MATH Non-Euclidean Geometry Exercise Set 3: Solutions

COLLAPSING WALLS THEOREM

QUANTUM ALGORITHMS IN ALGEBRAIC NUMBER THEORY

Syntactical content of nite approximations of partial algebras 1 Wiktor Bartol Inst. Matematyki, Uniw. Warszawski, Warszawa (Poland)

Conditional Convergence of Infinite Products

SUFFICIENT CONDITIONS FOR MAXIMALLY EDGE-CONNECTED AND SUPER-EDGE-CONNECTED GRAPHS DEPENDING ON THE CLIQUE NUMBER

Online-routing on the butterfly network: probabilistic analysis

Quasi-Randomness and the Distribution of Copies of a Fixed Graph

Functions Defined on Fuzzy Real Numbers According to Zadeh s Extension

Supplementary information Efficient Enumeration of Monocyclic Chemical Graphs with Given Path Frequencies

The Chromatic Villainy of Complete Multipartite Graphs

Auchmuty High School Mathematics Department Advanced Higher Notes Teacher Version

DonnishJournals

Transcription:

Intoduction Common Divisos Discete Mathematics Andei Bulatov

Discete Mathematics Common Divisos 3- Pevious Lectue Integes Division, popeties of divisibility The division algoithm Repesentation of numbes Pimes

Discete Mathematics Pimes 30-3 The Geatest Common Diviso Fo integes a and b, a positive intege c is said to be a common diviso of a and b if c a and c b Let a, b be integes such that a 0 o b 0. Then a positive intege c is called the geatest common diviso of a, b if (a) c a and c b (that is c is a common diviso of a, b) (b) fo any common diviso d of a and b, we have d c What ae the common divisos, and the geatest common diviso of 4 and 70? The geatest common diviso of a and b is denoted by gcd(a,b)

Discete Mathematics Pimes 30-4 The Geatest Common Diviso (cntd) Theoem Fo any positive integes a and b, thee is a uniue positive intege c such that c is the geatest common diviso of a and b Fist ty: Tae the lagest common diviso, in the sense of usual ode Does not wo: Why evey othe common diviso divides it? a 8 0 4 6 9 b gcd(a,b) 7 5 3

Discete Mathematics Pimes 30-5 The Geatest Common Diviso (cntd) Poof. Given a, b, let S { as + bt s,t Z, as + bt > 0 }. Since S, it has a least element c. We show that c gcd(a,b) We have c ax + by fo some integes x and y. If d a and d b, then d ax + by c. If c a, we can use the division algoithm to find a c +, whee, ae integes and 0 < < c. Then a c a (ax + by) a( x) + b(-y) S, a contadiction Theefoe c a, and by a simila agument c b.

Discete Mathematics Pimes 30-6 The Geatest Common Diviso (cntd) Poof. (cntd) Finally, if c and d ae geatest common divisos, then c d and d c. Thus c d. Q. E. D.

Discete Mathematics Pimes 30-7 Euclidean Algoithm: Small Example To wam up, let us find the geatest common diviso of 87 and 9 87 9 3 + 4 Note that any common diviso of 87 and 9 is also a diviso of 4 87 9 3. Convesely, evey common diviso of 9 and 4 is also a diviso of 87 9 3 + 4. Thus gcd(87,9) gcd(9,4). Next 9 4 6 + 7. By the same agument gcd(9,4) gcd(4,7). Finally, since 7 4, gcd(4,7) 7. Thus, gcd(87,9) 7.

Discete Mathematics Common Divisos 3-8 Euclidean Algoithm: Key Popety Lemma. Let a b +, whee a, b,, and ae integes. Then gcd(a,b) gcd(b,) Poof Let d be a common diviso of a and b. Then d also divides a b. Thus, d is a common diviso of b and. Now, let d be a common diviso of b and. Then d also divides a b +. Theefoe the pais a,b and b, have the same common divisos. Hence, gcd(a,b) gcd(b,).

Discete Mathematics Common Divisos 3-9 Euclidean Algoithm: The Algoithm Let a and b be positive integes with a b. Set and Successively apply the division algoithm until the emainde is 0 Eventually, the emainde is zeo, because the seuence of emaindes cannot contain moe than a elements. Futhemoe, Hence gcd(a,b) is the last nonzeo emainde in the seuence a 0 b 3 3 0 < + < + < + 0 0 0 M 0 > > > K 0 a 0,0) gcd( ), gcd( ), gcd( ), gcd( gcd(a,b) L

Discete Mathematics Common Divisos 3-0 Geatest Common Diviso Theoem. If a, b ae integes and d is thei geatest common diviso, then thee ae integes u, v such that d au + bv. Poof. We use the Euclidean algoithm and the notation We have 3 0 + + + M 0 d, b, a d 3 ) ( M 3 3 4 3 3 3 4 ) ) ( ( ) ( bv au v u 0 + +

Discete Mathematics Common Divisos 3- Example Find d gcd(8,3) and integes u and v such that d 8u + 3v

Discete Mathematics Common Divisos 3- Moe Pimes Pime numbes have some vey special popeties with espect to division Popeties of pimes. () If a,b ae integes and p is pime such that p ab then p a o p b. () Let ai be an intege fo i n, and p is pime and then p fo some i n a i p a K a an

Discete Mathematics Common Divisos 3-3 The Fundamental Theoem of Aithmetic Theoem. Evey intege n > can be epesented as a poduct of pimes uniuely, up to the ode of the pimes. Poof. Existence By contadiction. Suppose that thee is an n > that cannot be epesented as a poduct of pimes, and let m be the smallest such numbe. m is not pime, theefoe m st fo some s and t But then s and t can be witten as poducts of pimes, because s < m and t < m. Theefoe m is a poduct of pimes

Discete Mathematics Common Divisos 3-4 Example Find the pime factoization of 980,0

Discete Mathematics Common Divisos 3-5 Least Common Multiple A positive intege c is called a common multiple of integes a and b if a c and b c The numbe c is called the least common multiple of a and b, denoted lcm(a,b) if it is a common multiple and fo any common multiple d we have c d Theoem. Fo any integes a and b, the least common multiple exists.

Discete Mathematics Common Divisos 3-6 Least Common Multiple (cntd) Find lcm(3,455). Theoem Fo any integes a and b we have ab lcm(a,b) gcd(a,b)

Discete Mathematics Common Divisos 3-7 Relatively Pime Numbes a and b such that gcd(a,b) ae called elatively pime How many elatively pime numbes ae thee? Eule s totient function φ(n) is the numbe of numbes such that 0 < < n and n and ae elatively pime. If p is pime then evey < p is elatively pime with p. Hence, φ(p) p. Lemma. If a and b ae elatively pime then φ(ab) φ(a) φ(b) Coollay. s s su If n p p K is the pime factoization of n, then pu s s su ϕ (n) n p L p pu

Discete Mathematics Common Divisos 3-8 Homewo Execises fom the Boo: No. ab, 4, 5, 0, 5 (page 37) No. ab, 5, 7, 9 (page 4)