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,886,0,0,0,0,0,0,1).
FORMULA
G.f.: -(x^12-x^11+3*x^10-4*x^9+7*x^8-18*x^7+25*x^6+18*x^5+7*x^4+4*x^3+3*x^2+x+1) / (x^14+886*x^7-1). - Colin Barker, Nov 19 2013
a(n) = 886*a(n-7) + a(n-14) for n>13. - Vincenzo Librandi, Dec 21 2013
MATHEMATICA
Denominator[Convergents[Sqrt[314], 30]] (* Harvey P. Dale, Aug 08 2013 *)
CoefficientList[Series[-(x^12 - x^11 + 3 x^10 - 4 x^9 + 7 x^8 - 18 x^7 + 25 x^6 + 18 x^5 + 7 x^4 + 4 x^3 + 3 x^2 + x + 1)/(x^14 + 886 x^7 - 1), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 21 2013 *)
PROG
(Magma) I:=[1, 1, 3, 4, 7, 18, 25, 868, 893, 2654, 3547, 6201, 15949, 22150]; [n le 14 select I[n] else 886*Self(n-7)+Self(n-14): n in [1..40]]; // Vincenzo Librandi, Dec 21 2013
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 19 2013
STATUS
approved