



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Practice HW from Mathematical Excursions Textbook (not to hand in) p. 228 11-20, 29- The purpose of this section is to study prime numbers and how prime numbers are the building blocks of all numbers.
Recall that a prime number p is a number whose only divisors are 1 and itself (1 and p ). A number that is not prime is said to be composite. The following set represents the set of primes that are less than 100: {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97…} A larger list of primes can be found in the Barr text on pp. 370-372. Facts About Primes
Because of its use in cryptology and other applications, mathematical techniques for determining whether large numbers are prime have been targets of intense research. We study some elementary factors for determining the primality of numbers. Fact: 2 is the only even prime. Any even number larger than 2 is not prime since 2 is a divisor. Example 1: Is 10000024 prime? Solution:
How do we determine if large positive integers are prime? The next example illustrates an elementary method for doing this? Example 2: Is 127 prime? Solution: █ Example 2 provides the justification for the following primality test for prime numbers. Square Root Test for Determining Prime Numbers Let n > 1 be a natural number. If no prime number {2, 3, 5, 7, 11, 13, …} less than n^ is a divisor of n , than n is prime. Example 3: Determine if 839 is prime. Solution:
As the numbers tested get larger, the square root test for primality does have limitations. The next example illustrates this fact. Example 6: Determine if 958090550049 is prime. Solution: █ Being able to determine whether large numbers are prime has important applications in topics such as cryptography, the science of secret message writhing. To deal with larger numbers, much more sophisticated tests for primality testing have been developed and are an on going topic of research. The largest prime number discovered up to 2006 was the number (^232582657) 1 , which is a 9808358 digit prime number.
A number that is not prime is said to be composite. If a number is composite, it can be factored into prime factors other than 1 and itself. This is guaranteed by the following fact. Theorem: The Fundamental Theorem of Arithmetic. Every natural number larger than 1 is a product of primes. This factorization can be done in only one way if is disregarded. For example, to factor 30, we can compute sameprimefactorizationdisregardingorder 30 6 5 2 3 5 3 2 5 5 2 3 . An elementary way to obtain prime factorizations with small prime factors involves the use of a calculator and a factor tree. The following examples illustrate this technique. Example 7: Factor 380 into a product of prime factors.
Solution: █ Note: Prime factorizations of numbers using exponential notation with the factors arranged in order of increasing magnitude is called the canonical form factorization of the number. Example 8: Factor 3267 into a product of prime factors in canonical form. Solution: