Re: dealing with Prime Numbers

2002-09-17 Thread david
Mark Goland wrote: > Ic...sorry about that, It just didnt work on my XP box, but as I said > great on Solaris. > what is the error message looks like? what version of Perl you have in your XP box? david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: dealing with Prime Numbers

2002-09-17 Thread Janek Schleicher
Angerstein wrote at Mon, 16 Sep 2002 15:10:41 +0200: > Does anyone here have an idea of how to get all prime numbers between 1 and > 1000? > Is there a modul to deal with prime numbers? In the Perl Power Tools (you could e.g. install with perl -MCPAN -e 'install Bundle::PPT') is a little tool t

RE: dealing with Prime Numbers

2002-09-17 Thread Scott Taylor
At 05:55 AM 17/09/2002, Meidling, Keith, CTR, OSD-C3I wrote: >it didn't print anything out on my machine. :-( > >W2K, Activestate Perl 5.6.1 build 633 That's because Windoze is missing a world of goodies (including grep, d'oh!); nothing wrong with that algorithm on any other OS. -- To unsubsc

RE: dealing with Prime Numbers

2002-09-17 Thread Mohd Salman
gt;From: Tanton Gibbs [mailto:[EMAIL PROTECTED]] >Sent: Monday, September 16, 2002 11:36 AM >To: John Almberg; [EMAIL PROTECTED] >Subject: Re: dealing with Prime Numbers > > >Explanation: >This one-liner first rewrites the number as a sequence of ones. For >example, 5 = &

RE: dealing with Prime Numbers

2002-09-17 Thread Meidling, Keith, CTR, OSD-C3I
it didn't print anything out on my machine. :-( W2K, Activestate Perl 5.6.1 build 633 -Original Message- From: Tanton Gibbs [mailto:[EMAIL PROTECTED]] Sent: Monday, September 16, 2002 11:36 AM To: John Almberg; [EMAIL PROTECTED] Subject: Re: dealing with Prime Numbers Explan

Re: dealing with Prime Numbers

2002-09-16 Thread Mark Goland
Ic...sorry about that, It just didnt work on my XP box, but as I said great on Solaris. - Original Message - From: "Nikola Janceski" <[EMAIL PROTECTED]> To: "'Mark Goland'" <[EMAIL PROTECTED]> Sent: Monday, September 16, 2002 1:38 PM Subject: RE