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”).
%I #10 Feb 10 2020 02:13:50
%S 0,0,8,24,80,240,728,2184,6560,19680,59048,177144,531440,1594320,
%T 4782968,14348904,43046720,129140160,387420488,1162261464,3486784400,
%U 10460353200,31381059608,94143178824,282429536480,847288609440
%N a(n) = A000244(n) - A010684(n).
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,1,-3).
%F O.g.f.: 8*x^2/((1-3*x)*(1-x)*(1+x)). - _R. J. Mathar_, Aug 09 2008
%p 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
%t CoefficientList[Series[8x^2/((1-3x)(1-x)(1+x)),{x,0,30}],x] (* _Harvey P. Dale_, Sep 16 2019 *)
%K nonn
%O 0,3
%A _Paul Curtz_, Aug 02 2008
%E Extended by _R. J. Mathar_, Aug 09 2008