Few ideas in math feel as simple as a prime number — until you try to explain why the number 1 doesn’t count. A prime number is a natural number greater than 1 that has exactly two divisors: 1 and itself, as defined by Wikipedia (general reference encyclopedia).

Smallest prime number: 2 · Prime numbers under 100: 25 · Prime numbers under 1000: 168 · Only even prime: 2

Quick snapshot

1Confirmed facts
2What’s unclear
  • The exact distribution of primes is not fully understood; the Riemann Hypothesis, concerning the zeros of the zeta function, remains unproven. (Wikipedia (general reference encyclopedia))
  • It is not known whether there are infinitely many twin prime pairs (Wikipedia (general reference encyclopedia)).
  • It is unknown if there are infinitely many Mersenne primes (Wikipedia (general reference encyclopedia)).
3Timeline signal
  • Euclid’s proof of infinite primes (c. 300 BC) remains the foundation of prime number theory (Wikipedia (general reference encyclopedia)).
4What’s next

Four key facts define the prime number landscape:

Fact Value Source
Definition A natural number >1 with only two divisors: 1 and itself. Wikipedia (general reference encyclopedia)
Smallest prime 2 ABC News (Australian public broadcaster)
Only even prime 2 ABC News (Australian public broadcaster)
Primes under 100 25 Wikipedia (general reference encyclopedia)
Primes under 1000 168 Wikipedia (general reference encyclopedia)
Infinite? Yes, proven by Euclid. Wikipedia (general reference encyclopedia)
Unique factorization Every integer >1 has a unique prime factorization (Fundamental Theorem of Arithmetic). Wikipedia (general reference encyclopedia)

What is a prime number in maths?

What exactly is a prime number?

  • A prime number is a natural number greater than 1 that is not a product of two smaller natural numbers, according to Wikipedia (general reference encyclopedia).
  • Equivalently, it has exactly two positive divisors: 1 and itself (Wikipedia (general reference encyclopedia)).
  • In other words, if you try to divide a prime by any number other than 1 or itself, you’ll always get a remainder.

What is a prime number example?

  • The first few prime numbers are 2, 3, 5, 7, and 11 (ABC News (Australian public broadcaster)).
  • All of these numbers cannot be written as a product of two smaller natural numbers (except the trivial 1× itself).
  • For contrast, 4 = 2 × 2, so it is composite, not prime.
The upshot

A prime is a number that only has two friends: 1 and itself. Once you understand that, you’ve unlocked the door to the rest of number theory.

The implication: the definition of a prime is deceptively simple — it’s the “no smaller factors” condition that makes primes so special. Without it, the entire structure of arithmetic would crumble.

Why is 4 not a prime number?

Is 1 a prime number?

  • No: 1 is not prime because it has only one positive divisor, not two, as explained by Wikipedia (general reference encyclopedia).
  • In modern convention, 1 is neither prime nor composite (The Math Doctors (educational math site)).
  • A common reason for excluding 1 is to preserve unique prime factorization — if 1 were prime, numbers could be factorised in infinitely many ways (Math with Bad Drawings (math education blog)).

Why is 2 a prime number?

  • 2 is prime because its only factors are 1 and 2 (ABC News (Australian public broadcaster)).
  • It is the only even prime — any other even number can be divided by 2, so it has at least three factors.
  • Numbers greater than 2 that are even are always composite.

The catch: the exclusion of 1 from the primes is not arbitrary — it’s a deliberate choice that makes the Fundamental Theorem of Arithmetic work. Without it, the neatness of unique factorization disappears.

How to tell if a number is prime?

What is the easy trick to find prime numbers?

  • Check divisibility by primes up to the square root of the number. For example, to test 29, check division by 2, 3, and 5 (since √29 ≈ 5.4, we stop at 5).
  • The Sieve of Eratosthenes is an ancient method for generating all primes up to a limit: write numbers from 2 upward, then cross out multiples of each prime found (Wikipedia (general reference encyclopedia)).
  • Quick trick: after 2 and 3, all primes are of the form 6k ± 1, meaning they are one more or one less than a multiple of 6. But not all numbers of that form are prime (e.g., 25 = 6×4 + 1 is composite).
What to watch

The 6k ± 1 trick is a useful filter, but it’s not a proof. Always verify with trial division up to the square root.

The trade-off: the Sieve of Eratosthenes is fast for small ranges, but for large numbers (like the hundreds-of-digits primes used in RSA), sophisticated algorithms such as the Miller-Rabin test are required.

What is prime number 1 to 20?

What are the prime numbers from 1 to 10?

  • Primes up to 10: 2, 3, 5, 7.
  • Primes up to 20: 2, 3, 5, 7, 11, 13, 17, 19.
  • Pattern: after 2 and 3, all primes are odd and not multiples of 3.
  • Twin primes in this range: (3,5), (5,7), (11,13), (17,19) — pairs of primes that differ by 2.

Why this matters: memorising the primes up to 20 gives a solid foundation for recognising patterns and building intuition. It’s also a common starting point for classroom exercises.

What is a composite number?

What is a co prime number?

  • Composite numbers are positive integers greater than 1 that are not prime — they have more than two factors. For example, 4, 6, 8, 9, 10.
  • Co-prime numbers (or relatively prime numbers) share no common factor other than 1. For instance, 8 and 15 are co-prime, even though 8 is composite and 15 is composite (Wikipedia (general reference encyclopedia)).
  • Relationship between prime and composite: all integers greater than 1 are either prime or composite. The number 1 falls outside both categories.

The pattern: composite numbers can be broken down into prime factors — that’s the link. Co-prime numbers, on the other hand, are about shared factors, not individual primality.

Clarity check

Confirmed facts

  • There are infinitely many primes, proven by Euclid (Wikipedia (general reference encyclopedia)).
  • 2 is the only even prime (ABC News (Australian public broadcaster)).
  • Every integer >1 has a unique prime factorization (Fundamental Theorem of Arithmetic) (Wikipedia (general reference encyclopedia)).
  • 1 is neither prime nor composite (The Math Doctors (educational math site)).

What’s unclear

  • The exact distribution of primes is not fully understood; the Riemann Hypothesis remains unproven.
  • It is not known whether there are infinitely many twin prime pairs (Wikipedia (general reference encyclopedia)).
  • It is unknown if there are infinitely many Mersenne primes (Wikipedia (general reference encyclopedia)).

“Prime numbers are the multiplicative building blocks of the natural numbers.”

Math Stack Exchange (Q&A community for mathematics)

“Modern RSA implementations require primes that are very large, often hundreds of digits long.”

Georgia College & State University (academic paper on RSA)

For students, parents, and anyone curious about math, the choice is clear: prime numbers are not just a classroom curiosity — they are the invisible guardians of every secure transaction you make online. Understanding why 1 is not prime and how to identify primes builds a foundation for appreciating the cryptography that protects your data.

For a more comprehensive explanation, you can refer to this detailed guide on prime numbers that includes a full list from 1 to 100.

Frequently asked questions

What is the Sieve of Eratosthenes?

It’s an ancient algorithm for finding all primes up to a given limit. Write numbers from 2 upward, then repeatedly mark the multiples of each prime starting from 2. The unmarked numbers are primes (Wikipedia (general reference encyclopedia)).

Are negative numbers prime?

No. Prime numbers are defined only for natural numbers (positive integers) greater than 1. Negative numbers are not considered in standard prime number theory.

What is the largest known prime number?

As of early 2025, the largest known prime is 2136279841 − 1, a Mersenne prime with over 41 million digits (Georgia College & State University (academic PDF)).

What are twin primes?

Twin primes are pairs of primes that differ by 2, such as (3,5), (5,7), and (11,13). It is conjectured, but not proven, that there are infinitely many twin primes.

Why are prime numbers important in cryptography?

RSA encryption relies on the fact that multiplying two large primes is easy, but factoring the product back into its prime components is extremely hard. This asymmetry secures online communications (ABC News (Australian public broadcaster)).

Is 0 a prime number?

No. 0 is not a natural number (in the context of prime numbers) and does not have a finite set of divisors. It is excluded from the definition.