login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A333863 Number of Hamiltonian paths in a 2*(2*n+1) X (2*n+1) grid starting at the upper left corner and finishing in the lower right corner. 3
1, 16, 117204, 440051896440, 825830699757513748579, 769203260676279544212492116449800, 354179806054404909542325896762875458037457353029, 80433401895946253522491939742836167238530417144721958187080077425 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = A333580(2*(2*n+1), 2*n+1).
PROG
(Python)
# Using graphillion
from graphillion import GraphSet
import graphillion.tutorial as tl
def A333863(n):
universe = tl.grid(4 * n + 1, 2 * n)
GraphSet.set_universe(universe)
start, goal = 1, 2 * (2 * n + 1) ** 2
paths = GraphSet.paths(start, goal, is_hamilton=True)
return paths.len()
print([A333863(n) for n in range(7)])
CROSSREFS
Sequence in context: A298202 A364777 A332090 * A343245 A300197 A297386
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 08 2020
EXTENSIONS
More terms from Ed Wynn, Jun 28 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 3 08:07 EDT 2024. Contains 374885 sequences. (Running on oeis4.)