On Mon, 2006-01-23 at 20:42, Bernardo Boncompagni wrote:
> Paul Leyland says:
> 
> > The algorithm: "n:=1; repeat {n:=n+2; output n}" is, I hope you agree, a
> > simple algorithm and generates an infinite number of primes (indeed, all
> > of them bar 2)
> 
> And why do you want to exclude poor 2?
> 
> n:=1; repeat {n:=n+1; output n}

Oh, just for the fun of it.  No other reason.  In reality, of course,
just to make fun of Brian in a harmless manner to point out he made a
silly mistake.  I'm quite certain that he didn't mean what he said.

There are, of course, an infinite number of simple algorithms that
generate an infinite number of primes.


Paul


_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime

Reply via email to