A352388 Number of solutions to Snake Number Problem for snakes with n-periodic instructions in an infinite square grid (see Comments).
0, 0, 0, 0, 5, 21, 127, 618, 2934, 13542, 61803, 276650, 1219508, 5309179, 22868295, 97663066, 414156142, 1746438478
Offset: 1
Examples
These are the 5 different solutions with 5 instructions: UURDL: 19 17 18 3 4 -- 16 19 2 5 6 15 14 1 8 7 -- 13 10 9 -- -- 12 11 -- -- URDLL: 21 -- 19 20 -- -- -- 17 18 21 2 3 -- 16 15 14 1 4 5 -- 12 13 8 7 6 -- 11 10 9 -- -- URRDL: 24 -- -- 20 21 22 17 18 19 24 23 16 15 2 3 4 13 14 1 6 5 12 11 8 7 -- -- 10 9 -- -- URDLU: 26 -- -- 21 22 -- 16 17 20 23 24 15 18 19 26 25 14 13 2 3 -- -- 12 1 4 5 -- 11 10 7 6 -- -- 9 8 -- URDDL: 30 -- -- 20 21 -- -- -- 18 19 22 23 -- 16 17 2 3 24 -- 15 14 1 4 25 26 12 13 6 5 30 27 11 10 7 -- 29 28 -- 9 8 -- -- --
Links
- Ariel Futoransky, Snake Program, Snake Program to try the snakes, April 2022 (see bottom animation and label for different options).
- Rodolfo Kurchan, Puzzle Fun, Snake Number Problem, March 2022.
Comments