login
A394067
Number of undirected cycles in the n X n grid graph, reduced for symmetry (with rotations, reflections, and translations not counted as distinct).
2
0, 1, 4, 33, 1005, 134899, 56447000
OFFSET
1,3
COMMENTS
Excludes 0 length cycles; including them increases each term by 1.
Number of directed cycles gives A390122. Number of undirected cycles not reduced for symmetry gives A140517.
EXAMPLE
a(3) = 4:
+--+--+ + + + + + + +--+--+
| | | |
+ + + +--+--+ + +--+ +--+ +
| | | | | | | |
+--+--+ +--+--+ + +--+ + +--+.
PROG
(PARI) \\ See Hohn link in A394065.
CROSSREFS
Sequence in context: A113086 A058153 A382018 * A020197 A102959 A057959
KEYWORD
nonn,more
AUTHOR
Charles L. Hohn, Mar 09 2026
STATUS
approved