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, 0, 18420, 0, 0, 0, 0, 0, 0, 1).
FORMULA
G.f.: -(x^12 -x^11 +3*x^10 -22*x^9 +157*x^8 -336*x^7 +493*x^6 +336*x^5 +157*x^4 +22*x^3 +3*x^2 +x +1) / (x^14 +18420*x^7 -1). - Colin Barker, Nov 21 2013
a(n) = 18420*a(n-7) + a(n-14) for n>13. - Vincenzo Librandi, Dec 22 2013
MATHEMATICA
Denominator[Convergents[Sqrt[349], 30]] (* Vincenzo Librandi, Dec 22 2013 *)
LinearRecurrence[{0, 0, 0, 0, 0, 0, 18420, 0, 0, 0, 0, 0, 0, 1}, {1, 1, 3, 22, 157, 336, 493, 18084, 18577, 55238, 405243, 2891939, 6189121, 9081060}, 30] (* Harvey P. Dale, Jun 20 2015 *)
PROG
(Magma) I:=[1, 1, 3, 22, 157, 336, 493, 18084, 18577, 55238, 405243, 2891939, 6189121, 9081060]; [n le 14 select I[n] else 18420*Self(n-7)+Self(n-14): n in [1..40]]; // Vincenzo Librandi, Dec 22 2013
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 21 2013
STATUS
approved