OFFSET
0,2
LINKS
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 806
FORMULA
G.f.: (-x-exp(Sum(-(-1)^(j[1]+1)*x^j[1]/(x^j[1]-1)/j[1], j[1]=1 .. infinity))+exp(Sum(-(-1)^(j[1]+1)*x^j[1]/(x^j[1]-1)/j[1], j[1]=1 .. infinity))*x)/(-1+x)
MAPLE
spec := [S, {C=Sequence(Z, 1 <= card), B=PowerSet(C), S=Union(B, C)}, unlabeled]: seq(combstruct[count](spec, size=n), n=0..67);
Or: with(gfun, seriestolist); seriestolist(series(mul(1+z^i, i=1..81)+z/(1-z), z, 81));
MATHEMATICA
a[n_] := If[n == 0, 1, PartitionsQ[n] + 1];
a /@ Range[0, 55] (* Jean-François Alcover, May 07 2020 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
EXTENSIONS
Edited by Antti Karttunen, Feb 13 2002, based on information received from Bruno Salvy.
STATUS
approved