OFFSET
0,4
FORMULA
E.g.f.: -(1/2)*LambertW(-2/3*exp(-2/3 + 1/3*x)) - 1/3 - x/3. - Vladeta Jovovic, Jun 25 2007
a(n) ~ sqrt(log(3/2)-1/3) * n^(n-1) / (2 * exp(n) * (log(27/8)-1)^n). - Vaclav Kotesovec, Jul 09 2013
MAPLE
spec := [ S, {N=Union(Z, S, P, Q), S=Set(Union(Z, P, Q), card>=2), P=Set(Union(Z, S, Q), card>=2), Q=Set(Union(Z, S, P), card>=2)}, labeled ]; [seq(combstruct[count](spec, size=n), n=0..40)]; # N=A058562, S=A058575
spec:=[S, {S=Set(Union(Z, S, S), card>=2)}, labeled]; [seq(combstruct[count](spec, size=n), n=0..20)]; # Vladeta Jovovic, Jun 25 2007
MATHEMATICA
max = 18; se = Series[ -1/2*ProductLog[ -2/3*Exp[-2/3 + 1/3*x]] - 1/3 - x/3 , {x, 0, max}]; Join[{0, 0}, (CoefficientList[se, x] // DeleteCases[#, 0] &) ]* Range[0, max]! (* Jean-François Alcover, Jun 24 2013, after Vladeta Jovovic *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 26 2000
STATUS
approved