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, 17674, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: (31 + 63*x + 94*x^2 + 2883*x^3 + 2977*x^4 + 8837*x^5 + 2977*x^6 - 2883*x^7 + 94*x^8 - 63*x^9 + 31*x^10 - x^11)/(1 - 17674*x^6 + x^12). - Vincenzo Librandi, Dec 09 2013
a(n) = 17674*a(n-6) - a(n-12). - Vincenzo Librandi, Dec 09 2013
MATHEMATICA
Numerator[Convergents[Sqrt[982], 30]] (* or *) CoefficientList[Series[(31 + 63 x + 94 x^2 + 2883 x^3 + 2977 x^4 + 8837 x^5 + 2977 x^6 - 2883 x^7 + 94 x^8 - 63 x^9 + 31 x^10 - x^11)/(1 - 17674 x^6 + x^12), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 09 2013 *)
PROG
(Magma) I:=[31, 63, 94, 2883, 2977, 8837, 550871, 1110579, 1661450, 50954079, 52615529, 156185137]; [n le 12 select I[n] else 17674*Self(n-6)-Self(n-12): n in [1..30]]; // Vincenzo Librandi, Dec 09 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Dec 09 2013
STATUS
approved