OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 13252, 0, 0, 0, -1).
FORMULA
G.f.: -(x^2 -5*x -1)*(x^4 +47*x^2 +1) / (x^8 -13252*x^4 +1). - Colin Barker, Dec 17 2013
a(n) = 13252*a(n-4) - a(n-8) for n>7. - Vincenzo Librandi, Jan 23 2014
MATHEMATICA
Denominator[Convergents[Sqrt[795], 30]] (* Harvey P. Dale, Nov 12 2011 *)
CoefficientList[Series[-(x^2 - 5 x - 1) (x^4 + 47 x^2 + 1)/(x^8 - 13252 x^4 + 1), {x, 0, 25}], x] (* Vincenzo Librandi, Jan 23 2014 *)
PROG
(Magma) I:=[1, 5, 46, 235, 13206, 66265, 609591, 3114220]; [n le 8 select I[n] else 13252*Self(n-4)-Self(n-8): n in [1..30]]; // Vincenzo Librandi, Jan 23 2014
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
Additional term from Colin Barker, Dec 17 2013
STATUS
approved