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, 1276, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: (30 +61*x +91*x^2 +152*x^3 +243*x^4 +638*x^5 +243*x^6 -152*x^7 +91*x^8 -61*x^9 +30*x^10 -x^11)/(1 -1276*x^6 +x^12). - Vincenzo Librandi, Dec 04 2013
a(n) = 1276*a(n-6) - a(n-12). - Vincenzo Librandi, Dec 04 2013
MATHEMATICA
Numerator[Convergents[Sqrt[923], 30]] (* or *) CoefficientList[Series[(30 + 61 x + 91 x^2 + 152 x^3 + 243 x^4 + 638 x^5 + 243 x^6 - 152 x^7 + 91 x^8 - 61 x^9 + 30 x^10 - x^11)/(1 - 1276 x^6 + x^12), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 04 2013 *)
PROG
(Magma) I:=[30, 61, 91, 152, 243, 638, 38523, 77684, 116207, 193891, 310098, 814087]; [n le 12 select I[n] else 1276*Self(n-6)-Self(n-12): n in [1..30]]; // Vincenzo Librandi, Dec 04 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Dec 04 2013
STATUS
approved