cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A030194 a(0)=0; a(n) is the smallest m such that m - a(i) is not a triangular number for any i < n.

Original entry on oeis.org

0, 2, 4, 9, 11, 13, 18, 20, 22, 27, 29, 31, 51, 53, 60, 62, 69, 71, 85, 94, 101, 103, 110, 112, 141, 143, 150, 152, 159, 161, 168, 170, 211, 220, 229, 245, 267, 269, 292, 299, 301, 308, 310, 317, 319, 326, 348, 357, 359, 366, 368, 375, 418, 427, 456, 458, 499, 508
Offset: 0

Views

Author

Keywords

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.

Crossrefs

Programs

  • 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

Extensions

Name edited by Michel Marcus, Oct 05 2020
More terms from Hugo Pfoertner, Oct 05 2020
Showing 1-1 of 1 results.