OFFSET
0,3
COMMENTS
FORMULA
EXAMPLE
1
1
2
3 1
8 3
22 12
117 37 2
854 182 8
T(4,1) = 8 because we have 6 connected graphs and *-* *-*, and * * * * .
MATHEMATICA
nn = 15; c = (A000088 = Table[NumberOfGraphs[n], {n, 0, nn}]; f[x_] = 1 - Product[1/(1 - x^k)^a[k], {k, 1, nn}]; a[0] = a[1] = a[2] = 1; coes = CoefficientList[Series[f[x], {x, 0, nn}], x]; sol = First[Solve[Thread[Rest[coes + A000088] == 0]]]; Table[a[n], {n, 0, nn}] /. sol); f[list_] := Select[list, # > 0 &]; g = Product[y/(1 - x^n)^c[[n + 1]] - y + 1, {n, 1, nn}]; Map[f, CoefficientList[Series[g, {x, 0, nn}], {x, y}]] // Flatten (* Mma code for c in the above is given by Jean-Francois Alcover in A001349 *)
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Geoffrey Critzer, Apr 19 2012
STATUS
approved