r/computerscience • • Mar 20 '25

New prime algorithm I just made

Hi, I just published a research paper about a new prime generation algorithm that's alot more memory efficient than the sieve of Eratosthenes, and is faster at bigger numbers from some tests I made. Here's the link to the paper : https://doi.org/10.5281/zenodo.15055003 there's also a github link with the open-source python code, what do you think?

100 Upvotes

89 comments sorted by

View all comments

Show parent comment

15

u/[deleted] Mar 20 '25

Also I reviewed some literature online. It does appear pretty similar to this

https://stackoverflow.com/questions/17892313/sieve-of-eratosthenes-with-wheel-factorization

4

u/Zizosk Mar 20 '25

yeah, i gotta admit it is a bit similar but it lacks some major features like the heap, and also it isn't very clear In my opinion