Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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!)

Revision History for A003086

(Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A003086 Number of self-complementary digraphs with n nodes.
(history; published version)
#26 by Charles R Greathouse IV at Mon Feb 20 22:08:38 EST 2023
EXTENSIONS

More terms from Ronald R. C. Read (rcread(AT)math.uwaterloo.ca) and Vladeta Jovovic.

Discussion
Mon Feb 20 22:08
OEIS Server: https://oeis.org/edit/global/2963
#25 by N. J. A. Sloane at Mon Aug 26 08:04:44 EDT 2019
STATUS

reviewed

approved

#24 by Joerg Arndt at Mon Aug 26 08:03:08 EDT 2019
STATUS

proposed

reviewed

#23 by Jean-François Alcover at Mon Aug 26 06:24:27 EDT 2019
STATUS

editing

proposed

#22 by Jean-François Alcover at Mon Aug 26 06:24:19 EDT 2019
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_] := 4 Sum[Sum[GCD[v[[i]], v[[j]]], {j, 1, i - 1}], {i, 2, Length[v]}] + Sum[2 v[[i]] - 1, {i, 1, Length[v]}];

a[n_] := (s = 0; Do[s += permcount[2 p]*2^edges[p]*If[OddQ[n], n *4^Length[p], 1], {p, IntegerPartitions[n/2 // Floor]}]; s/n!);

Array[a, 16] (* Jean-François Alcover, Aug 26 2019, after Andrew Howroyd *)

STATUS

approved

editing

#21 by Peter Luschny at Sun Sep 16 16:50:09 EDT 2018
STATUS

proposed

approved

#20 by Andrew Howroyd at Sun Sep 16 13:35:50 EDT 2018
STATUS

editing

proposed

#19 by Andrew Howroyd at Sun Sep 16 12:54:44 EDT 2018
LINKS

Andrew Howroyd, <a href="/A003086/b003086.txt">Table of n, a(n) for n = 1..80</a>

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]-1)}

a(n) = {my(s=0); forpart(p=n\2, s+=permcount(2*Vec(p))*2^edges(p)*if(n%2, n*4^#p, 1)); s/n!} \\ Andrew Howroyd, Sep 16 2018

CROSSREFS

Cf. A000171, A002785.

AUTHOR

_N. J. A. Sloane_._

STATUS

approved

editing

#18 by R. J. Mathar at Fri Jun 14 04:09:45 EDT 2013
STATUS

editing

approved

#17 by R. J. Mathar at Fri Jun 14 04:09:41 EDT 2013
EXTENSIONS

More terms from R. C. Read (rcread(AT)math.uwaterloo.ca) and _Vladeta Jovovic (vladeta(AT)eunet.rs)._.

STATUS

approved

editing

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 August 17 21:11 EDT 2024. Contains 375227 sequences. (Running on oeis4.)