✦
✦
✧
Math · Number Sense & Number Theory
Prime and Composite Numbers
Every whole number bigger than 1 is either prime (exactly two positive factors: 1 and itself) or composite (more than two positive factors). A composite number can be written as a prime factorization, a product of primes that is unique up to the order of the factors.
🪪Prime, composite or neither
Count the positive factors. Exactly two factors → prime. More than two → composite. Compare these with 1, which has only one positive factor. It is neither.
First primes: 2, 3, 5, 7, 11, 13… First composites: 4, 6, 8, 9, 10, 12… And 2 is the only even prime. Every larger even number also has 2 as a factor.
🌳Building a factor tree
Split a composite number into two factors greater than 1. Keep splitting until each branch ends at a prime. The primes at the tips form its prime factorization. Different splits give the same prime factors, possibly in a different order.
The Fundamental Theorem of Arithmetic says that every whole number greater than 1 can be written as a product of primes in exactly one way, apart from the order of the primes. This makes the factorization unique. For 60 the factors are 2 × 2 × 3 × 5.
🧺The Sieve of Eratosthenes
This sieve is named for the ancient Greek scholar Eratosthenes. Start with the numbers from 2 to the chosen limit: circle the smallest unmarked number and cross out its larger multiples. Repeat. The circled numbers are prime.
Ten primes up to 30: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29. Crossing out larger multiples of 2, 3 and 5 eliminates all the composites in this grid. Leave 1 out because it is neither prime nor composite.
🔐 Large primes in computing One security method, RSA, uses a public number commonly made by multiplying two secret primes hundreds of digits long. Multiplying is relatively quick. Recovering those primes from a suitably large product is much harder.
🔑Key Terms
💎Prime NumberA whole number greater than 1 with exactly two factors: 1 and itself. Examples: 2, 3, 5, 7, 11, 13.
🧱Composite NumberA whole number greater than 1 with more than two positive factors. Examples include 4, 6, 9 and 12.
🔩FactorA whole number that divides evenly into another with nothing left over. 3 is a factor of 12 because 12 ÷ 3 = 4 exactly.
🧬Prime FactorizationThe unique list of primes that multiply to make a number. 60 = 2 × 2 × 3 × 5.
🌳Factor TreeA branching diagram that splits a number into two factors over and over until every branch ends at a prime.
🧺Sieve of EratosthenesA method for finding primes up to a chosen number. Starting at 2, circle the next unmarked number and cross out its larger multiples.
🦄UniqueThere is only one prime factorization of a whole number greater than 1 when the order of factors is ignored.
🔺Exponent FormA short way to write repeated multiplication with a small raised counter: 2 × 2 × 2 = 2³.
🏛️Fundamental Theorem of ArithmeticEach whole number greater than 1 has a prime factorization unique up to the order of the factors.
👟MultipleThe result of multiplying a number by a whole number. 12 is a multiple of 3 because 3 × 4 = 12.
🌍Primes in computing and biology
🔒Secure connectionsSome secure connections use RSA to help check who signed a message. Knowing the prime factors of an RSA public modulus would make it possible to reconstruct the private key. Other security methods use different mathematics.
🦗Cicadas in the forestPeriodical cicadas typically emerge after 13 or 17 years. Both are prime. One hypothesis is that these cycles coincide less often with predators on regular 2-, 3- or 4-year cycles.
🌏Eratosthenes and Earth Around 240 BC, he used shadow angles and the distance between two places to estimate Earth’s circumference. The exact comparison with a modern value depends on the ancient unit of distance.
📜In October 2024, researchers announced a new record prime, 2136,279,841 − 1. It has 41,024,320 digits. At about 2,000 digits per page, printing it would take roughly 20,000 pages.
🃏2 is the only even prime. Every even number greater than 2 has at least three positive factors: 1, 2 and the number itself.
📌Checking a factorization
1Count the factors: a prime has exactly two positive factors. A composite has more than two. The number 1 has only one, so it is neither.
2Every composite breaks down into primes, with the same prime factors regardless of how the tree begins.
3The Sieve finds primes by elimination: circle the smallest unmarked number greater than 1 and cross out its larger multiples. Repeat until every number has been considered.
🤔 Think about it
If you kept sieving forever, would you eventually run out of primes? Euclid proved 2,000+ years ago that you never will. Can you imagine an argument for why the primes have to keep going?
One number is 2² × 3 × 5 and another is 2 × 3² × 7. Which primes occur in their product, and how many times does each occur?
⭐
Check the factor tree for 60 by multiplying the primes at its tips. The same number has one prime factorization, even when the factors appear in a different order.
✏️ ClickClass Anchor Chart · Primes, Composites & Prime Factorization: Every Number’s DNA