Prime Numbers List

A prime number is a whole number greater than 1 whose only positive divisors are 1 and itself. The first 200 primes are listed below, generated by the same primality test the Calxy prime factorization calculator uses.

Definition

2 is the only even prime. 1 is not prime, because a prime must have exactly two distinct positive divisors. Numbers greater than 1 that are not prime are composite.

By the fundamental theorem of arithmetic, every integer greater than 1 is a product of primes in exactly one way, apart from the order of the factors. There are infinitely many primes (Euclid).

Sources: OpenStax: Contemporary Mathematics §3.1 Prime and Composite Numbers; NIST Digital Library of Mathematical Functions: DLMF §27.2 Functions of Number Theory (primes)

The first 200 prime numbers

The 200th prime is 1223. The first 168 entries are exactly the primes below 1000, ending at 997.

Primes in rows of ten
#+0+1+2+3+4+5+6+7+8+9
12357111317192329
1131374143475359616771
217379838997101103107109113
31127131137139149151157163167173
41179181191193197199211223227229
51233239241251257263269271277281
61283293307311313317331337347349
71353359367373379383389397401409
81419421431433439443449457461463
91467479487491499503509521523541
101547557563569571577587593599601
111607613617619631641643647653659
121661673677683691701709719727733
131739743751757761769773787797809
141811821823827829839853857859863
151877881883887907911919929937941
16194795396797197798399199710091013
1711019102110311033103910491051106110631069
1811087109110931097110311091117112311291151
1911153116311711181118711931201121312171223

Sources: OEIS Foundation: A000040 The prime numbers

How many primes there are

π(x) counts the primes up to x. The prime number theorem says π(x) is approximately x ÷ ln x for large x.

Prime-counting function π(x)
xπ(x)x ÷ ln x
1044.3
1002521.7
5009580.5
1,000168144.8

References

Frequently asked questions

Is 1 a prime number?

No. A prime has exactly two distinct positive divisors, 1 and itself; 1 has only one. Excluding 1 also keeps prime factorizations unique.

How many prime numbers are there below 1000?

There are 168 primes below 1000; the largest is 997.