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.

A077482 Number of self-avoiding walks on square lattice trapped after n steps.

Original entry on oeis.org

1, 2, 11, 25, 95, 228, 752, 1860, 5741, 14477, 42939, 109758, 317147, 818229, 2322512, 6030293, 16900541, 44079555, 122379267, 320227677, 882687730, 2315257359, 6346076015, 16675422679, 45502168379, 119728011251, 325510252108, 857400725204
Offset: 7

Views

Author

Hugo Pfoertner, Nov 07 2002

Keywords

Comments

Only 1/8 of all possible walks is counted by selecting the first step in +x direction and requiring the first step changing y to be positive.

Examples

			a(7) = 1 because there is only 1 self-trapping walk with 7 steps: (0,0)(1,0)(1,1)(1,2)(0,2)(-1,2)(-1,1)(0,1); a(8) = 2 because there are 2 self-trapping walks with 8 steps: (0,0)(1,0)(2,0)(2,1)(2,2)(1,2)(0,2)(0,1)(1,1) and (0,0)(1,0)(1,1)(2,1)(3,1)(3,0)(3,-1)(2,-1)(2,0).
		

References

  • See references given for A001411.

Crossrefs

Programs

  • Fortran
    c See Hugo Pfoertner link.

Extensions

a(26)-a(28) from Alois P. Heinz, Jun 16 2011
a(29)-a(34) from Bert Dobbelaere, Jan 03 2019