OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,394,0,0,0,0,0,-1).
FORMULA
a(n) = 394*a(n-6)-a(n-12). G.f.: -(x^11 -4*x^10 +5*x^9 -14*x^8 +61*x^7 -136*x^6 -197*x^5 -136*x^4 -61*x^3 -14*x^2 -5*x -4)/(x^12-394*x^6+1). [Colin Barker, Jul 16 2012]
MATHEMATICA
Table[Numerator[FromContinuedFraction[ContinuedFraction[Sqrt[22], n]]], {n, 1, 50}] (* Vladimir Joseph Stephan Orlovsky, Mar 17 2011 *)
CoefficientList[Series[- (x^11 - 4 x^10 + 5 x^9 - 14 x^8 + 61 x^7 - 136 x^6 - 197 x^5 - 136 x^4 - 61 x^3 - 14 x^2 - 5 x - 4)/(x^12 - 394 x^6 + 1), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 22 2013 *)
LinearRecurrence[{0, 0, 0, 0, 0, 394, 0, 0, 0, 0, 0, -1}, {4, 5, 14, 61, 136, 197, 1712, 1909, 5530, 24029, 53588, 77617}, 30] (* Harvey P. Dale, Mar 14 2017 *)
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved