Well, it is like finding prime numbers using:
Any questions? (Just kidding. I'll give a real answer in a minute if someone hasn't already beat me to it.)my $p= 0; while( 1 ) { print "$p\n" if (1x++$p) !~ /^(..+)\1+$/; }
I believe Abigail deserves credit for that regex, BTW.
- tye (but my friends call me "Tye")In reply to (tye)Re: sum of counts
by tye
in thread sum of counts
by tye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |