OFFSET
0,2
FORMULA
a(n) = Sum_{k=0..n} (Product_{j=0..k-1} (5*j+2)) * |Stirling1(n,k)|.
a(0) = 1; a(n) = Sum_{k=1..n} (5 - 3*k/n) * (k-1)! * binomial(n,k) * a(n-k).
MATHEMATICA
a[n_] := Sum[Product[5*j + 2, {j, 0, k - 1}] * Abs[StirlingS1[n, k]], {k, 0, n}]; Array[a, 18, 0] (* Amiram Eldar, Sep 10 2023 *)
PROG
(PARI) a(n) = sum(k=0, n, prod(j=0, k-1, 5*j+2)*abs(stirling(n, k, 1)));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Sep 10 2023
STATUS
approved