DEV Community

Discussion on: A Simple Method To Finding Prime Numbers.

Collapse
 
seanolad profile image
Sean

I updated the post

Collapse
 
thorstenhirsch profile image
Thorsten Hirsch

Unfortunately I‘ve found another non-prime, that should have been prime according to your new algorithm: 299. It‘s a multiple of 13.

Collapse
 
seanolad profile image
Sean

Yeah, I wrote a different method and posted it. The name of the post is Generating Prime Numbers: Reloaded.