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, 2302, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: (28 +29*x +115*x^2 +259*x^3 +892*x^4 +1151*x^5 +892*x^6 -259*x^7 +115*x^8 -29*x^9 +28*x^10 -x^11)/(1 -2302*x^6 +x^12). - Vincenzo Librandi, Nov 29 2013
a(n) = 2302*a(n-6) - a(n-12). - Vincenzo Librandi, Nov 29 2013
MATHEMATICA
Numerator[Convergents[Sqrt[828], 30]] (* or *) CoefficientList[Series[(28 + 29 x + 115 x^2 + 259 x^3 + 892 x^4 + 1151 x^5 + 892 x^6 - 259 x^7 + 115 x^8 - 29 x^9 + 28 x^10 - x^11)/(1 - 2302 x^6 + x^12), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 29 2013 *)
PROG
(Magma) I:=[28, 29, 115, 259, 892, 1151, 65348, 66499, 264845, 596189, 2053412, 2649601]; [n le 12 select I[n] else 2302*Self(n-6)-Self(n-12): n in [1..30]]; // Vincenzo Librandi, Nov 29 2013
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
STATUS
approved