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.

A079157 Sum of square displacements over all self-avoiding walks on cubic lattice trapped after n steps. Numerator of mean square displacement a(n)/A077817(n).

Original entry on oeis.org

5, 50, 529, 3870, 28900, 185014, 1191698, 7080332, 42072344, 238337862
Offset: 11

Views

Author

Hugo Pfoertner, Dec 30 2002

Keywords

Examples

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

Crossrefs

Cf. A077817, A078605, A079158 (corresponding Manhattan distance sum).

Programs

  • Fortran
    c Program for distance counting available at link.

Formula

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

Extensions

a(15) corrected and a(19)-a(20) from Sean A. Irvine, Jul 31 2025