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, 186, 0, 0, 0, 0, 1).
FORMULA
G.f.: -(x^4-3*x^3+4*x^2-2*x+1)*(x^4+2*x^3+4*x^2+3*x+1) / (x^10+186*x^5-1). - Colin Barker, Nov 21 2013
a(n) = 186*a(n-5) + a(n-10) for n>9. - Vincenzo Librandi, Dec 22 2013
MATHEMATICA
Denominator[Convergents[Sqrt[346], 30]] (* Harvey P. Dale, Nov 12 2013 *)
CoefficientList[Series[-(x^4 - 3 x^3 + 4 x^2 - 2 x + 1) (x^4 + 2 x^3 + 4 x^2 + 3 x + 1)/(x^10 + 186 x^5 - 1), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 22 2013 *)
PROG
(Magma) I:=[1, 1, 2, 3, 5, 183, 188, 371, 559, 930]; [n le 10 select I[n] else 186*Self(n-5)+Self(n-10): 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