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.

A045310 Number of matchings in n-cube.

Original entry on oeis.org

1, 2, 7, 108, 41025, 13803794944, 7174574164703330195841
Offset: 0

Views

Author

Keywords

Comments

a(4) = A033532(1), a(5) = A033532(2).
a(3) = A033516(2) = A033535(2). - Alois P. Heinz, Dec 09 2013
Equivalently, the number of decompositions of an n-dimensional cube of size 2 into (zero or more) unit cubes (1 X 1 X ... X 1) and "dominoes" (2 X 1 X 1 X ... X 1). - Hugo van der Sanden, Nov 30 2016

Examples

			From _Max Alekseyev_, Nov 16 2009: (Start)
E.g., for n=2, we have
1 matching of size 0 (i.e., the empty matching)
4 matchings of size 1 (i.e., an edge)
2 matchings of size 2 (that are the perfect matchings).
So a(2) = 1 + 4 + 2 = 7, whereas A005271(2) = 2. (End)
		

Crossrefs

For perfect matchings see A005271.
For matching polynomials, see A192437, A302235.
Cf. A033532.

Programs

  • C
    /* See Links section. */
  • Perl
    # See Links section.
    

A192437 Triangle of nonzero (even) coefficients of the matching polynomials for the hypercube graphs Q_n.

Original entry on oeis.org

-1, 1, 2, -4, 1, 9, -44, 42, -12, 1, 272, -3712, 11648, -14208, 8256, -2496, 400, -32, 1, 589185, -25108944, 259084440, -1129177840, 2605908220, -3594554960, 3190117800, -1910146160, 795862790, -235146480, 49715240, -7517264, 803580, -59120, 2840, -80, 1, 16332454526976, -2333280165691392, 81808261704974336
Offset: 1

Views

Author

Eric W. Weisstein, Jul 13 2011

Keywords

Examples

			mu(Q_1) = -1+x^2,
mu(Q_2) = 2-4*x^2+x^4,
mu(Q_3) = 9-44*x^2+42*x^4-12*x^6+x^8,
so the triangle begins:
-1,  1;
2,  -4,  1;
9, -44, 42, -12, 1;
		

Crossrefs

For numbers of matchings, see A045310.
Cf. A302235.

A360786 Number of ways to place two dimers on an n-cube.

Original entry on oeis.org

0, 2, 42, 400, 2840, 17376, 97440, 516608, 2634624, 13058560, 63320576, 301707264, 1417009152, 6575120384, 30195425280, 137430827008, 620604391424, 2783097520128, 12403773407232, 54975376916480, 242441862512640, 1064326263734272, 4653131038195712, 20266193591992320
Offset: 1

Views

Author

Keywords

Comments

Equivalently, a(n) is the number of 2-matchings in the n-hypercube graph. A 2-matching is a pair of edges that do not share a vertex.

Examples

			The a(2) = 2 2-matchings are:
    o---o     o   o
              |   |
    o---o     o   o
		

Crossrefs

Column k=2 of A302235.
Third from last terms in rows of A192437.
Cf. A001787 (1-matchings), A045310 (matchings).

Programs

  • PARI
    a(n) = 2^(n-2)*n*(1 - 2*n + n*2^(n-1)) \\ Andrew Howroyd, Feb 20 2023

Formula

a(n) = A192437(n, 2^(n-1)-2) for n > 1.
From Andrew Howroyd, Feb 20 2023: (Start)
a(n) = 2^(n-2)*n*(1 - 2*n + n*2^(n-1)).
a(n) = 18*a(n-1) - 132*a(n-2) + 504*a(n-3) - 1056*a(n-4) + 1152*a(n-5) - 512*a(n-6) for n > 6.
G.f.: 2*x^2*(1 + 3*x - 46*x^2 + 88*x^3)/((1 - 2*x)*(1 - 4*x))^3.
(End)

Extensions

Terms a(13) and beyond from Andrew Howroyd, Feb 20 2023
Showing 1-3 of 3 results.