PrimePi
number of primes less than or equal to n
Who says floating point is no good for integer math ?
this lua module can handle n upto 2^53 ~= 9e+15, and it is FAST
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
Please sign in to use Codespaces.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download Xcode and try again.
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
number of primes less than or equal to n