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,286,0,0,0,-1).
FORMULA
G.f.: -(x^7 - 23*x^6 + 24*x^5 - 119*x^4 - 143*x^3 - 119*x^2 - 24*x - 23)/(x^8 - 286*x^4 + 1). - Vincenzo Librandi, Nov 16 2013
a(n) = 286*a(n-4) - a(n-8). - Vincenzo Librandi, Nov 16 2013
MATHEMATICA
Numerator[Convergents[Sqrt[568], 30]] (* or *) CoefficientList[Series[-(x^7 - 23 x^6 + 24 x^5 - 119 x^4 - 143 x^3 - 119 x^2 - 24 x - 23)/(x^8 - 286 x^4 + 1), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 16 2013 *)
PROG
(Magma) I:=[23, 24, 119, 143, 6697, 6840, 34057, 40897]; [n le 8 select I[n] else 286*Self(n-4)-Self(n-8): n in [1..30]]; // Vincenzo Librandi, Nov 16 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy,less
AUTHOR
STATUS
approved