%I M2652 #25 Apr 05 2022 08:22:55
%S 1,3,7,15,31,59,110,198,347,592,997,1641,2666,4266,6741,10525,16268,
%T 24882,37717,56683,84504,125031,183716,268125,388873,560647,803723,
%U 1146013,1625731,2294964,3224588,4510552,6282295,8714035,12039319,16570278,22723025
%N Number of n-step spirals on hexagonal lattice.
%C The hexagonal lattice is the familiar 2-dimensional lattice in which each point has 6 neighbors. This is sometimes called the triangular lattice.
%C Corresponds to the Model III single spiral of Table 3 in Szekeres and Guttmann. In Model III every step of the walk consists of continuing in the current direction, turning clockwise by 120 degrees, or turning clockwise by 60 degrees. Roughly speaking, a "single spiral" is a self-avoiding clockwise walk that cannot get stuck in a dead end. More precisely, let u(i) denote the length of the successive straight-line segment of the walk with u(0)=0. If the angle turned is 120 degrees, then an extra u(j)=0 is inserted into the u sequence at that point. Then a walk with k straight line segments (including 0's as described), is a single spiral if u(i-4) + u(i-3) < u(i-1) + u(i) for 4 <= i <= k. - _Sean A. Irvine_, Apr 05 2022
%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
%H Sean A. Irvine, <a href="https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a006/A006778.java">Java program</a> (github).
%H G. Nebe and N. J. A. Sloane, <a href="http://www.math.rwth-aachen.de/~Gabriele.Nebe/LATTICES/A2.html">Home page for hexagonal (or triangular) lattice A2</a>
%H G. Szekeres and A. J. Guttmann, <a href="https://doi.org/10.1088/0305-4470/20/2/033">Spiral self-avoiding walks on the triangular lattice</a>, J. Phys. A 20 (1987), 481-493.
%Y Cf. A006776, A006777.
%K nonn
%O 1,2
%A _N. J. A. Sloane_
%E More terms from _Sean A. Irvine_, Apr 04 2022