Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Prime Number Finder

by Anonymous Monk
on May 27, 2014 at 21:25 UTC ( #1087582=note: print w/ replies, xml ) Need Help??


in reply to Re: Prime Number Finder
in thread Prime Number Finder

TMTOWTDI :-)

#!/usr/bin/perl s;; ;x; while() { print if (1 x++ $\) !~ m } { $|^(..+)\1+$|^$\$} }


Comment on Re^2: Prime Number Finder
Download Code
Re^3: Prime Number Finder
by lonewolf28 (Acolyte) on Feb 16, 2015 at 05:12 UTC

    Can you please explain you code? I'm a noob, honestly i didn't understand your code but it works fine.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2015-05-06 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (130 votes), past polls