A002031
Number of labeled connected digraphs on n nodes where every node has indegree 0 or outdegree 0 and no isolated nodes.
Original entry on oeis.org
2, 6, 38, 390, 6062, 134526, 4172198, 178449270, 10508108222, 853219059726, 95965963939958, 15015789392011590, 3282145108526132942, 1005193051984479922206, 432437051675617901246918, 261774334771663762228012950, 223306437526333657726283273822
Offset: 2
- N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
-
logtr:= proc(p) local b; b:=proc(n) option remember; local k; if n=0 then 1 else p(n)- add(k *binomial(n,k) *p(n-k) *b(k), k=1..n-1)/n fi end end: digr:= n-> add(binomial(n,k) *(2^k-2)^(n-k), k=0..n): a:= logtr(digr): seq(a(n), n=2..25); # Alois P. Heinz, Sep 14 2008
-
terms = 17; s = Log[Sum[Exp[(2^n - 2)*x]*(x^n/n!), {n, 0, terms+2}]] + O[x]^(terms+2); Drop[CoefficientList[s, x]*Range[0, terms+1]!, 2] (* Jean-François Alcover, Nov 08 2011, after Vladeta Jovovic, updated Jan 12 2018 *)
A002027
Number of connected graphs on n labeled nodes, each node being colored with one of 2 colors, such that no edge joins nodes of the same color.
Original entry on oeis.org
1, 2, 2, 6, 38, 390, 6062, 134526, 4172198, 178449270, 10508108222, 853219059726, 95965963939958, 15015789392011590, 3282145108526132942, 1005193051984479922206, 432437051675617901246918, 261774334771663762228012950, 223306437526333657726283273822
Offset: 0
- R. C. Read, personal communication.
- N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
-
nn=10;f[x_]:=Sum[Sum[Binomial[n,k]2^(k(n-k)),{k,0,n}]x^n/n!,{n,0,nn}];Range[0,nn]!CoefficientList[Series[Log[f[x]]+1,{x,0,nn}],x] (* Geoffrey Critzer, Sep 05 2013 *)
-
seq(n)={Vec(serlaplace(1 + log(serconvol(sum(j=0, n, x^j*2^binomial(j, 2)) + O(x*x^n), (sum(j=0, n, x^j/(j!*2^binomial(j, 2))) + O(x*x^n))^2))))} \\ Andrew Howroyd, Dec 03 2018
A002028
Number of connected graphs on n labeled nodes, each node being colored with one of 3 colors, such that no edge joins nodes of the same color.
Original entry on oeis.org
1, 3, 6, 42, 618, 15990, 668526, 43558242, 4373213298, 677307561630, 162826875512646, 61183069270120842, 36134310487980825258, 33673533885068169649830, 49646105434209446798290206, 116002075479856331220877149042, 430053223599741677879550609246498, 2531493110297317758855120762121050990
Offset: 0
- R. C. Read, personal communication.
- N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
-
f[{k_, r_, m_}]:= Binomial[m+r+k, k] Binomial[m+r, r] 2^(k r +k m + r m);
a = Sum[Total[Map[f, Compositions[n, 3]]] x^n/n!, {n, 0, 20}];
Range[0, 20]! CoefficientList[Series[Log[a]+1, {x, 0, 20}], x] (* Geoffrey Critzer, Jun 02 2011 *)
-
seq(n)={Vec(serlaplace(1 + log(serconvol(sum(j=0, n, x^j*2^binomial(j, 2)) + O(x*x^n), (sum(j=0, n, x^j/(j!*2^binomial(j, 2))) + O(x*x^n))^3))))} \\ Andrew Howroyd, Dec 03 2018
A002029
Number of connected graphs on n labeled nodes, each node being colored with one of 4 colors, such that no edge joins nodes of the same color.
Original entry on oeis.org
1, 4, 12, 132, 3156, 136980, 10015092, 1199364852, 234207001236, 75018740661780, 39745330657406772, 35073541377640231092, 51798833078501480220756, 128412490016744675540378580, 535348496386845235339961362932, 3757366291145650829115977555259252
Offset: 0
- N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
- R. C. Read, personal communication.
-
m = 16;
serconv = (CoefficientList[Sum[x^j*2^Binomial[j, 2], {j, 0, m}] + O[x]^m, x]*CoefficientList[(Sum[x^j/(j!*2^Binomial[j, 2]), {j, 0, m}] + O[x]^m)^4, x]) . x^Range[0, m-1];
CoefficientList[1 + Log[serconv] + O[x]^m, x]*Range[0, m-1]! (* Jean-François Alcover, Sep 04 2019, after Andrew Howroyd *)
-
seq(n)={Vec(serlaplace(1 + log(serconvol(sum(j=0, n, x^j*2^binomial(j, 2)) + O(x*x^n), (sum(j=0, n, x^j/(j!*2^binomial(j, 2))) + O(x*x^n))^4))))} \\ Andrew Howroyd, Dec 03 2018
A002030
Number of connected graphs on n labeled nodes, each node being colored with one of 5 colors, such that no edge joins nodes of the same color.
Original entry on oeis.org
1, 5, 20, 300, 9980, 616260, 65814020, 11878194300, 3621432947180, 1880516646144660, 1678121372919602420, 2590609089652498130700, 6947580541943715645962780, 32448510765823652400410879460, 264301377639329321236008592510820
Offset: 0
- R. C. Read, personal communication.
- N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
-
m = 15;
serconv = (CoefficientList[Sum[x^j*2^Binomial[j, 2], {j, 0, m}] + O[x]^m, x]*CoefficientList[(Sum[x^j/(j!*2^Binomial[j, 2]), {j, 0, m}] + O[x]^m)^5, x]) . x^Range[0, m-1];
CoefficientList[1 + Log[serconv] + O[x]^m, x]*Range[0, m-1]! (* Jean-François Alcover, Sep 04 2019, after Andrew Howroyd *)
-
seq(n)={Vec(serlaplace(1 + log(serconvol(sum(j=0, n, x^j*2^binomial(j, 2)) + O(x*x^n), (sum(j=0, n, x^j/(j!*2^binomial(j, 2))) + O(x*x^n))^5))))} \\ Andrew Howroyd, Dec 03 2018
Showing 1-5 of 5 results.
Comments