Prime and composite numbersExtendabout 60 min
Primes in the wild: cicadas, codes and unsolved puzzles
From insect life cycles and online banking to record primes, perfect numbers and problems nobody has solved
Take primes into the world: prime cicada cycles, the prime-based codes behind online payments, Mersenne primes and perfect numbers, Goldbach’s and the twin prime conjectures, Indian mathematicians, other number bases, olympiad puzzles and projects.
In this part you’ll
- Use LCMs to explain why prime life cycles may help periodical cicadas.
- Explain the one-way idea behind prime-based cryptography and its limits.
- Connect Mersenne primes to perfect numbers and classify numbers as perfect, abundant or deficient.
- Describe Goldbach’s conjecture, the twin prime conjecture and other open problems accurately.
- Solve olympiad-style problems using remainders, factor counts and prime factorisations.
You now know what primes are, how to find them, and why they behave as they do. This layer takes them out into the world and to the edge of what anyone knows.
You will see why insects may have evolved prime life cycles, how enormous primes protect the payments you make on a phone, how volunteers with home computers hunt record-breaking primes, and which simple-sounding questions about primes have defeated the greatest mathematicians for centuries. There are olympiad-style puzzles to crack and projects to try. Pick what interests you: this layer is a buffet, not a set menu.
Chapter 01
Why cicadas count in primes
Periodical cicadas of North America spend almost their whole lives underground as nymphs, feeding on sap from tree roots. Then, in one spring, millions crawl out at once, climb trees, sing, mate, lay eggs and die within a few weeks. Some broods do this every 13 years, others every 17 years.
Why primes? One leading idea is about predators. Suppose a predator population booms every few years. A cicada that emerges every 12 years would meet predators on 2-, 3-, 4- and 6-year cycles at every single emergence, because 2, 3, 4 and 6 are all factors of 12. A 13-year cicada shares no factor with any of these, so it lines up with each predator's boom far less often. The table shows how many years pass between meetings (the lowest common multiple of the two cycles).
| Cicada cycle | Predator every 2 yrs | every 3 yrs | every 4 yrs | every 5 yrs | every 6 yrs |
|---|---|---|---|---|---|
| 12 years | 12 | 12 | 12 | 60 | 12 |
| 13 years (prime) | 26 | 39 | 52 | 65 | 78 |
| 14 years | 14 | 42 | 28 | 70 | 42 |
| 15 years | 30 | 15 | 60 | 15 | 30 |
| 16 years | 16 | 48 | 16 | 80 | 48 |
| 17 years (prime) | 34 | 51 | 68 | 85 | 102 |
| 18 years | 18 | 18 | 36 | 90 | 18 |
Try it
Used in
HCF and LCMThe cicada puzzle is an LCM problem: co-prime cycles have the largest possible LCM, their product.
Chapter 02
Primes that guard your money
Every time someone pays with a UPI app, logs in to net banking or buys something online, their phone and the bank's computer must agree on secret keys over the open internet, where anyone might be listening. The mathematics that makes this possible is called public-key cryptography, and one of its most famous forms rests on prime numbers.
The key idea is a one-way street:
- Multiplying two primes is easy. A computer multiplies two 300-digit primes in a tiny fraction of a second. Even by hand, 101 × 103 = 10,403 takes a minute.
- Undoing it, factorising the product to find the two primes, is extremely hard when the primes are huge. Given only 10,403, you have to search for a factor (you would need to try primes up to 101). For a product with 600 digits, no known method on today's computers finishes in any reasonable time.
How a prime-based lock (RSA) works, in outline
- Step 01Pick two huge primessecret
The bank’s computer secretly chooses two random primes, each hundreds of digits long, p and q.
- Step 02Multiply thempublic
It publishes n = p × q as part of its public key. Anyone can see n.
- Step 03Anyone can lockencrypt
Your phone uses n (and another public number) to scramble a message. Scrambling needs only n.
- Step 04Only the owner can unlockdecrypt
Unscrambling needs a secret number that is easy to work out from p and q, but not from n alone.
- Step 05Securityhard problem
To break the lock, a spy must factorise n. With primes this big, that is far beyond today’s computers.
Worked example
0 / 5 steps shownFeel the one-way street
You are told that 9,991 is the product of two primes. Find them.
Chapter 03
Mersenne primes and the hunt for record primes
Numbers of the form 2ⁿ − 1 (multiply 2 by itself n times, then subtract 1) are called Mersenne numbers, after the French friar Marin Mersenne, who studied them in the 1600s. When a Mersenne number is prime, it is a Mersenne prime: 3, 7, 31, 127, 8,191, …
Two facts guide the search:
- If n is composite, 2ⁿ − 1 is composite too. For example 2⁴ − 1 = 15 = 3 × 5 and 2⁶ − 1 = 63 = 7 × 9. So only prime n are worth testing.
- But a prime n is not enough: 2¹¹ − 1 = 2,047 = 23 × 89.
For Mersenne numbers there is a very fast special test, the Lucas–Lehmer test. That is why nearly every record prime of the last 70 years has been a Mersenne prime.
| p | 2ᵖ − 1 | Prime? | Factors if composite |
|---|---|---|---|
| 2 | 3 | Yes | — |
| 3 | 7 | Yes | — |
| 5 | 31 | Yes | — |
| 7 | 127 | Yes | — |
| 11 | 2,047 | No | 23 × 89 |
| 13 | 8,191 | Yes | — |
| 17 | 131,071 | Yes | — |
| 19 | 524,287 | Yes | — |
| 23 | 8,388,607 | No | 47 × 178481 |
Try it
Chapter 04
Perfect numbers
Add up the proper factors of 6 (all its factors except 6 itself): 1 + 2 + 3 = 6. The number equals the sum of its proper factors. The ancient Greeks called such numbers perfect. The next one is 28: 1 + 2 + 4 + 7 + 14 = 28. Then come 496 and 8,128, and then nothing until 33,550,336.
Numbers whose proper factors add up to more than the number, like 12 (1 + 2 + 3 + 4 + 6 = 16), are called abundant. Numbers whose proper factors add up to less, like 8 (1 + 2 + 4 = 7) and every prime (just 1), are called deficient.
The Mersenne link. Euclid proved that whenever 2ᵖ − 1 is prime, the number 2ᵖ⁻¹ × (2ᵖ − 1) is perfect:
- p = 2: 2 × 3 = 6
- p = 3: 4 × 7 = 28
- p = 5: 16 × 31 = 496
- p = 7: 64 × 127 = 8,128
About 2,000 years later, Euler proved that every even perfect number has this form. So each new Mersenne prime gives a new perfect number, and there are exactly as many even perfect numbers known as Mersenne primes.
Lab
Classify numbers as perfect, abundant or deficient by adding their proper factors.
Add each number’s proper factors (all factors except the number). Is it perfect, abundant or deficient?
15 cards, 3 bins. Tap a card, then tap its bin. You can also drag, or press a bin’s number key.
Text version of this activity
This game gives 15 numbers and three bins. For each number, add all its factors except the number itself.
- 6: proper factors add to 6 → perfect
- 8: proper factors add to 7 → deficient
- 12: proper factors add to 16 → abundant
- 13: proper factors add to 1 → deficient
- 15: proper factors add to 9 → deficient
- 18: proper factors add to 21 → abundant
- 20: proper factors add to 22 → abundant
- 25: proper factors add to 6 → deficient
- 28: proper factors add to 28 → perfect
- 30: proper factors add to 42 → abundant
- 36: proper factors add to 55 → abundant
- 45: proper factors add to 33 → deficient
- 49: proper factors add to 8 → deficient
- 496: proper factors add to 496 → perfect
- 945: proper factors add to 975 → abundant
All primes are deficient (their only proper factor is 1). 945 is the smallest odd abundant number.
Chapter 05
Goldbach’s conjecture
In 1742 Christian Goldbach and Leonhard Euler exchanged letters about this idea:
Every even number greater than 2 is the sum of two primes.
4 = 2 + 2, 6 = 3 + 3, 8 = 3 + 5, 10 = 3 + 7 = 5 + 5, 12 = 5 + 7, … and 100 = 3 + 97 = 11 + 89 = 17 + 83 = 29 + 71 = 41 + 59 = 47 + 53.
Computers have checked every even number up to 4 × 10¹⁸ (four million million million). It is true every time. Yet nobody has proved it must be true for all even numbers. It is called Goldbach’s conjecture, and it is one of the most famous unsolved problems in mathematics.
A close cousin, the weak Goldbach conjecture (every odd number greater than 5 is the sum of three primes), was proved in 2013 by the Peruvian mathematician Harald Helfgott. Experts accept his proof, though the full written version is still being prepared for publication.
| Even number | Ways | The pairs |
|---|---|---|
| 4 | 1 | 2 + 2 |
| 6 | 1 | 3 + 3 |
| 8 | 1 | 3 + 5 |
| 10 | 2 | 3 + 7, 5 + 5 |
| 12 | 1 | 5 + 7 |
| 20 | 2 | 3 + 17, 7 + 13 |
| 28 | 2 | 5 + 23, 11 + 17 |
| 50 | 4 | 3 + 47, 7 + 43, 13 + 37, 19 + 31 |
| 60 | 6 | 7 + 53, 13 + 47, 17 + 43, 19 + 41, 23 + 37, 29 + 31 |
| 90 | 9 | 7 + 83, 11 + 79, 17 + 73, 19 + 71, 23 + 67, 29 + 61, … |
| 98 | 3 | 19 + 79, 31 + 67, 37 + 61 |
| 100 | 6 | 3 + 97, 11 + 89, 17 + 83, 29 + 71, 41 + 59, 47 + 53 |
| 210 | 19 | 11 + 199, 13 + 197, 17 + 193, 19 + 191, 29 + 181, 31 + 179, … |
Try it
Chapter 06
The twin prime conjecture and a 2013 breakthrough
Recall the twin prime conjecture: there are infinitely many pairs of primes that differ by 2. It is at least 150 years old in its modern form and still unproved.
For a long time mathematicians could not even prove that there are infinitely many pairs of primes differing by any fixed amount, whether 2 or 1,000 or a billion. Then in 2013, Yitang Zhang, a little-known lecturer at the University of New Hampshire, proved that there are infinitely many pairs of primes that differ by less than 70 million. It was a stunning result from someone who had worked quietly on it for years.
Within months, James Maynard found a different method, and a large online collaboration called Polymath combined the ideas. The gap came down to 246. So we now know that infinitely many pairs of primes differ by 246 or less. Getting from 246 to 2 is the remaining challenge, and experts think it needs a genuinely new idea.
Meanwhile, the largest known twin primes, found in 2016, have 388,342 digits each.
Log scale. "Infinitely many prime pairs differ by at most this much." The conjecture says 2.
- Zhang, May 201370,000,000
- Polymath, 20134,680
- Maynard, Nov 2013600
- Polymath, 2014246
- Twin prime conjecture2 (unproved)
Chapter 07
Indian minds and prime ideas
Explore
Indian mathematicians and prime ideas
Choose a person to see their connection to primes and factors.
- Kumbakonam, Tamil Nadu
- Self-taught
- Letter to Hardy, 1913
- Cambridge
- Highly composite numbers
Ramanujan (1887–1920) filled notebooks with astonishing formulas, many about how numbers split into parts. His 1915 paper on highly composite numbers studied numbers with record numbers of factors, the opposite of primes. He also worked on how primes are spread out; "Ramanujan primes" are named after one of his results. His birthday, 22 December, is celebrated as National Mathematics Day in India.
Chapter 08
Primes in other number systems
Our numbers are written in base ten: each place is worth ten times the one to its right. Other bases are possible. Computers use base two (binary), and many old measuring systems used twelves and sixties.
Being prime does not depend on the base. Thirteen objects cannot be arranged in a rectangle, whether you write the number as 13 (base ten), 1101 (base two) or 11 (base twelve). Primality is about the quantity, not the way it is written.
Divisibility rules do depend on the base. The digit-sum test for 3 and 9 works because ten is one more than nine. In base twelve, the digit-sum test works for eleven (and its factors), because twelve is one more than eleven; and the last-digit test works for 2, 3, 4 and 6, because they all divide twelve. In binary, a number is even exactly when its last digit is 0, just as in base ten a number is a multiple of 10 when it ends in 0.
| Number (base ten) | Base two | Base twelve (A = ten, B = eleven) | Prime? |
|---|---|---|---|
| 7 | 111 | 7 | Yes |
| 12 | 1100 | 10 | No |
| 13 | 1101 | 11 | Yes |
| 23 | 10111 | 1B | Yes |
| 31 | 11111 | 27 | Yes |
| 60 | 111100 | 50 | No |
| 97 | 1100001 | 81 | Yes |
| 144 | 10010000 | 100 | No |
Chapter 09
Olympiad-style puzzles
Worked example
0 / 5 steps shownThree primes in disguise
Find every prime p for which p, p + 10 and p + 14 are all prime.
Worked example
0 / 5 steps shownSquares of primes, minus 1
Show that if p is a prime bigger than 3, then p × p − 1 is always divisible by 24.
Worked example
0 / 5 steps shownZeros at the end of 100!
100! (read "100 factorial") means 1 × 2 × 3 × … × 100. How many zeros does it end with?
Worked example
0 / 4 steps shownThe 100 lockers
A school corridor has 100 closed lockers. Student 1 opens every locker. Student 2 toggles (opens if closed, closes if open) every 2nd locker. Student 3 toggles every 3rd, and so on up to student 100. Which lockers end up open?
Worked example
0 / 4 steps shownThe pandigital prime that cannot exist
Use each of the digits 1 to 9 exactly once to make a nine-digit number. Can the number ever be prime?
Try it
Try it
Lab
Factorise famous numbers: perfect numbers, Carmichael numbers, a failed Mersenne number and a disguised product of two primes.
Key: double green ring = prime leaf · dashed = still to do · thick amber ring = the branch you’re working on.
Choose two numbers that multiply to make 496.
Split 496 into a factor pair:
Wrong tries on this tree: 0
Text version of this activity
This lab gives eight famous numbers to factorise with trees.
- 496 = 2⁴ × 31 (perfect: 2⁴ × (2⁵ − 1))
- 561 = 3 × 11 × 17 (smallest Carmichael number)
- 1,105 = 5 × 13 × 17 (second Carmichael number)
- 1,729 = 7 × 13 × 19 (taxi-cab number, third Carmichael number)
- 2,047 = 23 × 89 (= 2¹¹ − 1, a Mersenne number that is not prime)
- 4,095 = 3² × 5 × 7 × 13 (= 2¹² − 1)
- 8,128 = 2⁶ × 127 (perfect: 2⁶ × (2⁷ − 1))
- 9,991 = 97 × 103 (= 100² − 3²)
For 9,991, spotting 10,000 − 9 saves a long search.
Lab
Flip cards to match famous numbers from this topic with what makes them special.
Match each famous number with the fact that makes it famous.
18 face-down cards hide 9 pairs. Flip two at a time and remember where things are!
Text version of this activity
This memory game hides 18 cards: 9 numbers and 9 facts.
- 1,729: the smallest sum of two cubes in two ways (1³ + 12³ = 9³ + 10³).
- 28: the second perfect number.
- 2,047: 2¹¹ − 1 = 23 × 89, the first Mersenne number with a prime exponent that is not prime.
- 561: the smallest Carmichael number, 3 × 11 × 17.
- 30,031: Euclid’s product-plus-one for the first six primes, which equals 59 × 509.
- 17: years in the longer periodical cicada cycle.
- 1,681 = 41 × 41: where Euler’s formula n × n + n + 41 first fails (n = 40).
- 945: the smallest odd abundant number.
- 246: infinitely many pairs of primes differ by at most 246 (2014).
Chapter 10
Projects to try
Explore
Five prime projects
Choose a project. Each takes an afternoon or a week.
- Squared paper
- Rows of 20 or 30
- Sieve with 2 … 31
- Count 168 primes
Draw 1 to 1,000 on large squared paper. Predict the last prime you need (31, since 37 × 37 is over 1,000). Record how many new numbers each prime crosses out. Try rows of 30: why do the primes line up in just eight columns (1, 7, 11, 13, 17, 19, 23, 29 after the first row)?
Lab
Use the sieve, twin-prime and co-prime modes on a 12-column grid up to 200, and look for the column patterns.
Start by crossing out 1. It has only one factor (itself), so it is not prime.
Legend: circled green with bold number = prime · faded with a slash = crossed out (not prime). We only need to sieve with primes up to √200 ≈ 14.1, because any composite number up to 200 has a factor no bigger than that.
Text version of this activity
This grand lab has three modes on a grid of 1 to 200 in rows of 12.
- Sieve: with 12 columns, after the first row every prime lies in the columns under 1, 5, 7 and 11: the numbers co-prime to 12. The other eight columns contain only multiples of 2 or 3.
- The sieve leaves 46 primes up to 200; composites that look prime include 119, 133, 143, 161, 169 and 187.
- Twins: 15 pairs up to 200; after (3, 5) each pair straddles a multiple of 6, so on this grid the pairs sit in columns 5 and 7, or 11 and 1 of the next row.
- Co-prime: pick 12 as the target and the co-prime numbers are exactly the four prime columns. Pick 30 and only numbers avoiding 2, 3 and 5 light up.
Chapter 11
Careers, open questions and the big picture
People who work with primes and factors today include:
- Cryptographers, who design and test the codes protecting banks, payment systems such as UPI, messaging apps and governments. India’s growing digital public infrastructure needs many of them.
- Cybersecurity analysts, who make sure those codes are used correctly, since most real attacks exploit mistakes rather than the mathematics.
- Number theorists at universities and research institutes such as the Indian Statistical Institute, the Tata Institute of Fundamental Research, the Chennai Mathematical Institute and the IITs.
- Software engineers, who use primes in hashing, random number generators and error-correcting codes that keep data safe on phones and satellites.
- Quantum computing researchers, racing to build machines that could factorise big numbers, and others racing to build codes those machines cannot break.
Contrasts with
Number and shape patternsPrimes famously refuse a simple formula, unlike the sequences in the patterns topic; the Ulam spiral shows glimpses of hidden order.
Related to
ElectricityThe secure codes that protect smart meters and the power grid’s control systems rely on the same kinds of public-key cryptography as online banking.
Related to
Number systemDivisibility rules depend on writing numbers in base ten; change the base and the rules change, though primes stay prime.
Words to know
All maths vocabulary →Words from the frontier
- cryptography
- The science of keeping messages secret and secure.
- public-key cryptography
- A system where anyone can lock a message with a public key but only the owner of a secret key can unlock it.
- Example: RSA
- RSA
- A public-key method (1977) whose security rests on how hard it is to factorise the product of two huge primes.
- Mersenne prime
- A prime of the form 2ᵖ − 1.
- Example: 7, 31, 127, 8,191
- perfect number
- A number equal to the sum of its proper factors.
- Example: 6 = 1 + 2 + 3
- abundant number
- A number whose proper factors add up to more than itself.
- Example: 12 → 16
- deficient number
- A number whose proper factors add up to less than itself. All primes are deficient.
- Example: 8 → 7
- Goldbach’s conjecture
- The unproved claim that every even number above 2 is the sum of two primes.
- Example: 28 = 5 + 23
- Carmichael number
- A composite number that passes Fermat’s shortcut primality check for every base co-prime to it.
- Example: 561
- emirp
- A prime that becomes a different prime when its digits are reversed.
- Example: 13 and 31
- palindromic prime
- A prime that reads the same forwards and backwards.
- Example: 131
- base
- The number of digits a place-value system uses; each place is worth base times the one to its right.
- Example: Binary is base two.
- factorial
- The product of all counting numbers up to n, written n!.
- Example: 5! = 120
- Lucas–Lehmer test
- A fast test for whether a Mersenne number is prime.
- periodical cicada
- An insect that emerges in huge numbers every 13 or 17 years.
Quick check
Frontier check
11 questions · answer what you can, then check. Getting one wrong is useful.
Reflect
This stays on this page only. It isn’t saved or sent anywhere.
Keep this
Cheat sheet: primes in the wild
- Cicadas: 13- and 17-year cycles; co-prime cycles have the largest LCMs, so meetings with predators (and other broods) are rare.
- Cryptography: multiplying huge primes is easy, factorising the product is very hard. RSA (1977) and other number-theory codes protect online payments.
- Mersenne primes: 2ᵖ − 1 with p prime, but not always (2¹¹ − 1 = 23 × 89). Largest known prime (2024): 2¹³⁶²⁷⁹⁸⁴¹ − 1, 41 million digits.
- Perfect numbers: 6, 28, 496, 8,128. Every even one is 2ᵖ⁻¹ × (2ᵖ − 1). No odd one is known.
- Goldbach: every even number above 2 is a sum of two primes? Checked to 4 × 10¹⁸, unproved.
- Twin primes: unproved; but infinitely many prime gaps are at most 246 (Zhang 2013, Maynard, Polymath).
- India: Ramanujan (1,729, highly composite numbers); AKS test at IIT Kanpur (2002); Manjul Bhargava (Fields Medal 2014).
- Bases: primality does not depend on the base; divisibility rules do.
- Puzzle tools: remainders on division by 3, factor pairs, counting prime factors (zeros of 100!), odd factor counts for squares.
Where this comes from
Sources
Periodical cicadas (opens another website) — Wikipediaawaiting owner check
Supports the 13-year and 17-year cycles of Magicicada, the predator and hybridisation hypotheses for prime cycles, and Brood XIII (17-year) and Brood XIX (13-year) emerging together in 2024 for the first time since 1803, overlapping in central Illinois.
List of known Mersenne prime numbers (opens another website) — Great Internet Mersenne Prime Search (GIMPS)awaiting owner check
Supports Mersenne primes of the form 2ⁿ − 1 and the current record: 2^136279841 − 1, 41,024,320 digits, found by Luke Durant on 12 October 2024, the 52nd known Mersenne prime (a provisional rank, as not every smaller candidate has been tested).
prime (opens another website) — Encyclopaedia Britannicaawaiting owner check
Supports the definition of a prime as a positive integer above 1 divisible only by itself and 1, the fundamental theorem of arithmetic (unique prime factorisation) and primes as multiplicative building blocks, and primes being studied in antiquity by Euclid and Eratosthenes.
Twin prime (opens another website) — Wikipediaawaiting owner check
Supports the list of twin primes, the twin prime conjecture being unsolved, Yitang Zhang's 2013 bound below 70 million, its reduction to 246 within a year using Maynard's and Polymath's methods, and the record twin primes with 388,342 digits.
Prime numbers (Pre-algebra: factors and multiples) (opens another website) — Khan Academyawaiting owner check
Supports defining a prime as a number divisible by exactly two natural numbers, 1 and itself; 1 not counting as prime; 2 being the only even prime; and recognising primes by testing for factors (2, 3, 5, 7, 16, 17, 51).
Prime and Composite Numbers (opens another website) — Math is Funawaiting owner check
Supports definitions of prime and composite numbers with examples, the equal-groups/rectangle picture of factors, and 1 being neither prime nor composite.
Ganita Prakash, Class 6, Chapter 5: Prime Time (opens another website) — National Council of Educational Research and Training (NCERT)awaiting owner check
Supports the syllabus scope: common multiples and common factors, prime and composite numbers, the Sieve of Eratosthenes, twin primes, co-prime numbers, prime factorisation (and its uniqueness), and the divisibility tests for 10, 5, 2, 4 and 8.
Goldbach's conjecture (opens another website) — Wikipediaawaiting owner check
Supports the 1742 Goldbach–Euler correspondence, the conjecture being verified by distributed computation up to 4 × 10¹⁸ (T. Oliveira e Silva) yet still unproved, and Harald Helfgott's 2013 work on the weak Goldbach conjecture.
Perfect number (opens another website) — Wikipediaawaiting owner check
Supports the Euclid–Euler theorem (every even perfect number is 2^(p−1)(2^p − 1) for a Mersenne prime 2^p − 1), the one-to-one link with Mersenne primes, and the result that an odd perfect number, if one exists, must exceed 10^1500.
RSA numbers (opens another website) — Wikipediaawaiting owner check
Supports the factoring-challenge records: RSA-250 (250 digits, 829 bits) factored in February 2020 with about 2,700 CPU core-years, RSA-260 (260 digits, 862 bits) factored in September 2026 with about 4,900 GPU-days, and RSA-2048 still unfactored.
AKS primality test (opens another website) — Wikipediaawaiting owner check
Supports the AKS test: announced as "PRIMES is in P" on 6 August 2002 by Manindra Agrawal, Neeraj Kayal and Nitin Saxena of IIT Kanpur; the first deterministic, unconditional, polynomial-time primality test; Gödel and Fulkerson Prizes in 2006.
End of Extend
What you just read
- Use LCMs to explain why prime life cycles may help periodical cicadas.
- Explain the one-way idea behind prime-based cryptography and its limits.
- Connect Mersenne primes to perfect numbers and classify numbers as perfect, abundant or deficient.
- Describe Goldbach’s conjecture, the twin prime conjecture and other open problems accurately.
- Solve olympiad-style problems using remainders, factor counts and prime factorisations.
- Practise79 questionsHints and a worked solution for every question — or play a 10-question round.
- Step backGo deeperGo back over the ground before this one — you can move up and down as often as you like.
- TopicAll of prime and composite numbersThe whole ladder, the connections and the words to know, on one page.
The web
Explore a connection
Builds on
Four operationsTesting whether a number is prime is just careful division: does anything divide it exactly?
Helps you understand
HCF and LCMPrime factorisation is the fastest route to both the HCF and the LCM.
Contrasts with
Number and shape patternsPrimes famously refuse to follow a simple pattern, unlike even numbers, squares or multiples.
Want to save topics or ask for new ones? Invited families can connect a learning device. Everything here stays free to read without signing in.
Revision 1 · release preview-7e1cbbcc4f · accepted 20/09/2026