Factorization and Primality Pure mathematics is, in its way, the poetry of logical ideas. ~Albert Einstein.

Slides:



Advertisements
Similar presentations
Noise, Information Theory, and Entropy (cont.) CS414 – Spring 2007 By Karrie Karahalios, Roger Cheng, Brian Bailey.
Advertisements

Chapter 5 Number Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Thinking Mathematically
Factors, Divisibility, & Prime / Composite numbers
Thinking Mathematically
Section 3.8: More Modular Arithmetic and Public-Key Cryptography
Number Theory GONE WILD!
Divisibility Rules Page 10 in textbook.
Factors, Fractions, and Exponents
Chapter 4 Number Theory. Terms Factors Divides, divisible, divisibility Multiple.
Prime Factorization Math.
division algorithm Before we study divisibility, we must remember the division algorithm. r dividend = (divisor ⋅ quotient) + remainder.
11 and 6 3 and 9 2, 5, 10 and 4, 8 Divisibility Rules.
Greatest Common Factor Least Common Multiple Prime Factorization
CS1101: Programming Methodology Aaron Tan.
Greatest Common Factor
Prime Factorization (Factor Trees) Greatest Common Factor
GCF and LCM Lesson 3.01.
Mathematics Numbers: Factors
Learn: To use divisibility rules. These rules let you test if one number can be evenly divided by another, without having to do too much calculation!
Prime Numbers A whole number greater than 1 whose only whole number factors are 1 and itself
Sieve of Eratosthenes.
SECTION 5-1 Prime and Composite Numbers Slide
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 1.9.
© William James Calhoun, : Factors and Greatest Common Factors OBJECTIVES: You must find prime factorizations of integers and find greatest common.
Factors
Factors and Multiples.
Factors: Divisibility Rules, Exponents, Prime Factorization and Greatest Common Factor (GCF) Mr. Martin.
Rules of Divisibility 1 - always a factor. 2 - if the last digit is a 0, 2, 4, 6, or if the sum of the digits is divisible by if the last.
5.1 Divisibility. Natural Numbers The set of natural numbers or counting numbers is {1,2,3,4,5,6,…}
Prime Numbers With Mrs Ford. Eratosthenes (ehr-uh-TAHS-thuh-neez) Eratosthenes was the librarian at Alexandria, Egypt in 200 B.C. Note every book was.
Our Lesson: Review of factors Confidential.
Sieve of Eratosthenes. The Sieve of Eratosthenes is a method that.
Factors are numbers you can multiply together to get another number. Multiples are numbers that can be divided by another number without a remainder. Its.
DIVISIBILITY RULES.
Divisibility Test For Different Numbers
1 Simple and Unbreakable: The Mathematics of Internet Security Dr. Monica Nevins Department of Mathematics and Statistics University of Ottawa University.
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
Factors, Multiples and Primes. Prime Numbers A Prime Number is a number that can only be divided by two numbers: – The number 1 – The number itself 3.
Copyright © Cengage Learning. All rights reserved. 1.5 Prime Factorization.
Factoring Polynomials
Number Theory Yolanda McHenry, Ashley Courtney, Tyler Williams, Jamiya Hagger.
GREATEST COMMON FACTORS
The properties of real numbers help us simplify math expressions and help us better understand the concepts of algebra.
Divisibility Rules. What Are Divisibility Rules? They are a quick way to tell if one number can be completely divided into another without a remainder.
 2012 Pearson Education, Inc. Slide Chapter 5 Number Theory.
Slide Copyright © 2009 Pearson Education, Inc. 5.1 Number Theory.
Copyright©amberpasillas2010 RULES FOR DIVISIBILITY #1 A Number Is Divisible By: IF The last digit is even (0, 2, 4, 6, 8) The last 2 digits.
Do Now Write as an exponent 3 x 3 x 3 x 3 4 x 4 x 4 x 4 x 4 5 x 5 x 5 What is a factor? Define in your own words.
s.html Year 8 Mathematics Multiples, Factors and Primes.
Week 1 Real Numbers and Their Properties (Section 1.6, 1.7, 1.8)
DIVISIBILITY RULES. A number is divisible by: If the number ends in 0 the number is also divisible by 2 and 3 the sum of the number's digits.
Factors
Prime Factorization (Factor Trees) Greatest Common Factor
Factors and Multiples.
Click the mouse button or press the Space Bar to display the answers.
Exercise 24 ÷ 2 12.
Prime Factorization.
Review Basic Math Divisibility tests Prime and Composite Numbers
Divisibility Rules.
Divisibility Rules.
Divisibility Rules.
Objective: Learn to test for divisibility.
Rules of Divisibility A number is said to be “divisible” by a number if you can divide it by that number and get no remainder.
Prime Factorization FACTOR TREE.
Divisibility A number is divisible by another number if the quotient is a whole number with no remainder.
Unit 1: Number System Fluency
Presentation transcript:

Factorization and Primality Pure mathematics is, in its way, the poetry of logical ideas. ~Albert Einstein

What is Primality? ◊A prime number can only be divided by itself or 1 without a remainder. ◊Some examples include 7, 11, and 13. ◊Can you think of any other prime numbers? ◊A number which exhibits primality is considered a prime number.

History of Primality ◊A primality test is a shortcut to find prime numbers. ◊The earliest known method was developed around 284 BC by a Greek mathematician known as Eratosthenes. ◊This method is known as the Sieve of Eratosthenes. ◊Using this method with the fastest computers to verify a number’s primality would take longer than the life expectancy of our sun! (5 billion years)

Sieve of Eratosthenes ◊For primes less than 30 and greater than 1…

A Quick Exercise ◊On the handout, using the Sieve of Eratosthenes, find the prime numbers on these intervals… a)30 < x < 40 … ( √ 40 < 7) b)5 < x < 35 … ( √ 35 < 6) c)45 < x < 75 … ( √ 75 < 9)

30 < x < 40 ◊First write out all the numbers… ◊[30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40] ◊Always begin by erasing all numbers that are multiples of 2… ◊Now we have … [31, 33, 35, 37, 39] ◊Next, erase all numbers that are multiples of 3… ◊Now we have … [31, 35, 37] ◊Erase all numbers that are multiples of 5… ◊Finally, we have … [31, 37] ◊The condition states that we stop at this multiple because √ 40 < 7 Note: (since the numbers 4 and 6 are not prime we need not worry about their multiples)

5 < x < 35 ◊First write out all the numbers… ◊[5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35] ◊Always begin by erasing all numbers that are multiples of 2… ◊Now we have … [5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35] ◊Next, erase all numbers that are multiples of 3… ◊Now we have … [5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 35] ◊Erase all numbers that are multiples of 5… ◊Finally, we have … [5, 7, 11, 13, 17, 19, 23, 29, 31] ◊The condition states that we stop at this multiple because √ 35 < 6 Note: (since the number 4 is not prime we need not worry about its multiples)

45 < x < 75 ◊First write out all the numbers… ◊[45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75] ◊Always begin by erasing all numbers that are multiples of 2… ◊Now we have … [45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75] ◊Erase all numbers that are multiples of 3… ◊Now we have … [47, 49, 53, 55, 59, 61, 65, 67, 71, 73] ◊Erase all numbers that are multiples of 5… ◊Now we have … [47, 49, 53, 59, 61, 67, 71, 73] ◊Erase all numbers that are multiples of 7… ◊Finally we have … [47, 53, 59, 61, 67, 71, 73] ◊The condition states that we stop at this multiple because √75 < 9 Note: (since the numbers 4, 6, and 8 are not prime we need not worry about their multiples)

History of Primality (cont.) ◊Fibonacci, while being tutored by an Arab scholar in Africa, developed the first deterministic algorithm for primality testing. ◊This was important because this type of algorithm is simpler than the algorithms used before, known as randomized algorithms.

What is Factorization? ◊Factorization is the resolution of a unit into factors. ◊A factor can be numbers or algebraic expressions that when multiplied together give the initial unit. ◊An example of this is the unit 24; the factors of 24 are 2 * 2 * 2 * 3

Factoring Tricks ◊ 2 ◊ 2 is a factor of any even number. ◊ 3 ◊ 3 is a factor of any number whose sum of individual numbers are divisible by 3. ◊ 4 ◊ 4 is a factor of any number whose last two digits are divisible by 4. ◊ 5 ◊ 5 is a factor of any number ending in a 5 or 0. ◊ 6 ◊ 6 is a factor of any number that is divisible by 2 and 3. ◊ 8 ◊ 8 is a factor of any number whose last 3 digits are divisible by 8. ◊ 9 ◊ 9 is a factor of any number whose sum of individual numbers are divisible by 9. ◊ 10 ◊ 10 is a factor of any number ending in a 0.

Factoring Tricks (cont.) ◊ 7 ◊ 7 is a factor of a number if the last digit, multiplied by 2 and subtracted from the remaining digits, is divisible by 7… ◊Take the number 1,484 for example… ◊The last digit is 4 so … ◊4*2 = 8 ◊The remaining digits are 148 so … ◊148 – 8 = 140 ◊The number 140 is divisible by 7! (140 / 7 = 20) ◊Therefore 7 is a factor of 1,484. To check … ◊1,484 / 7 =212

Factoring Tricks (cont.) ◊ 11 ◊ 11 is a factor of a number if the sum of every other number minus the sum of the remaining individual numbers is divisible by 11. ◊ Take the number 1,045 for example… ◊First, sum every other number … (1+4 = 5) ◊Next sum the remaining numbers … (0+5 = 5) ◊Subtract these two sums … (5-5 = 0) ◊The number 0 is divisible by 11! (0/11 = 0) ◊Therefore 11 is a factor of 1,045. To check … ◊1,045/11 = 95

Finding the GCF Using the factoring tricks, find the GCF of 3,960 and 2,520: ◊List the prime factors of each number and circle the factors common to both: ◊3,960 = 11 X 3 X 3 X 2 X 2 X 2 X 5 ◊2,520 = 7 X 3 X 3 X 2 X 2 X 2 X 5 ◊Since 3 X 3 X 2 X 2 X 2 X 5 = 360 are common in both numbers, this is the GCF.

Applications in Real World ◊Mathematicians, like Eratosthenes and Fibonacci, paved the way for many current uses of prime numbers and factorization in today's world. ◊In computer science, data compression is the process of encoding information using fewer bits than normally used. ◊The ZIP file format is a good example of data compression. ZIP files store many files in a single output file.

Applications in Real World ◊ Data transmission is another example of how primality and factorization is used today. ◊Specifically, the area of protocol and handshaking in data transmission is where these basic concepts are utilized. ◊A protocol is an agreed-upon format, defined by a set of rules, for transmitting data between two devices like a computer and printer for example. ◊Handshaking occurs when two devices send several messages back and forth, enabling them to agree on a communications protocol.

Works Cited ◊homework.syosset.k12.ny.us/teachers/jconnoll/homework.syosset.k12.ny.us/teachers/jconnoll/ ◊ ◊ ◊ ◊ &dpi=3&config=jstorwww.jstor.org/view/ x/sp050003/05x0111g/1?frame=no &dpi=3&config=jstor ◊faculty.evansville.edufaculty.evansville.edu ◊ ◊ tricks-7and11-rev.pdfhttp:// tricks-7and11-rev.pdf