A153237 a(n) = A000079(n) - A153130(n).
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
Links
- Harvey P. Dale, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (3,-2,-1,3,-2).
Programs
-
Mathematica
LinearRecurrence[{3,-2,-1,3,-2},{0,0,0,0,9},40] (* Harvey P. Dale, Dec 26 2021 *)
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
Extensions
Definition corrected by Omar E. Pol, Dec 24 2008
Edited by N. J. A. Sloane, Dec 31 2008
Comments