OFFSET
2,2
COMMENTS
Here, a cograph is basically a partition of unlabeled edges of the complete graph on n unlabeled vertices. - Andrey Zabolotskiy, Aug 27 2022
LINKS
Robert Haas, Cographs, arXiv:1905.12627 [math.GM], 2019, p. 3, 57.
Robert Haas, Intersection Cographs and Aesthetics, Journal of Humanistic Mathematics, 12 (2022), 4-23.
MATHEMATICA
cycleIndSymm[n_] := cycleIndSymm[n] = CoefficientRules[CycleIndexPolynomial[ SymmetricGroup[n], x /@ Range[n]], x /@ Range[n]];
cycleIndEdge[n_] := cycleIndEdge[n] = CoefficientRules[Sum[Last[t] With[{tt = First[t]}, With[{ind = Flatten@Position[tt, Except[0], Heads -> False]}, Product[x[LCM@@p]^(GCD@@p Times@@tt[[p]]), {p, Subsets[ind, {2}]}] Product[With[{e = tt[[k]]}, x[k]^(k e (e-1)/2 + Quotient[k-1, 2] e) If[EvenQ[k], x[k/2]^e, 1]], {k, ind}]]], {t, cycleIndSymm[n]}], x /@ Range[n (n-1)/2]];
v[n_, m_] := With[{dv = Divisors /@ Range[m]}, Sum[Last[a] With[{ra = Flatten@Position[First@a, Except[0], Heads -> False]}, Sum[Last[b] Product[(dv[[va]].b[[1, dv[[va]]]])^a[[1, va]], {va, ra}], {b, cycleIndSymm[m]}]], {a, cycleIndEdge[n]}]];
a[2] = 1; a[3] = 3;
a[n_] := 1 + v[n, -1 + n (n-1)/2];
Table[a[n], {n, 2, 7}] (* Andrey Zabolotskiy, Feb 06 2024, after Marko Riedel *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Jul 13 2019
EXTENSIONS
a(6)-a(9) from Andrey Zabolotskiy, Aug 27 2022
a(10) from Andrey Zabolotskiy, Feb 06 2024
a(11)-a(12) from Andrey Zabolotskiy, Feb 26 2025
STATUS
approved
