5-4 Prime and Composite Numbers

Similar documents
Tests for Divisibility, Theorems for Divisibility, the Prime Factor Test

15 Prime and Composite Numbers

Prime Factorization 0.1. Overcoming Math Anxiety

Previously, you learned the names of the parts of a multiplication problem. 1. a. 6 2 = 12 6 and 2 are the. b. 12 is the

Session 6 Number Theory

Grade 6 Math Circles March 10/11, 2015 Prime Time Solutions

Grade 7/8 Math Circles Fall 2012 Factors and Primes

Factoring Whole Numbers

5544 = = = Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

FACTORS, PRIME NUMBERS, H.C.F. AND L.C.M.

Today s Topics. Primes & Greatest Common Divisors

Grade 7 & 8 Math Circles October 19, 2011 Prime Numbers

Homework until Test #2

Chapter 11 Number Theory

FACTORING OUT COMMON FACTORS

Math 319 Problem Set #3 Solution 21 February 2002

An Introduction to Number Theory Prime Numbers and Their Applications.

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

FACTORS AND MULTIPLES Answer Key

Lesson 3.1 Factors and Multiples of Whole Numbers Exercises (pages )

Factorizations: Searching for Factor Strings

Applications of Fermat s Little Theorem and Congruences

SOLUTIONS FOR PROBLEM SET 2

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

CS 103X: Discrete Structures Homework Assignment 3 Solutions


Working with whole numbers

CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association

FRACTIONS MODULE Part I

MATH10040 Chapter 2: Prime and relatively prime numbers

TEXAS A&M UNIVERSITY. Prime Factorization. A History and Discussion. Jason R. Prince. April 4, 2011

Some practice problems for midterm 2

CONTENTS. Please note:

Section A-3 Polynomials: Factoring APPLICATIONS. A-22 Appendix A A BASIC ALGEBRA REVIEW

Factor Trees. Objective To provide experiences with finding the greatest common factor and the least common multiple of two numbers.

2 When is a 2-Digit Number the Sum of the Squares of its Digits?

Advanced GMAT Math Questions

Prime Time: Homework Examples from ACE

The Euclidean Algorithm

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION

POLYNOMIAL FUNCTIONS

Notes on Factoring. MA 206 Kurt Bryan

Lesson 4. Factors and Multiples. Objectives

How do you compare numbers? On a number line, larger numbers are to the right and smaller numbers are to the left.

SECTION A-3 Polynomials: Factoring

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

Session 29 Scientific Notation and Laws of Exponents. If you have ever taken a Chemistry class, you may have encountered the following numbers:

Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

Handout #1: Mathematical Reasoning

Full and Complete Binary Trees

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

4/1/2017. PS. Sequences and Series FROM 9.2 AND 9.3 IN THE BOOK AS WELL AS FROM OTHER SOURCES. TODAY IS NATIONAL MANATEE APPRECIATION DAY

Congruent Number Problem

RSA Question 2. Bob thinks that p and q are primes but p isn t. Then, Bob thinks Φ Bob :=(p-1)(q-1) = φ(n). Is this true?

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

Mathematical Induction

26 Integers: Multiplication, Division, and Order

5.1 FACTORING OUT COMMON FACTORS

2.5 Zeros of a Polynomial Functions

Cubes and Cube Roots

Prime and Composite Numbers

Groups in Cryptography

Just the Factors, Ma am

Day One: Least Common Multiple

Cryptography and Network Security Chapter 8

Greatest Common Factor and Least Common Multiple

Factoring Numbers. Factoring numbers means that we break numbers down into the other whole numbers that multiply

MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS

RSA and Primality Testing

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

MATH 13150: Freshman Seminar Unit 10

Supplemental Worksheet Problems To Accompany: The Pre-Algebra Tutor: Volume 1 Section 1 Real Numbers

Calculate Highest Common Factors(HCFs) & Least Common Multiples(LCMs) NA1

MATH 22. THE FUNDAMENTAL THEOREM of ARITHMETIC. Lecture R: 10/30/2003

GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014!

of Nebraska - Lincoln


8 Primes and Modular Arithmetic

A Study on the Necessary Conditions for Odd Perfect Numbers

Course Syllabus. MATH 1350-Mathematics for Teachers I. Revision Date: 8/15/2016

MATHCOUNTS TOOLBOX Facts, Formulas and Tricks

MATHEMATICS. Y5 Multiplication and Division 5330 Square numbers, prime numbers, factors and multiples. Equipment. MathSphere

k, then n = p2α 1 1 pα k

Dr Brian Beaudrie pg. 1

Primality - Factorization

The application of prime numbers to RSA encryption

The last three chapters introduced three major proof techniques: direct,

Factoring Algorithms

Primes. Name Period Number Theory

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

SQUARE-SQUARE ROOT AND CUBE-CUBE ROOT

Playing with Numbers

Computing exponents modulo a number: Repeated squaring

On Generalized Fermat Numbers 3 2n +1

Math 3000 Section 003 Intro to Abstract Math Homework 2

Planning Guide. Grade 6 Factors and Multiples. Number Specific Outcome 3

Note on some explicit formulae for twin prime counting function

Transcription:

5-4 Prime and Composite Numbers Prime and Composite Numbers Prime Factorization Number of Divisorss Determining if a Number is Prime More About Primes Prime and Composite Numbers Students should recognizee that different types of numbers have particular characteristics; for example, square numbers have an odd number of factors and prime numbers have only two factors. The following rectangles represent the number 18. The number 18 has 6 positive divisors: 1, 2, 3, 6, 9 and 18. Number of Positive Divisors Prime and Composite Numbers Below each number listed across the top, we identify numbers less than or equal to 37 that have that number of positive divisors.

Prime number Any positive integer with exactly two distinct, positive divisors Composite number Any integer greater than 1 that has a positive factor other than 1 and itself Example 1 Show that the following numbers are composite. a. 1564 b. 2781 c. 1001 d. 3 5 7 11 13 + 1 Prime Factorization Students continue to develop their understanding of multiplication and division and the structure of numbers by determining if a counting number greater than 1 is a prime, and if it is not, by factoring it into a product of primes. Composite numbers can be expressed as products of two or more whole numbers greater than 1. Each expression of a number as a product of factors is a factorization. A factorization containing only prime numbers is a prime factorization. Fundamental Theorem of Arithmetic (Unique Factorization Theorem) Each composite number can be written as a product of primes in one and only one way except for the order of the prime factors in the product.

Prime Factorization To find the prime factorization of a composite number, rewrite the number as a product of two smaller natural numbers. If these smaller numbers are both prime, you are finished. If either is not prime, then rewrite it as the product of smaller natural numbers. Continue until all the factors are prime. The two trees produce the same prime factorization, except for the order in which the primes appear in the products. Prime Factorization We can also determine the prime factorization by dividing with the least prime, 2, if possible. If not, we try the next larger prime as a divisor. Once we find a prime that divides the number, we continue by finding smallest prime that divides that quotient, etc.

Number of Divisors How many positive divisors does 24 have? We are not asking how many prime divisors, just the number of divisors any divisors. Since 1 is a divisor of 24, then 24/1 = 24 is a divisor of 24. Since 2 is a divisor of 24, then 24/2 = 12 is a divisor of 24. Since 3 is a divisor of 24, then 24/3 = 8 is a divisor of 24. Since 4 is a divisor of 24, then 24/4 = 6 is a divisor of 24. Another way to think of the number of positive divisors of 24 is to consider the prime factorization 2 3 = 8 has four divisors. 3 has two divisors. Using the Fundamental Counting Principle, there are 4 2 = 8 divisors of 24.

If p and q are different primes, then p n q m has (n + 1)(m + 1) positive divisors. In general, if p 1, p 2,, p k are primes, and n 1, n 2,, n k are whole numbers, then has positive divisors. Example 2 a. Find the number of positive divisors of 1,000,000. b. Find the number of positive divisors of 210 10. Determining if a Number is Prime To determine if a number is prime, you must check only divisibility by prime numbers less than the given number. For example, to determine if 97 is prime, we must try dividing 97 by the prime numbers: 2, 3, 5, and so on as long as the prime is less than 97. If none of these prime numbers divide 97, then 97 is prime. Upon checking, we determine that 2, 3, 5, 7 do not divide 97. Assume that p is a prime greater than 7 and p 97. Then 97/p also divides 97. Because p 11, then 97/pp must be less than 10 and hence cannot divide 97.

If d is a divisor of n, then is also a divisor of n. If n is composite, then n has a prime factor p such that p 2 n. If n is an integer greater than 1 and not divisible by any prime p, such that p 2 n, then n is prime. Note: Because p 2 n implies that than or equal to is a divisor of n. it is enough to check if any prime less Example 3 a. Is 397 composite or prime? b. Is 91 composite or prime? Sieve of Eratosthenes One way to find all the primes less than a given number is to use the Sieve of Eratosthenes. If all the natural numbers greater than 1 are considered (or placed in the sieve), the numbers that are not prime are methodically crossed out (or drop through the holes of the sieve). The remaining numbers are prime. 5.4 Homework # A-2, 3, 4, 5, 6, 7, 9, 10, 13, 14, 18, 19