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.

Previous Showing 31-40 of 43 results. Next

A238117 Number of states with reflective symmetry arising in matrix method for enumerating Hamiltonian cycles on 2n X 2n grid.

Original entry on oeis.org

1, 4, 14, 40, 120, 320, 946, 2496, 7418, 19616
Offset: 1

Views

Author

N. J. A. Sloane, Mar 05 2014

Keywords

Crossrefs

A238118 Number of continuations with reflective symmetry arising in matrix method for enumerating Hamiltonian cycles on 2n X 2n grid.

Original entry on oeis.org

1, 6, 20, 101, 327, 1560, 5333, 24727, 88422, 403552
Offset: 1

Views

Author

N. J. A. Sloane, Mar 05 2014

Keywords

Crossrefs

A333864 Number of Hamiltonian cycles on an n X 2*n grid.

Original entry on oeis.org

1, 4, 236, 18684, 32463802, 54756073582, 2365714170297014, 87106950271042689032, 88514516642574170326003422, 71598455565101470929617326988084, 1673219200189416324422979402201514800461, 29815394539834813572600735261571894552950941626, 15836807024750749574106724392556189684881848226515147589
Offset: 2

Views

Author

Seiichi Manyama, Apr 08 2020

Keywords

Crossrefs

Programs

  • Python
    # Using graphillion
    from graphillion import GraphSet
    import graphillion.tutorial as tl
    def A333864(n):
        universe = tl.grid(n - 1, 2 * n - 1)
        GraphSet.set_universe(universe)
        cycles = GraphSet.cycles(is_hamilton=True)
        return cycles.len()
    print([A333864(n) for n in range(2, 8)])

Formula

a(n) = A321172(n,2*n).

Extensions

a(10) and a(12) quoted from Olga's paper.
a(14) from Huaide Cheng, Jul 02 2025

A181584 Number of cycles of length (2n+1)^2-1 on 2n+1 X 2n+1 square grid.

Original entry on oeis.org

5, 226, 255088, 6663430912, 3916162476483538, 51249820944023435573470, 14870957102232406137455708164254, 95494789899510664733921727510895952184006
Offset: 1

Views

Author

Artem M. Karavaev, Oct 31 2010

Keywords

Comments

This sequence is a way to extend the sequence A003763 in case of grids with odd number of nodes: a(n) is the number of cycles in odd-side square lattice with maximum possible length.

Crossrefs

Cf. A003763.

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

A222201 Write n=3i+j, 0<=j<3; a(n) = number of Hamiltonian cycles on square grid of points of size 2i+2 X 2i+2 (if j=0), 2i+2 X 2i+3 (j=1) or 2i+3 X 2i+4 (j=2).

Original entry on oeis.org

1, 1, 2, 6, 14, 154, 1072, 5320, 301384, 4638576, 49483138, 13916993782, 467260456608, 10754797724124, 14746957510647992, 1076226888605605706, 53540340738182687296, 354282765498796010420944, 56126499620491437281263608, 6040964455632840415885507728, 191678405883294971709423926242394, 65882516522625836326159786165530572
Offset: 0

Views

Author

N. J. A. Sloane, Feb 14 2013

Keywords

Comments

An interleaving of A003763 and A222200.

Crossrefs

A238819 Number of Hamiltonian cycles on 4n+2 X 4n+2 grid with at least 90-degree rotational symmetry.

Original entry on oeis.org

1, 2, 204, 510718, 31008619522, 43911490791183200, 1424639466911800364132674, 1048492580133908850434091619741314
Offset: 0

Views

Author

N. J. A. Sloane, Mar 05 2014

Keywords

Crossrefs

Cf. A003763.

Extensions

a(5)-a(7) from Andrew Howroyd, Apr 06 2016

A301648 Number of longest cycles in the n X n grid graph.

Original entry on oeis.org

0, 1, 5, 6, 226, 1072, 255088, 4638576, 6663430912, 467260456608, 3916162476483538, 1076226888605605706, 51249820944023435573470, 56126499620491437281263608, 14870957102232406137455708164254, 65882516522625836326159786165530572, 95494789899510664733921727510895952184006
Offset: 1

Views

Author

Eric W. Weisstein, Mar 25 2018

Keywords

Comments

a(10) = 467260456608.

Crossrefs

Cf. A137932 (circumference of the (n-1) X (n-1) grid graph).
Cf. A003763 (number of Hamiltonian cycles in the 2n X 2n grid graph).
Cf. A181584 (number of longest cycles in the (2n+1) X (2n+1) grid graph).

Formula

a(2n) = A003763(n).
a(2n+1) = A181584(n). - Andrew Howroyd, Mar 01 2020

Extensions

Terms a(9) and beyond from Andrew Howroyd, Mar 01 2020

A238816 Number of Hamiltonian cycles on 2n X 2n grid with at least the symmetry of reflection in an axis.

Original entry on oeis.org

1, 4, 44, 2828, 564468, 754425400, 3079904455096, 88444819222239178, 7685637690960745082050, 4793315937811919497089287562
Offset: 1

Views

Author

N. J. A. Sloane, Mar 05 2014

Keywords

Crossrefs

Cf. A003763.

A238817 Number of Hamiltonian cycles on 2n X 2n grid with at least 180-degree rotational symmetry.

Original entry on oeis.org

1, 2, 28, 1504, 520176, 696179102, 5373177281748, 166903679914150336, 28636599794306124116062, 20262965974179958448766775754
Offset: 1

Views

Author

N. J. A. Sloane, Mar 05 2014

Keywords

Crossrefs

Cf. A003763.
Previous Showing 31-40 of 43 results. Next