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

A153237
a(n) = A000079(n) - A153130(n).
3
0, 0, 0, 0, 9, 27, 63, 126, 252, 504, 1017, 2043, 4095, 8190, 16380, 32760, 65529, 131067, 262143, 524286, 1048572, 2097144, 4194297, 8388603, 16777215, 33554430, 67108860, 134217720, 268435449, 536870907, 1073741823, 2147483646
OFFSET
0,5
FORMULA
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
MATHEMATICA
LinearRecurrence[{3, -2, -1, 3, -2}, {0, 0, 0, 0, 9}, 40] (* Harvey P. Dale, Dec 26 2021 *)
CROSSREFS
Sequence in context: A374976 A340119 A271990 * A256327 A011923 A029875
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Dec 21 2008
EXTENSIONS
Definition corrected by Omar E. Pol, Dec 24 2008
Edited by N. J. A. Sloane, Dec 31 2008
STATUS
approved