A337860 The number of vertically balanced self-avoiding walks of length n on the upper half-plane of a 2D square lattice where the nodes and connecting rods have equal mass.
3, 5, 13, 27, 65, 145, 361, 855, 2163, 5303, 13419, 33195, 84159, 210765, 536871, 1356153, 3466533, 8799247, 22541583, 57428441, 147423495, 376838119, 969292869, 2484478265, 6401330591, 16445203213, 42434086359, 109225591309, 282209330237
Offset: 1
Examples
a(3) = 13. The stable 3-step walks with a first step upward or to the right are: . + + | + +---+ +---+ +---+ | + | | | | | + | X---+---+---+ X---+---+ X---+ X---+ X + | + X---+ | X . The first six walks can also be taken with a first or second step to the left, giving a total number of stable walks of 2*6 + 1 = 13. Note that the third walk would topple with a perturbation to the right, and the final walk would topple with a perturbation to either the left or right. The three non-stable 3-step walks in the first quadrant are: . + +---+ | | +---+ +---+---+ + | | | X X X . These can also be taken with a second step to the left, giving six unstable walks. a(23) = 969292869. An example of a stable 23-step walk with a base of 1 unit is: . +---+ | | +---+---+---+---+---+ + | | +---+ +---+ + | | | | +---+---+---+ +---+ +---+ | | + X .
Comments