OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,1060,0,0,0,0,0,-1).
FORMULA
a(n) = 1060*a(n-6)-a(n-12). G.f.: -(x^11-7*x^10+8*x^9-23*x^8+169*x^7-361*x^6-530*x^5-361*x^4-169*x^3-23*x^2-8*x-7)/(x^12-1060*x^6+1). [Colin Barker, Jul 18 2012]
MATHEMATICA
Numerator[Convergents[Sqrt[59], 40]] (* or *) LinearRecurrence[ {0, 0, 0, 0, 0, 1060, 0, 0, 0, 0, 0, -1}, {7, 8, 23, 169, 361, 530, 7781, 8311, 24403, 179132, 382667, 561799}, 40] (* Harvey P. Dale, Nov 25 2012 *)
CoefficientList[Series[- (x^11 - 7 x^10 + 8 x^9 - 23 x^8 + 169 x^7 - 361 x^6 - 530 x^5 - 361 x^4 - 169 x^3 - 23 x^2 - 8 x - 7)/(x^12 - 1060 x^6 + 1), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 25 2013 *)
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved