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.
%I A335806 #26 Aug 15 2020 06:31:40 %S A335806 1,4,12,40,118,358,936,2600,6212,16068,34936,83708,163452,357056, %T A335806 613592,1205716,1770616,3073480,3715920,5573480,5255048,6591160, %U A335806 4353912,4330096,1513712,1061392,0 %N A335806 The number of n-step self avoiding walks on a 3D cubic lattice confined inside a box of size 2x2x2 where the walk starts at the middle of the box's edge. %F A335806 For n>=27 all terms are 0 as the walk contains more steps than there are available lattice points in the 2x2x2 box. %e A335806 a(1) = 4 as the walk is free to move one step in four directions. %e A335806 a(2) = 12. A first step along either edge leading to the corner leaves two possible second steps. A first step to the centre of either face can be followed by a second step to three edges or to the center of the cube, four steps in all. Thus the total number of 2-step walks is 2*2+2*4 = 12. %e A335806 a(26) = 0 as it is not possible to visit all 26 available lattice points when the walk starts from the middle of the box's edge. %Y A335806 Cf. A336862 (other box sizes), A337021 (start at center of box), A337033 (start at center of face), A337034 (start at corner of box), A001412, A259808, A039648. %K A335806 nonn,walk,fini,full %O A335806 0,2 %A A335806 _Scott R. Shannon_, Aug 14 2020