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-3 of 3 results.

A334247 Number of acyclic orientations of the edges of an n-dimensional cube.

Original entry on oeis.org

1, 2, 14, 1862, 193270310, 47171704165698393638
Offset: 0

Views

Author

Matthew Scroggs, Apr 20 2020

Keywords

Comments

a(n) is the absolute value of the chromatic polynomial of the n-hypercube graph evaluated at -1.

Examples

			For n=2, there are 14 ways to orient the edges of a square without cycles (see links).
		

Crossrefs

Cf. A334248 is the number of acyclic orientations with rotations and reflections of the same orientation excluded.
Cf. A033815 (cross-polytope), A058809 (wheel), A338152 (demihypercube), A338153 (prism), A338154 (antiprism).

Programs

  • Maple
    with(GraphTheory): with(SpecialGraphs):
    a:= n-> abs(ChromaticPolynomial(HypercubeGraph(n), -1)):
    seq(a(n), n=0..4);  # Alois P. Heinz, Jan 14 2025

Formula

a(n) = Sum_{k=1..2^n} (-1)^(2^n-k) * k! * A334159(n, k). - Andrew Howroyd, Apr 21 2020
a(n) = |Sum_{k=0..2^n} (-1)^k * A334278(n, k)|. - Peter Kagey, Oct 13 2020

Extensions

a(5) from Andrew Howroyd, Apr 23 2020

A334358 Irregular triangle read by rows: row n gives scaled coefficients of the chromatic polynomial corresponding to colorings of the n-hypercube graph up to automorphism, highest powers first, 0 <= k <= 2^n.

Original entry on oeis.org

1, 0, 1, -1, 0, 1, -2, 3, -2, 0, 1, -12, 72, -256, 579, -812, 644, -216, 0, 1, -32, 496, -4936, 35276, -191840, 820328, -2808636, 7759343, -17276144, 30675244, -42494732, 44214736, -32375904, 14772272, -3125472, 0, 1, -80, 3160, -82080, 1575420, -23805776, 294640000
Offset: 0

Views

Author

Andrew Howroyd, Apr 24 2020

Keywords

Comments

The polynomials are scaled by a factor of n!*2^n to ensure integer coefficients. When evaluated at x = k, they give the number of non-isomorphic k-colorings of the n-hypercube graph under the automorphism group of the graph. The size of the automorphism group is n!*2^n. Colors may not be interchanged.

Examples

			Triangle begins:
  0 | 1, 0;
  1 | 1, -1, 0;
  2 | 1, -2, 3, -2, 0;
  3 | 1, -12, 72, -256, 579, -812, 644, -216, 0;
  ...
The corresponding polynomials are:
  x;
  (x^2 - x)/(1!*2^1);
  (x^4 - 2*x^3 + 3*x^2 - 2*x)/(2!*2^2);
  (x^8 - 12*x^7 + 72*x^6 - 256*x^5 + 579*x^4 - 812*x^3 + 644*x^2 - 216*x)/(3!*2^3);
  ...
The polynomial (x^4 - 2*x^3 + 3*x^2 - 2*x)/(2!*2^2) gives A002817 when evaluated at integer values of x.
		

Crossrefs

A334304 Number of distinct acyclic orientations of the edges of an n-dimensional cube with complete graphs as facets.

Original entry on oeis.org

1, 1, 3, 501
Offset: 0

Views

Author

Matthew Scroggs, Apr 22 2020

Keywords

Comments

Take the edge graph of an n-dimensional cube and replace each of its (n-1) dimensional facets with a complete graph. The edges of this graph are then oriented so that no cycles are formed. a(n) is the number of different ways to do this with results that are not rotations of reflections of each other.
For n<=3, a(n) is the number of reference elements needed when using the finite element method for an n-dimensional problem with tensor product cells if the orientations of the mesh entities are derived from a low-to-high ordering of the vertex numbers.

Examples

			For n=2, the n-dimensional cube is a square, and the (n-1)-dimensional facets are the edges of the square. Replacing the edges with complete graphs on 2 vertices does not change the graph.
There are 3 distinct (under rotations and reflections) acyclic orientations of the edges of this graph:
*->-*    *->-*    *-<-*
|   |    |   |    |   |
^   ^    ^   v    ^   v
|   |    |   |    |   |
*->-*    *->-*    *->-*
Therefore a(2) = 3.
For n=3, the n-dimensional cube is a cube, and the (n-1)-dimensional facets are the faces of the cube. Replacing the faces with complete graphs on 4 vertices gives the graph that is the edges of a cube with diagonal edges added to each face (the "16-cell"). a(3) is the number of distinct acyclic orientations of this graph.
		

Crossrefs

A334248 is the number of distinct acyclic orientations of a n-cube (without the addition of complete graphs). A000012 is the number of reference elements needed when using the finite element method for an n-dimensional problem with simplectic cells.

Formula

A334248(n) <= a(n) <= A000142(2^n).
Showing 1-3 of 3 results.