Jump to content
Sign in to follow this  
GodModeKing

Prime Numbers

Recommended Posts

GodModeKing

ok so my idea is an input box that you input a number (limiting it to 3 digits or so) then it will state if it is prim or not so.. how would i go about this?

Sorry my English isn't that great im russian

Share this post


Link to post
Share on other sites
UEZ

ok so my idea is an input box that you input a number (limiting it to 3 digits or so) then it will state if it is prim or not so.. how would i go about this?

Sorry my English isn't that great im russian

Look here: http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes or for a overview here: http://en.wikipedia.org/wiki/Primality_test

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×