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.
    

A302235 Triangle T(n,k) of the numbers of k-matchings in the n-hypercube graph (0 <= k <= 2^(n-1)).

Original entry on oeis.org

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

Views

Author

Eric W. Weisstein, Apr 03 2018

Keywords

Examples

			Rows as matching-generating polynomials:
1 + x,
1 + 4*x + 2*x^2
1 + 12*x + 42*x^2 + 44*x^3 + 9*x^4
1 + 32*x + 400*x^2 + 2496*x^3 + 8256*x^4 + 14208*x^5 + 11648*x^6 + 3712*x^7 + 272*x^8
...
		

Crossrefs

Row sums are A045310.
Columns k=0..2 are A000012, A001787, A360786.
Cf. A005271 (rightmost terms), A192437.

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.