|
|
A054915
|
|
Number of unlabeled connected graphs with n nodes such that complement is also connected.
|
|
1
|
|
|
1, 0, 0, 1, 8, 68, 662, 9888, 247492, 11427974, 994403266, 163028488360, 50169784370486, 28952819268460634, 31368276315718175152, 63938104521922794457626, 245807799210635120355337360, 1787085725352186477232522962312, 24634233605674730786262294027930520
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
nn = 15; Clear[g, c, a, b]; c[z_] := Sum[a[n] z^n, {n, 1, nn}];
g[z_] := Sum[NumberOfGraphs[n] z^n, {n, 0, nn}]; sol =
SolveAlways[ 0 == Series[g[z] - Product[1/(1 - z^i)^a[i], {i, 1, nn}], {z, 0, nn}], z]; 2*(Flatten[Table[a[n], {n, 1, nn}] /. sol]) - (Drop[
CoefficientList[Series[g[z], {z, 0, nn + 1}], z], 1]) (* Geoffrey Critzer, Aug 12 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|