GodModeKing Posted May 12, 2009 Share Posted May 12, 2009 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 Link to comment Share on other sites More sharing options...
UEZ Posted May 12, 2009 Share Posted May 12, 2009 (edited) 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 russianLook here: http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes or for a overview here: http://en.wikipedia.org/wiki/Primality_testUEZ Edited May 12, 2009 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now