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.

User: Brendan McKay

Brendan McKay's wiki page.

Brendan McKay has authored 126 sequences. Here are the ten most recent ones:

A383447 Number of "peerless" trees on n nodes.

Original entry on oeis.org

1, 0, 1, 1, 2, 3, 6, 9, 19, 33, 67, 130, 270, 547, 1165, 2456, 5314, 11521, 25357, 56022, 125067, 280471, 633490, 1437340, 3278912, 7510503, 17277697, 39890262, 92427559, 214835923, 500879602, 1171013350, 2744946654, 6450077870
Offset: 1

Author

N. J. A. Sloane, May 01 2025, based on postings to the SeqFan Mailing List in April and May 2025 by Victor S. Miller, Allan C. Wechsler, Brendan McKay, and others

Keywords

Comments

A "peerless" tree is an unlabeled, unrooted tree (as in A000055) with the property that if two nodes are joined by an edge then these nodes have different degrees.
Victor S. Miller reports that this sequence was first proposed on Project Euler.
Comment from Brendan McKay, May 01 2025 (Start)
The enumeration could be extended by the following argument.
If the tree has a unique centroid (not center!) then removing the centroid gives rooted subtrees of size less than n/2. If there are two centroids, they are adjacent and removing that edge gives two rooted subtrees with exactly n/2 vertices.
Start by making all rooted trees up to n/2 vertices which have no adjacent vertices of the same degree, not counting adjacencies of the root. Then classify them according to which degrees the root can be increased to without violating this condition for edges adjacent to the root.
With this information the counts for n vertices can be reconstructed. In this way getting up past 60 vertices should be possible. (End)
This sequence forms the left-most column of A383448.

Crossrefs

Extensions

a(1)-a(8) were computed by Allan C. Wechsler, Apr 30 2025, and a(9)-a(34) by Brendan McKay, May 02 2025.

A382159 Number of n-node acyclic digraphs, not necessarily connected, which are squares.

Original entry on oeis.org

1, 1, 2, 5, 17, 81, 600, 7182, 142425, 4664203, 4071974770
Offset: 0

Author

N. J. A. Sloane, Mar 24 2025, based on an email from Brendan McKay, Mar 18 2025

Keywords

Comments

For the definition of the square of a graph, see A382180.

Crossrefs

A382157 Number of n-node digraphs without loops, not necessarily connected, which are squares.

Original entry on oeis.org

1, 1, 3, 9, 46, 473, 13763, 1121383
Offset: 0

Author

N. J. A. Sloane, Mar 24 2025, based on an email from Brendan McKay, Mar 18 2025

Keywords

Comments

For the definition of the square of a graph, see A382180.

Crossrefs

A382158 Number of n-node oriented graphs (no loops or cycles of length 2), not necessarily connected, which are squares.

Original entry on oeis.org

1, 1, 2, 6, 26, 209, 4115, 206205, 24982238
Offset: 0

Author

N. J. A. Sloane, Mar 24 2025, based on an email from Brendan McKay, Mar 18 2025

Keywords

Comments

For the definition of the square of a graph, see A382180.

Crossrefs

A382284 Number of unlabeled connected graphs with n vertices which are planar squares.

Original entry on oeis.org

1, 1, 1, 1, 2, 3, 7, 13, 31, 60, 146, 320, 787, 1864, 4654, 11526, 29318, 74632, 192868, 500487, 1310826
Offset: 0

Author

Brendan McKay and Sean A. Irvine, Mar 20 2025

Keywords

Comments

See A382180 for a definition of a square graph.

Crossrefs

Extensions

a(16)-a(20) from Brendan McKay, Mar 21 2025

A382180 Number of unlabeled connected graphs with n vertices which are squares.

Original entry on oeis.org

1, 1, 1, 1, 2, 4, 13, 42, 206, 1310, 12622, 180700, 3925282
Offset: 0

Author

Brendan McKay and Sean A. Irvine, Mar 17 2025

Keywords

Comments

If G is an unlabeled finite simple graph, define its square S(G) to be the graph with the same vertices as G. The edges of S(G) are the edges of G together with an edge from vertex u to v whenever u and v are not adjacent in G but are joined by a path of length 2. [There is an obvious generalization to the square of a directed graph.- N. J. A. Sloane, Mar 24 2025]
The present definition, the number of unlabeled connected graphs with n vertices which are squares, implies "which are squares of connected graphs on n vertices", since if G is not connected, neither is its square. - N. J. A. Sloane, Mar 24 2025.
If the squares of two trees are isomorphic, then the trees themselves are isomorphic [Ross and Harary]. Thus the number of squares of trees is the same as the number of trees, A000055.

References

  • Frank Harary and Ian C. Ross, The Square of a Tree, Bell Labs Memorandum MM-59-122-2, May 16, 1959, 11 pages.

Crossrefs

Inverse Euler transform of A382181.

A382181 Number of unlabeled graphs with n vertices (including disconnected graphs) which are squares.

Original entry on oeis.org

1, 1, 2, 3, 6, 11, 28, 77, 307, 1688, 14620, 197050, 4137271
Offset: 0

Author

Brendan McKay and Sean A. Irvine, Mar 17 2025

Keywords

Comments

If G is an unlabeled finite simple graph, define its square S(G) to be the graph with the same vertices as G. The edges of S(G) are the edges of G together with an edge from vertex u to v whenever u and v are not adjacent in G but are joined by a path of length 2.

References

  • Frank Harary and Ian C. Ross, The Square of a Tree, Bell Labs Memorandum MM-59-122-2, May 16, 1959, 11 pages.

Crossrefs

Euler transform of A382180.

A372093 Number of Eulerian orientations of the torus grid graph C_5 X C_n.

Original entry on oeis.org

64, 308, 2116, 16892, 143224, 1250228, 11091536, 99371772, 895878604, 8109607248, 73605150496, 669235388612, 6091889767144, 55495316073288, 505799972171296, 4611529143198652, 42053844507644124, 383555932615158068, 3498586905231628036, 31914171636394303392
Offset: 1

Author

Brendan McKay, Apr 18 2024

Keywords

Crossrefs

Row 5 of A298119.
Cf. A298201.

Formula

a(n) = 24*a(n-1) - 219*a(n-2) + 988*a(n-3) - 2407*a(n-4) + 3181*a(n-5) - 2042*a(n-6) + 292*a(n-7) + 280*a(n-8) - 96*a(n-9).
Asymptotically, a(n) ~ 2*(5+sqrt(17))^n.

A372094 Number of Eulerian orientations of the torus grid graph C_6 X C_n.

Original entry on oeis.org

128, 858, 8324, 98466, 1250228, 16448400, 220603364, 2995602834, 41048196236, 566597492178, 7869683384900, 109903205061360, 1542297167382164, 21736984452051810, 307535339926640204, 4365796637993895186, 62162535924592508036, 887421840845709378960
Offset: 1

Author

Brendan McKay, Apr 18 2024

Keywords

Crossrefs

Row 6 of A298119.

Formula

a(n) = 55*a(n-1) - 1265*a(n-2) + 15974*a(n-3) - 121977*a(n-4) + 578547*a(n-5) - 1629798*a(n-6) + 2030265*a(n-7) + 2559843*a(n-8) - 15001158*a(n-9) + 26229897*a(n-10) - 19679739*a(n-11) - 3755273*a(n-12) + 21563768*a(n-13) - 20454442*a(n-14) + 10081600*a(n-15) - 2802792*a(n-16) + 410688*a(n-17) - 24192*a(n-18)

A371869 Number of 2-connected chordal bipartite graphs on n unlabeled vertices.

Original entry on oeis.org

0, 0, 0, 1, 1, 4, 6, 26, 74, 356, 1655, 9750, 62009, 448498, 3554505, 31000909, 294772655, 3047952802, 34135465140
Offset: 1

Author

Brendan McKay, Apr 09 2024

Keywords

Comments

A chordal bipartite graph is a bipartite graph with no induced cycles longer than 4-cycles. Note that this is not the same as a bipartite graph which is chordal, as that would exclude all cycles.

Examples

			For n=4, the only example is the 4-cycle. For n=5, the only example is K(2,3).
		

Crossrefs