OFFSET
0,2
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, 5326, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: -(x^10-5*x^9+6*x^8-17*x^7+23*x^6-132*x^5-23*x^4-17*x^3-6*x^2-5*x-1) / (x^12-5326*x^6+1). - Colin Barker, Nov 24 2013
a(n) = 5326*a(n-6) - a(n-12) for n>11. - Vincenzo Librandi, Dec 24 2013
MATHEMATICA
Denominator[Convergents[Sqrt[407], 40]] (* Harvey P. Dale, Jul 13 2012 *)
CoefficientList[Series[-(x^10 - 5 x^9 + 6 x^8 - 17 x^7 + 23 x^6 - 132 x^5 - 23 x^4 - 17 x^3 - 6 x^2 - 5 x - 1)/(x^12 - 5326 x^6 + 1), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 24 2013 *)
PROG
(Magma) I:=[1, 5, 6, 17, 23, 132, 5303, 26647, 31950, 90547, 122497, 703032]; [n le 12 select I[n] else 5326*Self(n-6)-Self(n-12): n in [1..50]]; // Vincenzo Librandi, Dec 24 2013
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
STATUS
approved