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, 12998, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: -(x^10 -x^9 +5*x^8 -56*x^7 +229*x^6 -285*x^5 -229*x^4 -56*x^3 -5*x^2 -x -1) / ((x^6 -114*x^3 -1)*(x^6 +114*x^3 -1)). - Colin Barker, Nov 28 2013
a(n) = 12998*a(n-6) - a(n-12) for n>11. - Vincenzo Librandi, Jan 12 2014
MATHEMATICA
Denominator[Convergents[Sqrt[520], 40]] (* Vincenzo Librandi, Jan 12 2014 *)
LinearRecurrence[{0, 0, 0, 0, 0, 12998, 0, 0, 0, 0, 0, -1}, {1, 1, 5, 56, 229, 285, 12769, 13054, 64985, 727889, 2976541, 3704430}, 30] (* Harvey P. Dale, Jan 30 2023 *)
PROG
(Magma) I:=[1, 1, 5, 56, 229, 285, 12769, 13054, 64985, 727889, 2976541, 3704430]; [n le 12 select I[n] else 12998*Self(n-6)-Self(n-12): n in [1..30]]; // Vincenzo Librandi, Jan 12 2014
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 28 2013
STATUS
approved