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, 0, 0, 10402, 0, 0, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: (30 +31*x +61*x^2 +153*x^3 +979*x^4 +2111*x^5 +3090*x^6 +5201*x^7 +3090*x^8 -2111*x^9 +979*x^10 -153*x^11 +61*x^12 -31*x^13 +30*x^14 -x^15)/(1 -10402*x^8 +x^16). - Vincenzo Librandi, Dec 05 2013
a(n) = 10402*a(n-8) - a(n-16). - Vincenzo Librandi, Dec 05 2013
MATHEMATICA
Numerator[Convergents[Sqrt[936], 30]] (* Harvey P. Dale, Feb 06 2012 *)
CoefficientList[Series[(30 + 31 x + 61 x^2 + 153 x^3 + 979 x^4 + 2111 x^5 + 3090 x^6 + 5201 x^7 + 3090 x^8 - 2111 x^9 + 979 x^10 - 153 x^11 + 61 x^12 - 31 x^13 + 30 x^14 - x^15)/(1 - 10402 x^8 + x^16), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 05 2013 *)
PROG
(Magma) I:=[30, 31, 61, 153, 979, 2111, 3090, 5201, 315150, 320351, 635501, 1591353, 10183619, 21958591, 32142210, 54100801]; [n le 16 select I[n] else 10402*Self(n-8)-Self(n-16): n in [1..30]]; // Vincenzo Librandi, Dec 05 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Dec 05 2013
STATUS
approved