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,2158,0,0,0,0,0,-1).
FORMULA
G.f.: -(x^10 -x^9 +6*x^8 -13*x^7 +71*x^6 -84*x^5 -71*x^4 -13*x^3 -6*x^2 -x -1) / ((x^4 -13*x^2 +1)*(x^8 +13*x^6 +168*x^4 +13*x^2 +1)). - Colin Barker, Nov 15 2013
a(n) = 2158*a(n-6) - a(n-12). - Vincenzo Librandi, Dec 15 2013
MATHEMATICA
Denominator[Convergents[Sqrt[165], 30]] (* Vincenzo Librandi, Dec 15 2013 *)
PROG
(Magma) I:=[1, 1, 6, 13, 71, 84, 2087, 2171, 12942, 28055, 153217, 181272]; [n le 12 select I[n] else 2158*Self(n-6)-Self(n-12): n in [1..40]]; // Vincenzo Librandi, Dec 15 2013
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 15 2013
STATUS
approved