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
a(n) = 286*a(n-4)-a(n-8). - Vincenzo Librandi, Nov 01 2013
G.f.: (11 +12*x +131*x^2 +143*x^3 +131*x^4 -12*x^5 +11*x^6 -x^7) / (1 -286*x^4 +x^8). [Bruno Berselli, Nov 01 2013]
MATHEMATICA
Numerator[Convergents[Sqrt[142], 30]] (* Vincenzo Librandi, Oct 31 2013 *)
PROG
(Magma) I:=[11, 12, 131, 143, 3277, 3420, 37477, 40897]; [n le 8 select I[n] else 286*Self(n-4)-Self(n-8): n in [1..25]]; // Vincenzo Librandi, Nov 01 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved