Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My intuition was that there were even fewer primes and there was a greater rate of decrease as the numbers got bigger – but it looks like there are so many! Even at [1, 10,000, 10,000] it seems pretty dense near the bottom, though perhaps less dense.

Apparently the average gap between primes is `log(n)`: https://en.wikipedia.org/wiki/Prime_number_theorem



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: