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!)
A053588 Number of self-complementary 4-multigraphs on n nodes. 5
1, 1, 3, 16, 121, 1480, 50993, 3279685, 505641590, 152461906778, 103587671805408, 145528904385412088, 442626996609870050404, 2918362542591139744394993, 40446812392580562094804791143, 1260273961234324967695235253182680, 80686628450087709982052029871655471264 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
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_] := Module[{m = 1, s = 0, t, i, k = 0}, 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_] := Sum[If[EvenQ[v[[i]]*v[[j]]], GCD[v[[i]], v[[j]]], 0], {i, 2, Length[v]}, {j, 1, i - 1}] + Sum[If[EvenQ[v[[i]]], 2 Quotient[v[[i]], 4], 0], {i, 1, Length[v]}];
a[n_] := Module[{s = 0}, Do[s += permcount[p]*5^edges[p], {p, IntegerPartitions[n]}]; s/n!];
a /@ Range[1, 20] (* Jean-François Alcover, Sep 22 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) = {sum(i=2, #v, sum(j=1, i-1, if(v[i]*v[j]%2==0, gcd(v[i], v[j])))) + sum(i=1, #v, if(v[i]%2==0, v[i]\4*2))}
a(n) = {my(s=0); forpart(p=n, s+=permcount(p)*5^edges(p)); s/n!} \\ Andrew Howroyd, Sep 17 2018
CROSSREFS
Sequence in context: A351218 A200793 A141625 * A295928 A035352 A159607
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, Jan 19 2000
EXTENSIONS
Terms a(16) 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 19 04:26 EDT 2024. Contains 370952 sequences. (Running on oeis4.)