login
Smallest non-occurring pairwise difference between the elements of a Mian-Chowla sequence (A005282) variant starting with (1,n).
1

%I #3 Mar 31 2012 10:29:02

%S 33,49,26,15,30,19,44,13,38,50,54,58,44,46,25,20,45,10,13,84,38,15,71,

%T 33,35,54,31,16,57,10,42,26,15,14,33,14,15,32,34,16,25,28,25,16,36,16,

%U 16,25,28,40,16,31,33,28,15,31,15,22,31,33,15,21,49,51,28

%N Smallest non-occurring pairwise difference between the elements of a Mian-Chowla sequence (A005282) variant starting with (1,n).

%C For large n the sequence consists of increasingly long runs of "33", which is the first term of A080200 (the smallest non-occurring difference in A005282), with some interspersed other terms. E.g. for n=100000..100100 we have a(n)=88 for n=100005,100021,100041,100087,100099, a(100072)=98 and otherwise a(n)=33.

%D See under A005282.

%H Hugo Pfoertner, <a href="http://www.randomwalk.de/sequences/a080200.txt">FORTRAN program to create the Mian-Chowla sequence</a>

%H Hugo Pfoertner, <a href="http://www.randomwalk.de/sequences/a080933.pdf">Illustration of the first 1000 terms.</a>.

%e a(2)=33 because the smallest non-occurring pairwise difference between the terms of A005282 (starting with 1,2) is A080200(1)=33. a(3)=49 because the smallest non-occurring pairwise difference between the terms of A051788 (starting with 1,3) is A080201(1)=49. a(4)=26 because the smallest non-occurring pairwise difference between the terms of A058335 (starting with 1,4) is A080932(1)=26.

%o FORTRAN program available at link. Setting of initial terms has to be modified as indicated in the comment.

%Y Cf. A005282, A051788, A058335, A080200, A080201, A080932.

%K nonn

%O 2,1

%A _Hugo Pfoertner_, Feb 24 2003