Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

(ichimunki) Re: Prime Number Finder

by ichimunki (Priest)
on Feb 07, 2002 at 19:59 UTC ( #143959=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for($i=$o; $i<=$e; $i++){
    
  2. or download this
    print "2 is prime\n" if $o == 2;
    $o++ if $o % 2;
    for my $i ( $i=$o; $i<=$e; $i+=2 ){
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://143959]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2016-12-07 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (128 votes). Check out past polls.