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, 2752, 0, 0, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: (30 +31*x +61*x^2 +153*x^3 +214*x^4 +581*x^5 +795*x^6 +1376*x^7 +795*x^8 -581*x^9 +214*x^10 -153*x^11 +61*x^12 -31*x^13 +30*x^14 -x^15)/(1 -2752*x^8 +x^16). - Vincenzo Librandi, Dec 05 2013
a(n) = 2752*a(n-8) - a(n-16) - Vincenzo Librandi, Dec 05 2013
MATHEMATICA
Numerator[Convergents[Sqrt[935], 30]] (* or *) CoefficientList[Series[(30 + 31 x + 61 x^2 + 153 x^3 + 214 x^4 + 581 x^5 + 795 x^6 + 1376 x^7 + 795 x^8 - 581 x^9 + 214 x^10 - 153 x^11 + 61 x^12 - 31 x^13 + 30 x^14 - x^15)/(1 - 2752 x^8 + x^16), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 05 2013 *)
PROG
(Magma) I:=[30, 31, 61, 153, 214, 581, 795, 1376, 83355, 84731, 168086, 420903, 588989, 1598881, 2187870, 3786751]; [n le 16 select I[n] else 2752*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