Errors in A068232-A068235

Giovanni Resta g.resta at iit.cnr.it
Mon May 29 19:19:38 CEST 2006


franktaw at netscape.net wrote:

 > These are sequences of the first prime which starts a sequence of n consecutive primes
 > that are congruent to a particular value mod 12.
 >
 > The problem is that the programs (both Mathematica and PARI) assume that a(n+1) > a(n);
 > whereas in fact  it is possible that a(n+1) = a(n).  I haven't done a thorough check,
 > but for A068232, we should have a(8) = a(7) = 7790917.

I do not see what is wrong.

The Mathematica code (not mine) indeed produces the requested repetition
a(7)=a(8)=7790917, which also appear in the sequence.

So, even if I've not checked it, I'm inclined to assume the code is correct,
since it generates the right values.

(I used a C program to extend those sequences, and I think I also checked earlier
entries).

g.





More information about the SeqFan mailing list