OFFSET
2,1
COMMENTS
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.
REFERENCES
See under A005282.
LINKS
Hugo Pfoertner, FORTRAN program to create the Mian-Chowla sequence
Hugo Pfoertner, Illustration of the first 1000 terms..
EXAMPLE
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.
PROG
(Fortran) ! Program available at link. Setting of initial terms has to be modified as indicated in the comment.
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Feb 24 2003
EXTENSIONS
a(27) onward corrected by Sean A. Irvine, Oct 04 2025
STATUS
approved
