OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,29698,0,0,0,0,0,-1).
FORMULA
G.f.: -(x^10 -x^9 +15*x^8 -31*x^7 +449*x^6 -480*x^5 -449*x^4 -31*x^3 -15*x^2 -x -1) / ((x^4 -31*x^2 +1)*(x^8 +31*x^6 +960*x^4 +31*x^2 +1)). - Colin Barker, Dec 25 2013
a(n) = 29698*a(n-6) - a(n-12) for n>11. - Vincenzo Librandi, Dec 25 2013
MATHEMATICA
Denominator[Convergents[Sqrt[957], 30]] (* Vincenzo Librandi, Dec 25 2013 *)
PROG
(Magma) I:=[1, 1, 15, 31, 449, 480, 29249, 29729, 445455, 920639, 13334401, 14255040]; [n le 12 select I[n] else 29698*Self(n-6)-Self(n-12): n in [1..40]]; // Vincenzo Librandi, Dec 25 2013
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Dec 25 2013
STATUS
approved