Fundamental Theorem of Arithmetic

Slides:



Advertisements
Similar presentations
The Fundamental Theorem of Arithmetic. Primes p > 1 is prime if the only positive factors are 1 and p if p is not prime it is composite The Fundamental.
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.
Chapter 3 Elementary Number Theory and Methods of Proof.
Section 11 Direct Products and Finitely Generated Abelian Groups One purpose of this section is to show a way to use known groups as building blocks to.
Euclidean Number theory From the Algorithm to the Basic Theory of Numbers.
3.3 Divisibility Definition If n and d are integers, then n is divisible by d if, and only if, n = dk for some integer k. d | n  There exists an integer.
5.1 Number Theory. The study of numbers and their properties. The numbers we use to count are called the Natural Numbers or Counting Numbers.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides.
Thinking Mathematically
Chapter Primes and Greatest Common Divisors ‒Primes ‒Greatest common divisors and least common multiples 1.
The Fundamental Theorem of Arithmetic (2/12) Definition (which we all already know). A number greater than 1 is called prime if its only divisors are 1.
NUMBER THEORY Chapter 1: The Integers. The Well-Ordering Property.
Chapter II. THE INTEGERS
Discrete Structures Chapter 2 Part B Mathematical Induction
The essential quality of a proof is to compel belief.
Copyright © Cengage Learning. All rights reserved.
Fundamental Theorem of Arithmetic. Euclid's Lemma If p is a prime that divides ab, then p divides a or p divides b.
WHOLE NUMBERS; INTEGERS Whole numbers: Z 0,+ = the natural numbers  {0}. Integers:
CSE 321 Discrete Structures Winter 2008 Lecture 10 Number Theory: Primality.
CSE 311 Foundations of Computing I Lecture 12 Primes, GCD, Modular Inverse Spring
Chapter Number Theory 4 4 Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
A number that divides evenly into a larger number without a remainder Factor- Lesson 7 - Attachment A.
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.
Chapter 2 The Fundamentals: Algorithms, the Integers, and Matrices
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.
(CSC 102) Discrete Structures Lecture 10.
Discrete Mathematics, 1st Edition Kevin Ferland
Numbers, Operations, and Quantitative Reasoning.
Mathematical Induction. F(1) = 1; F(n+1) = F(n) + (2n+1) for n≥ F(n) n F(n) =n 2 for all n ≥ 1 Prove it!
Ch 1.5: Basic Proof Methods II Proof by Contraposition of P => Q Suppose ~Q …proof details here…. Therefore, ~P (via a direct proof) Thus, ~Q => ~P. Therefore,
Prime Numbers and Composite Numbers
The Integers & Division. a divides b if a is not zero there is a m such that a.m = b “a is a factor of b” “b is a multiple of a” a|b Division.
Numbers MST101. Number Types 1.Counting Numbers (natural numbers) 2.Whole Numbers 3.Fractions – represented by a pair of whole numbers a/b where b ≠ 0.
Cyclic Groups (9/25) Definition. A group G is called cyclic if there exists an element a in G such that G =  a . That is, every element of G can be written.
Copyright © Zeph Grunschlag, Basic Number Theory Zeph Grunschlag.
Math 409/409G History of Mathematics Books VII – IX of the Elements Part 3: Prime Numbers.
CSE 311: Foundations of Computing Fall 2014 Lecture 12: Primes, GCD.
MA/CSSE 473 Day 08 Extended Euclid's Algorithm Modular Division Fermat's little theorem.
Application: Algorithms Lecture 20 Section 3.8 Wed, Feb 21, 2007.
CS Lecture 14 Powerful Tools     !. Build your toolbox of abstract structures and concepts. Know the capacities and limits of each tool.
Direct Proof and Counterexample III
Factor A factor of an integer is any integer that divides the given integer with no remainder.
CSE 311: Foundations of Computing Fall 2013 Lecture 12: Primes, GCD, modular inverse.
1 CMSC 250 Chapter 3, Number Theory. 2 CMSC 250 Introductory number theory l A good proof should have: –a statement of what is to be proven –"Proof:"
Part II – Theory and Computations. Major Ideas....
Slide Copyright © 2009 Pearson Education, Inc. 5.1 Number Theory.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 2 The Fundamentals: Algorithms,
All About Division. Definition / A nonzero integer t is a divisor of an integer s if there is an integer u such that s = tu. / If t is a divisor of s,
REAL NUMBERS. INTRODUCTION  We all know four fundamental operations of addition, subtraction, multiplication and division, which we have applied on.
Number-Theoretic Algorithms
Direct Proof and Counterexample III: Divisibility
Chapter 5: Number Theory
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
Great Theoretical Ideas In Computer Science
Greatest Common Divisor
Prime Factorization Prime factorization is the long string of factors that is made up of all prime numbers.
A number that divides evenly into a larger number without a remainder
Direct Proof and Counterexample III
Direct Proof and Counterexample III
Copyright © Cengage Learning. All rights reserved.
The Integers & Division
Counting Elements of Disjoint Sets: The Addition Rule
Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
Copyright © Zeph Grunschlag,
Kim Correll Holly Bochsler
Dividing Integers ÷ = + ÷ = + ÷ = + ÷ =.
Factor A factor of an integer is any integer that divides the given integer with no remainder.
From the last time: gcd(a, b) can be characterized in two different ways: It is the least positive value of ax + by where x and y range over integers.
Sets, Combinatorics, Probability, and Number Theory
Presentation transcript:

Fundamental Theorem of Arithmetic

Euclid's Lemma If p is a prime that divides ab, then p divides a or p divides b.

Examples 17 is a prime divisor of 6,052*9,872 Check that 17 | 59,745,344 By Euclid's Lemma 17|6052 or 17|9872. 6 divides 4*3 = 12 6 does not divide either 4 or 3. How can this be? 6 is not prime! 6052 = 17*365 9872 = 17*575+7

Proof of Euclid's Lemma Suppose p does not divide a. Since p is prime, p and a must be relatively prime So there must be integers s,t such that 1 = ps + at. But then b = psb + abt Since p divides both terms on the right, p | b.

Fundamental Theorem of Arithmetic Every integer greater than 1 is a prime or a product of primes. This product is unique, except for the order in which the factors appear. That is, if n = p1p2…pr and n = q1q2…qs, where the p's and q's are primes, then r = s and, after renumbering the q's, we have pi = qi for all i.

Sketch of Proof Suppose wlog, r ≤ s. Since p1 is prime, and p1|q1q2…qs, then by Euclid's lemma, p1|qi for some i. Since qi is prime, p1 = qi. Renumber so that p1= q1. Repeat: p2 = q2 … pr=qr. There can be no q's left over, so s = r!