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,7742,0,0,0,-1).
FORMULA
G.f.: (29 +88*x +1261*x^2 +3871*x^3 +1261*x^4 -88*x^5 +29*x^6 -x^7)/(1 -7742*x^4 +x^8). - Vincenzo Librandi, Nov 30 2013
a(n) = 7742*a(n-4) - a(n-8). - Vincenzo Librandi, Nov 30 2013
MATHEMATICA
Numerator[Convergents[Sqrt[860], 30]] (* Harvey P. Dale, Mar 04 2013 *)
CoefficientList[Series[(29 + 88 x + 1261 x^2 + 3871 x^3 + 1261 x^4 - 88 x^5 + 29 x^6 - x^7)/(1 - 7742 x^4 + x^8), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 30 2013 *)
PROG
(Magma) I:=[29, 88, 1261, 3871, 225779, 681208, 9762691, 29969281]; [n le 8 select I[n] else 7742*Self(n-4)-Self(n-8): n in [1..30]]; // Vincenzo Librandi, Nov 30 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved