Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: ulam's spiral too slow

by smahesh (Pilgrim)
on Apr 17, 2007 at 03:30 UTC ( [id://610443]=note: print w/replies, xml ) Need Help??


in reply to Re^3: ulam's spiral too slow
in thread ulam's spiral too slow

Excellent. Based on your clarification, one can indeed use the divisibility check on previous computed primes to determine if current $number is prime.

You can learn non-Perl stuff on perlmonks too!! :-)

Thanks, Mahesh

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://610443]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-24 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found