OFFSET
0,2
REFERENCES
A. Sárközy. On the difference sets of sequences of integers II, Ann. Univ. Sci. Budapest. Eotvos Sect. Math. 21(1978), 45-53.
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 0..10000
I. Ruzsa, Difference sets without squares, Period. Math. Hungar. 15 (1984), no. 3, 205-209.
A. Sárközy, On difference sets of sequences of integers I, Acta Mathematica Academiae Scientiarum Hungarica, March 1978, Volume 31, Issue 1, pp 125-149.
A. Sárközy, On difference sets of sequences of integers III, Acta Mathematica Academiae Scientiarum Hungarica, September 1978, Volume 31, Issue 3, pp 355-386.
PROG
(PARI) a030194(upto)={my(a=vector(upto)); a[1]=2; for(n=2, upto, for(m=a[n-1]+1, oo, my(f=1); for(j=1, n, if(ispolygonal(m-a[j], 3), f=0; break)); if(f, a[n]=m; break))); concat([0], a)};
a030194(57) \\ Hugo Pfoertner, Oct 05 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Name edited by Michel Marcus, Oct 05 2020
More terms from Hugo Pfoertner, Oct 05 2020
STATUS
approved