OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
let SP(m) be the m-th square pyramidal number m*(m+1)*(2*m+1)/6 and T(k) be the k-th Triangular number k*(k+1)/2 then a(n)=T(SP(n)).
G.f.: x*(1+8*x+21*x^2+10*x^3)/(1-x)^7. [Colin Barker, Apr 30 2012]
EXAMPLE
SP(3)=14 -> a(3)=T(SP(3))=T(14)=105; SP(4)=30 -> a(4)=T(SP(4))=T(30)=465 etc
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Bruce Corrigan (scentman(AT)myfamily.com), Nov 14 2002
STATUS
approved