cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A006905 Number of transitive relations on n labeled nodes.

Original entry on oeis.org

1, 2, 13, 171, 3994, 154303, 9415189, 878222530, 122207703623, 24890747921947, 7307450299510288, 3053521546333103057, 1797003559223770324237, 1476062693867019126073312, 1679239558149570229156802997, 2628225174143857306623695576671, 5626175867513779058707006016592954, 16388270713364863943791979866838296851, 64662720846908542794678859718227127212465
Offset: 0

Views

Author

Keywords

References

  • D. Ford and J. McKay, personal communication, 1991.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A000595, A001173, A340264. See A091073 for unlabeled case.

Programs

  • Mathematica
    P = Cases[Import["https://oeis.org/A001035/b001035.txt", "Table"], {, }][[All, 2]];
    a[n_] := Sum[P[[k+1]] Sum[Binomial[n, s] StirlingS2[n-s, k-s], {s, 0, k}], {k, 0, n}];
    a /@ Range[0, 18] (* Jean-François Alcover, Dec 29 2019, after Charles R Greathouse IV *)
    transitive[r_]:=Catch[Do[If[a[[2]]==b[[1]]&&FreeQ[r,{a[[1]],b[[2]]}],Throw[False]],{a,r},{b,r}];True];
    a[n_]:=Count[Subsets[Tuples[Range[n],2]],?transitive]; (* _Juan José Alba González, Jul 04 2022 *)
  • PARI
    \\ P = [1, 1, 3, 19, ...] is A001035, starting from 0.
    a(n)=sum(k=0,n,P[k+1]*sum(s=0,k,binomial(n,s)*stirling(n-s,k-s,2)))
    \\ Charles R Greathouse IV, Sep 05 2011

Formula

E.g.f.: A(x + exp(x) - 1) where A(x) is the e.g.f. for A001035. - Geoffrey Critzer, Jul 28 2014

Extensions

More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Mar 28 2003
a(15)-a(16) from Charles R Greathouse IV, Aug 30 2006
a(17)-a(18) from Charles R Greathouse IV, Sep 05 2011

A079265 Number of antisymmetric transitive binary relations on n unlabeled points.

Original entry on oeis.org

1, 2, 7, 32, 192, 1490, 15067, 198296, 3398105, 75734592, 2191591226, 82178300654, 3984499220967, 249298391641352, 20089200308020179, 2081351202770089728
Offset: 0

Views

Author

N. J. A. Sloane, Feb 16 2003

Keywords

Comments

Also, number of unconstrained mixed models with n factors.

References

  • A. Hess and H. Iyer, Enumeration of mixed linear models and SAS macro for computation of confidence intervals for variance components, presented at Applied Statistics in Agriculture Conference at Kansas State University 2001.

Crossrefs

Cf. A000112 (partial orders), A091073 (transitive relations), A001930 (quasi-orders), A085628 (labeled antisymmetric transitive relations).

Extensions

a(10)-a(12) and new description from Goetz Pfeiffer (goetz.pfeiffer(AT)nuigalway.ie), Jan 21 2004
a(13)-a(15) from Brinkmann's and McKay's paper by Vladeta Jovovic, Jan 04 2006

A174137 Partial sums of A006905.

Original entry on oeis.org

1, 3, 16, 187, 4181, 158484, 9573673, 887796203, 123095499826, 25013843421773, 7332464142932061, 3060854010476035118, 1800064413234246359355, 1477862758280253372432667, 1680717420907850482529235664
Offset: 0

Views

Author

Jonathan Vos Post, Mar 09 2010

Keywords

Comments

Partial sums of number of transitive relations on n labeled nodes. After 3, none of the values shown is prime.

Crossrefs

Formula

a(n) = Sum_{i=0..n} A006905(i).

A296105 a(n) is the number of connected transitive relations over n unlabeled nodes.

Original entry on oeis.org

1, 2, 5, 25, 157, 1325, 14358, 199763, 3549001, 80673244, 2352747542, 88240542454, 4261209044877, 264988507673267, 21207485269909946, 2182146922863398203
Offset: 0

Views

Author

Daniele P. Morelli, Dec 04 2017

Keywords

Comments

Inverse Euler transform of A091073. Here "connected" means that it is possible to reach any vertex starting from any other vertex by traversing edges in some direction, i.e., not necessarily in the direction in which the edges point, as in weakly connected digraphs.

Examples

			a(2) = 5 because there are five connected transitive relations up to isomorphism: a->b with no loops, a->b with a loop on a, a->b with a loop on b, a->b->a with no loops, and a->b->a with loops on both a and b.
		

Crossrefs

Cf. A091073 (all unlabeled transitive relations). For the labeled case, see A245731 (connected labeled transitive relations) and A006905 (all labeled transitive relations).

Programs

  • Mathematica
    A091073 = Cases[Import["https://oeis.org/A091073/b091073.txt", "Table"], {, }][[All, 2]];
    (* EulerInvTransform is defined in A022562 *)
    {1} ~Join~ EulerInvTransform[A091073 // Rest] (* Jean-François Alcover, Dec 29 2019, updated Mar 17 2020 *)
Showing 1-4 of 4 results.