Paul Leyland wrote:
On Tue, 2006-01-24 at 03:37, Mike McCarty wrote:
ISTR that there is a polynomial in 26 variables which, when the
various variables take on all integral values, generates only
primes (and 1, IIRC).
You remember incorrectly.
The polynomial in question generates an infinite number of composite
numbers, all negative. Its *positive* values are prime.
Paul
http://mathworld.wolfram.com/Prime-GeneratingPolynomial.html
Yep, it's positive values (as its variables take on nonnegative
integral values) are exactly the primes. I thought that this
one also took on the value 1.
Thanks for the correction.
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime