OFFSET
1,1
LINKS
Peter Kagey, Cycles on the torus, Programming Puzzles & Code Golf Stack Exchange.
EXAMPLE
On the 2 X 2 torus, the 4 walks are:
[(0,0),(1,0),(0,0)]
[(0,0),(0,1),(0,0)]
[(0,0),(0,1),(1,1),(1,0),(0,0)]
[(0,0),(1,0),(1,1),(0,1),(0,0)]
On the 3 X 3 torus, the 22 walks are all equivalent to the following eleven walks by switching coordinates:
[(0,0),(0,1),(0,2),(0,0)]
[(0,0),(0,1),(1,1),(2,1),(2,2),(0,2),(0,0)]
[(0,0),(0,1),(1,1),(2,1),(2,2),(2,0),(0,0)]
[(0,0),(0,1),(1,1),(1,2),(2,2),(0,2),(0,0)]
[(0,0),(0,1),(1,1),(1,2),(2,2),(2,0),(0,0)]
[(0,0),(0,1),(1,1),(1,2),(1,0),(2,0),(0,0)]
[(0,0),(0,1),(0,2),(1,2),(2,2),(2,0),(0,0)]
[(0,0),(0,1),(0,2),(1,2),(1,0),(2,0),(0,0)]
[(0,0),(0,1),(1,1),(2,1),(2,2),(0,2),(1,2),(1,0),(2,0),(0,0)]
[(0,0),(0,1),(1,1),(1,2),(1,0),(2,0),(2,1),(2,2),(0,2),(0,0)]
[(0,0),(0,1),(0,2),(1,2),(1,0),(1,1),(2,1),(2,2),(2,0),(0,0)]
CROSSREFS
KEYWORD
nonn,more,walk
AUTHOR
Peter Kagey, Mar 09 2019
STATUS
approved