Prime Number
Context: FIT1058_MOC Β· the multiplicative βatomsβ of Β· defined via proper divisors Β· every integer is a product of primes (proved by strong induction)
Quick Revision
- π― Objective: an integer with no proper divisors β the multiplicative atoms of .
- π¦ Core Components: proper divisor β prime vs composite β existence of prime factorisation.
- β‘ Key Constraint: existence (strong induction) is separate from uniqueness (Fundamental Theorem).
π Core
1. The Definition
- Proper divisor β a divisor neither 1 nor .
- Prime β integer with no proper divisors (); else composite.
- Atoms β indivisible; every positive integer assembles from them.
2. Existence Theorem
- Claim β every integer is a product of primes.
- Strong induction β composite with ; both factor by hypothesis.
- Why strong β can be far below , so all smaller needed.
3. Uniqueness Is Separate
- Existence β this theorem.
- Uniqueness β Fundamental Theorem of Arithmetic (stronger, later).
- excluded β admitting it wrecks unique factorisation.
βοΈ Core Decision Matrix
| Concept | About | Test difficulty |
|---|---|---|
| primality | one number, no proper divisor | harder |
| Coprimality | two numbers, | easy (Euclid) |
| factorisation | product of primes | hardest |
| from primality |
When It Flips: primality is a property of one number; coprimality a relation between two. Testing coprimality is easy; testing primality is harder and factorising harder still β the gap cryptography depends on.
π Exam Execution Trace
Manual Execution Trace
Factoring 84:
| Step / State | smallest prime | ||
|---|---|---|---|
| 0 (Init) | 84 | 2 | 42 |
| 1 | 42 | 2 | 21 |
| 2 | 21 | 3 | 7 |
| 3 | 7 | 7 | 1 |
β οΈ Common Mistakes
- π‘ Existence β uniqueness β this proves a factorisation exists; that it is unique is the Fundamental Theorem, proved separately.
π§ Active Recall
Prove every integer is a product of primes, and why strong induction is needed.
- Hint: Factor into smaller parts.
Answer
- Short answer: Basis ; composite () factors by hypothesis, so does.
- Why: Strong β can be far below , so all smaller must be assumed.
Distinguish "prime" from "coprime" and their test difficulty.
- Hint: One number vs a pair.
Answer
- Short answer: Prime = one integer with no proper divisor; coprime = two integers with (e.g. 21, 25).
- Why: Euclid is easy β coprimality is fast; primality/factorisation are hard.