in reply to RE: Primes
in thread Primes
my$q;$q=sub{print ++$#_,qq()};$_=qq{$[};$,="\n";1while(s{^($[)}{$1$1}mo&&(@_=m{$[}gom)&&(m{^($[$[+)\1+$}om)?1:&$q);this actually prints all prime numbers ( until you ^c it).
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: RE: RE: Primes
by zodiac (Beadle) on Apr 12, 2000 at 17:42 UTC |