login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A052108 Number of self-complementary 5-multigraphs on n nodes. 1
1, 0, 0, 9, 54, 0, 0, 52650, 1890540, 0, 0, 264480947280, 57127543673760, 0, 0, 1295355012667626301200, 1678780080964997690732640, 0, 0, 6577809875294796334824189267538944 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
REFERENCES
V. Jovovic, On the number of m-place relations (in Russian), Logiko-algebraicheskie konstruktsii, Tver, 1992, 59-66.
J. Xu, Ch. R. Wang, J. F. Wang, The theory of self-complementary k-multigraphs (in Chinese), Pure Appl. Math. [Chuncui Shuxue yu Yingyong Shuxue] 10 (1994), Special Issue, 18-22.
LINKS
D. Wille, Enumeration of self-complementary structures, J. Comb. Theory B 25 (1978) 143-150.
MATHEMATICA
permcount[v_List] := 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_List] := 4 Sum[Sum[GCD[v[[i]], v[[j]]], {j, 1, i - 1}], {i, 2, Length[v]}] + 2 Total[v];
a[n_] := Module[{s = 0}, If[Mod[n, 4] < 2, Do[s += permcount[4*p]* 6^edges[p]*If[OddQ[n], n*6^Length[p], 1], {p, IntegerPartitions[ Quotient[n, 4]]}]]; s/n!];
Array[a, 25] (* Jean-François Alcover, Sep 12 2019, after Andrew Howroyd *)
PROG
(PARI)
permcount(v) = {my(m=1, s=0, k=0, t); for(i=1, #v, t=v[i]; k=if(i>1&&t==v[i-1], k+1, 1); m*=t*k; s+=t); s!/m}
edges(v) = {4*sum(i=2, #v, sum(j=1, i-1, gcd(v[i], v[j]))) + sum(i=1, #v, 2*v[i])}
a(n) = {my(s=0); if(n%4<2, forpart(p=n\4, s+=permcount(4*Vec(p))*6^edges(p)*if(n%2, n*6^#p, 1))); s/n!} \\ Andrew Howroyd, Sep 17 2018
CROSSREFS
Sequence in context: A144040 A336184 A326606 * A209453 A259316 A224484
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, Jan 20 2000
EXTENSIONS
Terms a(21) and beyond from Andrew Howroyd, Sep 17 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 05:02 EDT 2024. Contains 371235 sequences. (Running on oeis4.)