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”).

a(n) = A000079(n) - A153130(n).
3

%I #14 Dec 26 2021 15:36:19

%S 0,0,0,0,9,27,63,126,252,504,1017,2043,4095,8190,16380,32760,65529,

%T 131067,262143,524286,1048572,2097144,4194297,8388603,16777215,

%U 33554430,67108860,134217720,268435449,536870907,1073741823,2147483646

%N a(n) = A000079(n) - A153130(n).

%H Harvey P. Dale, <a href="/A153237/b153237.txt">Table of n, a(n) for n = 0..1000</a>

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (3,-2,-1,3,-2).

%F a(n) = 9 *A153234(n). G.f. 9*x^4 / ( (x-1)*(2*x-1)*(1+x)*(x^2-x+1) ). - _R. J. Mathar_, Dec 17 2012

%t LinearRecurrence[{3,-2,-1,3,-2},{0,0,0,0,9},40] (* _Harvey P. Dale_, Dec 26 2021 *)

%K nonn,easy

%O 0,5

%A _Paul Curtz_, Dec 21 2008

%E Definition corrected by _Omar E. Pol_, Dec 24 2008

%E Edited by _N. J. A. Sloane_, Dec 31 2008