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,4334,0,0,0,0,0,-1).
FORMULA
G.f.: (28 + 29*x + 57*x^2 + 1055*x^3 + 1112*x^4 + 2167*x^5 + 1112*x^6 - 1055*x^7 + 57*x^8 - 29*x^9 + 28*x^10 - x^11)/(1 - 4334*x^6 + x^12). - Vincenzo Librandi, Nov 28 2013
a(n) = 4334*a(n-6) - a(n-12). - Vincenzo Librandi, Nov 28 2013
MATHEMATICA
Numerator[Convergents[Sqrt[813], 30]] (* Harvey P. Dale, Aug 20 2012 *)
CoefficientList[Series[(28 + 29 x + 57 x^2 + 1055 x^3 + 1112 x^4 + 2167 x^5 + 1112 x^6 - 1055 x^7 + 57 x^8 - 29 x^9 + 28 x^10 - x^11)/(1 - 4334 x^6 + x^12), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 28 2013 *)
PROG
(Magma) I:=[28, 29, 57, 1055, 1112, 2167, 122464, 124631, 247095, 4572341, 4819436, 9391777]; [n le 12 select I[n] else 4334*Self(n-6)-Self(n-12): n in [1..30]]; // Vincenzo Librandi, Nov 28 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved