Share your repls and programming experiences

← Back to all posts
#WEEKLY 6
h
Coder100 (16757)

Prime Numbers

1 is not a prime number

About

I think I worked too hard on this. Basically it's a prime number sieve up to that number and then checking if any numbers inside are found inside the input. I think I worked too hard on the design. I also golfed the code in golf.js.

Fun Fact

I used this tool and while testing, I found that @TheDrone7 forgot to include 137 in the examples. Link here

Screenshots

Enjoy!

Have a great day!

Comments
hotnewtop
Warhawk947 (552)

good job
yours is more readable than mine :)