OFFSET
0,3
COMMENTS
((-1)^(n+1))*a(n) = S_{-8}(n), n>=0, defined in A092184.
LINKS
FORMULA
a(n)= (T(n, 5)-(-1)^n)/6, with Chebyshev's polynomials of the first kind evaluated at x=5: T(n, 5)=A001079(n)=((5+2*sqrt(6))^n + (5-2*sqrt(6))^n)/2.
a(n)= 10*a(n-1)-a(n-2)+2*(-1)^(n+1), n>=2, a(0)=0, a(1)=1.
a(n)= 9*a(n-1) + 9*a(n-2) - a(n-3), n>=3, a(0)=0, a(1)=1, a(2)=8.
G.f.: x*(1-x)/((1+x)*(1-10*x+x^2)) = x*(1-x)/(1-9*x-9*x^2+x^3) (from the Stephan link, see A092184).
a(x)=1/12(2*(-1)^x+(5+2*Sqrt[6])(5-2*Sqrt[6])^x+(5-2*Sqrt[6])(5+2*Sqrt[6])^x). - Harvey P. Dale, Aug 11 2013
a(n-1)+a(n) = A072256(n). - R. J. Mathar, Feb 19 2017
MATHEMATICA
LinearRecurrence[{9, 9, -1}, {0, 1, 8}, 40] (* Harvey P. Dale, Aug 11 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Oct 18 2004
STATUS
approved