Prime Numbers - Printable Version +- Forums (https://nslazarus.com/old_forum) +-- Forum: Basement (https://nslazarus.com/old_forum/forumdisplay.php?fid=33) +--- Forum: It & Maintenance Department (https://nslazarus.com/old_forum/forumdisplay.php?fid=16) +---- Forum: Archive (https://nslazarus.com/old_forum/forumdisplay.php?fid=215) +----- Forum: Canary Wharf (Under Construction) (https://nslazarus.com/old_forum/forumdisplay.php?fid=206) +------ Forum: Imki Square (https://nslazarus.com/old_forum/forumdisplay.php?fid=130) +------- Forum: Spamtopia (https://nslazarus.com/old_forum/forumdisplay.php?fid=18) +------- Thread: Prime Numbers (/showthread.php?tid=23) |
RE: Prime Numbers - Katie - 06-16-2018 73 RE: Prime Numbers - Ryccia - 06-16-2018 79 RE: Prime Numbers - Katie - 06-16-2018 83 RE: Prime Numbers - Ryccia - 06-16-2018 87 RE: Prime Numbers - Maurizio - 06-17-2018 Ryccia. You have committed the ultimate sin by posting a non-prime number here. 87 is divisible by 3 D: Come on man, we're not even at the big numbers yet. You just have to check for divisibility by 2, 3, 5, and 7 when you're at 87. (Since, to check if a number n is prime, you need to check to make sure that it's not divisible by any prime number up to the square root of n. I know 10^2 is a hundred, so I just need to check all primes smaller than 10, since the square root of 87 must be less than the square root of a hundred.) 89 is, however, prime. RE: Prime Numbers - Ryccia - 06-17-2018 Meh, too lazy to be "sophisticated" or whatever you fancy folks want 97 RE: Prime Numbers - Fauxia - 06-17-2018 101 RE: Prime Numbers - Amerion - 06-17-2018 103 RE: Prime Numbers - Atlantica - 06-17-2018 107 RE: Prime Numbers - Amerion - 06-17-2018 109 |