OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..2400
PROG
(PARI) p=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(v", "); p=k; break)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralf Stephan, Mar 27 2003
STATUS
approved