A359741 Number of n-step self-avoiding walks on a 3D cubic lattice whose end-to-end distance is an integer.
1, 6, 6, 30, 78, 1134, 1350, 20574, 23238, 390606, 496998, 7614750, 10987926, 152120934, 237122526, 3110708214, 5017927638, 64718847438, 105210653478, 1362453235998
Offset: 0
Examples
a(3) = 30 as, in the first octant, there is one 3-step SAW whose end-to-end distance is an integer (1 unit): . X---. | X---. . This can be walked in 24 different ways on a 3D cubic lattice. There are also the six walks directly along the x, y and z axes, giving a total of 24 + 6 = 30 walks.
Links
- Wikipedia, Self-avoiding walk.
- Wikipedia, Pythagorean quadruple.
Comments