OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (0,0,64,0,0,1).
FORMULA
G.f.: -(x^4-2*x^3+5*x^2+2*x+1) / (x^6+64*x^3-1). - Colin Barker, Nov 12 2013
a(n) = 64*a(n-3) + a(n-6). - Vincenzo Librandi, Dec 10 2013
MATHEMATICA
Table[Denominator[FromContinuedFraction[ContinuedFraction[Sqrt[41], n]]], {n, 1, 50}] (* Vladimir Joseph Stephan Orlovsky, Mar 21 2011 *)
Denominator[Convergents[Sqrt[41], 30]] (* Vincenzo Librandi, Dec 10 2013 *)
LinearRecurrence[{0, 0, 64, 0, 0, 1}, {1, 2, 5, 62, 129, 320}, 40] (* Harvey P. Dale, Jun 19 2022 *)
PROG
(Magma) I:=[1, 2, 5, 62, 129, 320]; [n le 6 select I[n] else 64*Self(n-3)+Self(n-6): n in [1..30]]; // Vincenzo Librandi, Dec 10 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 12 2013
STATUS
approved