OFFSET
0,1
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,4048,0,0,0,0,0,-1).
FORMULA
G.f.: -(x^11 - 23*x^10 + 24*x^9 - 119*x^8 + 381*x^7 - 1643*x^6 - 2024*x^5 - 1643*x^4 - 381*x^3 - 119*x^2 - 24*x - 23)/(x^12 - 4048*x^6 + 1). - Vincenzo Librandi, Nov 16 2013
a(n) = 4048*a(n-6) - a(n-12). - Vincenzo Librandi, Nov 16 2013
MATHEMATICA
Numerator[Convergents[Sqrt[567], 30]] (* or *) CoefficientList[Series[-(x^11 - 23 x^10 + 24 x^9 - 119 x^8 + 381 x^7 - 1643 x^6 - 2024 x^5 - 1643 x^4 - 381 x^3 - 119 x^2 - 24 x - 23)/(x^12 - 4048 x^6 + 1), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 16 2013 *)
PROG
(Magma) I:=[23, 24, 119, 381, 1643, 2024, 94747, 96771, 481831, 1542264, 6650887, 8193151]; [n le 12 select I[n] else 4048*Self(n-6)-Self(n-12): n in [1..30]]; // Vincenzo Librandi, Nov 16 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy,less
AUTHOR
STATUS
approved