OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
A. R. Calderbank and N. J. A. Sloane, Double circulant codes over Z_4, J. Algeb. Combin., 6 (1997) 119-131 (Abstract, pdf, ps).
Index entries for linear recurrences with constant coefficients, signature (2,0,-1,-1,0,2,-1).
FORMULA
a(n) = floor((2*n^3+3*n^2+24*n+18)/18). - Tani Akinari, Jun 26 2013
G.f.: (1+x^2)*(1+x^4) / ( (1+x)*(1+x+x^2)*(x-1)^4 ). - R. J. Mathar, Sep 07 2017
MATHEMATICA
CoefficientList[Series[(1+x^2)(1+x^4)/((1-x)^2*(1-x^2)*(1-x^3)), {x, 0, 40}], x] (* Vincenzo Librandi, Feb 25 2012 *)
LinearRecurrence[{2, 0, -1, -1, 0, 2, -1}, {1, 2, 5, 9, 16, 25, 39}, 40] (* Harvey P. Dale, Nov 19 2024 *)
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
STATUS
approved