OFFSET
0,2
COMMENTS
Old name was: row sums in A154594.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..360
Peter Luschny, Generalized Eulerian polynomials.
FORMULA
E.g.f.: exp(-x)/(2 - exp(-3*x)). (see e.g.f. of row sums of A284861 with x -> -x). - Wolfdieter Lang, Jul 12 2017
a(n) = (-1)^n*Sum_{k=0..n} binomial(n,k)*3^k*A000670(k). - Emanuele Munarini, Dec 05 2020
MATHEMATICA
m = 18; CoefficientList[Exp[-x]/(2 - Exp[-3x]) + O[x]^m, x]*Range[0, m-1]! (* Jean-François Alcover, Jun 19 2019 *)
PROG
(SageMath)
@CachedFunction
def BB(n, k, x): # modified cardinal B-splines
if n == 1: return 0 if (x < 0) or (x >= k) else 1
return x*BB(n-1, k, x) + (n*k-x)*BB(n-1, k, x-k)
def EulerianPolynomial(n, k, x):
if n == 0: return 1
return add(BB(n+1, k, k*m+1)*x^m for m in (0..n))
[(-2)^n*EulerianPolynomial(n, 3, 1/2) for n in (0..17)]
# Peter Luschny, May 04 2013
(Magma)
R<x>:=PowerSeriesRing(Rationals(), 30); Coefficients(R!(Laplace( Exp(-x)/(2 - Exp(-3*x)) ))); // G. C. Greubel, May 27 2024
CROSSREFS
KEYWORD
sign
AUTHOR
Roger L. Bagula, Jan 12 2009
EXTENSIONS
New name and more terms added by Peter Luschny, May 04 2013
STATUS
approved