OFFSET
0,1
COMMENTS
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (10,-1).
FORMULA
EXAMPLE
24*a(1)^2 + 25 = 24*21^2+25 = 10609 = 103^2 = A077250(1)^2.
MATHEMATICA
CoefficientList[Series[(z + 2)/(z^2 - 10 z + 1), {z, 0, 200}], z] (* Vladimir Joseph Stephan Orlovsky, Jun 11 2011 *)
LinearRecurrence[{10, -1}, {2, 21}, 40] (* Harvey P. Dale, Apr 08 2012 *)
PROG
(PARI) a(n)=if(n<0, 0, subst(-7*poltchebi(n)+11*poltchebi(n+1), x, 5)/24)
(PARI) a(n)=2*polchebyshev(n, 2, 5)+polchebyshev(n-1, 2, 5) \\ Charles R Greathouse IV, Jun 11 2011
(PARI) Vec((2+x)/(1-10*x+x^2) + O(x^30)) \\ Colin Barker, Jun 15 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Nov 08 2002
STATUS
approved