|
COMMENTS
|
Starting at the origin of a 2D square lattice, take a step of length 1 in any of the four available directions. From then on take a step of length equal to the next ordered prime factor of the integers, see A027746, in a direction that takes the walk as close as possible to the origin, but without backtracking on the previous step. The sequence lists the numbers where one or more prime factors return to the origin during the walk.
Assuming another term exists it is at least 3.3*10^9.
Diagonal jumps are forbidden: for example, after the first return-to-origin, the next step is of length 5, but the walk jumps to (5,0), or a 90-degree rotation thereof, rather than (3,4) or (4,3) or any of their 90-degree rotations. Any subsequent terms exceed 25*10^9. - Lucas A. Brown, Mar 08 2024
|
|
EXAMPLE
|
4 is the first term. After the first step of length 1 the next steps are of length 2,3,2,2: the ordered prime factors of 2,3,4. Assume the first step is upward to (0,1) and, if a choice of directions is available, it steps in a clockwise direction unless forbidden by the previous step - this direction choice is irrelevant to the sequence numbers. Given this the next steps are to coordinates (2,1), (2,-2), (0,-2), (0,0), and the second prime factor 2 of 4 returns to the origin.
28 is a term. After 4 returns to the origin the next steps up to the factors of 28 are of length 5,2,3,7,2,2,2,3,3,2,5,...,3,2,2,7. The coordinates stepped to are then (0,5),(2,5),(2,2),(2,-5),(0,-5),...,(0,-7),(0,-4),(0,-2),(0,0),(0,7),..., and the second factor 2 of 28 returns to the origin.
|