OFFSET
0,4
LINKS
G. Nebe, E. M. Rains and N. J. A. Sloane, Self-Dual Codes and Invariant Theory, Springer, Berlin, 2006.
E. M. Rains and N. J. A. Sloane, Self-dual codes, pp. 177-294 of Handbook of Coding Theory, Elsevier, 1998 (Abstract, pdf, ps).
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
Molien series is (1+x^10+x^20)/((1-x^2)*(1-x^6)).
a(n) = n - 3 for n > 7. [Charles R Greathouse IV, Oct 27 2011]
MATHEMATICA
CoefficientList[Series[(1+x^5+x^10)/((1-x)*(1-x^3)), {x, 0, 80}], x] (* or *) LinearRecurrence[{2, -1}, {1, 1, 1, 2, 2, 3, 4, 4, 5}, 80] (* Harvey P. Dale, Oct 11 2015 *)
PROG
(PARI) a(n)=if(n>7, n-3, [1, 1, 1, 2, 2, 3, 4, 4][n+1]) \\ Charles R Greathouse IV, Oct 27 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 06 2004
STATUS
approved
