login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A141317
a(n) = A000244(n) - A010684(n).
1
0, 0, 8, 24, 80, 240, 728, 2184, 6560, 19680, 59048, 177144, 531440, 1594320, 4782968, 14348904, 43046720, 129140160, 387420488, 1162261464, 3486784400, 10460353200, 31381059608, 94143178824, 282429536480, 847288609440
OFFSET
0,3
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
Sequence in context: A116486 A179609 A241690 * A146534 A180888 A296400
KEYWORD
nonn
AUTHOR
Paul Curtz, Aug 02 2008
EXTENSIONS
Extended by R. J. Mathar, Aug 09 2008
STATUS
approved