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, 902, 0, -1).
FORMULA
G.f.: -(x^3-30*x^2-451*x-30) / ((x^2-30*x-1)*(x^2+30*x-1)). - Colin Barker, Nov 09 2013
a(n) = 902*a(n-2) - a(n-4). - Vincenzo Librandi, Dec 03 2013
MATHEMATICA
Numerator[Convergents[Sqrt[904], 30]] (* Vincenzo Librandi, Sep 25 2013 *)
CoefficientList[Series[(30 + 451 x + 30 x^2 - x^3)/(1 - 902 x^2 + x^4), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 03 2013 *)
LinearRecurrence[{0, 902, 0, -1}, {30, 451, 27090, 406801}, 20] (* Harvey P. Dale, Sep 04 2023 *)
PROG
(Magma) I:=[30, 451, 27090, 406801]; [n le 4 select I[n] else 902*Self(n-2)-Self(n-4): n in [1..30]]; // Vincenzo Librandi, Dec 03 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
EXTENSIONS
Additional term from Colin Barker, Nov 09 2013
STATUS
approved