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.

A120443 Number of (undirected) Hamiltonian paths in the n X n grid graph.

Original entry on oeis.org

1, 4, 20, 276, 4324, 229348, 13535280, 3023313284, 745416341496, 730044829512632, 786671485270308848, 3452664855804347354220, 16652005717670534681315580, 331809088406733654427925292528, 7263611367960266490262600117251524
Offset: 1

Views

Author

David Bevan, Jul 19 2006

Keywords

Examples

			From _Robert FERREOL_, Apr 03 2019: (Start)
a(3) = 20:
there are 4 paths similar to
  + - + - +
          |
  + - + - +
  |
  + - + - +
8 paths similar to
  + - + - +
  |       |
  +   + - +
  |   |
  +   + - +
and 8 paths similar to
  + - + - +
  |       |
  +   +   +
  |   |   |
  +   + - +
(End)
		

Crossrefs

Formula

a(n) = A096969(n) / 2 for n > 1.

Extensions

More terms from Jesper L. Jacobsen (jesper.jacobsen(AT)u-psud.fr), Dec 12 2007

A096970 Number of ways to number the cells of an n X n square grid with 1,2,3,...,n^2 so that successive integers are in the same row or column.

Original entry on oeis.org

1, 8, 1512, 22394880, 50657369241600, 28606505102329400524800, 5959275438217048853558620520448000
Offset: 1

Views

Author

John W. Layman, Jul 16 2004

Keywords

Comments

Suggested by Leroy Quet, Jul 05 2004.
For n >= 2, number of (directed) Hamiltonian paths on the n X n rook graph. - Eric W. Weisstein, Dec 16 2013

Examples

			Among the 4 X 4 grids counted is:
1   2  3 10
15  6  5 11
14 13  4 12
16  7  8  9
		

Crossrefs

Extensions

a(5) from Eric W. Weisstein, Dec 28 2013
a(6)-a(7) from Andrew Howroyd, Feb 29 2016

A158651 Number of directed Hamiltonian paths on the n X n king graph.

Original entry on oeis.org

1, 24, 784, 343184, 729237344, 13089822163800, 1659110130720710584, 1635069460917798701270872, 12308784500036123518164726610224, 721833220650131890343295654587745095696, 330596986686626406483380599328509951896788808144
Offset: 1

Views

Author

Eric W. Weisstein, Mar 23 2009

Keywords

Comments

Number of open directed king's tours on the n X n board.

Crossrefs

Extensions

a(5) from Max Alekseyev, May 03 2009
a(6)-a(11) from Andrew Howroyd, Nov 15 2015

A193346 Number of (directed) Hamiltonian paths on the n X n X n grid graph.

Original entry on oeis.org

1, 144, 4960608, 55493434415544000
Offset: 1

Views

Author

Eric W. Weisstein, Jul 23 2011

Keywords

Comments

A general purpose matrix-transfer method can be used to compute values up to a(4). Using a diagonal sweep from one corner to the opposite corner will help to reduce the number of states. - Andrew Howroyd, Dec 20 2015
Schram & Schiessel (see Links) quote a different result for a(4): 27747833510015886 undirected Hamiltonian walks, which would double to 55495667020031772 directed Hamiltonian walks. However, that number is not divisible by 8 and thus cannot be correct. - Arun Giridhar, Dec 15 2015

Examples

			For n = 1, there is a trivial Hamiltonian path of length 0.
For n = 2, the 144 paths fall in three different equivalence classes. Two of the three classes can be derived by taking a Hamiltonian cycle on a cube and deleting a single edge. The third class is a spiral path that ends at the opposite corner from its starting point.
		

Crossrefs

Extensions

a(4) from Andrew Howroyd, Nov 15 2015
a(1) corrected by Arun Giridhar, Dec 20 2015
Showing 1-4 of 4 results.