OFFSET
0,3
LINKS
FORMULA
O.g.f.: 8*x^2/((1-3*x)*(1-x)*(1+x)). - R. J. Mathar, Aug 09 2008
MAPLE
A010684 := proc(n) 1+2*(n mod 2) ; end: A141317 := proc(n) 3^n-A010684(n) ; end: for n from 0 to 50 do printf("%d, ", A141317(n)) ; od: # R. J. Mathar, Aug 09 2008
MATHEMATICA
CoefficientList[Series[8x^2/((1-3x)(1-x)(1+x)), {x, 0, 30}], x] (* Harvey P. Dale, Sep 16 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Curtz, Aug 02 2008
EXTENSIONS
Extended by R. J. Mathar, Aug 09 2008
STATUS
approved