Paths through a Grid

​
width
1
2
3
height
1
2
directions
path
number of paths:
13
Consider the paths that join opposite corners of a rectangular grid and are not self-intersecting. Each path consists of single steps in one of eight directions, joining points with integral coordinates. This Demonstration shows the paths corresponding to grids of sides up to
2×3
. A direction is indicated by the position of the selector around the word "directions" in the controls above. Any combination of directions can be chosen to be used by the steps forming the paths. The number of paths is shown, and the paths can be sequentially selected backward and forward.

External Links

Self-Avoiding Walk (Wolfram MathWorld)
Self-Avoiding Paths through a Lattice

Permanent Citation

Jaime Rangel-Mondragon
​
​"Paths through a Grid"​
​http://demonstrations.wolfram.com/PathsThroughAGrid/​
​Wolfram Demonstrations Project​
​Published: July 19, 2013