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, 11860, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: -(x^10-x^9+3*x^8-76*x^7+155*x^6-231*x^5-155*x^4-76*x^3-3*x^2-x-1) / (x^12-11860*x^6+1). - Colin Barker, Dec 06 2013
MAPLE
convert(sqrt(659), confrac, 30, cvgts): denom(cvgts); # Wesley Ivan Hurt, Dec 07 2013
MATHEMATICA
Denominator[Convergents[Sqrt[659], 30]] (* Vincenzo Librandi, Jan 19 2014 *)
LinearRecurrence[{0, 0, 0, 0, 0, 11860, 0, 0, 0, 0, 0, -1}, {1, 1, 3, 76, 155, 231, 11705, 11936, 35577, 901361, 1838299, 2739660}, 30] (* Harvey P. Dale, Dec 18 2022 *)
PROG
(Magma) I:=[1, 1, 3, 76, 155, 231, 11705, 11936, 35577, 901361, 1838299, 2739660]; [n le 12 select I[n] else 11860*Self(n-6)-Self(n-12): n in [1..40]]; // Vincenzo Librandi, Jan 19 2014
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Dec 06 2013
STATUS
approved