Number theory·Elementary·Classification

Prime Number

A prime number is an integer greater than 1 with exactly two positive divisors: 1 and itself.

A prime has no whole-number factors besides 1 and itself.

Number TheoryPrime and composite numbers

What does prime number mean?

The first primes are 2, 3, 5, 7, and 11. The number 2 is the only even prime. Primes are the multiplicative building blocks of positive integers: every integer greater than 1 factors into primes uniquely up to order.

Prime Number examples

Example 1

Is 29 prime?

Answer: Yes

No prime up to √29 (2, 3, or 5) divides 29.

Properties and types

  • 1 is not prime.
  • There are infinitely many primes.
  • Every integer greater than 1 has a unique prime factorization up to ordering.

Where is prime number used?

This concept appears in a range of mathematical and practical settings:

  • Integer factorization
  • Cryptography
  • Number theory

Common misunderstandings

  • Calling 1 prime.
  • Checking only whether a number is odd.

Related tools and learning resources