login
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