OFFSET
1,2
FORMULA
E.g.f.: log(1-x)/x/(1-x)+(-(-1+x)*(1+2*x))*log((1-x)^2*(1+x))/(x*(x^2-x-1)*(1-x))+(li[2](x*((1-x)*x+1))-li[2](x))/(1-x)^2.
MATHEMATICA
a[n_] := n! * Sum[1/(m*(Binomial[n - m, m - 1])), {m, 1, Floor[(n + 1)/2]}]; Array[a, 21] (* Amiram Eldar, Nov 25 2022 *)
PROG
(Maxima)
a(n):=n!*sum(1/(m*(binomial(n-m, m-1))), m, 1, floor((n+1)/2));
(PARI) a(n) = n!*sum(m=1, (n+1)\2, 1/(m*binomial(n-m, m-1))); \\ Michel Marcus, Nov 25 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Kruchinin, Nov 25 2022
STATUS
approved