OFFSET
0,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..425
FORMULA
a(n) = Sum_{k=0..n} k!*binomial(n-1,k)*Stirling1(n,k).
E.g.f.: x^2*G'(x)/G(x)^2 where G(x) = Series_Reversion(x/(1 + log(1+x))); see A177380. - Paul D. Hanna, Nov 17 2014
MAPLE
A:= n -> add(k!*binomial(n-1, k)*combinat:-stirling1(n, k), k=0..n):
seq(A(n), n=0..30); # Robert Israel, Nov 17 2014
MATHEMATICA
Table[Sum[StirlingS1[n, k] k! Binomial[n-1, k], {k, 0, n}], {n, 0, 20}] (* Vincenzo Librandi, Nov 17 2014 *)
PROG
(Maxima)
a(n):=sum(k!*binomial(n-1, k)*stirling1(n, k), k, 0, n);
(Magma) [(&+[Factorial(j)*Binomial(n-1, j)*StirlingFirst(n, j): j in [0..n]]): n in [0..20]]; // G. C. Greubel, Mar 08 2023
(SageMath)
def A247075(n): return sum( (-1)^(n-k)*factorial(k)*binomial(n-1, k)*stirling_number1(n, k) for k in range(n+1))
[A247075(n) for n in range(21)] # G. C. Greubel, Mar 08 2023
CROSSREFS
KEYWORD
sign
AUTHOR
Vladimir Kruchinin, Nov 17 2014
STATUS
approved