Idea: when Gauss was a boy (by the dates found on his notes he was approximately 16) he noticed that the primes appear with density around . Then, instead of counting primes and looking at the function , lets weight by the natural density and look at . Since we are weighting by what we think is the density, we expect it to be asymptotic to be . This is the first Chebyshev function.
The second Chebyshev function, denoted by , is defined in terms of the von Mangoldt function:
where
This means that includes all prime powers, not just primes, but weights each one by .
Why Counts Prime Numbers
Although includes powers of primes (), those contribute very little compared to the primes themselves.
Most contributions to the sum come from , i.e., the actual primes.
Higher powers become rare as increases.
Every prime contributes to the sum via , and possibly a smaller number of contributions via .
So, behaves like a smoothed or weighted version of the prime counting function . While simply counts 1 for each prime , counts for each prime and its powers .
It turns out this weighting is exactly what fits analytically with the Riemann zeta function, and is therefore more natural in complex analysis.
In fact, the prime number theorem is often first proved using , because its analytic representation is easier to handle.
Prime number theorem via
The Prime Number Theorem in this formulation states:
That is, the total weight of primes and their powers up to behaves like . Since powers contribute little, this tells us that the primes themselves are distributed with density .
Connection to the Riemann Zeta Function
The Chebyshev function is directly connected to the logarithmic derivative of the Riemann zeta function:
This identity allows us to write as a complex integral via Perron's formula:
This representation is central in explicit formulas that express in terms of the zeros of the Riemann zeta function, making it a key analytic bridge between prime numbers and complex analysis.