r/computerscience • u/Zizosk • 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?
98
Upvotes
View all comments
Show parent comment
16
u/EatThatPotato Compilers, Architecture, but mostly Compilers and PL Mar 20 '25
Ok cool, I’m very unfamiliar with this field so lets go through this slowly.
What do you mean poor memory scaling? They both have the same O(N) do they not?
Complex to implement is unfortunately not an issue, most people implementing these have no problems doing so.
Although I see you’re 15, so cool stuff. Keep it up, in less than 10 years with the right education you’ll be on the right track