Re: Direct calculation of Primes - Possible?
- From: Volker Birk <bumens@xxxxxxxxxxx>
- Date: 22 Mar 2007 06:40:08 +0100
Chris Mattern <syscjm@xxxxxxxxxxxxxxxxxx> wrote:
Nick, if a method for generating primes directly interests you, I*Snerk*. So it throws out primes, but you don't know if it *only*
suggest you get the book from http://calculateprimes.com and verify for
yourself that it works. It's clear that the algorithm generates primes,
but the questions of whether it generates all primes and only primes remain
to be proven AFIK.
throws out primes, or if it gets all primes. In other words, it's
worthless.
I've a small algorithm, too, which "generates primes, but perhaps
generates not all primes and maybe not only primes":
for (int i=1; i++; )
printf("maybe a prime: %d\n", i);
Hey, it's even better:
it _provably_ generates _all_ primes!!1!11 (Integer overflow? What do
you mean by that? ;-)
SCNR,
VB.
--
"Terror eignet sich mehr als irgendeine andere militärische Strategie dazu,
die Bevölkerung zu manipulieren."
(Dr. Daniele Ganser, 2005)
<http://www.auchdieserschwachsinnmussinsinternet.de/>
.
- Follow-Ups:
- Re: Direct calculation of Primes - Possible?
- From: dave
- Re: Direct calculation of Primes - Possible?
- From: Keith Keller
- Re: Direct calculation of Primes - Possible?
- References:
- Direct calculation of Primes - Possible?
- From: dave
- Re: Direct calculation of Primes - Possible?
- From: *** T. Winter
- Re: Direct calculation of Primes - Possible?
- From: Nick Maclaren
- Re: Direct calculation of Primes - Possible?
- From: dave
- Re: Direct calculation of Primes - Possible?
- From: Chris Mattern
- Direct calculation of Primes - Possible?
- Prev by Date: Re: Direct calculation of Primes - Possible?
- Next by Date: Re: Direct calculation of Primes - Possible?
- Previous by thread: Re: Direct calculation of Primes - Possible?
- Next by thread: Re: Direct calculation of Primes - Possible?
- Index(es):