in reply to Primes

Nice, but this does not print "1" to begin. Why? "1" is not a prime number?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Just Another Perl Monk

Replies are listed 'Best First'.
Re: Re: Primes
by gjb (Vicar) on Jun 24, 2003 at 17:27 UTC

    No, 1 is not prime by definition.

    A good source for math info is MathWorld, wonderful site.

    Just my 2 cents, -gjb-