OFFSET
1,3
LINKS
V. A. Liskovets, Some easily derivable sequences, J. Integer Sequences, 3 (2000), #00.2.2.
FORMULA
a(n) = (A003030(n)+(n-1)!)/2.
MATHEMATICA
b[n_] := b[n] = If[n == 1, 1, 2^(n*(n - 1)) - Sum[Binomial[n, j]*2^((n - 1)*(n - j))*b[j], {j, 1, n - 1}]];
c[1] = 1; c[n_] := c[n] = b[n] + Sum[Binomial[n - 1, j - 1]*b[n - j]*c[j], {j, 1, n - 1}];
a[n_] := (c[n] + (n - 1)!)/2;
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 24 2000
EXTENSIONS
More terms from Vladeta Jovovic, Jul 15 2000
More terms from Jean-François Alcover, Aug 30 2019
STATUS
approved