OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
R. Sachdeva and A. K. Agarwal, Combinatorics of certain restricted n-color composition functions, Discrete Mathematics, 340, (2017), 361-372. See sequence C_5.
Index entries for linear recurrences with constant coefficients, signature (1,4,0,-1).
MATHEMATICA
CoefficientList[Series[(1+2x)/(1-x-4x^2+x^4), {x, 0, 40}], x] (* or *) LinearRecurrence[ {1, 4, 0, -1}, {1, 3, 7, 19}, 40] (* Harvey P. Dale, Jun 23 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 16 2017
STATUS
approved