OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..2401
PROG
(PARI) p=3; print1("3, "); for(n=2, 50, t=p*(p+1)/2; for(k=p, 10^9, u=t+k*(k+1)/2; v=floor(sqrt(2*u)); if(v*(v+1)/2==u, print1(k", "); p=k; break)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 31 2002
EXTENSIONS
Edited by Ralf Stephan, Mar 27 2003
STATUS
approved