cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A337353 Number of n-step self-avoiding walks on a square lattice where no step can be in the same direction as the previous step.

Original entry on oeis.org

1, 4, 8, 16, 24, 40, 64, 104, 168, 272, 440, 712, 1128, 1808, 2896, 4640, 7368, 11744, 18752, 29920, 47376, 75304, 119824, 190632, 301488, 478160, 759056, 1204848, 1903576, 3014272, 4776504, 7568688, 11947976, 18895760, 29901592, 47317080, 74643504, 117930520, 186413728, 294666160
Offset: 0

Views

Author

Scott R. Shannon, Aug 24 2020

Keywords

Examples

			a(5) = 40. The five possible 5-step walks in the first quadrant are:
.
+--+   +--+         +--+        +--+
|         |            |        |
+--+      +--+      +--+     +--+       +--+
   |         |      |        |          |  |
x--+      x--+   x--+     x--+       x--+  +--+
.
Each of these can be taken in eight ways on the square lattice, giving 40 in total.
		

Crossrefs

Formula

a(n) = 4*A336662(n).

A336726 Number of n-step self-avoiding walks on the half-Manhattan lattice with no non-contiguous adjacencies.

Original entry on oeis.org

1, 3, 7, 13, 25, 47, 89, 169, 321, 599, 1125, 2097, 3925, 7317, 13667, 25389, 47313, 87781, 163265, 302617, 562023, 1040465, 1929879, 3569627, 6613725, 12223777, 22626357, 41790173, 77289525, 142665435, 263661315, 486420171, 898372311, 1656580751, 3057774587, 5636030345
Offset: 0

Views

Author

Sean A. Irvine, Aug 02 2020

Keywords

Comments

In the half-Manhattan lattice, E-W streets run alternately E and W, but N-S streets are two way.

Crossrefs

Cf. A336724 (self-avoiding walks), A336662 (Manhattan lattice), A173380 (square lattice).
Showing 1-2 of 2 results.