OFFSET
1,3
COMMENTS
The number of perfect mazes on an n X n grid of cells where rotations and reflections are not counted as distinct.
The sequence A007341 enumerates the same spanning trees or mazes but with duplicates due to symmetries of the square counted.
A lower bound for a(n) is the elements of A007341 divided by 8.
Terms can be computed using Burnside's lemma and Kirchhoff's matrix tree theorem applied to various graphs. See the PARI program link for technical details. - Andrew Howroyd, Nov 27 2021
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..40
Andrew Howroyd, PARI program using Kirchhoff's Matrix Tree Theorem, 2021.
Paul Kim, Intelligent Maze Generation, Doctoral dissertation, Ohio State University, 2019.
Mike Koss, Maze Canvas, Open source unique maze generator, 2021.
Eric Weisstein's World of Mathematics, Grid Graph
Eric Weisstein's World of Mathematics, Spanning Tree
Wikipedia, Burnside's_lemma, Kirchhoff's_theorem
FORMULA
EXAMPLE
While there are 192 mazes on a 3 X 3 grid, only a(3) = 28 are distinct mod rotations and reflections.
21 are asymmetric:
_____ _____ _____ _____ _____ _____ _____ _____
| | | | | | | _| | _| | _| | _| | _|
| | |_| | |_| | | |_|_| | | | | | _| | |_ | | |_ | | |_ _|
|_|_ _| |_ _|_| |_ _ _| |_|_|_| |_|_ _| |_ _|_| |_|_ _| |_ _ _|
_____ _____ _____ _____ _____ _____ _____ _____
| _| | _| | _| | _| | _| | _ | | _ | | _ |
|_| | |_| _| |_|_ | | | | | | |_| | |_ | | |_ |_| |_ _| |
|_ _|_| |_ _ _| |_ _ _| |_|_ _| |_ _ _| |_ _|_| |_ _ _| |_ _ _|
_____ _____ _____ _____ _____
| _ _| | _ _| |_ _| |_ _| |_ _|
|_ | |_ _| | _| | _ | | | |
|_ _|_| |_ _ _| |_|_ _| |_ _|_| |_|_ _|
.
5 have 2-way symmetry:
_____ _____ _____ _____ _____
| | | | | _| | _ _| |_ _|
| | | | |_| |_| |_| | | |_ _ | | |
|_|_|_| |_ _ _| |_ _ _| |_ _ _| |_|_|_|
.
2 have 4-way symmetry:
_____ _____
|_ _| |_ | |
|_ _| | _|
|_ _ _| |_|_ _|
PROG
(PARI) \\ See link. - Andrew Howroyd, Nov 27 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Mike Koss, Nov 26 2021
EXTENSIONS
Terms a(7) and beyond from Andrew Howroyd, Nov 27 2021
STATUS
approved