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?

97 Upvotes

89 comments sorted by

View all comments

Show parent comment

8

u/Mad_Gouki Mar 20 '25

Keep at it! I wrote to Ron Rivest about a method I had come up with to factor the product of two primes when I was your age and didn't know anybody that cared about it to talk to aside from one nerdy friend I had. Ron at least took the time to read it and respond back. Make sure you go to college, I got a published paper on robotics because I stuck with it.

3

u/Zizosk Mar 20 '25

that's crazy, Ron Rivest is a legend in crytography