OFFSET
0,2
COMMENTS
Second binomial transform is A093381.
LINKS
FORMULA
a(n)=2-5*0^n+4(2*2^n/3+(-1)^n/3); a(n)=2-5*0^n+4*A001045(n+1).
MATHEMATICA
Block[{$RecursionLimit=1000}, CoefficientList[Series[(1+4x+x^2-10x^3)/((1-x)(1-x-2x^2)), {x, 0, 40}], x]] (* or *) LinearRecurrence[{2, 1, -2}, {1, 6, 14, 22}, 40] (* Harvey P. Dale, Dec 18 2022 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 28 2004
STATUS
approved