|
|
A005535
|
|
Number of semi-regular digraphs (with loops) on n unlabeled nodes with each node having out-degree 3.
(Formerly M5081)
|
|
2
|
|
|
1, 19, 916, 91212, 12888450, 2411213698, 575737451509, 171049953499862, 61944438230597774, 26879022100485977540, 13773587720396658214925, 8231894671550187551622795, 5676740663627528580559535893, 4474748487205893704072253926113
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
3,2
|
|
REFERENCES
|
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
|
|
MATHEMATICA
|
permcount[v_] := Module[{m = 1, s = 0, k = 0, t}, For[i = 1, i <= Length[v], i++, t = v[[i]]; k = If[i > 1 && t == v[[i - 1]], k + 1, 1]; m *= t*k; s += t]; s!/m];
edges[v_, k_] := Product[SeriesCoefficient[Product[g = GCD[v[[i]], v[[j]]]; (1 + x^(v[[j]]/g) + O[x]^(k + 1))^g, {j, 1, Length[v]}], {x, 0, k}], {i, 1, Length[v]}];
a[n_] := Module[{s = 0}, Do[s += permcount[p]*edges[p, 3], {p, IntegerPartitions[n]}]; s/n!];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,nice
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|