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

A289788
a(n) = (1/2)*A289787(n).
3
1, 6, 31, 156, 785, 3954, 19919, 100344, 505489, 2546430, 12827791, 64620756, 325530881, 1639881066, 8260997855, 41615265264, 209639359969, 1056070674294, 5320018479679, 26799907726860, 135006120168881, 680101314855906, 3426050596003631, 17258932500172776
OFFSET
0,2
FORMULA
G.f.: (1 + x^2)/(1 - 6 x + 6 x^2 - 6 x^3 + x^4).
a(n) = 6*a(n-1) - 6*a(n-2) + 6*a(n-3) - a(n-4).
MATHEMATICA
z = 60; s = 2*x/(1 - x)^2; p = 1 - s - s^2;
Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A005843 *)
u = Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A289787 *)
u/2 (* A289788 *)
CROSSREFS
Sequence in context: A243874 A003463 A026771 * A065096 A077352 A038223
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 10 2017
STATUS
approved