OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,6,-6,0,-1,1).
FORMULA
G.f.: x^2*(152+51*x+376*x^2-88*x^3-17*x^4-88*x^5)/((1-x)*(1-6*x^3+x^6)). - Colin Barker, Aug 04 2012
MATHEMATICA
LinearRecurrence[{1, 0, 6, -6, 0, -1, 1}, {0, 152, 203, 579, 1403, 1692, 3860}, 70]
PROG
(PARI) concat(0, Vec(x^2*(88*x^5+17*x^4+88*x^3-376*x^2-51*x-152)/((x-1)*(x^6-6*x^3+1)) + O(x^100))) \\ Colin Barker, May 18 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Feb 09 2012
STATUS
approved