Is 1 a Prime Number? Why 1 Is Not Prime

Quick answer: No, 1 is not a prime number. A prime number is a whole number greater than 1 with exactly two different positive factors: 1 and itself. The number 1 has only one positive factor, 1, so it is neither prime nor composite. Mathematicians also exclude 1 so that every number has a unique prime factorization. The smallest prime number is 2.

Facts checked November 22, 2026.

Many students, and plenty of adults, guess that 1 is prime because “it can only be divided by 1 and itself.” That sounds right, but in 1’s case “1” and “itself” are the same number. The modern answer is clear: 1 is not prime. Here is the definition, the deeper reason behind it, and the surprising history of how mathematicians settled the question. For the basics, see our lesson on prime numbers.

The Definition of a Prime Number

A prime number is a whole number greater than 1 whose only positive divisors are 1 and itself. Equivalently, a prime has exactly two different positive divisors.

NumberPositive divisorsHow manyType
111Neither (a unit)
21, 22Prime
31, 32Prime
41, 2, 43Composite
51, 52Prime
61, 2, 3, 64Composite
71, 72Prime
91, 3, 93Composite

Is 1 Prime or Composite? Neither

1Prime (example: 2)Composite (example: 4)
Positive factors11, 21, 2, 4
How manyOneExactly twoMore than two
ClassificationNeitherPrimeComposite

The number 1 has only one factor, so it fails the “exactly two” test for primes. It also is not composite, because a composite number has more than two factors. That leaves 1 in a class of its own: mathematicians call it a unit, or the multiplicative identity.

Why Isn’t 1 Prime? The Deeper Reason

The definition is not arbitrary. It protects one of the most important results in all of mathematics, the fundamental theorem of arithmetic: every whole number greater than 1 can be written as a product of primes in exactly one way, apart from the order of the factors. For example,

\[ 60 = 2 \times 2 \times 3 \times 5 = 2^2 \times 3 \times 5. \]

Now imagine 1 were prime. Then 60 would have endless “prime factorizations”:

\[ 60 = 2^2 \times 3 \times 5 = 1 \times 2^2 \times 3 \times 5 = 1 \times 1 \times 2^2 \times 3 \times 5 = \ldots \]

These all equal the same number but list different “prime factors.” Multiplying by 1 never changes a number, so 1 tells you nothing about how a number is built. The theorem could be reworded to say “ignoring factors of 1,” and many other results would need the same patch (“for every prime other than 1…”). Excluding 1 from the primes lets mathematicians state these results cleanly, with no exceptions. The same issue appears with the sieve of Eratosthenes: if 1 were prime, crossing out all its multiples would delete every number.

Wait, Was 1 Ever Considered Prime?

Yes, and that is why the question still feels open to many people. According to a historical survey by Chris Caldwell and Yeng Xiong, ideas about 1 changed several times:

  • Ancient Greece: many Greek thinkers did not treat 1 as a number at all; it was the “unit” from which numbers were built, so it could not be prime.
  • 1700s and 1800s: as 1 became accepted as a number, a number of mathematicians did list it as prime.
  • 1914: D. N. Lehmer published a famous table of primes up to about 10 million that included 1.
  • Early 1900s: even G. H. Hardy, one of the leading mathematicians of his era, began his list of primes with 1 in the first six editions (1908 to 1933) of his textbook A Course of Pure Mathematics, then started at 2 in the seventh edition (1938).
  • Today: as algebra and number theory matured, mathematicians settled on excluding 1, and the modern definition is universal.

So 1 was not “discovered” to be non-prime. Mathematicians refined the definition of a prime to reflect the special role of 1, and that choice has been standard for nearly a century.

Units: The Special Job of 1

In higher mathematics, numbers like 1 and −1, which have multiplicative inverses among the integers, are called units. Units can be multiplied into any factorization without changing the product, which is exactly why they cannot count as primes. In the Gaussian integers (numbers like \(3 + 2i\)), there are four units: \(1, -1, i\) and \(-i\), and the same rule applies.

Quick Facts About Small Primes

  • Is 0 prime? No. Zero has infinitely many divisors, and primes must be greater than 1.
  • Is 2 prime? Yes. It is the smallest prime and the only even prime.
  • What are the first ten primes? 2, 3, 5, 7, 11, 13, 17, 19, 23, 29.
  • How many primes are there? Infinitely many, as Euclid proved more than 2,000 years ago.
  • Largest known prime: \(2^{136{,}279{,}841} – 1\), found by GIMPS in October 2024 and still the record as of November 2026; see the largest known prime number.

Why Primes Matter Today

Primes are not just a classroom topic. The RSA encryption that has protected online banking and shopping for decades is built on the difficulty of factoring a product of two large primes, and unique factorization is the reason that product has only one pair of prime factors to find. See how RSA encryption works.

Common Misconceptions

“1 is prime because it is divisible only by 1 and itself.” A prime needs two different divisors. For 1, both are the same number.

“1 is composite.” No. Composite numbers have more than two divisors. 1 is neither prime nor composite.

“All odd numbers are prime.” No. 9, 15 and 21 are odd and composite.

“2 is not prime because it is even.” 2 has exactly two divisors, 1 and 2, so it is prime. It is the only even one.

Watch: Why 1 Is Not Prime

If you learn better by watching, these videos are worth your time.

1 is NOT Prime – Numberphile (Numberphile). Why 1 was excluded and how unique factorization depends on it.
What are Prime Numbers? | Math with Mr. J (Math with Mr. J). A clear introduction to prime and composite numbers for students.

Check Your Understanding

Five quick questions to see how much of this has stuck. Pick an answer and press Submit; you will see a short explanation either way.

Answer each question and press Submit to see your result right away.

1. Is 1 prime, composite or neither?
Found a bug? Let us know!
2. What is the smallest prime number?
Found a bug? Let us know!
3. Which is an odd composite number?
Found a bug? Let us know!
4. If 1 were prime, which theorem would lose its uniqueness?
Found a bug? Let us know!
5. How many distinct positive factors does 13 have?
Found a bug? Let us know!

Frequently Asked Questions

Is 1 a prime number?

No. A prime number is a whole number greater than 1 with exactly two positive divisors. The number 1 has only one positive divisor, so it is not prime.

Is 1 a composite number?

No. A composite number has more than two positive divisors. The number 1 is neither prime nor composite; mathematicians call it a unit.

Why is 1 not considered prime?

If 1 were prime, every number would have infinitely many prime factorizations, such as 6 = 2 × 3 = 1 × 2 × 3. Excluding 1 keeps prime factorization unique.

Was 1 ever considered a prime number?

Yes. Some mathematicians in the 1700s and 1800s counted 1 as prime, and D. N. Lehmer included it in a 1914 table of primes. The modern convention excludes it.

What is the smallest prime number?

The smallest prime number is 2. It is also the only even prime number.

Keep Exploring

Sources and Further Reading

Related to This Article

What people say about "Is 1 a Prime Number? Why 1 Is Not Prime - Effortless Math"?

No one replied yet.

Leave a Reply