OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Ira M. Gessel and Yan Zhuang, Counting permutations by alternating descents, arXiv:1408.1886 [math.CO], 2014.
Y. Zhuang, Counting permutations by runs, J. Comb. Theory Ser. A 142 (2016), pp. 147-176.
FORMULA
E.g.f.: (3*sin(x/2)+3*cosh(sqrt(3)*x/2))/(3*cos(x/2)-sqrt(3)*sinh(sqrt(3)*x/2)).
a(n) ~ n! / (2^n * r^(n+1)), where r = 0.649914158110577478699523... is the root of the equation 6*cos(r) - sqrt(3)*exp(sqrt(3)*r) + sqrt(3)*exp(-sqrt(3)*r) = 0. - Vaclav Kotesovec, Aug 29 2014
MATHEMATICA
CoefficientList[Series[(3*Cosh[(Sqrt[3]*x)/2] + 3*Sin[x/2]) / (3*Cos[x/2] - Sqrt[3]*Sinh[(Sqrt[3]*x)/2]), {x, 0, 20}], x] * Range[0, 20]! (* Vaclav Kotesovec, Aug 29 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Aug 11 2014
STATUS
approved