Nepedia
Back to Discover
Independent Reader
🔢

Prime-counting function

math Maturity 7-9 Next article →

Prime numbers are special. They are numbers that cannot be split into equal groups. We can count how many primes exist up to a certain number. Math experts use a tool called the prime-counting function to do this.

PrimePi
PrimePi

Counting primes is hard because they do not appear in a simple pattern. For a long time, people tried to guess the count. Two men named Gauss and Legendre made a guess. They thought the count follows a smooth path. This idea is called the prime number theorem.

Prime number theorem ratio convergence
Prime number theorem ratio convergence

In 1896, two men proved this theorem. Jacques Hadamard and Charles de la Vallée Poussin did it. They used a tool called the zeta function. Later, Atle Selberg and Paul Erdős found new ways to prove it.

Riemann Explicit Formula
Riemann Explicit Formula

A man named Bernhard Riemann found an even better way. He made a formula to find the count more closely. He used the zeros of the zeta function to help. This formula shows how the count moves. It helps us see the real path of the primes.

171 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:PrimePi.svg
PrimePi.svg
File:Riemann Explicit Formula.gif
Riemann Explicit Formula.gif
File:Prime number theorem ratio convergence.svg
Prime number theorem ratio convergence.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.