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!)
A333247 Number of self-avoiding closed paths on an n X n grid which pass through NW and SW corners. 5
1, 4, 47, 1843, 232905, 92729439, 115234959344, 442748883422394 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
COMMENTS
a(11) = 188829168009674568016545. - Seiichi Manyama, Apr 07 2020
LINKS
EXAMPLE
a(2) = 1;
+--*
| |
+--*
a(3) = 4;
+--*--* +--*--* +--* +--*
| | | | | | | |
* * * *--* * *--* * *
| | | | | | | |
+--*--* +--* +--*--* +--*
PROG
(Python)
# Using graphillion
from graphillion import GraphSet
import graphillion.tutorial as tl
def A333247(n):
universe = tl.grid(n - 1, n - 1)
GraphSet.set_universe(universe)
cycles = GraphSet.cycles().including(1).including(n)
return cycles.len()
print([A333247(n) for n in range(2, 10)])
CROSSREFS
Sequence in context: A251665 A210828 A361560 * A330039 A141040 A182102
KEYWORD
nonn,more
AUTHOR
Seiichi Manyama, Mar 23 2020
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 September 2 17:16 EDT 2024. Contains 375614 sequences. (Running on oeis4.)