Print primes till 1e9 fast.

Revision en1, by potter, 2022-01-02 14:41:05

I have tried sieve and segmented sieve too but they are slow. Can anyone provide code to print primes till 10^9 FAST?

Python code would be a great help.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English potter 2022-01-02 14:41:05 182 Initial revision (published)