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, 6964, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: -(x^10-x^9+3*x^8-58*x^7+119*x^6-177*x^5-119*x^4-58*x^3-3*x^2-x-1) / (x^12-6964*x^6+1). - Colin Barker, Nov 23 2013
a(n) = 6964*a(n-6) - a(n-12) for n>11. - Vincenzo Librandi, Dec 23 2013
MATHEMATICA
Denominator[Convergents[Sqrt[387], 30]] (* Vincenzo Librandi, Dec 23 2013 *)
PROG
(Magma) I:=[1, 1, 3, 58, 119, 177, 6845, 7022, 20889, 403913, 828715, 1232628]; [n le 12 select I[n] else 6964*Self(n-6)-Self(n-12): n in [1..40]]; // Vincenzo Librandi, Dec 23 2013
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 23 2013
STATUS
approved