A353176
Maximum length of a finite snake in the Snake Number Problem with n-periodic instructions in an infinite square grid (see Comments).
Original entry on oeis.org
30, 79, 152, 450, 241, 257, 1098, 1448, 9520, 8804, 8338, 11348, 25316, 18823
Offset: 5
a(5) = 30
URDDL: 30
-- -- 20 21 -- --
-- 18 19 22 23 --
16 17 02 03 24 --
15 14 01 04 25 26
12 13 06 05 30 27
11 10 07 -- 29 28
-- 09 08 -- -- --
.
a(6) = 79
UURDLL: 79
-- -- -- -- -- -- -- 74 75 -- --
-- -- -- -- -- 69 70 73 76 77 --
-- -- -- 64 65 68 71 72 79 78 --
-- -- -- 63 66 67 -- 27 28 -- --
-- -- 61 62 -- 22 23 26 29 30 --
56 57 60 17 18 21 24 25 32 31 --
55 58 59 16 19 20 03 04 33 34 --
54 53 52 15 14 13 02 05 06 35 36
-- -- 51 -- -- 12 01 08 07 38 37
-- -- 50 49 48 11 10 09 40 39 --
-- -- -- -- 47 -- 43 42 41 -- --
-- -- -- -- 46 45 44 -- -- -- --
.
n | Number of finite solutions | Maximum length | Instructions that give
| A352388(n) | a(n) | the maximum length
-------------------------------------------------------------------------
5 5 30 URDDL
6 21 79 UURDLL
7 127 152 URULLDD
8 618 450 URURUULD
9 2934 241 URRRRDLRR
10 13542 257 URRLDLRRUR
11 61803 1098 URUURUUULLD
12 276650 1448 URUULLDUDDDD
13 1219508 9520 URRRLLDLRRULL
14 5309179 8804 URRURRRLDLRULL
15 22868295 8338 UDDRULUUUULLULD
16 97663066 11348 URRURRRLDDLRUULL
17 414156142 25316 URRRDLULUUUUULURL
18 1746438478 18823 UDDDRULULLULLUULDU
Computer solutions a(5) to a(13) found by Giorgio Vecchi.
Computer solutions a(14) to a(18) found by Ariel Futoransky.
- 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.
A352388
Number of solutions to Snake Number Problem for snakes with n-periodic instructions in an infinite square grid (see Comments).
Original entry on oeis.org
0, 0, 0, 0, 5, 21, 127, 618, 2934, 13542, 61803, 276650, 1219508, 5309179, 22868295, 97663066, 414156142, 1746438478
Offset: 1
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 -- -- --
- 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.
A353234
Maximum length of 2 finite snakes in the Snake Number Problem with n-periodic instructions in an infinite square grid (see Comments).
Original entry on oeis.org
32, 44, 138, 226, 326, 310, 409, 1138, 5265, 10499
Offset: 4
4 INSTRUCTIONS
URDL: 32
-- 30 31 -- -- --
25 26 32 7 8 --
24 20 2 3 9 13
17 18 1 4 15 14
16 12 6 5 19 21
-- 11 10 29 23 22
-- -- -- 28 27 --
1) Both snakes start in square 1.
2) First snake go U = 2, second snake can't go Up.
3) First snake goes R = 3.
4) Second snake goes R = 4.
5) First snake cannot go D, so second snake D = 5.
6) First snake cannot go L, so second snake goes L = 6
7) First snake can go U = 7, and second cannot go U.
8) First snake can go R = 8, second snake cannot go R.
9) First snake can go D = 9, second snake can go D = 10.
10) First snake cannot go L, second snake can go L = 11.
11) First snake cannot go U, second snake can go U = 12.
12) First snake can go R = 13, second snake cannot go R.
13) First snake can go D = 14, second snake cannot go D.
14) First snake can go L = 15, second snake can go L = 16.
And so on.
| Instructions that give
n | Maximum length | the maximal length
--------------------------------------------
4 32 URDL
5 44 URDLU
6 138 UURDLL
7 226 UURDUUL
8 326 UURDLUUL
9 310 UUUURDUUL
10 409 URUDLLDURR
11 1138 UDDRDDRDUDL
12 5265 URUDRDURDDDL
13 10499 UUDRUDDLUULDD
Computer solutions found by Giorgio Vecchi.
- 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.
Showing 1-3 of 3 results.
Comments