OFFSET
1,1
COMMENTS
Each term is the sum of the previous two plus the square of its index.
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-5,1,2,-1).
FORMULA
a(n) = F(n)+sum(i^2; i=1 to n) + sum(F(k)*sum(j^2; j=0 to n-k-1); k=0 to n-3)).
G.f.: x*(x^4-4*x^3+6*x^2-3*x+2)/((1-x-x^2)*(1-x)^3). [corrected by Bruno Berselli, Aug 25 2010 and R. J. Mathar, Oct 18 2010]
Limiting ratio a(n+1)/a(n) = Phi = 1.618038...
a(n) = 2*A022095(n+2)-6*n-13-n^2. [R. J. Mathar, Aug 06 2010]
a(n)-4*a(n-1)+5*a(n-2)-a(n-3)-2*a(n-4)+a(n-5) = 0 with n>5. [Bruno Berselli, Aug 25 2010]
EXAMPLE
a(5) = a(4)+a(3)+5^2 = 16+37+25 = 78.
CROSSREFS
KEYWORD
nonn
AUTHOR
Carmine Suriano, Aug 05 2010
STATUS
approved