OFFSET
1,1
COMMENTS
Two or more triangular numbers in the sum.
Because an oblong number is twice a triangular number, this sequence also gives: the sum of next a(n) positive oblong numbers is an oblong number.
FORMULA
a(n) is the smallest integer k > 1 such that (4*k^3 + 12*s*k^2 + 4*(3*s^2-1)*k)/3 + 1 is a square, where s = 1 + a(1) + a(2) + ... + a(n-1). - Max Alekseyev, Jan 30 2014
EXAMPLE
1+3+6 = 10 is a triangular number, so a(1)=3, then 10+15+21+28+36+45+55 = 210 is a triangular number, seven summands, so a(2)=7.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Alex Ratushnyak, Jul 26 2012
STATUS
approved