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-1 of 1 results.

A079158 Sum of end-to-end Manhattan distances over all self-avoiding walks on cubic lattice trapped after n steps.

Original entry on oeis.org

5, 40, 399, 2472, 17436, 98400, 601626, 3238694, 18355742, 96020478
Offset: 11

Views

Author

Hugo Pfoertner, Dec 30 2002

Keywords

Comments

Mean Manhattan displacement is a(n)/A077817(n).
See also "Comparison of average Euclidean and Manhattan displacements" at link

Examples

			a(12)=40 because the A077817(12)=20 trapped walks stop at 5*(1,1,0)->d=2, 5*(2,0,0)->d=2, 10*(1,0,1)->d=2, so a(12)=5*2+5*2+10*2=40. See "Enumeration of all self-trapping walks of length 12" at link.
		

Crossrefs

Cf. A077817, A079156, A079157 (corresponding squared distance sum).

Programs

  • Fortran
    c Program for distance counting available at link.

Formula

a(n)= Sum_{l=1..A077817(n)} (|i_l| + |j_l| + |k_l|) where (i_l, j_l, k_l) are the end points of all different self-avoiding walks trapped after n steps.

Extensions

a(19)-a(20) from Sean A. Irvine, Jul 31 2025
Showing 1-1 of 1 results.