Re^2: Error-finding program

Ralf Stephan ralf at ark.in-berlin.de
Wed Nov 1 10:35:28 CET 2006


> The definitions of A026468 and A026469 are
>  a(n) = least positive integer > a(n-1) and not a(i)^2 + a(j)^2 for 1<=i<=j<=n.
> and
>  a(n) = least positive integer > a(n-1) and not a(i)^2 + a(j)^2 for 1<=i<=j<=n.  	
> which looks quite identical. So why can A026468/9 be two different
> sequences? Is there a "not" too much or too little, or rather one of the 
> "less-equal" signs to be corrected to "less" or a starting condition on a(2)
> to be added?

My guess is that Clark started the same algorithm with 1, 2 and then
tried it with starting values 1, 3, so the definition of A026469 should 
be amended with ", starting with 1, 3".


ralf







More information about the SeqFan mailing list