OFFSET
1,1
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..341
EXAMPLE
91 = 6*15 + 1, 1081 = 3*10*36 + 1.
PROG
(PARI) upto(lim)={my(v=[1]); for(k=2, oo, my(t=k*(k+1)/2); if(t\3>lim, break); my(s=(lim-1)\t); v=setunion(v, t*select(j->j<=s, v))); [j+1 | j<-v, ispolygonal(j+1, 3)]} \\ Andrew Howroyd, Sep 21 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 05 2003
EXTENSIONS
Corrected and extended by David Wasserman, Nov 19 2004
Offset changed by Andrew Howroyd, Sep 21 2024
STATUS
approved