MATA02H3 Lecture 7: Prime/Composite Numbers & Eratosthenes Sieve

231 views2 pages
Verified Note
28 Jan 2019
School
Department
Course

Document Summary

Mata02 - lecture 7 - prime/composite numbers & eratosthenes sieve. A prime number is a natural number greater than 1, that are only divisible by 1 and itself. A composite number is a natural number that is divisible by more numbers than just 1 and itself. 1 is neither a prime number, or a composite number. Ans: there are infinitely many prime numbers (euclid proved it refer to lecture 6) Determining if a number is prime or not. To figure out if a number is a prime number or not, divide the number by prime numbers. Theorem: if a number is composite (let"s call this number n"), then it must be divisible by a prime less than or equal to n. Proof: if n" is composite, then it"s a non-prime number that is greater than 1, and is divisible by multiple prime numbers. Since n" is composite, then n=a b where a,b are positive integers other than 1.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions