Plot · Running sums
Primes lead early, then lose forever.
March up the whole numbers and keep two totals: everything prime goes in one pile, everything non-prime (1 and the composites) in the other. At the very start the primes are ahead — but the composites pile up faster and faster, and after one early crossover the primes never lead again. Watch where the flip happens, and how small the primes' share of the total eventually gets.
n grows like n/ln n), so the blue total pulls ahead and never gives the lead back. The red line marks the last moment the primes were ahead: n = 7 in this range. Switch to prime share to watch that fraction fall toward zero like 1 / ln n — the running sum of the primes becomes a vanishing sliver of everything.The primes stay ahead only through n = 7; from 8 onward the non-prime total is permanently in front. That's the prime number theorem showing up as arithmetic: the count of primes below n grows like n / ln n, so their sum is about n² / (2 ln n) against n² / 2 for all the numbers — a share that slides toward zero as 1 / ln n. Compare with differences and the comet.