TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: KURT KUZBA
from: Jasen Betts
date: 1998-07-31 05:49:00
subject: Prime numbers

KK>    I did one using an integer based square root function which
KK>    only checks one less than or one greater than multiples of          
KK>    six, which all primes seem to be for some reason. :)                

 You want to know why?    all the numbers "under" 2,4,&6 in this table
                          are divisible by 2 and all the ones under
  1  2  3  4  5  6        3 and 6 are divisible by 3, this leaves only
  7  8  9  10 11 12       1 and 5 open.  you could possibly use a wider
  13 14 15 16 17 18...    table (30?) and take out multiples of 5 also.

bye.
                        

--- EzyQwk V1.20 01fa018d
* Origin: CSS Brisbane, Qld, Australia. [61-7-3367-3890] (3:640/350)
SEEN-BY: 396/1 622/419 632/371 633/260 267 270 371 634/397 635/506 728
SEEN-BY: 639/252 670/213 218
@PATH: 640/350 201 270/101 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.