nums
sequencelengths
4
4
target
int64
10
100
solution
sequencelengths
3
3
search_path
stringlengths
48
108k
rating
float64
0
1
search_type
stringclasses
6 values
optimal_path
stringlengths
361
529
heuristic
stringclasses
2 values
messages
listlengths
2
2
[ 90, 45, 13, 67 ]
56
[ "90/45=2", "67-13=54", "2+54=56" ]
Current State: 56:[90, 45, 13, 67], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [13, 67, 2] Generated Node #0,0: 56:[13, 67, 2] Operation: 90/45=2 Moving to Node #0,0 Current State: 56:[13, 67, 2], Operations: ['90/45=2'] Exploring Operation: 67-13=54, Resulting Numbers: [2, 54] Generated Node #0,0,0: 56:[2, 54] Operation: 67-13=54 Moving to Node #0,0,0 Current State: 56:[2, 54], Operations: ['90/45=2', '67-13=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.996528
bfs_1
Current State: 56:[90, 45, 13, 67], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [13, 67, 2] Generated Node #2: [13, 67, 2] from Operation: 90/45=2 Current State: 56:[13, 67, 2], Operations: ['90/45=2'] Exploring Operation: 67-13=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 67-13=54 Current State: 56:[2, 54], Operations: ['90/45=2', '67-13=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
mult_heuristic
[ { "content": "Make 56 with the numbers [90, 45, 13, 67] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 56:[90, 45, 13, 67], Operations: []\nExploring Operation: 90/45=2, Resulting Numbers: [13, 67, 2]\nGenerated Node #0,0: 56:[13, 67, 2] Operation: 90/45=2\nMoving to Node #0,0\nCurrent State: 56:[13, 67, 2], Operations: ['90/45=2']\nExploring Operation: 67-13=54, Resulting Numbers: [2, 54]\nGenerated Node #0,0,0: 56:[2, 54] Operation: 67-13=54\nMoving to Node #0,0,0\nCurrent State: 56:[2, 54], Operations: ['90/45=2', '67-13=54']\nExploring Operation: 2+54=56, Resulting Numbers: [56]\n56,56 equal: Goal Reached\n", "role": "assistant" } ]
[ 7, 37, 32, 15 ]
17
[ "37-7=30", "32+15=47", "47-30=17" ]
Current State: 17:[7, 37, 32, 15], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [7, 15, 5] Generated Node #0,0: 17:[7, 15, 5] Operation: 37-32=5 Moving to Node #0,0 Current State: 17:[7, 15, 5], Operations: ['37-32=5'] Exploring Operation: 7+5=12, Resulting Numbers: [15, 12] Generated Node #0,0,0: 17:[15, 12] Operation: 7+5=12 Moving to Node #0,0,0 Current State: 17:[15, 12], Operations: ['37-32=5', '7+5=12'] Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[15, 12], Operations: ['37-32=5', '7+5=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,17 unequal: No Solution Moving to Node #0,0 Current State: 17:[7, 15, 5], Operations: ['37-32=5'] Exploring Operation: 15+5=20, Resulting Numbers: [7, 20] Generated Node #0,0,1: 17:[7, 20] Operation: 15+5=20 Moving to Node #0,0,1 Current State: 17:[7, 20], Operations: ['37-32=5', '15+5=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[7, 20], Operations: ['37-32=5', '15+5=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,17 unequal: No Solution Moving to Node #0,0 Current State: 17:[7, 15, 5], Operations: ['37-32=5'] Exploring Operation: 7+15=22, Resulting Numbers: [5, 22] Generated Node #0,0,2: 17:[5, 22] Operation: 7+15=22 Moving to Node #0,0,2 Current State: 17:[5, 22], Operations: ['37-32=5', '7+15=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.991319
dfs
Current State: 17:[7, 37, 32, 15], Operations: [] Exploring Operation: 37-7=30, Resulting Numbers: [32, 15, 30] Generated Node #2: [32, 15, 30] from Operation: 37-7=30 Current State: 17:[32, 15, 30], Operations: ['37-7=30'] Exploring Operation: 32+15=47, Resulting Numbers: [30, 47] Generated Node #3: [30, 47] from Operation: 32+15=47 Current State: 17:[30, 47], Operations: ['37-7=30', '32+15=47'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
sum_heuristic
[ { "content": "Make 17 with the numbers [7, 37, 32, 15] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 17:[7, 37, 32, 15], Operations: []\nExploring Operation: 37-32=5, Resulting Numbers: [7, 15, 5]\nGenerated Node #0,0: 17:[7, 15, 5] Operation: 37-32=5\nMoving to Node #0,0\nCurrent State: 17:[7, 15, 5], Operations: ['37-32=5']\nExploring Operation: 7+5=12, Resulting Numbers: [15, 12]\nGenerated Node #0,0,0: 17:[15, 12] Operation: 7+5=12\nMoving to Node #0,0,0\nCurrent State: 17:[15, 12], Operations: ['37-32=5', '7+5=12']\nExploring Operation: 15+12=27, Resulting Numbers: [27]\n27,17 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 17:[15, 12], Operations: ['37-32=5', '7+5=12']\nExploring Operation: 15-12=3, Resulting Numbers: [3]\n3,17 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 17:[7, 15, 5], Operations: ['37-32=5']\nExploring Operation: 15+5=20, Resulting Numbers: [7, 20]\nGenerated Node #0,0,1: 17:[7, 20] Operation: 15+5=20\nMoving to Node #0,0,1\nCurrent State: 17:[7, 20], Operations: ['37-32=5', '15+5=20']\nExploring Operation: 20-7=13, Resulting Numbers: [13]\n13,17 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 17:[7, 20], Operations: ['37-32=5', '15+5=20']\nExploring Operation: 7+20=27, Resulting Numbers: [27]\n27,17 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 17:[7, 15, 5], Operations: ['37-32=5']\nExploring Operation: 7+15=22, Resulting Numbers: [5, 22]\nGenerated Node #0,0,2: 17:[5, 22] Operation: 7+15=22\nMoving to Node #0,0,2\nCurrent State: 17:[5, 22], Operations: ['37-32=5', '7+15=22']\nExploring Operation: 22-5=17, Resulting Numbers: [17]\n17,17 equal: Goal Reached\n", "role": "assistant" } ]
[ 40, 2, 34, 14 ]
71
[ "40+14=54", "34/2=17", "54+17=71" ]
Current State: 71:[40, 2, 34, 14], Operations: [] Exploring Operation: 40*2=80, Resulting Numbers: [34, 14, 80] Generated Node #0,0: 71:[34, 14, 80] Operation: 40*2=80 Exploring Operation: 2*34=68, Resulting Numbers: [40, 14, 68] Generated Node #0,1: 71:[40, 14, 68] Operation: 2*34=68 Exploring Operation: 2*14=28, Resulting Numbers: [40, 34, 28] Generated Node #0,2: 71:[40, 34, 28] Operation: 2*14=28 Moving to Node #0,1 Current State: 71:[40, 14, 68], Operations: ['2*34=68'] Exploring Operation: 40+14=54, Resulting Numbers: [68, 54] Generated Node #0,1,0: 71:[68, 54] Operation: 40+14=54 Exploring Operation: 14+68=82, Resulting Numbers: [40, 82] Generated Node #0,1,1: 71:[40, 82] Operation: 14+68=82 Exploring Operation: 40-14=26, Resulting Numbers: [68, 26] Generated Node #0,1,2: 71:[68, 26] Operation: 40-14=26 Moving to Node #0,0 Current State: 71:[34, 14, 80], Operations: ['40*2=80'] Exploring Operation: 34+14=48, Resulting Numbers: [80, 48] Generated Node #0,0,0: 71:[80, 48] Operation: 34+14=48 Exploring Operation: 34-14=20, Resulting Numbers: [80, 20] Generated Node #0,0,1: 71:[80, 20] Operation: 34-14=20 Exploring Operation: 80-14=66, Resulting Numbers: [34, 66] Generated Node #0,0,2: 71:[34, 66] Operation: 80-14=66 Moving to Node #0,2 Current State: 71:[40, 34, 28], Operations: ['2*14=28'] Exploring Operation: 34+28=62, Resulting Numbers: [40, 62] Generated Node #0,2,0: 71:[40, 62] Operation: 34+28=62 Exploring Operation: 40+34=74, Resulting Numbers: [28, 74] Generated Node #0,2,1: 71:[28, 74] Operation: 40+34=74 Exploring Operation: 40+28=68, Resulting Numbers: [34, 68] Generated Node #0,2,2: 71:[34, 68] Operation: 40+28=68 Moving to Node #0,1,0 Current State: 71:[68, 54], Operations: ['2*34=68', '40+14=54'] Exploring Operation: 68+54=122, Resulting Numbers: [122] 122,71 unequal: No Solution Exploring Operation: 68*54=3672, Resulting Numbers: [3672] 3672,71 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[80, 48], Operations: ['40*2=80', '34+14=48'] Exploring Operation: 80+48=128, Resulting Numbers: [128] 128,71 unequal: No Solution Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 80*48=3840, Resulting Numbers: [3840] 3840,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[40, 62], Operations: ['2*14=28', '34+28=62'] Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 40*62=2480, Resulting Numbers: [2480] 2480,71 unequal: No Solution Exploring Operation: 40+62=102, Resulting Numbers: [102] 102,71 unequal: No Solution Moving to Node #0,2,0,0 Current State: 71:[102], Operations: ['2*14=28', '34+28=62', '40+62=102'] Moving to Node #0,0,0,0 Current State: 71:[32], Operations: ['40*2=80', '34+14=48', '80-48=32'] Moving to Node #0,2,2 Current State: 71:[34, 68], Operations: ['2*14=28', '40+28=68'] Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 34+68=102, Resulting Numbers: [102] 102,71 unequal: No Solution Moving to Node #0,2,2,0 Current State: 71:[102], Operations: ['2*14=28', '40+28=68', '34+68=102'] Moving to Node #0,2,2,0 Current State: 71:[34], Operations: ['2*14=28', '40+28=68', '68-34=34'] Moving to Node #0,0,2 Current State: 71:[34, 66], Operations: ['40*2=80', '80-14=66'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,71 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,71 unequal: No Solution Moving to Node #0,0,2,0 Current State: 71:[100], Operations: ['40*2=80', '80-14=66', '34+66=100'] Moving to Node #0,0,2,0 Current State: 71:[32], Operations: ['40*2=80', '80-14=66', '66-34=32'] Moving to Node #0,1,1 Current State: 71:[40, 82], Operations: ['2*34=68', '14+68=82'] Exploring Operation: 40*82=3280, Resulting Numbers: [3280] 3280,71 unequal: No Solution Exploring Operation: 40+82=122, Resulting Numbers: [122] 122,71 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,71 unequal: No Solution Moving to Node #0,1,1,0 Current State: 71:[42], Operations: ['2*34=68', '14+68=82', '82-40=42'] Moving to Node #0,2,1 Current State: 71:[28, 74], Operations: ['2*14=28', '40+34=74'] Exploring Operation: 28*74=2072, Resulting Numbers: [2072] 2072,71 unequal: No Solution Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 28+74=102, Resulting Numbers: [102] 102,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[68, 26], Operations: ['2*34=68', '40-14=26'] Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,71 unequal: No Solution Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,71 unequal: No Solution Moving to Node #0,1,2,0 Current State: 71:[94], Operations: ['2*34=68', '40-14=26', '68+26=94'] Moving to Node #0,2,1,0 Current State: 71:[46], Operations: ['2*14=28', '40+34=74', '74-28=46'] Moving to Node #0,1,2,0 Current State: 71:[42], Operations: ['2*34=68', '40-14=26', '68-26=42'] Moving to Node #0,2,1,0 Current State: 71:[102], Operations: ['2*14=28', '40+34=74', '28+74=102'] Moving to Node #0,2,0,0 Current State: 71:[22], Operations: ['2*14=28', '34+28=62', '62-40=22'] Moving to Node #0,1,1,0 Current State: 71:[122], Operations: ['2*34=68', '14+68=82', '40+82=122'] Moving to Node #0,1,0,0 Current State: 71:[122], Operations: ['2*34=68', '40+14=54', '68+54=122'] Moving to Node #0,0,0,0 Current State: 71:[128], Operations: ['40*2=80', '34+14=48', '80+48=128'] Moving to Node #0,1,0,0 Current State: 71:[14], Operations: ['2*34=68', '40+14=54', '68-54=14'] Moving to Node #0,0,1 Current State: 71:[80, 20], Operations: ['40*2=80', '34-14=20'] Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,71 unequal: No Solution Moving to Node #0,2,2,0 Current State: 71:[2], Operations: ['2*14=28', '40+28=68', '68/34=2'] Moving to Node #0,1,2,0 Current State: 71:[1768], Operations: ['2*34=68', '40-14=26', '68*26=1768'] Moving to Node #0,0,1,0 Current State: 71:[60], Operations: ['40*2=80', '34-14=20', '80-20=60'] Moving to Node #0,0,1,0 Current State: 71:[100], Operations: ['40*2=80', '34-14=20', '80+20=100'] Moving to Node #0,0,1,0 Current State: 71:[4], Operations: ['40*2=80', '34-14=20', '80/20=4'] Moving to Node #0,2,1,0 Current State: 71:[2072], Operations: ['2*14=28', '40+34=74', '28*74=2072'] Moving to Node #0,0,2,0 Current State: 71:[2244], Operations: ['40*2=80', '80-14=66', '34*66=2244'] Moving to Node #0,2,0,0 Current State: 71:[2480], Operations: ['2*14=28', '34+28=62', '40*62=2480'] Moving to Node #0,1,1,0 Current State: 71:[3280], Operations: ['2*34=68', '14+68=82', '40*82=3280'] Moving to Node #0,1,0,0 Current State: 71:[3672], Operations: ['2*34=68', '40+14=54', '68*54=3672'] Moving to Node #0,0,0,0 Current State: 71:[3840], Operations: ['40*2=80', '34+14=48', '80*48=3840'] No solution found.
0
bfs_3
Current State: 71:[40, 2, 34, 14], Operations: [] Exploring Operation: 40+14=54, Resulting Numbers: [2, 34, 54] Generated Node #2: [2, 34, 54] from Operation: 40+14=54 Current State: 71:[2, 34, 54], Operations: ['40+14=54'] Exploring Operation: 34/2=17, Resulting Numbers: [54, 17] Generated Node #3: [54, 17] from Operation: 34/2=17 Current State: 71:[54, 17], Operations: ['40+14=54', '34/2=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
mult_heuristic
[ { "content": "Make 71 with the numbers [40, 2, 34, 14] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 71:[40, 2, 34, 14], Operations: []\nExploring Operation: 40*2=80, Resulting Numbers: [34, 14, 80]\nGenerated Node #0,0: 71:[34, 14, 80] Operation: 40*2=80\nExploring Operation: 2*34=68, Resulting Numbers: [40, 14, 68]\nGenerated Node #0,1: 71:[40, 14, 68] Operation: 2*34=68\nExploring Operation: 2*14=28, Resulting Numbers: [40, 34, 28]\nGenerated Node #0,2: 71:[40, 34, 28] Operation: 2*14=28\nMoving to Node #0,1\nCurrent State: 71:[40, 14, 68], Operations: ['2*34=68']\nExploring Operation: 40+14=54, Resulting Numbers: [68, 54]\nGenerated Node #0,1,0: 71:[68, 54] Operation: 40+14=54\nExploring Operation: 14+68=82, Resulting Numbers: [40, 82]\nGenerated Node #0,1,1: 71:[40, 82] Operation: 14+68=82\nExploring Operation: 40-14=26, Resulting Numbers: [68, 26]\nGenerated Node #0,1,2: 71:[68, 26] Operation: 40-14=26\nMoving to Node #0,0\nCurrent State: 71:[34, 14, 80], Operations: ['40*2=80']\nExploring Operation: 34+14=48, Resulting Numbers: [80, 48]\nGenerated Node #0,0,0: 71:[80, 48] Operation: 34+14=48\nExploring Operation: 34-14=20, Resulting Numbers: [80, 20]\nGenerated Node #0,0,1: 71:[80, 20] Operation: 34-14=20\nExploring Operation: 80-14=66, Resulting Numbers: [34, 66]\nGenerated Node #0,0,2: 71:[34, 66] Operation: 80-14=66\nMoving to Node #0,2\nCurrent State: 71:[40, 34, 28], Operations: ['2*14=28']\nExploring Operation: 34+28=62, Resulting Numbers: [40, 62]\nGenerated Node #0,2,0: 71:[40, 62] Operation: 34+28=62\nExploring Operation: 40+34=74, Resulting Numbers: [28, 74]\nGenerated Node #0,2,1: 71:[28, 74] Operation: 40+34=74\nExploring Operation: 40+28=68, Resulting Numbers: [34, 68]\nGenerated Node #0,2,2: 71:[34, 68] Operation: 40+28=68\nMoving to Node #0,1,0\nCurrent State: 71:[68, 54], Operations: ['2*34=68', '40+14=54']\nExploring Operation: 68+54=122, Resulting Numbers: [122]\n122,71 unequal: No Solution\nExploring Operation: 68*54=3672, Resulting Numbers: [3672]\n3672,71 unequal: No Solution\nExploring Operation: 68-54=14, Resulting Numbers: [14]\n14,71 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 71:[80, 48], Operations: ['40*2=80', '34+14=48']\nExploring Operation: 80+48=128, Resulting Numbers: [128]\n128,71 unequal: No Solution\nExploring Operation: 80-48=32, Resulting Numbers: [32]\n32,71 unequal: No Solution\nExploring Operation: 80*48=3840, Resulting Numbers: [3840]\n3840,71 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 71:[40, 62], Operations: ['2*14=28', '34+28=62']\nExploring Operation: 62-40=22, Resulting Numbers: [22]\n22,71 unequal: No Solution\nExploring Operation: 40*62=2480, Resulting Numbers: [2480]\n2480,71 unequal: No Solution\nExploring Operation: 40+62=102, Resulting Numbers: [102]\n102,71 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 71:[102], Operations: ['2*14=28', '34+28=62', '40+62=102']\nMoving to Node #0,0,0,0\nCurrent State: 71:[32], Operations: ['40*2=80', '34+14=48', '80-48=32']\nMoving to Node #0,2,2\nCurrent State: 71:[34, 68], Operations: ['2*14=28', '40+28=68']\nExploring Operation: 68/34=2, Resulting Numbers: [2]\n2,71 unequal: No Solution\nExploring Operation: 68-34=34, Resulting Numbers: [34]\n34,71 unequal: No Solution\nExploring Operation: 34+68=102, Resulting Numbers: [102]\n102,71 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 71:[102], Operations: ['2*14=28', '40+28=68', '34+68=102']\nMoving to Node #0,2,2,0\nCurrent State: 71:[34], Operations: ['2*14=28', '40+28=68', '68-34=34']\nMoving to Node #0,0,2\nCurrent State: 71:[34, 66], Operations: ['40*2=80', '80-14=66']\nExploring Operation: 66-34=32, Resulting Numbers: [32]\n32,71 unequal: No Solution\nExploring Operation: 34*66=2244, Resulting Numbers: [2244]\n2244,71 unequal: No Solution\nExploring Operation: 34+66=100, Resulting Numbers: [100]\n100,71 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 71:[100], Operations: ['40*2=80', '80-14=66', '34+66=100']\nMoving to Node #0,0,2,0\nCurrent State: 71:[32], Operations: ['40*2=80', '80-14=66', '66-34=32']\nMoving to Node #0,1,1\nCurrent State: 71:[40, 82], Operations: ['2*34=68', '14+68=82']\nExploring Operation: 40*82=3280, Resulting Numbers: [3280]\n3280,71 unequal: No Solution\nExploring Operation: 40+82=122, Resulting Numbers: [122]\n122,71 unequal: No Solution\nExploring Operation: 82-40=42, Resulting Numbers: [42]\n42,71 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 71:[42], Operations: ['2*34=68', '14+68=82', '82-40=42']\nMoving to Node #0,2,1\nCurrent State: 71:[28, 74], Operations: ['2*14=28', '40+34=74']\nExploring Operation: 28*74=2072, Resulting Numbers: [2072]\n2072,71 unequal: No Solution\nExploring Operation: 74-28=46, Resulting Numbers: [46]\n46,71 unequal: No Solution\nExploring Operation: 28+74=102, Resulting Numbers: [102]\n102,71 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 71:[68, 26], Operations: ['2*34=68', '40-14=26']\nExploring Operation: 68-26=42, Resulting Numbers: [42]\n42,71 unequal: No Solution\nExploring Operation: 68+26=94, Resulting Numbers: [94]\n94,71 unequal: No Solution\nExploring Operation: 68*26=1768, Resulting Numbers: [1768]\n1768,71 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 71:[94], Operations: ['2*34=68', '40-14=26', '68+26=94']\nMoving to Node #0,2,1,0\nCurrent State: 71:[46], Operations: ['2*14=28', '40+34=74', '74-28=46']\nMoving to Node #0,1,2,0\nCurrent State: 71:[42], Operations: ['2*34=68', '40-14=26', '68-26=42']\nMoving to Node #0,2,1,0\nCurrent State: 71:[102], Operations: ['2*14=28', '40+34=74', '28+74=102']\nMoving to Node #0,2,0,0\nCurrent State: 71:[22], Operations: ['2*14=28', '34+28=62', '62-40=22']\nMoving to Node #0,1,1,0\nCurrent State: 71:[122], Operations: ['2*34=68', '14+68=82', '40+82=122']\nMoving to Node #0,1,0,0\nCurrent State: 71:[122], Operations: ['2*34=68', '40+14=54', '68+54=122']\nMoving to Node #0,0,0,0\nCurrent State: 71:[128], Operations: ['40*2=80', '34+14=48', '80+48=128']\nMoving to Node #0,1,0,0\nCurrent State: 71:[14], Operations: ['2*34=68', '40+14=54', '68-54=14']\nMoving to Node #0,0,1\nCurrent State: 71:[80, 20], Operations: ['40*2=80', '34-14=20']\nExploring Operation: 80-20=60, Resulting Numbers: [60]\n60,71 unequal: No Solution\nExploring Operation: 80/20=4, Resulting Numbers: [4]\n4,71 unequal: No Solution\nExploring Operation: 80+20=100, Resulting Numbers: [100]\n100,71 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 71:[2], Operations: ['2*14=28', '40+28=68', '68/34=2']\nMoving to Node #0,1,2,0\nCurrent State: 71:[1768], Operations: ['2*34=68', '40-14=26', '68*26=1768']\nMoving to Node #0,0,1,0\nCurrent State: 71:[60], Operations: ['40*2=80', '34-14=20', '80-20=60']\nMoving to Node #0,0,1,0\nCurrent State: 71:[100], Operations: ['40*2=80', '34-14=20', '80+20=100']\nMoving to Node #0,0,1,0\nCurrent State: 71:[4], Operations: ['40*2=80', '34-14=20', '80/20=4']\nMoving to Node #0,2,1,0\nCurrent State: 71:[2072], Operations: ['2*14=28', '40+34=74', '28*74=2072']\nMoving to Node #0,0,2,0\nCurrent State: 71:[2244], Operations: ['40*2=80', '80-14=66', '34*66=2244']\nMoving to Node #0,2,0,0\nCurrent State: 71:[2480], Operations: ['2*14=28', '34+28=62', '40*62=2480']\nMoving to Node #0,1,1,0\nCurrent State: 71:[3280], Operations: ['2*34=68', '14+68=82', '40*82=3280']\nMoving to Node #0,1,0,0\nCurrent State: 71:[3672], Operations: ['2*34=68', '40+14=54', '68*54=3672']\nMoving to Node #0,0,0,0\nCurrent State: 71:[3840], Operations: ['40*2=80', '34+14=48', '80*48=3840']\nNo solution found.", "role": "assistant" } ]
[ 88, 53, 37, 80 ]
93
[ "53-37=16", "80/16=5", "88+5=93" ]
Current State: 93:[88, 53, 37, 80], Operations: [] Exploring Operation: 53+37=90, Resulting Numbers: [88, 80, 90] Generated Node #0,0: 93:[88, 80, 90] Operation: 53+37=90 Moving to Node #0,0 Current State: 93:[88, 80, 90], Operations: ['53+37=90'] Exploring Operation: 88+80=168, Resulting Numbers: [90, 168] Generated Node #0,0,0: 93:[90, 168] Operation: 88+80=168 Moving to Node #0,0,0 Current State: 93:[90, 168], Operations: ['53+37=90', '88+80=168'] Exploring Operation: 168-90=78, Resulting Numbers: [78] 78,93 unequal: No Solution Moving to Node #0,0 Current State: 93:[88, 80, 90], Operations: ['53+37=90'] Exploring Operation: 80+90=170, Resulting Numbers: [88, 170] Generated Node #0,0,1: 93:[88, 170] Operation: 80+90=170 Moving to Node #0,0,1 Current State: 93:[88, 170], Operations: ['53+37=90', '80+90=170'] Exploring Operation: 170-88=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,0 Current State: 93:[88, 80, 90], Operations: ['53+37=90'] Exploring Operation: 88-80=8, Resulting Numbers: [90, 8] Generated Node #0,0,2: 93:[90, 8] Operation: 88-80=8 Moving to Node #0,0,2 Current State: 93:[90, 8], Operations: ['53+37=90', '88-80=8'] Exploring Operation: 90+8=98, Resulting Numbers: [98] 98,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[90, 8], Operations: ['53+37=90', '88-80=8'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,0 Current State: 93:[88, 80, 90], Operations: ['53+37=90'] Exploring Operation: 90-80=10, Resulting Numbers: [88, 10] Generated Node #0,0,3: 93:[88, 10] Operation: 90-80=10 Moving to Node #0,0,3 Current State: 93:[88, 10], Operations: ['53+37=90', '90-80=10'] Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[88, 10], Operations: ['53+37=90', '90-80=10'] Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,93 unequal: No Solution Moving to Node #0,0 Current State: 93:[88, 80, 90], Operations: ['53+37=90'] Exploring Operation: 88+90=178, Resulting Numbers: [80, 178] Generated Node #0,0,4: 93:[80, 178] Operation: 88+90=178 Moving to Node #0,0,4 Current State: 93:[80, 178], Operations: ['53+37=90', '88+90=178'] Exploring Operation: 178-80=98, Resulting Numbers: [98] 98,93 unequal: No Solution Moving to Node #0,0 Current State: 93:[88, 80, 90], Operations: ['53+37=90'] Exploring Operation: 90-88=2, Resulting Numbers: [80, 2] Generated Node #0,0,5: 93:[80, 2] Operation: 90-88=2 Moving to Node #0,0,5 Current State: 93:[80, 2], Operations: ['53+37=90', '90-88=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,0,5 Current State: 93:[80, 2], Operations: ['53+37=90', '90-88=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,93 unequal: No Solution Moving to Node #0,0,5 Current State: 93:[80, 2], Operations: ['53+37=90', '90-88=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,93 unequal: No Solution Moving to Node #0,0,5 Current State: 93:[80, 2], Operations: ['53+37=90', '90-88=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,93 unequal: No Solution Moving to Node #0 Current State: 93:[88, 53, 37, 80], Operations: [] Exploring Operation: 37+80=117, Resulting Numbers: [88, 53, 117] Generated Node #0,1: 93:[88, 53, 117] Operation: 37+80=117 Moving to Node #0,1 Current State: 93:[88, 53, 117], Operations: ['37+80=117'] Exploring Operation: 117-53=64, Resulting Numbers: [88, 64] Generated Node #0,1,0: 93:[88, 64] Operation: 117-53=64 Moving to Node #0,1,0 Current State: 93:[88, 64], Operations: ['37+80=117', '117-53=64'] Exploring Operation: 88+64=152, Resulting Numbers: [152] 152,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[88, 64], Operations: ['37+80=117', '117-53=64'] Exploring Operation: 88-64=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0,1 Current State: 93:[88, 53, 117], Operations: ['37+80=117'] Exploring Operation: 88+53=141, Resulting Numbers: [117, 141] Generated Node #0,1,1: 93:[117, 141] Operation: 88+53=141 Moving to Node #0,1,1 Current State: 93:[117, 141], Operations: ['37+80=117', '88+53=141'] Exploring Operation: 141-117=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0,1 Current State: 93:[88, 53, 117], Operations: ['37+80=117'] Exploring Operation: 88-53=35, Resulting Numbers: [117, 35] Generated Node #0,1,2: 93:[117, 35] Operation: 88-53=35 Moving to Node #0,1,2 Current State: 93:[117, 35], Operations: ['37+80=117', '88-53=35'] Exploring Operation: 117-35=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[117, 35], Operations: ['37+80=117', '88-53=35'] Exploring Operation: 117+35=152, Resulting Numbers: [152] 152,93 unequal: No Solution Moving to Node #0,1 Current State: 93:[88, 53, 117], Operations: ['37+80=117'] Exploring Operation: 53+117=170, Resulting Numbers: [88, 170] Generated Node #0,1,3: 93:[88, 170] Operation: 53+117=170 Moving to Node #0,1,3 Current State: 93:[88, 170], Operations: ['37+80=117', '53+117=170'] Exploring Operation: 170-88=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,1 Current State: 93:[88, 53, 117], Operations: ['37+80=117'] Exploring Operation: 117-88=29, Resulting Numbers: [53, 29] Generated Node #0,1,4: 93:[53, 29] Operation: 117-88=29 Moving to Node #0,1,4 Current State: 93:[53, 29], Operations: ['37+80=117', '117-88=29'] Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,1,4 Current State: 93:[53, 29], Operations: ['37+80=117', '117-88=29'] Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0,1 Current State: 93:[88, 53, 117], Operations: ['37+80=117'] Exploring Operation: 88+117=205, Resulting Numbers: [53, 205] Generated Node #0,1,5: 93:[53, 205] Operation: 88+117=205 Moving to Node #0,1,5 Current State: 93:[53, 205], Operations: ['37+80=117', '88+117=205'] Exploring Operation: 205-53=152, Resulting Numbers: [152] 152,93 unequal: No Solution Moving to Node #0 Current State: 93:[88, 53, 37, 80], Operations: [] Exploring Operation: 88+37=125, Resulting Numbers: [53, 80, 125] Generated Node #0,2: 93:[53, 80, 125] Operation: 88+37=125 Moving to Node #0,2 Current State: 93:[53, 80, 125], Operations: ['88+37=125'] Exploring Operation: 125-53=72, Resulting Numbers: [80, 72] Generated Node #0,2,0: 93:[80, 72] Operation: 125-53=72 Moving to Node #0,2,0 Current State: 93:[80, 72], Operations: ['88+37=125', '125-53=72'] Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[80, 72], Operations: ['88+37=125', '125-53=72'] Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,93 unequal: No Solution Moving to Node #0,2 Current State: 93:[53, 80, 125], Operations: ['88+37=125'] Exploring Operation: 53+80=133, Resulting Numbers: [125, 133] Generated Node #0,2,1: 93:[125, 133] Operation: 53+80=133 Moving to Node #0,2,1 Current State: 93:[125, 133], Operations: ['88+37=125', '53+80=133'] Exploring Operation: 133-125=8, Resulting Numbers: [8] 8,93 unequal: No Solution Moving to Node #0,2 Current State: 93:[53, 80, 125], Operations: ['88+37=125'] Exploring Operation: 125-80=45, Resulting Numbers: [53, 45] Generated Node #0,2,2: 93:[53, 45] Operation: 125-80=45 Moving to Node #0,2,2 Current State: 93:[53, 45], Operations: ['88+37=125', '125-80=45'] Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[53, 45], Operations: ['88+37=125', '125-80=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,93 unequal: No Solution Moving to Node #0,2 Current State: 93:[53, 80, 125], Operations: ['88+37=125'] Exploring Operation: 80-53=27, Resulting Numbers: [125, 27] Generated Node #0,2,3: 93:[125, 27] Operation: 80-53=27 Moving to Node #0,2,3 Current State: 93:[125, 27], Operations: ['88+37=125', '80-53=27'] Exploring Operation: 125-27=98, Resulting Numbers: [98] 98,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[125, 27], Operations: ['88+37=125', '80-53=27'] Exploring Operation: 125+27=152, Resulting Numbers: [152] 152,93 unequal: No Solution Moving to Node #0,2 Current State: 93:[53, 80, 125], Operations: ['88+37=125'] Exploring Operation: 53+125=178, Resulting Numbers: [80, 178] Generated Node #0,2,4: 93:[80, 178] Operation: 53+125=178 Moving to Node #0,2,4 Current State: 93:[80, 178], Operations: ['88+37=125', '53+125=178'] Exploring Operation: 178-80=98, Resulting Numbers: [98] 98,93 unequal: No Solution Moving to Node #0,2 Current State: 93:[53, 80, 125], Operations: ['88+37=125'] Exploring Operation: 80+125=205, Resulting Numbers: [53, 205] Generated Node #0,2,5: 93:[53, 205] Operation: 80+125=205 Moving to Node #0,2,5 Current State: 93:[53, 205], Operations: ['88+37=125', '80+125=205'] Exploring Operation: 205-53=152, Resulting Numbers: [152] 152,93 unequal: No Solution Moving to Node #0 Current State: 93:[88, 53, 37, 80], Operations: [] Exploring Operation: 88-37=51, Resulting Numbers: [53, 80, 51] Generated Node #0,3: 93:[53, 80, 51] Operation: 88-37=51 Moving to Node #0,3 Current State: 93:[53, 80, 51], Operations: ['88-37=51'] Exploring Operation: 53+51=104, Resulting Numbers: [80, 104] Generated Node #0,3,0: 93:[80, 104] Operation: 53+51=104 Moving to Node #0,3,0 Current State: 93:[80, 104], Operations: ['88-37=51', '53+51=104'] Exploring Operation: 104-80=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[80, 104], Operations: ['88-37=51', '53+51=104'] Exploring Operation: 80+104=184, Resulting Numbers: [184] 184,93 unequal: No Solution Moving to Node #0,3 Current State: 93:[53, 80, 51], Operations: ['88-37=51'] Exploring Operation: 80+51=131, Resulting Numbers: [53, 131] Generated Node #0,3,1: 93:[53, 131] Operation: 80+51=131 Moving to Node #0,3,1 Current State: 93:[53, 131], Operations: ['88-37=51', '80+51=131'] Exploring Operation: 131-53=78, Resulting Numbers: [78] 78,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[53, 131], Operations: ['88-37=51', '80+51=131'] Exploring Operation: 53+131=184, Resulting Numbers: [184] 184,93 unequal: No Solution Moving to Node #0,3 Current State: 93:[53, 80, 51], Operations: ['88-37=51'] Exploring Operation: 53+80=133, Resulting Numbers: [51, 133] Generated Node #0,3,2: 93:[51, 133] Operation: 53+80=133 Moving to Node #0,3,2 Current State: 93:[51, 133], Operations: ['88-37=51', '53+80=133'] Exploring Operation: 133-51=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[51, 133], Operations: ['88-37=51', '53+80=133'] Exploring Operation: 51+133=184, Resulting Numbers: [184] 184,93 unequal: No Solution Moving to Node #0,3 Current State: 93:[53, 80, 51], Operations: ['88-37=51'] Exploring Operation: 53-51=2, Resulting Numbers: [80, 2] Generated Node #0,3,3: 93:[80, 2] Operation: 53-51=2 Moving to Node #0,3,3 Current State: 93:[80, 2], Operations: ['88-37=51', '53-51=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[80, 2], Operations: ['88-37=51', '53-51=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[80, 2], Operations: ['88-37=51', '53-51=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[80, 2], Operations: ['88-37=51', '53-51=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,93 unequal: No Solution Moving to Node #0,3 Current State: 93:[53, 80, 51], Operations: ['88-37=51'] Exploring Operation: 80-51=29, Resulting Numbers: [53, 29] Generated Node #0,3,4: 93:[53, 29] Operation: 80-51=29 Moving to Node #0,3,4 Current State: 93:[53, 29], Operations: ['88-37=51', '80-51=29'] Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,3,4 Current State: 93:[53, 29], Operations: ['88-37=51', '80-51=29'] Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0,3 Current State: 93:[53, 80, 51], Operations: ['88-37=51'] Exploring Operation: 80-53=27, Resulting Numbers: [51, 27] Generated Node #0,3,5: 93:[51, 27] Operation: 80-53=27 Moving to Node #0,3,5 Current State: 93:[51, 27], Operations: ['88-37=51', '80-53=27'] Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,93 unequal: No Solution Moving to Node #0,3,5 Current State: 93:[51, 27], Operations: ['88-37=51', '80-53=27'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0 Current State: 93:[88, 53, 37, 80], Operations: [] Exploring Operation: 53-37=16, Resulting Numbers: [88, 80, 16] Generated Node #0,4: 93:[88, 80, 16] Operation: 53-37=16 Moving to Node #0,4 Current State: 93:[88, 80, 16], Operations: ['53-37=16'] Exploring Operation: 80+16=96, Resulting Numbers: [88, 96] Generated Node #0,4,0: 93:[88, 96] Operation: 80+16=96 Moving to Node #0,4,0 Current State: 93:[88, 96], Operations: ['53-37=16', '80+16=96'] Exploring Operation: 96-88=8, Resulting Numbers: [8] 8,93 unequal: No Solution Moving to Node #0,4,0 Current State: 93:[88, 96], Operations: ['53-37=16', '80+16=96'] Exploring Operation: 88+96=184, Resulting Numbers: [184] 184,93 unequal: No Solution Moving to Node #0,4 Current State: 93:[88, 80, 16], Operations: ['53-37=16'] Exploring Operation: 88+16=104, Resulting Numbers: [80, 104] Generated Node #0,4,1: 93:[80, 104] Operation: 88+16=104 Moving to Node #0,4,1 Current State: 93:[80, 104], Operations: ['53-37=16', '88+16=104'] Exploring Operation: 104-80=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0,4,1 Current State: 93:[80, 104], Operations: ['53-37=16', '88+16=104'] Exploring Operation: 80+104=184, Resulting Numbers: [184] 184,93 unequal: No Solution Moving to Node #0,4 Current State: 93:[88, 80, 16], Operations: ['53-37=16'] Exploring Operation: 88-16=72, Resulting Numbers: [80, 72] Generated Node #0,4,2: 93:[80, 72] Operation: 88-16=72 Moving to Node #0,4,2 Current State: 93:[80, 72], Operations: ['53-37=16', '88-16=72'] Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,93 unequal: No Solution Moving to Node #0,4,2 Current State: 93:[80, 72], Operations: ['53-37=16', '88-16=72'] Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,93 unequal: No Solution Moving to Node #0,4 Current State: 93:[88, 80, 16], Operations: ['53-37=16'] Exploring Operation: 80-16=64, Resulting Numbers: [88, 64] Generated Node #0,4,3: 93:[88, 64] Operation: 80-16=64 Moving to Node #0,4,3 Current State: 93:[88, 64], Operations: ['53-37=16', '80-16=64'] Exploring Operation: 88+64=152, Resulting Numbers: [152] 152,93 unequal: No Solution Moving to Node #0,4,3 Current State: 93:[88, 64], Operations: ['53-37=16', '80-16=64'] Exploring Operation: 88-64=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0,4 Current State: 93:[88, 80, 16], Operations: ['53-37=16'] Exploring Operation: 80/16=5, Resulting Numbers: [88, 5] Generated Node #0,4,4: 93:[88, 5] Operation: 80/16=5 Moving to Node #0,4,4 Current State: 93:[88, 5], Operations: ['53-37=16', '80/16=5'] Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.924479
dfs
Current State: 93:[88, 53, 37, 80], Operations: [] Exploring Operation: 53-37=16, Resulting Numbers: [88, 80, 16] Generated Node #2: [88, 80, 16] from Operation: 53-37=16 Current State: 93:[88, 80, 16], Operations: ['53-37=16'] Exploring Operation: 80/16=5, Resulting Numbers: [88, 5] Generated Node #3: [88, 5] from Operation: 80/16=5 Current State: 93:[88, 5], Operations: ['53-37=16', '80/16=5'] Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
sum_heuristic
[ { "content": "Make 93 with the numbers [88, 53, 37, 80] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 93:[88, 53, 37, 80], Operations: []\nExploring Operation: 53+37=90, Resulting Numbers: [88, 80, 90]\nGenerated Node #0,0: 93:[88, 80, 90] Operation: 53+37=90\nMoving to Node #0,0\nCurrent State: 93:[88, 80, 90], Operations: ['53+37=90']\nExploring Operation: 88+80=168, Resulting Numbers: [90, 168]\nGenerated Node #0,0,0: 93:[90, 168] Operation: 88+80=168\nMoving to Node #0,0,0\nCurrent State: 93:[90, 168], Operations: ['53+37=90', '88+80=168']\nExploring Operation: 168-90=78, Resulting Numbers: [78]\n78,93 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 93:[88, 80, 90], Operations: ['53+37=90']\nExploring Operation: 80+90=170, Resulting Numbers: [88, 170]\nGenerated Node #0,0,1: 93:[88, 170] Operation: 80+90=170\nMoving to Node #0,0,1\nCurrent State: 93:[88, 170], Operations: ['53+37=90', '80+90=170']\nExploring Operation: 170-88=82, Resulting Numbers: [82]\n82,93 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 93:[88, 80, 90], Operations: ['53+37=90']\nExploring Operation: 88-80=8, Resulting Numbers: [90, 8]\nGenerated Node #0,0,2: 93:[90, 8] Operation: 88-80=8\nMoving to Node #0,0,2\nCurrent State: 93:[90, 8], Operations: ['53+37=90', '88-80=8']\nExploring Operation: 90+8=98, Resulting Numbers: [98]\n98,93 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 93:[90, 8], Operations: ['53+37=90', '88-80=8']\nExploring Operation: 90-8=82, Resulting Numbers: [82]\n82,93 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 93:[88, 80, 90], Operations: ['53+37=90']\nExploring Operation: 90-80=10, Resulting Numbers: [88, 10]\nGenerated Node #0,0,3: 93:[88, 10] Operation: 90-80=10\nMoving to Node #0,0,3\nCurrent State: 93:[88, 10], Operations: ['53+37=90', '90-80=10']\nExploring Operation: 88+10=98, Resulting Numbers: [98]\n98,93 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 93:[88, 10], Operations: ['53+37=90', '90-80=10']\nExploring Operation: 88-10=78, Resulting Numbers: [78]\n78,93 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 93:[88, 80, 90], Operations: ['53+37=90']\nExploring Operation: 88+90=178, Resulting Numbers: [80, 178]\nGenerated Node #0,0,4: 93:[80, 178] Operation: 88+90=178\nMoving to Node #0,0,4\nCurrent State: 93:[80, 178], Operations: ['53+37=90', '88+90=178']\nExploring Operation: 178-80=98, Resulting Numbers: [98]\n98,93 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 93:[88, 80, 90], Operations: ['53+37=90']\nExploring Operation: 90-88=2, Resulting Numbers: [80, 2]\nGenerated Node #0,0,5: 93:[80, 2] Operation: 90-88=2\nMoving to Node #0,0,5\nCurrent State: 93:[80, 2], Operations: ['53+37=90', '90-88=2']\nExploring Operation: 80+2=82, Resulting Numbers: [82]\n82,93 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 93:[80, 2], Operations: ['53+37=90', '90-88=2']\nExploring Operation: 80-2=78, Resulting Numbers: [78]\n78,93 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 93:[80, 2], Operations: ['53+37=90', '90-88=2']\nExploring Operation: 80/2=40, Resulting Numbers: [40]\n40,93 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 93:[80, 2], Operations: ['53+37=90', '90-88=2']\nExploring Operation: 80*2=160, Resulting Numbers: [160]\n160,93 unequal: No Solution\nMoving to Node #0\nCurrent State: 93:[88, 53, 37, 80], Operations: []\nExploring Operation: 37+80=117, Resulting Numbers: [88, 53, 117]\nGenerated Node #0,1: 93:[88, 53, 117] Operation: 37+80=117\nMoving to Node #0,1\nCurrent State: 93:[88, 53, 117], Operations: ['37+80=117']\nExploring Operation: 117-53=64, Resulting Numbers: [88, 64]\nGenerated Node #0,1,0: 93:[88, 64] Operation: 117-53=64\nMoving to Node #0,1,0\nCurrent State: 93:[88, 64], Operations: ['37+80=117', '117-53=64']\nExploring Operation: 88+64=152, Resulting Numbers: [152]\n152,93 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 93:[88, 64], Operations: ['37+80=117', '117-53=64']\nExploring Operation: 88-64=24, Resulting Numbers: [24]\n24,93 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 93:[88, 53, 117], Operations: ['37+80=117']\nExploring Operation: 88+53=141, Resulting Numbers: [117, 141]\nGenerated Node #0,1,1: 93:[117, 141] Operation: 88+53=141\nMoving to Node #0,1,1\nCurrent State: 93:[117, 141], Operations: ['37+80=117', '88+53=141']\nExploring Operation: 141-117=24, Resulting Numbers: [24]\n24,93 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 93:[88, 53, 117], Operations: ['37+80=117']\nExploring Operation: 88-53=35, Resulting Numbers: [117, 35]\nGenerated Node #0,1,2: 93:[117, 35] Operation: 88-53=35\nMoving to Node #0,1,2\nCurrent State: 93:[117, 35], Operations: ['37+80=117', '88-53=35']\nExploring Operation: 117-35=82, Resulting Numbers: [82]\n82,93 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 93:[117, 35], Operations: ['37+80=117', '88-53=35']\nExploring Operation: 117+35=152, Resulting Numbers: [152]\n152,93 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 93:[88, 53, 117], Operations: ['37+80=117']\nExploring Operation: 53+117=170, Resulting Numbers: [88, 170]\nGenerated Node #0,1,3: 93:[88, 170] Operation: 53+117=170\nMoving to Node #0,1,3\nCurrent State: 93:[88, 170], Operations: ['37+80=117', '53+117=170']\nExploring Operation: 170-88=82, Resulting Numbers: [82]\n82,93 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 93:[88, 53, 117], Operations: ['37+80=117']\nExploring Operation: 117-88=29, Resulting Numbers: [53, 29]\nGenerated Node #0,1,4: 93:[53, 29] Operation: 117-88=29\nMoving to Node #0,1,4\nCurrent State: 93:[53, 29], Operations: ['37+80=117', '117-88=29']\nExploring Operation: 53+29=82, Resulting Numbers: [82]\n82,93 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 93:[53, 29], Operations: ['37+80=117', '117-88=29']\nExploring Operation: 53-29=24, Resulting Numbers: [24]\n24,93 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 93:[88, 53, 117], Operations: ['37+80=117']\nExploring Operation: 88+117=205, Resulting Numbers: [53, 205]\nGenerated Node #0,1,5: 93:[53, 205] Operation: 88+117=205\nMoving to Node #0,1,5\nCurrent State: 93:[53, 205], Operations: ['37+80=117', '88+117=205']\nExploring Operation: 205-53=152, Resulting Numbers: [152]\n152,93 unequal: No Solution\nMoving to Node #0\nCurrent State: 93:[88, 53, 37, 80], Operations: []\nExploring Operation: 88+37=125, Resulting Numbers: [53, 80, 125]\nGenerated Node #0,2: 93:[53, 80, 125] Operation: 88+37=125\nMoving to Node #0,2\nCurrent State: 93:[53, 80, 125], Operations: ['88+37=125']\nExploring Operation: 125-53=72, Resulting Numbers: [80, 72]\nGenerated Node #0,2,0: 93:[80, 72] Operation: 125-53=72\nMoving to Node #0,2,0\nCurrent State: 93:[80, 72], Operations: ['88+37=125', '125-53=72']\nExploring Operation: 80+72=152, Resulting Numbers: [152]\n152,93 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 93:[80, 72], Operations: ['88+37=125', '125-53=72']\nExploring Operation: 80-72=8, Resulting Numbers: [8]\n8,93 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 93:[53, 80, 125], Operations: ['88+37=125']\nExploring Operation: 53+80=133, Resulting Numbers: [125, 133]\nGenerated Node #0,2,1: 93:[125, 133] Operation: 53+80=133\nMoving to Node #0,2,1\nCurrent State: 93:[125, 133], Operations: ['88+37=125', '53+80=133']\nExploring Operation: 133-125=8, Resulting Numbers: [8]\n8,93 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 93:[53, 80, 125], Operations: ['88+37=125']\nExploring Operation: 125-80=45, Resulting Numbers: [53, 45]\nGenerated Node #0,2,2: 93:[53, 45] Operation: 125-80=45\nMoving to Node #0,2,2\nCurrent State: 93:[53, 45], Operations: ['88+37=125', '125-80=45']\nExploring Operation: 53+45=98, Resulting Numbers: [98]\n98,93 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 93:[53, 45], Operations: ['88+37=125', '125-80=45']\nExploring Operation: 53-45=8, Resulting Numbers: [8]\n8,93 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 93:[53, 80, 125], Operations: ['88+37=125']\nExploring Operation: 80-53=27, Resulting Numbers: [125, 27]\nGenerated Node #0,2,3: 93:[125, 27] Operation: 80-53=27\nMoving to Node #0,2,3\nCurrent State: 93:[125, 27], Operations: ['88+37=125', '80-53=27']\nExploring Operation: 125-27=98, Resulting Numbers: [98]\n98,93 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 93:[125, 27], Operations: ['88+37=125', '80-53=27']\nExploring Operation: 125+27=152, Resulting Numbers: [152]\n152,93 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 93:[53, 80, 125], Operations: ['88+37=125']\nExploring Operation: 53+125=178, Resulting Numbers: [80, 178]\nGenerated Node #0,2,4: 93:[80, 178] Operation: 53+125=178\nMoving to Node #0,2,4\nCurrent State: 93:[80, 178], Operations: ['88+37=125', '53+125=178']\nExploring Operation: 178-80=98, Resulting Numbers: [98]\n98,93 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 93:[53, 80, 125], Operations: ['88+37=125']\nExploring Operation: 80+125=205, Resulting Numbers: [53, 205]\nGenerated Node #0,2,5: 93:[53, 205] Operation: 80+125=205\nMoving to Node #0,2,5\nCurrent State: 93:[53, 205], Operations: ['88+37=125', '80+125=205']\nExploring Operation: 205-53=152, Resulting Numbers: [152]\n152,93 unequal: No Solution\nMoving to Node #0\nCurrent State: 93:[88, 53, 37, 80], Operations: []\nExploring Operation: 88-37=51, Resulting Numbers: [53, 80, 51]\nGenerated Node #0,3: 93:[53, 80, 51] Operation: 88-37=51\nMoving to Node #0,3\nCurrent State: 93:[53, 80, 51], Operations: ['88-37=51']\nExploring Operation: 53+51=104, Resulting Numbers: [80, 104]\nGenerated Node #0,3,0: 93:[80, 104] Operation: 53+51=104\nMoving to Node #0,3,0\nCurrent State: 93:[80, 104], Operations: ['88-37=51', '53+51=104']\nExploring Operation: 104-80=24, Resulting Numbers: [24]\n24,93 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 93:[80, 104], Operations: ['88-37=51', '53+51=104']\nExploring Operation: 80+104=184, Resulting Numbers: [184]\n184,93 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 93:[53, 80, 51], Operations: ['88-37=51']\nExploring Operation: 80+51=131, Resulting Numbers: [53, 131]\nGenerated Node #0,3,1: 93:[53, 131] Operation: 80+51=131\nMoving to Node #0,3,1\nCurrent State: 93:[53, 131], Operations: ['88-37=51', '80+51=131']\nExploring Operation: 131-53=78, Resulting Numbers: [78]\n78,93 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 93:[53, 131], Operations: ['88-37=51', '80+51=131']\nExploring Operation: 53+131=184, Resulting Numbers: [184]\n184,93 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 93:[53, 80, 51], Operations: ['88-37=51']\nExploring Operation: 53+80=133, Resulting Numbers: [51, 133]\nGenerated Node #0,3,2: 93:[51, 133] Operation: 53+80=133\nMoving to Node #0,3,2\nCurrent State: 93:[51, 133], Operations: ['88-37=51', '53+80=133']\nExploring Operation: 133-51=82, Resulting Numbers: [82]\n82,93 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 93:[51, 133], Operations: ['88-37=51', '53+80=133']\nExploring Operation: 51+133=184, Resulting Numbers: [184]\n184,93 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 93:[53, 80, 51], Operations: ['88-37=51']\nExploring Operation: 53-51=2, Resulting Numbers: [80, 2]\nGenerated Node #0,3,3: 93:[80, 2] Operation: 53-51=2\nMoving to Node #0,3,3\nCurrent State: 93:[80, 2], Operations: ['88-37=51', '53-51=2']\nExploring Operation: 80+2=82, Resulting Numbers: [82]\n82,93 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 93:[80, 2], Operations: ['88-37=51', '53-51=2']\nExploring Operation: 80-2=78, Resulting Numbers: [78]\n78,93 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 93:[80, 2], Operations: ['88-37=51', '53-51=2']\nExploring Operation: 80/2=40, Resulting Numbers: [40]\n40,93 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 93:[80, 2], Operations: ['88-37=51', '53-51=2']\nExploring Operation: 80*2=160, Resulting Numbers: [160]\n160,93 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 93:[53, 80, 51], Operations: ['88-37=51']\nExploring Operation: 80-51=29, Resulting Numbers: [53, 29]\nGenerated Node #0,3,4: 93:[53, 29] Operation: 80-51=29\nMoving to Node #0,3,4\nCurrent State: 93:[53, 29], Operations: ['88-37=51', '80-51=29']\nExploring Operation: 53+29=82, Resulting Numbers: [82]\n82,93 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 93:[53, 29], Operations: ['88-37=51', '80-51=29']\nExploring Operation: 53-29=24, Resulting Numbers: [24]\n24,93 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 93:[53, 80, 51], Operations: ['88-37=51']\nExploring Operation: 80-53=27, Resulting Numbers: [51, 27]\nGenerated Node #0,3,5: 93:[51, 27] Operation: 80-53=27\nMoving to Node #0,3,5\nCurrent State: 93:[51, 27], Operations: ['88-37=51', '80-53=27']\nExploring Operation: 51+27=78, Resulting Numbers: [78]\n78,93 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 93:[51, 27], Operations: ['88-37=51', '80-53=27']\nExploring Operation: 51-27=24, Resulting Numbers: [24]\n24,93 unequal: No Solution\nMoving to Node #0\nCurrent State: 93:[88, 53, 37, 80], Operations: []\nExploring Operation: 53-37=16, Resulting Numbers: [88, 80, 16]\nGenerated Node #0,4: 93:[88, 80, 16] Operation: 53-37=16\nMoving to Node #0,4\nCurrent State: 93:[88, 80, 16], Operations: ['53-37=16']\nExploring Operation: 80+16=96, Resulting Numbers: [88, 96]\nGenerated Node #0,4,0: 93:[88, 96] Operation: 80+16=96\nMoving to Node #0,4,0\nCurrent State: 93:[88, 96], Operations: ['53-37=16', '80+16=96']\nExploring Operation: 96-88=8, Resulting Numbers: [8]\n8,93 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 93:[88, 96], Operations: ['53-37=16', '80+16=96']\nExploring Operation: 88+96=184, Resulting Numbers: [184]\n184,93 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 93:[88, 80, 16], Operations: ['53-37=16']\nExploring Operation: 88+16=104, Resulting Numbers: [80, 104]\nGenerated Node #0,4,1: 93:[80, 104] Operation: 88+16=104\nMoving to Node #0,4,1\nCurrent State: 93:[80, 104], Operations: ['53-37=16', '88+16=104']\nExploring Operation: 104-80=24, Resulting Numbers: [24]\n24,93 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 93:[80, 104], Operations: ['53-37=16', '88+16=104']\nExploring Operation: 80+104=184, Resulting Numbers: [184]\n184,93 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 93:[88, 80, 16], Operations: ['53-37=16']\nExploring Operation: 88-16=72, Resulting Numbers: [80, 72]\nGenerated Node #0,4,2: 93:[80, 72] Operation: 88-16=72\nMoving to Node #0,4,2\nCurrent State: 93:[80, 72], Operations: ['53-37=16', '88-16=72']\nExploring Operation: 80+72=152, Resulting Numbers: [152]\n152,93 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 93:[80, 72], Operations: ['53-37=16', '88-16=72']\nExploring Operation: 80-72=8, Resulting Numbers: [8]\n8,93 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 93:[88, 80, 16], Operations: ['53-37=16']\nExploring Operation: 80-16=64, Resulting Numbers: [88, 64]\nGenerated Node #0,4,3: 93:[88, 64] Operation: 80-16=64\nMoving to Node #0,4,3\nCurrent State: 93:[88, 64], Operations: ['53-37=16', '80-16=64']\nExploring Operation: 88+64=152, Resulting Numbers: [152]\n152,93 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 93:[88, 64], Operations: ['53-37=16', '80-16=64']\nExploring Operation: 88-64=24, Resulting Numbers: [24]\n24,93 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 93:[88, 80, 16], Operations: ['53-37=16']\nExploring Operation: 80/16=5, Resulting Numbers: [88, 5]\nGenerated Node #0,4,4: 93:[88, 5] Operation: 80/16=5\nMoving to Node #0,4,4\nCurrent State: 93:[88, 5], Operations: ['53-37=16', '80/16=5']\nExploring Operation: 88+5=93, Resulting Numbers: [93]\n93,93 equal: Goal Reached\n", "role": "assistant" } ]
[ 28, 91, 19, 63 ]
46
[ "19*63=1197", "91+1197=1288", "1288/28=46" ]
Current State: 46:[28, 91, 19, 63], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [28, 19, 28] Generated Node #0,0: 46:[28, 19, 28] Operation: 91-63=28 Moving to Node #0,0 Current State: 46:[28, 19, 28], Operations: ['91-63=28'] Exploring Operation: 28/28=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 46:[19, 1] Operation: 28/28=1 Moving to Node #0,0,0 Current State: 46:[19, 1], Operations: ['91-63=28', '28/28=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[19, 1], Operations: ['91-63=28', '28/28=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[19, 1], Operations: ['91-63=28', '28/28=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[19, 1], Operations: ['91-63=28', '28/28=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[28, 19, 28], Operations: ['91-63=28'] Exploring Operation: 28+19=47, Resulting Numbers: [28, 47] Generated Node #0,0,1: 46:[28, 47] Operation: 28+19=47 Moving to Node #0,0,1 Current State: 46:[28, 47], Operations: ['91-63=28', '28+19=47'] Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[28, 47], Operations: ['91-63=28', '28+19=47'] Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[28, 19, 28], Operations: ['91-63=28'] Exploring Operation: 28-28=0, Resulting Numbers: [19, 0] Generated Node #0,0,2: 46:[19, 0] Operation: 28-28=0 Moving to Node #0,0,2 Current State: 46:[19, 0], Operations: ['91-63=28', '28-28=0'] Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[19, 0], Operations: ['91-63=28', '28-28=0'] Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[19, 0], Operations: ['91-63=28', '28-28=0'] Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[28, 19, 28], Operations: ['91-63=28'] Exploring Operation: 19+28=47, Resulting Numbers: [28, 47] Generated Node #0,0,3: 46:[28, 47] Operation: 19+28=47 Moving to Node #0,0,3 Current State: 46:[28, 47], Operations: ['91-63=28', '19+28=47'] Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[28, 47], Operations: ['91-63=28', '19+28=47'] Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[28, 19, 28], Operations: ['91-63=28'] Exploring Operation: 28-19=9, Resulting Numbers: [28, 9] Generated Node #0,0,4: 46:[28, 9] Operation: 28-19=9 Moving to Node #0,0,4 Current State: 46:[28, 9], Operations: ['91-63=28', '28-19=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[28, 9], Operations: ['91-63=28', '28-19=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[28, 19, 28], Operations: ['91-63=28'] Exploring Operation: 28-19=9, Resulting Numbers: [28, 9] Generated Node #0,0,5: 46:[28, 9] Operation: 28-19=9 Moving to Node #0,0,5 Current State: 46:[28, 9], Operations: ['91-63=28', '28-19=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,0,5 Current State: 46:[28, 9], Operations: ['91-63=28', '28-19=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[28, 19, 28], Operations: ['91-63=28'] Exploring Operation: 28+28=56, Resulting Numbers: [19, 56] Generated Node #0,0,6: 46:[19, 56] Operation: 28+28=56 Moving to Node #0,0,6 Current State: 46:[19, 56], Operations: ['91-63=28', '28+28=56'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,46 unequal: No Solution Moving to Node #0,0,6 Current State: 46:[19, 56], Operations: ['91-63=28', '28+28=56'] Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,46 unequal: No Solution Moving to Node #0 Current State: 46:[28, 91, 19, 63], Operations: [] Exploring Operation: 91-28=63, Resulting Numbers: [19, 63, 63] Generated Node #0,1: 46:[19, 63, 63] Operation: 91-28=63 Moving to Node #0,1 Current State: 46:[19, 63, 63], Operations: ['91-28=63'] Exploring Operation: 63/63=1, Resulting Numbers: [19, 1] Generated Node #0,1,0: 46:[19, 1] Operation: 63/63=1 Moving to Node #0,1,0 Current State: 46:[19, 1], Operations: ['91-28=63', '63/63=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[19, 1], Operations: ['91-28=63', '63/63=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[19, 1], Operations: ['91-28=63', '63/63=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[19, 1], Operations: ['91-28=63', '63/63=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[19, 63, 63], Operations: ['91-28=63'] Exploring Operation: 63-63=0, Resulting Numbers: [19, 0] Generated Node #0,1,1: 46:[19, 0] Operation: 63-63=0 Moving to Node #0,1,1 Current State: 46:[19, 0], Operations: ['91-28=63', '63-63=0'] Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[19, 0], Operations: ['91-28=63', '63-63=0'] Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[19, 0], Operations: ['91-28=63', '63-63=0'] Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[19, 63, 63], Operations: ['91-28=63'] Exploring Operation: 63-19=44, Resulting Numbers: [63, 44] Generated Node #0,1,2: 46:[63, 44] Operation: 63-19=44 Moving to Node #0,1,2 Current State: 46:[63, 44], Operations: ['91-28=63', '63-19=44'] Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[19, 63, 63], Operations: ['91-28=63'] Exploring Operation: 63-19=44, Resulting Numbers: [63, 44] Generated Node #0,1,3: 46:[63, 44] Operation: 63-19=44 Moving to Node #0,1,3 Current State: 46:[63, 44], Operations: ['91-28=63', '63-19=44'] Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,46 unequal: No Solution
0
dfs
Current State: 46:[28, 91, 19, 63], Operations: [] Exploring Operation: 19*63=1197, Resulting Numbers: [28, 91, 1197] Generated Node #2: [28, 91, 1197] from Operation: 19*63=1197 Current State: 46:[28, 91, 1197], Operations: ['19*63=1197'] Exploring Operation: 91+1197=1288, Resulting Numbers: [28, 1288] Generated Node #3: [28, 1288] from Operation: 91+1197=1288 Current State: 46:[28, 1288], Operations: ['19*63=1197', '91+1197=1288'] Exploring Operation: 1288/28=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
mult_heuristic
[ { "content": "Make 46 with the numbers [28, 91, 19, 63] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 46:[28, 91, 19, 63], Operations: []\nExploring Operation: 91-63=28, Resulting Numbers: [28, 19, 28]\nGenerated Node #0,0: 46:[28, 19, 28] Operation: 91-63=28\nMoving to Node #0,0\nCurrent State: 46:[28, 19, 28], Operations: ['91-63=28']\nExploring Operation: 28/28=1, Resulting Numbers: [19, 1]\nGenerated Node #0,0,0: 46:[19, 1] Operation: 28/28=1\nMoving to Node #0,0,0\nCurrent State: 46:[19, 1], Operations: ['91-63=28', '28/28=1']\nExploring Operation: 19+1=20, Resulting Numbers: [20]\n20,46 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 46:[19, 1], Operations: ['91-63=28', '28/28=1']\nExploring Operation: 19*1=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 46:[19, 1], Operations: ['91-63=28', '28/28=1']\nExploring Operation: 19/1=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 46:[19, 1], Operations: ['91-63=28', '28/28=1']\nExploring Operation: 19-1=18, Resulting Numbers: [18]\n18,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[28, 19, 28], Operations: ['91-63=28']\nExploring Operation: 28+19=47, Resulting Numbers: [28, 47]\nGenerated Node #0,0,1: 46:[28, 47] Operation: 28+19=47\nMoving to Node #0,0,1\nCurrent State: 46:[28, 47], Operations: ['91-63=28', '28+19=47']\nExploring Operation: 47-28=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 46:[28, 47], Operations: ['91-63=28', '28+19=47']\nExploring Operation: 28+47=75, Resulting Numbers: [75]\n75,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[28, 19, 28], Operations: ['91-63=28']\nExploring Operation: 28-28=0, Resulting Numbers: [19, 0]\nGenerated Node #0,0,2: 46:[19, 0] Operation: 28-28=0\nMoving to Node #0,0,2\nCurrent State: 46:[19, 0], Operations: ['91-63=28', '28-28=0']\nExploring Operation: 19*0=0, Resulting Numbers: [0]\n0,46 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 46:[19, 0], Operations: ['91-63=28', '28-28=0']\nExploring Operation: 19+0=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 46:[19, 0], Operations: ['91-63=28', '28-28=0']\nExploring Operation: 19-0=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[28, 19, 28], Operations: ['91-63=28']\nExploring Operation: 19+28=47, Resulting Numbers: [28, 47]\nGenerated Node #0,0,3: 46:[28, 47] Operation: 19+28=47\nMoving to Node #0,0,3\nCurrent State: 46:[28, 47], Operations: ['91-63=28', '19+28=47']\nExploring Operation: 47-28=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 46:[28, 47], Operations: ['91-63=28', '19+28=47']\nExploring Operation: 28+47=75, Resulting Numbers: [75]\n75,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[28, 19, 28], Operations: ['91-63=28']\nExploring Operation: 28-19=9, Resulting Numbers: [28, 9]\nGenerated Node #0,0,4: 46:[28, 9] Operation: 28-19=9\nMoving to Node #0,0,4\nCurrent State: 46:[28, 9], Operations: ['91-63=28', '28-19=9']\nExploring Operation: 28-9=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 46:[28, 9], Operations: ['91-63=28', '28-19=9']\nExploring Operation: 28+9=37, Resulting Numbers: [37]\n37,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[28, 19, 28], Operations: ['91-63=28']\nExploring Operation: 28-19=9, Resulting Numbers: [28, 9]\nGenerated Node #0,0,5: 46:[28, 9] Operation: 28-19=9\nMoving to Node #0,0,5\nCurrent State: 46:[28, 9], Operations: ['91-63=28', '28-19=9']\nExploring Operation: 28-9=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 46:[28, 9], Operations: ['91-63=28', '28-19=9']\nExploring Operation: 28+9=37, Resulting Numbers: [37]\n37,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[28, 19, 28], Operations: ['91-63=28']\nExploring Operation: 28+28=56, Resulting Numbers: [19, 56]\nGenerated Node #0,0,6: 46:[19, 56] Operation: 28+28=56\nMoving to Node #0,0,6\nCurrent State: 46:[19, 56], Operations: ['91-63=28', '28+28=56']\nExploring Operation: 56-19=37, Resulting Numbers: [37]\n37,46 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 46:[19, 56], Operations: ['91-63=28', '28+28=56']\nExploring Operation: 19+56=75, Resulting Numbers: [75]\n75,46 unequal: No Solution\nMoving to Node #0\nCurrent State: 46:[28, 91, 19, 63], Operations: []\nExploring Operation: 91-28=63, Resulting Numbers: [19, 63, 63]\nGenerated Node #0,1: 46:[19, 63, 63] Operation: 91-28=63\nMoving to Node #0,1\nCurrent State: 46:[19, 63, 63], Operations: ['91-28=63']\nExploring Operation: 63/63=1, Resulting Numbers: [19, 1]\nGenerated Node #0,1,0: 46:[19, 1] Operation: 63/63=1\nMoving to Node #0,1,0\nCurrent State: 46:[19, 1], Operations: ['91-28=63', '63/63=1']\nExploring Operation: 19+1=20, Resulting Numbers: [20]\n20,46 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 46:[19, 1], Operations: ['91-28=63', '63/63=1']\nExploring Operation: 19*1=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 46:[19, 1], Operations: ['91-28=63', '63/63=1']\nExploring Operation: 19/1=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 46:[19, 1], Operations: ['91-28=63', '63/63=1']\nExploring Operation: 19-1=18, Resulting Numbers: [18]\n18,46 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 46:[19, 63, 63], Operations: ['91-28=63']\nExploring Operation: 63-63=0, Resulting Numbers: [19, 0]\nGenerated Node #0,1,1: 46:[19, 0] Operation: 63-63=0\nMoving to Node #0,1,1\nCurrent State: 46:[19, 0], Operations: ['91-28=63', '63-63=0']\nExploring Operation: 19*0=0, Resulting Numbers: [0]\n0,46 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 46:[19, 0], Operations: ['91-28=63', '63-63=0']\nExploring Operation: 19+0=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 46:[19, 0], Operations: ['91-28=63', '63-63=0']\nExploring Operation: 19-0=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 46:[19, 63, 63], Operations: ['91-28=63']\nExploring Operation: 63-19=44, Resulting Numbers: [63, 44]\nGenerated Node #0,1,2: 46:[63, 44] Operation: 63-19=44\nMoving to Node #0,1,2\nCurrent State: 46:[63, 44], Operations: ['91-28=63', '63-19=44']\nExploring Operation: 63-44=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 46:[19, 63, 63], Operations: ['91-28=63']\nExploring Operation: 63-19=44, Resulting Numbers: [63, 44]\nGenerated Node #0,1,3: 46:[63, 44] Operation: 63-19=44\nMoving to Node #0,1,3\nCurrent State: 46:[63, 44], Operations: ['91-28=63', '63-19=44']\nExploring Operation: 63-44=19, Resulting Numbers: [19]\n19,46 unequal: No Solution\n", "role": "assistant" } ]
[ 83, 10, 94, 10 ]
77
[ "83+94=177", "10*10=100", "177-100=77" ]
Current State: 77:[83, 10, 94, 10], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [83, 10, 84] Generated Node #0,0: 77:[83, 10, 84] Operation: 94-10=84 Exploring Operation: 10+10=20, Resulting Numbers: [83, 94, 20] Generated Node #0,1: 77:[83, 94, 20] Operation: 10+10=20 Exploring Operation: 94-10=84, Resulting Numbers: [83, 10, 84] Generated Node #0,2: 77:[83, 10, 84] Operation: 94-10=84 Exploring Operation: 10*10=100, Resulting Numbers: [83, 94, 100] Generated Node #0,3: 77:[83, 94, 100] Operation: 10*10=100 Moving to Node #0,3 Current State: 77:[83, 94, 100], Operations: ['10*10=100'] Exploring Operation: 100-83=17, Resulting Numbers: [94, 17] Generated Node #0,3,0: 77:[94, 17] Operation: 100-83=17 Exploring Operation: 100-94=6, Resulting Numbers: [83, 6] Generated Node #0,3,1: 77:[83, 6] Operation: 100-94=6 Exploring Operation: 94-83=11, Resulting Numbers: [100, 11] Generated Node #0,3,2: 77:[100, 11] Operation: 94-83=11 Exploring Operation: 83+94=177, Resulting Numbers: [100, 177] Generated Node #0,3,3: 77:[100, 177] Operation: 83+94=177 Moving to Node #0,1 Current State: 77:[83, 94, 20], Operations: ['10+10=20'] Exploring Operation: 83+20=103, Resulting Numbers: [94, 103] Generated Node #0,1,0: 77:[94, 103] Operation: 83+20=103 Exploring Operation: 94-20=74, Resulting Numbers: [83, 74] Generated Node #0,1,1: 77:[83, 74] Operation: 94-20=74 Exploring Operation: 83-20=63, Resulting Numbers: [94, 63] Generated Node #0,1,2: 77:[94, 63] Operation: 83-20=63 Exploring Operation: 94+20=114, Resulting Numbers: [83, 114] Generated Node #0,1,3: 77:[83, 114] Operation: 94+20=114 Moving to Node #0,0 Current State: 77:[83, 10, 84], Operations: ['94-10=84'] Exploring Operation: 10+84=94, Resulting Numbers: [83, 94] Generated Node #0,0,0: 77:[83, 94] Operation: 10+84=94 Exploring Operation: 84-10=74, Resulting Numbers: [83, 74] Generated Node #0,0,1: 77:[83, 74] Operation: 84-10=74 Exploring Operation: 83-10=73, Resulting Numbers: [84, 73] Generated Node #0,0,2: 77:[84, 73] Operation: 83-10=73 Exploring Operation: 83+10=93, Resulting Numbers: [84, 93] Generated Node #0,0,3: 77:[84, 93] Operation: 83+10=93 Moving to Node #0,2 Current State: 77:[83, 10, 84], Operations: ['94-10=84'] Exploring Operation: 83-10=73, Resulting Numbers: [84, 73] Generated Node #0,2,0: 77:[84, 73] Operation: 83-10=73 Exploring Operation: 83+10=93, Resulting Numbers: [84, 93] Generated Node #0,2,1: 77:[84, 93] Operation: 83+10=93 Exploring Operation: 84-10=74, Resulting Numbers: [83, 74] Generated Node #0,2,2: 77:[83, 74] Operation: 84-10=74 Exploring Operation: 10+84=94, Resulting Numbers: [83, 94] Generated Node #0,2,3: 77:[83, 94] Operation: 10+84=94 Moving to Node #0,1,1 Current State: 77:[83, 74], Operations: ['10+10=20', '94-20=74'] Exploring Operation: 83-74=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 83+74=157, Resulting Numbers: [157] 157,77 unequal: No Solution Exploring Operation: 83*74=6142, Resulting Numbers: [6142] 6142,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[83, 74], Operations: ['94-10=84', '84-10=74'] Exploring Operation: 83+74=157, Resulting Numbers: [157] 157,77 unequal: No Solution Exploring Operation: 83-74=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 83*74=6142, Resulting Numbers: [6142] 6142,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[83, 74], Operations: ['94-10=84', '84-10=74'] Exploring Operation: 83-74=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 83+74=157, Resulting Numbers: [157] 157,77 unequal: No Solution Exploring Operation: 83*74=6142, Resulting Numbers: [6142] 6142,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[84, 73], Operations: ['94-10=84', '83-10=73'] Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,77 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[84, 73], Operations: ['94-10=84', '83-10=73'] Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,77 unequal: No Solution Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[84, 93], Operations: ['94-10=84', '83+10=93'] Exploring Operation: 84+93=177, Resulting Numbers: [177] 177,77 unequal: No Solution Exploring Operation: 84*93=7812, Resulting Numbers: [7812] 7812,77 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[84, 93], Operations: ['94-10=84', '83+10=93'] Exploring Operation: 84+93=177, Resulting Numbers: [177] 177,77 unequal: No Solution Exploring Operation: 84*93=7812, Resulting Numbers: [7812] 7812,77 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[83, 94], Operations: ['94-10=84', '10+84=94'] Exploring Operation: 83*94=7802, Resulting Numbers: [7802] 7802,77 unequal: No Solution Exploring Operation: 94-83=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 83+94=177, Resulting Numbers: [177] 177,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[83, 94], Operations: ['94-10=84', '10+84=94'] Exploring Operation: 83*94=7802, Resulting Numbers: [7802] 7802,77 unequal: No Solution Exploring Operation: 83+94=177, Resulting Numbers: [177] 177,77 unequal: No Solution Exploring Operation: 94-83=11, Resulting Numbers: [11] 11,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[94, 63], Operations: ['10+10=20', '83-20=63'] Exploring Operation: 94*63=5922, Resulting Numbers: [5922] 5922,77 unequal: No Solution Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 94+63=157, Resulting Numbers: [157] 157,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[94, 103], Operations: ['10+10=20', '83+20=103'] Exploring Operation: 103-94=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 94+103=197, Resulting Numbers: [197] 197,77 unequal: No Solution Exploring Operation: 94*103=9682, Resulting Numbers: [9682] 9682,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[83, 114], Operations: ['10+10=20', '94+20=114'] Exploring Operation: 114-83=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 83+114=197, Resulting Numbers: [197] 197,77 unequal: No Solution Exploring Operation: 83*114=9462, Resulting Numbers: [9462] 9462,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[83, 6], Operations: ['10*10=100', '100-94=6'] Exploring Operation: 83*6=498, Resulting Numbers: [498] 498,77 unequal: No Solution Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,77 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.947917
bfs_4
Current State: 77:[83, 10, 94, 10], Operations: [] Exploring Operation: 83+94=177, Resulting Numbers: [10, 10, 177] Generated Node #2: [10, 10, 177] from Operation: 83+94=177 Current State: 77:[10, 10, 177], Operations: ['83+94=177'] Exploring Operation: 10*10=100, Resulting Numbers: [177, 100] Generated Node #3: [177, 100] from Operation: 10*10=100 Current State: 77:[177, 100], Operations: ['83+94=177', '10*10=100'] Exploring Operation: 177-100=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
sum_heuristic
[ { "content": "Make 77 with the numbers [83, 10, 94, 10] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 77:[83, 10, 94, 10], Operations: []\nExploring Operation: 94-10=84, Resulting Numbers: [83, 10, 84]\nGenerated Node #0,0: 77:[83, 10, 84] Operation: 94-10=84\nExploring Operation: 10+10=20, Resulting Numbers: [83, 94, 20]\nGenerated Node #0,1: 77:[83, 94, 20] Operation: 10+10=20\nExploring Operation: 94-10=84, Resulting Numbers: [83, 10, 84]\nGenerated Node #0,2: 77:[83, 10, 84] Operation: 94-10=84\nExploring Operation: 10*10=100, Resulting Numbers: [83, 94, 100]\nGenerated Node #0,3: 77:[83, 94, 100] Operation: 10*10=100\nMoving to Node #0,3\nCurrent State: 77:[83, 94, 100], Operations: ['10*10=100']\nExploring Operation: 100-83=17, Resulting Numbers: [94, 17]\nGenerated Node #0,3,0: 77:[94, 17] Operation: 100-83=17\nExploring Operation: 100-94=6, Resulting Numbers: [83, 6]\nGenerated Node #0,3,1: 77:[83, 6] Operation: 100-94=6\nExploring Operation: 94-83=11, Resulting Numbers: [100, 11]\nGenerated Node #0,3,2: 77:[100, 11] Operation: 94-83=11\nExploring Operation: 83+94=177, Resulting Numbers: [100, 177]\nGenerated Node #0,3,3: 77:[100, 177] Operation: 83+94=177\nMoving to Node #0,1\nCurrent State: 77:[83, 94, 20], Operations: ['10+10=20']\nExploring Operation: 83+20=103, Resulting Numbers: [94, 103]\nGenerated Node #0,1,0: 77:[94, 103] Operation: 83+20=103\nExploring Operation: 94-20=74, Resulting Numbers: [83, 74]\nGenerated Node #0,1,1: 77:[83, 74] Operation: 94-20=74\nExploring Operation: 83-20=63, Resulting Numbers: [94, 63]\nGenerated Node #0,1,2: 77:[94, 63] Operation: 83-20=63\nExploring Operation: 94+20=114, Resulting Numbers: [83, 114]\nGenerated Node #0,1,3: 77:[83, 114] Operation: 94+20=114\nMoving to Node #0,0\nCurrent State: 77:[83, 10, 84], Operations: ['94-10=84']\nExploring Operation: 10+84=94, Resulting Numbers: [83, 94]\nGenerated Node #0,0,0: 77:[83, 94] Operation: 10+84=94\nExploring Operation: 84-10=74, Resulting Numbers: [83, 74]\nGenerated Node #0,0,1: 77:[83, 74] Operation: 84-10=74\nExploring Operation: 83-10=73, Resulting Numbers: [84, 73]\nGenerated Node #0,0,2: 77:[84, 73] Operation: 83-10=73\nExploring Operation: 83+10=93, Resulting Numbers: [84, 93]\nGenerated Node #0,0,3: 77:[84, 93] Operation: 83+10=93\nMoving to Node #0,2\nCurrent State: 77:[83, 10, 84], Operations: ['94-10=84']\nExploring Operation: 83-10=73, Resulting Numbers: [84, 73]\nGenerated Node #0,2,0: 77:[84, 73] Operation: 83-10=73\nExploring Operation: 83+10=93, Resulting Numbers: [84, 93]\nGenerated Node #0,2,1: 77:[84, 93] Operation: 83+10=93\nExploring Operation: 84-10=74, Resulting Numbers: [83, 74]\nGenerated Node #0,2,2: 77:[83, 74] Operation: 84-10=74\nExploring Operation: 10+84=94, Resulting Numbers: [83, 94]\nGenerated Node #0,2,3: 77:[83, 94] Operation: 10+84=94\nMoving to Node #0,1,1\nCurrent State: 77:[83, 74], Operations: ['10+10=20', '94-20=74']\nExploring Operation: 83-74=9, Resulting Numbers: [9]\n9,77 unequal: No Solution\nExploring Operation: 83+74=157, Resulting Numbers: [157]\n157,77 unequal: No Solution\nExploring Operation: 83*74=6142, Resulting Numbers: [6142]\n6142,77 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 77:[83, 74], Operations: ['94-10=84', '84-10=74']\nExploring Operation: 83+74=157, Resulting Numbers: [157]\n157,77 unequal: No Solution\nExploring Operation: 83-74=9, Resulting Numbers: [9]\n9,77 unequal: No Solution\nExploring Operation: 83*74=6142, Resulting Numbers: [6142]\n6142,77 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 77:[83, 74], Operations: ['94-10=84', '84-10=74']\nExploring Operation: 83-74=9, Resulting Numbers: [9]\n9,77 unequal: No Solution\nExploring Operation: 83+74=157, Resulting Numbers: [157]\n157,77 unequal: No Solution\nExploring Operation: 83*74=6142, Resulting Numbers: [6142]\n6142,77 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 77:[84, 73], Operations: ['94-10=84', '83-10=73']\nExploring Operation: 84*73=6132, Resulting Numbers: [6132]\n6132,77 unequal: No Solution\nExploring Operation: 84-73=11, Resulting Numbers: [11]\n11,77 unequal: No Solution\nExploring Operation: 84+73=157, Resulting Numbers: [157]\n157,77 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 77:[84, 73], Operations: ['94-10=84', '83-10=73']\nExploring Operation: 84-73=11, Resulting Numbers: [11]\n11,77 unequal: No Solution\nExploring Operation: 84+73=157, Resulting Numbers: [157]\n157,77 unequal: No Solution\nExploring Operation: 84*73=6132, Resulting Numbers: [6132]\n6132,77 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 77:[84, 93], Operations: ['94-10=84', '83+10=93']\nExploring Operation: 84+93=177, Resulting Numbers: [177]\n177,77 unequal: No Solution\nExploring Operation: 84*93=7812, Resulting Numbers: [7812]\n7812,77 unequal: No Solution\nExploring Operation: 93-84=9, Resulting Numbers: [9]\n9,77 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 77:[84, 93], Operations: ['94-10=84', '83+10=93']\nExploring Operation: 84+93=177, Resulting Numbers: [177]\n177,77 unequal: No Solution\nExploring Operation: 84*93=7812, Resulting Numbers: [7812]\n7812,77 unequal: No Solution\nExploring Operation: 93-84=9, Resulting Numbers: [9]\n9,77 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 77:[83, 94], Operations: ['94-10=84', '10+84=94']\nExploring Operation: 83*94=7802, Resulting Numbers: [7802]\n7802,77 unequal: No Solution\nExploring Operation: 94-83=11, Resulting Numbers: [11]\n11,77 unequal: No Solution\nExploring Operation: 83+94=177, Resulting Numbers: [177]\n177,77 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 77:[83, 94], Operations: ['94-10=84', '10+84=94']\nExploring Operation: 83*94=7802, Resulting Numbers: [7802]\n7802,77 unequal: No Solution\nExploring Operation: 83+94=177, Resulting Numbers: [177]\n177,77 unequal: No Solution\nExploring Operation: 94-83=11, Resulting Numbers: [11]\n11,77 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 77:[94, 63], Operations: ['10+10=20', '83-20=63']\nExploring Operation: 94*63=5922, Resulting Numbers: [5922]\n5922,77 unequal: No Solution\nExploring Operation: 94-63=31, Resulting Numbers: [31]\n31,77 unequal: No Solution\nExploring Operation: 94+63=157, Resulting Numbers: [157]\n157,77 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 77:[94, 103], Operations: ['10+10=20', '83+20=103']\nExploring Operation: 103-94=9, Resulting Numbers: [9]\n9,77 unequal: No Solution\nExploring Operation: 94+103=197, Resulting Numbers: [197]\n197,77 unequal: No Solution\nExploring Operation: 94*103=9682, Resulting Numbers: [9682]\n9682,77 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 77:[83, 114], Operations: ['10+10=20', '94+20=114']\nExploring Operation: 114-83=31, Resulting Numbers: [31]\n31,77 unequal: No Solution\nExploring Operation: 83+114=197, Resulting Numbers: [197]\n197,77 unequal: No Solution\nExploring Operation: 83*114=9462, Resulting Numbers: [9462]\n9462,77 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 77:[83, 6], Operations: ['10*10=100', '100-94=6']\nExploring Operation: 83*6=498, Resulting Numbers: [498]\n498,77 unequal: No Solution\nExploring Operation: 83+6=89, Resulting Numbers: [89]\n89,77 unequal: No Solution\nExploring Operation: 83-6=77, Resulting Numbers: [77]\n77,77 equal: Goal Reached\n", "role": "assistant" } ]
[ 90, 1, 63, 13 ]
56
[ "90+1=91", "91/13=7", "63-7=56" ]
Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 90-1=89, Resulting Numbers: [63, 13, 89] Generated Node #0,0: 56:[63, 13, 89] Operation: 90-1=89 Moving to Node #0,0 Current State: 56:[63, 13, 89], Operations: ['90-1=89'] Exploring Operation: 89-13=76, Resulting Numbers: [63, 76] Generated Node #0,0,0: 56:[63, 76] Operation: 89-13=76 Moving to Node #0,0,0 Current State: 56:[63, 76], Operations: ['90-1=89', '89-13=76'] Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[63, 13, 89], Operations: ['90-1=89'] Exploring Operation: 63-13=50, Resulting Numbers: [89, 50] Generated Node #0,0,1: 56:[89, 50] Operation: 63-13=50 Moving to Node #0,0,1 Current State: 56:[89, 50], Operations: ['90-1=89', '63-13=50'] Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[63, 13, 89], Operations: ['90-1=89'] Exploring Operation: 63+13=76, Resulting Numbers: [89, 76] Generated Node #0,0,2: 56:[89, 76] Operation: 63+13=76 Moving to Node #0,0,2 Current State: 56:[89, 76], Operations: ['90-1=89', '63+13=76'] Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[63, 13, 89], Operations: ['90-1=89'] Exploring Operation: 13+89=102, Resulting Numbers: [63, 102] Generated Node #0,0,3: 56:[63, 102] Operation: 13+89=102 Moving to Node #0,0,3 Current State: 56:[63, 102], Operations: ['90-1=89', '13+89=102'] Exploring Operation: 102-63=39, Resulting Numbers: [39] 39,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[63, 13, 89], Operations: ['90-1=89'] Exploring Operation: 89-63=26, Resulting Numbers: [13, 26] Generated Node #0,0,4: 56:[13, 26] Operation: 89-63=26 Moving to Node #0,0,4 Current State: 56:[13, 26], Operations: ['90-1=89', '89-63=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[13, 26], Operations: ['90-1=89', '89-63=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[13, 26], Operations: ['90-1=89', '89-63=26'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 90-13=77, Resulting Numbers: [1, 63, 77] Generated Node #0,1: 56:[1, 63, 77] Operation: 90-13=77 Moving to Node #0,1 Current State: 56:[1, 63, 77], Operations: ['90-13=77'] Exploring Operation: 63-1=62, Resulting Numbers: [77, 62] Generated Node #0,1,0: 56:[77, 62] Operation: 63-1=62 Moving to Node #0,1,0 Current State: 56:[77, 62], Operations: ['90-13=77', '63-1=62'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,1 Current State: 56:[1, 63, 77], Operations: ['90-13=77'] Exploring Operation: 77-1=76, Resulting Numbers: [63, 76] Generated Node #0,1,1: 56:[63, 76] Operation: 77-1=76 Moving to Node #0,1,1 Current State: 56:[63, 76], Operations: ['90-13=77', '77-1=76'] Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,1 Current State: 56:[1, 63, 77], Operations: ['90-13=77'] Exploring Operation: 1*63=63, Resulting Numbers: [77, 63] Generated Node #0,1,2: 56:[77, 63] Operation: 1*63=63 Moving to Node #0,1,2 Current State: 56:[77, 63], Operations: ['90-13=77', '1*63=63'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1 Current State: 56:[1, 63, 77], Operations: ['90-13=77'] Exploring Operation: 63/1=63, Resulting Numbers: [77, 63] Generated Node #0,1,3: 56:[77, 63] Operation: 63/1=63 Moving to Node #0,1,3 Current State: 56:[77, 63], Operations: ['90-13=77', '63/1=63'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1 Current State: 56:[1, 63, 77], Operations: ['90-13=77'] Exploring Operation: 1*77=77, Resulting Numbers: [63, 77] Generated Node #0,1,4: 56:[63, 77] Operation: 1*77=77 Moving to Node #0,1,4 Current State: 56:[63, 77], Operations: ['90-13=77', '1*77=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1 Current State: 56:[1, 63, 77], Operations: ['90-13=77'] Exploring Operation: 77/1=77, Resulting Numbers: [63, 77] Generated Node #0,1,5: 56:[63, 77] Operation: 77/1=77 Moving to Node #0,1,5 Current State: 56:[63, 77], Operations: ['90-13=77', '77/1=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1 Current State: 56:[1, 63, 77], Operations: ['90-13=77'] Exploring Operation: 1+63=64, Resulting Numbers: [77, 64] Generated Node #0,1,6: 56:[77, 64] Operation: 1+63=64 Moving to Node #0,1,6 Current State: 56:[77, 64], Operations: ['90-13=77', '1+63=64'] Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,1 Current State: 56:[1, 63, 77], Operations: ['90-13=77'] Exploring Operation: 1+77=78, Resulting Numbers: [63, 78] Generated Node #0,1,7: 56:[63, 78] Operation: 1+77=78 Moving to Node #0,1,7 Current State: 56:[63, 78], Operations: ['90-13=77', '1+77=78'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,1 Current State: 56:[1, 63, 77], Operations: ['90-13=77'] Exploring Operation: 77-63=14, Resulting Numbers: [1, 14] Generated Node #0,1,8: 56:[1, 14] Operation: 77-63=14 Moving to Node #0,1,8 Current State: 56:[1, 14], Operations: ['90-13=77', '77-63=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,1,8 Current State: 56:[1, 14], Operations: ['90-13=77', '77-63=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1,8 Current State: 56:[1, 14], Operations: ['90-13=77', '77-63=14'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1,8 Current State: 56:[1, 14], Operations: ['90-13=77', '77-63=14'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 63-1=62, Resulting Numbers: [90, 13, 62] Generated Node #0,2: 56:[90, 13, 62] Operation: 63-1=62 Moving to Node #0,2 Current State: 56:[90, 13, 62], Operations: ['63-1=62'] Exploring Operation: 90-13=77, Resulting Numbers: [62, 77] Generated Node #0,2,0: 56:[62, 77] Operation: 90-13=77 Moving to Node #0,2,0 Current State: 56:[62, 77], Operations: ['63-1=62', '90-13=77'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,2 Current State: 56:[90, 13, 62], Operations: ['63-1=62'] Exploring Operation: 62-13=49, Resulting Numbers: [90, 49] Generated Node #0,2,1: 56:[90, 49] Operation: 62-13=49 Moving to Node #0,2,1 Current State: 56:[90, 49], Operations: ['63-1=62', '62-13=49'] Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,56 unequal: No Solution Moving to Node #0,2 Current State: 56:[90, 13, 62], Operations: ['63-1=62'] Exploring Operation: 90+13=103, Resulting Numbers: [62, 103] Generated Node #0,2,2: 56:[62, 103] Operation: 90+13=103 Moving to Node #0,2,2 Current State: 56:[62, 103], Operations: ['63-1=62', '90+13=103'] Exploring Operation: 103-62=41, Resulting Numbers: [41] 41,56 unequal: No Solution Moving to Node #0,2 Current State: 56:[90, 13, 62], Operations: ['63-1=62'] Exploring Operation: 13+62=75, Resulting Numbers: [90, 75] Generated Node #0,2,3: 56:[90, 75] Operation: 13+62=75 Moving to Node #0,2,3 Current State: 56:[90, 75], Operations: ['63-1=62', '13+62=75'] Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,2 Current State: 56:[90, 13, 62], Operations: ['63-1=62'] Exploring Operation: 90-62=28, Resulting Numbers: [13, 28] Generated Node #0,2,4: 56:[13, 28] Operation: 90-62=28 Moving to Node #0,2,4 Current State: 56:[13, 28], Operations: ['63-1=62', '90-62=28'] Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[13, 28], Operations: ['63-1=62', '90-62=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 1+13=14, Resulting Numbers: [90, 63, 14] Generated Node #0,3: 56:[90, 63, 14] Operation: 1+13=14 Moving to Node #0,3 Current State: 56:[90, 63, 14], Operations: ['1+13=14'] Exploring Operation: 90-14=76, Resulting Numbers: [63, 76] Generated Node #0,3,0: 56:[63, 76] Operation: 90-14=76 Moving to Node #0,3,0 Current State: 56:[63, 76], Operations: ['1+13=14', '90-14=76'] Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,3 Current State: 56:[90, 63, 14], Operations: ['1+13=14'] Exploring Operation: 63-14=49, Resulting Numbers: [90, 49] Generated Node #0,3,1: 56:[90, 49] Operation: 63-14=49 Moving to Node #0,3,1 Current State: 56:[90, 49], Operations: ['1+13=14', '63-14=49'] Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,56 unequal: No Solution Moving to Node #0,3 Current State: 56:[90, 63, 14], Operations: ['1+13=14'] Exploring Operation: 90+14=104, Resulting Numbers: [63, 104] Generated Node #0,3,2: 56:[63, 104] Operation: 90+14=104 Moving to Node #0,3,2 Current State: 56:[63, 104], Operations: ['1+13=14', '90+14=104'] Exploring Operation: 104-63=41, Resulting Numbers: [41] 41,56 unequal: No Solution Moving to Node #0,3 Current State: 56:[90, 63, 14], Operations: ['1+13=14'] Exploring Operation: 63+14=77, Resulting Numbers: [90, 77] Generated Node #0,3,3: 56:[90, 77] Operation: 63+14=77 Moving to Node #0,3,3 Current State: 56:[90, 77], Operations: ['1+13=14', '63+14=77'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,3 Current State: 56:[90, 63, 14], Operations: ['1+13=14'] Exploring Operation: 90-63=27, Resulting Numbers: [14, 27] Generated Node #0,3,4: 56:[14, 27] Operation: 90-63=27 Moving to Node #0,3,4 Current State: 56:[14, 27], Operations: ['1+13=14', '90-63=27'] Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,56 unequal: No Solution Moving to Node #0,3,4 Current State: 56:[14, 27], Operations: ['1+13=14', '90-63=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 90*1=90, Resulting Numbers: [63, 13, 90] Generated Node #0,4: 56:[63, 13, 90] Operation: 90*1=90 Moving to Node #0,4 Current State: 56:[63, 13, 90], Operations: ['90*1=90'] Exploring Operation: 90-13=77, Resulting Numbers: [63, 77] Generated Node #0,4,0: 56:[63, 77] Operation: 90-13=77 Moving to Node #0,4,0 Current State: 56:[63, 77], Operations: ['90*1=90', '90-13=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,4 Current State: 56:[63, 13, 90], Operations: ['90*1=90'] Exploring Operation: 63-13=50, Resulting Numbers: [90, 50] Generated Node #0,4,1: 56:[90, 50] Operation: 63-13=50 Moving to Node #0,4,1 Current State: 56:[90, 50], Operations: ['90*1=90', '63-13=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,4 Current State: 56:[63, 13, 90], Operations: ['90*1=90'] Exploring Operation: 63+13=76, Resulting Numbers: [90, 76] Generated Node #0,4,2: 56:[90, 76] Operation: 63+13=76 Moving to Node #0,4,2 Current State: 56:[90, 76], Operations: ['90*1=90', '63+13=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,4 Current State: 56:[63, 13, 90], Operations: ['90*1=90'] Exploring Operation: 13+90=103, Resulting Numbers: [63, 103] Generated Node #0,4,3: 56:[63, 103] Operation: 13+90=103 Moving to Node #0,4,3 Current State: 56:[63, 103], Operations: ['90*1=90', '13+90=103'] Exploring Operation: 103-63=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,4 Current State: 56:[63, 13, 90], Operations: ['90*1=90'] Exploring Operation: 90-63=27, Resulting Numbers: [13, 27] Generated Node #0,4,4: 56:[13, 27] Operation: 90-63=27 Moving to Node #0,4,4 Current State: 56:[13, 27], Operations: ['90*1=90', '90-63=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,4,4 Current State: 56:[13, 27], Operations: ['90*1=90', '90-63=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 90/1=90, Resulting Numbers: [63, 13, 90] Generated Node #0,5: 56:[63, 13, 90] Operation: 90/1=90 Moving to Node #0,5 Current State: 56:[63, 13, 90], Operations: ['90/1=90'] Exploring Operation: 90-13=77, Resulting Numbers: [63, 77] Generated Node #0,5,0: 56:[63, 77] Operation: 90-13=77 Moving to Node #0,5,0 Current State: 56:[63, 77], Operations: ['90/1=90', '90-13=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,5 Current State: 56:[63, 13, 90], Operations: ['90/1=90'] Exploring Operation: 63-13=50, Resulting Numbers: [90, 50] Generated Node #0,5,1: 56:[90, 50] Operation: 63-13=50 Moving to Node #0,5,1 Current State: 56:[90, 50], Operations: ['90/1=90', '63-13=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,5 Current State: 56:[63, 13, 90], Operations: ['90/1=90'] Exploring Operation: 63+13=76, Resulting Numbers: [90, 76] Generated Node #0,5,2: 56:[90, 76] Operation: 63+13=76 Moving to Node #0,5,2 Current State: 56:[90, 76], Operations: ['90/1=90', '63+13=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,5 Current State: 56:[63, 13, 90], Operations: ['90/1=90'] Exploring Operation: 13+90=103, Resulting Numbers: [63, 103] Generated Node #0,5,3: 56:[63, 103] Operation: 13+90=103 Moving to Node #0,5,3 Current State: 56:[63, 103], Operations: ['90/1=90', '13+90=103'] Exploring Operation: 103-63=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,5 Current State: 56:[63, 13, 90], Operations: ['90/1=90'] Exploring Operation: 90-63=27, Resulting Numbers: [13, 27] Generated Node #0,5,4: 56:[13, 27] Operation: 90-63=27 Moving to Node #0,5,4 Current State: 56:[13, 27], Operations: ['90/1=90', '90-63=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,5,4 Current State: 56:[13, 27], Operations: ['90/1=90', '90-63=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 1*63=63, Resulting Numbers: [90, 13, 63] Generated Node #0,6: 56:[90, 13, 63] Operation: 1*63=63 Moving to Node #0,6 Current State: 56:[90, 13, 63], Operations: ['1*63=63'] Exploring Operation: 90-13=77, Resulting Numbers: [63, 77] Generated Node #0,6,0: 56:[63, 77] Operation: 90-13=77 Moving to Node #0,6,0 Current State: 56:[63, 77], Operations: ['1*63=63', '90-13=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,6 Current State: 56:[90, 13, 63], Operations: ['1*63=63'] Exploring Operation: 63-13=50, Resulting Numbers: [90, 50] Generated Node #0,6,1: 56:[90, 50] Operation: 63-13=50 Moving to Node #0,6,1 Current State: 56:[90, 50], Operations: ['1*63=63', '63-13=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,6 Current State: 56:[90, 13, 63], Operations: ['1*63=63'] Exploring Operation: 90+13=103, Resulting Numbers: [63, 103] Generated Node #0,6,2: 56:[63, 103] Operation: 90+13=103 Moving to Node #0,6,2 Current State: 56:[63, 103], Operations: ['1*63=63', '90+13=103'] Exploring Operation: 103-63=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,6 Current State: 56:[90, 13, 63], Operations: ['1*63=63'] Exploring Operation: 13+63=76, Resulting Numbers: [90, 76] Generated Node #0,6,3: 56:[90, 76] Operation: 13+63=76 Moving to Node #0,6,3 Current State: 56:[90, 76], Operations: ['1*63=63', '13+63=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,6 Current State: 56:[90, 13, 63], Operations: ['1*63=63'] Exploring Operation: 90-63=27, Resulting Numbers: [13, 27] Generated Node #0,6,4: 56:[13, 27] Operation: 90-63=27 Moving to Node #0,6,4 Current State: 56:[13, 27], Operations: ['1*63=63', '90-63=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,6,4 Current State: 56:[13, 27], Operations: ['1*63=63', '90-63=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 63/1=63, Resulting Numbers: [90, 13, 63] Generated Node #0,7: 56:[90, 13, 63] Operation: 63/1=63 Moving to Node #0,7 Current State: 56:[90, 13, 63], Operations: ['63/1=63'] Exploring Operation: 90-13=77, Resulting Numbers: [63, 77] Generated Node #0,7,0: 56:[63, 77] Operation: 90-13=77 Moving to Node #0,7,0 Current State: 56:[63, 77], Operations: ['63/1=63', '90-13=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,7 Current State: 56:[90, 13, 63], Operations: ['63/1=63'] Exploring Operation: 63-13=50, Resulting Numbers: [90, 50] Generated Node #0,7,1: 56:[90, 50] Operation: 63-13=50 Moving to Node #0,7,1 Current State: 56:[90, 50], Operations: ['63/1=63', '63-13=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,7 Current State: 56:[90, 13, 63], Operations: ['63/1=63'] Exploring Operation: 90+13=103, Resulting Numbers: [63, 103] Generated Node #0,7,2: 56:[63, 103] Operation: 90+13=103 Moving to Node #0,7,2 Current State: 56:[63, 103], Operations: ['63/1=63', '90+13=103'] Exploring Operation: 103-63=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,7 Current State: 56:[90, 13, 63], Operations: ['63/1=63'] Exploring Operation: 13+63=76, Resulting Numbers: [90, 76] Generated Node #0,7,3: 56:[90, 76] Operation: 13+63=76 Moving to Node #0,7,3 Current State: 56:[90, 76], Operations: ['63/1=63', '13+63=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,7 Current State: 56:[90, 13, 63], Operations: ['63/1=63'] Exploring Operation: 90-63=27, Resulting Numbers: [13, 27] Generated Node #0,7,4: 56:[13, 27] Operation: 90-63=27 Moving to Node #0,7,4 Current State: 56:[13, 27], Operations: ['63/1=63', '90-63=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,7,4 Current State: 56:[13, 27], Operations: ['63/1=63', '90-63=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 1*13=13, Resulting Numbers: [90, 63, 13] Generated Node #0,8: 56:[90, 63, 13] Operation: 1*13=13 Moving to Node #0,8 Current State: 56:[90, 63, 13], Operations: ['1*13=13'] Exploring Operation: 90-13=77, Resulting Numbers: [63, 77] Generated Node #0,8,0: 56:[63, 77] Operation: 90-13=77 Moving to Node #0,8,0 Current State: 56:[63, 77], Operations: ['1*13=13', '90-13=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,8 Current State: 56:[90, 63, 13], Operations: ['1*13=13'] Exploring Operation: 63-13=50, Resulting Numbers: [90, 50] Generated Node #0,8,1: 56:[90, 50] Operation: 63-13=50 Moving to Node #0,8,1 Current State: 56:[90, 50], Operations: ['1*13=13', '63-13=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,8 Current State: 56:[90, 63, 13], Operations: ['1*13=13'] Exploring Operation: 90+13=103, Resulting Numbers: [63, 103] Generated Node #0,8,2: 56:[63, 103] Operation: 90+13=103 Moving to Node #0,8,2 Current State: 56:[63, 103], Operations: ['1*13=13', '90+13=103'] Exploring Operation: 103-63=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,8 Current State: 56:[90, 63, 13], Operations: ['1*13=13'] Exploring Operation: 63+13=76, Resulting Numbers: [90, 76] Generated Node #0,8,3: 56:[90, 76] Operation: 63+13=76 Moving to Node #0,8,3 Current State: 56:[90, 76], Operations: ['1*13=13', '63+13=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,8 Current State: 56:[90, 63, 13], Operations: ['1*13=13'] Exploring Operation: 90-63=27, Resulting Numbers: [13, 27] Generated Node #0,8,4: 56:[13, 27] Operation: 90-63=27 Moving to Node #0,8,4 Current State: 56:[13, 27], Operations: ['1*13=13', '90-63=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,8,4 Current State: 56:[13, 27], Operations: ['1*13=13', '90-63=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 13/1=13, Resulting Numbers: [90, 63, 13] Generated Node #0,9: 56:[90, 63, 13] Operation: 13/1=13 Moving to Node #0,9 Current State: 56:[90, 63, 13], Operations: ['13/1=13'] Exploring Operation: 90-13=77, Resulting Numbers: [63, 77] Generated Node #0,9,0: 56:[63, 77] Operation: 90-13=77 Moving to Node #0,9,0 Current State: 56:[63, 77], Operations: ['13/1=13', '90-13=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,9 Current State: 56:[90, 63, 13], Operations: ['13/1=13'] Exploring Operation: 63-13=50, Resulting Numbers: [90, 50] Generated Node #0,9,1: 56:[90, 50] Operation: 63-13=50 Moving to Node #0,9,1 Current State: 56:[90, 50], Operations: ['13/1=13', '63-13=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,9 Current State: 56:[90, 63, 13], Operations: ['13/1=13'] Exploring Operation: 90+13=103, Resulting Numbers: [63, 103] Generated Node #0,9,2: 56:[63, 103] Operation: 90+13=103 Moving to Node #0,9,2 Current State: 56:[63, 103], Operations: ['13/1=13', '90+13=103'] Exploring Operation: 103-63=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,9 Current State: 56:[90, 63, 13], Operations: ['13/1=13'] Exploring Operation: 63+13=76, Resulting Numbers: [90, 76] Generated Node #0,9,3: 56:[90, 76] Operation: 63+13=76 Moving to Node #0,9,3 Current State: 56:[90, 76], Operations: ['13/1=13', '63+13=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,9 Current State: 56:[90, 63, 13], Operations: ['13/1=13'] Exploring Operation: 90-63=27, Resulting Numbers: [13, 27] Generated Node #0,9,4: 56:[13, 27] Operation: 90-63=27 Moving to Node #0,9,4 Current State: 56:[13, 27], Operations: ['13/1=13', '90-63=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,9,4 Current State: 56:[13, 27], Operations: ['13/1=13', '90-63=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0 Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 90+1=91, Resulting Numbers: [63, 13, 91] Generated Node #0,10: 56:[63, 13, 91] Operation: 90+1=91 Moving to Node #0,10 Current State: 56:[63, 13, 91], Operations: ['90+1=91'] Exploring Operation: 91-13=78, Resulting Numbers: [63, 78] Generated Node #0,10,0: 56:[63, 78] Operation: 91-13=78 Moving to Node #0,10,0 Current State: 56:[63, 78], Operations: ['90+1=91', '91-13=78'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,10 Current State: 56:[63, 13, 91], Operations: ['90+1=91'] Exploring Operation: 63-13=50, Resulting Numbers: [91, 50] Generated Node #0,10,1: 56:[91, 50] Operation: 63-13=50 Moving to Node #0,10,1 Current State: 56:[91, 50], Operations: ['90+1=91', '63-13=50'] Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,56 unequal: No Solution Moving to Node #0,10 Current State: 56:[63, 13, 91], Operations: ['90+1=91'] Exploring Operation: 63+13=76, Resulting Numbers: [91, 76] Generated Node #0,10,2: 56:[91, 76] Operation: 63+13=76 Moving to Node #0,10,2 Current State: 56:[91, 76], Operations: ['90+1=91', '63+13=76'] Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,10 Current State: 56:[63, 13, 91], Operations: ['90+1=91'] Exploring Operation: 13+91=104, Resulting Numbers: [63, 104] Generated Node #0,10,3: 56:[63, 104] Operation: 13+91=104 Moving to Node #0,10,3 Current State: 56:[63, 104], Operations: ['90+1=91', '13+91=104'] Exploring Operation: 104-63=41, Resulting Numbers: [41] 41,56 unequal: No Solution Moving to Node #0,10 Current State: 56:[63, 13, 91], Operations: ['90+1=91'] Exploring Operation: 91/13=7, Resulting Numbers: [63, 7] Generated Node #0,10,4: 56:[63, 7] Operation: 91/13=7 Moving to Node #0,10,4 Current State: 56:[63, 7], Operations: ['90+1=91', '91/13=7'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.875868
dfs
Current State: 56:[90, 1, 63, 13], Operations: [] Exploring Operation: 90+1=91, Resulting Numbers: [63, 13, 91] Generated Node #2: [63, 13, 91] from Operation: 90+1=91 Current State: 56:[63, 13, 91], Operations: ['90+1=91'] Exploring Operation: 91/13=7, Resulting Numbers: [63, 7] Generated Node #3: [63, 7] from Operation: 91/13=7 Current State: 56:[63, 7], Operations: ['90+1=91', '91/13=7'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
sum_heuristic
[ { "content": "Make 56 with the numbers [90, 1, 63, 13] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 90-1=89, Resulting Numbers: [63, 13, 89]\nGenerated Node #0,0: 56:[63, 13, 89] Operation: 90-1=89\nMoving to Node #0,0\nCurrent State: 56:[63, 13, 89], Operations: ['90-1=89']\nExploring Operation: 89-13=76, Resulting Numbers: [63, 76]\nGenerated Node #0,0,0: 56:[63, 76] Operation: 89-13=76\nMoving to Node #0,0,0\nCurrent State: 56:[63, 76], Operations: ['90-1=89', '89-13=76']\nExploring Operation: 76-63=13, Resulting Numbers: [13]\n13,56 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 56:[63, 13, 89], Operations: ['90-1=89']\nExploring Operation: 63-13=50, Resulting Numbers: [89, 50]\nGenerated Node #0,0,1: 56:[89, 50] Operation: 63-13=50\nMoving to Node #0,0,1\nCurrent State: 56:[89, 50], Operations: ['90-1=89', '63-13=50']\nExploring Operation: 89-50=39, Resulting Numbers: [39]\n39,56 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 56:[63, 13, 89], Operations: ['90-1=89']\nExploring Operation: 63+13=76, Resulting Numbers: [89, 76]\nGenerated Node #0,0,2: 56:[89, 76] Operation: 63+13=76\nMoving to Node #0,0,2\nCurrent State: 56:[89, 76], Operations: ['90-1=89', '63+13=76']\nExploring Operation: 89-76=13, Resulting Numbers: [13]\n13,56 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 56:[63, 13, 89], Operations: ['90-1=89']\nExploring Operation: 13+89=102, Resulting Numbers: [63, 102]\nGenerated Node #0,0,3: 56:[63, 102] Operation: 13+89=102\nMoving to Node #0,0,3\nCurrent State: 56:[63, 102], Operations: ['90-1=89', '13+89=102']\nExploring Operation: 102-63=39, Resulting Numbers: [39]\n39,56 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 56:[63, 13, 89], Operations: ['90-1=89']\nExploring Operation: 89-63=26, Resulting Numbers: [13, 26]\nGenerated Node #0,0,4: 56:[13, 26] Operation: 89-63=26\nMoving to Node #0,0,4\nCurrent State: 56:[13, 26], Operations: ['90-1=89', '89-63=26']\nExploring Operation: 13+26=39, Resulting Numbers: [39]\n39,56 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 56:[13, 26], Operations: ['90-1=89', '89-63=26']\nExploring Operation: 26-13=13, Resulting Numbers: [13]\n13,56 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 56:[13, 26], Operations: ['90-1=89', '89-63=26']\nExploring Operation: 26/13=2, Resulting Numbers: [2]\n2,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 90-13=77, Resulting Numbers: [1, 63, 77]\nGenerated Node #0,1: 56:[1, 63, 77] Operation: 90-13=77\nMoving to Node #0,1\nCurrent State: 56:[1, 63, 77], Operations: ['90-13=77']\nExploring Operation: 63-1=62, Resulting Numbers: [77, 62]\nGenerated Node #0,1,0: 56:[77, 62] Operation: 63-1=62\nMoving to Node #0,1,0\nCurrent State: 56:[77, 62], Operations: ['90-13=77', '63-1=62']\nExploring Operation: 77-62=15, Resulting Numbers: [15]\n15,56 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 56:[1, 63, 77], Operations: ['90-13=77']\nExploring Operation: 77-1=76, Resulting Numbers: [63, 76]\nGenerated Node #0,1,1: 56:[63, 76] Operation: 77-1=76\nMoving to Node #0,1,1\nCurrent State: 56:[63, 76], Operations: ['90-13=77', '77-1=76']\nExploring Operation: 76-63=13, Resulting Numbers: [13]\n13,56 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 56:[1, 63, 77], Operations: ['90-13=77']\nExploring Operation: 1*63=63, Resulting Numbers: [77, 63]\nGenerated Node #0,1,2: 56:[77, 63] Operation: 1*63=63\nMoving to Node #0,1,2\nCurrent State: 56:[77, 63], Operations: ['90-13=77', '1*63=63']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 56:[1, 63, 77], Operations: ['90-13=77']\nExploring Operation: 63/1=63, Resulting Numbers: [77, 63]\nGenerated Node #0,1,3: 56:[77, 63] Operation: 63/1=63\nMoving to Node #0,1,3\nCurrent State: 56:[77, 63], Operations: ['90-13=77', '63/1=63']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 56:[1, 63, 77], Operations: ['90-13=77']\nExploring Operation: 1*77=77, Resulting Numbers: [63, 77]\nGenerated Node #0,1,4: 56:[63, 77] Operation: 1*77=77\nMoving to Node #0,1,4\nCurrent State: 56:[63, 77], Operations: ['90-13=77', '1*77=77']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 56:[1, 63, 77], Operations: ['90-13=77']\nExploring Operation: 77/1=77, Resulting Numbers: [63, 77]\nGenerated Node #0,1,5: 56:[63, 77] Operation: 77/1=77\nMoving to Node #0,1,5\nCurrent State: 56:[63, 77], Operations: ['90-13=77', '77/1=77']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 56:[1, 63, 77], Operations: ['90-13=77']\nExploring Operation: 1+63=64, Resulting Numbers: [77, 64]\nGenerated Node #0,1,6: 56:[77, 64] Operation: 1+63=64\nMoving to Node #0,1,6\nCurrent State: 56:[77, 64], Operations: ['90-13=77', '1+63=64']\nExploring Operation: 77-64=13, Resulting Numbers: [13]\n13,56 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 56:[1, 63, 77], Operations: ['90-13=77']\nExploring Operation: 1+77=78, Resulting Numbers: [63, 78]\nGenerated Node #0,1,7: 56:[63, 78] Operation: 1+77=78\nMoving to Node #0,1,7\nCurrent State: 56:[63, 78], Operations: ['90-13=77', '1+77=78']\nExploring Operation: 78-63=15, Resulting Numbers: [15]\n15,56 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 56:[1, 63, 77], Operations: ['90-13=77']\nExploring Operation: 77-63=14, Resulting Numbers: [1, 14]\nGenerated Node #0,1,8: 56:[1, 14] Operation: 77-63=14\nMoving to Node #0,1,8\nCurrent State: 56:[1, 14], Operations: ['90-13=77', '77-63=14']\nExploring Operation: 1+14=15, Resulting Numbers: [15]\n15,56 unequal: No Solution\nMoving to Node #0,1,8\nCurrent State: 56:[1, 14], Operations: ['90-13=77', '77-63=14']\nExploring Operation: 1*14=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,1,8\nCurrent State: 56:[1, 14], Operations: ['90-13=77', '77-63=14']\nExploring Operation: 14/1=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,1,8\nCurrent State: 56:[1, 14], Operations: ['90-13=77', '77-63=14']\nExploring Operation: 14-1=13, Resulting Numbers: [13]\n13,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 63-1=62, Resulting Numbers: [90, 13, 62]\nGenerated Node #0,2: 56:[90, 13, 62] Operation: 63-1=62\nMoving to Node #0,2\nCurrent State: 56:[90, 13, 62], Operations: ['63-1=62']\nExploring Operation: 90-13=77, Resulting Numbers: [62, 77]\nGenerated Node #0,2,0: 56:[62, 77] Operation: 90-13=77\nMoving to Node #0,2,0\nCurrent State: 56:[62, 77], Operations: ['63-1=62', '90-13=77']\nExploring Operation: 77-62=15, Resulting Numbers: [15]\n15,56 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 56:[90, 13, 62], Operations: ['63-1=62']\nExploring Operation: 62-13=49, Resulting Numbers: [90, 49]\nGenerated Node #0,2,1: 56:[90, 49] Operation: 62-13=49\nMoving to Node #0,2,1\nCurrent State: 56:[90, 49], Operations: ['63-1=62', '62-13=49']\nExploring Operation: 90-49=41, Resulting Numbers: [41]\n41,56 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 56:[90, 13, 62], Operations: ['63-1=62']\nExploring Operation: 90+13=103, Resulting Numbers: [62, 103]\nGenerated Node #0,2,2: 56:[62, 103] Operation: 90+13=103\nMoving to Node #0,2,2\nCurrent State: 56:[62, 103], Operations: ['63-1=62', '90+13=103']\nExploring Operation: 103-62=41, Resulting Numbers: [41]\n41,56 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 56:[90, 13, 62], Operations: ['63-1=62']\nExploring Operation: 13+62=75, Resulting Numbers: [90, 75]\nGenerated Node #0,2,3: 56:[90, 75] Operation: 13+62=75\nMoving to Node #0,2,3\nCurrent State: 56:[90, 75], Operations: ['63-1=62', '13+62=75']\nExploring Operation: 90-75=15, Resulting Numbers: [15]\n15,56 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 56:[90, 13, 62], Operations: ['63-1=62']\nExploring Operation: 90-62=28, Resulting Numbers: [13, 28]\nGenerated Node #0,2,4: 56:[13, 28] Operation: 90-62=28\nMoving to Node #0,2,4\nCurrent State: 56:[13, 28], Operations: ['63-1=62', '90-62=28']\nExploring Operation: 13+28=41, Resulting Numbers: [41]\n41,56 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 56:[13, 28], Operations: ['63-1=62', '90-62=28']\nExploring Operation: 28-13=15, Resulting Numbers: [15]\n15,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 1+13=14, Resulting Numbers: [90, 63, 14]\nGenerated Node #0,3: 56:[90, 63, 14] Operation: 1+13=14\nMoving to Node #0,3\nCurrent State: 56:[90, 63, 14], Operations: ['1+13=14']\nExploring Operation: 90-14=76, Resulting Numbers: [63, 76]\nGenerated Node #0,3,0: 56:[63, 76] Operation: 90-14=76\nMoving to Node #0,3,0\nCurrent State: 56:[63, 76], Operations: ['1+13=14', '90-14=76']\nExploring Operation: 76-63=13, Resulting Numbers: [13]\n13,56 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 56:[90, 63, 14], Operations: ['1+13=14']\nExploring Operation: 63-14=49, Resulting Numbers: [90, 49]\nGenerated Node #0,3,1: 56:[90, 49] Operation: 63-14=49\nMoving to Node #0,3,1\nCurrent State: 56:[90, 49], Operations: ['1+13=14', '63-14=49']\nExploring Operation: 90-49=41, Resulting Numbers: [41]\n41,56 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 56:[90, 63, 14], Operations: ['1+13=14']\nExploring Operation: 90+14=104, Resulting Numbers: [63, 104]\nGenerated Node #0,3,2: 56:[63, 104] Operation: 90+14=104\nMoving to Node #0,3,2\nCurrent State: 56:[63, 104], Operations: ['1+13=14', '90+14=104']\nExploring Operation: 104-63=41, Resulting Numbers: [41]\n41,56 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 56:[90, 63, 14], Operations: ['1+13=14']\nExploring Operation: 63+14=77, Resulting Numbers: [90, 77]\nGenerated Node #0,3,3: 56:[90, 77] Operation: 63+14=77\nMoving to Node #0,3,3\nCurrent State: 56:[90, 77], Operations: ['1+13=14', '63+14=77']\nExploring Operation: 90-77=13, Resulting Numbers: [13]\n13,56 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 56:[90, 63, 14], Operations: ['1+13=14']\nExploring Operation: 90-63=27, Resulting Numbers: [14, 27]\nGenerated Node #0,3,4: 56:[14, 27] Operation: 90-63=27\nMoving to Node #0,3,4\nCurrent State: 56:[14, 27], Operations: ['1+13=14', '90-63=27']\nExploring Operation: 14+27=41, Resulting Numbers: [41]\n41,56 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 56:[14, 27], Operations: ['1+13=14', '90-63=27']\nExploring Operation: 27-14=13, Resulting Numbers: [13]\n13,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 90*1=90, Resulting Numbers: [63, 13, 90]\nGenerated Node #0,4: 56:[63, 13, 90] Operation: 90*1=90\nMoving to Node #0,4\nCurrent State: 56:[63, 13, 90], Operations: ['90*1=90']\nExploring Operation: 90-13=77, Resulting Numbers: [63, 77]\nGenerated Node #0,4,0: 56:[63, 77] Operation: 90-13=77\nMoving to Node #0,4,0\nCurrent State: 56:[63, 77], Operations: ['90*1=90', '90-13=77']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 56:[63, 13, 90], Operations: ['90*1=90']\nExploring Operation: 63-13=50, Resulting Numbers: [90, 50]\nGenerated Node #0,4,1: 56:[90, 50] Operation: 63-13=50\nMoving to Node #0,4,1\nCurrent State: 56:[90, 50], Operations: ['90*1=90', '63-13=50']\nExploring Operation: 90-50=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 56:[63, 13, 90], Operations: ['90*1=90']\nExploring Operation: 63+13=76, Resulting Numbers: [90, 76]\nGenerated Node #0,4,2: 56:[90, 76] Operation: 63+13=76\nMoving to Node #0,4,2\nCurrent State: 56:[90, 76], Operations: ['90*1=90', '63+13=76']\nExploring Operation: 90-76=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 56:[63, 13, 90], Operations: ['90*1=90']\nExploring Operation: 13+90=103, Resulting Numbers: [63, 103]\nGenerated Node #0,4,3: 56:[63, 103] Operation: 13+90=103\nMoving to Node #0,4,3\nCurrent State: 56:[63, 103], Operations: ['90*1=90', '13+90=103']\nExploring Operation: 103-63=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 56:[63, 13, 90], Operations: ['90*1=90']\nExploring Operation: 90-63=27, Resulting Numbers: [13, 27]\nGenerated Node #0,4,4: 56:[13, 27] Operation: 90-63=27\nMoving to Node #0,4,4\nCurrent State: 56:[13, 27], Operations: ['90*1=90', '90-63=27']\nExploring Operation: 13+27=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 56:[13, 27], Operations: ['90*1=90', '90-63=27']\nExploring Operation: 27-13=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 90/1=90, Resulting Numbers: [63, 13, 90]\nGenerated Node #0,5: 56:[63, 13, 90] Operation: 90/1=90\nMoving to Node #0,5\nCurrent State: 56:[63, 13, 90], Operations: ['90/1=90']\nExploring Operation: 90-13=77, Resulting Numbers: [63, 77]\nGenerated Node #0,5,0: 56:[63, 77] Operation: 90-13=77\nMoving to Node #0,5,0\nCurrent State: 56:[63, 77], Operations: ['90/1=90', '90-13=77']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 56:[63, 13, 90], Operations: ['90/1=90']\nExploring Operation: 63-13=50, Resulting Numbers: [90, 50]\nGenerated Node #0,5,1: 56:[90, 50] Operation: 63-13=50\nMoving to Node #0,5,1\nCurrent State: 56:[90, 50], Operations: ['90/1=90', '63-13=50']\nExploring Operation: 90-50=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 56:[63, 13, 90], Operations: ['90/1=90']\nExploring Operation: 63+13=76, Resulting Numbers: [90, 76]\nGenerated Node #0,5,2: 56:[90, 76] Operation: 63+13=76\nMoving to Node #0,5,2\nCurrent State: 56:[90, 76], Operations: ['90/1=90', '63+13=76']\nExploring Operation: 90-76=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 56:[63, 13, 90], Operations: ['90/1=90']\nExploring Operation: 13+90=103, Resulting Numbers: [63, 103]\nGenerated Node #0,5,3: 56:[63, 103] Operation: 13+90=103\nMoving to Node #0,5,3\nCurrent State: 56:[63, 103], Operations: ['90/1=90', '13+90=103']\nExploring Operation: 103-63=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 56:[63, 13, 90], Operations: ['90/1=90']\nExploring Operation: 90-63=27, Resulting Numbers: [13, 27]\nGenerated Node #0,5,4: 56:[13, 27] Operation: 90-63=27\nMoving to Node #0,5,4\nCurrent State: 56:[13, 27], Operations: ['90/1=90', '90-63=27']\nExploring Operation: 13+27=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 56:[13, 27], Operations: ['90/1=90', '90-63=27']\nExploring Operation: 27-13=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 1*63=63, Resulting Numbers: [90, 13, 63]\nGenerated Node #0,6: 56:[90, 13, 63] Operation: 1*63=63\nMoving to Node #0,6\nCurrent State: 56:[90, 13, 63], Operations: ['1*63=63']\nExploring Operation: 90-13=77, Resulting Numbers: [63, 77]\nGenerated Node #0,6,0: 56:[63, 77] Operation: 90-13=77\nMoving to Node #0,6,0\nCurrent State: 56:[63, 77], Operations: ['1*63=63', '90-13=77']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 56:[90, 13, 63], Operations: ['1*63=63']\nExploring Operation: 63-13=50, Resulting Numbers: [90, 50]\nGenerated Node #0,6,1: 56:[90, 50] Operation: 63-13=50\nMoving to Node #0,6,1\nCurrent State: 56:[90, 50], Operations: ['1*63=63', '63-13=50']\nExploring Operation: 90-50=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 56:[90, 13, 63], Operations: ['1*63=63']\nExploring Operation: 90+13=103, Resulting Numbers: [63, 103]\nGenerated Node #0,6,2: 56:[63, 103] Operation: 90+13=103\nMoving to Node #0,6,2\nCurrent State: 56:[63, 103], Operations: ['1*63=63', '90+13=103']\nExploring Operation: 103-63=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 56:[90, 13, 63], Operations: ['1*63=63']\nExploring Operation: 13+63=76, Resulting Numbers: [90, 76]\nGenerated Node #0,6,3: 56:[90, 76] Operation: 13+63=76\nMoving to Node #0,6,3\nCurrent State: 56:[90, 76], Operations: ['1*63=63', '13+63=76']\nExploring Operation: 90-76=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 56:[90, 13, 63], Operations: ['1*63=63']\nExploring Operation: 90-63=27, Resulting Numbers: [13, 27]\nGenerated Node #0,6,4: 56:[13, 27] Operation: 90-63=27\nMoving to Node #0,6,4\nCurrent State: 56:[13, 27], Operations: ['1*63=63', '90-63=27']\nExploring Operation: 13+27=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 56:[13, 27], Operations: ['1*63=63', '90-63=27']\nExploring Operation: 27-13=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 63/1=63, Resulting Numbers: [90, 13, 63]\nGenerated Node #0,7: 56:[90, 13, 63] Operation: 63/1=63\nMoving to Node #0,7\nCurrent State: 56:[90, 13, 63], Operations: ['63/1=63']\nExploring Operation: 90-13=77, Resulting Numbers: [63, 77]\nGenerated Node #0,7,0: 56:[63, 77] Operation: 90-13=77\nMoving to Node #0,7,0\nCurrent State: 56:[63, 77], Operations: ['63/1=63', '90-13=77']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 56:[90, 13, 63], Operations: ['63/1=63']\nExploring Operation: 63-13=50, Resulting Numbers: [90, 50]\nGenerated Node #0,7,1: 56:[90, 50] Operation: 63-13=50\nMoving to Node #0,7,1\nCurrent State: 56:[90, 50], Operations: ['63/1=63', '63-13=50']\nExploring Operation: 90-50=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 56:[90, 13, 63], Operations: ['63/1=63']\nExploring Operation: 90+13=103, Resulting Numbers: [63, 103]\nGenerated Node #0,7,2: 56:[63, 103] Operation: 90+13=103\nMoving to Node #0,7,2\nCurrent State: 56:[63, 103], Operations: ['63/1=63', '90+13=103']\nExploring Operation: 103-63=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 56:[90, 13, 63], Operations: ['63/1=63']\nExploring Operation: 13+63=76, Resulting Numbers: [90, 76]\nGenerated Node #0,7,3: 56:[90, 76] Operation: 13+63=76\nMoving to Node #0,7,3\nCurrent State: 56:[90, 76], Operations: ['63/1=63', '13+63=76']\nExploring Operation: 90-76=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 56:[90, 13, 63], Operations: ['63/1=63']\nExploring Operation: 90-63=27, Resulting Numbers: [13, 27]\nGenerated Node #0,7,4: 56:[13, 27] Operation: 90-63=27\nMoving to Node #0,7,4\nCurrent State: 56:[13, 27], Operations: ['63/1=63', '90-63=27']\nExploring Operation: 13+27=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 56:[13, 27], Operations: ['63/1=63', '90-63=27']\nExploring Operation: 27-13=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 1*13=13, Resulting Numbers: [90, 63, 13]\nGenerated Node #0,8: 56:[90, 63, 13] Operation: 1*13=13\nMoving to Node #0,8\nCurrent State: 56:[90, 63, 13], Operations: ['1*13=13']\nExploring Operation: 90-13=77, Resulting Numbers: [63, 77]\nGenerated Node #0,8,0: 56:[63, 77] Operation: 90-13=77\nMoving to Node #0,8,0\nCurrent State: 56:[63, 77], Operations: ['1*13=13', '90-13=77']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 56:[90, 63, 13], Operations: ['1*13=13']\nExploring Operation: 63-13=50, Resulting Numbers: [90, 50]\nGenerated Node #0,8,1: 56:[90, 50] Operation: 63-13=50\nMoving to Node #0,8,1\nCurrent State: 56:[90, 50], Operations: ['1*13=13', '63-13=50']\nExploring Operation: 90-50=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 56:[90, 63, 13], Operations: ['1*13=13']\nExploring Operation: 90+13=103, Resulting Numbers: [63, 103]\nGenerated Node #0,8,2: 56:[63, 103] Operation: 90+13=103\nMoving to Node #0,8,2\nCurrent State: 56:[63, 103], Operations: ['1*13=13', '90+13=103']\nExploring Operation: 103-63=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 56:[90, 63, 13], Operations: ['1*13=13']\nExploring Operation: 63+13=76, Resulting Numbers: [90, 76]\nGenerated Node #0,8,3: 56:[90, 76] Operation: 63+13=76\nMoving to Node #0,8,3\nCurrent State: 56:[90, 76], Operations: ['1*13=13', '63+13=76']\nExploring Operation: 90-76=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 56:[90, 63, 13], Operations: ['1*13=13']\nExploring Operation: 90-63=27, Resulting Numbers: [13, 27]\nGenerated Node #0,8,4: 56:[13, 27] Operation: 90-63=27\nMoving to Node #0,8,4\nCurrent State: 56:[13, 27], Operations: ['1*13=13', '90-63=27']\nExploring Operation: 13+27=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 56:[13, 27], Operations: ['1*13=13', '90-63=27']\nExploring Operation: 27-13=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 13/1=13, Resulting Numbers: [90, 63, 13]\nGenerated Node #0,9: 56:[90, 63, 13] Operation: 13/1=13\nMoving to Node #0,9\nCurrent State: 56:[90, 63, 13], Operations: ['13/1=13']\nExploring Operation: 90-13=77, Resulting Numbers: [63, 77]\nGenerated Node #0,9,0: 56:[63, 77] Operation: 90-13=77\nMoving to Node #0,9,0\nCurrent State: 56:[63, 77], Operations: ['13/1=13', '90-13=77']\nExploring Operation: 77-63=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 56:[90, 63, 13], Operations: ['13/1=13']\nExploring Operation: 63-13=50, Resulting Numbers: [90, 50]\nGenerated Node #0,9,1: 56:[90, 50] Operation: 63-13=50\nMoving to Node #0,9,1\nCurrent State: 56:[90, 50], Operations: ['13/1=13', '63-13=50']\nExploring Operation: 90-50=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 56:[90, 63, 13], Operations: ['13/1=13']\nExploring Operation: 90+13=103, Resulting Numbers: [63, 103]\nGenerated Node #0,9,2: 56:[63, 103] Operation: 90+13=103\nMoving to Node #0,9,2\nCurrent State: 56:[63, 103], Operations: ['13/1=13', '90+13=103']\nExploring Operation: 103-63=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 56:[90, 63, 13], Operations: ['13/1=13']\nExploring Operation: 63+13=76, Resulting Numbers: [90, 76]\nGenerated Node #0,9,3: 56:[90, 76] Operation: 63+13=76\nMoving to Node #0,9,3\nCurrent State: 56:[90, 76], Operations: ['13/1=13', '63+13=76']\nExploring Operation: 90-76=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 56:[90, 63, 13], Operations: ['13/1=13']\nExploring Operation: 90-63=27, Resulting Numbers: [13, 27]\nGenerated Node #0,9,4: 56:[13, 27] Operation: 90-63=27\nMoving to Node #0,9,4\nCurrent State: 56:[13, 27], Operations: ['13/1=13', '90-63=27']\nExploring Operation: 13+27=40, Resulting Numbers: [40]\n40,56 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 56:[13, 27], Operations: ['13/1=13', '90-63=27']\nExploring Operation: 27-13=14, Resulting Numbers: [14]\n14,56 unequal: No Solution\nMoving to Node #0\nCurrent State: 56:[90, 1, 63, 13], Operations: []\nExploring Operation: 90+1=91, Resulting Numbers: [63, 13, 91]\nGenerated Node #0,10: 56:[63, 13, 91] Operation: 90+1=91\nMoving to Node #0,10\nCurrent State: 56:[63, 13, 91], Operations: ['90+1=91']\nExploring Operation: 91-13=78, Resulting Numbers: [63, 78]\nGenerated Node #0,10,0: 56:[63, 78] Operation: 91-13=78\nMoving to Node #0,10,0\nCurrent State: 56:[63, 78], Operations: ['90+1=91', '91-13=78']\nExploring Operation: 78-63=15, Resulting Numbers: [15]\n15,56 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 56:[63, 13, 91], Operations: ['90+1=91']\nExploring Operation: 63-13=50, Resulting Numbers: [91, 50]\nGenerated Node #0,10,1: 56:[91, 50] Operation: 63-13=50\nMoving to Node #0,10,1\nCurrent State: 56:[91, 50], Operations: ['90+1=91', '63-13=50']\nExploring Operation: 91-50=41, Resulting Numbers: [41]\n41,56 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 56:[63, 13, 91], Operations: ['90+1=91']\nExploring Operation: 63+13=76, Resulting Numbers: [91, 76]\nGenerated Node #0,10,2: 56:[91, 76] Operation: 63+13=76\nMoving to Node #0,10,2\nCurrent State: 56:[91, 76], Operations: ['90+1=91', '63+13=76']\nExploring Operation: 91-76=15, Resulting Numbers: [15]\n15,56 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 56:[63, 13, 91], Operations: ['90+1=91']\nExploring Operation: 13+91=104, Resulting Numbers: [63, 104]\nGenerated Node #0,10,3: 56:[63, 104] Operation: 13+91=104\nMoving to Node #0,10,3\nCurrent State: 56:[63, 104], Operations: ['90+1=91', '13+91=104']\nExploring Operation: 104-63=41, Resulting Numbers: [41]\n41,56 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 56:[63, 13, 91], Operations: ['90+1=91']\nExploring Operation: 91/13=7, Resulting Numbers: [63, 7]\nGenerated Node #0,10,4: 56:[63, 7] Operation: 91/13=7\nMoving to Node #0,10,4\nCurrent State: 56:[63, 7], Operations: ['90+1=91', '91/13=7']\nExploring Operation: 63-7=56, Resulting Numbers: [56]\n56,56 equal: Goal Reached\n", "role": "assistant" } ]
[ 11, 68, 84, 12 ]
15
[ "68-11=57", "84-12=72", "72-57=15" ]
Current State: 15:[11, 68, 84, 12], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [11, 12, 16] Generated Node #0,0: 15:[11, 12, 16] Operation: 84-68=16 Moving to Node #0,0 Current State: 15:[11, 12, 16], Operations: ['84-68=16'] Exploring Operation: 11+12=23, Resulting Numbers: [16, 23] Generated Node #0,0,0: 15:[16, 23] Operation: 11+12=23 Moving to Node #0,0,0 Current State: 15:[16, 23], Operations: ['84-68=16', '11+12=23'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,15 unequal: No Solution Moving to Node #0,0 Current State: 15:[11, 12, 16], Operations: ['84-68=16'] Exploring Operation: 16-11=5, Resulting Numbers: [12, 5] Generated Node #0,0,1: 15:[12, 5] Operation: 16-11=5 Moving to Node #0,0,1 Current State: 15:[12, 5], Operations: ['84-68=16', '16-11=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[12, 5], Operations: ['84-68=16', '16-11=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,15 unequal: No Solution Moving to Node #0,0 Current State: 15:[11, 12, 16], Operations: ['84-68=16'] Exploring Operation: 12-11=1, Resulting Numbers: [16, 1] Generated Node #0,0,2: 15:[16, 1] Operation: 12-11=1 Moving to Node #0,0,2 Current State: 15:[16, 1], Operations: ['84-68=16', '12-11=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.992188
dfs
Current State: 15:[11, 68, 84, 12], Operations: [] Exploring Operation: 68-11=57, Resulting Numbers: [84, 12, 57] Generated Node #2: [84, 12, 57] from Operation: 68-11=57 Current State: 15:[84, 12, 57], Operations: ['68-11=57'] Exploring Operation: 84-12=72, Resulting Numbers: [57, 72] Generated Node #3: [57, 72] from Operation: 84-12=72 Current State: 15:[57, 72], Operations: ['68-11=57', '84-12=72'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
sum_heuristic
[ { "content": "Make 15 with the numbers [11, 68, 84, 12] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 15:[11, 68, 84, 12], Operations: []\nExploring Operation: 84-68=16, Resulting Numbers: [11, 12, 16]\nGenerated Node #0,0: 15:[11, 12, 16] Operation: 84-68=16\nMoving to Node #0,0\nCurrent State: 15:[11, 12, 16], Operations: ['84-68=16']\nExploring Operation: 11+12=23, Resulting Numbers: [16, 23]\nGenerated Node #0,0,0: 15:[16, 23] Operation: 11+12=23\nMoving to Node #0,0,0\nCurrent State: 15:[16, 23], Operations: ['84-68=16', '11+12=23']\nExploring Operation: 23-16=7, Resulting Numbers: [7]\n7,15 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 15:[11, 12, 16], Operations: ['84-68=16']\nExploring Operation: 16-11=5, Resulting Numbers: [12, 5]\nGenerated Node #0,0,1: 15:[12, 5] Operation: 16-11=5\nMoving to Node #0,0,1\nCurrent State: 15:[12, 5], Operations: ['84-68=16', '16-11=5']\nExploring Operation: 12+5=17, Resulting Numbers: [17]\n17,15 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 15:[12, 5], Operations: ['84-68=16', '16-11=5']\nExploring Operation: 12-5=7, Resulting Numbers: [7]\n7,15 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 15:[11, 12, 16], Operations: ['84-68=16']\nExploring Operation: 12-11=1, Resulting Numbers: [16, 1]\nGenerated Node #0,0,2: 15:[16, 1] Operation: 12-11=1\nMoving to Node #0,0,2\nCurrent State: 15:[16, 1], Operations: ['84-68=16', '12-11=1']\nExploring Operation: 16-1=15, Resulting Numbers: [15]\n15,15 equal: Goal Reached\n", "role": "assistant" } ]
[ 75, 68, 22, 77 ]
88
[ "75+68=143", "77-22=55", "143-55=88" ]
Current State: 88:[75, 68, 22, 77], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [68, 22, 2] Generated Node #0,0: 88:[68, 22, 2] Operation: 77-75=2 Exploring Operation: 75-68=7, Resulting Numbers: [22, 77, 7] Generated Node #0,1: 88:[22, 77, 7] Operation: 75-68=7 Exploring Operation: 77-68=9, Resulting Numbers: [75, 22, 9] Generated Node #0,2: 88:[75, 22, 9] Operation: 77-68=9 Moving to Node #0,1 Current State: 88:[22, 77, 7], Operations: ['75-68=7'] Exploring Operation: 22+77=99, Resulting Numbers: [7, 99] Generated Node #0,1,0: 88:[7, 99] Operation: 22+77=99 Exploring Operation: 77/7=11, Resulting Numbers: [22, 11] Generated Node #0,1,1: 88:[22, 11] Operation: 77/7=11 Exploring Operation: 77+7=84, Resulting Numbers: [22, 84] Generated Node #0,1,2: 88:[22, 84] Operation: 77+7=84 Moving to Node #0,2 Current State: 88:[75, 22, 9], Operations: ['77-68=9'] Exploring Operation: 75+9=84, Resulting Numbers: [22, 84] Generated Node #0,2,0: 88:[22, 84] Operation: 75+9=84 Exploring Operation: 75+22=97, Resulting Numbers: [9, 97] Generated Node #0,2,1: 88:[9, 97] Operation: 75+22=97 Exploring Operation: 75-22=53, Resulting Numbers: [9, 53] Generated Node #0,2,2: 88:[9, 53] Operation: 75-22=53 Moving to Node #0,0 Current State: 88:[68, 22, 2], Operations: ['77-75=2'] Exploring Operation: 68+22=90, Resulting Numbers: [2, 90] Generated Node #0,0,0: 88:[2, 90] Operation: 68+22=90 Exploring Operation: 68/2=34, Resulting Numbers: [22, 34] Generated Node #0,0,1: 88:[22, 34] Operation: 68/2=34 Exploring Operation: 68-22=46, Resulting Numbers: [2, 46] Generated Node #0,0,2: 88:[2, 46] Operation: 68-22=46 Moving to Node #0,1,1 Current State: 88:[22, 11], Operations: ['75-68=7', '77/7=11'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[2, 90], Operations: ['77-75=2', '68+22=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.984375
bfs_3
Current State: 88:[75, 68, 22, 77], Operations: [] Exploring Operation: 75+68=143, Resulting Numbers: [22, 77, 143] Generated Node #2: [22, 77, 143] from Operation: 75+68=143 Current State: 88:[22, 77, 143], Operations: ['75+68=143'] Exploring Operation: 77-22=55, Resulting Numbers: [143, 55] Generated Node #3: [143, 55] from Operation: 77-22=55 Current State: 88:[143, 55], Operations: ['75+68=143', '77-22=55'] Exploring Operation: 143-55=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
mult_heuristic
[ { "content": "Make 88 with the numbers [75, 68, 22, 77] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 88:[75, 68, 22, 77], Operations: []\nExploring Operation: 77-75=2, Resulting Numbers: [68, 22, 2]\nGenerated Node #0,0: 88:[68, 22, 2] Operation: 77-75=2\nExploring Operation: 75-68=7, Resulting Numbers: [22, 77, 7]\nGenerated Node #0,1: 88:[22, 77, 7] Operation: 75-68=7\nExploring Operation: 77-68=9, Resulting Numbers: [75, 22, 9]\nGenerated Node #0,2: 88:[75, 22, 9] Operation: 77-68=9\nMoving to Node #0,1\nCurrent State: 88:[22, 77, 7], Operations: ['75-68=7']\nExploring Operation: 22+77=99, Resulting Numbers: [7, 99]\nGenerated Node #0,1,0: 88:[7, 99] Operation: 22+77=99\nExploring Operation: 77/7=11, Resulting Numbers: [22, 11]\nGenerated Node #0,1,1: 88:[22, 11] Operation: 77/7=11\nExploring Operation: 77+7=84, Resulting Numbers: [22, 84]\nGenerated Node #0,1,2: 88:[22, 84] Operation: 77+7=84\nMoving to Node #0,2\nCurrent State: 88:[75, 22, 9], Operations: ['77-68=9']\nExploring Operation: 75+9=84, Resulting Numbers: [22, 84]\nGenerated Node #0,2,0: 88:[22, 84] Operation: 75+9=84\nExploring Operation: 75+22=97, Resulting Numbers: [9, 97]\nGenerated Node #0,2,1: 88:[9, 97] Operation: 75+22=97\nExploring Operation: 75-22=53, Resulting Numbers: [9, 53]\nGenerated Node #0,2,2: 88:[9, 53] Operation: 75-22=53\nMoving to Node #0,0\nCurrent State: 88:[68, 22, 2], Operations: ['77-75=2']\nExploring Operation: 68+22=90, Resulting Numbers: [2, 90]\nGenerated Node #0,0,0: 88:[2, 90] Operation: 68+22=90\nExploring Operation: 68/2=34, Resulting Numbers: [22, 34]\nGenerated Node #0,0,1: 88:[22, 34] Operation: 68/2=34\nExploring Operation: 68-22=46, Resulting Numbers: [2, 46]\nGenerated Node #0,0,2: 88:[2, 46] Operation: 68-22=46\nMoving to Node #0,1,1\nCurrent State: 88:[22, 11], Operations: ['75-68=7', '77/7=11']\nExploring Operation: 22/11=2, Resulting Numbers: [2]\n2,88 unequal: No Solution\nExploring Operation: 22-11=11, Resulting Numbers: [11]\n11,88 unequal: No Solution\nExploring Operation: 22+11=33, Resulting Numbers: [33]\n33,88 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 88:[2, 90], Operations: ['77-75=2', '68+22=90']\nExploring Operation: 2+90=92, Resulting Numbers: [92]\n92,88 unequal: No Solution\nExploring Operation: 90-2=88, Resulting Numbers: [88]\n88,88 equal: Goal Reached\n", "role": "assistant" } ]
[ 42, 2, 9, 53 ]
46
[ "53-9=44", "2*44=88", "88-42=46" ]
Current State: 46:[42, 2, 9, 53], Operations: [] Exploring Operation: 2*9=18, Resulting Numbers: [42, 53, 18] Generated Node #0,0: 46:[42, 53, 18] Operation: 2*9=18 Exploring Operation: 42+2=44, Resulting Numbers: [9, 53, 44] Generated Node #0,1: 46:[9, 53, 44] Operation: 42+2=44 Moving to Node #0,0 Current State: 46:[42, 53, 18], Operations: ['2*9=18'] Exploring Operation: 42+18=60, Resulting Numbers: [53, 60] Generated Node #0,0,0: 46:[53, 60] Operation: 42+18=60 Exploring Operation: 53-18=35, Resulting Numbers: [42, 35] Generated Node #0,0,1: 46:[42, 35] Operation: 53-18=35 Moving to Node #0,1 Current State: 46:[9, 53, 44], Operations: ['42+2=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53, 53] Generated Node #0,1,0: 46:[53, 53] Operation: 9+44=53 Exploring Operation: 53-9=44, Resulting Numbers: [44, 44] Generated Node #0,1,1: 46:[44, 44] Operation: 53-9=44 Moving to Node #0,1,1 Current State: 46:[44, 44], Operations: ['42+2=44', '53-9=44'] Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,46 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[53, 53], Operations: ['42+2=44', '9+44=53'] Exploring Operation: 53/53=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 53-53=0, Resulting Numbers: [0] 0,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[42, 35], Operations: ['2*9=18', '53-18=35'] Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 42+35=77, Resulting Numbers: [77] 77,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[53, 60], Operations: ['2*9=18', '42+18=60'] Exploring Operation: 53+60=113, Resulting Numbers: [113] 113,46 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,46 unequal: No Solution Moving to Node #0,0,1,0 Current State: 46:[77], Operations: ['2*9=18', '53-18=35', '42+35=77'] Moving to Node #0,0,1,0 Current State: 46:[7], Operations: ['2*9=18', '53-18=35', '42-35=7'] Moving to Node #0,0,0,0 Current State: 46:[7], Operations: ['2*9=18', '42+18=60', '60-53=7'] Moving to Node #0,1,1,0 Current State: 46:[88], Operations: ['42+2=44', '53-9=44', '44+44=88'] Moving to Node #0,1,0,0 Current State: 46:[1], Operations: ['42+2=44', '9+44=53', '53/53=1'] Moving to Node #0,1,1,0 Current State: 46:[1], Operations: ['42+2=44', '53-9=44', '44/44=1'] Moving to Node #0,1,0,0 Current State: 46:[0], Operations: ['42+2=44', '9+44=53', '53-53=0'] Moving to Node #0,0,0,0 Current State: 46:[113], Operations: ['2*9=18', '42+18=60', '53+60=113'] No solution found.
0
bfs_2
Current State: 46:[42, 2, 9, 53], Operations: [] Exploring Operation: 53-9=44, Resulting Numbers: [42, 2, 44] Generated Node #2: [42, 2, 44] from Operation: 53-9=44 Current State: 46:[42, 2, 44], Operations: ['53-9=44'] Exploring Operation: 2*44=88, Resulting Numbers: [42, 88] Generated Node #3: [42, 88] from Operation: 2*44=88 Current State: 46:[42, 88], Operations: ['53-9=44', '2*44=88'] Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
sum_heuristic
[ { "content": "Make 46 with the numbers [42, 2, 9, 53] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 46:[42, 2, 9, 53], Operations: []\nExploring Operation: 2*9=18, Resulting Numbers: [42, 53, 18]\nGenerated Node #0,0: 46:[42, 53, 18] Operation: 2*9=18\nExploring Operation: 42+2=44, Resulting Numbers: [9, 53, 44]\nGenerated Node #0,1: 46:[9, 53, 44] Operation: 42+2=44\nMoving to Node #0,0\nCurrent State: 46:[42, 53, 18], Operations: ['2*9=18']\nExploring Operation: 42+18=60, Resulting Numbers: [53, 60]\nGenerated Node #0,0,0: 46:[53, 60] Operation: 42+18=60\nExploring Operation: 53-18=35, Resulting Numbers: [42, 35]\nGenerated Node #0,0,1: 46:[42, 35] Operation: 53-18=35\nMoving to Node #0,1\nCurrent State: 46:[9, 53, 44], Operations: ['42+2=44']\nExploring Operation: 9+44=53, Resulting Numbers: [53, 53]\nGenerated Node #0,1,0: 46:[53, 53] Operation: 9+44=53\nExploring Operation: 53-9=44, Resulting Numbers: [44, 44]\nGenerated Node #0,1,1: 46:[44, 44] Operation: 53-9=44\nMoving to Node #0,1,1\nCurrent State: 46:[44, 44], Operations: ['42+2=44', '53-9=44']\nExploring Operation: 44+44=88, Resulting Numbers: [88]\n88,46 unequal: No Solution\nExploring Operation: 44/44=1, Resulting Numbers: [1]\n1,46 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 46:[53, 53], Operations: ['42+2=44', '9+44=53']\nExploring Operation: 53/53=1, Resulting Numbers: [1]\n1,46 unequal: No Solution\nExploring Operation: 53-53=0, Resulting Numbers: [0]\n0,46 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 46:[42, 35], Operations: ['2*9=18', '53-18=35']\nExploring Operation: 42-35=7, Resulting Numbers: [7]\n7,46 unequal: No Solution\nExploring Operation: 42+35=77, Resulting Numbers: [77]\n77,46 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 46:[53, 60], Operations: ['2*9=18', '42+18=60']\nExploring Operation: 53+60=113, Resulting Numbers: [113]\n113,46 unequal: No Solution\nExploring Operation: 60-53=7, Resulting Numbers: [7]\n7,46 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 46:[77], Operations: ['2*9=18', '53-18=35', '42+35=77']\nMoving to Node #0,0,1,0\nCurrent State: 46:[7], Operations: ['2*9=18', '53-18=35', '42-35=7']\nMoving to Node #0,0,0,0\nCurrent State: 46:[7], Operations: ['2*9=18', '42+18=60', '60-53=7']\nMoving to Node #0,1,1,0\nCurrent State: 46:[88], Operations: ['42+2=44', '53-9=44', '44+44=88']\nMoving to Node #0,1,0,0\nCurrent State: 46:[1], Operations: ['42+2=44', '9+44=53', '53/53=1']\nMoving to Node #0,1,1,0\nCurrent State: 46:[1], Operations: ['42+2=44', '53-9=44', '44/44=1']\nMoving to Node #0,1,0,0\nCurrent State: 46:[0], Operations: ['42+2=44', '9+44=53', '53-53=0']\nMoving to Node #0,0,0,0\nCurrent State: 46:[113], Operations: ['2*9=18', '42+18=60', '53+60=113']\nNo solution found.", "role": "assistant" } ]
[ 73, 1, 42, 99 ]
16
[ "73*1=73", "99-42=57", "73-57=16" ]
Current State: 16:[73, 1, 42, 99], Operations: []
0
dfs
Current State: 16:[73, 1, 42, 99], Operations: [] Exploring Operation: 73*1=73, Resulting Numbers: [42, 99, 73] Generated Node #2: [42, 99, 73] from Operation: 73*1=73 Current State: 16:[42, 99, 73], Operations: ['73*1=73'] Exploring Operation: 99-42=57, Resulting Numbers: [73, 57] Generated Node #3: [73, 57] from Operation: 99-42=57 Current State: 16:[73, 57], Operations: ['73*1=73', '99-42=57'] Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
mult_heuristic
[ { "content": "Make 16 with the numbers [73, 1, 42, 99] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 16:[73, 1, 42, 99], Operations: []\n", "role": "assistant" } ]
[ 20, 13, 89, 25 ]
95
[ "89-13=76", "25*76=1900", "1900/20=95" ]
Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [13, 89, 5] Generated Node #0,0: 95:[13, 89, 5] Operation: 25-20=5 Moving to Node #0,0 Current State: 95:[13, 89, 5], Operations: ['25-20=5'] Exploring Operation: 13+89=102, Resulting Numbers: [5, 102] Generated Node #0,0,0: 95:[5, 102] Operation: 13+89=102 Moving to Node #0,0,0 Current State: 95:[5, 102], Operations: ['25-20=5', '13+89=102'] Exploring Operation: 102-5=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[5, 102], Operations: ['25-20=5', '13+89=102'] Exploring Operation: 5+102=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[13, 89, 5], Operations: ['25-20=5'] Exploring Operation: 13+5=18, Resulting Numbers: [89, 18] Generated Node #0,0,1: 95:[89, 18] Operation: 13+5=18 Moving to Node #0,0,1 Current State: 95:[89, 18], Operations: ['25-20=5', '13+5=18'] Exploring Operation: 89+18=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[89, 18], Operations: ['25-20=5', '13+5=18'] Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[13, 89, 5], Operations: ['25-20=5'] Exploring Operation: 89+5=94, Resulting Numbers: [13, 94] Generated Node #0,0,2: 95:[13, 94] Operation: 89+5=94 Moving to Node #0,0,2 Current State: 95:[13, 94], Operations: ['25-20=5', '89+5=94'] Exploring Operation: 13+94=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[13, 94], Operations: ['25-20=5', '89+5=94'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[13, 89, 5], Operations: ['25-20=5'] Exploring Operation: 13-5=8, Resulting Numbers: [89, 8] Generated Node #0,0,3: 95:[89, 8] Operation: 13-5=8 Moving to Node #0,0,3 Current State: 95:[89, 8], Operations: ['25-20=5', '13-5=8'] Exploring Operation: 89+8=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[89, 8], Operations: ['25-20=5', '13-5=8'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[13, 89, 5], Operations: ['25-20=5'] Exploring Operation: 89-5=84, Resulting Numbers: [13, 84] Generated Node #0,0,4: 95:[13, 84] Operation: 89-5=84 Moving to Node #0,0,4 Current State: 95:[13, 84], Operations: ['25-20=5', '89-5=84'] Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,0,4 Current State: 95:[13, 84], Operations: ['25-20=5', '89-5=84'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[13, 89, 5], Operations: ['25-20=5'] Exploring Operation: 89-13=76, Resulting Numbers: [5, 76] Generated Node #0,0,5: 95:[5, 76] Operation: 89-13=76 Moving to Node #0,0,5 Current State: 95:[5, 76], Operations: ['25-20=5', '89-13=76'] Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,0,5 Current State: 95:[5, 76], Operations: ['25-20=5', '89-13=76'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[13, 89, 5], Operations: ['25-20=5'] Exploring Operation: 13*5=65, Resulting Numbers: [89, 65] Generated Node #0,0,6: 95:[89, 65] Operation: 13*5=65 Moving to Node #0,0,6 Current State: 95:[89, 65], Operations: ['25-20=5', '13*5=65'] Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,95 unequal: No Solution Moving to Node #0,0,6 Current State: 95:[89, 65], Operations: ['25-20=5', '13*5=65'] Exploring Operation: 89+65=154, Resulting Numbers: [154] 154,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 20-13=7, Resulting Numbers: [89, 25, 7] Generated Node #0,1: 95:[89, 25, 7] Operation: 20-13=7 Moving to Node #0,1 Current State: 95:[89, 25, 7], Operations: ['20-13=7'] Exploring Operation: 89+7=96, Resulting Numbers: [25, 96] Generated Node #0,1,0: 95:[25, 96] Operation: 89+7=96 Moving to Node #0,1,0 Current State: 95:[25, 96], Operations: ['20-13=7', '89+7=96'] Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[25, 96], Operations: ['20-13=7', '89+7=96'] Exploring Operation: 25+96=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[89, 25, 7], Operations: ['20-13=7'] Exploring Operation: 25-7=18, Resulting Numbers: [89, 18] Generated Node #0,1,1: 95:[89, 18] Operation: 25-7=18 Moving to Node #0,1,1 Current State: 95:[89, 18], Operations: ['20-13=7', '25-7=18'] Exploring Operation: 89+18=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[89, 18], Operations: ['20-13=7', '25-7=18'] Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[89, 25, 7], Operations: ['20-13=7'] Exploring Operation: 89-7=82, Resulting Numbers: [25, 82] Generated Node #0,1,2: 95:[25, 82] Operation: 89-7=82 Moving to Node #0,1,2 Current State: 95:[25, 82], Operations: ['20-13=7', '89-7=82'] Exploring Operation: 25+82=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[25, 82], Operations: ['20-13=7', '89-7=82'] Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[89, 25, 7], Operations: ['20-13=7'] Exploring Operation: 25+7=32, Resulting Numbers: [89, 32] Generated Node #0,1,3: 95:[89, 32] Operation: 25+7=32 Moving to Node #0,1,3 Current State: 95:[89, 32], Operations: ['20-13=7', '25+7=32'] Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[89, 32], Operations: ['20-13=7', '25+7=32'] Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[89, 25, 7], Operations: ['20-13=7'] Exploring Operation: 89+25=114, Resulting Numbers: [7, 114] Generated Node #0,1,4: 95:[7, 114] Operation: 89+25=114 Moving to Node #0,1,4 Current State: 95:[7, 114], Operations: ['20-13=7', '89+25=114'] Exploring Operation: 114-7=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[7, 114], Operations: ['20-13=7', '89+25=114'] Exploring Operation: 7+114=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[89, 25, 7], Operations: ['20-13=7'] Exploring Operation: 89-25=64, Resulting Numbers: [7, 64] Generated Node #0,1,5: 95:[7, 64] Operation: 89-25=64 Moving to Node #0,1,5 Current State: 95:[7, 64], Operations: ['20-13=7', '89-25=64'] Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,1,5 Current State: 95:[7, 64], Operations: ['20-13=7', '89-25=64'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[89, 25, 7], Operations: ['20-13=7'] Exploring Operation: 25*7=175, Resulting Numbers: [89, 175] Generated Node #0,1,6: 95:[89, 175] Operation: 25*7=175 Moving to Node #0,1,6 Current State: 95:[89, 175], Operations: ['20-13=7', '25*7=175'] Exploring Operation: 175-89=86, Resulting Numbers: [86] 86,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 13+89=102, Resulting Numbers: [20, 25, 102] Generated Node #0,2: 95:[20, 25, 102] Operation: 13+89=102 Moving to Node #0,2 Current State: 95:[20, 25, 102], Operations: ['13+89=102'] Exploring Operation: 25-20=5, Resulting Numbers: [102, 5] Generated Node #0,2,0: 95:[102, 5] Operation: 25-20=5 Moving to Node #0,2,0 Current State: 95:[102, 5], Operations: ['13+89=102', '25-20=5'] Exploring Operation: 102-5=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[102, 5], Operations: ['13+89=102', '25-20=5'] Exploring Operation: 102+5=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,2 Current State: 95:[20, 25, 102], Operations: ['13+89=102'] Exploring Operation: 102-20=82, Resulting Numbers: [25, 82] Generated Node #0,2,1: 95:[25, 82] Operation: 102-20=82 Moving to Node #0,2,1 Current State: 95:[25, 82], Operations: ['13+89=102', '102-20=82'] Exploring Operation: 25+82=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[25, 82], Operations: ['13+89=102', '102-20=82'] Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,2 Current State: 95:[20, 25, 102], Operations: ['13+89=102'] Exploring Operation: 102-25=77, Resulting Numbers: [20, 77] Generated Node #0,2,2: 95:[20, 77] Operation: 102-25=77 Moving to Node #0,2,2 Current State: 95:[20, 77], Operations: ['13+89=102', '102-25=77'] Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[20, 77], Operations: ['13+89=102', '102-25=77'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,2 Current State: 95:[20, 25, 102], Operations: ['13+89=102'] Exploring Operation: 20+25=45, Resulting Numbers: [102, 45] Generated Node #0,2,3: 95:[102, 45] Operation: 20+25=45 Moving to Node #0,2,3 Current State: 95:[102, 45], Operations: ['13+89=102', '20+25=45'] Exploring Operation: 102-45=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[102, 45], Operations: ['13+89=102', '20+25=45'] Exploring Operation: 102+45=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,2 Current State: 95:[20, 25, 102], Operations: ['13+89=102'] Exploring Operation: 20+102=122, Resulting Numbers: [25, 122] Generated Node #0,2,4: 95:[25, 122] Operation: 20+102=122 Moving to Node #0,2,4 Current State: 95:[25, 122], Operations: ['13+89=102', '20+102=122'] Exploring Operation: 122-25=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,2,4 Current State: 95:[25, 122], Operations: ['13+89=102', '20+102=122'] Exploring Operation: 25+122=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,2 Current State: 95:[20, 25, 102], Operations: ['13+89=102'] Exploring Operation: 25+102=127, Resulting Numbers: [20, 127] Generated Node #0,2,5: 95:[20, 127] Operation: 25+102=127 Moving to Node #0,2,5 Current State: 95:[20, 127], Operations: ['13+89=102', '25+102=127'] Exploring Operation: 127-20=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,2,5 Current State: 95:[20, 127], Operations: ['13+89=102', '25+102=127'] Exploring Operation: 20+127=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 25-13=12, Resulting Numbers: [20, 89, 12] Generated Node #0,3: 95:[20, 89, 12] Operation: 25-13=12 Moving to Node #0,3 Current State: 95:[20, 89, 12], Operations: ['25-13=12'] Exploring Operation: 89+12=101, Resulting Numbers: [20, 101] Generated Node #0,3,0: 95:[20, 101] Operation: 89+12=101 Moving to Node #0,3,0 Current State: 95:[20, 101], Operations: ['25-13=12', '89+12=101'] Exploring Operation: 101-20=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[20, 101], Operations: ['25-13=12', '89+12=101'] Exploring Operation: 20+101=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,3 Current State: 95:[20, 89, 12], Operations: ['25-13=12'] Exploring Operation: 20-12=8, Resulting Numbers: [89, 8] Generated Node #0,3,1: 95:[89, 8] Operation: 20-12=8 Moving to Node #0,3,1 Current State: 95:[89, 8], Operations: ['25-13=12', '20-12=8'] Exploring Operation: 89+8=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[89, 8], Operations: ['25-13=12', '20-12=8'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,3 Current State: 95:[20, 89, 12], Operations: ['25-13=12'] Exploring Operation: 20+12=32, Resulting Numbers: [89, 32] Generated Node #0,3,2: 95:[89, 32] Operation: 20+12=32 Moving to Node #0,3,2 Current State: 95:[89, 32], Operations: ['25-13=12', '20+12=32'] Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[89, 32], Operations: ['25-13=12', '20+12=32'] Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,3 Current State: 95:[20, 89, 12], Operations: ['25-13=12'] Exploring Operation: 89-12=77, Resulting Numbers: [20, 77] Generated Node #0,3,3: 95:[20, 77] Operation: 89-12=77 Moving to Node #0,3,3 Current State: 95:[20, 77], Operations: ['25-13=12', '89-12=77'] Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[20, 77], Operations: ['25-13=12', '89-12=77'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,3 Current State: 95:[20, 89, 12], Operations: ['25-13=12'] Exploring Operation: 20+89=109, Resulting Numbers: [12, 109] Generated Node #0,3,4: 95:[12, 109] Operation: 20+89=109 Moving to Node #0,3,4 Current State: 95:[12, 109], Operations: ['25-13=12', '20+89=109'] Exploring Operation: 109-12=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,3,4 Current State: 95:[12, 109], Operations: ['25-13=12', '20+89=109'] Exploring Operation: 12+109=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,3 Current State: 95:[20, 89, 12], Operations: ['25-13=12'] Exploring Operation: 89-20=69, Resulting Numbers: [12, 69] Generated Node #0,3,5: 95:[12, 69] Operation: 89-20=69 Moving to Node #0,3,5 Current State: 95:[12, 69], Operations: ['25-13=12', '89-20=69'] Exploring Operation: 12+69=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,3,5 Current State: 95:[12, 69], Operations: ['25-13=12', '89-20=69'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 20+13=33, Resulting Numbers: [89, 25, 33] Generated Node #0,4: 95:[89, 25, 33] Operation: 20+13=33 Moving to Node #0,4 Current State: 95:[89, 25, 33], Operations: ['20+13=33'] Exploring Operation: 33-25=8, Resulting Numbers: [89, 8] Generated Node #0,4,0: 95:[89, 8] Operation: 33-25=8 Moving to Node #0,4,0 Current State: 95:[89, 8], Operations: ['20+13=33', '33-25=8'] Exploring Operation: 89+8=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,4,0 Current State: 95:[89, 8], Operations: ['20+13=33', '33-25=8'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,4 Current State: 95:[89, 25, 33], Operations: ['20+13=33'] Exploring Operation: 89+25=114, Resulting Numbers: [33, 114] Generated Node #0,4,1: 95:[33, 114] Operation: 89+25=114 Moving to Node #0,4,1 Current State: 95:[33, 114], Operations: ['20+13=33', '89+25=114'] Exploring Operation: 114-33=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,4,1 Current State: 95:[33, 114], Operations: ['20+13=33', '89+25=114'] Exploring Operation: 33+114=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,4 Current State: 95:[89, 25, 33], Operations: ['20+13=33'] Exploring Operation: 89+33=122, Resulting Numbers: [25, 122] Generated Node #0,4,2: 95:[25, 122] Operation: 89+33=122 Moving to Node #0,4,2 Current State: 95:[25, 122], Operations: ['20+13=33', '89+33=122'] Exploring Operation: 122-25=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,4,2 Current State: 95:[25, 122], Operations: ['20+13=33', '89+33=122'] Exploring Operation: 25+122=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,4 Current State: 95:[89, 25, 33], Operations: ['20+13=33'] Exploring Operation: 89-33=56, Resulting Numbers: [25, 56] Generated Node #0,4,3: 95:[25, 56] Operation: 89-33=56 Moving to Node #0,4,3 Current State: 95:[25, 56], Operations: ['20+13=33', '89-33=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,4,3 Current State: 95:[25, 56], Operations: ['20+13=33', '89-33=56'] Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,4 Current State: 95:[89, 25, 33], Operations: ['20+13=33'] Exploring Operation: 25+33=58, Resulting Numbers: [89, 58] Generated Node #0,4,4: 95:[89, 58] Operation: 25+33=58 Moving to Node #0,4,4 Current State: 95:[89, 58], Operations: ['20+13=33', '25+33=58'] Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,4,4 Current State: 95:[89, 58], Operations: ['20+13=33', '25+33=58'] Exploring Operation: 89+58=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,4 Current State: 95:[89, 25, 33], Operations: ['20+13=33'] Exploring Operation: 89-25=64, Resulting Numbers: [33, 64] Generated Node #0,4,5: 95:[33, 64] Operation: 89-25=64 Moving to Node #0,4,5 Current State: 95:[33, 64], Operations: ['20+13=33', '89-25=64'] Exploring Operation: 33+64=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,4,5 Current State: 95:[33, 64], Operations: ['20+13=33', '89-25=64'] Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 20+89=109, Resulting Numbers: [13, 25, 109] Generated Node #0,5: 95:[13, 25, 109] Operation: 20+89=109 Moving to Node #0,5 Current State: 95:[13, 25, 109], Operations: ['20+89=109'] Exploring Operation: 109-13=96, Resulting Numbers: [25, 96] Generated Node #0,5,0: 95:[25, 96] Operation: 109-13=96 Moving to Node #0,5,0 Current State: 95:[25, 96], Operations: ['20+89=109', '109-13=96'] Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,5,0 Current State: 95:[25, 96], Operations: ['20+89=109', '109-13=96'] Exploring Operation: 25+96=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,5 Current State: 95:[13, 25, 109], Operations: ['20+89=109'] Exploring Operation: 109-25=84, Resulting Numbers: [13, 84] Generated Node #0,5,1: 95:[13, 84] Operation: 109-25=84 Moving to Node #0,5,1 Current State: 95:[13, 84], Operations: ['20+89=109', '109-25=84'] Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,5,1 Current State: 95:[13, 84], Operations: ['20+89=109', '109-25=84'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,5 Current State: 95:[13, 25, 109], Operations: ['20+89=109'] Exploring Operation: 25-13=12, Resulting Numbers: [109, 12] Generated Node #0,5,2: 95:[109, 12] Operation: 25-13=12 Moving to Node #0,5,2 Current State: 95:[109, 12], Operations: ['20+89=109', '25-13=12'] Exploring Operation: 109-12=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,5,2 Current State: 95:[109, 12], Operations: ['20+89=109', '25-13=12'] Exploring Operation: 109+12=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,5 Current State: 95:[13, 25, 109], Operations: ['20+89=109'] Exploring Operation: 13+25=38, Resulting Numbers: [109, 38] Generated Node #0,5,3: 95:[109, 38] Operation: 13+25=38 Moving to Node #0,5,3 Current State: 95:[109, 38], Operations: ['20+89=109', '13+25=38'] Exploring Operation: 109-38=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,5,3 Current State: 95:[109, 38], Operations: ['20+89=109', '13+25=38'] Exploring Operation: 109+38=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,5 Current State: 95:[13, 25, 109], Operations: ['20+89=109'] Exploring Operation: 13+109=122, Resulting Numbers: [25, 122] Generated Node #0,5,4: 95:[25, 122] Operation: 13+109=122 Moving to Node #0,5,4 Current State: 95:[25, 122], Operations: ['20+89=109', '13+109=122'] Exploring Operation: 122-25=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,5,4 Current State: 95:[25, 122], Operations: ['20+89=109', '13+109=122'] Exploring Operation: 25+122=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,5 Current State: 95:[13, 25, 109], Operations: ['20+89=109'] Exploring Operation: 25+109=134, Resulting Numbers: [13, 134] Generated Node #0,5,5: 95:[13, 134] Operation: 25+109=134 Moving to Node #0,5,5 Current State: 95:[13, 134], Operations: ['20+89=109', '25+109=134'] Exploring Operation: 134-13=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,5,5 Current State: 95:[13, 134], Operations: ['20+89=109', '25+109=134'] Exploring Operation: 13+134=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 89-13=76, Resulting Numbers: [20, 25, 76] Generated Node #0,6: 95:[20, 25, 76] Operation: 89-13=76 Moving to Node #0,6 Current State: 95:[20, 25, 76], Operations: ['89-13=76'] Exploring Operation: 20+76=96, Resulting Numbers: [25, 96] Generated Node #0,6,0: 95:[25, 96] Operation: 20+76=96 Moving to Node #0,6,0 Current State: 95:[25, 96], Operations: ['89-13=76', '20+76=96'] Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,6,0 Current State: 95:[25, 96], Operations: ['89-13=76', '20+76=96'] Exploring Operation: 25+96=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,6 Current State: 95:[20, 25, 76], Operations: ['89-13=76'] Exploring Operation: 25+76=101, Resulting Numbers: [20, 101] Generated Node #0,6,1: 95:[20, 101] Operation: 25+76=101 Moving to Node #0,6,1 Current State: 95:[20, 101], Operations: ['89-13=76', '25+76=101'] Exploring Operation: 101-20=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,6,1 Current State: 95:[20, 101], Operations: ['89-13=76', '25+76=101'] Exploring Operation: 20+101=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,6 Current State: 95:[20, 25, 76], Operations: ['89-13=76'] Exploring Operation: 25-20=5, Resulting Numbers: [76, 5] Generated Node #0,6,2: 95:[76, 5] Operation: 25-20=5 Moving to Node #0,6,2 Current State: 95:[76, 5], Operations: ['89-13=76', '25-20=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,6,2 Current State: 95:[76, 5], Operations: ['89-13=76', '25-20=5'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,6 Current State: 95:[20, 25, 76], Operations: ['89-13=76'] Exploring Operation: 76-25=51, Resulting Numbers: [20, 51] Generated Node #0,6,3: 95:[20, 51] Operation: 76-25=51 Moving to Node #0,6,3 Current State: 95:[20, 51], Operations: ['89-13=76', '76-25=51'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,6,3 Current State: 95:[20, 51], Operations: ['89-13=76', '76-25=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,6 Current State: 95:[20, 25, 76], Operations: ['89-13=76'] Exploring Operation: 76-20=56, Resulting Numbers: [25, 56] Generated Node #0,6,4: 95:[25, 56] Operation: 76-20=56 Moving to Node #0,6,4 Current State: 95:[25, 56], Operations: ['89-13=76', '76-20=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,6,4 Current State: 95:[25, 56], Operations: ['89-13=76', '76-20=56'] Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,6 Current State: 95:[20, 25, 76], Operations: ['89-13=76'] Exploring Operation: 20+25=45, Resulting Numbers: [76, 45] Generated Node #0,6,5: 95:[76, 45] Operation: 20+25=45 Moving to Node #0,6,5 Current State: 95:[76, 45], Operations: ['89-13=76', '20+25=45'] Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,6,5 Current State: 95:[76, 45], Operations: ['89-13=76', '20+25=45'] Exploring Operation: 76+45=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 13+25=38, Resulting Numbers: [20, 89, 38] Generated Node #0,7: 95:[20, 89, 38] Operation: 13+25=38 Moving to Node #0,7 Current State: 95:[20, 89, 38], Operations: ['13+25=38'] Exploring Operation: 38-20=18, Resulting Numbers: [89, 18] Generated Node #0,7,0: 95:[89, 18] Operation: 38-20=18 Moving to Node #0,7,0 Current State: 95:[89, 18], Operations: ['13+25=38', '38-20=18'] Exploring Operation: 89+18=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,7,0 Current State: 95:[89, 18], Operations: ['13+25=38', '38-20=18'] Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,7 Current State: 95:[20, 89, 38], Operations: ['13+25=38'] Exploring Operation: 20+89=109, Resulting Numbers: [38, 109] Generated Node #0,7,1: 95:[38, 109] Operation: 20+89=109 Moving to Node #0,7,1 Current State: 95:[38, 109], Operations: ['13+25=38', '20+89=109'] Exploring Operation: 109-38=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,7,1 Current State: 95:[38, 109], Operations: ['13+25=38', '20+89=109'] Exploring Operation: 38+109=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,7 Current State: 95:[20, 89, 38], Operations: ['13+25=38'] Exploring Operation: 89+38=127, Resulting Numbers: [20, 127] Generated Node #0,7,2: 95:[20, 127] Operation: 89+38=127 Moving to Node #0,7,2 Current State: 95:[20, 127], Operations: ['13+25=38', '89+38=127'] Exploring Operation: 127-20=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,7,2 Current State: 95:[20, 127], Operations: ['13+25=38', '89+38=127'] Exploring Operation: 20+127=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,7 Current State: 95:[20, 89, 38], Operations: ['13+25=38'] Exploring Operation: 89-38=51, Resulting Numbers: [20, 51] Generated Node #0,7,3: 95:[20, 51] Operation: 89-38=51 Moving to Node #0,7,3 Current State: 95:[20, 51], Operations: ['13+25=38', '89-38=51'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,7,3 Current State: 95:[20, 51], Operations: ['13+25=38', '89-38=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,7 Current State: 95:[20, 89, 38], Operations: ['13+25=38'] Exploring Operation: 20+38=58, Resulting Numbers: [89, 58] Generated Node #0,7,4: 95:[89, 58] Operation: 20+38=58 Moving to Node #0,7,4 Current State: 95:[89, 58], Operations: ['13+25=38', '20+38=58'] Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,7,4 Current State: 95:[89, 58], Operations: ['13+25=38', '20+38=58'] Exploring Operation: 89+58=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,7 Current State: 95:[20, 89, 38], Operations: ['13+25=38'] Exploring Operation: 89-20=69, Resulting Numbers: [38, 69] Generated Node #0,7,5: 95:[38, 69] Operation: 89-20=69 Moving to Node #0,7,5 Current State: 95:[38, 69], Operations: ['13+25=38', '89-20=69'] Exploring Operation: 38+69=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,7,5 Current State: 95:[38, 69], Operations: ['13+25=38', '89-20=69'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 89+25=114, Resulting Numbers: [20, 13, 114] Generated Node #0,8: 95:[20, 13, 114] Operation: 89+25=114 Moving to Node #0,8 Current State: 95:[20, 13, 114], Operations: ['89+25=114'] Exploring Operation: 114-20=94, Resulting Numbers: [13, 94] Generated Node #0,8,0: 95:[13, 94] Operation: 114-20=94 Moving to Node #0,8,0 Current State: 95:[13, 94], Operations: ['89+25=114', '114-20=94'] Exploring Operation: 13+94=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,8,0 Current State: 95:[13, 94], Operations: ['89+25=114', '114-20=94'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,8 Current State: 95:[20, 13, 114], Operations: ['89+25=114'] Exploring Operation: 114-13=101, Resulting Numbers: [20, 101] Generated Node #0,8,1: 95:[20, 101] Operation: 114-13=101 Moving to Node #0,8,1 Current State: 95:[20, 101], Operations: ['89+25=114', '114-13=101'] Exploring Operation: 101-20=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,8,1 Current State: 95:[20, 101], Operations: ['89+25=114', '114-13=101'] Exploring Operation: 20+101=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,8 Current State: 95:[20, 13, 114], Operations: ['89+25=114'] Exploring Operation: 20-13=7, Resulting Numbers: [114, 7] Generated Node #0,8,2: 95:[114, 7] Operation: 20-13=7 Moving to Node #0,8,2 Current State: 95:[114, 7], Operations: ['89+25=114', '20-13=7'] Exploring Operation: 114-7=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,8,2 Current State: 95:[114, 7], Operations: ['89+25=114', '20-13=7'] Exploring Operation: 114+7=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,8 Current State: 95:[20, 13, 114], Operations: ['89+25=114'] Exploring Operation: 20+13=33, Resulting Numbers: [114, 33] Generated Node #0,8,3: 95:[114, 33] Operation: 20+13=33 Moving to Node #0,8,3 Current State: 95:[114, 33], Operations: ['89+25=114', '20+13=33'] Exploring Operation: 114-33=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,8,3 Current State: 95:[114, 33], Operations: ['89+25=114', '20+13=33'] Exploring Operation: 114+33=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,8 Current State: 95:[20, 13, 114], Operations: ['89+25=114'] Exploring Operation: 13+114=127, Resulting Numbers: [20, 127] Generated Node #0,8,4: 95:[20, 127] Operation: 13+114=127 Moving to Node #0,8,4 Current State: 95:[20, 127], Operations: ['89+25=114', '13+114=127'] Exploring Operation: 127-20=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,8,4 Current State: 95:[20, 127], Operations: ['89+25=114', '13+114=127'] Exploring Operation: 20+127=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,8 Current State: 95:[20, 13, 114], Operations: ['89+25=114'] Exploring Operation: 20+114=134, Resulting Numbers: [13, 134] Generated Node #0,8,5: 95:[13, 134] Operation: 20+114=134 Moving to Node #0,8,5 Current State: 95:[13, 134], Operations: ['89+25=114', '20+114=134'] Exploring Operation: 134-13=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,8,5 Current State: 95:[13, 134], Operations: ['89+25=114', '20+114=134'] Exploring Operation: 13+134=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 89-20=69, Resulting Numbers: [13, 25, 69] Generated Node #0,9: 95:[13, 25, 69] Operation: 89-20=69 Moving to Node #0,9 Current State: 95:[13, 25, 69], Operations: ['89-20=69'] Exploring Operation: 25+69=94, Resulting Numbers: [13, 94] Generated Node #0,9,0: 95:[13, 94] Operation: 25+69=94 Moving to Node #0,9,0 Current State: 95:[13, 94], Operations: ['89-20=69', '25+69=94'] Exploring Operation: 13+94=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,9,0 Current State: 95:[13, 94], Operations: ['89-20=69', '25+69=94'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,9 Current State: 95:[13, 25, 69], Operations: ['89-20=69'] Exploring Operation: 13+69=82, Resulting Numbers: [25, 82] Generated Node #0,9,1: 95:[25, 82] Operation: 13+69=82 Moving to Node #0,9,1 Current State: 95:[25, 82], Operations: ['89-20=69', '13+69=82'] Exploring Operation: 25+82=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,9,1 Current State: 95:[25, 82], Operations: ['89-20=69', '13+69=82'] Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,9 Current State: 95:[13, 25, 69], Operations: ['89-20=69'] Exploring Operation: 69-25=44, Resulting Numbers: [13, 44] Generated Node #0,9,2: 95:[13, 44] Operation: 69-25=44 Moving to Node #0,9,2 Current State: 95:[13, 44], Operations: ['89-20=69', '69-25=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,9,2 Current State: 95:[13, 44], Operations: ['89-20=69', '69-25=44'] Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,9 Current State: 95:[13, 25, 69], Operations: ['89-20=69'] Exploring Operation: 25-13=12, Resulting Numbers: [69, 12] Generated Node #0,9,3: 95:[69, 12] Operation: 25-13=12 Moving to Node #0,9,3 Current State: 95:[69, 12], Operations: ['89-20=69', '25-13=12'] Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,9,3 Current State: 95:[69, 12], Operations: ['89-20=69', '25-13=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,9 Current State: 95:[13, 25, 69], Operations: ['89-20=69'] Exploring Operation: 69-13=56, Resulting Numbers: [25, 56] Generated Node #0,9,4: 95:[25, 56] Operation: 69-13=56 Moving to Node #0,9,4 Current State: 95:[25, 56], Operations: ['89-20=69', '69-13=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,9,4 Current State: 95:[25, 56], Operations: ['89-20=69', '69-13=56'] Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,9 Current State: 95:[13, 25, 69], Operations: ['89-20=69'] Exploring Operation: 13+25=38, Resulting Numbers: [69, 38] Generated Node #0,9,5: 95:[69, 38] Operation: 13+25=38 Moving to Node #0,9,5 Current State: 95:[69, 38], Operations: ['89-20=69', '13+25=38'] Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,9,5 Current State: 95:[69, 38], Operations: ['89-20=69', '13+25=38'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 20+25=45, Resulting Numbers: [13, 89, 45] Generated Node #0,10: 95:[13, 89, 45] Operation: 20+25=45 Moving to Node #0,10 Current State: 95:[13, 89, 45], Operations: ['20+25=45'] Exploring Operation: 45-13=32, Resulting Numbers: [89, 32] Generated Node #0,10,0: 95:[89, 32] Operation: 45-13=32 Moving to Node #0,10,0 Current State: 95:[89, 32], Operations: ['20+25=45', '45-13=32'] Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,10,0 Current State: 95:[89, 32], Operations: ['20+25=45', '45-13=32'] Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,10 Current State: 95:[13, 89, 45], Operations: ['20+25=45'] Exploring Operation: 89-45=44, Resulting Numbers: [13, 44] Generated Node #0,10,1: 95:[13, 44] Operation: 89-45=44 Moving to Node #0,10,1 Current State: 95:[13, 44], Operations: ['20+25=45', '89-45=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,10,1 Current State: 95:[13, 44], Operations: ['20+25=45', '89-45=44'] Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,10 Current State: 95:[13, 89, 45], Operations: ['20+25=45'] Exploring Operation: 13+89=102, Resulting Numbers: [45, 102] Generated Node #0,10,2: 95:[45, 102] Operation: 13+89=102 Moving to Node #0,10,2 Current State: 95:[45, 102], Operations: ['20+25=45', '13+89=102'] Exploring Operation: 102-45=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,10,2 Current State: 95:[45, 102], Operations: ['20+25=45', '13+89=102'] Exploring Operation: 45+102=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,10 Current State: 95:[13, 89, 45], Operations: ['20+25=45'] Exploring Operation: 13+45=58, Resulting Numbers: [89, 58] Generated Node #0,10,3: 95:[89, 58] Operation: 13+45=58 Moving to Node #0,10,3 Current State: 95:[89, 58], Operations: ['20+25=45', '13+45=58'] Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,10,3 Current State: 95:[89, 58], Operations: ['20+25=45', '13+45=58'] Exploring Operation: 89+58=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0,10 Current State: 95:[13, 89, 45], Operations: ['20+25=45'] Exploring Operation: 89-13=76, Resulting Numbers: [45, 76] Generated Node #0,10,4: 95:[45, 76] Operation: 89-13=76 Moving to Node #0,10,4 Current State: 95:[45, 76], Operations: ['20+25=45', '89-13=76'] Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,10,4 Current State: 95:[45, 76], Operations: ['20+25=45', '89-13=76'] Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,10 Current State: 95:[13, 89, 45], Operations: ['20+25=45'] Exploring Operation: 89+45=134, Resulting Numbers: [13, 134] Generated Node #0,10,5: 95:[13, 134] Operation: 89+45=134 Moving to Node #0,10,5 Current State: 95:[13, 134], Operations: ['20+25=45', '89+45=134'] Exploring Operation: 134-13=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,10,5 Current State: 95:[13, 134], Operations: ['20+25=45', '89+45=134'] Exploring Operation: 13+134=147, Resulting Numbers: [147] 147,95 unequal: No Solution Moving to Node #0 Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [20, 13, 64] Generated Node #0,11: 95:[20, 13, 64] Operation: 89-25=64 Moving to Node #0,11 Current State: 95:[20, 13, 64], Operations: ['89-25=64'] Exploring Operation: 20+64=84, Resulting Numbers: [13, 84] Generated Node #0,11,0: 95:[13, 84] Operation: 20+64=84 Moving to Node #0,11,0 Current State: 95:[13, 84], Operations: ['89-25=64', '20+64=84'] Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,11,0 Current State: 95:[13, 84], Operations: ['89-25=64', '20+64=84'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,11 Current State: 95:[20, 13, 64], Operations: ['89-25=64'] Exploring Operation: 13+64=77, Resulting Numbers: [20, 77] Generated Node #0,11,1: 95:[20, 77] Operation: 13+64=77 Moving to Node #0,11,1 Current State: 95:[20, 77], Operations: ['89-25=64', '13+64=77'] Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,11,1 Current State: 95:[20, 77], Operations: ['89-25=64', '13+64=77'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,11 Current State: 95:[20, 13, 64], Operations: ['89-25=64'] Exploring Operation: 64-20=44, Resulting Numbers: [13, 44] Generated Node #0,11,2: 95:[13, 44] Operation: 64-20=44 Moving to Node #0,11,2 Current State: 95:[13, 44], Operations: ['89-25=64', '64-20=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,11,2 Current State: 95:[13, 44], Operations: ['89-25=64', '64-20=44'] Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,11 Current State: 95:[20, 13, 64], Operations: ['89-25=64'] Exploring Operation: 20-13=7, Resulting Numbers: [64, 7] Generated Node #0,11,3: 95:[64, 7] Operation: 20-13=7 Moving to Node #0,11,3 Current State: 95:[64, 7], Operations: ['89-25=64', '20-13=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,11,3 Current State: 95:[64, 7], Operations: ['89-25=64', '20-13=7'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,95 unequal: No Solution Moving to Node #0,11 Current State: 95:[20, 13, 64], Operations: ['89-25=64'] Exploring Operation: 64-13=51, Resulting Numbers: [20, 51] Generated Node #0,11,4: 95:[20, 51] Operation: 64-13=51 Moving to Node #0,11,4 Current State: 95:[20, 51], Operations: ['89-25=64', '64-13=51'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,11,4 Current State: 95:[20, 51], Operations: ['89-25=64', '64-13=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,95 unequal: No Solution Moving to Node #0,11 Current State: 95:[20, 13, 64], Operations: ['89-25=64'] Exploring Operation: 20+13=33, Resulting Numbers: [64, 33] Generated Node #0,11,5: 95:[64, 33] Operation: 20+13=33 Moving to Node #0,11,5 Current State: 95:[64, 33], Operations: ['89-25=64', '20+13=33'] Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,11,5 Current State: 95:[64, 33], Operations: ['89-25=64', '20+13=33'] Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,95 unequal: No Solution
0
dfs
Current State: 95:[20, 13, 89, 25], Operations: [] Exploring Operation: 89-13=76, Resulting Numbers: [20, 25, 76] Generated Node #2: [20, 25, 76] from Operation: 89-13=76 Current State: 95:[20, 25, 76], Operations: ['89-13=76'] Exploring Operation: 25*76=1900, Resulting Numbers: [20, 1900] Generated Node #3: [20, 1900] from Operation: 25*76=1900 Current State: 95:[20, 1900], Operations: ['89-13=76', '25*76=1900'] Exploring Operation: 1900/20=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
mult_heuristic
[ { "content": "Make 95 with the numbers [20, 13, 89, 25] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 25-20=5, Resulting Numbers: [13, 89, 5]\nGenerated Node #0,0: 95:[13, 89, 5] Operation: 25-20=5\nMoving to Node #0,0\nCurrent State: 95:[13, 89, 5], Operations: ['25-20=5']\nExploring Operation: 13+89=102, Resulting Numbers: [5, 102]\nGenerated Node #0,0,0: 95:[5, 102] Operation: 13+89=102\nMoving to Node #0,0,0\nCurrent State: 95:[5, 102], Operations: ['25-20=5', '13+89=102']\nExploring Operation: 102-5=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 95:[5, 102], Operations: ['25-20=5', '13+89=102']\nExploring Operation: 5+102=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 95:[13, 89, 5], Operations: ['25-20=5']\nExploring Operation: 13+5=18, Resulting Numbers: [89, 18]\nGenerated Node #0,0,1: 95:[89, 18] Operation: 13+5=18\nMoving to Node #0,0,1\nCurrent State: 95:[89, 18], Operations: ['25-20=5', '13+5=18']\nExploring Operation: 89+18=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 95:[89, 18], Operations: ['25-20=5', '13+5=18']\nExploring Operation: 89-18=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 95:[13, 89, 5], Operations: ['25-20=5']\nExploring Operation: 89+5=94, Resulting Numbers: [13, 94]\nGenerated Node #0,0,2: 95:[13, 94] Operation: 89+5=94\nMoving to Node #0,0,2\nCurrent State: 95:[13, 94], Operations: ['25-20=5', '89+5=94']\nExploring Operation: 13+94=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 95:[13, 94], Operations: ['25-20=5', '89+5=94']\nExploring Operation: 94-13=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 95:[13, 89, 5], Operations: ['25-20=5']\nExploring Operation: 13-5=8, Resulting Numbers: [89, 8]\nGenerated Node #0,0,3: 95:[89, 8] Operation: 13-5=8\nMoving to Node #0,0,3\nCurrent State: 95:[89, 8], Operations: ['25-20=5', '13-5=8']\nExploring Operation: 89+8=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 95:[89, 8], Operations: ['25-20=5', '13-5=8']\nExploring Operation: 89-8=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 95:[13, 89, 5], Operations: ['25-20=5']\nExploring Operation: 89-5=84, Resulting Numbers: [13, 84]\nGenerated Node #0,0,4: 95:[13, 84] Operation: 89-5=84\nMoving to Node #0,0,4\nCurrent State: 95:[13, 84], Operations: ['25-20=5', '89-5=84']\nExploring Operation: 13+84=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 95:[13, 84], Operations: ['25-20=5', '89-5=84']\nExploring Operation: 84-13=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 95:[13, 89, 5], Operations: ['25-20=5']\nExploring Operation: 89-13=76, Resulting Numbers: [5, 76]\nGenerated Node #0,0,5: 95:[5, 76] Operation: 89-13=76\nMoving to Node #0,0,5\nCurrent State: 95:[5, 76], Operations: ['25-20=5', '89-13=76']\nExploring Operation: 5+76=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 95:[5, 76], Operations: ['25-20=5', '89-13=76']\nExploring Operation: 76-5=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 95:[13, 89, 5], Operations: ['25-20=5']\nExploring Operation: 13*5=65, Resulting Numbers: [89, 65]\nGenerated Node #0,0,6: 95:[89, 65] Operation: 13*5=65\nMoving to Node #0,0,6\nCurrent State: 95:[89, 65], Operations: ['25-20=5', '13*5=65']\nExploring Operation: 89-65=24, Resulting Numbers: [24]\n24,95 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 95:[89, 65], Operations: ['25-20=5', '13*5=65']\nExploring Operation: 89+65=154, Resulting Numbers: [154]\n154,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 20-13=7, Resulting Numbers: [89, 25, 7]\nGenerated Node #0,1: 95:[89, 25, 7] Operation: 20-13=7\nMoving to Node #0,1\nCurrent State: 95:[89, 25, 7], Operations: ['20-13=7']\nExploring Operation: 89+7=96, Resulting Numbers: [25, 96]\nGenerated Node #0,1,0: 95:[25, 96] Operation: 89+7=96\nMoving to Node #0,1,0\nCurrent State: 95:[25, 96], Operations: ['20-13=7', '89+7=96']\nExploring Operation: 96-25=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 95:[25, 96], Operations: ['20-13=7', '89+7=96']\nExploring Operation: 25+96=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 95:[89, 25, 7], Operations: ['20-13=7']\nExploring Operation: 25-7=18, Resulting Numbers: [89, 18]\nGenerated Node #0,1,1: 95:[89, 18] Operation: 25-7=18\nMoving to Node #0,1,1\nCurrent State: 95:[89, 18], Operations: ['20-13=7', '25-7=18']\nExploring Operation: 89+18=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 95:[89, 18], Operations: ['20-13=7', '25-7=18']\nExploring Operation: 89-18=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 95:[89, 25, 7], Operations: ['20-13=7']\nExploring Operation: 89-7=82, Resulting Numbers: [25, 82]\nGenerated Node #0,1,2: 95:[25, 82] Operation: 89-7=82\nMoving to Node #0,1,2\nCurrent State: 95:[25, 82], Operations: ['20-13=7', '89-7=82']\nExploring Operation: 25+82=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 95:[25, 82], Operations: ['20-13=7', '89-7=82']\nExploring Operation: 82-25=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 95:[89, 25, 7], Operations: ['20-13=7']\nExploring Operation: 25+7=32, Resulting Numbers: [89, 32]\nGenerated Node #0,1,3: 95:[89, 32] Operation: 25+7=32\nMoving to Node #0,1,3\nCurrent State: 95:[89, 32], Operations: ['20-13=7', '25+7=32']\nExploring Operation: 89+32=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 95:[89, 32], Operations: ['20-13=7', '25+7=32']\nExploring Operation: 89-32=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 95:[89, 25, 7], Operations: ['20-13=7']\nExploring Operation: 89+25=114, Resulting Numbers: [7, 114]\nGenerated Node #0,1,4: 95:[7, 114] Operation: 89+25=114\nMoving to Node #0,1,4\nCurrent State: 95:[7, 114], Operations: ['20-13=7', '89+25=114']\nExploring Operation: 114-7=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 95:[7, 114], Operations: ['20-13=7', '89+25=114']\nExploring Operation: 7+114=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 95:[89, 25, 7], Operations: ['20-13=7']\nExploring Operation: 89-25=64, Resulting Numbers: [7, 64]\nGenerated Node #0,1,5: 95:[7, 64] Operation: 89-25=64\nMoving to Node #0,1,5\nCurrent State: 95:[7, 64], Operations: ['20-13=7', '89-25=64']\nExploring Operation: 7+64=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 95:[7, 64], Operations: ['20-13=7', '89-25=64']\nExploring Operation: 64-7=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 95:[89, 25, 7], Operations: ['20-13=7']\nExploring Operation: 25*7=175, Resulting Numbers: [89, 175]\nGenerated Node #0,1,6: 95:[89, 175] Operation: 25*7=175\nMoving to Node #0,1,6\nCurrent State: 95:[89, 175], Operations: ['20-13=7', '25*7=175']\nExploring Operation: 175-89=86, Resulting Numbers: [86]\n86,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 13+89=102, Resulting Numbers: [20, 25, 102]\nGenerated Node #0,2: 95:[20, 25, 102] Operation: 13+89=102\nMoving to Node #0,2\nCurrent State: 95:[20, 25, 102], Operations: ['13+89=102']\nExploring Operation: 25-20=5, Resulting Numbers: [102, 5]\nGenerated Node #0,2,0: 95:[102, 5] Operation: 25-20=5\nMoving to Node #0,2,0\nCurrent State: 95:[102, 5], Operations: ['13+89=102', '25-20=5']\nExploring Operation: 102-5=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 95:[102, 5], Operations: ['13+89=102', '25-20=5']\nExploring Operation: 102+5=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 95:[20, 25, 102], Operations: ['13+89=102']\nExploring Operation: 102-20=82, Resulting Numbers: [25, 82]\nGenerated Node #0,2,1: 95:[25, 82] Operation: 102-20=82\nMoving to Node #0,2,1\nCurrent State: 95:[25, 82], Operations: ['13+89=102', '102-20=82']\nExploring Operation: 25+82=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 95:[25, 82], Operations: ['13+89=102', '102-20=82']\nExploring Operation: 82-25=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 95:[20, 25, 102], Operations: ['13+89=102']\nExploring Operation: 102-25=77, Resulting Numbers: [20, 77]\nGenerated Node #0,2,2: 95:[20, 77] Operation: 102-25=77\nMoving to Node #0,2,2\nCurrent State: 95:[20, 77], Operations: ['13+89=102', '102-25=77']\nExploring Operation: 20+77=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 95:[20, 77], Operations: ['13+89=102', '102-25=77']\nExploring Operation: 77-20=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 95:[20, 25, 102], Operations: ['13+89=102']\nExploring Operation: 20+25=45, Resulting Numbers: [102, 45]\nGenerated Node #0,2,3: 95:[102, 45] Operation: 20+25=45\nMoving to Node #0,2,3\nCurrent State: 95:[102, 45], Operations: ['13+89=102', '20+25=45']\nExploring Operation: 102-45=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 95:[102, 45], Operations: ['13+89=102', '20+25=45']\nExploring Operation: 102+45=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 95:[20, 25, 102], Operations: ['13+89=102']\nExploring Operation: 20+102=122, Resulting Numbers: [25, 122]\nGenerated Node #0,2,4: 95:[25, 122] Operation: 20+102=122\nMoving to Node #0,2,4\nCurrent State: 95:[25, 122], Operations: ['13+89=102', '20+102=122']\nExploring Operation: 122-25=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 95:[25, 122], Operations: ['13+89=102', '20+102=122']\nExploring Operation: 25+122=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 95:[20, 25, 102], Operations: ['13+89=102']\nExploring Operation: 25+102=127, Resulting Numbers: [20, 127]\nGenerated Node #0,2,5: 95:[20, 127] Operation: 25+102=127\nMoving to Node #0,2,5\nCurrent State: 95:[20, 127], Operations: ['13+89=102', '25+102=127']\nExploring Operation: 127-20=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 95:[20, 127], Operations: ['13+89=102', '25+102=127']\nExploring Operation: 20+127=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 25-13=12, Resulting Numbers: [20, 89, 12]\nGenerated Node #0,3: 95:[20, 89, 12] Operation: 25-13=12\nMoving to Node #0,3\nCurrent State: 95:[20, 89, 12], Operations: ['25-13=12']\nExploring Operation: 89+12=101, Resulting Numbers: [20, 101]\nGenerated Node #0,3,0: 95:[20, 101] Operation: 89+12=101\nMoving to Node #0,3,0\nCurrent State: 95:[20, 101], Operations: ['25-13=12', '89+12=101']\nExploring Operation: 101-20=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 95:[20, 101], Operations: ['25-13=12', '89+12=101']\nExploring Operation: 20+101=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 95:[20, 89, 12], Operations: ['25-13=12']\nExploring Operation: 20-12=8, Resulting Numbers: [89, 8]\nGenerated Node #0,3,1: 95:[89, 8] Operation: 20-12=8\nMoving to Node #0,3,1\nCurrent State: 95:[89, 8], Operations: ['25-13=12', '20-12=8']\nExploring Operation: 89+8=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 95:[89, 8], Operations: ['25-13=12', '20-12=8']\nExploring Operation: 89-8=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 95:[20, 89, 12], Operations: ['25-13=12']\nExploring Operation: 20+12=32, Resulting Numbers: [89, 32]\nGenerated Node #0,3,2: 95:[89, 32] Operation: 20+12=32\nMoving to Node #0,3,2\nCurrent State: 95:[89, 32], Operations: ['25-13=12', '20+12=32']\nExploring Operation: 89+32=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 95:[89, 32], Operations: ['25-13=12', '20+12=32']\nExploring Operation: 89-32=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 95:[20, 89, 12], Operations: ['25-13=12']\nExploring Operation: 89-12=77, Resulting Numbers: [20, 77]\nGenerated Node #0,3,3: 95:[20, 77] Operation: 89-12=77\nMoving to Node #0,3,3\nCurrent State: 95:[20, 77], Operations: ['25-13=12', '89-12=77']\nExploring Operation: 20+77=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 95:[20, 77], Operations: ['25-13=12', '89-12=77']\nExploring Operation: 77-20=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 95:[20, 89, 12], Operations: ['25-13=12']\nExploring Operation: 20+89=109, Resulting Numbers: [12, 109]\nGenerated Node #0,3,4: 95:[12, 109] Operation: 20+89=109\nMoving to Node #0,3,4\nCurrent State: 95:[12, 109], Operations: ['25-13=12', '20+89=109']\nExploring Operation: 109-12=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 95:[12, 109], Operations: ['25-13=12', '20+89=109']\nExploring Operation: 12+109=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 95:[20, 89, 12], Operations: ['25-13=12']\nExploring Operation: 89-20=69, Resulting Numbers: [12, 69]\nGenerated Node #0,3,5: 95:[12, 69] Operation: 89-20=69\nMoving to Node #0,3,5\nCurrent State: 95:[12, 69], Operations: ['25-13=12', '89-20=69']\nExploring Operation: 12+69=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 95:[12, 69], Operations: ['25-13=12', '89-20=69']\nExploring Operation: 69-12=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 20+13=33, Resulting Numbers: [89, 25, 33]\nGenerated Node #0,4: 95:[89, 25, 33] Operation: 20+13=33\nMoving to Node #0,4\nCurrent State: 95:[89, 25, 33], Operations: ['20+13=33']\nExploring Operation: 33-25=8, Resulting Numbers: [89, 8]\nGenerated Node #0,4,0: 95:[89, 8] Operation: 33-25=8\nMoving to Node #0,4,0\nCurrent State: 95:[89, 8], Operations: ['20+13=33', '33-25=8']\nExploring Operation: 89+8=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 95:[89, 8], Operations: ['20+13=33', '33-25=8']\nExploring Operation: 89-8=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 95:[89, 25, 33], Operations: ['20+13=33']\nExploring Operation: 89+25=114, Resulting Numbers: [33, 114]\nGenerated Node #0,4,1: 95:[33, 114] Operation: 89+25=114\nMoving to Node #0,4,1\nCurrent State: 95:[33, 114], Operations: ['20+13=33', '89+25=114']\nExploring Operation: 114-33=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 95:[33, 114], Operations: ['20+13=33', '89+25=114']\nExploring Operation: 33+114=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 95:[89, 25, 33], Operations: ['20+13=33']\nExploring Operation: 89+33=122, Resulting Numbers: [25, 122]\nGenerated Node #0,4,2: 95:[25, 122] Operation: 89+33=122\nMoving to Node #0,4,2\nCurrent State: 95:[25, 122], Operations: ['20+13=33', '89+33=122']\nExploring Operation: 122-25=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 95:[25, 122], Operations: ['20+13=33', '89+33=122']\nExploring Operation: 25+122=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 95:[89, 25, 33], Operations: ['20+13=33']\nExploring Operation: 89-33=56, Resulting Numbers: [25, 56]\nGenerated Node #0,4,3: 95:[25, 56] Operation: 89-33=56\nMoving to Node #0,4,3\nCurrent State: 95:[25, 56], Operations: ['20+13=33', '89-33=56']\nExploring Operation: 56-25=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 95:[25, 56], Operations: ['20+13=33', '89-33=56']\nExploring Operation: 25+56=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 95:[89, 25, 33], Operations: ['20+13=33']\nExploring Operation: 25+33=58, Resulting Numbers: [89, 58]\nGenerated Node #0,4,4: 95:[89, 58] Operation: 25+33=58\nMoving to Node #0,4,4\nCurrent State: 95:[89, 58], Operations: ['20+13=33', '25+33=58']\nExploring Operation: 89-58=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 95:[89, 58], Operations: ['20+13=33', '25+33=58']\nExploring Operation: 89+58=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 95:[89, 25, 33], Operations: ['20+13=33']\nExploring Operation: 89-25=64, Resulting Numbers: [33, 64]\nGenerated Node #0,4,5: 95:[33, 64] Operation: 89-25=64\nMoving to Node #0,4,5\nCurrent State: 95:[33, 64], Operations: ['20+13=33', '89-25=64']\nExploring Operation: 33+64=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 95:[33, 64], Operations: ['20+13=33', '89-25=64']\nExploring Operation: 64-33=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 20+89=109, Resulting Numbers: [13, 25, 109]\nGenerated Node #0,5: 95:[13, 25, 109] Operation: 20+89=109\nMoving to Node #0,5\nCurrent State: 95:[13, 25, 109], Operations: ['20+89=109']\nExploring Operation: 109-13=96, Resulting Numbers: [25, 96]\nGenerated Node #0,5,0: 95:[25, 96] Operation: 109-13=96\nMoving to Node #0,5,0\nCurrent State: 95:[25, 96], Operations: ['20+89=109', '109-13=96']\nExploring Operation: 96-25=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 95:[25, 96], Operations: ['20+89=109', '109-13=96']\nExploring Operation: 25+96=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 95:[13, 25, 109], Operations: ['20+89=109']\nExploring Operation: 109-25=84, Resulting Numbers: [13, 84]\nGenerated Node #0,5,1: 95:[13, 84] Operation: 109-25=84\nMoving to Node #0,5,1\nCurrent State: 95:[13, 84], Operations: ['20+89=109', '109-25=84']\nExploring Operation: 13+84=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 95:[13, 84], Operations: ['20+89=109', '109-25=84']\nExploring Operation: 84-13=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 95:[13, 25, 109], Operations: ['20+89=109']\nExploring Operation: 25-13=12, Resulting Numbers: [109, 12]\nGenerated Node #0,5,2: 95:[109, 12] Operation: 25-13=12\nMoving to Node #0,5,2\nCurrent State: 95:[109, 12], Operations: ['20+89=109', '25-13=12']\nExploring Operation: 109-12=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 95:[109, 12], Operations: ['20+89=109', '25-13=12']\nExploring Operation: 109+12=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 95:[13, 25, 109], Operations: ['20+89=109']\nExploring Operation: 13+25=38, Resulting Numbers: [109, 38]\nGenerated Node #0,5,3: 95:[109, 38] Operation: 13+25=38\nMoving to Node #0,5,3\nCurrent State: 95:[109, 38], Operations: ['20+89=109', '13+25=38']\nExploring Operation: 109-38=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 95:[109, 38], Operations: ['20+89=109', '13+25=38']\nExploring Operation: 109+38=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 95:[13, 25, 109], Operations: ['20+89=109']\nExploring Operation: 13+109=122, Resulting Numbers: [25, 122]\nGenerated Node #0,5,4: 95:[25, 122] Operation: 13+109=122\nMoving to Node #0,5,4\nCurrent State: 95:[25, 122], Operations: ['20+89=109', '13+109=122']\nExploring Operation: 122-25=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 95:[25, 122], Operations: ['20+89=109', '13+109=122']\nExploring Operation: 25+122=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 95:[13, 25, 109], Operations: ['20+89=109']\nExploring Operation: 25+109=134, Resulting Numbers: [13, 134]\nGenerated Node #0,5,5: 95:[13, 134] Operation: 25+109=134\nMoving to Node #0,5,5\nCurrent State: 95:[13, 134], Operations: ['20+89=109', '25+109=134']\nExploring Operation: 134-13=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 95:[13, 134], Operations: ['20+89=109', '25+109=134']\nExploring Operation: 13+134=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 89-13=76, Resulting Numbers: [20, 25, 76]\nGenerated Node #0,6: 95:[20, 25, 76] Operation: 89-13=76\nMoving to Node #0,6\nCurrent State: 95:[20, 25, 76], Operations: ['89-13=76']\nExploring Operation: 20+76=96, Resulting Numbers: [25, 96]\nGenerated Node #0,6,0: 95:[25, 96] Operation: 20+76=96\nMoving to Node #0,6,0\nCurrent State: 95:[25, 96], Operations: ['89-13=76', '20+76=96']\nExploring Operation: 96-25=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 95:[25, 96], Operations: ['89-13=76', '20+76=96']\nExploring Operation: 25+96=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 95:[20, 25, 76], Operations: ['89-13=76']\nExploring Operation: 25+76=101, Resulting Numbers: [20, 101]\nGenerated Node #0,6,1: 95:[20, 101] Operation: 25+76=101\nMoving to Node #0,6,1\nCurrent State: 95:[20, 101], Operations: ['89-13=76', '25+76=101']\nExploring Operation: 101-20=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 95:[20, 101], Operations: ['89-13=76', '25+76=101']\nExploring Operation: 20+101=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 95:[20, 25, 76], Operations: ['89-13=76']\nExploring Operation: 25-20=5, Resulting Numbers: [76, 5]\nGenerated Node #0,6,2: 95:[76, 5] Operation: 25-20=5\nMoving to Node #0,6,2\nCurrent State: 95:[76, 5], Operations: ['89-13=76', '25-20=5']\nExploring Operation: 76+5=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 95:[76, 5], Operations: ['89-13=76', '25-20=5']\nExploring Operation: 76-5=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 95:[20, 25, 76], Operations: ['89-13=76']\nExploring Operation: 76-25=51, Resulting Numbers: [20, 51]\nGenerated Node #0,6,3: 95:[20, 51] Operation: 76-25=51\nMoving to Node #0,6,3\nCurrent State: 95:[20, 51], Operations: ['89-13=76', '76-25=51']\nExploring Operation: 51-20=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 95:[20, 51], Operations: ['89-13=76', '76-25=51']\nExploring Operation: 20+51=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 95:[20, 25, 76], Operations: ['89-13=76']\nExploring Operation: 76-20=56, Resulting Numbers: [25, 56]\nGenerated Node #0,6,4: 95:[25, 56] Operation: 76-20=56\nMoving to Node #0,6,4\nCurrent State: 95:[25, 56], Operations: ['89-13=76', '76-20=56']\nExploring Operation: 56-25=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 95:[25, 56], Operations: ['89-13=76', '76-20=56']\nExploring Operation: 25+56=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 95:[20, 25, 76], Operations: ['89-13=76']\nExploring Operation: 20+25=45, Resulting Numbers: [76, 45]\nGenerated Node #0,6,5: 95:[76, 45] Operation: 20+25=45\nMoving to Node #0,6,5\nCurrent State: 95:[76, 45], Operations: ['89-13=76', '20+25=45']\nExploring Operation: 76-45=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 95:[76, 45], Operations: ['89-13=76', '20+25=45']\nExploring Operation: 76+45=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 13+25=38, Resulting Numbers: [20, 89, 38]\nGenerated Node #0,7: 95:[20, 89, 38] Operation: 13+25=38\nMoving to Node #0,7\nCurrent State: 95:[20, 89, 38], Operations: ['13+25=38']\nExploring Operation: 38-20=18, Resulting Numbers: [89, 18]\nGenerated Node #0,7,0: 95:[89, 18] Operation: 38-20=18\nMoving to Node #0,7,0\nCurrent State: 95:[89, 18], Operations: ['13+25=38', '38-20=18']\nExploring Operation: 89+18=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 95:[89, 18], Operations: ['13+25=38', '38-20=18']\nExploring Operation: 89-18=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 95:[20, 89, 38], Operations: ['13+25=38']\nExploring Operation: 20+89=109, Resulting Numbers: [38, 109]\nGenerated Node #0,7,1: 95:[38, 109] Operation: 20+89=109\nMoving to Node #0,7,1\nCurrent State: 95:[38, 109], Operations: ['13+25=38', '20+89=109']\nExploring Operation: 109-38=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 95:[38, 109], Operations: ['13+25=38', '20+89=109']\nExploring Operation: 38+109=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 95:[20, 89, 38], Operations: ['13+25=38']\nExploring Operation: 89+38=127, Resulting Numbers: [20, 127]\nGenerated Node #0,7,2: 95:[20, 127] Operation: 89+38=127\nMoving to Node #0,7,2\nCurrent State: 95:[20, 127], Operations: ['13+25=38', '89+38=127']\nExploring Operation: 127-20=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 95:[20, 127], Operations: ['13+25=38', '89+38=127']\nExploring Operation: 20+127=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 95:[20, 89, 38], Operations: ['13+25=38']\nExploring Operation: 89-38=51, Resulting Numbers: [20, 51]\nGenerated Node #0,7,3: 95:[20, 51] Operation: 89-38=51\nMoving to Node #0,7,3\nCurrent State: 95:[20, 51], Operations: ['13+25=38', '89-38=51']\nExploring Operation: 51-20=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 95:[20, 51], Operations: ['13+25=38', '89-38=51']\nExploring Operation: 20+51=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 95:[20, 89, 38], Operations: ['13+25=38']\nExploring Operation: 20+38=58, Resulting Numbers: [89, 58]\nGenerated Node #0,7,4: 95:[89, 58] Operation: 20+38=58\nMoving to Node #0,7,4\nCurrent State: 95:[89, 58], Operations: ['13+25=38', '20+38=58']\nExploring Operation: 89-58=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 95:[89, 58], Operations: ['13+25=38', '20+38=58']\nExploring Operation: 89+58=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 95:[20, 89, 38], Operations: ['13+25=38']\nExploring Operation: 89-20=69, Resulting Numbers: [38, 69]\nGenerated Node #0,7,5: 95:[38, 69] Operation: 89-20=69\nMoving to Node #0,7,5\nCurrent State: 95:[38, 69], Operations: ['13+25=38', '89-20=69']\nExploring Operation: 38+69=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 95:[38, 69], Operations: ['13+25=38', '89-20=69']\nExploring Operation: 69-38=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 89+25=114, Resulting Numbers: [20, 13, 114]\nGenerated Node #0,8: 95:[20, 13, 114] Operation: 89+25=114\nMoving to Node #0,8\nCurrent State: 95:[20, 13, 114], Operations: ['89+25=114']\nExploring Operation: 114-20=94, Resulting Numbers: [13, 94]\nGenerated Node #0,8,0: 95:[13, 94] Operation: 114-20=94\nMoving to Node #0,8,0\nCurrent State: 95:[13, 94], Operations: ['89+25=114', '114-20=94']\nExploring Operation: 13+94=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 95:[13, 94], Operations: ['89+25=114', '114-20=94']\nExploring Operation: 94-13=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 95:[20, 13, 114], Operations: ['89+25=114']\nExploring Operation: 114-13=101, Resulting Numbers: [20, 101]\nGenerated Node #0,8,1: 95:[20, 101] Operation: 114-13=101\nMoving to Node #0,8,1\nCurrent State: 95:[20, 101], Operations: ['89+25=114', '114-13=101']\nExploring Operation: 101-20=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 95:[20, 101], Operations: ['89+25=114', '114-13=101']\nExploring Operation: 20+101=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 95:[20, 13, 114], Operations: ['89+25=114']\nExploring Operation: 20-13=7, Resulting Numbers: [114, 7]\nGenerated Node #0,8,2: 95:[114, 7] Operation: 20-13=7\nMoving to Node #0,8,2\nCurrent State: 95:[114, 7], Operations: ['89+25=114', '20-13=7']\nExploring Operation: 114-7=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 95:[114, 7], Operations: ['89+25=114', '20-13=7']\nExploring Operation: 114+7=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 95:[20, 13, 114], Operations: ['89+25=114']\nExploring Operation: 20+13=33, Resulting Numbers: [114, 33]\nGenerated Node #0,8,3: 95:[114, 33] Operation: 20+13=33\nMoving to Node #0,8,3\nCurrent State: 95:[114, 33], Operations: ['89+25=114', '20+13=33']\nExploring Operation: 114-33=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 95:[114, 33], Operations: ['89+25=114', '20+13=33']\nExploring Operation: 114+33=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 95:[20, 13, 114], Operations: ['89+25=114']\nExploring Operation: 13+114=127, Resulting Numbers: [20, 127]\nGenerated Node #0,8,4: 95:[20, 127] Operation: 13+114=127\nMoving to Node #0,8,4\nCurrent State: 95:[20, 127], Operations: ['89+25=114', '13+114=127']\nExploring Operation: 127-20=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 95:[20, 127], Operations: ['89+25=114', '13+114=127']\nExploring Operation: 20+127=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 95:[20, 13, 114], Operations: ['89+25=114']\nExploring Operation: 20+114=134, Resulting Numbers: [13, 134]\nGenerated Node #0,8,5: 95:[13, 134] Operation: 20+114=134\nMoving to Node #0,8,5\nCurrent State: 95:[13, 134], Operations: ['89+25=114', '20+114=134']\nExploring Operation: 134-13=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 95:[13, 134], Operations: ['89+25=114', '20+114=134']\nExploring Operation: 13+134=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 89-20=69, Resulting Numbers: [13, 25, 69]\nGenerated Node #0,9: 95:[13, 25, 69] Operation: 89-20=69\nMoving to Node #0,9\nCurrent State: 95:[13, 25, 69], Operations: ['89-20=69']\nExploring Operation: 25+69=94, Resulting Numbers: [13, 94]\nGenerated Node #0,9,0: 95:[13, 94] Operation: 25+69=94\nMoving to Node #0,9,0\nCurrent State: 95:[13, 94], Operations: ['89-20=69', '25+69=94']\nExploring Operation: 13+94=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 95:[13, 94], Operations: ['89-20=69', '25+69=94']\nExploring Operation: 94-13=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 95:[13, 25, 69], Operations: ['89-20=69']\nExploring Operation: 13+69=82, Resulting Numbers: [25, 82]\nGenerated Node #0,9,1: 95:[25, 82] Operation: 13+69=82\nMoving to Node #0,9,1\nCurrent State: 95:[25, 82], Operations: ['89-20=69', '13+69=82']\nExploring Operation: 25+82=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 95:[25, 82], Operations: ['89-20=69', '13+69=82']\nExploring Operation: 82-25=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 95:[13, 25, 69], Operations: ['89-20=69']\nExploring Operation: 69-25=44, Resulting Numbers: [13, 44]\nGenerated Node #0,9,2: 95:[13, 44] Operation: 69-25=44\nMoving to Node #0,9,2\nCurrent State: 95:[13, 44], Operations: ['89-20=69', '69-25=44']\nExploring Operation: 44-13=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 95:[13, 44], Operations: ['89-20=69', '69-25=44']\nExploring Operation: 13+44=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 95:[13, 25, 69], Operations: ['89-20=69']\nExploring Operation: 25-13=12, Resulting Numbers: [69, 12]\nGenerated Node #0,9,3: 95:[69, 12] Operation: 25-13=12\nMoving to Node #0,9,3\nCurrent State: 95:[69, 12], Operations: ['89-20=69', '25-13=12']\nExploring Operation: 69+12=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 95:[69, 12], Operations: ['89-20=69', '25-13=12']\nExploring Operation: 69-12=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 95:[13, 25, 69], Operations: ['89-20=69']\nExploring Operation: 69-13=56, Resulting Numbers: [25, 56]\nGenerated Node #0,9,4: 95:[25, 56] Operation: 69-13=56\nMoving to Node #0,9,4\nCurrent State: 95:[25, 56], Operations: ['89-20=69', '69-13=56']\nExploring Operation: 56-25=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 95:[25, 56], Operations: ['89-20=69', '69-13=56']\nExploring Operation: 25+56=81, Resulting Numbers: [81]\n81,95 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 95:[13, 25, 69], Operations: ['89-20=69']\nExploring Operation: 13+25=38, Resulting Numbers: [69, 38]\nGenerated Node #0,9,5: 95:[69, 38] Operation: 13+25=38\nMoving to Node #0,9,5\nCurrent State: 95:[69, 38], Operations: ['89-20=69', '13+25=38']\nExploring Operation: 69+38=107, Resulting Numbers: [107]\n107,95 unequal: No Solution\nMoving to Node #0,9,5\nCurrent State: 95:[69, 38], Operations: ['89-20=69', '13+25=38']\nExploring Operation: 69-38=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 20+25=45, Resulting Numbers: [13, 89, 45]\nGenerated Node #0,10: 95:[13, 89, 45] Operation: 20+25=45\nMoving to Node #0,10\nCurrent State: 95:[13, 89, 45], Operations: ['20+25=45']\nExploring Operation: 45-13=32, Resulting Numbers: [89, 32]\nGenerated Node #0,10,0: 95:[89, 32] Operation: 45-13=32\nMoving to Node #0,10,0\nCurrent State: 95:[89, 32], Operations: ['20+25=45', '45-13=32']\nExploring Operation: 89+32=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 95:[89, 32], Operations: ['20+25=45', '45-13=32']\nExploring Operation: 89-32=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 95:[13, 89, 45], Operations: ['20+25=45']\nExploring Operation: 89-45=44, Resulting Numbers: [13, 44]\nGenerated Node #0,10,1: 95:[13, 44] Operation: 89-45=44\nMoving to Node #0,10,1\nCurrent State: 95:[13, 44], Operations: ['20+25=45', '89-45=44']\nExploring Operation: 44-13=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 95:[13, 44], Operations: ['20+25=45', '89-45=44']\nExploring Operation: 13+44=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 95:[13, 89, 45], Operations: ['20+25=45']\nExploring Operation: 13+89=102, Resulting Numbers: [45, 102]\nGenerated Node #0,10,2: 95:[45, 102] Operation: 13+89=102\nMoving to Node #0,10,2\nCurrent State: 95:[45, 102], Operations: ['20+25=45', '13+89=102']\nExploring Operation: 102-45=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 95:[45, 102], Operations: ['20+25=45', '13+89=102']\nExploring Operation: 45+102=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 95:[13, 89, 45], Operations: ['20+25=45']\nExploring Operation: 13+45=58, Resulting Numbers: [89, 58]\nGenerated Node #0,10,3: 95:[89, 58] Operation: 13+45=58\nMoving to Node #0,10,3\nCurrent State: 95:[89, 58], Operations: ['20+25=45', '13+45=58']\nExploring Operation: 89-58=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 95:[89, 58], Operations: ['20+25=45', '13+45=58']\nExploring Operation: 89+58=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 95:[13, 89, 45], Operations: ['20+25=45']\nExploring Operation: 89-13=76, Resulting Numbers: [45, 76]\nGenerated Node #0,10,4: 95:[45, 76] Operation: 89-13=76\nMoving to Node #0,10,4\nCurrent State: 95:[45, 76], Operations: ['20+25=45', '89-13=76']\nExploring Operation: 76-45=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 95:[45, 76], Operations: ['20+25=45', '89-13=76']\nExploring Operation: 45+76=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 95:[13, 89, 45], Operations: ['20+25=45']\nExploring Operation: 89+45=134, Resulting Numbers: [13, 134]\nGenerated Node #0,10,5: 95:[13, 134] Operation: 89+45=134\nMoving to Node #0,10,5\nCurrent State: 95:[13, 134], Operations: ['20+25=45', '89+45=134']\nExploring Operation: 134-13=121, Resulting Numbers: [121]\n121,95 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 95:[13, 134], Operations: ['20+25=45', '89+45=134']\nExploring Operation: 13+134=147, Resulting Numbers: [147]\n147,95 unequal: No Solution\nMoving to Node #0\nCurrent State: 95:[20, 13, 89, 25], Operations: []\nExploring Operation: 89-25=64, Resulting Numbers: [20, 13, 64]\nGenerated Node #0,11: 95:[20, 13, 64] Operation: 89-25=64\nMoving to Node #0,11\nCurrent State: 95:[20, 13, 64], Operations: ['89-25=64']\nExploring Operation: 20+64=84, Resulting Numbers: [13, 84]\nGenerated Node #0,11,0: 95:[13, 84] Operation: 20+64=84\nMoving to Node #0,11,0\nCurrent State: 95:[13, 84], Operations: ['89-25=64', '20+64=84']\nExploring Operation: 13+84=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 95:[13, 84], Operations: ['89-25=64', '20+64=84']\nExploring Operation: 84-13=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 95:[20, 13, 64], Operations: ['89-25=64']\nExploring Operation: 13+64=77, Resulting Numbers: [20, 77]\nGenerated Node #0,11,1: 95:[20, 77] Operation: 13+64=77\nMoving to Node #0,11,1\nCurrent State: 95:[20, 77], Operations: ['89-25=64', '13+64=77']\nExploring Operation: 20+77=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 95:[20, 77], Operations: ['89-25=64', '13+64=77']\nExploring Operation: 77-20=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 95:[20, 13, 64], Operations: ['89-25=64']\nExploring Operation: 64-20=44, Resulting Numbers: [13, 44]\nGenerated Node #0,11,2: 95:[13, 44] Operation: 64-20=44\nMoving to Node #0,11,2\nCurrent State: 95:[13, 44], Operations: ['89-25=64', '64-20=44']\nExploring Operation: 44-13=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 95:[13, 44], Operations: ['89-25=64', '64-20=44']\nExploring Operation: 13+44=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 95:[20, 13, 64], Operations: ['89-25=64']\nExploring Operation: 20-13=7, Resulting Numbers: [64, 7]\nGenerated Node #0,11,3: 95:[64, 7] Operation: 20-13=7\nMoving to Node #0,11,3\nCurrent State: 95:[64, 7], Operations: ['89-25=64', '20-13=7']\nExploring Operation: 64+7=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,11,3\nCurrent State: 95:[64, 7], Operations: ['89-25=64', '20-13=7']\nExploring Operation: 64-7=57, Resulting Numbers: [57]\n57,95 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 95:[20, 13, 64], Operations: ['89-25=64']\nExploring Operation: 64-13=51, Resulting Numbers: [20, 51]\nGenerated Node #0,11,4: 95:[20, 51] Operation: 64-13=51\nMoving to Node #0,11,4\nCurrent State: 95:[20, 51], Operations: ['89-25=64', '64-13=51']\nExploring Operation: 51-20=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 95:[20, 51], Operations: ['89-25=64', '64-13=51']\nExploring Operation: 20+51=71, Resulting Numbers: [71]\n71,95 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 95:[20, 13, 64], Operations: ['89-25=64']\nExploring Operation: 20+13=33, Resulting Numbers: [64, 33]\nGenerated Node #0,11,5: 95:[64, 33] Operation: 20+13=33\nMoving to Node #0,11,5\nCurrent State: 95:[64, 33], Operations: ['89-25=64', '20+13=33']\nExploring Operation: 64+33=97, Resulting Numbers: [97]\n97,95 unequal: No Solution\nMoving to Node #0,11,5\nCurrent State: 95:[64, 33], Operations: ['89-25=64', '20+13=33']\nExploring Operation: 64-33=31, Resulting Numbers: [31]\n31,95 unequal: No Solution\n", "role": "assistant" } ]
[ 13, 30, 7, 97 ]
100
[ "13+97=110", "30*7=210", "210-110=100" ]
Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 30-13=17, Resulting Numbers: [7, 97, 17] Generated Node #0,0: 100:[7, 97, 17] Operation: 30-13=17 Moving to Node #0,0 Current State: 100:[7, 97, 17], Operations: ['30-13=17'] Exploring Operation: 17-7=10, Resulting Numbers: [97, 10] Generated Node #0,0,0: 100:[97, 10] Operation: 17-7=10 Moving to Node #0,0,0 Current State: 100:[97, 10], Operations: ['30-13=17', '17-7=10'] Exploring Operation: 97+10=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[97, 10], Operations: ['30-13=17', '17-7=10'] Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[7, 97, 17], Operations: ['30-13=17'] Exploring Operation: 7+17=24, Resulting Numbers: [97, 24] Generated Node #0,0,1: 100:[97, 24] Operation: 7+17=24 Moving to Node #0,0,1 Current State: 100:[97, 24], Operations: ['30-13=17', '7+17=24'] Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[97, 24], Operations: ['30-13=17', '7+17=24'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[7, 97, 17], Operations: ['30-13=17'] Exploring Operation: 7+97=104, Resulting Numbers: [17, 104] Generated Node #0,0,2: 100:[17, 104] Operation: 7+97=104 Moving to Node #0,0,2 Current State: 100:[17, 104], Operations: ['30-13=17', '7+97=104'] Exploring Operation: 104-17=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[17, 104], Operations: ['30-13=17', '7+97=104'] Exploring Operation: 17+104=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[7, 97, 17], Operations: ['30-13=17'] Exploring Operation: 97-7=90, Resulting Numbers: [17, 90] Generated Node #0,0,3: 100:[17, 90] Operation: 97-7=90 Moving to Node #0,0,3 Current State: 100:[17, 90], Operations: ['30-13=17', '97-7=90'] Exploring Operation: 17+90=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[17, 90], Operations: ['30-13=17', '97-7=90'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[7, 97, 17], Operations: ['30-13=17'] Exploring Operation: 97+17=114, Resulting Numbers: [7, 114] Generated Node #0,0,4: 100:[7, 114] Operation: 97+17=114 Moving to Node #0,0,4 Current State: 100:[7, 114], Operations: ['30-13=17', '97+17=114'] Exploring Operation: 114-7=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,0,4 Current State: 100:[7, 114], Operations: ['30-13=17', '97+17=114'] Exploring Operation: 7+114=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[7, 97, 17], Operations: ['30-13=17'] Exploring Operation: 7*17=119, Resulting Numbers: [97, 119] Generated Node #0,0,5: 100:[97, 119] Operation: 7*17=119 Moving to Node #0,0,5 Current State: 100:[97, 119], Operations: ['30-13=17', '7*17=119'] Exploring Operation: 119-97=22, Resulting Numbers: [22] 22,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[7, 97, 17], Operations: ['30-13=17'] Exploring Operation: 97-17=80, Resulting Numbers: [7, 80] Generated Node #0,0,6: 100:[7, 80] Operation: 97-17=80 Moving to Node #0,0,6 Current State: 100:[7, 80], Operations: ['30-13=17', '97-17=80'] Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,0,6 Current State: 100:[7, 80], Operations: ['30-13=17', '97-17=80'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 13+7=20, Resulting Numbers: [30, 97, 20] Generated Node #0,1: 100:[30, 97, 20] Operation: 13+7=20 Moving to Node #0,1 Current State: 100:[30, 97, 20], Operations: ['13+7=20'] Exploring Operation: 30+20=50, Resulting Numbers: [97, 50] Generated Node #0,1,0: 100:[97, 50] Operation: 30+20=50 Moving to Node #0,1,0 Current State: 100:[97, 50], Operations: ['13+7=20', '30+20=50'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[97, 50], Operations: ['13+7=20', '30+20=50'] Exploring Operation: 97+50=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[30, 97, 20], Operations: ['13+7=20'] Exploring Operation: 30-20=10, Resulting Numbers: [97, 10] Generated Node #0,1,1: 100:[97, 10] Operation: 30-20=10 Moving to Node #0,1,1 Current State: 100:[97, 10], Operations: ['13+7=20', '30-20=10'] Exploring Operation: 97+10=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[97, 10], Operations: ['13+7=20', '30-20=10'] Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[30, 97, 20], Operations: ['13+7=20'] Exploring Operation: 97-30=67, Resulting Numbers: [20, 67] Generated Node #0,1,2: 100:[20, 67] Operation: 97-30=67 Moving to Node #0,1,2 Current State: 100:[20, 67], Operations: ['13+7=20', '97-30=67'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[20, 67], Operations: ['13+7=20', '97-30=67'] Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[30, 97, 20], Operations: ['13+7=20'] Exploring Operation: 97+20=117, Resulting Numbers: [30, 117] Generated Node #0,1,3: 100:[30, 117] Operation: 97+20=117 Moving to Node #0,1,3 Current State: 100:[30, 117], Operations: ['13+7=20', '97+20=117'] Exploring Operation: 117-30=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[30, 117], Operations: ['13+7=20', '97+20=117'] Exploring Operation: 30+117=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[30, 97, 20], Operations: ['13+7=20'] Exploring Operation: 30+97=127, Resulting Numbers: [20, 127] Generated Node #0,1,4: 100:[20, 127] Operation: 30+97=127 Moving to Node #0,1,4 Current State: 100:[20, 127], Operations: ['13+7=20', '30+97=127'] Exploring Operation: 127-20=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,1,4 Current State: 100:[20, 127], Operations: ['13+7=20', '30+97=127'] Exploring Operation: 20+127=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[30, 97, 20], Operations: ['13+7=20'] Exploring Operation: 97-20=77, Resulting Numbers: [30, 77] Generated Node #0,1,5: 100:[30, 77] Operation: 97-20=77 Moving to Node #0,1,5 Current State: 100:[30, 77], Operations: ['13+7=20', '97-20=77'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,1,5 Current State: 100:[30, 77], Operations: ['13+7=20', '97-20=77'] Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 30-7=23, Resulting Numbers: [13, 97, 23] Generated Node #0,2: 100:[13, 97, 23] Operation: 30-7=23 Moving to Node #0,2 Current State: 100:[13, 97, 23], Operations: ['30-7=23'] Exploring Operation: 23-13=10, Resulting Numbers: [97, 10] Generated Node #0,2,0: 100:[97, 10] Operation: 23-13=10 Moving to Node #0,2,0 Current State: 100:[97, 10], Operations: ['30-7=23', '23-13=10'] Exploring Operation: 97+10=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[97, 10], Operations: ['30-7=23', '23-13=10'] Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[13, 97, 23], Operations: ['30-7=23'] Exploring Operation: 13+97=110, Resulting Numbers: [23, 110] Generated Node #0,2,1: 100:[23, 110] Operation: 13+97=110 Moving to Node #0,2,1 Current State: 100:[23, 110], Operations: ['30-7=23', '13+97=110'] Exploring Operation: 110-23=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[23, 110], Operations: ['30-7=23', '13+97=110'] Exploring Operation: 23+110=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[13, 97, 23], Operations: ['30-7=23'] Exploring Operation: 13+23=36, Resulting Numbers: [97, 36] Generated Node #0,2,2: 100:[97, 36] Operation: 13+23=36 Moving to Node #0,2,2 Current State: 100:[97, 36], Operations: ['30-7=23', '13+23=36'] Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[97, 36], Operations: ['30-7=23', '13+23=36'] Exploring Operation: 97+36=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[13, 97, 23], Operations: ['30-7=23'] Exploring Operation: 97-13=84, Resulting Numbers: [23, 84] Generated Node #0,2,3: 100:[23, 84] Operation: 97-13=84 Moving to Node #0,2,3 Current State: 100:[23, 84], Operations: ['30-7=23', '97-13=84'] Exploring Operation: 23+84=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[23, 84], Operations: ['30-7=23', '97-13=84'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[13, 97, 23], Operations: ['30-7=23'] Exploring Operation: 97+23=120, Resulting Numbers: [13, 120] Generated Node #0,2,4: 100:[13, 120] Operation: 97+23=120 Moving to Node #0,2,4 Current State: 100:[13, 120], Operations: ['30-7=23', '97+23=120'] Exploring Operation: 120-13=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,2,4 Current State: 100:[13, 120], Operations: ['30-7=23', '97+23=120'] Exploring Operation: 13+120=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[13, 97, 23], Operations: ['30-7=23'] Exploring Operation: 97-23=74, Resulting Numbers: [13, 74] Generated Node #0,2,5: 100:[13, 74] Operation: 97-23=74 Moving to Node #0,2,5 Current State: 100:[13, 74], Operations: ['30-7=23', '97-23=74'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,2,5 Current State: 100:[13, 74], Operations: ['30-7=23', '97-23=74'] Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 13-7=6, Resulting Numbers: [30, 97, 6] Generated Node #0,3: 100:[30, 97, 6] Operation: 13-7=6 Moving to Node #0,3 Current State: 100:[30, 97, 6], Operations: ['13-7=6'] Exploring Operation: 30/6=5, Resulting Numbers: [97, 5] Generated Node #0,3,0: 100:[97, 5] Operation: 30/6=5 Moving to Node #0,3,0 Current State: 100:[97, 5], Operations: ['13-7=6', '30/6=5'] Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[97, 5], Operations: ['13-7=6', '30/6=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[30, 97, 6], Operations: ['13-7=6'] Exploring Operation: 30-6=24, Resulting Numbers: [97, 24] Generated Node #0,3,1: 100:[97, 24] Operation: 30-6=24 Moving to Node #0,3,1 Current State: 100:[97, 24], Operations: ['13-7=6', '30-6=24'] Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[97, 24], Operations: ['13-7=6', '30-6=24'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[30, 97, 6], Operations: ['13-7=6'] Exploring Operation: 97+6=103, Resulting Numbers: [30, 103] Generated Node #0,3,2: 100:[30, 103] Operation: 97+6=103 Moving to Node #0,3,2 Current State: 100:[30, 103], Operations: ['13-7=6', '97+6=103'] Exploring Operation: 103-30=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[30, 103], Operations: ['13-7=6', '97+6=103'] Exploring Operation: 30+103=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[30, 97, 6], Operations: ['13-7=6'] Exploring Operation: 30+6=36, Resulting Numbers: [97, 36] Generated Node #0,3,3: 100:[97, 36] Operation: 30+6=36 Moving to Node #0,3,3 Current State: 100:[97, 36], Operations: ['13-7=6', '30+6=36'] Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[97, 36], Operations: ['13-7=6', '30+6=36'] Exploring Operation: 97+36=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[30, 97, 6], Operations: ['13-7=6'] Exploring Operation: 97-6=91, Resulting Numbers: [30, 91] Generated Node #0,3,4: 100:[30, 91] Operation: 97-6=91 Moving to Node #0,3,4 Current State: 100:[30, 91], Operations: ['13-7=6', '97-6=91'] Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[30, 91], Operations: ['13-7=6', '97-6=91'] Exploring Operation: 30+91=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[30, 97, 6], Operations: ['13-7=6'] Exploring Operation: 97-30=67, Resulting Numbers: [6, 67] Generated Node #0,3,5: 100:[6, 67] Operation: 97-30=67 Moving to Node #0,3,5 Current State: 100:[6, 67], Operations: ['13-7=6', '97-30=67'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,3,5 Current State: 100:[6, 67], Operations: ['13-7=6', '97-30=67'] Exploring Operation: 6+67=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[30, 97, 6], Operations: ['13-7=6'] Exploring Operation: 30+97=127, Resulting Numbers: [6, 127] Generated Node #0,3,6: 100:[6, 127] Operation: 30+97=127 Moving to Node #0,3,6 Current State: 100:[6, 127], Operations: ['13-7=6', '30+97=127'] Exploring Operation: 127-6=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,3,6 Current State: 100:[6, 127], Operations: ['13-7=6', '30+97=127'] Exploring Operation: 6+127=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[30, 97, 6], Operations: ['13-7=6'] Exploring Operation: 30*6=180, Resulting Numbers: [97, 180] Generated Node #0,3,7: 100:[97, 180] Operation: 30*6=180 Moving to Node #0,3,7 Current State: 100:[97, 180], Operations: ['13-7=6', '30*6=180'] Exploring Operation: 180-97=83, Resulting Numbers: [83] 83,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 13+30=43, Resulting Numbers: [7, 97, 43] Generated Node #0,4: 100:[7, 97, 43] Operation: 13+30=43 Moving to Node #0,4 Current State: 100:[7, 97, 43], Operations: ['13+30=43'] Exploring Operation: 7+43=50, Resulting Numbers: [97, 50] Generated Node #0,4,0: 100:[97, 50] Operation: 7+43=50 Moving to Node #0,4,0 Current State: 100:[97, 50], Operations: ['13+30=43', '7+43=50'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,4,0 Current State: 100:[97, 50], Operations: ['13+30=43', '7+43=50'] Exploring Operation: 97+50=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[7, 97, 43], Operations: ['13+30=43'] Exploring Operation: 97-43=54, Resulting Numbers: [7, 54] Generated Node #0,4,1: 100:[7, 54] Operation: 97-43=54 Moving to Node #0,4,1 Current State: 100:[7, 54], Operations: ['13+30=43', '97-43=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,4,1 Current State: 100:[7, 54], Operations: ['13+30=43', '97-43=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[7, 97, 43], Operations: ['13+30=43'] Exploring Operation: 7+97=104, Resulting Numbers: [43, 104] Generated Node #0,4,2: 100:[43, 104] Operation: 7+97=104 Moving to Node #0,4,2 Current State: 100:[43, 104], Operations: ['13+30=43', '7+97=104'] Exploring Operation: 104-43=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,4,2 Current State: 100:[43, 104], Operations: ['13+30=43', '7+97=104'] Exploring Operation: 43+104=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[7, 97, 43], Operations: ['13+30=43'] Exploring Operation: 43-7=36, Resulting Numbers: [97, 36] Generated Node #0,4,3: 100:[97, 36] Operation: 43-7=36 Moving to Node #0,4,3 Current State: 100:[97, 36], Operations: ['13+30=43', '43-7=36'] Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,4,3 Current State: 100:[97, 36], Operations: ['13+30=43', '43-7=36'] Exploring Operation: 97+36=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[7, 97, 43], Operations: ['13+30=43'] Exploring Operation: 97-7=90, Resulting Numbers: [43, 90] Generated Node #0,4,4: 100:[43, 90] Operation: 97-7=90 Moving to Node #0,4,4 Current State: 100:[43, 90], Operations: ['13+30=43', '97-7=90'] Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,4,4 Current State: 100:[43, 90], Operations: ['13+30=43', '97-7=90'] Exploring Operation: 43+90=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[7, 97, 43], Operations: ['13+30=43'] Exploring Operation: 97+43=140, Resulting Numbers: [7, 140] Generated Node #0,4,5: 100:[7, 140] Operation: 97+43=140 Moving to Node #0,4,5 Current State: 100:[7, 140], Operations: ['13+30=43', '97+43=140'] Exploring Operation: 140/7=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,4,5 Current State: 100:[7, 140], Operations: ['13+30=43', '97+43=140'] Exploring Operation: 140-7=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,4,5 Current State: 100:[7, 140], Operations: ['13+30=43', '97+43=140'] Exploring Operation: 7+140=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 7+97=104, Resulting Numbers: [13, 30, 104] Generated Node #0,5: 100:[13, 30, 104] Operation: 7+97=104 Moving to Node #0,5 Current State: 100:[13, 30, 104], Operations: ['7+97=104'] Exploring Operation: 30-13=17, Resulting Numbers: [104, 17] Generated Node #0,5,0: 100:[104, 17] Operation: 30-13=17 Moving to Node #0,5,0 Current State: 100:[104, 17], Operations: ['7+97=104', '30-13=17'] Exploring Operation: 104-17=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,5,0 Current State: 100:[104, 17], Operations: ['7+97=104', '30-13=17'] Exploring Operation: 104+17=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[13, 30, 104], Operations: ['7+97=104'] Exploring Operation: 104/13=8, Resulting Numbers: [30, 8] Generated Node #0,5,1: 100:[30, 8] Operation: 104/13=8 Moving to Node #0,5,1 Current State: 100:[30, 8], Operations: ['7+97=104', '104/13=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,100 unequal: No Solution Moving to Node #0,5,1 Current State: 100:[30, 8], Operations: ['7+97=104', '104/13=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[13, 30, 104], Operations: ['7+97=104'] Exploring Operation: 13+30=43, Resulting Numbers: [104, 43] Generated Node #0,5,2: 100:[104, 43] Operation: 13+30=43 Moving to Node #0,5,2 Current State: 100:[104, 43], Operations: ['7+97=104', '13+30=43'] Exploring Operation: 104-43=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,5,2 Current State: 100:[104, 43], Operations: ['7+97=104', '13+30=43'] Exploring Operation: 104+43=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[13, 30, 104], Operations: ['7+97=104'] Exploring Operation: 104-13=91, Resulting Numbers: [30, 91] Generated Node #0,5,3: 100:[30, 91] Operation: 104-13=91 Moving to Node #0,5,3 Current State: 100:[30, 91], Operations: ['7+97=104', '104-13=91'] Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,5,3 Current State: 100:[30, 91], Operations: ['7+97=104', '104-13=91'] Exploring Operation: 30+91=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[13, 30, 104], Operations: ['7+97=104'] Exploring Operation: 13+104=117, Resulting Numbers: [30, 117] Generated Node #0,5,4: 100:[30, 117] Operation: 13+104=117 Moving to Node #0,5,4 Current State: 100:[30, 117], Operations: ['7+97=104', '13+104=117'] Exploring Operation: 117-30=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,5,4 Current State: 100:[30, 117], Operations: ['7+97=104', '13+104=117'] Exploring Operation: 30+117=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[13, 30, 104], Operations: ['7+97=104'] Exploring Operation: 104-30=74, Resulting Numbers: [13, 74] Generated Node #0,5,5: 100:[13, 74] Operation: 104-30=74 Moving to Node #0,5,5 Current State: 100:[13, 74], Operations: ['7+97=104', '104-30=74'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,5,5 Current State: 100:[13, 74], Operations: ['7+97=104', '104-30=74'] Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[13, 30, 104], Operations: ['7+97=104'] Exploring Operation: 30+104=134, Resulting Numbers: [13, 134] Generated Node #0,5,6: 100:[13, 134] Operation: 30+104=134 Moving to Node #0,5,6 Current State: 100:[13, 134], Operations: ['7+97=104', '30+104=134'] Exploring Operation: 134-13=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,5,6 Current State: 100:[13, 134], Operations: ['7+97=104', '30+104=134'] Exploring Operation: 13+134=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 13*7=91, Resulting Numbers: [30, 97, 91] Generated Node #0,6: 100:[30, 97, 91] Operation: 13*7=91 Moving to Node #0,6 Current State: 100:[30, 97, 91], Operations: ['13*7=91'] Exploring Operation: 97-91=6, Resulting Numbers: [30, 6] Generated Node #0,6,0: 100:[30, 6] Operation: 97-91=6 Moving to Node #0,6,0 Current State: 100:[30, 6], Operations: ['13*7=91', '97-91=6'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,100 unequal: No Solution Moving to Node #0,6,0 Current State: 100:[30, 6], Operations: ['13*7=91', '97-91=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,100 unequal: No Solution Moving to Node #0,6,0 Current State: 100:[30, 6], Operations: ['13*7=91', '97-91=6'] Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,100 unequal: No Solution Moving to Node #0,6,0 Current State: 100:[30, 6], Operations: ['13*7=91', '97-91=6'] Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[30, 97, 91], Operations: ['13*7=91'] Exploring Operation: 91-30=61, Resulting Numbers: [97, 61] Generated Node #0,6,1: 100:[97, 61] Operation: 91-30=61 Moving to Node #0,6,1 Current State: 100:[97, 61], Operations: ['13*7=91', '91-30=61'] Exploring Operation: 97-61=36, Resulting Numbers: [36] 36,100 unequal: No Solution Moving to Node #0,6,1 Current State: 100:[97, 61], Operations: ['13*7=91', '91-30=61'] Exploring Operation: 97+61=158, Resulting Numbers: [158] 158,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[30, 97, 91], Operations: ['13*7=91'] Exploring Operation: 30+91=121, Resulting Numbers: [97, 121] Generated Node #0,6,2: 100:[97, 121] Operation: 30+91=121 Moving to Node #0,6,2 Current State: 100:[97, 121], Operations: ['13*7=91', '30+91=121'] Exploring Operation: 121-97=24, Resulting Numbers: [24] 24,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[30, 97, 91], Operations: ['13*7=91'] Exploring Operation: 97-30=67, Resulting Numbers: [91, 67] Generated Node #0,6,3: 100:[91, 67] Operation: 97-30=67 Moving to Node #0,6,3 Current State: 100:[91, 67], Operations: ['13*7=91', '97-30=67'] Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,100 unequal: No Solution Moving to Node #0,6,3 Current State: 100:[91, 67], Operations: ['13*7=91', '97-30=67'] Exploring Operation: 91+67=158, Resulting Numbers: [158] 158,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[30, 97, 91], Operations: ['13*7=91'] Exploring Operation: 30+97=127, Resulting Numbers: [91, 127] Generated Node #0,6,4: 100:[91, 127] Operation: 30+97=127 Moving to Node #0,6,4 Current State: 100:[91, 127], Operations: ['13*7=91', '30+97=127'] Exploring Operation: 127-91=36, Resulting Numbers: [36] 36,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[30, 97, 91], Operations: ['13*7=91'] Exploring Operation: 97+91=188, Resulting Numbers: [30, 188] Generated Node #0,6,5: 100:[30, 188] Operation: 97+91=188 Moving to Node #0,6,5 Current State: 100:[30, 188], Operations: ['13*7=91', '97+91=188'] Exploring Operation: 188-30=158, Resulting Numbers: [158] 158,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 13+97=110, Resulting Numbers: [30, 7, 110] Generated Node #0,7: 100:[30, 7, 110] Operation: 13+97=110 Moving to Node #0,7 Current State: 100:[30, 7, 110], Operations: ['13+97=110'] Exploring Operation: 110-7=103, Resulting Numbers: [30, 103] Generated Node #0,7,0: 100:[30, 103] Operation: 110-7=103 Moving to Node #0,7,0 Current State: 100:[30, 103], Operations: ['13+97=110', '110-7=103'] Exploring Operation: 103-30=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,7,0 Current State: 100:[30, 103], Operations: ['13+97=110', '110-7=103'] Exploring Operation: 30+103=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,7 Current State: 100:[30, 7, 110], Operations: ['13+97=110'] Exploring Operation: 30-7=23, Resulting Numbers: [110, 23] Generated Node #0,7,1: 100:[110, 23] Operation: 30-7=23 Moving to Node #0,7,1 Current State: 100:[110, 23], Operations: ['13+97=110', '30-7=23'] Exploring Operation: 110-23=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,7,1 Current State: 100:[110, 23], Operations: ['13+97=110', '30-7=23'] Exploring Operation: 110+23=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,7 Current State: 100:[30, 7, 110], Operations: ['13+97=110'] Exploring Operation: 30+7=37, Resulting Numbers: [110, 37] Generated Node #0,7,2: 100:[110, 37] Operation: 30+7=37 Moving to Node #0,7,2 Current State: 100:[110, 37], Operations: ['13+97=110', '30+7=37'] Exploring Operation: 110-37=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,7,2 Current State: 100:[110, 37], Operations: ['13+97=110', '30+7=37'] Exploring Operation: 110+37=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,7 Current State: 100:[30, 7, 110], Operations: ['13+97=110'] Exploring Operation: 110-30=80, Resulting Numbers: [7, 80] Generated Node #0,7,3: 100:[7, 80] Operation: 110-30=80 Moving to Node #0,7,3 Current State: 100:[7, 80], Operations: ['13+97=110', '110-30=80'] Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,7,3 Current State: 100:[7, 80], Operations: ['13+97=110', '110-30=80'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,7 Current State: 100:[30, 7, 110], Operations: ['13+97=110'] Exploring Operation: 7+110=117, Resulting Numbers: [30, 117] Generated Node #0,7,4: 100:[30, 117] Operation: 7+110=117 Moving to Node #0,7,4 Current State: 100:[30, 117], Operations: ['13+97=110', '7+110=117'] Exploring Operation: 117-30=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,7,4 Current State: 100:[30, 117], Operations: ['13+97=110', '7+110=117'] Exploring Operation: 30+117=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,7 Current State: 100:[30, 7, 110], Operations: ['13+97=110'] Exploring Operation: 30+110=140, Resulting Numbers: [7, 140] Generated Node #0,7,5: 100:[7, 140] Operation: 30+110=140 Moving to Node #0,7,5 Current State: 100:[7, 140], Operations: ['13+97=110', '30+110=140'] Exploring Operation: 140/7=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,7,5 Current State: 100:[7, 140], Operations: ['13+97=110', '30+110=140'] Exploring Operation: 140-7=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,7,5 Current State: 100:[7, 140], Operations: ['13+97=110', '30+110=140'] Exploring Operation: 7+140=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 30+7=37, Resulting Numbers: [13, 97, 37] Generated Node #0,8: 100:[13, 97, 37] Operation: 30+7=37 Moving to Node #0,8 Current State: 100:[13, 97, 37], Operations: ['30+7=37'] Exploring Operation: 13+37=50, Resulting Numbers: [97, 50] Generated Node #0,8,0: 100:[97, 50] Operation: 13+37=50 Moving to Node #0,8,0 Current State: 100:[97, 50], Operations: ['30+7=37', '13+37=50'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,8,0 Current State: 100:[97, 50], Operations: ['30+7=37', '13+37=50'] Exploring Operation: 97+50=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[13, 97, 37], Operations: ['30+7=37'] Exploring Operation: 37-13=24, Resulting Numbers: [97, 24] Generated Node #0,8,1: 100:[97, 24] Operation: 37-13=24 Moving to Node #0,8,1 Current State: 100:[97, 24], Operations: ['30+7=37', '37-13=24'] Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,8,1 Current State: 100:[97, 24], Operations: ['30+7=37', '37-13=24'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[13, 97, 37], Operations: ['30+7=37'] Exploring Operation: 97-37=60, Resulting Numbers: [13, 60] Generated Node #0,8,2: 100:[13, 60] Operation: 97-37=60 Moving to Node #0,8,2 Current State: 100:[13, 60], Operations: ['30+7=37', '97-37=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,8,2 Current State: 100:[13, 60], Operations: ['30+7=37', '97-37=60'] Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[13, 97, 37], Operations: ['30+7=37'] Exploring Operation: 13+97=110, Resulting Numbers: [37, 110] Generated Node #0,8,3: 100:[37, 110] Operation: 13+97=110 Moving to Node #0,8,3 Current State: 100:[37, 110], Operations: ['30+7=37', '13+97=110'] Exploring Operation: 110-37=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,8,3 Current State: 100:[37, 110], Operations: ['30+7=37', '13+97=110'] Exploring Operation: 37+110=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[13, 97, 37], Operations: ['30+7=37'] Exploring Operation: 97-13=84, Resulting Numbers: [37, 84] Generated Node #0,8,4: 100:[37, 84] Operation: 97-13=84 Moving to Node #0,8,4 Current State: 100:[37, 84], Operations: ['30+7=37', '97-13=84'] Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,8,4 Current State: 100:[37, 84], Operations: ['30+7=37', '97-13=84'] Exploring Operation: 37+84=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[13, 97, 37], Operations: ['30+7=37'] Exploring Operation: 97+37=134, Resulting Numbers: [13, 134] Generated Node #0,8,5: 100:[13, 134] Operation: 97+37=134 Moving to Node #0,8,5 Current State: 100:[13, 134], Operations: ['30+7=37', '97+37=134'] Exploring Operation: 134-13=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,8,5 Current State: 100:[13, 134], Operations: ['30+7=37', '97+37=134'] Exploring Operation: 13+134=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 97-7=90, Resulting Numbers: [13, 30, 90] Generated Node #0,9: 100:[13, 30, 90] Operation: 97-7=90 Moving to Node #0,9 Current State: 100:[13, 30, 90], Operations: ['97-7=90'] Exploring Operation: 90/30=3, Resulting Numbers: [13, 3] Generated Node #0,9,0: 100:[13, 3] Operation: 90/30=3 Moving to Node #0,9,0 Current State: 100:[13, 3], Operations: ['97-7=90', '90/30=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,9,0 Current State: 100:[13, 3], Operations: ['97-7=90', '90/30=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,100 unequal: No Solution Moving to Node #0,9,0 Current State: 100:[13, 3], Operations: ['97-7=90', '90/30=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[13, 30, 90], Operations: ['97-7=90'] Exploring Operation: 13+90=103, Resulting Numbers: [30, 103] Generated Node #0,9,1: 100:[30, 103] Operation: 13+90=103 Moving to Node #0,9,1 Current State: 100:[30, 103], Operations: ['97-7=90', '13+90=103'] Exploring Operation: 103-30=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,9,1 Current State: 100:[30, 103], Operations: ['97-7=90', '13+90=103'] Exploring Operation: 30+103=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[13, 30, 90], Operations: ['97-7=90'] Exploring Operation: 30-13=17, Resulting Numbers: [90, 17] Generated Node #0,9,2: 100:[90, 17] Operation: 30-13=17 Moving to Node #0,9,2 Current State: 100:[90, 17], Operations: ['97-7=90', '30-13=17'] Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,9,2 Current State: 100:[90, 17], Operations: ['97-7=90', '30-13=17'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[13, 30, 90], Operations: ['97-7=90'] Exploring Operation: 90-30=60, Resulting Numbers: [13, 60] Generated Node #0,9,3: 100:[13, 60] Operation: 90-30=60 Moving to Node #0,9,3 Current State: 100:[13, 60], Operations: ['97-7=90', '90-30=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,9,3 Current State: 100:[13, 60], Operations: ['97-7=90', '90-30=60'] Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[13, 30, 90], Operations: ['97-7=90'] Exploring Operation: 13+30=43, Resulting Numbers: [90, 43] Generated Node #0,9,4: 100:[90, 43] Operation: 13+30=43 Moving to Node #0,9,4 Current State: 100:[90, 43], Operations: ['97-7=90', '13+30=43'] Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,9,4 Current State: 100:[90, 43], Operations: ['97-7=90', '13+30=43'] Exploring Operation: 90+43=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[13, 30, 90], Operations: ['97-7=90'] Exploring Operation: 30+90=120, Resulting Numbers: [13, 120] Generated Node #0,9,5: 100:[13, 120] Operation: 30+90=120 Moving to Node #0,9,5 Current State: 100:[13, 120], Operations: ['97-7=90', '30+90=120'] Exploring Operation: 120-13=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,9,5 Current State: 100:[13, 120], Operations: ['97-7=90', '30+90=120'] Exploring Operation: 13+120=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[13, 30, 90], Operations: ['97-7=90'] Exploring Operation: 90-13=77, Resulting Numbers: [30, 77] Generated Node #0,9,6: 100:[30, 77] Operation: 90-13=77 Moving to Node #0,9,6 Current State: 100:[30, 77], Operations: ['97-7=90', '90-13=77'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,9,6 Current State: 100:[30, 77], Operations: ['97-7=90', '90-13=77'] Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 97-30=67, Resulting Numbers: [13, 7, 67] Generated Node #0,10: 100:[13, 7, 67] Operation: 97-30=67 Moving to Node #0,10 Current State: 100:[13, 7, 67], Operations: ['97-30=67'] Exploring Operation: 67-13=54, Resulting Numbers: [7, 54] Generated Node #0,10,0: 100:[7, 54] Operation: 67-13=54 Moving to Node #0,10,0 Current State: 100:[7, 54], Operations: ['97-30=67', '67-13=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,10,0 Current State: 100:[7, 54], Operations: ['97-30=67', '67-13=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[13, 7, 67], Operations: ['97-30=67'] Exploring Operation: 67-7=60, Resulting Numbers: [13, 60] Generated Node #0,10,1: 100:[13, 60] Operation: 67-7=60 Moving to Node #0,10,1 Current State: 100:[13, 60], Operations: ['97-30=67', '67-7=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,10,1 Current State: 100:[13, 60], Operations: ['97-30=67', '67-7=60'] Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[13, 7, 67], Operations: ['97-30=67'] Exploring Operation: 13+7=20, Resulting Numbers: [67, 20] Generated Node #0,10,2: 100:[67, 20] Operation: 13+7=20 Moving to Node #0,10,2 Current State: 100:[67, 20], Operations: ['97-30=67', '13+7=20'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,10,2 Current State: 100:[67, 20], Operations: ['97-30=67', '13+7=20'] Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[13, 7, 67], Operations: ['97-30=67'] Exploring Operation: 13-7=6, Resulting Numbers: [67, 6] Generated Node #0,10,3: 100:[67, 6] Operation: 13-7=6 Moving to Node #0,10,3 Current State: 100:[67, 6], Operations: ['97-30=67', '13-7=6'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,10,3 Current State: 100:[67, 6], Operations: ['97-30=67', '13-7=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[13, 7, 67], Operations: ['97-30=67'] Exploring Operation: 13+67=80, Resulting Numbers: [7, 80] Generated Node #0,10,4: 100:[7, 80] Operation: 13+67=80 Moving to Node #0,10,4 Current State: 100:[7, 80], Operations: ['97-30=67', '13+67=80'] Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0,10,4 Current State: 100:[7, 80], Operations: ['97-30=67', '13+67=80'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[13, 7, 67], Operations: ['97-30=67'] Exploring Operation: 13*7=91, Resulting Numbers: [67, 91] Generated Node #0,10,5: 100:[67, 91] Operation: 13*7=91 Moving to Node #0,10,5 Current State: 100:[67, 91], Operations: ['97-30=67', '13*7=91'] Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,100 unequal: No Solution Moving to Node #0,10,5 Current State: 100:[67, 91], Operations: ['97-30=67', '13*7=91'] Exploring Operation: 67+91=158, Resulting Numbers: [158] 158,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[13, 7, 67], Operations: ['97-30=67'] Exploring Operation: 7+67=74, Resulting Numbers: [13, 74] Generated Node #0,10,6: 100:[13, 74] Operation: 7+67=74 Moving to Node #0,10,6 Current State: 100:[13, 74], Operations: ['97-30=67', '7+67=74'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,10,6 Current State: 100:[13, 74], Operations: ['97-30=67', '7+67=74'] Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 97-13=84, Resulting Numbers: [30, 7, 84] Generated Node #0,11: 100:[30, 7, 84] Operation: 97-13=84 Moving to Node #0,11 Current State: 100:[30, 7, 84], Operations: ['97-13=84'] Exploring Operation: 84-30=54, Resulting Numbers: [7, 54] Generated Node #0,11,0: 100:[7, 54] Operation: 84-30=54 Moving to Node #0,11,0 Current State: 100:[7, 54], Operations: ['97-13=84', '84-30=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,11,0 Current State: 100:[7, 54], Operations: ['97-13=84', '84-30=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[30, 7, 84], Operations: ['97-13=84'] Exploring Operation: 84/7=12, Resulting Numbers: [30, 12] Generated Node #0,11,1: 100:[30, 12] Operation: 84/7=12 Moving to Node #0,11,1 Current State: 100:[30, 12], Operations: ['97-13=84', '84/7=12'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,100 unequal: No Solution Moving to Node #0,11,1 Current State: 100:[30, 12], Operations: ['97-13=84', '84/7=12'] Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[30, 7, 84], Operations: ['97-13=84'] Exploring Operation: 7+84=91, Resulting Numbers: [30, 91] Generated Node #0,11,2: 100:[30, 91] Operation: 7+84=91 Moving to Node #0,11,2 Current State: 100:[30, 91], Operations: ['97-13=84', '7+84=91'] Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,11,2 Current State: 100:[30, 91], Operations: ['97-13=84', '7+84=91'] Exploring Operation: 30+91=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[30, 7, 84], Operations: ['97-13=84'] Exploring Operation: 30+84=114, Resulting Numbers: [7, 114] Generated Node #0,11,3: 100:[7, 114] Operation: 30+84=114 Moving to Node #0,11,3 Current State: 100:[7, 114], Operations: ['97-13=84', '30+84=114'] Exploring Operation: 114-7=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,11,3 Current State: 100:[7, 114], Operations: ['97-13=84', '30+84=114'] Exploring Operation: 7+114=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[30, 7, 84], Operations: ['97-13=84'] Exploring Operation: 30-7=23, Resulting Numbers: [84, 23] Generated Node #0,11,4: 100:[84, 23] Operation: 30-7=23 Moving to Node #0,11,4 Current State: 100:[84, 23], Operations: ['97-13=84', '30-7=23'] Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,11,4 Current State: 100:[84, 23], Operations: ['97-13=84', '30-7=23'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[30, 7, 84], Operations: ['97-13=84'] Exploring Operation: 30+7=37, Resulting Numbers: [84, 37] Generated Node #0,11,5: 100:[84, 37] Operation: 30+7=37 Moving to Node #0,11,5 Current State: 100:[84, 37], Operations: ['97-13=84', '30+7=37'] Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,11,5 Current State: 100:[84, 37], Operations: ['97-13=84', '30+7=37'] Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[30, 7, 84], Operations: ['97-13=84'] Exploring Operation: 84-7=77, Resulting Numbers: [30, 77] Generated Node #0,11,6: 100:[30, 77] Operation: 84-7=77 Moving to Node #0,11,6 Current State: 100:[30, 77], Operations: ['97-13=84', '84-7=77'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,11,6 Current State: 100:[30, 77], Operations: ['97-13=84', '84-7=77'] Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0 Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 30+97=127, Resulting Numbers: [13, 7, 127] Generated Node #0,12: 100:[13, 7, 127] Operation: 30+97=127 Moving to Node #0,12 Current State: 100:[13, 7, 127], Operations: ['30+97=127'] Exploring Operation: 127-13=114, Resulting Numbers: [7, 114] Generated Node #0,12,0: 100:[7, 114] Operation: 127-13=114 Moving to Node #0,12,0 Current State: 100:[7, 114], Operations: ['30+97=127', '127-13=114'] Exploring Operation: 114-7=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,12,0 Current State: 100:[7, 114], Operations: ['30+97=127', '127-13=114'] Exploring Operation: 7+114=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,12 Current State: 100:[13, 7, 127], Operations: ['30+97=127'] Exploring Operation: 127-7=120, Resulting Numbers: [13, 120] Generated Node #0,12,1: 100:[13, 120] Operation: 127-7=120 Moving to Node #0,12,1 Current State: 100:[13, 120], Operations: ['30+97=127', '127-7=120'] Exploring Operation: 120-13=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,12,1 Current State: 100:[13, 120], Operations: ['30+97=127', '127-7=120'] Exploring Operation: 13+120=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,12 Current State: 100:[13, 7, 127], Operations: ['30+97=127'] Exploring Operation: 13+7=20, Resulting Numbers: [127, 20] Generated Node #0,12,2: 100:[127, 20] Operation: 13+7=20 Moving to Node #0,12,2 Current State: 100:[127, 20], Operations: ['30+97=127', '13+7=20'] Exploring Operation: 127-20=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,12,2 Current State: 100:[127, 20], Operations: ['30+97=127', '13+7=20'] Exploring Operation: 127+20=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,12 Current State: 100:[13, 7, 127], Operations: ['30+97=127'] Exploring Operation: 13-7=6, Resulting Numbers: [127, 6] Generated Node #0,12,3: 100:[127, 6] Operation: 13-7=6 Moving to Node #0,12,3 Current State: 100:[127, 6], Operations: ['30+97=127', '13-7=6'] Exploring Operation: 127-6=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,12,3 Current State: 100:[127, 6], Operations: ['30+97=127', '13-7=6'] Exploring Operation: 127+6=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,12 Current State: 100:[13, 7, 127], Operations: ['30+97=127'] Exploring Operation: 13*7=91, Resulting Numbers: [127, 91] Generated Node #0,12,4: 100:[127, 91] Operation: 13*7=91 Moving to Node #0,12,4 Current State: 100:[127, 91], Operations: ['30+97=127', '13*7=91'] Exploring Operation: 127-91=36, Resulting Numbers: [36] 36,100 unequal: No Solution Moving to Node #0,12 Current State: 100:[13, 7, 127], Operations: ['30+97=127'] Exploring Operation: 7+127=134, Resulting Numbers: [13, 134] Generated Node #0,12,5: 100:[13, 134] Operation: 7+127=134 Moving to Node #0,12,5 Current State: 100:[13, 134], Operations: ['30+97=127', '7+127=134'] Exploring Operation: 134-13=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,12,5 Current State: 100:[13, 134], Operations: ['30+97=127', '7+127=134'] Exploring Operation: 13+134=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,12 Current State: 100:[13, 7, 127], Operations: ['30+97=127'] Exploring Operation: 13+127=140, Resulting Numbers: [7, 140] Generated Node #0,12,6: 100:[7, 140] Operation: 13+127=140 Moving to Node #0,12,6 Current State: 100:[7, 140], Operations: ['30+97=127', '13+127=140'] Exploring Operation: 140/7=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,12,6 Current State: 100:[7, 140], Operations: ['30+97=127', '13+127=140'] Exploring Operation: 140-7=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,12,6 Current State: 100:[7, 140], Operations: ['30+97=127', '13+127=140'] Exploring Operation: 7+140=147, Resulting Numbers: [147] 147,100 unequal: No Solution
0
dfs
Current State: 100:[13, 30, 7, 97], Operations: [] Exploring Operation: 13+97=110, Resulting Numbers: [30, 7, 110] Generated Node #2: [30, 7, 110] from Operation: 13+97=110 Current State: 100:[30, 7, 110], Operations: ['13+97=110'] Exploring Operation: 30*7=210, Resulting Numbers: [110, 210] Generated Node #3: [110, 210] from Operation: 30*7=210 Current State: 100:[110, 210], Operations: ['13+97=110', '30*7=210'] Exploring Operation: 210-110=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
mult_heuristic
[ { "content": "Make 100 with the numbers [13, 30, 7, 97] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 30-13=17, Resulting Numbers: [7, 97, 17]\nGenerated Node #0,0: 100:[7, 97, 17] Operation: 30-13=17\nMoving to Node #0,0\nCurrent State: 100:[7, 97, 17], Operations: ['30-13=17']\nExploring Operation: 17-7=10, Resulting Numbers: [97, 10]\nGenerated Node #0,0,0: 100:[97, 10] Operation: 17-7=10\nMoving to Node #0,0,0\nCurrent State: 100:[97, 10], Operations: ['30-13=17', '17-7=10']\nExploring Operation: 97+10=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 100:[97, 10], Operations: ['30-13=17', '17-7=10']\nExploring Operation: 97-10=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[7, 97, 17], Operations: ['30-13=17']\nExploring Operation: 7+17=24, Resulting Numbers: [97, 24]\nGenerated Node #0,0,1: 100:[97, 24] Operation: 7+17=24\nMoving to Node #0,0,1\nCurrent State: 100:[97, 24], Operations: ['30-13=17', '7+17=24']\nExploring Operation: 97+24=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 100:[97, 24], Operations: ['30-13=17', '7+17=24']\nExploring Operation: 97-24=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[7, 97, 17], Operations: ['30-13=17']\nExploring Operation: 7+97=104, Resulting Numbers: [17, 104]\nGenerated Node #0,0,2: 100:[17, 104] Operation: 7+97=104\nMoving to Node #0,0,2\nCurrent State: 100:[17, 104], Operations: ['30-13=17', '7+97=104']\nExploring Operation: 104-17=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 100:[17, 104], Operations: ['30-13=17', '7+97=104']\nExploring Operation: 17+104=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[7, 97, 17], Operations: ['30-13=17']\nExploring Operation: 97-7=90, Resulting Numbers: [17, 90]\nGenerated Node #0,0,3: 100:[17, 90] Operation: 97-7=90\nMoving to Node #0,0,3\nCurrent State: 100:[17, 90], Operations: ['30-13=17', '97-7=90']\nExploring Operation: 17+90=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 100:[17, 90], Operations: ['30-13=17', '97-7=90']\nExploring Operation: 90-17=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[7, 97, 17], Operations: ['30-13=17']\nExploring Operation: 97+17=114, Resulting Numbers: [7, 114]\nGenerated Node #0,0,4: 100:[7, 114] Operation: 97+17=114\nMoving to Node #0,0,4\nCurrent State: 100:[7, 114], Operations: ['30-13=17', '97+17=114']\nExploring Operation: 114-7=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 100:[7, 114], Operations: ['30-13=17', '97+17=114']\nExploring Operation: 7+114=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[7, 97, 17], Operations: ['30-13=17']\nExploring Operation: 7*17=119, Resulting Numbers: [97, 119]\nGenerated Node #0,0,5: 100:[97, 119] Operation: 7*17=119\nMoving to Node #0,0,5\nCurrent State: 100:[97, 119], Operations: ['30-13=17', '7*17=119']\nExploring Operation: 119-97=22, Resulting Numbers: [22]\n22,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[7, 97, 17], Operations: ['30-13=17']\nExploring Operation: 97-17=80, Resulting Numbers: [7, 80]\nGenerated Node #0,0,6: 100:[7, 80] Operation: 97-17=80\nMoving to Node #0,0,6\nCurrent State: 100:[7, 80], Operations: ['30-13=17', '97-17=80']\nExploring Operation: 7+80=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 100:[7, 80], Operations: ['30-13=17', '97-17=80']\nExploring Operation: 80-7=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 13+7=20, Resulting Numbers: [30, 97, 20]\nGenerated Node #0,1: 100:[30, 97, 20] Operation: 13+7=20\nMoving to Node #0,1\nCurrent State: 100:[30, 97, 20], Operations: ['13+7=20']\nExploring Operation: 30+20=50, Resulting Numbers: [97, 50]\nGenerated Node #0,1,0: 100:[97, 50] Operation: 30+20=50\nMoving to Node #0,1,0\nCurrent State: 100:[97, 50], Operations: ['13+7=20', '30+20=50']\nExploring Operation: 97-50=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 100:[97, 50], Operations: ['13+7=20', '30+20=50']\nExploring Operation: 97+50=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[30, 97, 20], Operations: ['13+7=20']\nExploring Operation: 30-20=10, Resulting Numbers: [97, 10]\nGenerated Node #0,1,1: 100:[97, 10] Operation: 30-20=10\nMoving to Node #0,1,1\nCurrent State: 100:[97, 10], Operations: ['13+7=20', '30-20=10']\nExploring Operation: 97+10=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 100:[97, 10], Operations: ['13+7=20', '30-20=10']\nExploring Operation: 97-10=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[30, 97, 20], Operations: ['13+7=20']\nExploring Operation: 97-30=67, Resulting Numbers: [20, 67]\nGenerated Node #0,1,2: 100:[20, 67] Operation: 97-30=67\nMoving to Node #0,1,2\nCurrent State: 100:[20, 67], Operations: ['13+7=20', '97-30=67']\nExploring Operation: 67-20=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 100:[20, 67], Operations: ['13+7=20', '97-30=67']\nExploring Operation: 20+67=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[30, 97, 20], Operations: ['13+7=20']\nExploring Operation: 97+20=117, Resulting Numbers: [30, 117]\nGenerated Node #0,1,3: 100:[30, 117] Operation: 97+20=117\nMoving to Node #0,1,3\nCurrent State: 100:[30, 117], Operations: ['13+7=20', '97+20=117']\nExploring Operation: 117-30=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 100:[30, 117], Operations: ['13+7=20', '97+20=117']\nExploring Operation: 30+117=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[30, 97, 20], Operations: ['13+7=20']\nExploring Operation: 30+97=127, Resulting Numbers: [20, 127]\nGenerated Node #0,1,4: 100:[20, 127] Operation: 30+97=127\nMoving to Node #0,1,4\nCurrent State: 100:[20, 127], Operations: ['13+7=20', '30+97=127']\nExploring Operation: 127-20=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 100:[20, 127], Operations: ['13+7=20', '30+97=127']\nExploring Operation: 20+127=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[30, 97, 20], Operations: ['13+7=20']\nExploring Operation: 97-20=77, Resulting Numbers: [30, 77]\nGenerated Node #0,1,5: 100:[30, 77] Operation: 97-20=77\nMoving to Node #0,1,5\nCurrent State: 100:[30, 77], Operations: ['13+7=20', '97-20=77']\nExploring Operation: 77-30=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 100:[30, 77], Operations: ['13+7=20', '97-20=77']\nExploring Operation: 30+77=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 30-7=23, Resulting Numbers: [13, 97, 23]\nGenerated Node #0,2: 100:[13, 97, 23] Operation: 30-7=23\nMoving to Node #0,2\nCurrent State: 100:[13, 97, 23], Operations: ['30-7=23']\nExploring Operation: 23-13=10, Resulting Numbers: [97, 10]\nGenerated Node #0,2,0: 100:[97, 10] Operation: 23-13=10\nMoving to Node #0,2,0\nCurrent State: 100:[97, 10], Operations: ['30-7=23', '23-13=10']\nExploring Operation: 97+10=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 100:[97, 10], Operations: ['30-7=23', '23-13=10']\nExploring Operation: 97-10=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[13, 97, 23], Operations: ['30-7=23']\nExploring Operation: 13+97=110, Resulting Numbers: [23, 110]\nGenerated Node #0,2,1: 100:[23, 110] Operation: 13+97=110\nMoving to Node #0,2,1\nCurrent State: 100:[23, 110], Operations: ['30-7=23', '13+97=110']\nExploring Operation: 110-23=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 100:[23, 110], Operations: ['30-7=23', '13+97=110']\nExploring Operation: 23+110=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[13, 97, 23], Operations: ['30-7=23']\nExploring Operation: 13+23=36, Resulting Numbers: [97, 36]\nGenerated Node #0,2,2: 100:[97, 36] Operation: 13+23=36\nMoving to Node #0,2,2\nCurrent State: 100:[97, 36], Operations: ['30-7=23', '13+23=36']\nExploring Operation: 97-36=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 100:[97, 36], Operations: ['30-7=23', '13+23=36']\nExploring Operation: 97+36=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[13, 97, 23], Operations: ['30-7=23']\nExploring Operation: 97-13=84, Resulting Numbers: [23, 84]\nGenerated Node #0,2,3: 100:[23, 84] Operation: 97-13=84\nMoving to Node #0,2,3\nCurrent State: 100:[23, 84], Operations: ['30-7=23', '97-13=84']\nExploring Operation: 23+84=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 100:[23, 84], Operations: ['30-7=23', '97-13=84']\nExploring Operation: 84-23=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[13, 97, 23], Operations: ['30-7=23']\nExploring Operation: 97+23=120, Resulting Numbers: [13, 120]\nGenerated Node #0,2,4: 100:[13, 120] Operation: 97+23=120\nMoving to Node #0,2,4\nCurrent State: 100:[13, 120], Operations: ['30-7=23', '97+23=120']\nExploring Operation: 120-13=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 100:[13, 120], Operations: ['30-7=23', '97+23=120']\nExploring Operation: 13+120=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[13, 97, 23], Operations: ['30-7=23']\nExploring Operation: 97-23=74, Resulting Numbers: [13, 74]\nGenerated Node #0,2,5: 100:[13, 74] Operation: 97-23=74\nMoving to Node #0,2,5\nCurrent State: 100:[13, 74], Operations: ['30-7=23', '97-23=74']\nExploring Operation: 74-13=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 100:[13, 74], Operations: ['30-7=23', '97-23=74']\nExploring Operation: 13+74=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 13-7=6, Resulting Numbers: [30, 97, 6]\nGenerated Node #0,3: 100:[30, 97, 6] Operation: 13-7=6\nMoving to Node #0,3\nCurrent State: 100:[30, 97, 6], Operations: ['13-7=6']\nExploring Operation: 30/6=5, Resulting Numbers: [97, 5]\nGenerated Node #0,3,0: 100:[97, 5] Operation: 30/6=5\nMoving to Node #0,3,0\nCurrent State: 100:[97, 5], Operations: ['13-7=6', '30/6=5']\nExploring Operation: 97+5=102, Resulting Numbers: [102]\n102,100 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 100:[97, 5], Operations: ['13-7=6', '30/6=5']\nExploring Operation: 97-5=92, Resulting Numbers: [92]\n92,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[30, 97, 6], Operations: ['13-7=6']\nExploring Operation: 30-6=24, Resulting Numbers: [97, 24]\nGenerated Node #0,3,1: 100:[97, 24] Operation: 30-6=24\nMoving to Node #0,3,1\nCurrent State: 100:[97, 24], Operations: ['13-7=6', '30-6=24']\nExploring Operation: 97+24=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 100:[97, 24], Operations: ['13-7=6', '30-6=24']\nExploring Operation: 97-24=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[30, 97, 6], Operations: ['13-7=6']\nExploring Operation: 97+6=103, Resulting Numbers: [30, 103]\nGenerated Node #0,3,2: 100:[30, 103] Operation: 97+6=103\nMoving to Node #0,3,2\nCurrent State: 100:[30, 103], Operations: ['13-7=6', '97+6=103']\nExploring Operation: 103-30=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 100:[30, 103], Operations: ['13-7=6', '97+6=103']\nExploring Operation: 30+103=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[30, 97, 6], Operations: ['13-7=6']\nExploring Operation: 30+6=36, Resulting Numbers: [97, 36]\nGenerated Node #0,3,3: 100:[97, 36] Operation: 30+6=36\nMoving to Node #0,3,3\nCurrent State: 100:[97, 36], Operations: ['13-7=6', '30+6=36']\nExploring Operation: 97-36=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 100:[97, 36], Operations: ['13-7=6', '30+6=36']\nExploring Operation: 97+36=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[30, 97, 6], Operations: ['13-7=6']\nExploring Operation: 97-6=91, Resulting Numbers: [30, 91]\nGenerated Node #0,3,4: 100:[30, 91] Operation: 97-6=91\nMoving to Node #0,3,4\nCurrent State: 100:[30, 91], Operations: ['13-7=6', '97-6=91']\nExploring Operation: 91-30=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 100:[30, 91], Operations: ['13-7=6', '97-6=91']\nExploring Operation: 30+91=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[30, 97, 6], Operations: ['13-7=6']\nExploring Operation: 97-30=67, Resulting Numbers: [6, 67]\nGenerated Node #0,3,5: 100:[6, 67] Operation: 97-30=67\nMoving to Node #0,3,5\nCurrent State: 100:[6, 67], Operations: ['13-7=6', '97-30=67']\nExploring Operation: 67-6=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 100:[6, 67], Operations: ['13-7=6', '97-30=67']\nExploring Operation: 6+67=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[30, 97, 6], Operations: ['13-7=6']\nExploring Operation: 30+97=127, Resulting Numbers: [6, 127]\nGenerated Node #0,3,6: 100:[6, 127] Operation: 30+97=127\nMoving to Node #0,3,6\nCurrent State: 100:[6, 127], Operations: ['13-7=6', '30+97=127']\nExploring Operation: 127-6=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 100:[6, 127], Operations: ['13-7=6', '30+97=127']\nExploring Operation: 6+127=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[30, 97, 6], Operations: ['13-7=6']\nExploring Operation: 30*6=180, Resulting Numbers: [97, 180]\nGenerated Node #0,3,7: 100:[97, 180] Operation: 30*6=180\nMoving to Node #0,3,7\nCurrent State: 100:[97, 180], Operations: ['13-7=6', '30*6=180']\nExploring Operation: 180-97=83, Resulting Numbers: [83]\n83,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 13+30=43, Resulting Numbers: [7, 97, 43]\nGenerated Node #0,4: 100:[7, 97, 43] Operation: 13+30=43\nMoving to Node #0,4\nCurrent State: 100:[7, 97, 43], Operations: ['13+30=43']\nExploring Operation: 7+43=50, Resulting Numbers: [97, 50]\nGenerated Node #0,4,0: 100:[97, 50] Operation: 7+43=50\nMoving to Node #0,4,0\nCurrent State: 100:[97, 50], Operations: ['13+30=43', '7+43=50']\nExploring Operation: 97-50=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 100:[97, 50], Operations: ['13+30=43', '7+43=50']\nExploring Operation: 97+50=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[7, 97, 43], Operations: ['13+30=43']\nExploring Operation: 97-43=54, Resulting Numbers: [7, 54]\nGenerated Node #0,4,1: 100:[7, 54] Operation: 97-43=54\nMoving to Node #0,4,1\nCurrent State: 100:[7, 54], Operations: ['13+30=43', '97-43=54']\nExploring Operation: 54-7=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 100:[7, 54], Operations: ['13+30=43', '97-43=54']\nExploring Operation: 7+54=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[7, 97, 43], Operations: ['13+30=43']\nExploring Operation: 7+97=104, Resulting Numbers: [43, 104]\nGenerated Node #0,4,2: 100:[43, 104] Operation: 7+97=104\nMoving to Node #0,4,2\nCurrent State: 100:[43, 104], Operations: ['13+30=43', '7+97=104']\nExploring Operation: 104-43=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 100:[43, 104], Operations: ['13+30=43', '7+97=104']\nExploring Operation: 43+104=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[7, 97, 43], Operations: ['13+30=43']\nExploring Operation: 43-7=36, Resulting Numbers: [97, 36]\nGenerated Node #0,4,3: 100:[97, 36] Operation: 43-7=36\nMoving to Node #0,4,3\nCurrent State: 100:[97, 36], Operations: ['13+30=43', '43-7=36']\nExploring Operation: 97-36=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 100:[97, 36], Operations: ['13+30=43', '43-7=36']\nExploring Operation: 97+36=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[7, 97, 43], Operations: ['13+30=43']\nExploring Operation: 97-7=90, Resulting Numbers: [43, 90]\nGenerated Node #0,4,4: 100:[43, 90] Operation: 97-7=90\nMoving to Node #0,4,4\nCurrent State: 100:[43, 90], Operations: ['13+30=43', '97-7=90']\nExploring Operation: 90-43=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 100:[43, 90], Operations: ['13+30=43', '97-7=90']\nExploring Operation: 43+90=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[7, 97, 43], Operations: ['13+30=43']\nExploring Operation: 97+43=140, Resulting Numbers: [7, 140]\nGenerated Node #0,4,5: 100:[7, 140] Operation: 97+43=140\nMoving to Node #0,4,5\nCurrent State: 100:[7, 140], Operations: ['13+30=43', '97+43=140']\nExploring Operation: 140/7=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 100:[7, 140], Operations: ['13+30=43', '97+43=140']\nExploring Operation: 140-7=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 100:[7, 140], Operations: ['13+30=43', '97+43=140']\nExploring Operation: 7+140=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 7+97=104, Resulting Numbers: [13, 30, 104]\nGenerated Node #0,5: 100:[13, 30, 104] Operation: 7+97=104\nMoving to Node #0,5\nCurrent State: 100:[13, 30, 104], Operations: ['7+97=104']\nExploring Operation: 30-13=17, Resulting Numbers: [104, 17]\nGenerated Node #0,5,0: 100:[104, 17] Operation: 30-13=17\nMoving to Node #0,5,0\nCurrent State: 100:[104, 17], Operations: ['7+97=104', '30-13=17']\nExploring Operation: 104-17=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 100:[104, 17], Operations: ['7+97=104', '30-13=17']\nExploring Operation: 104+17=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[13, 30, 104], Operations: ['7+97=104']\nExploring Operation: 104/13=8, Resulting Numbers: [30, 8]\nGenerated Node #0,5,1: 100:[30, 8] Operation: 104/13=8\nMoving to Node #0,5,1\nCurrent State: 100:[30, 8], Operations: ['7+97=104', '104/13=8']\nExploring Operation: 30-8=22, Resulting Numbers: [22]\n22,100 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 100:[30, 8], Operations: ['7+97=104', '104/13=8']\nExploring Operation: 30+8=38, Resulting Numbers: [38]\n38,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[13, 30, 104], Operations: ['7+97=104']\nExploring Operation: 13+30=43, Resulting Numbers: [104, 43]\nGenerated Node #0,5,2: 100:[104, 43] Operation: 13+30=43\nMoving to Node #0,5,2\nCurrent State: 100:[104, 43], Operations: ['7+97=104', '13+30=43']\nExploring Operation: 104-43=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 100:[104, 43], Operations: ['7+97=104', '13+30=43']\nExploring Operation: 104+43=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[13, 30, 104], Operations: ['7+97=104']\nExploring Operation: 104-13=91, Resulting Numbers: [30, 91]\nGenerated Node #0,5,3: 100:[30, 91] Operation: 104-13=91\nMoving to Node #0,5,3\nCurrent State: 100:[30, 91], Operations: ['7+97=104', '104-13=91']\nExploring Operation: 91-30=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 100:[30, 91], Operations: ['7+97=104', '104-13=91']\nExploring Operation: 30+91=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[13, 30, 104], Operations: ['7+97=104']\nExploring Operation: 13+104=117, Resulting Numbers: [30, 117]\nGenerated Node #0,5,4: 100:[30, 117] Operation: 13+104=117\nMoving to Node #0,5,4\nCurrent State: 100:[30, 117], Operations: ['7+97=104', '13+104=117']\nExploring Operation: 117-30=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 100:[30, 117], Operations: ['7+97=104', '13+104=117']\nExploring Operation: 30+117=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[13, 30, 104], Operations: ['7+97=104']\nExploring Operation: 104-30=74, Resulting Numbers: [13, 74]\nGenerated Node #0,5,5: 100:[13, 74] Operation: 104-30=74\nMoving to Node #0,5,5\nCurrent State: 100:[13, 74], Operations: ['7+97=104', '104-30=74']\nExploring Operation: 74-13=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 100:[13, 74], Operations: ['7+97=104', '104-30=74']\nExploring Operation: 13+74=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[13, 30, 104], Operations: ['7+97=104']\nExploring Operation: 30+104=134, Resulting Numbers: [13, 134]\nGenerated Node #0,5,6: 100:[13, 134] Operation: 30+104=134\nMoving to Node #0,5,6\nCurrent State: 100:[13, 134], Operations: ['7+97=104', '30+104=134']\nExploring Operation: 134-13=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,5,6\nCurrent State: 100:[13, 134], Operations: ['7+97=104', '30+104=134']\nExploring Operation: 13+134=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 13*7=91, Resulting Numbers: [30, 97, 91]\nGenerated Node #0,6: 100:[30, 97, 91] Operation: 13*7=91\nMoving to Node #0,6\nCurrent State: 100:[30, 97, 91], Operations: ['13*7=91']\nExploring Operation: 97-91=6, Resulting Numbers: [30, 6]\nGenerated Node #0,6,0: 100:[30, 6] Operation: 97-91=6\nMoving to Node #0,6,0\nCurrent State: 100:[30, 6], Operations: ['13*7=91', '97-91=6']\nExploring Operation: 30/6=5, Resulting Numbers: [5]\n5,100 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 100:[30, 6], Operations: ['13*7=91', '97-91=6']\nExploring Operation: 30-6=24, Resulting Numbers: [24]\n24,100 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 100:[30, 6], Operations: ['13*7=91', '97-91=6']\nExploring Operation: 30+6=36, Resulting Numbers: [36]\n36,100 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 100:[30, 6], Operations: ['13*7=91', '97-91=6']\nExploring Operation: 30*6=180, Resulting Numbers: [180]\n180,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[30, 97, 91], Operations: ['13*7=91']\nExploring Operation: 91-30=61, Resulting Numbers: [97, 61]\nGenerated Node #0,6,1: 100:[97, 61] Operation: 91-30=61\nMoving to Node #0,6,1\nCurrent State: 100:[97, 61], Operations: ['13*7=91', '91-30=61']\nExploring Operation: 97-61=36, Resulting Numbers: [36]\n36,100 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 100:[97, 61], Operations: ['13*7=91', '91-30=61']\nExploring Operation: 97+61=158, Resulting Numbers: [158]\n158,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[30, 97, 91], Operations: ['13*7=91']\nExploring Operation: 30+91=121, Resulting Numbers: [97, 121]\nGenerated Node #0,6,2: 100:[97, 121] Operation: 30+91=121\nMoving to Node #0,6,2\nCurrent State: 100:[97, 121], Operations: ['13*7=91', '30+91=121']\nExploring Operation: 121-97=24, Resulting Numbers: [24]\n24,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[30, 97, 91], Operations: ['13*7=91']\nExploring Operation: 97-30=67, Resulting Numbers: [91, 67]\nGenerated Node #0,6,3: 100:[91, 67] Operation: 97-30=67\nMoving to Node #0,6,3\nCurrent State: 100:[91, 67], Operations: ['13*7=91', '97-30=67']\nExploring Operation: 91-67=24, Resulting Numbers: [24]\n24,100 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 100:[91, 67], Operations: ['13*7=91', '97-30=67']\nExploring Operation: 91+67=158, Resulting Numbers: [158]\n158,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[30, 97, 91], Operations: ['13*7=91']\nExploring Operation: 30+97=127, Resulting Numbers: [91, 127]\nGenerated Node #0,6,4: 100:[91, 127] Operation: 30+97=127\nMoving to Node #0,6,4\nCurrent State: 100:[91, 127], Operations: ['13*7=91', '30+97=127']\nExploring Operation: 127-91=36, Resulting Numbers: [36]\n36,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[30, 97, 91], Operations: ['13*7=91']\nExploring Operation: 97+91=188, Resulting Numbers: [30, 188]\nGenerated Node #0,6,5: 100:[30, 188] Operation: 97+91=188\nMoving to Node #0,6,5\nCurrent State: 100:[30, 188], Operations: ['13*7=91', '97+91=188']\nExploring Operation: 188-30=158, Resulting Numbers: [158]\n158,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 13+97=110, Resulting Numbers: [30, 7, 110]\nGenerated Node #0,7: 100:[30, 7, 110] Operation: 13+97=110\nMoving to Node #0,7\nCurrent State: 100:[30, 7, 110], Operations: ['13+97=110']\nExploring Operation: 110-7=103, Resulting Numbers: [30, 103]\nGenerated Node #0,7,0: 100:[30, 103] Operation: 110-7=103\nMoving to Node #0,7,0\nCurrent State: 100:[30, 103], Operations: ['13+97=110', '110-7=103']\nExploring Operation: 103-30=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 100:[30, 103], Operations: ['13+97=110', '110-7=103']\nExploring Operation: 30+103=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 100:[30, 7, 110], Operations: ['13+97=110']\nExploring Operation: 30-7=23, Resulting Numbers: [110, 23]\nGenerated Node #0,7,1: 100:[110, 23] Operation: 30-7=23\nMoving to Node #0,7,1\nCurrent State: 100:[110, 23], Operations: ['13+97=110', '30-7=23']\nExploring Operation: 110-23=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 100:[110, 23], Operations: ['13+97=110', '30-7=23']\nExploring Operation: 110+23=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 100:[30, 7, 110], Operations: ['13+97=110']\nExploring Operation: 30+7=37, Resulting Numbers: [110, 37]\nGenerated Node #0,7,2: 100:[110, 37] Operation: 30+7=37\nMoving to Node #0,7,2\nCurrent State: 100:[110, 37], Operations: ['13+97=110', '30+7=37']\nExploring Operation: 110-37=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 100:[110, 37], Operations: ['13+97=110', '30+7=37']\nExploring Operation: 110+37=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 100:[30, 7, 110], Operations: ['13+97=110']\nExploring Operation: 110-30=80, Resulting Numbers: [7, 80]\nGenerated Node #0,7,3: 100:[7, 80] Operation: 110-30=80\nMoving to Node #0,7,3\nCurrent State: 100:[7, 80], Operations: ['13+97=110', '110-30=80']\nExploring Operation: 7+80=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 100:[7, 80], Operations: ['13+97=110', '110-30=80']\nExploring Operation: 80-7=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 100:[30, 7, 110], Operations: ['13+97=110']\nExploring Operation: 7+110=117, Resulting Numbers: [30, 117]\nGenerated Node #0,7,4: 100:[30, 117] Operation: 7+110=117\nMoving to Node #0,7,4\nCurrent State: 100:[30, 117], Operations: ['13+97=110', '7+110=117']\nExploring Operation: 117-30=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 100:[30, 117], Operations: ['13+97=110', '7+110=117']\nExploring Operation: 30+117=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 100:[30, 7, 110], Operations: ['13+97=110']\nExploring Operation: 30+110=140, Resulting Numbers: [7, 140]\nGenerated Node #0,7,5: 100:[7, 140] Operation: 30+110=140\nMoving to Node #0,7,5\nCurrent State: 100:[7, 140], Operations: ['13+97=110', '30+110=140']\nExploring Operation: 140/7=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 100:[7, 140], Operations: ['13+97=110', '30+110=140']\nExploring Operation: 140-7=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 100:[7, 140], Operations: ['13+97=110', '30+110=140']\nExploring Operation: 7+140=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 30+7=37, Resulting Numbers: [13, 97, 37]\nGenerated Node #0,8: 100:[13, 97, 37] Operation: 30+7=37\nMoving to Node #0,8\nCurrent State: 100:[13, 97, 37], Operations: ['30+7=37']\nExploring Operation: 13+37=50, Resulting Numbers: [97, 50]\nGenerated Node #0,8,0: 100:[97, 50] Operation: 13+37=50\nMoving to Node #0,8,0\nCurrent State: 100:[97, 50], Operations: ['30+7=37', '13+37=50']\nExploring Operation: 97-50=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 100:[97, 50], Operations: ['30+7=37', '13+37=50']\nExploring Operation: 97+50=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[13, 97, 37], Operations: ['30+7=37']\nExploring Operation: 37-13=24, Resulting Numbers: [97, 24]\nGenerated Node #0,8,1: 100:[97, 24] Operation: 37-13=24\nMoving to Node #0,8,1\nCurrent State: 100:[97, 24], Operations: ['30+7=37', '37-13=24']\nExploring Operation: 97+24=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 100:[97, 24], Operations: ['30+7=37', '37-13=24']\nExploring Operation: 97-24=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[13, 97, 37], Operations: ['30+7=37']\nExploring Operation: 97-37=60, Resulting Numbers: [13, 60]\nGenerated Node #0,8,2: 100:[13, 60] Operation: 97-37=60\nMoving to Node #0,8,2\nCurrent State: 100:[13, 60], Operations: ['30+7=37', '97-37=60']\nExploring Operation: 60-13=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 100:[13, 60], Operations: ['30+7=37', '97-37=60']\nExploring Operation: 13+60=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[13, 97, 37], Operations: ['30+7=37']\nExploring Operation: 13+97=110, Resulting Numbers: [37, 110]\nGenerated Node #0,8,3: 100:[37, 110] Operation: 13+97=110\nMoving to Node #0,8,3\nCurrent State: 100:[37, 110], Operations: ['30+7=37', '13+97=110']\nExploring Operation: 110-37=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 100:[37, 110], Operations: ['30+7=37', '13+97=110']\nExploring Operation: 37+110=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[13, 97, 37], Operations: ['30+7=37']\nExploring Operation: 97-13=84, Resulting Numbers: [37, 84]\nGenerated Node #0,8,4: 100:[37, 84] Operation: 97-13=84\nMoving to Node #0,8,4\nCurrent State: 100:[37, 84], Operations: ['30+7=37', '97-13=84']\nExploring Operation: 84-37=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 100:[37, 84], Operations: ['30+7=37', '97-13=84']\nExploring Operation: 37+84=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[13, 97, 37], Operations: ['30+7=37']\nExploring Operation: 97+37=134, Resulting Numbers: [13, 134]\nGenerated Node #0,8,5: 100:[13, 134] Operation: 97+37=134\nMoving to Node #0,8,5\nCurrent State: 100:[13, 134], Operations: ['30+7=37', '97+37=134']\nExploring Operation: 134-13=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 100:[13, 134], Operations: ['30+7=37', '97+37=134']\nExploring Operation: 13+134=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 97-7=90, Resulting Numbers: [13, 30, 90]\nGenerated Node #0,9: 100:[13, 30, 90] Operation: 97-7=90\nMoving to Node #0,9\nCurrent State: 100:[13, 30, 90], Operations: ['97-7=90']\nExploring Operation: 90/30=3, Resulting Numbers: [13, 3]\nGenerated Node #0,9,0: 100:[13, 3] Operation: 90/30=3\nMoving to Node #0,9,0\nCurrent State: 100:[13, 3], Operations: ['97-7=90', '90/30=3']\nExploring Operation: 13-3=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 100:[13, 3], Operations: ['97-7=90', '90/30=3']\nExploring Operation: 13+3=16, Resulting Numbers: [16]\n16,100 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 100:[13, 3], Operations: ['97-7=90', '90/30=3']\nExploring Operation: 13*3=39, Resulting Numbers: [39]\n39,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[13, 30, 90], Operations: ['97-7=90']\nExploring Operation: 13+90=103, Resulting Numbers: [30, 103]\nGenerated Node #0,9,1: 100:[30, 103] Operation: 13+90=103\nMoving to Node #0,9,1\nCurrent State: 100:[30, 103], Operations: ['97-7=90', '13+90=103']\nExploring Operation: 103-30=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 100:[30, 103], Operations: ['97-7=90', '13+90=103']\nExploring Operation: 30+103=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[13, 30, 90], Operations: ['97-7=90']\nExploring Operation: 30-13=17, Resulting Numbers: [90, 17]\nGenerated Node #0,9,2: 100:[90, 17] Operation: 30-13=17\nMoving to Node #0,9,2\nCurrent State: 100:[90, 17], Operations: ['97-7=90', '30-13=17']\nExploring Operation: 90+17=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 100:[90, 17], Operations: ['97-7=90', '30-13=17']\nExploring Operation: 90-17=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[13, 30, 90], Operations: ['97-7=90']\nExploring Operation: 90-30=60, Resulting Numbers: [13, 60]\nGenerated Node #0,9,3: 100:[13, 60] Operation: 90-30=60\nMoving to Node #0,9,3\nCurrent State: 100:[13, 60], Operations: ['97-7=90', '90-30=60']\nExploring Operation: 60-13=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 100:[13, 60], Operations: ['97-7=90', '90-30=60']\nExploring Operation: 13+60=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[13, 30, 90], Operations: ['97-7=90']\nExploring Operation: 13+30=43, Resulting Numbers: [90, 43]\nGenerated Node #0,9,4: 100:[90, 43] Operation: 13+30=43\nMoving to Node #0,9,4\nCurrent State: 100:[90, 43], Operations: ['97-7=90', '13+30=43']\nExploring Operation: 90-43=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 100:[90, 43], Operations: ['97-7=90', '13+30=43']\nExploring Operation: 90+43=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[13, 30, 90], Operations: ['97-7=90']\nExploring Operation: 30+90=120, Resulting Numbers: [13, 120]\nGenerated Node #0,9,5: 100:[13, 120] Operation: 30+90=120\nMoving to Node #0,9,5\nCurrent State: 100:[13, 120], Operations: ['97-7=90', '30+90=120']\nExploring Operation: 120-13=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,9,5\nCurrent State: 100:[13, 120], Operations: ['97-7=90', '30+90=120']\nExploring Operation: 13+120=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[13, 30, 90], Operations: ['97-7=90']\nExploring Operation: 90-13=77, Resulting Numbers: [30, 77]\nGenerated Node #0,9,6: 100:[30, 77] Operation: 90-13=77\nMoving to Node #0,9,6\nCurrent State: 100:[30, 77], Operations: ['97-7=90', '90-13=77']\nExploring Operation: 77-30=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,9,6\nCurrent State: 100:[30, 77], Operations: ['97-7=90', '90-13=77']\nExploring Operation: 30+77=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 97-30=67, Resulting Numbers: [13, 7, 67]\nGenerated Node #0,10: 100:[13, 7, 67] Operation: 97-30=67\nMoving to Node #0,10\nCurrent State: 100:[13, 7, 67], Operations: ['97-30=67']\nExploring Operation: 67-13=54, Resulting Numbers: [7, 54]\nGenerated Node #0,10,0: 100:[7, 54] Operation: 67-13=54\nMoving to Node #0,10,0\nCurrent State: 100:[7, 54], Operations: ['97-30=67', '67-13=54']\nExploring Operation: 54-7=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 100:[7, 54], Operations: ['97-30=67', '67-13=54']\nExploring Operation: 7+54=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[13, 7, 67], Operations: ['97-30=67']\nExploring Operation: 67-7=60, Resulting Numbers: [13, 60]\nGenerated Node #0,10,1: 100:[13, 60] Operation: 67-7=60\nMoving to Node #0,10,1\nCurrent State: 100:[13, 60], Operations: ['97-30=67', '67-7=60']\nExploring Operation: 60-13=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 100:[13, 60], Operations: ['97-30=67', '67-7=60']\nExploring Operation: 13+60=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[13, 7, 67], Operations: ['97-30=67']\nExploring Operation: 13+7=20, Resulting Numbers: [67, 20]\nGenerated Node #0,10,2: 100:[67, 20] Operation: 13+7=20\nMoving to Node #0,10,2\nCurrent State: 100:[67, 20], Operations: ['97-30=67', '13+7=20']\nExploring Operation: 67-20=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 100:[67, 20], Operations: ['97-30=67', '13+7=20']\nExploring Operation: 67+20=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[13, 7, 67], Operations: ['97-30=67']\nExploring Operation: 13-7=6, Resulting Numbers: [67, 6]\nGenerated Node #0,10,3: 100:[67, 6] Operation: 13-7=6\nMoving to Node #0,10,3\nCurrent State: 100:[67, 6], Operations: ['97-30=67', '13-7=6']\nExploring Operation: 67-6=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 100:[67, 6], Operations: ['97-30=67', '13-7=6']\nExploring Operation: 67+6=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[13, 7, 67], Operations: ['97-30=67']\nExploring Operation: 13+67=80, Resulting Numbers: [7, 80]\nGenerated Node #0,10,4: 100:[7, 80] Operation: 13+67=80\nMoving to Node #0,10,4\nCurrent State: 100:[7, 80], Operations: ['97-30=67', '13+67=80']\nExploring Operation: 7+80=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 100:[7, 80], Operations: ['97-30=67', '13+67=80']\nExploring Operation: 80-7=73, Resulting Numbers: [73]\n73,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[13, 7, 67], Operations: ['97-30=67']\nExploring Operation: 13*7=91, Resulting Numbers: [67, 91]\nGenerated Node #0,10,5: 100:[67, 91] Operation: 13*7=91\nMoving to Node #0,10,5\nCurrent State: 100:[67, 91], Operations: ['97-30=67', '13*7=91']\nExploring Operation: 91-67=24, Resulting Numbers: [24]\n24,100 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 100:[67, 91], Operations: ['97-30=67', '13*7=91']\nExploring Operation: 67+91=158, Resulting Numbers: [158]\n158,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[13, 7, 67], Operations: ['97-30=67']\nExploring Operation: 7+67=74, Resulting Numbers: [13, 74]\nGenerated Node #0,10,6: 100:[13, 74] Operation: 7+67=74\nMoving to Node #0,10,6\nCurrent State: 100:[13, 74], Operations: ['97-30=67', '7+67=74']\nExploring Operation: 74-13=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,10,6\nCurrent State: 100:[13, 74], Operations: ['97-30=67', '7+67=74']\nExploring Operation: 13+74=87, Resulting Numbers: [87]\n87,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 97-13=84, Resulting Numbers: [30, 7, 84]\nGenerated Node #0,11: 100:[30, 7, 84] Operation: 97-13=84\nMoving to Node #0,11\nCurrent State: 100:[30, 7, 84], Operations: ['97-13=84']\nExploring Operation: 84-30=54, Resulting Numbers: [7, 54]\nGenerated Node #0,11,0: 100:[7, 54] Operation: 84-30=54\nMoving to Node #0,11,0\nCurrent State: 100:[7, 54], Operations: ['97-13=84', '84-30=54']\nExploring Operation: 54-7=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 100:[7, 54], Operations: ['97-13=84', '84-30=54']\nExploring Operation: 7+54=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[30, 7, 84], Operations: ['97-13=84']\nExploring Operation: 84/7=12, Resulting Numbers: [30, 12]\nGenerated Node #0,11,1: 100:[30, 12] Operation: 84/7=12\nMoving to Node #0,11,1\nCurrent State: 100:[30, 12], Operations: ['97-13=84', '84/7=12']\nExploring Operation: 30-12=18, Resulting Numbers: [18]\n18,100 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 100:[30, 12], Operations: ['97-13=84', '84/7=12']\nExploring Operation: 30+12=42, Resulting Numbers: [42]\n42,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[30, 7, 84], Operations: ['97-13=84']\nExploring Operation: 7+84=91, Resulting Numbers: [30, 91]\nGenerated Node #0,11,2: 100:[30, 91] Operation: 7+84=91\nMoving to Node #0,11,2\nCurrent State: 100:[30, 91], Operations: ['97-13=84', '7+84=91']\nExploring Operation: 91-30=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 100:[30, 91], Operations: ['97-13=84', '7+84=91']\nExploring Operation: 30+91=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[30, 7, 84], Operations: ['97-13=84']\nExploring Operation: 30+84=114, Resulting Numbers: [7, 114]\nGenerated Node #0,11,3: 100:[7, 114] Operation: 30+84=114\nMoving to Node #0,11,3\nCurrent State: 100:[7, 114], Operations: ['97-13=84', '30+84=114']\nExploring Operation: 114-7=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,11,3\nCurrent State: 100:[7, 114], Operations: ['97-13=84', '30+84=114']\nExploring Operation: 7+114=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[30, 7, 84], Operations: ['97-13=84']\nExploring Operation: 30-7=23, Resulting Numbers: [84, 23]\nGenerated Node #0,11,4: 100:[84, 23] Operation: 30-7=23\nMoving to Node #0,11,4\nCurrent State: 100:[84, 23], Operations: ['97-13=84', '30-7=23']\nExploring Operation: 84+23=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 100:[84, 23], Operations: ['97-13=84', '30-7=23']\nExploring Operation: 84-23=61, Resulting Numbers: [61]\n61,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[30, 7, 84], Operations: ['97-13=84']\nExploring Operation: 30+7=37, Resulting Numbers: [84, 37]\nGenerated Node #0,11,5: 100:[84, 37] Operation: 30+7=37\nMoving to Node #0,11,5\nCurrent State: 100:[84, 37], Operations: ['97-13=84', '30+7=37']\nExploring Operation: 84-37=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,11,5\nCurrent State: 100:[84, 37], Operations: ['97-13=84', '30+7=37']\nExploring Operation: 84+37=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[30, 7, 84], Operations: ['97-13=84']\nExploring Operation: 84-7=77, Resulting Numbers: [30, 77]\nGenerated Node #0,11,6: 100:[30, 77] Operation: 84-7=77\nMoving to Node #0,11,6\nCurrent State: 100:[30, 77], Operations: ['97-13=84', '84-7=77']\nExploring Operation: 77-30=47, Resulting Numbers: [47]\n47,100 unequal: No Solution\nMoving to Node #0,11,6\nCurrent State: 100:[30, 77], Operations: ['97-13=84', '84-7=77']\nExploring Operation: 30+77=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[13, 30, 7, 97], Operations: []\nExploring Operation: 30+97=127, Resulting Numbers: [13, 7, 127]\nGenerated Node #0,12: 100:[13, 7, 127] Operation: 30+97=127\nMoving to Node #0,12\nCurrent State: 100:[13, 7, 127], Operations: ['30+97=127']\nExploring Operation: 127-13=114, Resulting Numbers: [7, 114]\nGenerated Node #0,12,0: 100:[7, 114] Operation: 127-13=114\nMoving to Node #0,12,0\nCurrent State: 100:[7, 114], Operations: ['30+97=127', '127-13=114']\nExploring Operation: 114-7=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,12,0\nCurrent State: 100:[7, 114], Operations: ['30+97=127', '127-13=114']\nExploring Operation: 7+114=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 100:[13, 7, 127], Operations: ['30+97=127']\nExploring Operation: 127-7=120, Resulting Numbers: [13, 120]\nGenerated Node #0,12,1: 100:[13, 120] Operation: 127-7=120\nMoving to Node #0,12,1\nCurrent State: 100:[13, 120], Operations: ['30+97=127', '127-7=120']\nExploring Operation: 120-13=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,12,1\nCurrent State: 100:[13, 120], Operations: ['30+97=127', '127-7=120']\nExploring Operation: 13+120=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 100:[13, 7, 127], Operations: ['30+97=127']\nExploring Operation: 13+7=20, Resulting Numbers: [127, 20]\nGenerated Node #0,12,2: 100:[127, 20] Operation: 13+7=20\nMoving to Node #0,12,2\nCurrent State: 100:[127, 20], Operations: ['30+97=127', '13+7=20']\nExploring Operation: 127-20=107, Resulting Numbers: [107]\n107,100 unequal: No Solution\nMoving to Node #0,12,2\nCurrent State: 100:[127, 20], Operations: ['30+97=127', '13+7=20']\nExploring Operation: 127+20=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 100:[13, 7, 127], Operations: ['30+97=127']\nExploring Operation: 13-7=6, Resulting Numbers: [127, 6]\nGenerated Node #0,12,3: 100:[127, 6] Operation: 13-7=6\nMoving to Node #0,12,3\nCurrent State: 100:[127, 6], Operations: ['30+97=127', '13-7=6']\nExploring Operation: 127-6=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,12,3\nCurrent State: 100:[127, 6], Operations: ['30+97=127', '13-7=6']\nExploring Operation: 127+6=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 100:[13, 7, 127], Operations: ['30+97=127']\nExploring Operation: 13*7=91, Resulting Numbers: [127, 91]\nGenerated Node #0,12,4: 100:[127, 91] Operation: 13*7=91\nMoving to Node #0,12,4\nCurrent State: 100:[127, 91], Operations: ['30+97=127', '13*7=91']\nExploring Operation: 127-91=36, Resulting Numbers: [36]\n36,100 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 100:[13, 7, 127], Operations: ['30+97=127']\nExploring Operation: 7+127=134, Resulting Numbers: [13, 134]\nGenerated Node #0,12,5: 100:[13, 134] Operation: 7+127=134\nMoving to Node #0,12,5\nCurrent State: 100:[13, 134], Operations: ['30+97=127', '7+127=134']\nExploring Operation: 134-13=121, Resulting Numbers: [121]\n121,100 unequal: No Solution\nMoving to Node #0,12,5\nCurrent State: 100:[13, 134], Operations: ['30+97=127', '7+127=134']\nExploring Operation: 13+134=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 100:[13, 7, 127], Operations: ['30+97=127']\nExploring Operation: 13+127=140, Resulting Numbers: [7, 140]\nGenerated Node #0,12,6: 100:[7, 140] Operation: 13+127=140\nMoving to Node #0,12,6\nCurrent State: 100:[7, 140], Operations: ['30+97=127', '13+127=140']\nExploring Operation: 140/7=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,12,6\nCurrent State: 100:[7, 140], Operations: ['30+97=127', '13+127=140']\nExploring Operation: 140-7=133, Resulting Numbers: [133]\n133,100 unequal: No Solution\nMoving to Node #0,12,6\nCurrent State: 100:[7, 140], Operations: ['30+97=127', '13+127=140']\nExploring Operation: 7+140=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\n", "role": "assistant" } ]
[ 48, 97, 20, 53 ]
72
[ "48+97=145", "20+53=73", "145-73=72" ]
Current State: 72:[48, 97, 20, 53], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [48, 20, 44] Generated Node #0,0: 72:[48, 20, 44] Operation: 97-53=44 Moving to Node #0,0 Current State: 72:[48, 20, 44], Operations: ['97-53=44'] Exploring Operation: 48-44=4, Resulting Numbers: [20, 4] Generated Node #0,0,0: 72:[20, 4] Operation: 48-44=4 Moving to Node #0,0,0 Current State: 72:[20, 4], Operations: ['97-53=44', '48-44=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[20, 4], Operations: ['97-53=44', '48-44=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[20, 4], Operations: ['97-53=44', '48-44=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[20, 4], Operations: ['97-53=44', '48-44=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[48, 20, 44], Operations: ['97-53=44'] Exploring Operation: 48+20=68, Resulting Numbers: [44, 68] Generated Node #0,0,1: 72:[44, 68] Operation: 48+20=68 Moving to Node #0,0,1 Current State: 72:[44, 68], Operations: ['97-53=44', '48+20=68'] Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[44, 68], Operations: ['97-53=44', '48+20=68'] Exploring Operation: 44+68=112, Resulting Numbers: [112] 112,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[48, 20, 44], Operations: ['97-53=44'] Exploring Operation: 48-20=28, Resulting Numbers: [44, 28] Generated Node #0,0,2: 72:[44, 28] Operation: 48-20=28 Moving to Node #0,0,2 Current State: 72:[44, 28], Operations: ['97-53=44', '48-20=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.989583
dfs
Current State: 72:[48, 97, 20, 53], Operations: [] Exploring Operation: 48+97=145, Resulting Numbers: [20, 53, 145] Generated Node #2: [20, 53, 145] from Operation: 48+97=145 Current State: 72:[20, 53, 145], Operations: ['48+97=145'] Exploring Operation: 20+53=73, Resulting Numbers: [145, 73] Generated Node #3: [145, 73] from Operation: 20+53=73 Current State: 72:[145, 73], Operations: ['48+97=145', '20+53=73'] Exploring Operation: 145-73=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
mult_heuristic
[ { "content": "Make 72 with the numbers [48, 97, 20, 53] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 72:[48, 97, 20, 53], Operations: []\nExploring Operation: 97-53=44, Resulting Numbers: [48, 20, 44]\nGenerated Node #0,0: 72:[48, 20, 44] Operation: 97-53=44\nMoving to Node #0,0\nCurrent State: 72:[48, 20, 44], Operations: ['97-53=44']\nExploring Operation: 48-44=4, Resulting Numbers: [20, 4]\nGenerated Node #0,0,0: 72:[20, 4] Operation: 48-44=4\nMoving to Node #0,0,0\nCurrent State: 72:[20, 4], Operations: ['97-53=44', '48-44=4']\nExploring Operation: 20+4=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 72:[20, 4], Operations: ['97-53=44', '48-44=4']\nExploring Operation: 20/4=5, Resulting Numbers: [5]\n5,72 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 72:[20, 4], Operations: ['97-53=44', '48-44=4']\nExploring Operation: 20-4=16, Resulting Numbers: [16]\n16,72 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 72:[20, 4], Operations: ['97-53=44', '48-44=4']\nExploring Operation: 20*4=80, Resulting Numbers: [80]\n80,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[48, 20, 44], Operations: ['97-53=44']\nExploring Operation: 48+20=68, Resulting Numbers: [44, 68]\nGenerated Node #0,0,1: 72:[44, 68] Operation: 48+20=68\nMoving to Node #0,0,1\nCurrent State: 72:[44, 68], Operations: ['97-53=44', '48+20=68']\nExploring Operation: 68-44=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 72:[44, 68], Operations: ['97-53=44', '48+20=68']\nExploring Operation: 44+68=112, Resulting Numbers: [112]\n112,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[48, 20, 44], Operations: ['97-53=44']\nExploring Operation: 48-20=28, Resulting Numbers: [44, 28]\nGenerated Node #0,0,2: 72:[44, 28] Operation: 48-20=28\nMoving to Node #0,0,2\nCurrent State: 72:[44, 28], Operations: ['97-53=44', '48-20=28']\nExploring Operation: 44+28=72, Resulting Numbers: [72]\n72,72 equal: Goal Reached\n", "role": "assistant" } ]
[ 56, 9, 42, 44 ]
19
[ "44-42=2", "56/2=28", "28-9=19" ]
Current State: 19:[56, 9, 42, 44], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [9, 44, 14] Generated Node #0,0: 19:[9, 44, 14] Operation: 56-42=14 Moving to Node #0,0 Current State: 19:[9, 44, 14], Operations: ['56-42=14'] Exploring Operation: 44-9=35, Resulting Numbers: [14, 35] Generated Node #0,0,0: 19:[14, 35] Operation: 44-9=35 Moving to Node #0,0,0 Current State: 19:[14, 35], Operations: ['56-42=14', '44-9=35'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,19 unequal: No Solution Moving to Node #0,0 Current State: 19:[9, 44, 14], Operations: ['56-42=14'] Exploring Operation: 44-14=30, Resulting Numbers: [9, 30] Generated Node #0,0,1: 19:[9, 30] Operation: 44-14=30 Moving to Node #0,0,1 Current State: 19:[9, 30], Operations: ['56-42=14', '44-14=30'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,19 unequal: No Solution Moving to Node #0,0 Current State: 19:[9, 44, 14], Operations: ['56-42=14'] Exploring Operation: 9+14=23, Resulting Numbers: [44, 23] Generated Node #0,0,2: 19:[44, 23] Operation: 9+14=23 Moving to Node #0,0,2 Current State: 19:[44, 23], Operations: ['56-42=14', '9+14=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,19 unequal: No Solution Moving to Node #0 Current State: 19:[56, 9, 42, 44], Operations: [] Exploring Operation: 56-44=12, Resulting Numbers: [9, 42, 12] Generated Node #0,1: 19:[9, 42, 12] Operation: 56-44=12 Moving to Node #0,1 Current State: 19:[9, 42, 12], Operations: ['56-44=12'] Exploring Operation: 42-9=33, Resulting Numbers: [12, 33] Generated Node #0,1,0: 19:[12, 33] Operation: 42-9=33 Moving to Node #0,1,0 Current State: 19:[12, 33], Operations: ['56-44=12', '42-9=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,19 unequal: No Solution Moving to Node #0,1 Current State: 19:[9, 42, 12], Operations: ['56-44=12'] Exploring Operation: 42-12=30, Resulting Numbers: [9, 30] Generated Node #0,1,1: 19:[9, 30] Operation: 42-12=30 Moving to Node #0,1,1 Current State: 19:[9, 30], Operations: ['56-44=12', '42-12=30'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,19 unequal: No Solution Moving to Node #0,1 Current State: 19:[9, 42, 12], Operations: ['56-44=12'] Exploring Operation: 9+12=21, Resulting Numbers: [42, 21] Generated Node #0,1,2: 19:[42, 21] Operation: 9+12=21 Moving to Node #0,1,2 Current State: 19:[42, 21], Operations: ['56-44=12', '9+12=21'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[42, 21], Operations: ['56-44=12', '9+12=21'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,19 unequal: No Solution
0
dfs
Current State: 19:[56, 9, 42, 44], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [56, 9, 2] Generated Node #2: [56, 9, 2] from Operation: 44-42=2 Current State: 19:[56, 9, 2], Operations: ['44-42=2'] Exploring Operation: 56/2=28, Resulting Numbers: [9, 28] Generated Node #3: [9, 28] from Operation: 56/2=28 Current State: 19:[9, 28], Operations: ['44-42=2', '56/2=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
sum_heuristic
[ { "content": "Make 19 with the numbers [56, 9, 42, 44] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 19:[56, 9, 42, 44], Operations: []\nExploring Operation: 56-42=14, Resulting Numbers: [9, 44, 14]\nGenerated Node #0,0: 19:[9, 44, 14] Operation: 56-42=14\nMoving to Node #0,0\nCurrent State: 19:[9, 44, 14], Operations: ['56-42=14']\nExploring Operation: 44-9=35, Resulting Numbers: [14, 35]\nGenerated Node #0,0,0: 19:[14, 35] Operation: 44-9=35\nMoving to Node #0,0,0\nCurrent State: 19:[14, 35], Operations: ['56-42=14', '44-9=35']\nExploring Operation: 35-14=21, Resulting Numbers: [21]\n21,19 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 19:[9, 44, 14], Operations: ['56-42=14']\nExploring Operation: 44-14=30, Resulting Numbers: [9, 30]\nGenerated Node #0,0,1: 19:[9, 30] Operation: 44-14=30\nMoving to Node #0,0,1\nCurrent State: 19:[9, 30], Operations: ['56-42=14', '44-14=30']\nExploring Operation: 30-9=21, Resulting Numbers: [21]\n21,19 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 19:[9, 44, 14], Operations: ['56-42=14']\nExploring Operation: 9+14=23, Resulting Numbers: [44, 23]\nGenerated Node #0,0,2: 19:[44, 23] Operation: 9+14=23\nMoving to Node #0,0,2\nCurrent State: 19:[44, 23], Operations: ['56-42=14', '9+14=23']\nExploring Operation: 44-23=21, Resulting Numbers: [21]\n21,19 unequal: No Solution\nMoving to Node #0\nCurrent State: 19:[56, 9, 42, 44], Operations: []\nExploring Operation: 56-44=12, Resulting Numbers: [9, 42, 12]\nGenerated Node #0,1: 19:[9, 42, 12] Operation: 56-44=12\nMoving to Node #0,1\nCurrent State: 19:[9, 42, 12], Operations: ['56-44=12']\nExploring Operation: 42-9=33, Resulting Numbers: [12, 33]\nGenerated Node #0,1,0: 19:[12, 33] Operation: 42-9=33\nMoving to Node #0,1,0\nCurrent State: 19:[12, 33], Operations: ['56-44=12', '42-9=33']\nExploring Operation: 33-12=21, Resulting Numbers: [21]\n21,19 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 19:[9, 42, 12], Operations: ['56-44=12']\nExploring Operation: 42-12=30, Resulting Numbers: [9, 30]\nGenerated Node #0,1,1: 19:[9, 30] Operation: 42-12=30\nMoving to Node #0,1,1\nCurrent State: 19:[9, 30], Operations: ['56-44=12', '42-12=30']\nExploring Operation: 30-9=21, Resulting Numbers: [21]\n21,19 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 19:[9, 42, 12], Operations: ['56-44=12']\nExploring Operation: 9+12=21, Resulting Numbers: [42, 21]\nGenerated Node #0,1,2: 19:[42, 21] Operation: 9+12=21\nMoving to Node #0,1,2\nCurrent State: 19:[42, 21], Operations: ['56-44=12', '9+12=21']\nExploring Operation: 42-21=21, Resulting Numbers: [21]\n21,19 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 19:[42, 21], Operations: ['56-44=12', '9+12=21']\nExploring Operation: 42/21=2, Resulting Numbers: [2]\n2,19 unequal: No Solution\n", "role": "assistant" } ]
[ 14, 60, 42, 2 ]
33
[ "42/14=3", "60/2=30", "3+30=33" ]
Current State: 33:[14, 60, 42, 2], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [14, 42, 30] Generated Node #0,0: 33:[14, 42, 30] Operation: 60/2=30 Moving to Node #0,0 Current State: 33:[14, 42, 30], Operations: ['60/2=30'] Exploring Operation: 42-14=28, Resulting Numbers: [30, 28] Generated Node #0,0,0: 33:[30, 28] Operation: 42-14=28 Moving to Node #0,0,0 Current State: 33:[30, 28], Operations: ['60/2=30', '42-14=28'] Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[30, 28], Operations: ['60/2=30', '42-14=28'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,0 Current State: 33:[14, 42, 30], Operations: ['60/2=30'] Exploring Operation: 14+30=44, Resulting Numbers: [42, 44] Generated Node #0,0,1: 33:[42, 44] Operation: 14+30=44 Moving to Node #0,0,1 Current State: 33:[42, 44], Operations: ['60/2=30', '14+30=44'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,0 Current State: 33:[14, 42, 30], Operations: ['60/2=30'] Exploring Operation: 14+42=56, Resulting Numbers: [30, 56] Generated Node #0,0,2: 33:[30, 56] Operation: 14+42=56 Moving to Node #0,0,2 Current State: 33:[30, 56], Operations: ['60/2=30', '14+42=56'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,0 Current State: 33:[14, 42, 30], Operations: ['60/2=30'] Exploring Operation: 30-14=16, Resulting Numbers: [42, 16] Generated Node #0,0,3: 33:[42, 16] Operation: 30-14=16 Moving to Node #0,0,3 Current State: 33:[42, 16], Operations: ['60/2=30', '30-14=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[42, 16], Operations: ['60/2=30', '30-14=16'] Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,33 unequal: No Solution Moving to Node #0,0 Current State: 33:[14, 42, 30], Operations: ['60/2=30'] Exploring Operation: 42/14=3, Resulting Numbers: [30, 3] Generated Node #0,0,4: 33:[30, 3] Operation: 42/14=3 Moving to Node #0,0,4 Current State: 33:[30, 3], Operations: ['60/2=30', '42/14=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.987847
dfs
Current State: 33:[14, 60, 42, 2], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [60, 2, 3] Generated Node #2: [60, 2, 3] from Operation: 42/14=3 Current State: 33:[60, 2, 3], Operations: ['42/14=3'] Exploring Operation: 60/2=30, Resulting Numbers: [3, 30] Generated Node #3: [3, 30] from Operation: 60/2=30 Current State: 33:[3, 30], Operations: ['42/14=3', '60/2=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
sum_heuristic
[ { "content": "Make 33 with the numbers [14, 60, 42, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 33:[14, 60, 42, 2], Operations: []\nExploring Operation: 60/2=30, Resulting Numbers: [14, 42, 30]\nGenerated Node #0,0: 33:[14, 42, 30] Operation: 60/2=30\nMoving to Node #0,0\nCurrent State: 33:[14, 42, 30], Operations: ['60/2=30']\nExploring Operation: 42-14=28, Resulting Numbers: [30, 28]\nGenerated Node #0,0,0: 33:[30, 28] Operation: 42-14=28\nMoving to Node #0,0,0\nCurrent State: 33:[30, 28], Operations: ['60/2=30', '42-14=28']\nExploring Operation: 30+28=58, Resulting Numbers: [58]\n58,33 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 33:[30, 28], Operations: ['60/2=30', '42-14=28']\nExploring Operation: 30-28=2, Resulting Numbers: [2]\n2,33 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 33:[14, 42, 30], Operations: ['60/2=30']\nExploring Operation: 14+30=44, Resulting Numbers: [42, 44]\nGenerated Node #0,0,1: 33:[42, 44] Operation: 14+30=44\nMoving to Node #0,0,1\nCurrent State: 33:[42, 44], Operations: ['60/2=30', '14+30=44']\nExploring Operation: 44-42=2, Resulting Numbers: [2]\n2,33 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 33:[14, 42, 30], Operations: ['60/2=30']\nExploring Operation: 14+42=56, Resulting Numbers: [30, 56]\nGenerated Node #0,0,2: 33:[30, 56] Operation: 14+42=56\nMoving to Node #0,0,2\nCurrent State: 33:[30, 56], Operations: ['60/2=30', '14+42=56']\nExploring Operation: 56-30=26, Resulting Numbers: [26]\n26,33 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 33:[14, 42, 30], Operations: ['60/2=30']\nExploring Operation: 30-14=16, Resulting Numbers: [42, 16]\nGenerated Node #0,0,3: 33:[42, 16] Operation: 30-14=16\nMoving to Node #0,0,3\nCurrent State: 33:[42, 16], Operations: ['60/2=30', '30-14=16']\nExploring Operation: 42-16=26, Resulting Numbers: [26]\n26,33 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 33:[42, 16], Operations: ['60/2=30', '30-14=16']\nExploring Operation: 42+16=58, Resulting Numbers: [58]\n58,33 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 33:[14, 42, 30], Operations: ['60/2=30']\nExploring Operation: 42/14=3, Resulting Numbers: [30, 3]\nGenerated Node #0,0,4: 33:[30, 3] Operation: 42/14=3\nMoving to Node #0,0,4\nCurrent State: 33:[30, 3], Operations: ['60/2=30', '42/14=3']\nExploring Operation: 30+3=33, Resulting Numbers: [33]\n33,33 equal: Goal Reached\n", "role": "assistant" } ]
[ 56, 2, 10, 76 ]
40
[ "76-56=20", "2*10=20", "20+20=40" ]
Current State: 40:[56, 2, 10, 76], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [56, 10, 38] Generated Node #0,0: 40:[56, 10, 38] Operation: 76/2=38 Moving to Node #0,0 Current State: 40:[56, 10, 38], Operations: ['76/2=38'] Exploring Operation: 56-10=46, Resulting Numbers: [38, 46] Generated Node #0,0,0: 40:[38, 46] Operation: 56-10=46 Moving to Node #0,0,0 Current State: 40:[38, 46], Operations: ['76/2=38', '56-10=46'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,0 Current State: 40:[56, 10, 38], Operations: ['76/2=38'] Exploring Operation: 10+38=48, Resulting Numbers: [56, 48] Generated Node #0,0,1: 40:[56, 48] Operation: 10+38=48 Moving to Node #0,0,1 Current State: 40:[56, 48], Operations: ['76/2=38', '10+38=48'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,0 Current State: 40:[56, 10, 38], Operations: ['76/2=38'] Exploring Operation: 56+10=66, Resulting Numbers: [38, 66] Generated Node #0,0,2: 40:[38, 66] Operation: 56+10=66 Moving to Node #0,0,2 Current State: 40:[38, 66], Operations: ['76/2=38', '56+10=66'] Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,40 unequal: No Solution Moving to Node #0,0 Current State: 40:[56, 10, 38], Operations: ['76/2=38'] Exploring Operation: 38-10=28, Resulting Numbers: [56, 28] Generated Node #0,0,3: 40:[56, 28] Operation: 38-10=28 Moving to Node #0,0,3 Current State: 40:[56, 28], Operations: ['76/2=38', '38-10=28'] Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[56, 28], Operations: ['76/2=38', '38-10=28'] Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,40 unequal: No Solution Moving to Node #0,0 Current State: 40:[56, 10, 38], Operations: ['76/2=38'] Exploring Operation: 56-38=18, Resulting Numbers: [10, 18] Generated Node #0,0,4: 40:[10, 18] Operation: 56-38=18 Moving to Node #0,0,4 Current State: 40:[10, 18], Operations: ['76/2=38', '56-38=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[10, 18], Operations: ['76/2=38', '56-38=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0 Current State: 40:[56, 2, 10, 76], Operations: [] Exploring Operation: 2*10=20, Resulting Numbers: [56, 76, 20] Generated Node #0,1: 40:[56, 76, 20] Operation: 2*10=20 Moving to Node #0,1 Current State: 40:[56, 76, 20], Operations: ['2*10=20'] Exploring Operation: 76-20=56, Resulting Numbers: [56, 56] Generated Node #0,1,0: 40:[56, 56] Operation: 76-20=56 Moving to Node #0,1,0 Current State: 40:[56, 56], Operations: ['2*10=20', '76-20=56'] Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[56, 56], Operations: ['2*10=20', '76-20=56'] Exploring Operation: 56-56=0, Resulting Numbers: [0] 0,40 unequal: No Solution Moving to Node #0,1 Current State: 40:[56, 76, 20], Operations: ['2*10=20'] Exploring Operation: 76-56=20, Resulting Numbers: [20, 20] Generated Node #0,1,1: 40:[20, 20] Operation: 76-56=20 Moving to Node #0,1,1 Current State: 40:[20, 20], Operations: ['2*10=20', '76-56=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.982639
dfs
Current State: 40:[56, 2, 10, 76], Operations: [] Exploring Operation: 76-56=20, Resulting Numbers: [2, 10, 20] Generated Node #2: [2, 10, 20] from Operation: 76-56=20 Current State: 40:[2, 10, 20], Operations: ['76-56=20'] Exploring Operation: 2*10=20, Resulting Numbers: [20, 20] Generated Node #3: [20, 20] from Operation: 2*10=20 Current State: 40:[20, 20], Operations: ['76-56=20', '2*10=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
sum_heuristic
[ { "content": "Make 40 with the numbers [56, 2, 10, 76] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 40:[56, 2, 10, 76], Operations: []\nExploring Operation: 76/2=38, Resulting Numbers: [56, 10, 38]\nGenerated Node #0,0: 40:[56, 10, 38] Operation: 76/2=38\nMoving to Node #0,0\nCurrent State: 40:[56, 10, 38], Operations: ['76/2=38']\nExploring Operation: 56-10=46, Resulting Numbers: [38, 46]\nGenerated Node #0,0,0: 40:[38, 46] Operation: 56-10=46\nMoving to Node #0,0,0\nCurrent State: 40:[38, 46], Operations: ['76/2=38', '56-10=46']\nExploring Operation: 46-38=8, Resulting Numbers: [8]\n8,40 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 40:[56, 10, 38], Operations: ['76/2=38']\nExploring Operation: 10+38=48, Resulting Numbers: [56, 48]\nGenerated Node #0,0,1: 40:[56, 48] Operation: 10+38=48\nMoving to Node #0,0,1\nCurrent State: 40:[56, 48], Operations: ['76/2=38', '10+38=48']\nExploring Operation: 56-48=8, Resulting Numbers: [8]\n8,40 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 40:[56, 10, 38], Operations: ['76/2=38']\nExploring Operation: 56+10=66, Resulting Numbers: [38, 66]\nGenerated Node #0,0,2: 40:[38, 66] Operation: 56+10=66\nMoving to Node #0,0,2\nCurrent State: 40:[38, 66], Operations: ['76/2=38', '56+10=66']\nExploring Operation: 66-38=28, Resulting Numbers: [28]\n28,40 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 40:[56, 10, 38], Operations: ['76/2=38']\nExploring Operation: 38-10=28, Resulting Numbers: [56, 28]\nGenerated Node #0,0,3: 40:[56, 28] Operation: 38-10=28\nMoving to Node #0,0,3\nCurrent State: 40:[56, 28], Operations: ['76/2=38', '38-10=28']\nExploring Operation: 56-28=28, Resulting Numbers: [28]\n28,40 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 40:[56, 28], Operations: ['76/2=38', '38-10=28']\nExploring Operation: 56/28=2, Resulting Numbers: [2]\n2,40 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 40:[56, 10, 38], Operations: ['76/2=38']\nExploring Operation: 56-38=18, Resulting Numbers: [10, 18]\nGenerated Node #0,0,4: 40:[10, 18] Operation: 56-38=18\nMoving to Node #0,0,4\nCurrent State: 40:[10, 18], Operations: ['76/2=38', '56-38=18']\nExploring Operation: 10+18=28, Resulting Numbers: [28]\n28,40 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 40:[10, 18], Operations: ['76/2=38', '56-38=18']\nExploring Operation: 18-10=8, Resulting Numbers: [8]\n8,40 unequal: No Solution\nMoving to Node #0\nCurrent State: 40:[56, 2, 10, 76], Operations: []\nExploring Operation: 2*10=20, Resulting Numbers: [56, 76, 20]\nGenerated Node #0,1: 40:[56, 76, 20] Operation: 2*10=20\nMoving to Node #0,1\nCurrent State: 40:[56, 76, 20], Operations: ['2*10=20']\nExploring Operation: 76-20=56, Resulting Numbers: [56, 56]\nGenerated Node #0,1,0: 40:[56, 56] Operation: 76-20=56\nMoving to Node #0,1,0\nCurrent State: 40:[56, 56], Operations: ['2*10=20', '76-20=56']\nExploring Operation: 56/56=1, Resulting Numbers: [1]\n1,40 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 40:[56, 56], Operations: ['2*10=20', '76-20=56']\nExploring Operation: 56-56=0, Resulting Numbers: [0]\n0,40 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 40:[56, 76, 20], Operations: ['2*10=20']\nExploring Operation: 76-56=20, Resulting Numbers: [20, 20]\nGenerated Node #0,1,1: 40:[20, 20] Operation: 76-56=20\nMoving to Node #0,1,1\nCurrent State: 40:[20, 20], Operations: ['2*10=20', '76-56=20']\nExploring Operation: 20+20=40, Resulting Numbers: [40]\n40,40 equal: Goal Reached\n", "role": "assistant" } ]
[ 48, 9, 15, 84 ]
77
[ "48+15=63", "63/9=7", "84-7=77" ]
Current State: 77:[48, 9, 15, 84], Operations: [] Exploring Operation: 48+9=57, Resulting Numbers: [15, 84, 57] Generated Node #0,0: 77:[15, 84, 57] Operation: 48+9=57 Moving to Node #0,0 Current State: 77:[15, 84, 57], Operations: ['48+9=57'] Exploring Operation: 15+57=72, Resulting Numbers: [84, 72] Generated Node #0,0,0: 77:[84, 72] Operation: 15+57=72 Moving to Node #0,0,0 Current State: 77:[84, 72], Operations: ['48+9=57', '15+57=72'] Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,0,0,0 Current State: 77:[12], Operations: ['48+9=57', '15+57=72', '84-72=12'] No solution found.
0
bfs_1
Current State: 77:[48, 9, 15, 84], Operations: [] Exploring Operation: 48+15=63, Resulting Numbers: [9, 84, 63] Generated Node #2: [9, 84, 63] from Operation: 48+15=63 Current State: 77:[9, 84, 63], Operations: ['48+15=63'] Exploring Operation: 63/9=7, Resulting Numbers: [84, 7] Generated Node #3: [84, 7] from Operation: 63/9=7 Current State: 77:[84, 7], Operations: ['48+15=63', '63/9=7'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
sum_heuristic
[ { "content": "Make 77 with the numbers [48, 9, 15, 84] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 77:[48, 9, 15, 84], Operations: []\nExploring Operation: 48+9=57, Resulting Numbers: [15, 84, 57]\nGenerated Node #0,0: 77:[15, 84, 57] Operation: 48+9=57\nMoving to Node #0,0\nCurrent State: 77:[15, 84, 57], Operations: ['48+9=57']\nExploring Operation: 15+57=72, Resulting Numbers: [84, 72]\nGenerated Node #0,0,0: 77:[84, 72] Operation: 15+57=72\nMoving to Node #0,0,0\nCurrent State: 77:[84, 72], Operations: ['48+9=57', '15+57=72']\nExploring Operation: 84-72=12, Resulting Numbers: [12]\n12,77 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 77:[12], Operations: ['48+9=57', '15+57=72', '84-72=12']\nNo solution found.", "role": "assistant" } ]
[ 55, 19, 77, 66 ]
69
[ "55+19=74", "77+66=143", "143-74=69" ]
Current State: 69:[55, 19, 77, 66], Operations: [] Exploring Operation: 77-55=22, Resulting Numbers: [19, 66, 22] Generated Node #0,0: 69:[19, 66, 22] Operation: 77-55=22 Moving to Node #0,0 Current State: 69:[19, 66, 22], Operations: ['77-55=22'] Exploring Operation: 22-19=3, Resulting Numbers: [66, 3] Generated Node #0,0,0: 69:[66, 3] Operation: 22-19=3 Moving to Node #0,0,0 Current State: 69:[66, 3], Operations: ['77-55=22', '22-19=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.996528
dfs
Current State: 69:[55, 19, 77, 66], Operations: [] Exploring Operation: 55+19=74, Resulting Numbers: [77, 66, 74] Generated Node #2: [77, 66, 74] from Operation: 55+19=74 Current State: 69:[77, 66, 74], Operations: ['55+19=74'] Exploring Operation: 77+66=143, Resulting Numbers: [74, 143] Generated Node #3: [74, 143] from Operation: 77+66=143 Current State: 69:[74, 143], Operations: ['55+19=74', '77+66=143'] Exploring Operation: 143-74=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
mult_heuristic
[ { "content": "Make 69 with the numbers [55, 19, 77, 66] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 69:[55, 19, 77, 66], Operations: []\nExploring Operation: 77-55=22, Resulting Numbers: [19, 66, 22]\nGenerated Node #0,0: 69:[19, 66, 22] Operation: 77-55=22\nMoving to Node #0,0\nCurrent State: 69:[19, 66, 22], Operations: ['77-55=22']\nExploring Operation: 22-19=3, Resulting Numbers: [66, 3]\nGenerated Node #0,0,0: 69:[66, 3] Operation: 22-19=3\nMoving to Node #0,0,0\nCurrent State: 69:[66, 3], Operations: ['77-55=22', '22-19=3']\nExploring Operation: 66+3=69, Resulting Numbers: [69]\n69,69 equal: Goal Reached\n", "role": "assistant" } ]
[ 11, 4, 64, 26 ]
53
[ "11+4=15", "64-26=38", "15+38=53" ]
Current State: 53:[11, 4, 64, 26], Operations: [] Exploring Operation: 11*4=44, Resulting Numbers: [64, 26, 44] Generated Node #0,0: 53:[64, 26, 44] Operation: 11*4=44 Moving to Node #0,0 Current State: 53:[64, 26, 44], Operations: ['11*4=44'] Exploring Operation: 64-26=38, Resulting Numbers: [44, 38] Generated Node #0,0,0: 53:[44, 38] Operation: 64-26=38 Moving to Node #0,0,0 Current State: 53:[44, 38], Operations: ['11*4=44', '64-26=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[44, 38], Operations: ['11*4=44', '64-26=38'] Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[64, 26, 44], Operations: ['11*4=44'] Exploring Operation: 26+44=70, Resulting Numbers: [64, 70] Generated Node #0,0,1: 53:[64, 70] Operation: 26+44=70 Moving to Node #0,0,1 Current State: 53:[64, 70], Operations: ['11*4=44', '26+44=70'] Exploring Operation: 70-64=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[64, 26, 44], Operations: ['11*4=44'] Exploring Operation: 64+26=90, Resulting Numbers: [44, 90] Generated Node #0,0,2: 53:[44, 90] Operation: 64+26=90 Moving to Node #0,0,2 Current State: 53:[44, 90], Operations: ['11*4=44', '64+26=90'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[64, 26, 44], Operations: ['11*4=44'] Exploring Operation: 44-26=18, Resulting Numbers: [64, 18] Generated Node #0,0,3: 53:[64, 18] Operation: 44-26=18 Moving to Node #0,0,3 Current State: 53:[64, 18], Operations: ['11*4=44', '44-26=18'] Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[64, 18], Operations: ['11*4=44', '44-26=18'] Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,53 unequal: No Solution
0
dfs
Current State: 53:[11, 4, 64, 26], Operations: [] Exploring Operation: 11+4=15, Resulting Numbers: [64, 26, 15] Generated Node #2: [64, 26, 15] from Operation: 11+4=15 Current State: 53:[64, 26, 15], Operations: ['11+4=15'] Exploring Operation: 64-26=38, Resulting Numbers: [15, 38] Generated Node #3: [15, 38] from Operation: 64-26=38 Current State: 53:[15, 38], Operations: ['11+4=15', '64-26=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
mult_heuristic
[ { "content": "Make 53 with the numbers [11, 4, 64, 26] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 53:[11, 4, 64, 26], Operations: []\nExploring Operation: 11*4=44, Resulting Numbers: [64, 26, 44]\nGenerated Node #0,0: 53:[64, 26, 44] Operation: 11*4=44\nMoving to Node #0,0\nCurrent State: 53:[64, 26, 44], Operations: ['11*4=44']\nExploring Operation: 64-26=38, Resulting Numbers: [44, 38]\nGenerated Node #0,0,0: 53:[44, 38] Operation: 64-26=38\nMoving to Node #0,0,0\nCurrent State: 53:[44, 38], Operations: ['11*4=44', '64-26=38']\nExploring Operation: 44+38=82, Resulting Numbers: [82]\n82,53 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 53:[44, 38], Operations: ['11*4=44', '64-26=38']\nExploring Operation: 44-38=6, Resulting Numbers: [6]\n6,53 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 53:[64, 26, 44], Operations: ['11*4=44']\nExploring Operation: 26+44=70, Resulting Numbers: [64, 70]\nGenerated Node #0,0,1: 53:[64, 70] Operation: 26+44=70\nMoving to Node #0,0,1\nCurrent State: 53:[64, 70], Operations: ['11*4=44', '26+44=70']\nExploring Operation: 70-64=6, Resulting Numbers: [6]\n6,53 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 53:[64, 26, 44], Operations: ['11*4=44']\nExploring Operation: 64+26=90, Resulting Numbers: [44, 90]\nGenerated Node #0,0,2: 53:[44, 90] Operation: 64+26=90\nMoving to Node #0,0,2\nCurrent State: 53:[44, 90], Operations: ['11*4=44', '64+26=90']\nExploring Operation: 90-44=46, Resulting Numbers: [46]\n46,53 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 53:[64, 26, 44], Operations: ['11*4=44']\nExploring Operation: 44-26=18, Resulting Numbers: [64, 18]\nGenerated Node #0,0,3: 53:[64, 18] Operation: 44-26=18\nMoving to Node #0,0,3\nCurrent State: 53:[64, 18], Operations: ['11*4=44', '44-26=18']\nExploring Operation: 64-18=46, Resulting Numbers: [46]\n46,53 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 53:[64, 18], Operations: ['11*4=44', '44-26=18']\nExploring Operation: 64+18=82, Resulting Numbers: [82]\n82,53 unequal: No Solution\n", "role": "assistant" } ]
[ 80, 14, 3, 23 ]
18
[ "23-3=20", "80/20=4", "14+4=18" ]
Current State: 18:[80, 14, 3, 23], Operations: [] Exploring Operation: 80-14=66, Resulting Numbers: [3, 23, 66] Generated Node #0,0: 18:[3, 23, 66] Operation: 80-14=66 Exploring Operation: 23-14=9, Resulting Numbers: [80, 3, 9] Generated Node #0,1: 18:[80, 3, 9] Operation: 23-14=9 Exploring Operation: 80-23=57, Resulting Numbers: [14, 3, 57] Generated Node #0,2: 18:[14, 3, 57] Operation: 80-23=57 Exploring Operation: 80-3=77, Resulting Numbers: [14, 23, 77] Generated Node #0,3: 18:[14, 23, 77] Operation: 80-3=77 Exploring Operation: 14+3=17, Resulting Numbers: [80, 23, 17] Generated Node #0,4: 18:[80, 23, 17] Operation: 14+3=17 Moving to Node #0,2 Current State: 18:[14, 3, 57], Operations: ['80-23=57'] Exploring Operation: 57/3=19, Resulting Numbers: [14, 19] Generated Node #0,2,0: 18:[14, 19] Operation: 57/3=19 Exploring Operation: 14-3=11, Resulting Numbers: [57, 11] Generated Node #0,2,1: 18:[57, 11] Operation: 14-3=11 Exploring Operation: 57-3=54, Resulting Numbers: [14, 54] Generated Node #0,2,2: 18:[14, 54] Operation: 57-3=54 Exploring Operation: 14+3=17, Resulting Numbers: [57, 17] Generated Node #0,2,3: 18:[57, 17] Operation: 14+3=17 Exploring Operation: 57-14=43, Resulting Numbers: [3, 43] Generated Node #0,2,4: 18:[3, 43] Operation: 57-14=43 Moving to Node #0,0 Current State: 18:[3, 23, 66], Operations: ['80-14=66'] Exploring Operation: 66-3=63, Resulting Numbers: [23, 63] Generated Node #0,0,0: 18:[23, 63] Operation: 66-3=63 Exploring Operation: 66/3=22, Resulting Numbers: [23, 22] Generated Node #0,0,1: 18:[23, 22] Operation: 66/3=22 Exploring Operation: 66-23=43, Resulting Numbers: [3, 43] Generated Node #0,0,2: 18:[3, 43] Operation: 66-23=43 Exploring Operation: 23-3=20, Resulting Numbers: [66, 20] Generated Node #0,0,3: 18:[66, 20] Operation: 23-3=20 Exploring Operation: 3+23=26, Resulting Numbers: [66, 26] Generated Node #0,0,4: 18:[66, 26] Operation: 3+23=26 Moving to Node #0,1 Current State: 18:[80, 3, 9], Operations: ['23-14=9'] Exploring Operation: 9-3=6, Resulting Numbers: [80, 6] Generated Node #0,1,0: 18:[80, 6] Operation: 9-3=6 Exploring Operation: 80-9=71, Resulting Numbers: [3, 71] Generated Node #0,1,1: 18:[3, 71] Operation: 80-9=71 Exploring Operation: 80+3=83, Resulting Numbers: [9, 83] Generated Node #0,1,2: 18:[9, 83] Operation: 80+3=83 Exploring Operation: 9/3=3, Resulting Numbers: [80, 3] Generated Node #0,1,3: 18:[80, 3] Operation: 9/3=3 Exploring Operation: 80-3=77, Resulting Numbers: [9, 77] Generated Node #0,1,4: 18:[9, 77] Operation: 80-3=77 Moving to Node #0,3 Current State: 18:[14, 23, 77], Operations: ['80-3=77'] Exploring Operation: 14+23=37, Resulting Numbers: [77, 37] Generated Node #0,3,0: 18:[77, 37] Operation: 14+23=37 Exploring Operation: 77-23=54, Resulting Numbers: [14, 54] Generated Node #0,3,1: 18:[14, 54] Operation: 77-23=54 Exploring Operation: 77-14=63, Resulting Numbers: [23, 63] Generated Node #0,3,2: 18:[23, 63] Operation: 77-14=63 Exploring Operation: 14+77=91, Resulting Numbers: [23, 91] Generated Node #0,3,3: 18:[23, 91] Operation: 14+77=91 Exploring Operation: 23-14=9, Resulting Numbers: [77, 9] Generated Node #0,3,4: 18:[77, 9] Operation: 23-14=9 Moving to Node #0,4 Current State: 18:[80, 23, 17], Operations: ['14+3=17'] Exploring Operation: 80-17=63, Resulting Numbers: [23, 63] Generated Node #0,4,0: 18:[23, 63] Operation: 80-17=63 Exploring Operation: 23+17=40, Resulting Numbers: [80, 40] Generated Node #0,4,1: 18:[80, 40] Operation: 23+17=40 Exploring Operation: 80+17=97, Resulting Numbers: [23, 97] Generated Node #0,4,2: 18:[23, 97] Operation: 80+17=97 Exploring Operation: 23-17=6, Resulting Numbers: [80, 6] Generated Node #0,4,3: 18:[80, 6] Operation: 23-17=6 Exploring Operation: 80-23=57, Resulting Numbers: [17, 57] Generated Node #0,4,4: 18:[17, 57] Operation: 80-23=57 Moving to Node #0,2,0 Current State: 18:[14, 19], Operations: ['80-23=57', '57/3=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[23, 22], Operations: ['80-14=66', '66/3=22'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,18 unequal: No Solution Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[3, 43], Operations: ['80-14=66', '66-23=43'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,18 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,18 unequal: No Solution Moving to Node #0,2,4 Current State: 18:[3, 43], Operations: ['80-23=57', '57-14=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,18 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,18 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[14, 54], Operations: ['80-23=57', '57-3=54'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,18 unequal: No Solution Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,18 unequal: No Solution Moving to Node #0,2,0,0 Current State: 18:[5], Operations: ['80-23=57', '57/3=19', '19-14=5'] Moving to Node #0,0,1,0 Current State: 18:[1], Operations: ['80-14=66', '66/3=22', '23-22=1'] Moving to Node #0,2,0,0 Current State: 18:[33], Operations: ['80-23=57', '57/3=19', '14+19=33'] Moving to Node #0,2,4,0 Current State: 18:[40], Operations: ['80-23=57', '57-14=43', '43-3=40'] Moving to Node #0,0,2,0 Current State: 18:[40], Operations: ['80-14=66', '66-23=43', '43-3=40'] Moving to Node #0,2,2,0 Current State: 18:[40], Operations: ['80-23=57', '57-3=54', '54-14=40'] Moving to Node #0,0,1,0 Current State: 18:[45], Operations: ['80-14=66', '66/3=22', '23+22=45'] Moving to Node #0,0,2,0 Current State: 18:[46], Operations: ['80-14=66', '66-23=43', '3+43=46'] Moving to Node #0,2,4,0 Current State: 18:[46], Operations: ['80-23=57', '57-14=43', '3+43=46'] Moving to Node #0,4,4 Current State: 18:[17, 57], Operations: ['14+3=17', '80-23=57'] Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,18 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,18 unequal: No Solution Moving to Node #0,4,4,0 Current State: 18:[40], Operations: ['14+3=17', '80-23=57', '57-17=40'] Moving to Node #0,2,3 Current State: 18:[57, 17], Operations: ['80-23=57', '14+3=17'] Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,18 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,18 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[14, 54], Operations: ['80-3=77', '77-23=54'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[57, 11], Operations: ['80-23=57', '14-3=11'] Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,18 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,18 unequal: No Solution Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[23, 63], Operations: ['80-14=66', '66-3=63'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,18 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,18 unequal: No Solution Moving to Node #0,2,3,0 Current State: 18:[40], Operations: ['80-23=57', '14+3=17', '57-17=40'] Moving to Node #0,3,1,0 Current State: 18:[40], Operations: ['80-3=77', '77-23=54', '54-14=40'] Moving to Node #0,0,0,0 Current State: 18:[40], Operations: ['80-14=66', '66-3=63', '63-23=40'] Moving to Node #0,2,1,0 Current State: 18:[46], Operations: ['80-23=57', '14-3=11', '57-11=46'] Moving to Node #0,3,1,0 Current State: 18:[68], Operations: ['80-3=77', '77-23=54', '14+54=68'] Moving to Node #0,2,1,0 Current State: 18:[68], Operations: ['80-23=57', '14-3=11', '57+11=68'] Moving to Node #0,4,0 Current State: 18:[23, 63], Operations: ['14+3=17', '80-17=63'] Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,18 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,18 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[66, 20], Operations: ['80-14=66', '23-3=20'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,18 unequal: No Solution Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,18 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,18 unequal: No Solution Moving to Node #0,2,2,0 Current State: 18:[68], Operations: ['80-23=57', '57-3=54', '14+54=68'] Moving to Node #0,3,2 Current State: 18:[23, 63], Operations: ['80-3=77', '77-14=63'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,18 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,18 unequal: No Solution Moving to Node #0,4,0,0 Current State: 18:[40], Operations: ['14+3=17', '80-17=63', '63-23=40'] Moving to Node #0,3,2,0 Current State: 18:[40], Operations: ['80-3=77', '77-14=63', '63-23=40'] Moving to Node #0,0,3,0 Current State: 18:[46], Operations: ['80-14=66', '23-3=20', '66-20=46'] Moving to Node #0,1,1 Current State: 18:[3, 71], Operations: ['23-14=9', '80-9=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,18 unequal: No Solution Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,18 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,18 unequal: No Solution Moving to Node #0,4,4,0 Current State: 18:[74], Operations: ['14+3=17', '80-23=57', '17+57=74'] Moving to Node #0,1,1,0 Current State: 18:[68], Operations: ['23-14=9', '80-9=71', '71-3=68'] Moving to Node #0,2,3,0 Current State: 18:[74], Operations: ['80-23=57', '14+3=17', '57+17=74'] Moving to Node #0,1,1,0 Current State: 18:[74], Operations: ['23-14=9', '80-9=71', '3+71=74'] Moving to Node #0,0,4 Current State: 18:[66, 26], Operations: ['80-14=66', '3+23=26'] Exploring Operation: 66*26=1716, Resulting Numbers: [1716] 1716,18 unequal: No Solution Exploring Operation: 66+26=92, Resulting Numbers: [92] 92,18 unequal: No Solution Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,18 unequal: No Solution Moving to Node #0,1,4 Current State: 18:[9, 77], Operations: ['23-14=9', '80-3=77'] Exploring Operation: 9+77=86, Resulting Numbers: [86] 86,18 unequal: No Solution Exploring Operation: 9*77=693, Resulting Numbers: [693] 693,18 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,18 unequal: No Solution Moving to Node #0,0,4,0 Current State: 18:[40], Operations: ['80-14=66', '3+23=26', '66-26=40'] Moving to Node #0,1,4,0 Current State: 18:[68], Operations: ['23-14=9', '80-3=77', '77-9=68'] Moving to Node #0,3,4 Current State: 18:[77, 9], Operations: ['80-3=77', '23-14=9'] Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,18 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[80, 3], Operations: ['23-14=9', '9/3=3'] Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,18 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,18 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[80, 6], Operations: ['23-14=9', '9-3=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,18 unequal: No Solution Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,18 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,18 unequal: No Solution Moving to Node #0,3,4,0 Current State: 18:[68], Operations: ['80-3=77', '23-14=9', '77-9=68'] Moving to Node #0,1,0,0 Current State: 18:[74], Operations: ['23-14=9', '9-3=6', '80-6=74'] Moving to Node #0,1,3,0 Current State: 18:[77], Operations: ['23-14=9', '9/3=3', '80-3=77'] Moving to Node #0,4,3 Current State: 18:[80, 6], Operations: ['14+3=17', '23-17=6'] Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,18 unequal: No Solution Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,18 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[9, 83], Operations: ['23-14=9', '80+3=83'] Exploring Operation: 9+83=92, Resulting Numbers: [92] 92,18 unequal: No Solution Exploring Operation: 9*83=747, Resulting Numbers: [747] 747,18 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,18 unequal: No Solution Moving to Node #0,4,3,0 Current State: 18:[74], Operations: ['14+3=17', '23-17=6', '80-6=74'] Moving to Node #0,1,2,0 Current State: 18:[74], Operations: ['23-14=9', '80+3=83', '83-9=74'] Moving to Node #0,1,3,0 Current State: 18:[83], Operations: ['23-14=9', '9/3=3', '80+3=83'] Moving to Node #0,3,4,0 Current State: 18:[86], Operations: ['80-3=77', '23-14=9', '77+9=86'] Moving to Node #0,4,0,0 Current State: 18:[86], Operations: ['14+3=17', '80-17=63', '23+63=86'] Moving to Node #0,0,0,0 Current State: 18:[86], Operations: ['80-14=66', '66-3=63', '23+63=86'] Moving to Node #0,0,3,0 Current State: 18:[86], Operations: ['80-14=66', '23-3=20', '66+20=86'] Moving to Node #0,1,0,0 Current State: 18:[86], Operations: ['23-14=9', '9-3=6', '80+6=86'] Moving to Node #0,3,2,0 Current State: 18:[86], Operations: ['80-3=77', '77-14=63', '23+63=86'] Moving to Node #0,4,3,0 Current State: 18:[86], Operations: ['14+3=17', '23-17=6', '80+6=86'] Moving to Node #0,1,4,0 Current State: 18:[86], Operations: ['23-14=9', '80-3=77', '9+77=86'] Moving to Node #0,0,4,0 Current State: 18:[92], Operations: ['80-14=66', '3+23=26', '66+26=92'] Moving to Node #0,1,2,0 Current State: 18:[92], Operations: ['23-14=9', '80+3=83', '9+83=92'] Moving to Node #0,3,3 Current State: 18:[23, 91], Operations: ['80-3=77', '14+77=91'] Exploring Operation: 23+91=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 23*91=2093, Resulting Numbers: [2093] 2093,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[77, 37], Operations: ['80-3=77', '14+23=37'] Exploring Operation: 77*37=2849, Resulting Numbers: [2849] 2849,18 unequal: No Solution Exploring Operation: 77+37=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,18 unequal: No Solution Moving to Node #0,3,0,0 Current State: 18:[40], Operations: ['80-3=77', '14+23=37', '77-37=40'] Moving to Node #0,3,3,0 Current State: 18:[68], Operations: ['80-3=77', '14+77=91', '91-23=68'] Moving to Node #0,4,2 Current State: 18:[23, 97], Operations: ['14+3=17', '80+17=97'] Exploring Operation: 23*97=2231, Resulting Numbers: [2231] 2231,18 unequal: No Solution Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,18 unequal: No Solution Exploring Operation: 23+97=120, Resulting Numbers: [120] 120,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[80, 40], Operations: ['14+3=17', '23+17=40'] Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 80+40=120, Resulting Numbers: [120] 120,18 unequal: No Solution Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 80*40=3200, Resulting Numbers: [3200] 3200,18 unequal: No Solution Moving to Node #0,3,0,0 Current State: 18:[114], Operations: ['80-3=77', '14+23=37', '77+37=114'] Moving to Node #0,4,1,0 Current State: 18:[2], Operations: ['14+3=17', '23+17=40', '80/40=2'] Moving to Node #0,4,1,0 Current State: 18:[40], Operations: ['14+3=17', '23+17=40', '80-40=40'] Moving to Node #0,4,2,0 Current State: 18:[74], Operations: ['14+3=17', '80+17=97', '97-23=74'] Moving to Node #0,3,3,0 Current State: 18:[114], Operations: ['80-3=77', '14+77=91', '23+91=114'] Moving to Node #0,4,1,0 Current State: 18:[120], Operations: ['14+3=17', '23+17=40', '80+40=120'] Moving to Node #0,4,2,0 Current State: 18:[120], Operations: ['14+3=17', '80+17=97', '23+97=120'] Moving to Node #0,0,2,0 Current State: 18:[129], Operations: ['80-14=66', '66-23=43', '3*43=129'] Moving to Node #0,2,4,0 Current State: 18:[129], Operations: ['80-23=57', '57-14=43', '3*43=129'] Moving to Node #0,1,1,0 Current State: 18:[213], Operations: ['23-14=9', '80-9=71', '3*71=213'] Moving to Node #0,1,3,0 Current State: 18:[240], Operations: ['23-14=9', '9/3=3', '80*3=240'] Moving to Node #0,2,0,0 Current State: 18:[266], Operations: ['80-23=57', '57/3=19', '14*19=266'] Moving to Node #0,1,0,0 Current State: 18:[480], Operations: ['23-14=9', '9-3=6', '80*6=480'] Moving to Node #0,4,3,0 Current State: 18:[480], Operations: ['14+3=17', '23-17=6', '80*6=480'] Moving to Node #0,0,1,0 Current State: 18:[506], Operations: ['80-14=66', '66/3=22', '23*22=506'] Moving to Node #0,2,1,0 Current State: 18:[627], Operations: ['80-23=57', '14-3=11', '57*11=627'] Moving to Node #0,1,4,0 Current State: 18:[693], Operations: ['23-14=9', '80-3=77', '9*77=693'] Moving to Node #0,3,4,0 Current State: 18:[693], Operations: ['80-3=77', '23-14=9', '77*9=693'] Moving to Node #0,1,2,0 Current State: 18:[747], Operations: ['23-14=9', '80+3=83', '9*83=747'] Moving to Node #0,2,2,0 Current State: 18:[756], Operations: ['80-23=57', '57-3=54', '14*54=756'] Moving to Node #0,3,1,0 Current State: 18:[756], Operations: ['80-3=77', '77-23=54', '14*54=756'] Moving to Node #0,2,3,0 Current State: 18:[969], Operations: ['80-23=57', '14+3=17', '57*17=969'] Moving to Node #0,4,4,0 Current State: 18:[969], Operations: ['14+3=17', '80-23=57', '17*57=969'] Moving to Node #0,0,3,0 Current State: 18:[1320], Operations: ['80-14=66', '23-3=20', '66*20=1320'] Moving to Node #0,4,0,0 Current State: 18:[1449], Operations: ['14+3=17', '80-17=63', '23*63=1449'] Moving to Node #0,3,2,0 Current State: 18:[1449], Operations: ['80-3=77', '77-14=63', '23*63=1449'] Moving to Node #0,0,0,0 Current State: 18:[1449], Operations: ['80-14=66', '66-3=63', '23*63=1449'] Moving to Node #0,0,4,0 Current State: 18:[1716], Operations: ['80-14=66', '3+23=26', '66*26=1716'] Moving to Node #0,3,3,0 Current State: 18:[2093], Operations: ['80-3=77', '14+77=91', '23*91=2093'] Moving to Node #0,4,2,0 Current State: 18:[2231], Operations: ['14+3=17', '80+17=97', '23*97=2231'] Moving to Node #0,3,0,0 Current State: 18:[2849], Operations: ['80-3=77', '14+23=37', '77*37=2849'] Moving to Node #0,4,1,0 Current State: 18:[3200], Operations: ['14+3=17', '23+17=40', '80*40=3200'] No solution found.
0
bfs_5
Current State: 18:[80, 14, 3, 23], Operations: [] Exploring Operation: 23-3=20, Resulting Numbers: [80, 14, 20] Generated Node #2: [80, 14, 20] from Operation: 23-3=20 Current State: 18:[80, 14, 20], Operations: ['23-3=20'] Exploring Operation: 80/20=4, Resulting Numbers: [14, 4] Generated Node #3: [14, 4] from Operation: 80/20=4 Current State: 18:[14, 4], Operations: ['23-3=20', '80/20=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
mult_heuristic
[ { "content": "Make 18 with the numbers [80, 14, 3, 23] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 18:[80, 14, 3, 23], Operations: []\nExploring Operation: 80-14=66, Resulting Numbers: [3, 23, 66]\nGenerated Node #0,0: 18:[3, 23, 66] Operation: 80-14=66\nExploring Operation: 23-14=9, Resulting Numbers: [80, 3, 9]\nGenerated Node #0,1: 18:[80, 3, 9] Operation: 23-14=9\nExploring Operation: 80-23=57, Resulting Numbers: [14, 3, 57]\nGenerated Node #0,2: 18:[14, 3, 57] Operation: 80-23=57\nExploring Operation: 80-3=77, Resulting Numbers: [14, 23, 77]\nGenerated Node #0,3: 18:[14, 23, 77] Operation: 80-3=77\nExploring Operation: 14+3=17, Resulting Numbers: [80, 23, 17]\nGenerated Node #0,4: 18:[80, 23, 17] Operation: 14+3=17\nMoving to Node #0,2\nCurrent State: 18:[14, 3, 57], Operations: ['80-23=57']\nExploring Operation: 57/3=19, Resulting Numbers: [14, 19]\nGenerated Node #0,2,0: 18:[14, 19] Operation: 57/3=19\nExploring Operation: 14-3=11, Resulting Numbers: [57, 11]\nGenerated Node #0,2,1: 18:[57, 11] Operation: 14-3=11\nExploring Operation: 57-3=54, Resulting Numbers: [14, 54]\nGenerated Node #0,2,2: 18:[14, 54] Operation: 57-3=54\nExploring Operation: 14+3=17, Resulting Numbers: [57, 17]\nGenerated Node #0,2,3: 18:[57, 17] Operation: 14+3=17\nExploring Operation: 57-14=43, Resulting Numbers: [3, 43]\nGenerated Node #0,2,4: 18:[3, 43] Operation: 57-14=43\nMoving to Node #0,0\nCurrent State: 18:[3, 23, 66], Operations: ['80-14=66']\nExploring Operation: 66-3=63, Resulting Numbers: [23, 63]\nGenerated Node #0,0,0: 18:[23, 63] Operation: 66-3=63\nExploring Operation: 66/3=22, Resulting Numbers: [23, 22]\nGenerated Node #0,0,1: 18:[23, 22] Operation: 66/3=22\nExploring Operation: 66-23=43, Resulting Numbers: [3, 43]\nGenerated Node #0,0,2: 18:[3, 43] Operation: 66-23=43\nExploring Operation: 23-3=20, Resulting Numbers: [66, 20]\nGenerated Node #0,0,3: 18:[66, 20] Operation: 23-3=20\nExploring Operation: 3+23=26, Resulting Numbers: [66, 26]\nGenerated Node #0,0,4: 18:[66, 26] Operation: 3+23=26\nMoving to Node #0,1\nCurrent State: 18:[80, 3, 9], Operations: ['23-14=9']\nExploring Operation: 9-3=6, Resulting Numbers: [80, 6]\nGenerated Node #0,1,0: 18:[80, 6] Operation: 9-3=6\nExploring Operation: 80-9=71, Resulting Numbers: [3, 71]\nGenerated Node #0,1,1: 18:[3, 71] Operation: 80-9=71\nExploring Operation: 80+3=83, Resulting Numbers: [9, 83]\nGenerated Node #0,1,2: 18:[9, 83] Operation: 80+3=83\nExploring Operation: 9/3=3, Resulting Numbers: [80, 3]\nGenerated Node #0,1,3: 18:[80, 3] Operation: 9/3=3\nExploring Operation: 80-3=77, Resulting Numbers: [9, 77]\nGenerated Node #0,1,4: 18:[9, 77] Operation: 80-3=77\nMoving to Node #0,3\nCurrent State: 18:[14, 23, 77], Operations: ['80-3=77']\nExploring Operation: 14+23=37, Resulting Numbers: [77, 37]\nGenerated Node #0,3,0: 18:[77, 37] Operation: 14+23=37\nExploring Operation: 77-23=54, Resulting Numbers: [14, 54]\nGenerated Node #0,3,1: 18:[14, 54] Operation: 77-23=54\nExploring Operation: 77-14=63, Resulting Numbers: [23, 63]\nGenerated Node #0,3,2: 18:[23, 63] Operation: 77-14=63\nExploring Operation: 14+77=91, Resulting Numbers: [23, 91]\nGenerated Node #0,3,3: 18:[23, 91] Operation: 14+77=91\nExploring Operation: 23-14=9, Resulting Numbers: [77, 9]\nGenerated Node #0,3,4: 18:[77, 9] Operation: 23-14=9\nMoving to Node #0,4\nCurrent State: 18:[80, 23, 17], Operations: ['14+3=17']\nExploring Operation: 80-17=63, Resulting Numbers: [23, 63]\nGenerated Node #0,4,0: 18:[23, 63] Operation: 80-17=63\nExploring Operation: 23+17=40, Resulting Numbers: [80, 40]\nGenerated Node #0,4,1: 18:[80, 40] Operation: 23+17=40\nExploring Operation: 80+17=97, Resulting Numbers: [23, 97]\nGenerated Node #0,4,2: 18:[23, 97] Operation: 80+17=97\nExploring Operation: 23-17=6, Resulting Numbers: [80, 6]\nGenerated Node #0,4,3: 18:[80, 6] Operation: 23-17=6\nExploring Operation: 80-23=57, Resulting Numbers: [17, 57]\nGenerated Node #0,4,4: 18:[17, 57] Operation: 80-23=57\nMoving to Node #0,2,0\nCurrent State: 18:[14, 19], Operations: ['80-23=57', '57/3=19']\nExploring Operation: 14+19=33, Resulting Numbers: [33]\n33,18 unequal: No Solution\nExploring Operation: 19-14=5, Resulting Numbers: [5]\n5,18 unequal: No Solution\nExploring Operation: 14*19=266, Resulting Numbers: [266]\n266,18 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 18:[23, 22], Operations: ['80-14=66', '66/3=22']\nExploring Operation: 23-22=1, Resulting Numbers: [1]\n1,18 unequal: No Solution\nExploring Operation: 23*22=506, Resulting Numbers: [506]\n506,18 unequal: No Solution\nExploring Operation: 23+22=45, Resulting Numbers: [45]\n45,18 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 18:[3, 43], Operations: ['80-14=66', '66-23=43']\nExploring Operation: 43-3=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nExploring Operation: 3*43=129, Resulting Numbers: [129]\n129,18 unequal: No Solution\nExploring Operation: 3+43=46, Resulting Numbers: [46]\n46,18 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 18:[3, 43], Operations: ['80-23=57', '57-14=43']\nExploring Operation: 3+43=46, Resulting Numbers: [46]\n46,18 unequal: No Solution\nExploring Operation: 3*43=129, Resulting Numbers: [129]\n129,18 unequal: No Solution\nExploring Operation: 43-3=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 18:[14, 54], Operations: ['80-23=57', '57-3=54']\nExploring Operation: 54-14=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nExploring Operation: 14*54=756, Resulting Numbers: [756]\n756,18 unequal: No Solution\nExploring Operation: 14+54=68, Resulting Numbers: [68]\n68,18 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 18:[5], Operations: ['80-23=57', '57/3=19', '19-14=5']\nMoving to Node #0,0,1,0\nCurrent State: 18:[1], Operations: ['80-14=66', '66/3=22', '23-22=1']\nMoving to Node #0,2,0,0\nCurrent State: 18:[33], Operations: ['80-23=57', '57/3=19', '14+19=33']\nMoving to Node #0,2,4,0\nCurrent State: 18:[40], Operations: ['80-23=57', '57-14=43', '43-3=40']\nMoving to Node #0,0,2,0\nCurrent State: 18:[40], Operations: ['80-14=66', '66-23=43', '43-3=40']\nMoving to Node #0,2,2,0\nCurrent State: 18:[40], Operations: ['80-23=57', '57-3=54', '54-14=40']\nMoving to Node #0,0,1,0\nCurrent State: 18:[45], Operations: ['80-14=66', '66/3=22', '23+22=45']\nMoving to Node #0,0,2,0\nCurrent State: 18:[46], Operations: ['80-14=66', '66-23=43', '3+43=46']\nMoving to Node #0,2,4,0\nCurrent State: 18:[46], Operations: ['80-23=57', '57-14=43', '3+43=46']\nMoving to Node #0,4,4\nCurrent State: 18:[17, 57], Operations: ['14+3=17', '80-23=57']\nExploring Operation: 17+57=74, Resulting Numbers: [74]\n74,18 unequal: No Solution\nExploring Operation: 57-17=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nExploring Operation: 17*57=969, Resulting Numbers: [969]\n969,18 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 18:[40], Operations: ['14+3=17', '80-23=57', '57-17=40']\nMoving to Node #0,2,3\nCurrent State: 18:[57, 17], Operations: ['80-23=57', '14+3=17']\nExploring Operation: 57+17=74, Resulting Numbers: [74]\n74,18 unequal: No Solution\nExploring Operation: 57*17=969, Resulting Numbers: [969]\n969,18 unequal: No Solution\nExploring Operation: 57-17=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 18:[14, 54], Operations: ['80-3=77', '77-23=54']\nExploring Operation: 54-14=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nExploring Operation: 14+54=68, Resulting Numbers: [68]\n68,18 unequal: No Solution\nExploring Operation: 14*54=756, Resulting Numbers: [756]\n756,18 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 18:[57, 11], Operations: ['80-23=57', '14-3=11']\nExploring Operation: 57*11=627, Resulting Numbers: [627]\n627,18 unequal: No Solution\nExploring Operation: 57-11=46, Resulting Numbers: [46]\n46,18 unequal: No Solution\nExploring Operation: 57+11=68, Resulting Numbers: [68]\n68,18 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 18:[23, 63], Operations: ['80-14=66', '66-3=63']\nExploring Operation: 63-23=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nExploring Operation: 23*63=1449, Resulting Numbers: [1449]\n1449,18 unequal: No Solution\nExploring Operation: 23+63=86, Resulting Numbers: [86]\n86,18 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 18:[40], Operations: ['80-23=57', '14+3=17', '57-17=40']\nMoving to Node #0,3,1,0\nCurrent State: 18:[40], Operations: ['80-3=77', '77-23=54', '54-14=40']\nMoving to Node #0,0,0,0\nCurrent State: 18:[40], Operations: ['80-14=66', '66-3=63', '63-23=40']\nMoving to Node #0,2,1,0\nCurrent State: 18:[46], Operations: ['80-23=57', '14-3=11', '57-11=46']\nMoving to Node #0,3,1,0\nCurrent State: 18:[68], Operations: ['80-3=77', '77-23=54', '14+54=68']\nMoving to Node #0,2,1,0\nCurrent State: 18:[68], Operations: ['80-23=57', '14-3=11', '57+11=68']\nMoving to Node #0,4,0\nCurrent State: 18:[23, 63], Operations: ['14+3=17', '80-17=63']\nExploring Operation: 23+63=86, Resulting Numbers: [86]\n86,18 unequal: No Solution\nExploring Operation: 23*63=1449, Resulting Numbers: [1449]\n1449,18 unequal: No Solution\nExploring Operation: 63-23=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 18:[66, 20], Operations: ['80-14=66', '23-3=20']\nExploring Operation: 66-20=46, Resulting Numbers: [46]\n46,18 unequal: No Solution\nExploring Operation: 66*20=1320, Resulting Numbers: [1320]\n1320,18 unequal: No Solution\nExploring Operation: 66+20=86, Resulting Numbers: [86]\n86,18 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 18:[68], Operations: ['80-23=57', '57-3=54', '14+54=68']\nMoving to Node #0,3,2\nCurrent State: 18:[23, 63], Operations: ['80-3=77', '77-14=63']\nExploring Operation: 63-23=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nExploring Operation: 23+63=86, Resulting Numbers: [86]\n86,18 unequal: No Solution\nExploring Operation: 23*63=1449, Resulting Numbers: [1449]\n1449,18 unequal: No Solution\nMoving to Node #0,4,0,0\nCurrent State: 18:[40], Operations: ['14+3=17', '80-17=63', '63-23=40']\nMoving to Node #0,3,2,0\nCurrent State: 18:[40], Operations: ['80-3=77', '77-14=63', '63-23=40']\nMoving to Node #0,0,3,0\nCurrent State: 18:[46], Operations: ['80-14=66', '23-3=20', '66-20=46']\nMoving to Node #0,1,1\nCurrent State: 18:[3, 71], Operations: ['23-14=9', '80-9=71']\nExploring Operation: 3+71=74, Resulting Numbers: [74]\n74,18 unequal: No Solution\nExploring Operation: 3*71=213, Resulting Numbers: [213]\n213,18 unequal: No Solution\nExploring Operation: 71-3=68, Resulting Numbers: [68]\n68,18 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 18:[74], Operations: ['14+3=17', '80-23=57', '17+57=74']\nMoving to Node #0,1,1,0\nCurrent State: 18:[68], Operations: ['23-14=9', '80-9=71', '71-3=68']\nMoving to Node #0,2,3,0\nCurrent State: 18:[74], Operations: ['80-23=57', '14+3=17', '57+17=74']\nMoving to Node #0,1,1,0\nCurrent State: 18:[74], Operations: ['23-14=9', '80-9=71', '3+71=74']\nMoving to Node #0,0,4\nCurrent State: 18:[66, 26], Operations: ['80-14=66', '3+23=26']\nExploring Operation: 66*26=1716, Resulting Numbers: [1716]\n1716,18 unequal: No Solution\nExploring Operation: 66+26=92, Resulting Numbers: [92]\n92,18 unequal: No Solution\nExploring Operation: 66-26=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 18:[9, 77], Operations: ['23-14=9', '80-3=77']\nExploring Operation: 9+77=86, Resulting Numbers: [86]\n86,18 unequal: No Solution\nExploring Operation: 9*77=693, Resulting Numbers: [693]\n693,18 unequal: No Solution\nExploring Operation: 77-9=68, Resulting Numbers: [68]\n68,18 unequal: No Solution\nMoving to Node #0,0,4,0\nCurrent State: 18:[40], Operations: ['80-14=66', '3+23=26', '66-26=40']\nMoving to Node #0,1,4,0\nCurrent State: 18:[68], Operations: ['23-14=9', '80-3=77', '77-9=68']\nMoving to Node #0,3,4\nCurrent State: 18:[77, 9], Operations: ['80-3=77', '23-14=9']\nExploring Operation: 77*9=693, Resulting Numbers: [693]\n693,18 unequal: No Solution\nExploring Operation: 77-9=68, Resulting Numbers: [68]\n68,18 unequal: No Solution\nExploring Operation: 77+9=86, Resulting Numbers: [86]\n86,18 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 18:[80, 3], Operations: ['23-14=9', '9/3=3']\nExploring Operation: 80*3=240, Resulting Numbers: [240]\n240,18 unequal: No Solution\nExploring Operation: 80+3=83, Resulting Numbers: [83]\n83,18 unequal: No Solution\nExploring Operation: 80-3=77, Resulting Numbers: [77]\n77,18 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 18:[80, 6], Operations: ['23-14=9', '9-3=6']\nExploring Operation: 80+6=86, Resulting Numbers: [86]\n86,18 unequal: No Solution\nExploring Operation: 80*6=480, Resulting Numbers: [480]\n480,18 unequal: No Solution\nExploring Operation: 80-6=74, Resulting Numbers: [74]\n74,18 unequal: No Solution\nMoving to Node #0,3,4,0\nCurrent State: 18:[68], Operations: ['80-3=77', '23-14=9', '77-9=68']\nMoving to Node #0,1,0,0\nCurrent State: 18:[74], Operations: ['23-14=9', '9-3=6', '80-6=74']\nMoving to Node #0,1,3,0\nCurrent State: 18:[77], Operations: ['23-14=9', '9/3=3', '80-3=77']\nMoving to Node #0,4,3\nCurrent State: 18:[80, 6], Operations: ['14+3=17', '23-17=6']\nExploring Operation: 80*6=480, Resulting Numbers: [480]\n480,18 unequal: No Solution\nExploring Operation: 80+6=86, Resulting Numbers: [86]\n86,18 unequal: No Solution\nExploring Operation: 80-6=74, Resulting Numbers: [74]\n74,18 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 18:[9, 83], Operations: ['23-14=9', '80+3=83']\nExploring Operation: 9+83=92, Resulting Numbers: [92]\n92,18 unequal: No Solution\nExploring Operation: 9*83=747, Resulting Numbers: [747]\n747,18 unequal: No Solution\nExploring Operation: 83-9=74, Resulting Numbers: [74]\n74,18 unequal: No Solution\nMoving to Node #0,4,3,0\nCurrent State: 18:[74], Operations: ['14+3=17', '23-17=6', '80-6=74']\nMoving to Node #0,1,2,0\nCurrent State: 18:[74], Operations: ['23-14=9', '80+3=83', '83-9=74']\nMoving to Node #0,1,3,0\nCurrent State: 18:[83], Operations: ['23-14=9', '9/3=3', '80+3=83']\nMoving to Node #0,3,4,0\nCurrent State: 18:[86], Operations: ['80-3=77', '23-14=9', '77+9=86']\nMoving to Node #0,4,0,0\nCurrent State: 18:[86], Operations: ['14+3=17', '80-17=63', '23+63=86']\nMoving to Node #0,0,0,0\nCurrent State: 18:[86], Operations: ['80-14=66', '66-3=63', '23+63=86']\nMoving to Node #0,0,3,0\nCurrent State: 18:[86], Operations: ['80-14=66', '23-3=20', '66+20=86']\nMoving to Node #0,1,0,0\nCurrent State: 18:[86], Operations: ['23-14=9', '9-3=6', '80+6=86']\nMoving to Node #0,3,2,0\nCurrent State: 18:[86], Operations: ['80-3=77', '77-14=63', '23+63=86']\nMoving to Node #0,4,3,0\nCurrent State: 18:[86], Operations: ['14+3=17', '23-17=6', '80+6=86']\nMoving to Node #0,1,4,0\nCurrent State: 18:[86], Operations: ['23-14=9', '80-3=77', '9+77=86']\nMoving to Node #0,0,4,0\nCurrent State: 18:[92], Operations: ['80-14=66', '3+23=26', '66+26=92']\nMoving to Node #0,1,2,0\nCurrent State: 18:[92], Operations: ['23-14=9', '80+3=83', '9+83=92']\nMoving to Node #0,3,3\nCurrent State: 18:[23, 91], Operations: ['80-3=77', '14+77=91']\nExploring Operation: 23+91=114, Resulting Numbers: [114]\n114,18 unequal: No Solution\nExploring Operation: 91-23=68, Resulting Numbers: [68]\n68,18 unequal: No Solution\nExploring Operation: 23*91=2093, Resulting Numbers: [2093]\n2093,18 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 18:[77, 37], Operations: ['80-3=77', '14+23=37']\nExploring Operation: 77*37=2849, Resulting Numbers: [2849]\n2849,18 unequal: No Solution\nExploring Operation: 77+37=114, Resulting Numbers: [114]\n114,18 unequal: No Solution\nExploring Operation: 77-37=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 18:[40], Operations: ['80-3=77', '14+23=37', '77-37=40']\nMoving to Node #0,3,3,0\nCurrent State: 18:[68], Operations: ['80-3=77', '14+77=91', '91-23=68']\nMoving to Node #0,4,2\nCurrent State: 18:[23, 97], Operations: ['14+3=17', '80+17=97']\nExploring Operation: 23*97=2231, Resulting Numbers: [2231]\n2231,18 unequal: No Solution\nExploring Operation: 97-23=74, Resulting Numbers: [74]\n74,18 unequal: No Solution\nExploring Operation: 23+97=120, Resulting Numbers: [120]\n120,18 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 18:[80, 40], Operations: ['14+3=17', '23+17=40']\nExploring Operation: 80/40=2, Resulting Numbers: [2]\n2,18 unequal: No Solution\nExploring Operation: 80+40=120, Resulting Numbers: [120]\n120,18 unequal: No Solution\nExploring Operation: 80-40=40, Resulting Numbers: [40]\n40,18 unequal: No Solution\nExploring Operation: 80*40=3200, Resulting Numbers: [3200]\n3200,18 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 18:[114], Operations: ['80-3=77', '14+23=37', '77+37=114']\nMoving to Node #0,4,1,0\nCurrent State: 18:[2], Operations: ['14+3=17', '23+17=40', '80/40=2']\nMoving to Node #0,4,1,0\nCurrent State: 18:[40], Operations: ['14+3=17', '23+17=40', '80-40=40']\nMoving to Node #0,4,2,0\nCurrent State: 18:[74], Operations: ['14+3=17', '80+17=97', '97-23=74']\nMoving to Node #0,3,3,0\nCurrent State: 18:[114], Operations: ['80-3=77', '14+77=91', '23+91=114']\nMoving to Node #0,4,1,0\nCurrent State: 18:[120], Operations: ['14+3=17', '23+17=40', '80+40=120']\nMoving to Node #0,4,2,0\nCurrent State: 18:[120], Operations: ['14+3=17', '80+17=97', '23+97=120']\nMoving to Node #0,0,2,0\nCurrent State: 18:[129], Operations: ['80-14=66', '66-23=43', '3*43=129']\nMoving to Node #0,2,4,0\nCurrent State: 18:[129], Operations: ['80-23=57', '57-14=43', '3*43=129']\nMoving to Node #0,1,1,0\nCurrent State: 18:[213], Operations: ['23-14=9', '80-9=71', '3*71=213']\nMoving to Node #0,1,3,0\nCurrent State: 18:[240], Operations: ['23-14=9', '9/3=3', '80*3=240']\nMoving to Node #0,2,0,0\nCurrent State: 18:[266], Operations: ['80-23=57', '57/3=19', '14*19=266']\nMoving to Node #0,1,0,0\nCurrent State: 18:[480], Operations: ['23-14=9', '9-3=6', '80*6=480']\nMoving to Node #0,4,3,0\nCurrent State: 18:[480], Operations: ['14+3=17', '23-17=6', '80*6=480']\nMoving to Node #0,0,1,0\nCurrent State: 18:[506], Operations: ['80-14=66', '66/3=22', '23*22=506']\nMoving to Node #0,2,1,0\nCurrent State: 18:[627], Operations: ['80-23=57', '14-3=11', '57*11=627']\nMoving to Node #0,1,4,0\nCurrent State: 18:[693], Operations: ['23-14=9', '80-3=77', '9*77=693']\nMoving to Node #0,3,4,0\nCurrent State: 18:[693], Operations: ['80-3=77', '23-14=9', '77*9=693']\nMoving to Node #0,1,2,0\nCurrent State: 18:[747], Operations: ['23-14=9', '80+3=83', '9*83=747']\nMoving to Node #0,2,2,0\nCurrent State: 18:[756], Operations: ['80-23=57', '57-3=54', '14*54=756']\nMoving to Node #0,3,1,0\nCurrent State: 18:[756], Operations: ['80-3=77', '77-23=54', '14*54=756']\nMoving to Node #0,2,3,0\nCurrent State: 18:[969], Operations: ['80-23=57', '14+3=17', '57*17=969']\nMoving to Node #0,4,4,0\nCurrent State: 18:[969], Operations: ['14+3=17', '80-23=57', '17*57=969']\nMoving to Node #0,0,3,0\nCurrent State: 18:[1320], Operations: ['80-14=66', '23-3=20', '66*20=1320']\nMoving to Node #0,4,0,0\nCurrent State: 18:[1449], Operations: ['14+3=17', '80-17=63', '23*63=1449']\nMoving to Node #0,3,2,0\nCurrent State: 18:[1449], Operations: ['80-3=77', '77-14=63', '23*63=1449']\nMoving to Node #0,0,0,0\nCurrent State: 18:[1449], Operations: ['80-14=66', '66-3=63', '23*63=1449']\nMoving to Node #0,0,4,0\nCurrent State: 18:[1716], Operations: ['80-14=66', '3+23=26', '66*26=1716']\nMoving to Node #0,3,3,0\nCurrent State: 18:[2093], Operations: ['80-3=77', '14+77=91', '23*91=2093']\nMoving to Node #0,4,2,0\nCurrent State: 18:[2231], Operations: ['14+3=17', '80+17=97', '23*97=2231']\nMoving to Node #0,3,0,0\nCurrent State: 18:[2849], Operations: ['80-3=77', '14+23=37', '77*37=2849']\nMoving to Node #0,4,1,0\nCurrent State: 18:[3200], Operations: ['14+3=17', '23+17=40', '80*40=3200']\nNo solution found.", "role": "assistant" } ]
[ 16, 10, 81, 69 ]
10
[ "16*10=160", "81+69=150", "160-150=10" ]
Current State: 10:[16, 10, 81, 69], Operations: [] Exploring Operation: 81-16=65, Resulting Numbers: [10, 69, 65] Generated Node #0,0: 10:[10, 69, 65] Operation: 81-16=65 Exploring Operation: 69-16=53, Resulting Numbers: [10, 81, 53] Generated Node #0,1: 10:[10, 81, 53] Operation: 69-16=53 Exploring Operation: 81-69=12, Resulting Numbers: [16, 10, 12] Generated Node #0,2: 10:[16, 10, 12] Operation: 81-69=12 Moving to Node #0,2 Current State: 10:[16, 10, 12], Operations: ['81-69=12'] Exploring Operation: 16-10=6, Resulting Numbers: [12, 6] Generated Node #0,2,0: 10:[12, 6] Operation: 16-10=6 Exploring Operation: 16-12=4, Resulting Numbers: [10, 4] Generated Node #0,2,1: 10:[10, 4] Operation: 16-12=4 Exploring Operation: 12-10=2, Resulting Numbers: [16, 2] Generated Node #0,2,2: 10:[16, 2] Operation: 12-10=2 Moving to Node #0,0 Current State: 10:[10, 69, 65], Operations: ['81-16=65'] Exploring Operation: 65-10=55, Resulting Numbers: [69, 55] Generated Node #0,0,0: 10:[69, 55] Operation: 65-10=55 Exploring Operation: 69-65=4, Resulting Numbers: [10, 4] Generated Node #0,0,1: 10:[10, 4] Operation: 69-65=4 Exploring Operation: 69-10=59, Resulting Numbers: [65, 59] Generated Node #0,0,2: 10:[65, 59] Operation: 69-10=59 Moving to Node #0,1 Current State: 10:[10, 81, 53], Operations: ['69-16=53'] Exploring Operation: 81-53=28, Resulting Numbers: [10, 28] Generated Node #0,1,0: 10:[10, 28] Operation: 81-53=28 Exploring Operation: 81-10=71, Resulting Numbers: [53, 71] Generated Node #0,1,1: 10:[53, 71] Operation: 81-10=71 Exploring Operation: 53-10=43, Resulting Numbers: [81, 43] Generated Node #0,1,2: 10:[81, 43] Operation: 53-10=43 Moving to Node #0,2,1 Current State: 10:[10, 4], Operations: ['81-69=12', '16-12=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[10, 4], Operations: ['81-16=65', '69-65=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[12, 6], Operations: ['81-69=12', '16-10=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,10 unequal: No Solution Moving to Node #0,2,0,0 Current State: 10:[2], Operations: ['81-69=12', '16-10=6', '12/6=2'] Moving to Node #0,2,1,0 Current State: 10:[6], Operations: ['81-69=12', '16-12=4', '10-4=6'] Moving to Node #0,2,0,0 Current State: 10:[6], Operations: ['81-69=12', '16-10=6', '12-6=6'] Moving to Node #0,0,1,0 Current State: 10:[6], Operations: ['81-16=65', '69-65=4', '10-4=6'] Moving to Node #0,2,1,0 Current State: 10:[14], Operations: ['81-69=12', '16-12=4', '10+4=14'] Moving to Node #0,0,1,0 Current State: 10:[14], Operations: ['81-16=65', '69-65=4', '10+4=14'] Moving to Node #0,2,2 Current State: 10:[16, 2], Operations: ['81-69=12', '12-10=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,10 unequal: No Solution Moving to Node #0,2,0,0 Current State: 10:[18], Operations: ['81-69=12', '16-10=6', '12+6=18'] Moving to Node #0,1,0 Current State: 10:[10, 28], Operations: ['69-16=53', '81-53=28'] Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,10 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,10 unequal: No Solution Moving to Node #0,2,2,0 Current State: 10:[8], Operations: ['81-69=12', '12-10=2', '16/2=8'] Moving to Node #0,2,2,0 Current State: 10:[14], Operations: ['81-69=12', '12-10=2', '16-2=14'] Moving to Node #0,1,0,0 Current State: 10:[18], Operations: ['69-16=53', '81-53=28', '28-10=18'] Moving to Node #0,2,2,0 Current State: 10:[18], Operations: ['81-69=12', '12-10=2', '16+2=18'] Moving to Node #0,1,0,0 Current State: 10:[38], Operations: ['69-16=53', '81-53=28', '10+28=38'] Moving to Node #0,0,1,0 Current State: 10:[40], Operations: ['81-16=65', '69-65=4', '10*4=40'] Moving to Node #0,2,1,0 Current State: 10:[40], Operations: ['81-69=12', '16-12=4', '10*4=40'] Moving to Node #0,0,2 Current State: 10:[65, 59], Operations: ['81-16=65', '69-10=59'] Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 65*59=3835, Resulting Numbers: [3835] 3835,10 unequal: No Solution Exploring Operation: 65+59=124, Resulting Numbers: [124] 124,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[69, 55], Operations: ['81-16=65', '65-10=55'] Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,10 unequal: No Solution Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,10 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,10 unequal: No Solution Moving to Node #0,0,2,0 Current State: 10:[6], Operations: ['81-16=65', '69-10=59', '65-59=6'] Moving to Node #0,0,0,0 Current State: 10:[14], Operations: ['81-16=65', '65-10=55', '69-55=14'] Moving to Node #0,1,2 Current State: 10:[81, 43], Operations: ['69-16=53', '53-10=43'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,10 unequal: No Solution Exploring Operation: 81*43=3483, Resulting Numbers: [3483] 3483,10 unequal: No Solution Moving to Node #0,1,2,0 Current State: 10:[38], Operations: ['69-16=53', '53-10=43', '81-43=38'] Moving to Node #0,1,1 Current State: 10:[53, 71], Operations: ['69-16=53', '81-10=71'] Exploring Operation: 53*71=3763, Resulting Numbers: [3763] 3763,10 unequal: No Solution Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 53+71=124, Resulting Numbers: [124] 124,10 unequal: No Solution Moving to Node #0,0,2,0 Current State: 10:[124], Operations: ['81-16=65', '69-10=59', '65+59=124'] Moving to Node #0,1,1,0 Current State: 10:[18], Operations: ['69-16=53', '81-10=71', '71-53=18'] Moving to Node #0,0,0,0 Current State: 10:[124], Operations: ['81-16=65', '65-10=55', '69+55=124'] Moving to Node #0,1,2,0 Current State: 10:[124], Operations: ['69-16=53', '53-10=43', '81+43=124'] Moving to Node #0,1,1,0 Current State: 10:[124], Operations: ['69-16=53', '81-10=71', '53+71=124'] Moving to Node #0,1,0,0 Current State: 10:[280], Operations: ['69-16=53', '81-53=28', '10*28=280'] Moving to Node #0,1,2,0 Current State: 10:[3483], Operations: ['69-16=53', '53-10=43', '81*43=3483'] Moving to Node #0,1,1,0 Current State: 10:[3763], Operations: ['69-16=53', '81-10=71', '53*71=3763'] Moving to Node #0,0,0,0 Current State: 10:[3795], Operations: ['81-16=65', '65-10=55', '69*55=3795'] Moving to Node #0,0,2,0 Current State: 10:[3835], Operations: ['81-16=65', '69-10=59', '65*59=3835'] No solution found.
0
bfs_3
Current State: 10:[16, 10, 81, 69], Operations: [] Exploring Operation: 16*10=160, Resulting Numbers: [81, 69, 160] Generated Node #2: [81, 69, 160] from Operation: 16*10=160 Current State: 10:[81, 69, 160], Operations: ['16*10=160'] Exploring Operation: 81+69=150, Resulting Numbers: [160, 150] Generated Node #3: [160, 150] from Operation: 81+69=150 Current State: 10:[160, 150], Operations: ['16*10=160', '81+69=150'] Exploring Operation: 160-150=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
mult_heuristic
[ { "content": "Make 10 with the numbers [16, 10, 81, 69] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 10:[16, 10, 81, 69], Operations: []\nExploring Operation: 81-16=65, Resulting Numbers: [10, 69, 65]\nGenerated Node #0,0: 10:[10, 69, 65] Operation: 81-16=65\nExploring Operation: 69-16=53, Resulting Numbers: [10, 81, 53]\nGenerated Node #0,1: 10:[10, 81, 53] Operation: 69-16=53\nExploring Operation: 81-69=12, Resulting Numbers: [16, 10, 12]\nGenerated Node #0,2: 10:[16, 10, 12] Operation: 81-69=12\nMoving to Node #0,2\nCurrent State: 10:[16, 10, 12], Operations: ['81-69=12']\nExploring Operation: 16-10=6, Resulting Numbers: [12, 6]\nGenerated Node #0,2,0: 10:[12, 6] Operation: 16-10=6\nExploring Operation: 16-12=4, Resulting Numbers: [10, 4]\nGenerated Node #0,2,1: 10:[10, 4] Operation: 16-12=4\nExploring Operation: 12-10=2, Resulting Numbers: [16, 2]\nGenerated Node #0,2,2: 10:[16, 2] Operation: 12-10=2\nMoving to Node #0,0\nCurrent State: 10:[10, 69, 65], Operations: ['81-16=65']\nExploring Operation: 65-10=55, Resulting Numbers: [69, 55]\nGenerated Node #0,0,0: 10:[69, 55] Operation: 65-10=55\nExploring Operation: 69-65=4, Resulting Numbers: [10, 4]\nGenerated Node #0,0,1: 10:[10, 4] Operation: 69-65=4\nExploring Operation: 69-10=59, Resulting Numbers: [65, 59]\nGenerated Node #0,0,2: 10:[65, 59] Operation: 69-10=59\nMoving to Node #0,1\nCurrent State: 10:[10, 81, 53], Operations: ['69-16=53']\nExploring Operation: 81-53=28, Resulting Numbers: [10, 28]\nGenerated Node #0,1,0: 10:[10, 28] Operation: 81-53=28\nExploring Operation: 81-10=71, Resulting Numbers: [53, 71]\nGenerated Node #0,1,1: 10:[53, 71] Operation: 81-10=71\nExploring Operation: 53-10=43, Resulting Numbers: [81, 43]\nGenerated Node #0,1,2: 10:[81, 43] Operation: 53-10=43\nMoving to Node #0,2,1\nCurrent State: 10:[10, 4], Operations: ['81-69=12', '16-12=4']\nExploring Operation: 10-4=6, Resulting Numbers: [6]\n6,10 unequal: No Solution\nExploring Operation: 10+4=14, Resulting Numbers: [14]\n14,10 unequal: No Solution\nExploring Operation: 10*4=40, Resulting Numbers: [40]\n40,10 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 10:[10, 4], Operations: ['81-16=65', '69-65=4']\nExploring Operation: 10*4=40, Resulting Numbers: [40]\n40,10 unequal: No Solution\nExploring Operation: 10-4=6, Resulting Numbers: [6]\n6,10 unequal: No Solution\nExploring Operation: 10+4=14, Resulting Numbers: [14]\n14,10 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 10:[12, 6], Operations: ['81-69=12', '16-10=6']\nExploring Operation: 12-6=6, Resulting Numbers: [6]\n6,10 unequal: No Solution\nExploring Operation: 12+6=18, Resulting Numbers: [18]\n18,10 unequal: No Solution\nExploring Operation: 12/6=2, Resulting Numbers: [2]\n2,10 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 10:[2], Operations: ['81-69=12', '16-10=6', '12/6=2']\nMoving to Node #0,2,1,0\nCurrent State: 10:[6], Operations: ['81-69=12', '16-12=4', '10-4=6']\nMoving to Node #0,2,0,0\nCurrent State: 10:[6], Operations: ['81-69=12', '16-10=6', '12-6=6']\nMoving to Node #0,0,1,0\nCurrent State: 10:[6], Operations: ['81-16=65', '69-65=4', '10-4=6']\nMoving to Node #0,2,1,0\nCurrent State: 10:[14], Operations: ['81-69=12', '16-12=4', '10+4=14']\nMoving to Node #0,0,1,0\nCurrent State: 10:[14], Operations: ['81-16=65', '69-65=4', '10+4=14']\nMoving to Node #0,2,2\nCurrent State: 10:[16, 2], Operations: ['81-69=12', '12-10=2']\nExploring Operation: 16/2=8, Resulting Numbers: [8]\n8,10 unequal: No Solution\nExploring Operation: 16+2=18, Resulting Numbers: [18]\n18,10 unequal: No Solution\nExploring Operation: 16-2=14, Resulting Numbers: [14]\n14,10 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 10:[18], Operations: ['81-69=12', '16-10=6', '12+6=18']\nMoving to Node #0,1,0\nCurrent State: 10:[10, 28], Operations: ['69-16=53', '81-53=28']\nExploring Operation: 10+28=38, Resulting Numbers: [38]\n38,10 unequal: No Solution\nExploring Operation: 10*28=280, Resulting Numbers: [280]\n280,10 unequal: No Solution\nExploring Operation: 28-10=18, Resulting Numbers: [18]\n18,10 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 10:[8], Operations: ['81-69=12', '12-10=2', '16/2=8']\nMoving to Node #0,2,2,0\nCurrent State: 10:[14], Operations: ['81-69=12', '12-10=2', '16-2=14']\nMoving to Node #0,1,0,0\nCurrent State: 10:[18], Operations: ['69-16=53', '81-53=28', '28-10=18']\nMoving to Node #0,2,2,0\nCurrent State: 10:[18], Operations: ['81-69=12', '12-10=2', '16+2=18']\nMoving to Node #0,1,0,0\nCurrent State: 10:[38], Operations: ['69-16=53', '81-53=28', '10+28=38']\nMoving to Node #0,0,1,0\nCurrent State: 10:[40], Operations: ['81-16=65', '69-65=4', '10*4=40']\nMoving to Node #0,2,1,0\nCurrent State: 10:[40], Operations: ['81-69=12', '16-12=4', '10*4=40']\nMoving to Node #0,0,2\nCurrent State: 10:[65, 59], Operations: ['81-16=65', '69-10=59']\nExploring Operation: 65-59=6, Resulting Numbers: [6]\n6,10 unequal: No Solution\nExploring Operation: 65*59=3835, Resulting Numbers: [3835]\n3835,10 unequal: No Solution\nExploring Operation: 65+59=124, Resulting Numbers: [124]\n124,10 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 10:[69, 55], Operations: ['81-16=65', '65-10=55']\nExploring Operation: 69*55=3795, Resulting Numbers: [3795]\n3795,10 unequal: No Solution\nExploring Operation: 69+55=124, Resulting Numbers: [124]\n124,10 unequal: No Solution\nExploring Operation: 69-55=14, Resulting Numbers: [14]\n14,10 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 10:[6], Operations: ['81-16=65', '69-10=59', '65-59=6']\nMoving to Node #0,0,0,0\nCurrent State: 10:[14], Operations: ['81-16=65', '65-10=55', '69-55=14']\nMoving to Node #0,1,2\nCurrent State: 10:[81, 43], Operations: ['69-16=53', '53-10=43']\nExploring Operation: 81-43=38, Resulting Numbers: [38]\n38,10 unequal: No Solution\nExploring Operation: 81+43=124, Resulting Numbers: [124]\n124,10 unequal: No Solution\nExploring Operation: 81*43=3483, Resulting Numbers: [3483]\n3483,10 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 10:[38], Operations: ['69-16=53', '53-10=43', '81-43=38']\nMoving to Node #0,1,1\nCurrent State: 10:[53, 71], Operations: ['69-16=53', '81-10=71']\nExploring Operation: 53*71=3763, Resulting Numbers: [3763]\n3763,10 unequal: No Solution\nExploring Operation: 71-53=18, Resulting Numbers: [18]\n18,10 unequal: No Solution\nExploring Operation: 53+71=124, Resulting Numbers: [124]\n124,10 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 10:[124], Operations: ['81-16=65', '69-10=59', '65+59=124']\nMoving to Node #0,1,1,0\nCurrent State: 10:[18], Operations: ['69-16=53', '81-10=71', '71-53=18']\nMoving to Node #0,0,0,0\nCurrent State: 10:[124], Operations: ['81-16=65', '65-10=55', '69+55=124']\nMoving to Node #0,1,2,0\nCurrent State: 10:[124], Operations: ['69-16=53', '53-10=43', '81+43=124']\nMoving to Node #0,1,1,0\nCurrent State: 10:[124], Operations: ['69-16=53', '81-10=71', '53+71=124']\nMoving to Node #0,1,0,0\nCurrent State: 10:[280], Operations: ['69-16=53', '81-53=28', '10*28=280']\nMoving to Node #0,1,2,0\nCurrent State: 10:[3483], Operations: ['69-16=53', '53-10=43', '81*43=3483']\nMoving to Node #0,1,1,0\nCurrent State: 10:[3763], Operations: ['69-16=53', '81-10=71', '53*71=3763']\nMoving to Node #0,0,0,0\nCurrent State: 10:[3795], Operations: ['81-16=65', '65-10=55', '69*55=3795']\nMoving to Node #0,0,2,0\nCurrent State: 10:[3835], Operations: ['81-16=65', '69-10=59', '65*59=3835']\nNo solution found.", "role": "assistant" } ]
[ 35, 3, 7, 91 ]
76
[ "35*3=105", "105/7=15", "91-15=76" ]
Current State: 76:[35, 3, 7, 91], Operations: [] Exploring Operation: 3*7=21, Resulting Numbers: [35, 91, 21] Generated Node #0,0: 76:[35, 91, 21] Operation: 3*7=21 Moving to Node #0,0 Current State: 76:[35, 91, 21], Operations: ['3*7=21'] Exploring Operation: 35+21=56, Resulting Numbers: [91, 56] Generated Node #0,0,0: 76:[91, 56] Operation: 35+21=56 Moving to Node #0,0,0 Current State: 76:[91, 56], Operations: ['3*7=21', '35+21=56'] Exploring Operation: 91-56=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[91, 56], Operations: ['3*7=21', '35+21=56'] Exploring Operation: 91+56=147, Resulting Numbers: [147] 147,76 unequal: No Solution Moving to Node #0,0 Current State: 76:[35, 91, 21], Operations: ['3*7=21'] Exploring Operation: 91-21=70, Resulting Numbers: [35, 70] Generated Node #0,0,1: 76:[35, 70] Operation: 91-21=70 Moving to Node #0,0,1 Current State: 76:[35, 70], Operations: ['3*7=21', '91-21=70'] Exploring Operation: 35+70=105, Resulting Numbers: [105] 105,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[35, 70], Operations: ['3*7=21', '91-21=70'] Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[35, 70], Operations: ['3*7=21', '91-21=70'] Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,76 unequal: No Solution Moving to Node #0,0 Current State: 76:[35, 91, 21], Operations: ['3*7=21'] Exploring Operation: 91-35=56, Resulting Numbers: [21, 56] Generated Node #0,0,2: 76:[21, 56] Operation: 91-35=56 Moving to Node #0,0,2 Current State: 76:[21, 56], Operations: ['3*7=21', '91-35=56'] Exploring Operation: 21+56=77, Resulting Numbers: [77] 77,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[21, 56], Operations: ['3*7=21', '91-35=56'] Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,0 Current State: 76:[35, 91, 21], Operations: ['3*7=21'] Exploring Operation: 35-21=14, Resulting Numbers: [91, 14] Generated Node #0,0,3: 76:[91, 14] Operation: 35-21=14 Moving to Node #0,0,3 Current State: 76:[91, 14], Operations: ['3*7=21', '35-21=14'] Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[91, 14], Operations: ['3*7=21', '35-21=14'] Exploring Operation: 91+14=105, Resulting Numbers: [105] 105,76 unequal: No Solution Moving to Node #0,0 Current State: 76:[35, 91, 21], Operations: ['3*7=21'] Exploring Operation: 91+21=112, Resulting Numbers: [35, 112] Generated Node #0,0,4: 76:[35, 112] Operation: 91+21=112 Moving to Node #0,0,4 Current State: 76:[35, 112], Operations: ['3*7=21', '91+21=112'] Exploring Operation: 112-35=77, Resulting Numbers: [77] 77,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[35, 112], Operations: ['3*7=21', '91+21=112'] Exploring Operation: 35+112=147, Resulting Numbers: [147] 147,76 unequal: No Solution Moving to Node #0,0 Current State: 76:[35, 91, 21], Operations: ['3*7=21'] Exploring Operation: 35+91=126, Resulting Numbers: [21, 126] Generated Node #0,0,5: 76:[21, 126] Operation: 35+91=126 Moving to Node #0,0,5 Current State: 76:[21, 126], Operations: ['3*7=21', '35+91=126'] Exploring Operation: 126-21=105, Resulting Numbers: [105] 105,76 unequal: No Solution Moving to Node #0,0,5 Current State: 76:[21, 126], Operations: ['3*7=21', '35+91=126'] Exploring Operation: 126/21=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,0,5 Current State: 76:[21, 126], Operations: ['3*7=21', '35+91=126'] Exploring Operation: 21+126=147, Resulting Numbers: [147] 147,76 unequal: No Solution Moving to Node #0 Current State: 76:[35, 3, 7, 91], Operations: [] Exploring Operation: 35*3=105, Resulting Numbers: [7, 91, 105] Generated Node #0,1: 76:[7, 91, 105] Operation: 35*3=105 Moving to Node #0,1 Current State: 76:[7, 91, 105], Operations: ['35*3=105'] Exploring Operation: 91-7=84, Resulting Numbers: [105, 84] Generated Node #0,1,0: 76:[105, 84] Operation: 91-7=84 Moving to Node #0,1,0 Current State: 76:[105, 84], Operations: ['35*3=105', '91-7=84'] Exploring Operation: 105-84=21, Resulting Numbers: [21] 21,76 unequal: No Solution Moving to Node #0,1 Current State: 76:[7, 91, 105], Operations: ['35*3=105'] Exploring Operation: 105-7=98, Resulting Numbers: [91, 98] Generated Node #0,1,1: 76:[91, 98] Operation: 105-7=98 Moving to Node #0,1,1 Current State: 76:[91, 98], Operations: ['35*3=105', '105-7=98'] Exploring Operation: 98-91=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,1 Current State: 76:[7, 91, 105], Operations: ['35*3=105'] Exploring Operation: 7+91=98, Resulting Numbers: [105, 98] Generated Node #0,1,2: 76:[105, 98] Operation: 7+91=98 Moving to Node #0,1,2 Current State: 76:[105, 98], Operations: ['35*3=105', '7+91=98'] Exploring Operation: 105-98=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,1 Current State: 76:[7, 91, 105], Operations: ['35*3=105'] Exploring Operation: 7+105=112, Resulting Numbers: [91, 112] Generated Node #0,1,3: 76:[91, 112] Operation: 7+105=112 Moving to Node #0,1,3 Current State: 76:[91, 112], Operations: ['35*3=105', '7+105=112'] Exploring Operation: 112-91=21, Resulting Numbers: [21] 21,76 unequal: No Solution Moving to Node #0,1 Current State: 76:[7, 91, 105], Operations: ['35*3=105'] Exploring Operation: 105/7=15, Resulting Numbers: [91, 15] Generated Node #0,1,4: 76:[91, 15] Operation: 105/7=15 Moving to Node #0,1,4 Current State: 76:[91, 15], Operations: ['35*3=105', '105/7=15'] Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.971354
dfs
Current State: 76:[35, 3, 7, 91], Operations: [] Exploring Operation: 35*3=105, Resulting Numbers: [7, 91, 105] Generated Node #2: [7, 91, 105] from Operation: 35*3=105 Current State: 76:[7, 91, 105], Operations: ['35*3=105'] Exploring Operation: 105/7=15, Resulting Numbers: [91, 15] Generated Node #3: [91, 15] from Operation: 105/7=15 Current State: 76:[91, 15], Operations: ['35*3=105', '105/7=15'] Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
sum_heuristic
[ { "content": "Make 76 with the numbers [35, 3, 7, 91] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 76:[35, 3, 7, 91], Operations: []\nExploring Operation: 3*7=21, Resulting Numbers: [35, 91, 21]\nGenerated Node #0,0: 76:[35, 91, 21] Operation: 3*7=21\nMoving to Node #0,0\nCurrent State: 76:[35, 91, 21], Operations: ['3*7=21']\nExploring Operation: 35+21=56, Resulting Numbers: [91, 56]\nGenerated Node #0,0,0: 76:[91, 56] Operation: 35+21=56\nMoving to Node #0,0,0\nCurrent State: 76:[91, 56], Operations: ['3*7=21', '35+21=56']\nExploring Operation: 91-56=35, Resulting Numbers: [35]\n35,76 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 76:[91, 56], Operations: ['3*7=21', '35+21=56']\nExploring Operation: 91+56=147, Resulting Numbers: [147]\n147,76 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 76:[35, 91, 21], Operations: ['3*7=21']\nExploring Operation: 91-21=70, Resulting Numbers: [35, 70]\nGenerated Node #0,0,1: 76:[35, 70] Operation: 91-21=70\nMoving to Node #0,0,1\nCurrent State: 76:[35, 70], Operations: ['3*7=21', '91-21=70']\nExploring Operation: 35+70=105, Resulting Numbers: [105]\n105,76 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 76:[35, 70], Operations: ['3*7=21', '91-21=70']\nExploring Operation: 70-35=35, Resulting Numbers: [35]\n35,76 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 76:[35, 70], Operations: ['3*7=21', '91-21=70']\nExploring Operation: 70/35=2, Resulting Numbers: [2]\n2,76 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 76:[35, 91, 21], Operations: ['3*7=21']\nExploring Operation: 91-35=56, Resulting Numbers: [21, 56]\nGenerated Node #0,0,2: 76:[21, 56] Operation: 91-35=56\nMoving to Node #0,0,2\nCurrent State: 76:[21, 56], Operations: ['3*7=21', '91-35=56']\nExploring Operation: 21+56=77, Resulting Numbers: [77]\n77,76 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 76:[21, 56], Operations: ['3*7=21', '91-35=56']\nExploring Operation: 56-21=35, Resulting Numbers: [35]\n35,76 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 76:[35, 91, 21], Operations: ['3*7=21']\nExploring Operation: 35-21=14, Resulting Numbers: [91, 14]\nGenerated Node #0,0,3: 76:[91, 14] Operation: 35-21=14\nMoving to Node #0,0,3\nCurrent State: 76:[91, 14], Operations: ['3*7=21', '35-21=14']\nExploring Operation: 91-14=77, Resulting Numbers: [77]\n77,76 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 76:[91, 14], Operations: ['3*7=21', '35-21=14']\nExploring Operation: 91+14=105, Resulting Numbers: [105]\n105,76 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 76:[35, 91, 21], Operations: ['3*7=21']\nExploring Operation: 91+21=112, Resulting Numbers: [35, 112]\nGenerated Node #0,0,4: 76:[35, 112] Operation: 91+21=112\nMoving to Node #0,0,4\nCurrent State: 76:[35, 112], Operations: ['3*7=21', '91+21=112']\nExploring Operation: 112-35=77, Resulting Numbers: [77]\n77,76 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 76:[35, 112], Operations: ['3*7=21', '91+21=112']\nExploring Operation: 35+112=147, Resulting Numbers: [147]\n147,76 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 76:[35, 91, 21], Operations: ['3*7=21']\nExploring Operation: 35+91=126, Resulting Numbers: [21, 126]\nGenerated Node #0,0,5: 76:[21, 126] Operation: 35+91=126\nMoving to Node #0,0,5\nCurrent State: 76:[21, 126], Operations: ['3*7=21', '35+91=126']\nExploring Operation: 126-21=105, Resulting Numbers: [105]\n105,76 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 76:[21, 126], Operations: ['3*7=21', '35+91=126']\nExploring Operation: 126/21=6, Resulting Numbers: [6]\n6,76 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 76:[21, 126], Operations: ['3*7=21', '35+91=126']\nExploring Operation: 21+126=147, Resulting Numbers: [147]\n147,76 unequal: No Solution\nMoving to Node #0\nCurrent State: 76:[35, 3, 7, 91], Operations: []\nExploring Operation: 35*3=105, Resulting Numbers: [7, 91, 105]\nGenerated Node #0,1: 76:[7, 91, 105] Operation: 35*3=105\nMoving to Node #0,1\nCurrent State: 76:[7, 91, 105], Operations: ['35*3=105']\nExploring Operation: 91-7=84, Resulting Numbers: [105, 84]\nGenerated Node #0,1,0: 76:[105, 84] Operation: 91-7=84\nMoving to Node #0,1,0\nCurrent State: 76:[105, 84], Operations: ['35*3=105', '91-7=84']\nExploring Operation: 105-84=21, Resulting Numbers: [21]\n21,76 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 76:[7, 91, 105], Operations: ['35*3=105']\nExploring Operation: 105-7=98, Resulting Numbers: [91, 98]\nGenerated Node #0,1,1: 76:[91, 98] Operation: 105-7=98\nMoving to Node #0,1,1\nCurrent State: 76:[91, 98], Operations: ['35*3=105', '105-7=98']\nExploring Operation: 98-91=7, Resulting Numbers: [7]\n7,76 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 76:[7, 91, 105], Operations: ['35*3=105']\nExploring Operation: 7+91=98, Resulting Numbers: [105, 98]\nGenerated Node #0,1,2: 76:[105, 98] Operation: 7+91=98\nMoving to Node #0,1,2\nCurrent State: 76:[105, 98], Operations: ['35*3=105', '7+91=98']\nExploring Operation: 105-98=7, Resulting Numbers: [7]\n7,76 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 76:[7, 91, 105], Operations: ['35*3=105']\nExploring Operation: 7+105=112, Resulting Numbers: [91, 112]\nGenerated Node #0,1,3: 76:[91, 112] Operation: 7+105=112\nMoving to Node #0,1,3\nCurrent State: 76:[91, 112], Operations: ['35*3=105', '7+105=112']\nExploring Operation: 112-91=21, Resulting Numbers: [21]\n21,76 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 76:[7, 91, 105], Operations: ['35*3=105']\nExploring Operation: 105/7=15, Resulting Numbers: [91, 15]\nGenerated Node #0,1,4: 76:[91, 15] Operation: 105/7=15\nMoving to Node #0,1,4\nCurrent State: 76:[91, 15], Operations: ['35*3=105', '105/7=15']\nExploring Operation: 91-15=76, Resulting Numbers: [76]\n76,76 equal: Goal Reached\n", "role": "assistant" } ]
[ 19, 33, 74, 2 ]
69
[ "19*2=38", "33+74=107", "107-38=69" ]
Current State: 69:[19, 33, 74, 2], Operations: [] Exploring Operation: 33-19=14, Resulting Numbers: [74, 2, 14] Generated Node #0,0: 69:[74, 2, 14] Operation: 33-19=14 Exploring Operation: 33*2=66, Resulting Numbers: [19, 74, 66] Generated Node #0,1: 69:[19, 74, 66] Operation: 33*2=66 Exploring Operation: 33-2=31, Resulting Numbers: [19, 74, 31] Generated Node #0,2: 69:[19, 74, 31] Operation: 33-2=31 Exploring Operation: 74-2=72, Resulting Numbers: [19, 33, 72] Generated Node #0,3: 69:[19, 33, 72] Operation: 74-2=72 Exploring Operation: 19+2=21, Resulting Numbers: [33, 74, 21] Generated Node #0,4: 69:[33, 74, 21] Operation: 19+2=21 Moving to Node #0,1 Current State: 69:[19, 74, 66], Operations: ['33*2=66'] Exploring Operation: 19+74=93, Resulting Numbers: [66, 93] Generated Node #0,1,0: 69:[66, 93] Operation: 19+74=93 Exploring Operation: 74-19=55, Resulting Numbers: [66, 55] Generated Node #0,1,1: 69:[66, 55] Operation: 74-19=55 Exploring Operation: 74-66=8, Resulting Numbers: [19, 8] Generated Node #0,1,2: 69:[19, 8] Operation: 74-66=8 Exploring Operation: 19+66=85, Resulting Numbers: [74, 85] Generated Node #0,1,3: 69:[74, 85] Operation: 19+66=85 Exploring Operation: 66-19=47, Resulting Numbers: [74, 47] Generated Node #0,1,4: 69:[74, 47] Operation: 66-19=47 Moving to Node #0,0 Current State: 69:[74, 2, 14], Operations: ['33-19=14'] Exploring Operation: 2*14=28, Resulting Numbers: [74, 28] Generated Node #0,0,0: 69:[74, 28] Operation: 2*14=28 Exploring Operation: 74-14=60, Resulting Numbers: [2, 60] Generated Node #0,0,1: 69:[2, 60] Operation: 74-14=60 Exploring Operation: 2+14=16, Resulting Numbers: [74, 16] Generated Node #0,0,2: 69:[74, 16] Operation: 2+14=16 Exploring Operation: 74-2=72, Resulting Numbers: [14, 72] Generated Node #0,0,3: 69:[14, 72] Operation: 74-2=72 Exploring Operation: 14/2=7, Resulting Numbers: [74, 7] Generated Node #0,0,4: 69:[74, 7] Operation: 14/2=7 Moving to Node #0,2 Current State: 69:[19, 74, 31], Operations: ['33-2=31'] Exploring Operation: 19+74=93, Resulting Numbers: [31, 93] Generated Node #0,2,0: 69:[31, 93] Operation: 19+74=93 Exploring Operation: 74-31=43, Resulting Numbers: [19, 43] Generated Node #0,2,1: 69:[19, 43] Operation: 74-31=43 Exploring Operation: 74-19=55, Resulting Numbers: [31, 55] Generated Node #0,2,2: 69:[31, 55] Operation: 74-19=55 Exploring Operation: 31-19=12, Resulting Numbers: [74, 12] Generated Node #0,2,3: 69:[74, 12] Operation: 31-19=12 Exploring Operation: 19+31=50, Resulting Numbers: [74, 50] Generated Node #0,2,4: 69:[74, 50] Operation: 19+31=50 Moving to Node #0,3 Current State: 69:[19, 33, 72], Operations: ['74-2=72'] Exploring Operation: 19+72=91, Resulting Numbers: [33, 91] Generated Node #0,3,0: 69:[33, 91] Operation: 19+72=91 Exploring Operation: 72-19=53, Resulting Numbers: [33, 53] Generated Node #0,3,1: 69:[33, 53] Operation: 72-19=53 Exploring Operation: 19+33=52, Resulting Numbers: [72, 52] Generated Node #0,3,2: 69:[72, 52] Operation: 19+33=52 Exploring Operation: 33-19=14, Resulting Numbers: [72, 14] Generated Node #0,3,3: 69:[72, 14] Operation: 33-19=14 Exploring Operation: 72-33=39, Resulting Numbers: [19, 39] Generated Node #0,3,4: 69:[19, 39] Operation: 72-33=39 Moving to Node #0,4 Current State: 69:[33, 74, 21], Operations: ['19+2=21'] Exploring Operation: 74-33=41, Resulting Numbers: [21, 41] Generated Node #0,4,0: 69:[21, 41] Operation: 74-33=41 Exploring Operation: 33+21=54, Resulting Numbers: [74, 54] Generated Node #0,4,1: 69:[74, 54] Operation: 33+21=54 Exploring Operation: 74-21=53, Resulting Numbers: [33, 53] Generated Node #0,4,2: 69:[33, 53] Operation: 74-21=53 Exploring Operation: 74+21=95, Resulting Numbers: [33, 95] Generated Node #0,4,3: 69:[33, 95] Operation: 74+21=95 Exploring Operation: 33-21=12, Resulting Numbers: [74, 12] Generated Node #0,4,4: 69:[74, 12] Operation: 33-21=12 Moving to Node #0,1,2 Current State: 69:[19, 8], Operations: ['33*2=66', '74-66=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[74, 7], Operations: ['33-19=14', '14/2=7'] Exploring Operation: 74*7=518, Resulting Numbers: [518] 518,69 unequal: No Solution Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[74, 28], Operations: ['33-19=14', '2*14=28'] Exploring Operation: 74*28=2072, Resulting Numbers: [2072] 2072,69 unequal: No Solution Exploring Operation: 74+28=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[2, 60], Operations: ['33-19=14', '74-14=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[14, 72], Operations: ['33-19=14', '74-2=72'] Exploring Operation: 14+72=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 14*72=1008, Resulting Numbers: [1008] 1008,69 unequal: No Solution Moving to Node #0,0,4,0 Current State: 69:[67], Operations: ['33-19=14', '14/2=7', '74-7=67'] Moving to Node #0,1,2,0 Current State: 69:[27], Operations: ['33*2=66', '74-66=8', '19+8=27'] Moving to Node #0,0,1,0 Current State: 69:[62], Operations: ['33-19=14', '74-14=60', '2+60=62'] Moving to Node #0,0,1,0 Current State: 69:[30], Operations: ['33-19=14', '74-14=60', '60/2=30'] Moving to Node #0,1,2,0 Current State: 69:[11], Operations: ['33*2=66', '74-66=8', '19-8=11'] Moving to Node #0,0,1,0 Current State: 69:[58], Operations: ['33-19=14', '74-14=60', '60-2=58'] Moving to Node #0,0,3,0 Current State: 69:[58], Operations: ['33-19=14', '74-2=72', '72-14=58'] Moving to Node #0,0,4,0 Current State: 69:[81], Operations: ['33-19=14', '14/2=7', '74+7=81'] Moving to Node #0,0,2 Current State: 69:[74, 16], Operations: ['33-19=14', '2+14=16'] Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,69 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[72, 14], Operations: ['74-2=72', '33-19=14'] Exploring Operation: 72+14=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 72*14=1008, Resulting Numbers: [1008] 1008,69 unequal: No Solution Moving to Node #0,0,2,0 Current State: 69:[58], Operations: ['33-19=14', '2+14=16', '74-16=58'] Moving to Node #0,3,3,0 Current State: 69:[58], Operations: ['74-2=72', '33-19=14', '72-14=58'] Moving to Node #0,2,3 Current State: 69:[74, 12], Operations: ['33-2=31', '31-19=12'] Exploring Operation: 74+12=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 74*12=888, Resulting Numbers: [888] 888,69 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,69 unequal: No Solution Moving to Node #0,4,4 Current State: 69:[74, 12], Operations: ['19+2=21', '33-21=12'] Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 74+12=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 74*12=888, Resulting Numbers: [888] 888,69 unequal: No Solution Moving to Node #0,3,3,0 Current State: 69:[86], Operations: ['74-2=72', '33-19=14', '72+14=86'] Moving to Node #0,2,3,0 Current State: 69:[62], Operations: ['33-2=31', '31-19=12', '74-12=62'] Moving to Node #0,4,4,0 Current State: 69:[62], Operations: ['19+2=21', '33-21=12', '74-12=62'] Moving to Node #0,0,3,0 Current State: 69:[86], Operations: ['33-19=14', '74-2=72', '14+72=86'] Moving to Node #0,2,3,0 Current State: 69:[86], Operations: ['33-2=31', '31-19=12', '74+12=86'] Moving to Node #0,1,1 Current State: 69:[66, 55], Operations: ['33*2=66', '74-19=55'] Exploring Operation: 66-55=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 66*55=3630, Resulting Numbers: [3630] 3630,69 unequal: No Solution Exploring Operation: 66+55=121, Resulting Numbers: [121] 121,69 unequal: No Solution Moving to Node #0,1,1,0 Current State: 69:[11], Operations: ['33*2=66', '74-19=55', '66-55=11'] Moving to Node #0,4,4,0 Current State: 69:[86], Operations: ['19+2=21', '33-21=12', '74+12=86'] Moving to Node #0,4,1 Current State: 69:[74, 54], Operations: ['19+2=21', '33+21=54'] Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,69 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,69 unequal: No Solution Moving to Node #0,4,0 Current State: 69:[21, 41], Operations: ['19+2=21', '74-33=41'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 21*41=861, Resulting Numbers: [861] 861,69 unequal: No Solution Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,69 unequal: No Solution Moving to Node #0,3,4 Current State: 69:[19, 39], Operations: ['74-2=72', '72-33=39'] Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,69 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,69 unequal: No Solution Moving to Node #0,4,1,0 Current State: 69:[20], Operations: ['19+2=21', '33+21=54', '74-54=20'] Moving to Node #0,4,0,0 Current State: 69:[20], Operations: ['19+2=21', '74-33=41', '41-21=20'] Moving to Node #0,3,4,0 Current State: 69:[20], Operations: ['74-2=72', '72-33=39', '39-19=20'] Moving to Node #0,4,0,0 Current State: 69:[62], Operations: ['19+2=21', '74-33=41', '21+41=62'] Moving to Node #0,3,4,0 Current State: 69:[58], Operations: ['74-2=72', '72-33=39', '19+39=58'] Moving to Node #0,3,2 Current State: 69:[72, 52], Operations: ['74-2=72', '19+33=52'] Exploring Operation: 72*52=3744, Resulting Numbers: [3744] 3744,69 unequal: No Solution Exploring Operation: 72+52=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,69 unequal: No Solution Moving to Node #0,0,2,0 Current State: 69:[90], Operations: ['33-19=14', '2+14=16', '74+16=90'] Moving to Node #0,1,3 Current State: 69:[74, 85], Operations: ['33*2=66', '19+66=85'] Exploring Operation: 74*85=6290, Resulting Numbers: [6290] 6290,69 unequal: No Solution Exploring Operation: 74+85=159, Resulting Numbers: [159] 159,69 unequal: No Solution Exploring Operation: 85-74=11, Resulting Numbers: [11] 11,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[31, 55], Operations: ['33-2=31', '74-19=55'] Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,69 unequal: No Solution Moving to Node #0,0,0,0 Current State: 69:[46], Operations: ['33-19=14', '2*14=28', '74-28=46'] Moving to Node #0,2,2,0 Current State: 69:[24], Operations: ['33-2=31', '74-19=55', '55-31=24'] Moving to Node #0,3,2,0 Current State: 69:[20], Operations: ['74-2=72', '19+33=52', '72-52=20'] Moving to Node #0,1,3,0 Current State: 69:[11], Operations: ['33*2=66', '19+66=85', '85-74=11'] Moving to Node #0,2,2,0 Current State: 69:[86], Operations: ['33-2=31', '74-19=55', '31+55=86'] Moving to Node #0,2,4 Current State: 69:[74, 50], Operations: ['33-2=31', '19+31=50'] Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,69 unequal: No Solution Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,69 unequal: No Solution Moving to Node #0,2,4,0 Current State: 69:[24], Operations: ['33-2=31', '19+31=50', '74-50=24'] Moving to Node #0,2,1 Current State: 69:[19, 43], Operations: ['33-2=31', '74-31=43'] Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,69 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,69 unequal: No Solution Moving to Node #0,4,2 Current State: 69:[33, 53], Operations: ['19+2=21', '74-21=53'] Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,69 unequal: No Solution Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[33, 53], Operations: ['74-2=72', '72-19=53'] Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,69 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[66, 93], Operations: ['33*2=66', '19+74=93'] Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 66+93=159, Resulting Numbers: [159] 159,69 unequal: No Solution Exploring Operation: 66*93=6138, Resulting Numbers: [6138] 6138,69 unequal: No Solution Moving to Node #0,2,1,0 Current State: 69:[24], Operations: ['33-2=31', '74-31=43', '43-19=24'] Moving to Node #0,4,2,0 Current State: 69:[20], Operations: ['19+2=21', '74-21=53', '53-33=20'] Moving to Node #0,3,1,0 Current State: 69:[20], Operations: ['74-2=72', '72-19=53', '53-33=20'] Moving to Node #0,1,0,0 Current State: 69:[27], Operations: ['33*2=66', '19+74=93', '93-66=27'] Moving to Node #0,2,1,0 Current State: 69:[62], Operations: ['33-2=31', '74-31=43', '19+43=62'] Moving to Node #0,4,2,0 Current State: 69:[86], Operations: ['19+2=21', '74-21=53', '33+53=86'] Moving to Node #0,3,1,0 Current State: 69:[86], Operations: ['74-2=72', '72-19=53', '33+53=86'] Moving to Node #0,1,4 Current State: 69:[74, 47], Operations: ['33*2=66', '66-19=47'] Exploring Operation: 74+47=121, Resulting Numbers: [121] 121,69 unequal: No Solution Exploring Operation: 74*47=3478, Resulting Numbers: [3478] 3478,69 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[31, 93], Operations: ['33-2=31', '19+74=93'] Exploring Operation: 31*93=2883, Resulting Numbers: [2883] 2883,69 unequal: No Solution Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 31+93=124, Resulting Numbers: [124] 124,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[33, 91], Operations: ['74-2=72', '19+72=91'] Exploring Operation: 33+91=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 33*91=3003, Resulting Numbers: [3003] 3003,69 unequal: No Solution Exploring Operation: 91-33=58, Resulting Numbers: [58] 58,69 unequal: No Solution Moving to Node #0,2,0,0 Current State: 69:[3], Operations: ['33-2=31', '19+74=93', '93/31=3'] Moving to Node #0,1,4,0 Current State: 69:[27], Operations: ['33*2=66', '66-19=47', '74-47=27'] Moving to Node #0,2,0,0 Current State: 69:[62], Operations: ['33-2=31', '19+74=93', '93-31=62'] Moving to Node #0,3,0,0 Current State: 69:[58], Operations: ['74-2=72', '19+72=91', '91-33=58'] Moving to Node #0,0,0,0 Current State: 69:[102], Operations: ['33-19=14', '2*14=28', '74+28=102'] Moving to Node #0,4,3 Current State: 69:[33, 95], Operations: ['19+2=21', '74+21=95'] Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 33+95=128, Resulting Numbers: [128] 128,69 unequal: No Solution Exploring Operation: 33*95=3135, Resulting Numbers: [3135] 3135,69 unequal: No Solution Moving to Node #0,0,1,0 Current State: 69:[120], Operations: ['33-19=14', '74-14=60', '2*60=120'] Moving to Node #0,1,1,0 Current State: 69:[121], Operations: ['33*2=66', '74-19=55', '66+55=121'] Moving to Node #0,1,4,0 Current State: 69:[121], Operations: ['33*2=66', '66-19=47', '74+47=121'] Moving to Node #0,2,4,0 Current State: 69:[124], Operations: ['33-2=31', '19+31=50', '74+50=124'] Moving to Node #0,4,3,0 Current State: 69:[62], Operations: ['19+2=21', '74+21=95', '95-33=62'] Moving to Node #0,3,2,0 Current State: 69:[124], Operations: ['74-2=72', '19+33=52', '72+52=124'] Moving to Node #0,3,0,0 Current State: 69:[124], Operations: ['74-2=72', '19+72=91', '33+91=124'] Moving to Node #0,2,0,0 Current State: 69:[124], Operations: ['33-2=31', '19+74=93', '31+93=124'] Moving to Node #0,4,1,0 Current State: 69:[128], Operations: ['19+2=21', '33+21=54', '74+54=128'] Moving to Node #0,4,3,0 Current State: 69:[128], Operations: ['19+2=21', '74+21=95', '33+95=128'] Moving to Node #0,1,2,0 Current State: 69:[152], Operations: ['33*2=66', '74-66=8', '19*8=152'] Moving to Node #0,1,3,0 Current State: 69:[159], Operations: ['33*2=66', '19+66=85', '74+85=159'] Moving to Node #0,1,0,0 Current State: 69:[159], Operations: ['33*2=66', '19+74=93', '66+93=159'] Moving to Node #0,0,4,0 Current State: 69:[518], Operations: ['33-19=14', '14/2=7', '74*7=518'] Moving to Node #0,3,4,0 Current State: 69:[741], Operations: ['74-2=72', '72-33=39', '19*39=741'] Moving to Node #0,2,1,0 Current State: 69:[817], Operations: ['33-2=31', '74-31=43', '19*43=817'] Moving to Node #0,4,0,0 Current State: 69:[861], Operations: ['19+2=21', '74-33=41', '21*41=861'] Moving to Node #0,2,3,0 Current State: 69:[888], Operations: ['33-2=31', '31-19=12', '74*12=888'] Moving to Node #0,4,4,0 Current State: 69:[888], Operations: ['19+2=21', '33-21=12', '74*12=888'] Moving to Node #0,0,3,0 Current State: 69:[1008], Operations: ['33-19=14', '74-2=72', '14*72=1008'] Moving to Node #0,3,3,0 Current State: 69:[1008], Operations: ['74-2=72', '33-19=14', '72*14=1008'] Moving to Node #0,0,2,0 Current State: 69:[1184], Operations: ['33-19=14', '2+14=16', '74*16=1184'] Moving to Node #0,2,2,0 Current State: 69:[1705], Operations: ['33-2=31', '74-19=55', '31*55=1705'] Moving to Node #0,4,2,0 Current State: 69:[1749], Operations: ['19+2=21', '74-21=53', '33*53=1749'] Moving to Node #0,3,1,0 Current State: 69:[1749], Operations: ['74-2=72', '72-19=53', '33*53=1749'] Moving to Node #0,0,0,0 Current State: 69:[2072], Operations: ['33-19=14', '2*14=28', '74*28=2072'] Moving to Node #0,2,0,0 Current State: 69:[2883], Operations: ['33-2=31', '19+74=93', '31*93=2883'] Moving to Node #0,3,0,0 Current State: 69:[3003], Operations: ['74-2=72', '19+72=91', '33*91=3003'] Moving to Node #0,4,3,0 Current State: 69:[3135], Operations: ['19+2=21', '74+21=95', '33*95=3135'] Moving to Node #0,1,4,0 Current State: 69:[3478], Operations: ['33*2=66', '66-19=47', '74*47=3478'] Moving to Node #0,1,1,0 Current State: 69:[3630], Operations: ['33*2=66', '74-19=55', '66*55=3630'] Moving to Node #0,2,4,0 Current State: 69:[3700], Operations: ['33-2=31', '19+31=50', '74*50=3700'] Moving to Node #0,3,2,0 Current State: 69:[3744], Operations: ['74-2=72', '19+33=52', '72*52=3744'] Moving to Node #0,4,1,0 Current State: 69:[3996], Operations: ['19+2=21', '33+21=54', '74*54=3996'] Moving to Node #0,1,0,0 Current State: 69:[6138], Operations: ['33*2=66', '19+74=93', '66*93=6138'] Moving to Node #0,1,3,0 Current State: 69:[6290], Operations: ['33*2=66', '19+66=85', '74*85=6290'] No solution found.
0
bfs_5
Current State: 69:[19, 33, 74, 2], Operations: [] Exploring Operation: 19*2=38, Resulting Numbers: [33, 74, 38] Generated Node #2: [33, 74, 38] from Operation: 19*2=38 Current State: 69:[33, 74, 38], Operations: ['19*2=38'] Exploring Operation: 33+74=107, Resulting Numbers: [38, 107] Generated Node #3: [38, 107] from Operation: 33+74=107 Current State: 69:[38, 107], Operations: ['19*2=38', '33+74=107'] Exploring Operation: 107-38=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
mult_heuristic
[ { "content": "Make 69 with the numbers [19, 33, 74, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 69:[19, 33, 74, 2], Operations: []\nExploring Operation: 33-19=14, Resulting Numbers: [74, 2, 14]\nGenerated Node #0,0: 69:[74, 2, 14] Operation: 33-19=14\nExploring Operation: 33*2=66, Resulting Numbers: [19, 74, 66]\nGenerated Node #0,1: 69:[19, 74, 66] Operation: 33*2=66\nExploring Operation: 33-2=31, Resulting Numbers: [19, 74, 31]\nGenerated Node #0,2: 69:[19, 74, 31] Operation: 33-2=31\nExploring Operation: 74-2=72, Resulting Numbers: [19, 33, 72]\nGenerated Node #0,3: 69:[19, 33, 72] Operation: 74-2=72\nExploring Operation: 19+2=21, Resulting Numbers: [33, 74, 21]\nGenerated Node #0,4: 69:[33, 74, 21] Operation: 19+2=21\nMoving to Node #0,1\nCurrent State: 69:[19, 74, 66], Operations: ['33*2=66']\nExploring Operation: 19+74=93, Resulting Numbers: [66, 93]\nGenerated Node #0,1,0: 69:[66, 93] Operation: 19+74=93\nExploring Operation: 74-19=55, Resulting Numbers: [66, 55]\nGenerated Node #0,1,1: 69:[66, 55] Operation: 74-19=55\nExploring Operation: 74-66=8, Resulting Numbers: [19, 8]\nGenerated Node #0,1,2: 69:[19, 8] Operation: 74-66=8\nExploring Operation: 19+66=85, Resulting Numbers: [74, 85]\nGenerated Node #0,1,3: 69:[74, 85] Operation: 19+66=85\nExploring Operation: 66-19=47, Resulting Numbers: [74, 47]\nGenerated Node #0,1,4: 69:[74, 47] Operation: 66-19=47\nMoving to Node #0,0\nCurrent State: 69:[74, 2, 14], Operations: ['33-19=14']\nExploring Operation: 2*14=28, Resulting Numbers: [74, 28]\nGenerated Node #0,0,0: 69:[74, 28] Operation: 2*14=28\nExploring Operation: 74-14=60, Resulting Numbers: [2, 60]\nGenerated Node #0,0,1: 69:[2, 60] Operation: 74-14=60\nExploring Operation: 2+14=16, Resulting Numbers: [74, 16]\nGenerated Node #0,0,2: 69:[74, 16] Operation: 2+14=16\nExploring Operation: 74-2=72, Resulting Numbers: [14, 72]\nGenerated Node #0,0,3: 69:[14, 72] Operation: 74-2=72\nExploring Operation: 14/2=7, Resulting Numbers: [74, 7]\nGenerated Node #0,0,4: 69:[74, 7] Operation: 14/2=7\nMoving to Node #0,2\nCurrent State: 69:[19, 74, 31], Operations: ['33-2=31']\nExploring Operation: 19+74=93, Resulting Numbers: [31, 93]\nGenerated Node #0,2,0: 69:[31, 93] Operation: 19+74=93\nExploring Operation: 74-31=43, Resulting Numbers: [19, 43]\nGenerated Node #0,2,1: 69:[19, 43] Operation: 74-31=43\nExploring Operation: 74-19=55, Resulting Numbers: [31, 55]\nGenerated Node #0,2,2: 69:[31, 55] Operation: 74-19=55\nExploring Operation: 31-19=12, Resulting Numbers: [74, 12]\nGenerated Node #0,2,3: 69:[74, 12] Operation: 31-19=12\nExploring Operation: 19+31=50, Resulting Numbers: [74, 50]\nGenerated Node #0,2,4: 69:[74, 50] Operation: 19+31=50\nMoving to Node #0,3\nCurrent State: 69:[19, 33, 72], Operations: ['74-2=72']\nExploring Operation: 19+72=91, Resulting Numbers: [33, 91]\nGenerated Node #0,3,0: 69:[33, 91] Operation: 19+72=91\nExploring Operation: 72-19=53, Resulting Numbers: [33, 53]\nGenerated Node #0,3,1: 69:[33, 53] Operation: 72-19=53\nExploring Operation: 19+33=52, Resulting Numbers: [72, 52]\nGenerated Node #0,3,2: 69:[72, 52] Operation: 19+33=52\nExploring Operation: 33-19=14, Resulting Numbers: [72, 14]\nGenerated Node #0,3,3: 69:[72, 14] Operation: 33-19=14\nExploring Operation: 72-33=39, Resulting Numbers: [19, 39]\nGenerated Node #0,3,4: 69:[19, 39] Operation: 72-33=39\nMoving to Node #0,4\nCurrent State: 69:[33, 74, 21], Operations: ['19+2=21']\nExploring Operation: 74-33=41, Resulting Numbers: [21, 41]\nGenerated Node #0,4,0: 69:[21, 41] Operation: 74-33=41\nExploring Operation: 33+21=54, Resulting Numbers: [74, 54]\nGenerated Node #0,4,1: 69:[74, 54] Operation: 33+21=54\nExploring Operation: 74-21=53, Resulting Numbers: [33, 53]\nGenerated Node #0,4,2: 69:[33, 53] Operation: 74-21=53\nExploring Operation: 74+21=95, Resulting Numbers: [33, 95]\nGenerated Node #0,4,3: 69:[33, 95] Operation: 74+21=95\nExploring Operation: 33-21=12, Resulting Numbers: [74, 12]\nGenerated Node #0,4,4: 69:[74, 12] Operation: 33-21=12\nMoving to Node #0,1,2\nCurrent State: 69:[19, 8], Operations: ['33*2=66', '74-66=8']\nExploring Operation: 19-8=11, Resulting Numbers: [11]\n11,69 unequal: No Solution\nExploring Operation: 19+8=27, Resulting Numbers: [27]\n27,69 unequal: No Solution\nExploring Operation: 19*8=152, Resulting Numbers: [152]\n152,69 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 69:[74, 7], Operations: ['33-19=14', '14/2=7']\nExploring Operation: 74*7=518, Resulting Numbers: [518]\n518,69 unequal: No Solution\nExploring Operation: 74+7=81, Resulting Numbers: [81]\n81,69 unequal: No Solution\nExploring Operation: 74-7=67, Resulting Numbers: [67]\n67,69 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 69:[74, 28], Operations: ['33-19=14', '2*14=28']\nExploring Operation: 74*28=2072, Resulting Numbers: [2072]\n2072,69 unequal: No Solution\nExploring Operation: 74+28=102, Resulting Numbers: [102]\n102,69 unequal: No Solution\nExploring Operation: 74-28=46, Resulting Numbers: [46]\n46,69 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 69:[2, 60], Operations: ['33-19=14', '74-14=60']\nExploring Operation: 2+60=62, Resulting Numbers: [62]\n62,69 unequal: No Solution\nExploring Operation: 60/2=30, Resulting Numbers: [30]\n30,69 unequal: No Solution\nExploring Operation: 60-2=58, Resulting Numbers: [58]\n58,69 unequal: No Solution\nExploring Operation: 2*60=120, Resulting Numbers: [120]\n120,69 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 69:[14, 72], Operations: ['33-19=14', '74-2=72']\nExploring Operation: 14+72=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nExploring Operation: 72-14=58, Resulting Numbers: [58]\n58,69 unequal: No Solution\nExploring Operation: 14*72=1008, Resulting Numbers: [1008]\n1008,69 unequal: No Solution\nMoving to Node #0,0,4,0\nCurrent State: 69:[67], Operations: ['33-19=14', '14/2=7', '74-7=67']\nMoving to Node #0,1,2,0\nCurrent State: 69:[27], Operations: ['33*2=66', '74-66=8', '19+8=27']\nMoving to Node #0,0,1,0\nCurrent State: 69:[62], Operations: ['33-19=14', '74-14=60', '2+60=62']\nMoving to Node #0,0,1,0\nCurrent State: 69:[30], Operations: ['33-19=14', '74-14=60', '60/2=30']\nMoving to Node #0,1,2,0\nCurrent State: 69:[11], Operations: ['33*2=66', '74-66=8', '19-8=11']\nMoving to Node #0,0,1,0\nCurrent State: 69:[58], Operations: ['33-19=14', '74-14=60', '60-2=58']\nMoving to Node #0,0,3,0\nCurrent State: 69:[58], Operations: ['33-19=14', '74-2=72', '72-14=58']\nMoving to Node #0,0,4,0\nCurrent State: 69:[81], Operations: ['33-19=14', '14/2=7', '74+7=81']\nMoving to Node #0,0,2\nCurrent State: 69:[74, 16], Operations: ['33-19=14', '2+14=16']\nExploring Operation: 74*16=1184, Resulting Numbers: [1184]\n1184,69 unequal: No Solution\nExploring Operation: 74-16=58, Resulting Numbers: [58]\n58,69 unequal: No Solution\nExploring Operation: 74+16=90, Resulting Numbers: [90]\n90,69 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 69:[72, 14], Operations: ['74-2=72', '33-19=14']\nExploring Operation: 72+14=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nExploring Operation: 72-14=58, Resulting Numbers: [58]\n58,69 unequal: No Solution\nExploring Operation: 72*14=1008, Resulting Numbers: [1008]\n1008,69 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 69:[58], Operations: ['33-19=14', '2+14=16', '74-16=58']\nMoving to Node #0,3,3,0\nCurrent State: 69:[58], Operations: ['74-2=72', '33-19=14', '72-14=58']\nMoving to Node #0,2,3\nCurrent State: 69:[74, 12], Operations: ['33-2=31', '31-19=12']\nExploring Operation: 74+12=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nExploring Operation: 74*12=888, Resulting Numbers: [888]\n888,69 unequal: No Solution\nExploring Operation: 74-12=62, Resulting Numbers: [62]\n62,69 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 69:[74, 12], Operations: ['19+2=21', '33-21=12']\nExploring Operation: 74-12=62, Resulting Numbers: [62]\n62,69 unequal: No Solution\nExploring Operation: 74+12=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nExploring Operation: 74*12=888, Resulting Numbers: [888]\n888,69 unequal: No Solution\nMoving to Node #0,3,3,0\nCurrent State: 69:[86], Operations: ['74-2=72', '33-19=14', '72+14=86']\nMoving to Node #0,2,3,0\nCurrent State: 69:[62], Operations: ['33-2=31', '31-19=12', '74-12=62']\nMoving to Node #0,4,4,0\nCurrent State: 69:[62], Operations: ['19+2=21', '33-21=12', '74-12=62']\nMoving to Node #0,0,3,0\nCurrent State: 69:[86], Operations: ['33-19=14', '74-2=72', '14+72=86']\nMoving to Node #0,2,3,0\nCurrent State: 69:[86], Operations: ['33-2=31', '31-19=12', '74+12=86']\nMoving to Node #0,1,1\nCurrent State: 69:[66, 55], Operations: ['33*2=66', '74-19=55']\nExploring Operation: 66-55=11, Resulting Numbers: [11]\n11,69 unequal: No Solution\nExploring Operation: 66*55=3630, Resulting Numbers: [3630]\n3630,69 unequal: No Solution\nExploring Operation: 66+55=121, Resulting Numbers: [121]\n121,69 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 69:[11], Operations: ['33*2=66', '74-19=55', '66-55=11']\nMoving to Node #0,4,4,0\nCurrent State: 69:[86], Operations: ['19+2=21', '33-21=12', '74+12=86']\nMoving to Node #0,4,1\nCurrent State: 69:[74, 54], Operations: ['19+2=21', '33+21=54']\nExploring Operation: 74*54=3996, Resulting Numbers: [3996]\n3996,69 unequal: No Solution\nExploring Operation: 74-54=20, Resulting Numbers: [20]\n20,69 unequal: No Solution\nExploring Operation: 74+54=128, Resulting Numbers: [128]\n128,69 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 69:[21, 41], Operations: ['19+2=21', '74-33=41']\nExploring Operation: 41-21=20, Resulting Numbers: [20]\n20,69 unequal: No Solution\nExploring Operation: 21*41=861, Resulting Numbers: [861]\n861,69 unequal: No Solution\nExploring Operation: 21+41=62, Resulting Numbers: [62]\n62,69 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 69:[19, 39], Operations: ['74-2=72', '72-33=39']\nExploring Operation: 19+39=58, Resulting Numbers: [58]\n58,69 unequal: No Solution\nExploring Operation: 19*39=741, Resulting Numbers: [741]\n741,69 unequal: No Solution\nExploring Operation: 39-19=20, Resulting Numbers: [20]\n20,69 unequal: No Solution\nMoving to Node #0,4,1,0\nCurrent State: 69:[20], Operations: ['19+2=21', '33+21=54', '74-54=20']\nMoving to Node #0,4,0,0\nCurrent State: 69:[20], Operations: ['19+2=21', '74-33=41', '41-21=20']\nMoving to Node #0,3,4,0\nCurrent State: 69:[20], Operations: ['74-2=72', '72-33=39', '39-19=20']\nMoving to Node #0,4,0,0\nCurrent State: 69:[62], Operations: ['19+2=21', '74-33=41', '21+41=62']\nMoving to Node #0,3,4,0\nCurrent State: 69:[58], Operations: ['74-2=72', '72-33=39', '19+39=58']\nMoving to Node #0,3,2\nCurrent State: 69:[72, 52], Operations: ['74-2=72', '19+33=52']\nExploring Operation: 72*52=3744, Resulting Numbers: [3744]\n3744,69 unequal: No Solution\nExploring Operation: 72+52=124, Resulting Numbers: [124]\n124,69 unequal: No Solution\nExploring Operation: 72-52=20, Resulting Numbers: [20]\n20,69 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 69:[90], Operations: ['33-19=14', '2+14=16', '74+16=90']\nMoving to Node #0,1,3\nCurrent State: 69:[74, 85], Operations: ['33*2=66', '19+66=85']\nExploring Operation: 74*85=6290, Resulting Numbers: [6290]\n6290,69 unequal: No Solution\nExploring Operation: 74+85=159, Resulting Numbers: [159]\n159,69 unequal: No Solution\nExploring Operation: 85-74=11, Resulting Numbers: [11]\n11,69 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 69:[31, 55], Operations: ['33-2=31', '74-19=55']\nExploring Operation: 31+55=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nExploring Operation: 55-31=24, Resulting Numbers: [24]\n24,69 unequal: No Solution\nExploring Operation: 31*55=1705, Resulting Numbers: [1705]\n1705,69 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 69:[46], Operations: ['33-19=14', '2*14=28', '74-28=46']\nMoving to Node #0,2,2,0\nCurrent State: 69:[24], Operations: ['33-2=31', '74-19=55', '55-31=24']\nMoving to Node #0,3,2,0\nCurrent State: 69:[20], Operations: ['74-2=72', '19+33=52', '72-52=20']\nMoving to Node #0,1,3,0\nCurrent State: 69:[11], Operations: ['33*2=66', '19+66=85', '85-74=11']\nMoving to Node #0,2,2,0\nCurrent State: 69:[86], Operations: ['33-2=31', '74-19=55', '31+55=86']\nMoving to Node #0,2,4\nCurrent State: 69:[74, 50], Operations: ['33-2=31', '19+31=50']\nExploring Operation: 74-50=24, Resulting Numbers: [24]\n24,69 unequal: No Solution\nExploring Operation: 74*50=3700, Resulting Numbers: [3700]\n3700,69 unequal: No Solution\nExploring Operation: 74+50=124, Resulting Numbers: [124]\n124,69 unequal: No Solution\nMoving to Node #0,2,4,0\nCurrent State: 69:[24], Operations: ['33-2=31', '19+31=50', '74-50=24']\nMoving to Node #0,2,1\nCurrent State: 69:[19, 43], Operations: ['33-2=31', '74-31=43']\nExploring Operation: 19*43=817, Resulting Numbers: [817]\n817,69 unequal: No Solution\nExploring Operation: 19+43=62, Resulting Numbers: [62]\n62,69 unequal: No Solution\nExploring Operation: 43-19=24, Resulting Numbers: [24]\n24,69 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 69:[33, 53], Operations: ['19+2=21', '74-21=53']\nExploring Operation: 33*53=1749, Resulting Numbers: [1749]\n1749,69 unequal: No Solution\nExploring Operation: 33+53=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nExploring Operation: 53-33=20, Resulting Numbers: [20]\n20,69 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 69:[33, 53], Operations: ['74-2=72', '72-19=53']\nExploring Operation: 33*53=1749, Resulting Numbers: [1749]\n1749,69 unequal: No Solution\nExploring Operation: 53-33=20, Resulting Numbers: [20]\n20,69 unequal: No Solution\nExploring Operation: 33+53=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 69:[66, 93], Operations: ['33*2=66', '19+74=93']\nExploring Operation: 93-66=27, Resulting Numbers: [27]\n27,69 unequal: No Solution\nExploring Operation: 66+93=159, Resulting Numbers: [159]\n159,69 unequal: No Solution\nExploring Operation: 66*93=6138, Resulting Numbers: [6138]\n6138,69 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 69:[24], Operations: ['33-2=31', '74-31=43', '43-19=24']\nMoving to Node #0,4,2,0\nCurrent State: 69:[20], Operations: ['19+2=21', '74-21=53', '53-33=20']\nMoving to Node #0,3,1,0\nCurrent State: 69:[20], Operations: ['74-2=72', '72-19=53', '53-33=20']\nMoving to Node #0,1,0,0\nCurrent State: 69:[27], Operations: ['33*2=66', '19+74=93', '93-66=27']\nMoving to Node #0,2,1,0\nCurrent State: 69:[62], Operations: ['33-2=31', '74-31=43', '19+43=62']\nMoving to Node #0,4,2,0\nCurrent State: 69:[86], Operations: ['19+2=21', '74-21=53', '33+53=86']\nMoving to Node #0,3,1,0\nCurrent State: 69:[86], Operations: ['74-2=72', '72-19=53', '33+53=86']\nMoving to Node #0,1,4\nCurrent State: 69:[74, 47], Operations: ['33*2=66', '66-19=47']\nExploring Operation: 74+47=121, Resulting Numbers: [121]\n121,69 unequal: No Solution\nExploring Operation: 74*47=3478, Resulting Numbers: [3478]\n3478,69 unequal: No Solution\nExploring Operation: 74-47=27, Resulting Numbers: [27]\n27,69 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 69:[31, 93], Operations: ['33-2=31', '19+74=93']\nExploring Operation: 31*93=2883, Resulting Numbers: [2883]\n2883,69 unequal: No Solution\nExploring Operation: 93/31=3, Resulting Numbers: [3]\n3,69 unequal: No Solution\nExploring Operation: 93-31=62, Resulting Numbers: [62]\n62,69 unequal: No Solution\nExploring Operation: 31+93=124, Resulting Numbers: [124]\n124,69 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 69:[33, 91], Operations: ['74-2=72', '19+72=91']\nExploring Operation: 33+91=124, Resulting Numbers: [124]\n124,69 unequal: No Solution\nExploring Operation: 33*91=3003, Resulting Numbers: [3003]\n3003,69 unequal: No Solution\nExploring Operation: 91-33=58, Resulting Numbers: [58]\n58,69 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 69:[3], Operations: ['33-2=31', '19+74=93', '93/31=3']\nMoving to Node #0,1,4,0\nCurrent State: 69:[27], Operations: ['33*2=66', '66-19=47', '74-47=27']\nMoving to Node #0,2,0,0\nCurrent State: 69:[62], Operations: ['33-2=31', '19+74=93', '93-31=62']\nMoving to Node #0,3,0,0\nCurrent State: 69:[58], Operations: ['74-2=72', '19+72=91', '91-33=58']\nMoving to Node #0,0,0,0\nCurrent State: 69:[102], Operations: ['33-19=14', '2*14=28', '74+28=102']\nMoving to Node #0,4,3\nCurrent State: 69:[33, 95], Operations: ['19+2=21', '74+21=95']\nExploring Operation: 95-33=62, Resulting Numbers: [62]\n62,69 unequal: No Solution\nExploring Operation: 33+95=128, Resulting Numbers: [128]\n128,69 unequal: No Solution\nExploring Operation: 33*95=3135, Resulting Numbers: [3135]\n3135,69 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 69:[120], Operations: ['33-19=14', '74-14=60', '2*60=120']\nMoving to Node #0,1,1,0\nCurrent State: 69:[121], Operations: ['33*2=66', '74-19=55', '66+55=121']\nMoving to Node #0,1,4,0\nCurrent State: 69:[121], Operations: ['33*2=66', '66-19=47', '74+47=121']\nMoving to Node #0,2,4,0\nCurrent State: 69:[124], Operations: ['33-2=31', '19+31=50', '74+50=124']\nMoving to Node #0,4,3,0\nCurrent State: 69:[62], Operations: ['19+2=21', '74+21=95', '95-33=62']\nMoving to Node #0,3,2,0\nCurrent State: 69:[124], Operations: ['74-2=72', '19+33=52', '72+52=124']\nMoving to Node #0,3,0,0\nCurrent State: 69:[124], Operations: ['74-2=72', '19+72=91', '33+91=124']\nMoving to Node #0,2,0,0\nCurrent State: 69:[124], Operations: ['33-2=31', '19+74=93', '31+93=124']\nMoving to Node #0,4,1,0\nCurrent State: 69:[128], Operations: ['19+2=21', '33+21=54', '74+54=128']\nMoving to Node #0,4,3,0\nCurrent State: 69:[128], Operations: ['19+2=21', '74+21=95', '33+95=128']\nMoving to Node #0,1,2,0\nCurrent State: 69:[152], Operations: ['33*2=66', '74-66=8', '19*8=152']\nMoving to Node #0,1,3,0\nCurrent State: 69:[159], Operations: ['33*2=66', '19+66=85', '74+85=159']\nMoving to Node #0,1,0,0\nCurrent State: 69:[159], Operations: ['33*2=66', '19+74=93', '66+93=159']\nMoving to Node #0,0,4,0\nCurrent State: 69:[518], Operations: ['33-19=14', '14/2=7', '74*7=518']\nMoving to Node #0,3,4,0\nCurrent State: 69:[741], Operations: ['74-2=72', '72-33=39', '19*39=741']\nMoving to Node #0,2,1,0\nCurrent State: 69:[817], Operations: ['33-2=31', '74-31=43', '19*43=817']\nMoving to Node #0,4,0,0\nCurrent State: 69:[861], Operations: ['19+2=21', '74-33=41', '21*41=861']\nMoving to Node #0,2,3,0\nCurrent State: 69:[888], Operations: ['33-2=31', '31-19=12', '74*12=888']\nMoving to Node #0,4,4,0\nCurrent State: 69:[888], Operations: ['19+2=21', '33-21=12', '74*12=888']\nMoving to Node #0,0,3,0\nCurrent State: 69:[1008], Operations: ['33-19=14', '74-2=72', '14*72=1008']\nMoving to Node #0,3,3,0\nCurrent State: 69:[1008], Operations: ['74-2=72', '33-19=14', '72*14=1008']\nMoving to Node #0,0,2,0\nCurrent State: 69:[1184], Operations: ['33-19=14', '2+14=16', '74*16=1184']\nMoving to Node #0,2,2,0\nCurrent State: 69:[1705], Operations: ['33-2=31', '74-19=55', '31*55=1705']\nMoving to Node #0,4,2,0\nCurrent State: 69:[1749], Operations: ['19+2=21', '74-21=53', '33*53=1749']\nMoving to Node #0,3,1,0\nCurrent State: 69:[1749], Operations: ['74-2=72', '72-19=53', '33*53=1749']\nMoving to Node #0,0,0,0\nCurrent State: 69:[2072], Operations: ['33-19=14', '2*14=28', '74*28=2072']\nMoving to Node #0,2,0,0\nCurrent State: 69:[2883], Operations: ['33-2=31', '19+74=93', '31*93=2883']\nMoving to Node #0,3,0,0\nCurrent State: 69:[3003], Operations: ['74-2=72', '19+72=91', '33*91=3003']\nMoving to Node #0,4,3,0\nCurrent State: 69:[3135], Operations: ['19+2=21', '74+21=95', '33*95=3135']\nMoving to Node #0,1,4,0\nCurrent State: 69:[3478], Operations: ['33*2=66', '66-19=47', '74*47=3478']\nMoving to Node #0,1,1,0\nCurrent State: 69:[3630], Operations: ['33*2=66', '74-19=55', '66*55=3630']\nMoving to Node #0,2,4,0\nCurrent State: 69:[3700], Operations: ['33-2=31', '19+31=50', '74*50=3700']\nMoving to Node #0,3,2,0\nCurrent State: 69:[3744], Operations: ['74-2=72', '19+33=52', '72*52=3744']\nMoving to Node #0,4,1,0\nCurrent State: 69:[3996], Operations: ['19+2=21', '33+21=54', '74*54=3996']\nMoving to Node #0,1,0,0\nCurrent State: 69:[6138], Operations: ['33*2=66', '19+74=93', '66*93=6138']\nMoving to Node #0,1,3,0\nCurrent State: 69:[6290], Operations: ['33*2=66', '19+66=85', '74*85=6290']\nNo solution found.", "role": "assistant" } ]
[ 83, 44, 94, 33 ]
47
[ "94-83=11", "33/11=3", "44+3=47" ]
Current State: 47:[83, 44, 94, 33], Operations: [] Exploring Operation: 94-44=50, Resulting Numbers: [83, 33, 50] Generated Node #0,0: 47:[83, 33, 50] Operation: 94-44=50 Exploring Operation: 94-33=61, Resulting Numbers: [83, 44, 61] Generated Node #0,1: 47:[83, 44, 61] Operation: 94-33=61 Exploring Operation: 94-83=11, Resulting Numbers: [44, 33, 11] Generated Node #0,2: 47:[44, 33, 11] Operation: 94-83=11 Exploring Operation: 83-44=39, Resulting Numbers: [94, 33, 39] Generated Node #0,3: 47:[94, 33, 39] Operation: 83-44=39 Exploring Operation: 83-33=50, Resulting Numbers: [44, 94, 50] Generated Node #0,4: 47:[44, 94, 50] Operation: 83-33=50 Moving to Node #0,0 Current State: 47:[83, 33, 50], Operations: ['94-44=50'] Exploring Operation: 83-50=33, Resulting Numbers: [33, 33] Generated Node #0,0,0: 47:[33, 33] Operation: 83-50=33 Exploring Operation: 50-33=17, Resulting Numbers: [83, 17] Generated Node #0,0,1: 47:[83, 17] Operation: 50-33=17 Exploring Operation: 33+50=83, Resulting Numbers: [83, 83] Generated Node #0,0,2: 47:[83, 83] Operation: 33+50=83 Exploring Operation: 83-33=50, Resulting Numbers: [50, 50] Generated Node #0,0,3: 47:[50, 50] Operation: 83-33=50 Exploring Operation: 83+33=116, Resulting Numbers: [50, 116] Generated Node #0,0,4: 47:[50, 116] Operation: 83+33=116 Moving to Node #0,2 Current State: 47:[44, 33, 11], Operations: ['94-83=11'] Exploring Operation: 33-11=22, Resulting Numbers: [44, 22] Generated Node #0,2,0: 47:[44, 22] Operation: 33-11=22 Exploring Operation: 33/11=3, Resulting Numbers: [44, 3] Generated Node #0,2,1: 47:[44, 3] Operation: 33/11=3 Exploring Operation: 33+11=44, Resulting Numbers: [44, 44] Generated Node #0,2,2: 47:[44, 44] Operation: 33+11=44 Exploring Operation: 44-11=33, Resulting Numbers: [33, 33] Generated Node #0,2,3: 47:[33, 33] Operation: 44-11=33 Exploring Operation: 44+11=55, Resulting Numbers: [33, 55] Generated Node #0,2,4: 47:[33, 55] Operation: 44+11=55 Moving to Node #0,1 Current State: 47:[83, 44, 61], Operations: ['94-33=61'] Exploring Operation: 83-44=39, Resulting Numbers: [61, 39] Generated Node #0,1,0: 47:[61, 39] Operation: 83-44=39 Exploring Operation: 61-44=17, Resulting Numbers: [83, 17] Generated Node #0,1,1: 47:[83, 17] Operation: 61-44=17 Exploring Operation: 44+61=105, Resulting Numbers: [83, 105] Generated Node #0,1,2: 47:[83, 105] Operation: 44+61=105 Exploring Operation: 83-61=22, Resulting Numbers: [44, 22] Generated Node #0,1,3: 47:[44, 22] Operation: 83-61=22 Exploring Operation: 83+44=127, Resulting Numbers: [61, 127] Generated Node #0,1,4: 47:[61, 127] Operation: 83+44=127 Moving to Node #0,4 Current State: 47:[44, 94, 50], Operations: ['83-33=50'] Exploring Operation: 44+94=138, Resulting Numbers: [50, 138] Generated Node #0,4,0: 47:[50, 138] Operation: 44+94=138 Exploring Operation: 50-44=6, Resulting Numbers: [94, 6] Generated Node #0,4,1: 47:[94, 6] Operation: 50-44=6 Exploring Operation: 94-50=44, Resulting Numbers: [44, 44] Generated Node #0,4,2: 47:[44, 44] Operation: 94-50=44 Exploring Operation: 94-44=50, Resulting Numbers: [50, 50] Generated Node #0,4,3: 47:[50, 50] Operation: 94-44=50 Exploring Operation: 44+50=94, Resulting Numbers: [94, 94] Generated Node #0,4,4: 47:[94, 94] Operation: 44+50=94 Moving to Node #0,3 Current State: 47:[94, 33, 39], Operations: ['83-44=39'] Exploring Operation: 94-33=61, Resulting Numbers: [39, 61] Generated Node #0,3,0: 47:[39, 61] Operation: 94-33=61 Exploring Operation: 94-39=55, Resulting Numbers: [33, 55] Generated Node #0,3,1: 47:[33, 55] Operation: 94-39=55 Exploring Operation: 39-33=6, Resulting Numbers: [94, 6] Generated Node #0,3,2: 47:[94, 6] Operation: 39-33=6 Exploring Operation: 94+33=127, Resulting Numbers: [39, 127] Generated Node #0,3,3: 47:[39, 127] Operation: 94+33=127 Exploring Operation: 33+39=72, Resulting Numbers: [94, 72] Generated Node #0,3,4: 47:[94, 72] Operation: 33+39=72 Moving to Node #0,0,3 Current State: 47:[50, 50], Operations: ['94-44=50', '83-33=50'] Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,47 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[44, 44], Operations: ['94-83=11', '33+11=44'] Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 44*44=1936, Resulting Numbers: [1936] 1936,47 unequal: No Solution Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,47 unequal: No Solution Moving to Node #0,4,2 Current State: 47:[44, 44], Operations: ['83-33=50', '94-50=44'] Exploring Operation: 44*44=1936, Resulting Numbers: [1936] 1936,47 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,47 unequal: No Solution Moving to Node #0,4,3 Current State: 47:[50, 50], Operations: ['83-33=50', '94-44=50'] Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,47 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,47 unequal: No Solution Moving to Node #0,2,4 Current State: 47:[33, 55], Operations: ['94-83=11', '44+11=55'] Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,47 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[39, 61], Operations: ['83-44=39', '94-33=61'] Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[33, 55], Operations: ['83-44=39', '94-39=55'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,47 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[61, 39], Operations: ['94-33=61', '83-44=39'] Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,47 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[44, 22], Operations: ['94-33=61', '83-61=22'] Exploring Operation: 44*22=968, Resulting Numbers: [968] 968,47 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[33, 33], Operations: ['94-44=50', '83-50=33'] Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,47 unequal: No Solution Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[33, 33], Operations: ['94-83=11', '44-11=33'] Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,47 unequal: No Solution Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[44, 22], Operations: ['94-83=11', '33-11=22'] Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 44*22=968, Resulting Numbers: [968] 968,47 unequal: No Solution Moving to Node #0,0,0,0 Current State: 47:[66], Operations: ['94-44=50', '83-50=33', '33+33=66'] Moving to Node #0,1,3,0 Current State: 47:[66], Operations: ['94-33=61', '83-61=22', '44+22=66'] Moving to Node #0,2,1 Current State: 47:[44, 3], Operations: ['94-83=11', '33/11=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,47 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,47 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.932292
bfs_5
Current State: 47:[83, 44, 94, 33], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [44, 33, 11] Generated Node #2: [44, 33, 11] from Operation: 94-83=11 Current State: 47:[44, 33, 11], Operations: ['94-83=11'] Exploring Operation: 33/11=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 33/11=3 Current State: 47:[44, 3], Operations: ['94-83=11', '33/11=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
sum_heuristic
[ { "content": "Make 47 with the numbers [83, 44, 94, 33] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 47:[83, 44, 94, 33], Operations: []\nExploring Operation: 94-44=50, Resulting Numbers: [83, 33, 50]\nGenerated Node #0,0: 47:[83, 33, 50] Operation: 94-44=50\nExploring Operation: 94-33=61, Resulting Numbers: [83, 44, 61]\nGenerated Node #0,1: 47:[83, 44, 61] Operation: 94-33=61\nExploring Operation: 94-83=11, Resulting Numbers: [44, 33, 11]\nGenerated Node #0,2: 47:[44, 33, 11] Operation: 94-83=11\nExploring Operation: 83-44=39, Resulting Numbers: [94, 33, 39]\nGenerated Node #0,3: 47:[94, 33, 39] Operation: 83-44=39\nExploring Operation: 83-33=50, Resulting Numbers: [44, 94, 50]\nGenerated Node #0,4: 47:[44, 94, 50] Operation: 83-33=50\nMoving to Node #0,0\nCurrent State: 47:[83, 33, 50], Operations: ['94-44=50']\nExploring Operation: 83-50=33, Resulting Numbers: [33, 33]\nGenerated Node #0,0,0: 47:[33, 33] Operation: 83-50=33\nExploring Operation: 50-33=17, Resulting Numbers: [83, 17]\nGenerated Node #0,0,1: 47:[83, 17] Operation: 50-33=17\nExploring Operation: 33+50=83, Resulting Numbers: [83, 83]\nGenerated Node #0,0,2: 47:[83, 83] Operation: 33+50=83\nExploring Operation: 83-33=50, Resulting Numbers: [50, 50]\nGenerated Node #0,0,3: 47:[50, 50] Operation: 83-33=50\nExploring Operation: 83+33=116, Resulting Numbers: [50, 116]\nGenerated Node #0,0,4: 47:[50, 116] Operation: 83+33=116\nMoving to Node #0,2\nCurrent State: 47:[44, 33, 11], Operations: ['94-83=11']\nExploring Operation: 33-11=22, Resulting Numbers: [44, 22]\nGenerated Node #0,2,0: 47:[44, 22] Operation: 33-11=22\nExploring Operation: 33/11=3, Resulting Numbers: [44, 3]\nGenerated Node #0,2,1: 47:[44, 3] Operation: 33/11=3\nExploring Operation: 33+11=44, Resulting Numbers: [44, 44]\nGenerated Node #0,2,2: 47:[44, 44] Operation: 33+11=44\nExploring Operation: 44-11=33, Resulting Numbers: [33, 33]\nGenerated Node #0,2,3: 47:[33, 33] Operation: 44-11=33\nExploring Operation: 44+11=55, Resulting Numbers: [33, 55]\nGenerated Node #0,2,4: 47:[33, 55] Operation: 44+11=55\nMoving to Node #0,1\nCurrent State: 47:[83, 44, 61], Operations: ['94-33=61']\nExploring Operation: 83-44=39, Resulting Numbers: [61, 39]\nGenerated Node #0,1,0: 47:[61, 39] Operation: 83-44=39\nExploring Operation: 61-44=17, Resulting Numbers: [83, 17]\nGenerated Node #0,1,1: 47:[83, 17] Operation: 61-44=17\nExploring Operation: 44+61=105, Resulting Numbers: [83, 105]\nGenerated Node #0,1,2: 47:[83, 105] Operation: 44+61=105\nExploring Operation: 83-61=22, Resulting Numbers: [44, 22]\nGenerated Node #0,1,3: 47:[44, 22] Operation: 83-61=22\nExploring Operation: 83+44=127, Resulting Numbers: [61, 127]\nGenerated Node #0,1,4: 47:[61, 127] Operation: 83+44=127\nMoving to Node #0,4\nCurrent State: 47:[44, 94, 50], Operations: ['83-33=50']\nExploring Operation: 44+94=138, Resulting Numbers: [50, 138]\nGenerated Node #0,4,0: 47:[50, 138] Operation: 44+94=138\nExploring Operation: 50-44=6, Resulting Numbers: [94, 6]\nGenerated Node #0,4,1: 47:[94, 6] Operation: 50-44=6\nExploring Operation: 94-50=44, Resulting Numbers: [44, 44]\nGenerated Node #0,4,2: 47:[44, 44] Operation: 94-50=44\nExploring Operation: 94-44=50, Resulting Numbers: [50, 50]\nGenerated Node #0,4,3: 47:[50, 50] Operation: 94-44=50\nExploring Operation: 44+50=94, Resulting Numbers: [94, 94]\nGenerated Node #0,4,4: 47:[94, 94] Operation: 44+50=94\nMoving to Node #0,3\nCurrent State: 47:[94, 33, 39], Operations: ['83-44=39']\nExploring Operation: 94-33=61, Resulting Numbers: [39, 61]\nGenerated Node #0,3,0: 47:[39, 61] Operation: 94-33=61\nExploring Operation: 94-39=55, Resulting Numbers: [33, 55]\nGenerated Node #0,3,1: 47:[33, 55] Operation: 94-39=55\nExploring Operation: 39-33=6, Resulting Numbers: [94, 6]\nGenerated Node #0,3,2: 47:[94, 6] Operation: 39-33=6\nExploring Operation: 94+33=127, Resulting Numbers: [39, 127]\nGenerated Node #0,3,3: 47:[39, 127] Operation: 94+33=127\nExploring Operation: 33+39=72, Resulting Numbers: [94, 72]\nGenerated Node #0,3,4: 47:[94, 72] Operation: 33+39=72\nMoving to Node #0,0,3\nCurrent State: 47:[50, 50], Operations: ['94-44=50', '83-33=50']\nExploring Operation: 50*50=2500, Resulting Numbers: [2500]\n2500,47 unequal: No Solution\nExploring Operation: 50+50=100, Resulting Numbers: [100]\n100,47 unequal: No Solution\nExploring Operation: 50/50=1, Resulting Numbers: [1]\n1,47 unequal: No Solution\nExploring Operation: 50-50=0, Resulting Numbers: [0]\n0,47 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 47:[44, 44], Operations: ['94-83=11', '33+11=44']\nExploring Operation: 44-44=0, Resulting Numbers: [0]\n0,47 unequal: No Solution\nExploring Operation: 44*44=1936, Resulting Numbers: [1936]\n1936,47 unequal: No Solution\nExploring Operation: 44+44=88, Resulting Numbers: [88]\n88,47 unequal: No Solution\nExploring Operation: 44/44=1, Resulting Numbers: [1]\n1,47 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 47:[44, 44], Operations: ['83-33=50', '94-50=44']\nExploring Operation: 44*44=1936, Resulting Numbers: [1936]\n1936,47 unequal: No Solution\nExploring Operation: 44/44=1, Resulting Numbers: [1]\n1,47 unequal: No Solution\nExploring Operation: 44-44=0, Resulting Numbers: [0]\n0,47 unequal: No Solution\nExploring Operation: 44+44=88, Resulting Numbers: [88]\n88,47 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 47:[50, 50], Operations: ['83-33=50', '94-44=50']\nExploring Operation: 50/50=1, Resulting Numbers: [1]\n1,47 unequal: No Solution\nExploring Operation: 50*50=2500, Resulting Numbers: [2500]\n2500,47 unequal: No Solution\nExploring Operation: 50-50=0, Resulting Numbers: [0]\n0,47 unequal: No Solution\nExploring Operation: 50+50=100, Resulting Numbers: [100]\n100,47 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 47:[33, 55], Operations: ['94-83=11', '44+11=55']\nExploring Operation: 33*55=1815, Resulting Numbers: [1815]\n1815,47 unequal: No Solution\nExploring Operation: 33+55=88, Resulting Numbers: [88]\n88,47 unequal: No Solution\nExploring Operation: 55-33=22, Resulting Numbers: [22]\n22,47 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 47:[39, 61], Operations: ['83-44=39', '94-33=61']\nExploring Operation: 39+61=100, Resulting Numbers: [100]\n100,47 unequal: No Solution\nExploring Operation: 61-39=22, Resulting Numbers: [22]\n22,47 unequal: No Solution\nExploring Operation: 39*61=2379, Resulting Numbers: [2379]\n2379,47 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 47:[33, 55], Operations: ['83-44=39', '94-39=55']\nExploring Operation: 55-33=22, Resulting Numbers: [22]\n22,47 unequal: No Solution\nExploring Operation: 33*55=1815, Resulting Numbers: [1815]\n1815,47 unequal: No Solution\nExploring Operation: 33+55=88, Resulting Numbers: [88]\n88,47 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 47:[61, 39], Operations: ['94-33=61', '83-44=39']\nExploring Operation: 61+39=100, Resulting Numbers: [100]\n100,47 unequal: No Solution\nExploring Operation: 61*39=2379, Resulting Numbers: [2379]\n2379,47 unequal: No Solution\nExploring Operation: 61-39=22, Resulting Numbers: [22]\n22,47 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 47:[44, 22], Operations: ['94-33=61', '83-61=22']\nExploring Operation: 44*22=968, Resulting Numbers: [968]\n968,47 unequal: No Solution\nExploring Operation: 44-22=22, Resulting Numbers: [22]\n22,47 unequal: No Solution\nExploring Operation: 44+22=66, Resulting Numbers: [66]\n66,47 unequal: No Solution\nExploring Operation: 44/22=2, Resulting Numbers: [2]\n2,47 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 47:[33, 33], Operations: ['94-44=50', '83-50=33']\nExploring Operation: 33/33=1, Resulting Numbers: [1]\n1,47 unequal: No Solution\nExploring Operation: 33*33=1089, Resulting Numbers: [1089]\n1089,47 unequal: No Solution\nExploring Operation: 33-33=0, Resulting Numbers: [0]\n0,47 unequal: No Solution\nExploring Operation: 33+33=66, Resulting Numbers: [66]\n66,47 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 47:[33, 33], Operations: ['94-83=11', '44-11=33']\nExploring Operation: 33*33=1089, Resulting Numbers: [1089]\n1089,47 unequal: No Solution\nExploring Operation: 33-33=0, Resulting Numbers: [0]\n0,47 unequal: No Solution\nExploring Operation: 33/33=1, Resulting Numbers: [1]\n1,47 unequal: No Solution\nExploring Operation: 33+33=66, Resulting Numbers: [66]\n66,47 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 47:[44, 22], Operations: ['94-83=11', '33-11=22']\nExploring Operation: 44+22=66, Resulting Numbers: [66]\n66,47 unequal: No Solution\nExploring Operation: 44/22=2, Resulting Numbers: [2]\n2,47 unequal: No Solution\nExploring Operation: 44-22=22, Resulting Numbers: [22]\n22,47 unequal: No Solution\nExploring Operation: 44*22=968, Resulting Numbers: [968]\n968,47 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 47:[66], Operations: ['94-44=50', '83-50=33', '33+33=66']\nMoving to Node #0,1,3,0\nCurrent State: 47:[66], Operations: ['94-33=61', '83-61=22', '44+22=66']\nMoving to Node #0,2,1\nCurrent State: 47:[44, 3], Operations: ['94-83=11', '33/11=3']\nExploring Operation: 44-3=41, Resulting Numbers: [41]\n41,47 unequal: No Solution\nExploring Operation: 44*3=132, Resulting Numbers: [132]\n132,47 unequal: No Solution\nExploring Operation: 44+3=47, Resulting Numbers: [47]\n47,47 equal: Goal Reached\n", "role": "assistant" } ]
[ 39, 88, 47, 2 ]
13
[ "47-39=8", "88/8=11", "2+11=13" ]
Current State: 13:[39, 88, 47, 2], Operations: []
0
dfs
Current State: 13:[39, 88, 47, 2], Operations: [] Exploring Operation: 47-39=8, Resulting Numbers: [88, 2, 8] Generated Node #2: [88, 2, 8] from Operation: 47-39=8 Current State: 13:[88, 2, 8], Operations: ['47-39=8'] Exploring Operation: 88/8=11, Resulting Numbers: [2, 11] Generated Node #3: [2, 11] from Operation: 88/8=11 Current State: 13:[2, 11], Operations: ['47-39=8', '88/8=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
sum_heuristic
[ { "content": "Make 13 with the numbers [39, 88, 47, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 13:[39, 88, 47, 2], Operations: []\n", "role": "assistant" } ]
[ 46, 42, 5, 47 ]
36
[ "46+42=88", "5+47=52", "88-52=36" ]
Current State: 36:[46, 42, 5, 47], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [5, 47, 4] Generated Node #0,0: 36:[5, 47, 4] Operation: 46-42=4 Exploring Operation: 46-5=41, Resulting Numbers: [42, 47, 41] Generated Node #0,1: 36:[42, 47, 41] Operation: 46-5=41 Exploring Operation: 47-46=1, Resulting Numbers: [42, 5, 1] Generated Node #0,2: 36:[42, 5, 1] Operation: 47-46=1 Exploring Operation: 47-42=5, Resulting Numbers: [46, 5, 5] Generated Node #0,3: 36:[46, 5, 5] Operation: 47-42=5 Moving to Node #0,2 Current State: 36:[42, 5, 1], Operations: ['47-46=1'] Exploring Operation: 42-5=37, Resulting Numbers: [1, 37] Generated Node #0,2,0: 36:[1, 37] Operation: 42-5=37 Exploring Operation: 5-1=4, Resulting Numbers: [42, 4] Generated Node #0,2,1: 36:[42, 4] Operation: 5-1=4 Exploring Operation: 42-1=41, Resulting Numbers: [5, 41] Generated Node #0,2,2: 36:[5, 41] Operation: 42-1=41 Exploring Operation: 5+1=6, Resulting Numbers: [42, 6] Generated Node #0,2,3: 36:[42, 6] Operation: 5+1=6 Moving to Node #0,3 Current State: 36:[46, 5, 5], Operations: ['47-42=5'] Exploring Operation: 46-5=41, Resulting Numbers: [5, 41] Generated Node #0,3,0: 36:[5, 41] Operation: 46-5=41 Exploring Operation: 5/5=1, Resulting Numbers: [46, 1] Generated Node #0,3,1: 36:[46, 1] Operation: 5/5=1 Exploring Operation: 46-5=41, Resulting Numbers: [5, 41] Generated Node #0,3,2: 36:[5, 41] Operation: 46-5=41 Exploring Operation: 5+5=10, Resulting Numbers: [46, 10] Generated Node #0,3,3: 36:[46, 10] Operation: 5+5=10 Moving to Node #0,0 Current State: 36:[5, 47, 4], Operations: ['46-42=4'] Exploring Operation: 47-5=42, Resulting Numbers: [4, 42] Generated Node #0,0,0: 36:[4, 42] Operation: 47-5=42 Exploring Operation: 47-4=43, Resulting Numbers: [5, 43] Generated Node #0,0,1: 36:[5, 43] Operation: 47-4=43 Exploring Operation: 5-4=1, Resulting Numbers: [47, 1] Generated Node #0,0,2: 36:[47, 1] Operation: 5-4=1 Exploring Operation: 5+4=9, Resulting Numbers: [47, 9] Generated Node #0,0,3: 36:[47, 9] Operation: 5+4=9 Moving to Node #0,1 Current State: 36:[42, 47, 41], Operations: ['46-5=41'] Exploring Operation: 47-42=5, Resulting Numbers: [41, 5] Generated Node #0,1,0: 36:[41, 5] Operation: 47-42=5 Exploring Operation: 42-41=1, Resulting Numbers: [47, 1] Generated Node #0,1,1: 36:[47, 1] Operation: 42-41=1 Exploring Operation: 47-41=6, Resulting Numbers: [42, 6] Generated Node #0,1,2: 36:[42, 6] Operation: 47-41=6 Exploring Operation: 42+47=89, Resulting Numbers: [41, 89] Generated Node #0,1,3: 36:[41, 89] Operation: 42+47=89 Moving to Node #0,2,0 Current State: 36:[1, 37], Operations: ['47-46=1', '42-5=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.978299
bfs_4
Current State: 36:[46, 42, 5, 47], Operations: [] Exploring Operation: 46+42=88, Resulting Numbers: [5, 47, 88] Generated Node #2: [5, 47, 88] from Operation: 46+42=88 Current State: 36:[5, 47, 88], Operations: ['46+42=88'] Exploring Operation: 5+47=52, Resulting Numbers: [88, 52] Generated Node #3: [88, 52] from Operation: 5+47=52 Current State: 36:[88, 52], Operations: ['46+42=88', '5+47=52'] Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
mult_heuristic
[ { "content": "Make 36 with the numbers [46, 42, 5, 47] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 36:[46, 42, 5, 47], Operations: []\nExploring Operation: 46-42=4, Resulting Numbers: [5, 47, 4]\nGenerated Node #0,0: 36:[5, 47, 4] Operation: 46-42=4\nExploring Operation: 46-5=41, Resulting Numbers: [42, 47, 41]\nGenerated Node #0,1: 36:[42, 47, 41] Operation: 46-5=41\nExploring Operation: 47-46=1, Resulting Numbers: [42, 5, 1]\nGenerated Node #0,2: 36:[42, 5, 1] Operation: 47-46=1\nExploring Operation: 47-42=5, Resulting Numbers: [46, 5, 5]\nGenerated Node #0,3: 36:[46, 5, 5] Operation: 47-42=5\nMoving to Node #0,2\nCurrent State: 36:[42, 5, 1], Operations: ['47-46=1']\nExploring Operation: 42-5=37, Resulting Numbers: [1, 37]\nGenerated Node #0,2,0: 36:[1, 37] Operation: 42-5=37\nExploring Operation: 5-1=4, Resulting Numbers: [42, 4]\nGenerated Node #0,2,1: 36:[42, 4] Operation: 5-1=4\nExploring Operation: 42-1=41, Resulting Numbers: [5, 41]\nGenerated Node #0,2,2: 36:[5, 41] Operation: 42-1=41\nExploring Operation: 5+1=6, Resulting Numbers: [42, 6]\nGenerated Node #0,2,3: 36:[42, 6] Operation: 5+1=6\nMoving to Node #0,3\nCurrent State: 36:[46, 5, 5], Operations: ['47-42=5']\nExploring Operation: 46-5=41, Resulting Numbers: [5, 41]\nGenerated Node #0,3,0: 36:[5, 41] Operation: 46-5=41\nExploring Operation: 5/5=1, Resulting Numbers: [46, 1]\nGenerated Node #0,3,1: 36:[46, 1] Operation: 5/5=1\nExploring Operation: 46-5=41, Resulting Numbers: [5, 41]\nGenerated Node #0,3,2: 36:[5, 41] Operation: 46-5=41\nExploring Operation: 5+5=10, Resulting Numbers: [46, 10]\nGenerated Node #0,3,3: 36:[46, 10] Operation: 5+5=10\nMoving to Node #0,0\nCurrent State: 36:[5, 47, 4], Operations: ['46-42=4']\nExploring Operation: 47-5=42, Resulting Numbers: [4, 42]\nGenerated Node #0,0,0: 36:[4, 42] Operation: 47-5=42\nExploring Operation: 47-4=43, Resulting Numbers: [5, 43]\nGenerated Node #0,0,1: 36:[5, 43] Operation: 47-4=43\nExploring Operation: 5-4=1, Resulting Numbers: [47, 1]\nGenerated Node #0,0,2: 36:[47, 1] Operation: 5-4=1\nExploring Operation: 5+4=9, Resulting Numbers: [47, 9]\nGenerated Node #0,0,3: 36:[47, 9] Operation: 5+4=9\nMoving to Node #0,1\nCurrent State: 36:[42, 47, 41], Operations: ['46-5=41']\nExploring Operation: 47-42=5, Resulting Numbers: [41, 5]\nGenerated Node #0,1,0: 36:[41, 5] Operation: 47-42=5\nExploring Operation: 42-41=1, Resulting Numbers: [47, 1]\nGenerated Node #0,1,1: 36:[47, 1] Operation: 42-41=1\nExploring Operation: 47-41=6, Resulting Numbers: [42, 6]\nGenerated Node #0,1,2: 36:[42, 6] Operation: 47-41=6\nExploring Operation: 42+47=89, Resulting Numbers: [41, 89]\nGenerated Node #0,1,3: 36:[41, 89] Operation: 42+47=89\nMoving to Node #0,2,0\nCurrent State: 36:[1, 37], Operations: ['47-46=1', '42-5=37']\nExploring Operation: 1+37=38, Resulting Numbers: [38]\n38,36 unequal: No Solution\nExploring Operation: 1*37=37, Resulting Numbers: [37]\n37,36 unequal: No Solution\nExploring Operation: 37/1=37, Resulting Numbers: [37]\n37,36 unequal: No Solution\nExploring Operation: 37-1=36, Resulting Numbers: [36]\n36,36 equal: Goal Reached\n", "role": "assistant" } ]
[ 67, 81, 16, 17 ]
19
[ "81-67=14", "16+17=33", "33-14=19" ]
Current State: 19:[67, 81, 16, 17], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [16, 17, 14] Generated Node #0,0: 19:[16, 17, 14] Operation: 81-67=14 Exploring Operation: 67-16=51, Resulting Numbers: [81, 17, 51] Generated Node #0,1: 19:[81, 17, 51] Operation: 67-16=51 Moving to Node #0,0 Current State: 19:[16, 17, 14], Operations: ['81-67=14'] Exploring Operation: 16+14=30, Resulting Numbers: [17, 30] Generated Node #0,0,0: 19:[17, 30] Operation: 16+14=30 Exploring Operation: 17+14=31, Resulting Numbers: [16, 31] Generated Node #0,0,1: 19:[16, 31] Operation: 17+14=31 Moving to Node #0,1 Current State: 19:[81, 17, 51], Operations: ['67-16=51'] Exploring Operation: 81-17=64, Resulting Numbers: [51, 64] Generated Node #0,1,0: 19:[51, 64] Operation: 81-17=64 Exploring Operation: 81-51=30, Resulting Numbers: [17, 30] Generated Node #0,1,1: 19:[17, 30] Operation: 81-51=30 Moving to Node #0,0,0 Current State: 19:[17, 30], Operations: ['81-67=14', '16+14=30'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[17, 30], Operations: ['67-16=51', '81-51=30'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,19 unequal: No Solution Moving to Node #0,0,0,0 Current State: 19:[13], Operations: ['81-67=14', '16+14=30', '30-17=13'] Moving to Node #0,1,1,0 Current State: 19:[13], Operations: ['67-16=51', '81-51=30', '30-17=13'] Moving to Node #0,0,1 Current State: 19:[16, 31], Operations: ['81-67=14', '17+14=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,19 unequal: No Solution Moving to Node #0,1,1,0 Current State: 19:[47], Operations: ['67-16=51', '81-51=30', '17+30=47'] Moving to Node #0,0,1,0 Current State: 19:[15], Operations: ['81-67=14', '17+14=31', '31-16=15'] Moving to Node #0,0,0,0 Current State: 19:[47], Operations: ['81-67=14', '16+14=30', '17+30=47'] Moving to Node #0,0,1,0 Current State: 19:[47], Operations: ['81-67=14', '17+14=31', '16+31=47'] Moving to Node #0,1,0 Current State: 19:[51, 64], Operations: ['67-16=51', '81-17=64'] Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,19 unequal: No Solution Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,19 unequal: No Solution Moving to Node #0,1,0,0 Current State: 19:[13], Operations: ['67-16=51', '81-17=64', '64-51=13'] Moving to Node #0,1,0,0 Current State: 19:[115], Operations: ['67-16=51', '81-17=64', '51+64=115'] No solution found.
0
bfs_2
Current State: 19:[67, 81, 16, 17], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [16, 17, 14] Generated Node #2: [16, 17, 14] from Operation: 81-67=14 Current State: 19:[16, 17, 14], Operations: ['81-67=14'] Exploring Operation: 16+17=33, Resulting Numbers: [14, 33] Generated Node #3: [14, 33] from Operation: 16+17=33 Current State: 19:[14, 33], Operations: ['81-67=14', '16+17=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
mult_heuristic
[ { "content": "Make 19 with the numbers [67, 81, 16, 17] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 19:[67, 81, 16, 17], Operations: []\nExploring Operation: 81-67=14, Resulting Numbers: [16, 17, 14]\nGenerated Node #0,0: 19:[16, 17, 14] Operation: 81-67=14\nExploring Operation: 67-16=51, Resulting Numbers: [81, 17, 51]\nGenerated Node #0,1: 19:[81, 17, 51] Operation: 67-16=51\nMoving to Node #0,0\nCurrent State: 19:[16, 17, 14], Operations: ['81-67=14']\nExploring Operation: 16+14=30, Resulting Numbers: [17, 30]\nGenerated Node #0,0,0: 19:[17, 30] Operation: 16+14=30\nExploring Operation: 17+14=31, Resulting Numbers: [16, 31]\nGenerated Node #0,0,1: 19:[16, 31] Operation: 17+14=31\nMoving to Node #0,1\nCurrent State: 19:[81, 17, 51], Operations: ['67-16=51']\nExploring Operation: 81-17=64, Resulting Numbers: [51, 64]\nGenerated Node #0,1,0: 19:[51, 64] Operation: 81-17=64\nExploring Operation: 81-51=30, Resulting Numbers: [17, 30]\nGenerated Node #0,1,1: 19:[17, 30] Operation: 81-51=30\nMoving to Node #0,0,0\nCurrent State: 19:[17, 30], Operations: ['81-67=14', '16+14=30']\nExploring Operation: 30-17=13, Resulting Numbers: [13]\n13,19 unequal: No Solution\nExploring Operation: 17+30=47, Resulting Numbers: [47]\n47,19 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 19:[17, 30], Operations: ['67-16=51', '81-51=30']\nExploring Operation: 30-17=13, Resulting Numbers: [13]\n13,19 unequal: No Solution\nExploring Operation: 17+30=47, Resulting Numbers: [47]\n47,19 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 19:[13], Operations: ['81-67=14', '16+14=30', '30-17=13']\nMoving to Node #0,1,1,0\nCurrent State: 19:[13], Operations: ['67-16=51', '81-51=30', '30-17=13']\nMoving to Node #0,0,1\nCurrent State: 19:[16, 31], Operations: ['81-67=14', '17+14=31']\nExploring Operation: 31-16=15, Resulting Numbers: [15]\n15,19 unequal: No Solution\nExploring Operation: 16+31=47, Resulting Numbers: [47]\n47,19 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 19:[47], Operations: ['67-16=51', '81-51=30', '17+30=47']\nMoving to Node #0,0,1,0\nCurrent State: 19:[15], Operations: ['81-67=14', '17+14=31', '31-16=15']\nMoving to Node #0,0,0,0\nCurrent State: 19:[47], Operations: ['81-67=14', '16+14=30', '17+30=47']\nMoving to Node #0,0,1,0\nCurrent State: 19:[47], Operations: ['81-67=14', '17+14=31', '16+31=47']\nMoving to Node #0,1,0\nCurrent State: 19:[51, 64], Operations: ['67-16=51', '81-17=64']\nExploring Operation: 51+64=115, Resulting Numbers: [115]\n115,19 unequal: No Solution\nExploring Operation: 64-51=13, Resulting Numbers: [13]\n13,19 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 19:[13], Operations: ['67-16=51', '81-17=64', '64-51=13']\nMoving to Node #0,1,0,0\nCurrent State: 19:[115], Operations: ['67-16=51', '81-17=64', '51+64=115']\nNo solution found.", "role": "assistant" } ]
[ 61, 49, 15, 4 ]
68
[ "61+15=76", "76/4=19", "49+19=68" ]
Current State: 68:[61, 49, 15, 4], Operations: [] Exploring Operation: 61+4=65, Resulting Numbers: [49, 15, 65] Generated Node #0,0: 68:[49, 15, 65] Operation: 61+4=65 Exploring Operation: 15+4=19, Resulting Numbers: [61, 49, 19] Generated Node #0,1: 68:[61, 49, 19] Operation: 15+4=19 Exploring Operation: 15*4=60, Resulting Numbers: [61, 49, 60] Generated Node #0,2: 68:[61, 49, 60] Operation: 15*4=60 Exploring Operation: 49+4=53, Resulting Numbers: [61, 15, 53] Generated Node #0,3: 68:[61, 15, 53] Operation: 49+4=53 Exploring Operation: 49+15=64, Resulting Numbers: [61, 4, 64] Generated Node #0,4: 68:[61, 4, 64] Operation: 49+15=64 Moving to Node #0,2 Current State: 68:[61, 49, 60], Operations: ['15*4=60'] Exploring Operation: 49+60=109, Resulting Numbers: [61, 109] Generated Node #0,2,0: 68:[61, 109] Operation: 49+60=109 Exploring Operation: 61+49=110, Resulting Numbers: [60, 110] Generated Node #0,2,1: 68:[60, 110] Operation: 61+49=110 Exploring Operation: 60-49=11, Resulting Numbers: [61, 11] Generated Node #0,2,2: 68:[61, 11] Operation: 60-49=11 Exploring Operation: 61-49=12, Resulting Numbers: [60, 12] Generated Node #0,2,3: 68:[60, 12] Operation: 61-49=12 Exploring Operation: 61+60=121, Resulting Numbers: [49, 121] Generated Node #0,2,4: 68:[49, 121] Operation: 61+60=121 Moving to Node #0,1 Current State: 68:[61, 49, 19], Operations: ['15+4=19'] Exploring Operation: 49-19=30, Resulting Numbers: [61, 30] Generated Node #0,1,0: 68:[61, 30] Operation: 49-19=30 Exploring Operation: 61+19=80, Resulting Numbers: [49, 80] Generated Node #0,1,1: 68:[49, 80] Operation: 61+19=80 Exploring Operation: 49+19=68, Resulting Numbers: [61, 68] Generated Node #0,1,2: 68:[61, 68] Operation: 49+19=68 Exploring Operation: 61+49=110, Resulting Numbers: [19, 110] Generated Node #0,1,3: 68:[19, 110] Operation: 61+49=110 Exploring Operation: 61-19=42, Resulting Numbers: [49, 42] Generated Node #0,1,4: 68:[49, 42] Operation: 61-19=42 Moving to Node #0,4 Current State: 68:[61, 4, 64], Operations: ['49+15=64'] Exploring Operation: 61+4=65, Resulting Numbers: [64, 65] Generated Node #0,4,0: 68:[64, 65] Operation: 61+4=65 Exploring Operation: 64/4=16, Resulting Numbers: [61, 16] Generated Node #0,4,1: 68:[61, 16] Operation: 64/4=16 Exploring Operation: 4+64=68, Resulting Numbers: [61, 68] Generated Node #0,4,2: 68:[61, 68] Operation: 4+64=68 Exploring Operation: 64-4=60, Resulting Numbers: [61, 60] Generated Node #0,4,3: 68:[61, 60] Operation: 64-4=60 Exploring Operation: 61-4=57, Resulting Numbers: [64, 57] Generated Node #0,4,4: 68:[64, 57] Operation: 61-4=57 Moving to Node #0,0 Current State: 68:[49, 15, 65], Operations: ['61+4=65'] Exploring Operation: 49-15=34, Resulting Numbers: [65, 34] Generated Node #0,0,0: 68:[65, 34] Operation: 49-15=34 Exploring Operation: 49+15=64, Resulting Numbers: [65, 64] Generated Node #0,0,1: 68:[65, 64] Operation: 49+15=64 Exploring Operation: 65-15=50, Resulting Numbers: [49, 50] Generated Node #0,0,2: 68:[49, 50] Operation: 65-15=50 Exploring Operation: 49+65=114, Resulting Numbers: [15, 114] Generated Node #0,0,3: 68:[15, 114] Operation: 49+65=114 Exploring Operation: 15+65=80, Resulting Numbers: [49, 80] Generated Node #0,0,4: 68:[49, 80] Operation: 15+65=80 Moving to Node #0,3 Current State: 68:[61, 15, 53], Operations: ['49+4=53'] Exploring Operation: 61+53=114, Resulting Numbers: [15, 114] Generated Node #0,3,0: 68:[15, 114] Operation: 61+53=114 Exploring Operation: 61-15=46, Resulting Numbers: [53, 46] Generated Node #0,3,1: 68:[53, 46] Operation: 61-15=46 Exploring Operation: 61+15=76, Resulting Numbers: [53, 76] Generated Node #0,3,2: 68:[53, 76] Operation: 61+15=76 Exploring Operation: 53-15=38, Resulting Numbers: [61, 38] Generated Node #0,3,3: 68:[61, 38] Operation: 53-15=38 Exploring Operation: 15+53=68, Resulting Numbers: [61, 68] Generated Node #0,3,4: 68:[61, 68] Operation: 15+53=68 Moving to Node #0,1,2 Current State: 68:[61, 68], Operations: ['15+4=19', '49+19=68'] Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,68 unequal: No Solution Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,68 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,68 unequal: No Solution Moving to Node #0,4,2 Current State: 68:[61, 68], Operations: ['49+15=64', '4+64=68'] Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,68 unequal: No Solution Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,68 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,68 unequal: No Solution Moving to Node #0,4,0 Current State: 68:[64, 65], Operations: ['49+15=64', '61+4=65'] Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,68 unequal: No Solution Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,68 unequal: No Solution Moving to Node #0,3,4 Current State: 68:[61, 68], Operations: ['49+4=53', '15+53=68'] Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,68 unequal: No Solution Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,68 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[65, 64], Operations: ['61+4=65', '49+15=64'] Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,68 unequal: No Solution Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,68 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,68 unequal: No Solution Moving to Node #0,4,4 Current State: 68:[64, 57], Operations: ['49+15=64', '61-4=57'] Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 64+57=121, Resulting Numbers: [121] 121,68 unequal: No Solution Exploring Operation: 64*57=3648, Resulting Numbers: [3648] 3648,68 unequal: No Solution Moving to Node #0,4,3 Current State: 68:[61, 60], Operations: ['49+15=64', '64-4=60'] Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 61+60=121, Resulting Numbers: [121] 121,68 unequal: No Solution Exploring Operation: 61*60=3660, Resulting Numbers: [3660] 3660,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[53, 76], Operations: ['49+4=53', '61+15=76'] Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,68 unequal: No Solution Exploring Operation: 53+76=129, Resulting Numbers: [129] 129,68 unequal: No Solution Exploring Operation: 53*76=4028, Resulting Numbers: [4028] 4028,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[49, 80], Operations: ['15+4=19', '61+19=80'] Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,68 unequal: No Solution Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,68 unequal: No Solution Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,68 unequal: No Solution Moving to Node #0,0,4 Current State: 68:[49, 80], Operations: ['61+4=65', '15+65=80'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,68 unequal: No Solution Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,68 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[61, 38], Operations: ['49+4=53', '53-15=38'] Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,68 unequal: No Solution Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,68 unequal: No Solution Exploring Operation: 61*38=2318, Resulting Numbers: [2318] 2318,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[53, 46], Operations: ['49+4=53', '61-15=46'] Exploring Operation: 53*46=2438, Resulting Numbers: [2438] 2438,68 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 53+46=99, Resulting Numbers: [99] 99,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[65, 34], Operations: ['61+4=65', '49-15=34'] Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,68 unequal: No Solution Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,68 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[49, 50], Operations: ['61+4=65', '65-15=50'] Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,68 unequal: No Solution Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[61, 30], Operations: ['15+4=19', '49-19=30'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,68 unequal: No Solution Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 61*30=1830, Resulting Numbers: [1830] 1830,68 unequal: No Solution Moving to Node #0,1,4 Current State: 68:[49, 42], Operations: ['15+4=19', '61-19=42'] Exploring Operation: 49+42=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 49*42=2058, Resulting Numbers: [2058] 2058,68 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,68 unequal: No Solution Moving to Node #0,1,0,0 Current State: 68:[91], Operations: ['15+4=19', '49-19=30', '61+30=91'] Moving to Node #0,2,0 Current State: 68:[61, 109], Operations: ['15*4=60', '49+60=109'] Exploring Operation: 61*109=6649, Resulting Numbers: [6649] 6649,68 unequal: No Solution Exploring Operation: 109-61=48, Resulting Numbers: [48] 48,68 unequal: No Solution Exploring Operation: 61+109=170, Resulting Numbers: [170] 170,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[60, 110], Operations: ['15*4=60', '61+49=110'] Exploring Operation: 60+110=170, Resulting Numbers: [170] 170,68 unequal: No Solution Exploring Operation: 60*110=6600, Resulting Numbers: [6600] 6600,68 unequal: No Solution Exploring Operation: 110-60=50, Resulting Numbers: [50] 50,68 unequal: No Solution Moving to Node #0,4,1 Current State: 68:[61, 16], Operations: ['49+15=64', '64/4=16'] Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,68 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,68 unequal: No Solution Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,68 unequal: No Solution Moving to Node #0,4,1,0 Current State: 68:[77], Operations: ['49+15=64', '64/4=16', '61+16=77'] Moving to Node #0,2,1,0 Current State: 68:[50], Operations: ['15*4=60', '61+49=110', '110-60=50'] Moving to Node #0,2,0,0 Current State: 68:[48], Operations: ['15*4=60', '49+60=109', '109-61=48'] Moving to Node #0,1,4,0 Current State: 68:[91], Operations: ['15+4=19', '61-19=42', '49+42=91'] Moving to Node #0,4,1,0 Current State: 68:[45], Operations: ['49+15=64', '64/4=16', '61-16=45'] Moving to Node #0,0,2,0 Current State: 68:[99], Operations: ['61+4=65', '65-15=50', '49+50=99'] Moving to Node #0,3,3,0 Current State: 68:[99], Operations: ['49+4=53', '53-15=38', '61+38=99'] Moving to Node #0,3,1,0 Current State: 68:[99], Operations: ['49+4=53', '61-15=46', '53+46=99'] Moving to Node #0,0,0,0 Current State: 68:[99], Operations: ['61+4=65', '49-15=34', '65+34=99'] Moving to Node #0,2,2 Current State: 68:[61, 11], Operations: ['15*4=60', '60-49=11'] Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,68 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,68 unequal: No Solution Moving to Node #0,2,2,0 Current State: 68:[72], Operations: ['15*4=60', '60-49=11', '61+11=72'] Moving to Node #0,2,2,0 Current State: 68:[50], Operations: ['15*4=60', '60-49=11', '61-11=50'] Moving to Node #0,2,3 Current State: 68:[60, 12], Operations: ['15*4=60', '61-49=12'] Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,68 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 60*12=720, Resulting Numbers: [720] 720,68 unequal: No Solution Moving to Node #0,2,4 Current State: 68:[49, 121], Operations: ['15*4=60', '61+60=121'] Exploring Operation: 49+121=170, Resulting Numbers: [170] 170,68 unequal: No Solution Exploring Operation: 49*121=5929, Resulting Numbers: [5929] 5929,68 unequal: No Solution Exploring Operation: 121-49=72, Resulting Numbers: [72] 72,68 unequal: No Solution Moving to Node #0,1,0,0 Current State: 68:[31], Operations: ['15+4=19', '49-19=30', '61-30=31'] Moving to Node #0,2,3,0 Current State: 68:[72], Operations: ['15*4=60', '61-49=12', '60+12=72'] Moving to Node #0,2,4,0 Current State: 68:[72], Operations: ['15*4=60', '61+60=121', '121-49=72'] Moving to Node #0,2,3,0 Current State: 68:[48], Operations: ['15*4=60', '61-49=12', '60-12=48'] Moving to Node #0,0,0,0 Current State: 68:[31], Operations: ['61+4=65', '49-15=34', '65-34=31'] Moving to Node #0,0,4,0 Current State: 68:[31], Operations: ['61+4=65', '15+65=80', '80-49=31'] Moving to Node #0,1,1,0 Current State: 68:[31], Operations: ['15+4=19', '61+19=80', '80-49=31'] Moving to Node #0,3,3,0 Current State: 68:[23], Operations: ['49+4=53', '53-15=38', '61-38=23'] Moving to Node #0,3,2,0 Current State: 68:[23], Operations: ['49+4=53', '61+15=76', '76-53=23'] Moving to Node #0,1,3 Current State: 68:[19, 110], Operations: ['15+4=19', '61+49=110'] Exploring Operation: 19*110=2090, Resulting Numbers: [2090] 2090,68 unequal: No Solution Exploring Operation: 110-19=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 19+110=129, Resulting Numbers: [129] 129,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[15, 114], Operations: ['49+4=53', '61+53=114'] Exploring Operation: 15*114=1710, Resulting Numbers: [1710] 1710,68 unequal: No Solution Exploring Operation: 15+114=129, Resulting Numbers: [129] 129,68 unequal: No Solution Exploring Operation: 114-15=99, Resulting Numbers: [99] 99,68 unequal: No Solution Moving to Node #0,1,3,0 Current State: 68:[91], Operations: ['15+4=19', '61+49=110', '110-19=91'] Moving to Node #0,3,0,0 Current State: 68:[99], Operations: ['49+4=53', '61+53=114', '114-15=99'] Moving to Node #0,0,3 Current State: 68:[15, 114], Operations: ['61+4=65', '49+65=114'] Exploring Operation: 15*114=1710, Resulting Numbers: [1710] 1710,68 unequal: No Solution Exploring Operation: 114-15=99, Resulting Numbers: [99] 99,68 unequal: No Solution Exploring Operation: 15+114=129, Resulting Numbers: [129] 129,68 unequal: No Solution Moving to Node #0,4,4,0 Current State: 68:[121], Operations: ['49+15=64', '61-4=57', '64+57=121'] Moving to Node #0,4,3,0 Current State: 68:[121], Operations: ['49+15=64', '64-4=60', '61+60=121'] Moving to Node #0,0,3,0 Current State: 68:[99], Operations: ['61+4=65', '49+65=114', '114-15=99'] Moving to Node #0,3,4,0 Current State: 68:[129], Operations: ['49+4=53', '15+53=68', '61+68=129'] Moving to Node #0,1,3,0 Current State: 68:[129], Operations: ['15+4=19', '61+49=110', '19+110=129'] Moving to Node #0,3,4,0 Current State: 68:[7], Operations: ['49+4=53', '15+53=68', '68-61=7'] Moving to Node #0,3,0,0 Current State: 68:[129], Operations: ['49+4=53', '61+53=114', '15+114=129'] Moving to Node #0,4,2,0 Current State: 68:[7], Operations: ['49+15=64', '4+64=68', '68-61=7'] Moving to Node #0,0,3,0 Current State: 68:[129], Operations: ['61+4=65', '49+65=114', '15+114=129'] Moving to Node #0,0,1,0 Current State: 68:[129], Operations: ['61+4=65', '49+15=64', '65+64=129'] Moving to Node #0,4,2,0 Current State: 68:[129], Operations: ['49+15=64', '4+64=68', '61+68=129'] Moving to Node #0,4,0,0 Current State: 68:[129], Operations: ['49+15=64', '61+4=65', '64+65=129'] Moving to Node #0,1,2,0 Current State: 68:[7], Operations: ['15+4=19', '49+19=68', '68-61=7'] Moving to Node #0,3,1,0 Current State: 68:[7], Operations: ['49+4=53', '61-15=46', '53-46=7'] Moving to Node #0,1,2,0 Current State: 68:[129], Operations: ['15+4=19', '49+19=68', '61+68=129'] Moving to Node #0,3,2,0 Current State: 68:[129], Operations: ['49+4=53', '61+15=76', '53+76=129'] Moving to Node #0,1,4,0 Current State: 68:[7], Operations: ['15+4=19', '61-19=42', '49-42=7'] Moving to Node #0,0,4,0 Current State: 68:[129], Operations: ['61+4=65', '15+65=80', '49+80=129'] Moving to Node #0,4,4,0 Current State: 68:[7], Operations: ['49+15=64', '61-4=57', '64-57=7'] Moving to Node #0,1,1,0 Current State: 68:[129], Operations: ['15+4=19', '61+19=80', '49+80=129'] Moving to Node #0,2,3,0 Current State: 68:[5], Operations: ['15*4=60', '61-49=12', '60/12=5'] Moving to Node #0,4,0,0 Current State: 68:[1], Operations: ['49+15=64', '61+4=65', '65-64=1'] Moving to Node #0,0,2,0 Current State: 68:[1], Operations: ['61+4=65', '65-15=50', '50-49=1'] Moving to Node #0,0,1,0 Current State: 68:[1], Operations: ['61+4=65', '49+15=64', '65-64=1'] Moving to Node #0,4,3,0 Current State: 68:[1], Operations: ['49+15=64', '64-4=60', '61-60=1'] Moving to Node #0,2,1,0 Current State: 68:[170], Operations: ['15*4=60', '61+49=110', '60+110=170'] Moving to Node #0,2,4,0 Current State: 68:[170], Operations: ['15*4=60', '61+60=121', '49+121=170'] Moving to Node #0,2,0,0 Current State: 68:[170], Operations: ['15*4=60', '49+60=109', '61+109=170'] Moving to Node #0,2,2,0 Current State: 68:[671], Operations: ['15*4=60', '60-49=11', '61*11=671'] Moving to Node #0,2,3,0 Current State: 68:[720], Operations: ['15*4=60', '61-49=12', '60*12=720'] Moving to Node #0,4,1,0 Current State: 68:[976], Operations: ['49+15=64', '64/4=16', '61*16=976'] Moving to Node #0,3,0,0 Current State: 68:[1710], Operations: ['49+4=53', '61+53=114', '15*114=1710'] Moving to Node #0,0,3,0 Current State: 68:[1710], Operations: ['61+4=65', '49+65=114', '15*114=1710'] Moving to Node #0,1,0,0 Current State: 68:[1830], Operations: ['15+4=19', '49-19=30', '61*30=1830'] Moving to Node #0,1,4,0 Current State: 68:[2058], Operations: ['15+4=19', '61-19=42', '49*42=2058'] Moving to Node #0,1,3,0 Current State: 68:[2090], Operations: ['15+4=19', '61+49=110', '19*110=2090'] Moving to Node #0,0,0,0 Current State: 68:[2210], Operations: ['61+4=65', '49-15=34', '65*34=2210'] Moving to Node #0,3,3,0 Current State: 68:[2318], Operations: ['49+4=53', '53-15=38', '61*38=2318'] Moving to Node #0,3,1,0 Current State: 68:[2438], Operations: ['49+4=53', '61-15=46', '53*46=2438'] Moving to Node #0,0,2,0 Current State: 68:[2450], Operations: ['61+4=65', '65-15=50', '49*50=2450'] Moving to Node #0,4,4,0 Current State: 68:[3648], Operations: ['49+15=64', '61-4=57', '64*57=3648'] Moving to Node #0,4,3,0 Current State: 68:[3660], Operations: ['49+15=64', '64-4=60', '61*60=3660'] Moving to Node #0,1,1,0 Current State: 68:[3920], Operations: ['15+4=19', '61+19=80', '49*80=3920'] Moving to Node #0,0,4,0 Current State: 68:[3920], Operations: ['61+4=65', '15+65=80', '49*80=3920'] Moving to Node #0,3,2,0 Current State: 68:[4028], Operations: ['49+4=53', '61+15=76', '53*76=4028'] Moving to Node #0,4,2,0 Current State: 68:[4148], Operations: ['49+15=64', '4+64=68', '61*68=4148'] Moving to Node #0,3,4,0 Current State: 68:[4148], Operations: ['49+4=53', '15+53=68', '61*68=4148'] Moving to Node #0,1,2,0 Current State: 68:[4148], Operations: ['15+4=19', '49+19=68', '61*68=4148'] Moving to Node #0,4,0,0 Current State: 68:[4160], Operations: ['49+15=64', '61+4=65', '64*65=4160'] Moving to Node #0,0,1,0 Current State: 68:[4160], Operations: ['61+4=65', '49+15=64', '65*64=4160'] Moving to Node #0,2,4,0 Current State: 68:[5929], Operations: ['15*4=60', '61+60=121', '49*121=5929'] Moving to Node #0,2,1,0 Current State: 68:[6600], Operations: ['15*4=60', '61+49=110', '60*110=6600'] Moving to Node #0,2,0,0 Current State: 68:[6649], Operations: ['15*4=60', '49+60=109', '61*109=6649'] No solution found.
0
bfs_5
Current State: 68:[61, 49, 15, 4], Operations: [] Exploring Operation: 61+15=76, Resulting Numbers: [49, 4, 76] Generated Node #2: [49, 4, 76] from Operation: 61+15=76 Current State: 68:[49, 4, 76], Operations: ['61+15=76'] Exploring Operation: 76/4=19, Resulting Numbers: [49, 19] Generated Node #3: [49, 19] from Operation: 76/4=19 Current State: 68:[49, 19], Operations: ['61+15=76', '76/4=19'] Exploring Operation: 49+19=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
sum_heuristic
[ { "content": "Make 68 with the numbers [61, 49, 15, 4] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 68:[61, 49, 15, 4], Operations: []\nExploring Operation: 61+4=65, Resulting Numbers: [49, 15, 65]\nGenerated Node #0,0: 68:[49, 15, 65] Operation: 61+4=65\nExploring Operation: 15+4=19, Resulting Numbers: [61, 49, 19]\nGenerated Node #0,1: 68:[61, 49, 19] Operation: 15+4=19\nExploring Operation: 15*4=60, Resulting Numbers: [61, 49, 60]\nGenerated Node #0,2: 68:[61, 49, 60] Operation: 15*4=60\nExploring Operation: 49+4=53, Resulting Numbers: [61, 15, 53]\nGenerated Node #0,3: 68:[61, 15, 53] Operation: 49+4=53\nExploring Operation: 49+15=64, Resulting Numbers: [61, 4, 64]\nGenerated Node #0,4: 68:[61, 4, 64] Operation: 49+15=64\nMoving to Node #0,2\nCurrent State: 68:[61, 49, 60], Operations: ['15*4=60']\nExploring Operation: 49+60=109, Resulting Numbers: [61, 109]\nGenerated Node #0,2,0: 68:[61, 109] Operation: 49+60=109\nExploring Operation: 61+49=110, Resulting Numbers: [60, 110]\nGenerated Node #0,2,1: 68:[60, 110] Operation: 61+49=110\nExploring Operation: 60-49=11, Resulting Numbers: [61, 11]\nGenerated Node #0,2,2: 68:[61, 11] Operation: 60-49=11\nExploring Operation: 61-49=12, Resulting Numbers: [60, 12]\nGenerated Node #0,2,3: 68:[60, 12] Operation: 61-49=12\nExploring Operation: 61+60=121, Resulting Numbers: [49, 121]\nGenerated Node #0,2,4: 68:[49, 121] Operation: 61+60=121\nMoving to Node #0,1\nCurrent State: 68:[61, 49, 19], Operations: ['15+4=19']\nExploring Operation: 49-19=30, Resulting Numbers: [61, 30]\nGenerated Node #0,1,0: 68:[61, 30] Operation: 49-19=30\nExploring Operation: 61+19=80, Resulting Numbers: [49, 80]\nGenerated Node #0,1,1: 68:[49, 80] Operation: 61+19=80\nExploring Operation: 49+19=68, Resulting Numbers: [61, 68]\nGenerated Node #0,1,2: 68:[61, 68] Operation: 49+19=68\nExploring Operation: 61+49=110, Resulting Numbers: [19, 110]\nGenerated Node #0,1,3: 68:[19, 110] Operation: 61+49=110\nExploring Operation: 61-19=42, Resulting Numbers: [49, 42]\nGenerated Node #0,1,4: 68:[49, 42] Operation: 61-19=42\nMoving to Node #0,4\nCurrent State: 68:[61, 4, 64], Operations: ['49+15=64']\nExploring Operation: 61+4=65, Resulting Numbers: [64, 65]\nGenerated Node #0,4,0: 68:[64, 65] Operation: 61+4=65\nExploring Operation: 64/4=16, Resulting Numbers: [61, 16]\nGenerated Node #0,4,1: 68:[61, 16] Operation: 64/4=16\nExploring Operation: 4+64=68, Resulting Numbers: [61, 68]\nGenerated Node #0,4,2: 68:[61, 68] Operation: 4+64=68\nExploring Operation: 64-4=60, Resulting Numbers: [61, 60]\nGenerated Node #0,4,3: 68:[61, 60] Operation: 64-4=60\nExploring Operation: 61-4=57, Resulting Numbers: [64, 57]\nGenerated Node #0,4,4: 68:[64, 57] Operation: 61-4=57\nMoving to Node #0,0\nCurrent State: 68:[49, 15, 65], Operations: ['61+4=65']\nExploring Operation: 49-15=34, Resulting Numbers: [65, 34]\nGenerated Node #0,0,0: 68:[65, 34] Operation: 49-15=34\nExploring Operation: 49+15=64, Resulting Numbers: [65, 64]\nGenerated Node #0,0,1: 68:[65, 64] Operation: 49+15=64\nExploring Operation: 65-15=50, Resulting Numbers: [49, 50]\nGenerated Node #0,0,2: 68:[49, 50] Operation: 65-15=50\nExploring Operation: 49+65=114, Resulting Numbers: [15, 114]\nGenerated Node #0,0,3: 68:[15, 114] Operation: 49+65=114\nExploring Operation: 15+65=80, Resulting Numbers: [49, 80]\nGenerated Node #0,0,4: 68:[49, 80] Operation: 15+65=80\nMoving to Node #0,3\nCurrent State: 68:[61, 15, 53], Operations: ['49+4=53']\nExploring Operation: 61+53=114, Resulting Numbers: [15, 114]\nGenerated Node #0,3,0: 68:[15, 114] Operation: 61+53=114\nExploring Operation: 61-15=46, Resulting Numbers: [53, 46]\nGenerated Node #0,3,1: 68:[53, 46] Operation: 61-15=46\nExploring Operation: 61+15=76, Resulting Numbers: [53, 76]\nGenerated Node #0,3,2: 68:[53, 76] Operation: 61+15=76\nExploring Operation: 53-15=38, Resulting Numbers: [61, 38]\nGenerated Node #0,3,3: 68:[61, 38] Operation: 53-15=38\nExploring Operation: 15+53=68, Resulting Numbers: [61, 68]\nGenerated Node #0,3,4: 68:[61, 68] Operation: 15+53=68\nMoving to Node #0,1,2\nCurrent State: 68:[61, 68], Operations: ['15+4=19', '49+19=68']\nExploring Operation: 61*68=4148, Resulting Numbers: [4148]\n4148,68 unequal: No Solution\nExploring Operation: 61+68=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nExploring Operation: 68-61=7, Resulting Numbers: [7]\n7,68 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 68:[61, 68], Operations: ['49+15=64', '4+64=68']\nExploring Operation: 61*68=4148, Resulting Numbers: [4148]\n4148,68 unequal: No Solution\nExploring Operation: 61+68=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nExploring Operation: 68-61=7, Resulting Numbers: [7]\n7,68 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 68:[64, 65], Operations: ['49+15=64', '61+4=65']\nExploring Operation: 65-64=1, Resulting Numbers: [1]\n1,68 unequal: No Solution\nExploring Operation: 64*65=4160, Resulting Numbers: [4160]\n4160,68 unequal: No Solution\nExploring Operation: 64+65=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 68:[61, 68], Operations: ['49+4=53', '15+53=68']\nExploring Operation: 61*68=4148, Resulting Numbers: [4148]\n4148,68 unequal: No Solution\nExploring Operation: 61+68=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nExploring Operation: 68-61=7, Resulting Numbers: [7]\n7,68 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 68:[65, 64], Operations: ['61+4=65', '49+15=64']\nExploring Operation: 65*64=4160, Resulting Numbers: [4160]\n4160,68 unequal: No Solution\nExploring Operation: 65+64=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nExploring Operation: 65-64=1, Resulting Numbers: [1]\n1,68 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 68:[64, 57], Operations: ['49+15=64', '61-4=57']\nExploring Operation: 64-57=7, Resulting Numbers: [7]\n7,68 unequal: No Solution\nExploring Operation: 64+57=121, Resulting Numbers: [121]\n121,68 unequal: No Solution\nExploring Operation: 64*57=3648, Resulting Numbers: [3648]\n3648,68 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 68:[61, 60], Operations: ['49+15=64', '64-4=60']\nExploring Operation: 61-60=1, Resulting Numbers: [1]\n1,68 unequal: No Solution\nExploring Operation: 61+60=121, Resulting Numbers: [121]\n121,68 unequal: No Solution\nExploring Operation: 61*60=3660, Resulting Numbers: [3660]\n3660,68 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 68:[53, 76], Operations: ['49+4=53', '61+15=76']\nExploring Operation: 76-53=23, Resulting Numbers: [23]\n23,68 unequal: No Solution\nExploring Operation: 53+76=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nExploring Operation: 53*76=4028, Resulting Numbers: [4028]\n4028,68 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 68:[49, 80], Operations: ['15+4=19', '61+19=80']\nExploring Operation: 49+80=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nExploring Operation: 49*80=3920, Resulting Numbers: [3920]\n3920,68 unequal: No Solution\nExploring Operation: 80-49=31, Resulting Numbers: [31]\n31,68 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 68:[49, 80], Operations: ['61+4=65', '15+65=80']\nExploring Operation: 80-49=31, Resulting Numbers: [31]\n31,68 unequal: No Solution\nExploring Operation: 49*80=3920, Resulting Numbers: [3920]\n3920,68 unequal: No Solution\nExploring Operation: 49+80=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 68:[61, 38], Operations: ['49+4=53', '53-15=38']\nExploring Operation: 61+38=99, Resulting Numbers: [99]\n99,68 unequal: No Solution\nExploring Operation: 61-38=23, Resulting Numbers: [23]\n23,68 unequal: No Solution\nExploring Operation: 61*38=2318, Resulting Numbers: [2318]\n2318,68 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 68:[53, 46], Operations: ['49+4=53', '61-15=46']\nExploring Operation: 53*46=2438, Resulting Numbers: [2438]\n2438,68 unequal: No Solution\nExploring Operation: 53-46=7, Resulting Numbers: [7]\n7,68 unequal: No Solution\nExploring Operation: 53+46=99, Resulting Numbers: [99]\n99,68 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 68:[65, 34], Operations: ['61+4=65', '49-15=34']\nExploring Operation: 65+34=99, Resulting Numbers: [99]\n99,68 unequal: No Solution\nExploring Operation: 65*34=2210, Resulting Numbers: [2210]\n2210,68 unequal: No Solution\nExploring Operation: 65-34=31, Resulting Numbers: [31]\n31,68 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 68:[49, 50], Operations: ['61+4=65', '65-15=50']\nExploring Operation: 50-49=1, Resulting Numbers: [1]\n1,68 unequal: No Solution\nExploring Operation: 49*50=2450, Resulting Numbers: [2450]\n2450,68 unequal: No Solution\nExploring Operation: 49+50=99, Resulting Numbers: [99]\n99,68 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 68:[61, 30], Operations: ['15+4=19', '49-19=30']\nExploring Operation: 61-30=31, Resulting Numbers: [31]\n31,68 unequal: No Solution\nExploring Operation: 61+30=91, Resulting Numbers: [91]\n91,68 unequal: No Solution\nExploring Operation: 61*30=1830, Resulting Numbers: [1830]\n1830,68 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 68:[49, 42], Operations: ['15+4=19', '61-19=42']\nExploring Operation: 49+42=91, Resulting Numbers: [91]\n91,68 unequal: No Solution\nExploring Operation: 49*42=2058, Resulting Numbers: [2058]\n2058,68 unequal: No Solution\nExploring Operation: 49-42=7, Resulting Numbers: [7]\n7,68 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 68:[91], Operations: ['15+4=19', '49-19=30', '61+30=91']\nMoving to Node #0,2,0\nCurrent State: 68:[61, 109], Operations: ['15*4=60', '49+60=109']\nExploring Operation: 61*109=6649, Resulting Numbers: [6649]\n6649,68 unequal: No Solution\nExploring Operation: 109-61=48, Resulting Numbers: [48]\n48,68 unequal: No Solution\nExploring Operation: 61+109=170, Resulting Numbers: [170]\n170,68 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 68:[60, 110], Operations: ['15*4=60', '61+49=110']\nExploring Operation: 60+110=170, Resulting Numbers: [170]\n170,68 unequal: No Solution\nExploring Operation: 60*110=6600, Resulting Numbers: [6600]\n6600,68 unequal: No Solution\nExploring Operation: 110-60=50, Resulting Numbers: [50]\n50,68 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 68:[61, 16], Operations: ['49+15=64', '64/4=16']\nExploring Operation: 61-16=45, Resulting Numbers: [45]\n45,68 unequal: No Solution\nExploring Operation: 61*16=976, Resulting Numbers: [976]\n976,68 unequal: No Solution\nExploring Operation: 61+16=77, Resulting Numbers: [77]\n77,68 unequal: No Solution\nMoving to Node #0,4,1,0\nCurrent State: 68:[77], Operations: ['49+15=64', '64/4=16', '61+16=77']\nMoving to Node #0,2,1,0\nCurrent State: 68:[50], Operations: ['15*4=60', '61+49=110', '110-60=50']\nMoving to Node #0,2,0,0\nCurrent State: 68:[48], Operations: ['15*4=60', '49+60=109', '109-61=48']\nMoving to Node #0,1,4,0\nCurrent State: 68:[91], Operations: ['15+4=19', '61-19=42', '49+42=91']\nMoving to Node #0,4,1,0\nCurrent State: 68:[45], Operations: ['49+15=64', '64/4=16', '61-16=45']\nMoving to Node #0,0,2,0\nCurrent State: 68:[99], Operations: ['61+4=65', '65-15=50', '49+50=99']\nMoving to Node #0,3,3,0\nCurrent State: 68:[99], Operations: ['49+4=53', '53-15=38', '61+38=99']\nMoving to Node #0,3,1,0\nCurrent State: 68:[99], Operations: ['49+4=53', '61-15=46', '53+46=99']\nMoving to Node #0,0,0,0\nCurrent State: 68:[99], Operations: ['61+4=65', '49-15=34', '65+34=99']\nMoving to Node #0,2,2\nCurrent State: 68:[61, 11], Operations: ['15*4=60', '60-49=11']\nExploring Operation: 61+11=72, Resulting Numbers: [72]\n72,68 unequal: No Solution\nExploring Operation: 61*11=671, Resulting Numbers: [671]\n671,68 unequal: No Solution\nExploring Operation: 61-11=50, Resulting Numbers: [50]\n50,68 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 68:[72], Operations: ['15*4=60', '60-49=11', '61+11=72']\nMoving to Node #0,2,2,0\nCurrent State: 68:[50], Operations: ['15*4=60', '60-49=11', '61-11=50']\nMoving to Node #0,2,3\nCurrent State: 68:[60, 12], Operations: ['15*4=60', '61-49=12']\nExploring Operation: 60+12=72, Resulting Numbers: [72]\n72,68 unequal: No Solution\nExploring Operation: 60-12=48, Resulting Numbers: [48]\n48,68 unequal: No Solution\nExploring Operation: 60/12=5, Resulting Numbers: [5]\n5,68 unequal: No Solution\nExploring Operation: 60*12=720, Resulting Numbers: [720]\n720,68 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 68:[49, 121], Operations: ['15*4=60', '61+60=121']\nExploring Operation: 49+121=170, Resulting Numbers: [170]\n170,68 unequal: No Solution\nExploring Operation: 49*121=5929, Resulting Numbers: [5929]\n5929,68 unequal: No Solution\nExploring Operation: 121-49=72, Resulting Numbers: [72]\n72,68 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 68:[31], Operations: ['15+4=19', '49-19=30', '61-30=31']\nMoving to Node #0,2,3,0\nCurrent State: 68:[72], Operations: ['15*4=60', '61-49=12', '60+12=72']\nMoving to Node #0,2,4,0\nCurrent State: 68:[72], Operations: ['15*4=60', '61+60=121', '121-49=72']\nMoving to Node #0,2,3,0\nCurrent State: 68:[48], Operations: ['15*4=60', '61-49=12', '60-12=48']\nMoving to Node #0,0,0,0\nCurrent State: 68:[31], Operations: ['61+4=65', '49-15=34', '65-34=31']\nMoving to Node #0,0,4,0\nCurrent State: 68:[31], Operations: ['61+4=65', '15+65=80', '80-49=31']\nMoving to Node #0,1,1,0\nCurrent State: 68:[31], Operations: ['15+4=19', '61+19=80', '80-49=31']\nMoving to Node #0,3,3,0\nCurrent State: 68:[23], Operations: ['49+4=53', '53-15=38', '61-38=23']\nMoving to Node #0,3,2,0\nCurrent State: 68:[23], Operations: ['49+4=53', '61+15=76', '76-53=23']\nMoving to Node #0,1,3\nCurrent State: 68:[19, 110], Operations: ['15+4=19', '61+49=110']\nExploring Operation: 19*110=2090, Resulting Numbers: [2090]\n2090,68 unequal: No Solution\nExploring Operation: 110-19=91, Resulting Numbers: [91]\n91,68 unequal: No Solution\nExploring Operation: 19+110=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 68:[15, 114], Operations: ['49+4=53', '61+53=114']\nExploring Operation: 15*114=1710, Resulting Numbers: [1710]\n1710,68 unequal: No Solution\nExploring Operation: 15+114=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nExploring Operation: 114-15=99, Resulting Numbers: [99]\n99,68 unequal: No Solution\nMoving to Node #0,1,3,0\nCurrent State: 68:[91], Operations: ['15+4=19', '61+49=110', '110-19=91']\nMoving to Node #0,3,0,0\nCurrent State: 68:[99], Operations: ['49+4=53', '61+53=114', '114-15=99']\nMoving to Node #0,0,3\nCurrent State: 68:[15, 114], Operations: ['61+4=65', '49+65=114']\nExploring Operation: 15*114=1710, Resulting Numbers: [1710]\n1710,68 unequal: No Solution\nExploring Operation: 114-15=99, Resulting Numbers: [99]\n99,68 unequal: No Solution\nExploring Operation: 15+114=129, Resulting Numbers: [129]\n129,68 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 68:[121], Operations: ['49+15=64', '61-4=57', '64+57=121']\nMoving to Node #0,4,3,0\nCurrent State: 68:[121], Operations: ['49+15=64', '64-4=60', '61+60=121']\nMoving to Node #0,0,3,0\nCurrent State: 68:[99], Operations: ['61+4=65', '49+65=114', '114-15=99']\nMoving to Node #0,3,4,0\nCurrent State: 68:[129], Operations: ['49+4=53', '15+53=68', '61+68=129']\nMoving to Node #0,1,3,0\nCurrent State: 68:[129], Operations: ['15+4=19', '61+49=110', '19+110=129']\nMoving to Node #0,3,4,0\nCurrent State: 68:[7], Operations: ['49+4=53', '15+53=68', '68-61=7']\nMoving to Node #0,3,0,0\nCurrent State: 68:[129], Operations: ['49+4=53', '61+53=114', '15+114=129']\nMoving to Node #0,4,2,0\nCurrent State: 68:[7], Operations: ['49+15=64', '4+64=68', '68-61=7']\nMoving to Node #0,0,3,0\nCurrent State: 68:[129], Operations: ['61+4=65', '49+65=114', '15+114=129']\nMoving to Node #0,0,1,0\nCurrent State: 68:[129], Operations: ['61+4=65', '49+15=64', '65+64=129']\nMoving to Node #0,4,2,0\nCurrent State: 68:[129], Operations: ['49+15=64', '4+64=68', '61+68=129']\nMoving to Node #0,4,0,0\nCurrent State: 68:[129], Operations: ['49+15=64', '61+4=65', '64+65=129']\nMoving to Node #0,1,2,0\nCurrent State: 68:[7], Operations: ['15+4=19', '49+19=68', '68-61=7']\nMoving to Node #0,3,1,0\nCurrent State: 68:[7], Operations: ['49+4=53', '61-15=46', '53-46=7']\nMoving to Node #0,1,2,0\nCurrent State: 68:[129], Operations: ['15+4=19', '49+19=68', '61+68=129']\nMoving to Node #0,3,2,0\nCurrent State: 68:[129], Operations: ['49+4=53', '61+15=76', '53+76=129']\nMoving to Node #0,1,4,0\nCurrent State: 68:[7], Operations: ['15+4=19', '61-19=42', '49-42=7']\nMoving to Node #0,0,4,0\nCurrent State: 68:[129], Operations: ['61+4=65', '15+65=80', '49+80=129']\nMoving to Node #0,4,4,0\nCurrent State: 68:[7], Operations: ['49+15=64', '61-4=57', '64-57=7']\nMoving to Node #0,1,1,0\nCurrent State: 68:[129], Operations: ['15+4=19', '61+19=80', '49+80=129']\nMoving to Node #0,2,3,0\nCurrent State: 68:[5], Operations: ['15*4=60', '61-49=12', '60/12=5']\nMoving to Node #0,4,0,0\nCurrent State: 68:[1], Operations: ['49+15=64', '61+4=65', '65-64=1']\nMoving to Node #0,0,2,0\nCurrent State: 68:[1], Operations: ['61+4=65', '65-15=50', '50-49=1']\nMoving to Node #0,0,1,0\nCurrent State: 68:[1], Operations: ['61+4=65', '49+15=64', '65-64=1']\nMoving to Node #0,4,3,0\nCurrent State: 68:[1], Operations: ['49+15=64', '64-4=60', '61-60=1']\nMoving to Node #0,2,1,0\nCurrent State: 68:[170], Operations: ['15*4=60', '61+49=110', '60+110=170']\nMoving to Node #0,2,4,0\nCurrent State: 68:[170], Operations: ['15*4=60', '61+60=121', '49+121=170']\nMoving to Node #0,2,0,0\nCurrent State: 68:[170], Operations: ['15*4=60', '49+60=109', '61+109=170']\nMoving to Node #0,2,2,0\nCurrent State: 68:[671], Operations: ['15*4=60', '60-49=11', '61*11=671']\nMoving to Node #0,2,3,0\nCurrent State: 68:[720], Operations: ['15*4=60', '61-49=12', '60*12=720']\nMoving to Node #0,4,1,0\nCurrent State: 68:[976], Operations: ['49+15=64', '64/4=16', '61*16=976']\nMoving to Node #0,3,0,0\nCurrent State: 68:[1710], Operations: ['49+4=53', '61+53=114', '15*114=1710']\nMoving to Node #0,0,3,0\nCurrent State: 68:[1710], Operations: ['61+4=65', '49+65=114', '15*114=1710']\nMoving to Node #0,1,0,0\nCurrent State: 68:[1830], Operations: ['15+4=19', '49-19=30', '61*30=1830']\nMoving to Node #0,1,4,0\nCurrent State: 68:[2058], Operations: ['15+4=19', '61-19=42', '49*42=2058']\nMoving to Node #0,1,3,0\nCurrent State: 68:[2090], Operations: ['15+4=19', '61+49=110', '19*110=2090']\nMoving to Node #0,0,0,0\nCurrent State: 68:[2210], Operations: ['61+4=65', '49-15=34', '65*34=2210']\nMoving to Node #0,3,3,0\nCurrent State: 68:[2318], Operations: ['49+4=53', '53-15=38', '61*38=2318']\nMoving to Node #0,3,1,0\nCurrent State: 68:[2438], Operations: ['49+4=53', '61-15=46', '53*46=2438']\nMoving to Node #0,0,2,0\nCurrent State: 68:[2450], Operations: ['61+4=65', '65-15=50', '49*50=2450']\nMoving to Node #0,4,4,0\nCurrent State: 68:[3648], Operations: ['49+15=64', '61-4=57', '64*57=3648']\nMoving to Node #0,4,3,0\nCurrent State: 68:[3660], Operations: ['49+15=64', '64-4=60', '61*60=3660']\nMoving to Node #0,1,1,0\nCurrent State: 68:[3920], Operations: ['15+4=19', '61+19=80', '49*80=3920']\nMoving to Node #0,0,4,0\nCurrent State: 68:[3920], Operations: ['61+4=65', '15+65=80', '49*80=3920']\nMoving to Node #0,3,2,0\nCurrent State: 68:[4028], Operations: ['49+4=53', '61+15=76', '53*76=4028']\nMoving to Node #0,4,2,0\nCurrent State: 68:[4148], Operations: ['49+15=64', '4+64=68', '61*68=4148']\nMoving to Node #0,3,4,0\nCurrent State: 68:[4148], Operations: ['49+4=53', '15+53=68', '61*68=4148']\nMoving to Node #0,1,2,0\nCurrent State: 68:[4148], Operations: ['15+4=19', '49+19=68', '61*68=4148']\nMoving to Node #0,4,0,0\nCurrent State: 68:[4160], Operations: ['49+15=64', '61+4=65', '64*65=4160']\nMoving to Node #0,0,1,0\nCurrent State: 68:[4160], Operations: ['61+4=65', '49+15=64', '65*64=4160']\nMoving to Node #0,2,4,0\nCurrent State: 68:[5929], Operations: ['15*4=60', '61+60=121', '49*121=5929']\nMoving to Node #0,2,1,0\nCurrent State: 68:[6600], Operations: ['15*4=60', '61+49=110', '60*110=6600']\nMoving to Node #0,2,0,0\nCurrent State: 68:[6649], Operations: ['15*4=60', '49+60=109', '61*109=6649']\nNo solution found.", "role": "assistant" } ]
[ 30, 21, 56, 61 ]
13
[ "30-21=9", "56+61=117", "117/9=13" ]
Current State: 13:[30, 21, 56, 61], Operations: []
0
dfs
Current State: 13:[30, 21, 56, 61], Operations: [] Exploring Operation: 30-21=9, Resulting Numbers: [56, 61, 9] Generated Node #2: [56, 61, 9] from Operation: 30-21=9 Current State: 13:[56, 61, 9], Operations: ['30-21=9'] Exploring Operation: 56+61=117, Resulting Numbers: [9, 117] Generated Node #3: [9, 117] from Operation: 56+61=117 Current State: 13:[9, 117], Operations: ['30-21=9', '56+61=117'] Exploring Operation: 117/9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
mult_heuristic
[ { "content": "Make 13 with the numbers [30, 21, 56, 61] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 13:[30, 21, 56, 61], Operations: []\n", "role": "assistant" } ]
[ 66, 38, 53, 25 ]
76
[ "66+38=104", "53-25=28", "104-28=76" ]
Current State: 76:[66, 38, 53, 25], Operations: [] Exploring Operation: 38+25=63, Resulting Numbers: [66, 53, 63] Generated Node #0,0: 76:[66, 53, 63] Operation: 38+25=63 Moving to Node #0,0 Current State: 76:[66, 53, 63], Operations: ['38+25=63'] Exploring Operation: 53+63=116, Resulting Numbers: [66, 116] Generated Node #0,0,0: 76:[66, 116] Operation: 53+63=116 Moving to Node #0,0,0 Current State: 76:[66, 116], Operations: ['38+25=63', '53+63=116'] Exploring Operation: 116-66=50, Resulting Numbers: [50] 50,76 unequal: No Solution Moving to Node #0,0 Current State: 76:[66, 53, 63], Operations: ['38+25=63'] Exploring Operation: 66+53=119, Resulting Numbers: [63, 119] Generated Node #0,0,1: 76:[63, 119] Operation: 66+53=119 Moving to Node #0,0,1 Current State: 76:[63, 119], Operations: ['38+25=63', '66+53=119'] Exploring Operation: 119-63=56, Resulting Numbers: [56] 56,76 unequal: No Solution Moving to Node #0,0 Current State: 76:[66, 53, 63], Operations: ['38+25=63'] Exploring Operation: 66-53=13, Resulting Numbers: [63, 13] Generated Node #0,0,2: 76:[63, 13] Operation: 66-53=13 Moving to Node #0,0,2 Current State: 76:[63, 13], Operations: ['38+25=63', '66-53=13'] Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.993056
dfs
Current State: 76:[66, 38, 53, 25], Operations: [] Exploring Operation: 66+38=104, Resulting Numbers: [53, 25, 104] Generated Node #2: [53, 25, 104] from Operation: 66+38=104 Current State: 76:[53, 25, 104], Operations: ['66+38=104'] Exploring Operation: 53-25=28, Resulting Numbers: [104, 28] Generated Node #3: [104, 28] from Operation: 53-25=28 Current State: 76:[104, 28], Operations: ['66+38=104', '53-25=28'] Exploring Operation: 104-28=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
sum_heuristic
[ { "content": "Make 76 with the numbers [66, 38, 53, 25] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 76:[66, 38, 53, 25], Operations: []\nExploring Operation: 38+25=63, Resulting Numbers: [66, 53, 63]\nGenerated Node #0,0: 76:[66, 53, 63] Operation: 38+25=63\nMoving to Node #0,0\nCurrent State: 76:[66, 53, 63], Operations: ['38+25=63']\nExploring Operation: 53+63=116, Resulting Numbers: [66, 116]\nGenerated Node #0,0,0: 76:[66, 116] Operation: 53+63=116\nMoving to Node #0,0,0\nCurrent State: 76:[66, 116], Operations: ['38+25=63', '53+63=116']\nExploring Operation: 116-66=50, Resulting Numbers: [50]\n50,76 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 76:[66, 53, 63], Operations: ['38+25=63']\nExploring Operation: 66+53=119, Resulting Numbers: [63, 119]\nGenerated Node #0,0,1: 76:[63, 119] Operation: 66+53=119\nMoving to Node #0,0,1\nCurrent State: 76:[63, 119], Operations: ['38+25=63', '66+53=119']\nExploring Operation: 119-63=56, Resulting Numbers: [56]\n56,76 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 76:[66, 53, 63], Operations: ['38+25=63']\nExploring Operation: 66-53=13, Resulting Numbers: [63, 13]\nGenerated Node #0,0,2: 76:[63, 13] Operation: 66-53=13\nMoving to Node #0,0,2\nCurrent State: 76:[63, 13], Operations: ['38+25=63', '66-53=13']\nExploring Operation: 63+13=76, Resulting Numbers: [76]\n76,76 equal: Goal Reached\n", "role": "assistant" } ]
[ 34, 9, 36, 72 ]
26
[ "34*36=1224", "1224/72=17", "9+17=26" ]
Current State: 26:[34, 9, 36, 72], Operations: [] Exploring Operation: 72/9=8, Resulting Numbers: [34, 36, 8] Generated Node #0,0: 26:[34, 36, 8] Operation: 72/9=8 Exploring Operation: 72/36=2, Resulting Numbers: [34, 9, 2] Generated Node #0,1: 26:[34, 9, 2] Operation: 72/36=2 Exploring Operation: 72-34=38, Resulting Numbers: [9, 36, 38] Generated Node #0,2: 26:[9, 36, 38] Operation: 72-34=38 Exploring Operation: 72-36=36, Resulting Numbers: [34, 9, 36] Generated Node #0,3: 26:[34, 9, 36] Operation: 72-36=36 Moving to Node #0,3 Current State: 26:[34, 9, 36], Operations: ['72-36=36'] Exploring Operation: 34+9=43, Resulting Numbers: [36, 43] Generated Node #0,3,0: 26:[36, 43] Operation: 34+9=43 Exploring Operation: 34-9=25, Resulting Numbers: [36, 25] Generated Node #0,3,1: 26:[36, 25] Operation: 34-9=25 Exploring Operation: 9+36=45, Resulting Numbers: [34, 45] Generated Node #0,3,2: 26:[34, 45] Operation: 9+36=45 Exploring Operation: 36-9=27, Resulting Numbers: [34, 27] Generated Node #0,3,3: 26:[34, 27] Operation: 36-9=27 Moving to Node #0,0 Current State: 26:[34, 36, 8], Operations: ['72/9=8'] Exploring Operation: 36-8=28, Resulting Numbers: [34, 28] Generated Node #0,0,0: 26:[34, 28] Operation: 36-8=28 Exploring Operation: 34-8=26, Resulting Numbers: [36, 26] Generated Node #0,0,1: 26:[36, 26] Operation: 34-8=26 Exploring Operation: 36+8=44, Resulting Numbers: [34, 44] Generated Node #0,0,2: 26:[34, 44] Operation: 36+8=44 Exploring Operation: 34+8=42, Resulting Numbers: [36, 42] Generated Node #0,0,3: 26:[36, 42] Operation: 34+8=42 Moving to Node #0,2 Current State: 26:[9, 36, 38], Operations: ['72-34=38'] Exploring Operation: 9+36=45, Resulting Numbers: [38, 45] Generated Node #0,2,0: 26:[38, 45] Operation: 9+36=45 Exploring Operation: 38-9=29, Resulting Numbers: [36, 29] Generated Node #0,2,1: 26:[36, 29] Operation: 38-9=29 Exploring Operation: 36-9=27, Resulting Numbers: [38, 27] Generated Node #0,2,2: 26:[38, 27] Operation: 36-9=27 Exploring Operation: 9+38=47, Resulting Numbers: [36, 47] Generated Node #0,2,3: 26:[36, 47] Operation: 9+38=47 Moving to Node #0,1 Current State: 26:[34, 9, 2], Operations: ['72/36=2'] Exploring Operation: 9+2=11, Resulting Numbers: [34, 11] Generated Node #0,1,0: 26:[34, 11] Operation: 9+2=11 Exploring Operation: 34-2=32, Resulting Numbers: [9, 32] Generated Node #0,1,1: 26:[9, 32] Operation: 34-2=32 Exploring Operation: 9*2=18, Resulting Numbers: [34, 18] Generated Node #0,1,2: 26:[34, 18] Operation: 9*2=18 Exploring Operation: 34-9=25, Resulting Numbers: [2, 25] Generated Node #0,1,3: 26:[2, 25] Operation: 34-9=25 Moving to Node #0,3,3 Current State: 26:[34, 27], Operations: ['72-36=36', '36-9=27'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,26 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[36, 26], Operations: ['72/9=8', '34-8=26'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,26 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[34, 28], Operations: ['72/9=8', '36-8=28'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,26 unequal: No Solution Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[36, 25], Operations: ['72-36=36', '34-9=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,26 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[38, 27], Operations: ['72-34=38', '36-9=27'] Exploring Operation: 38+27=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 38*27=1026, Resulting Numbers: [1026] 1026,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[36, 29], Operations: ['72-34=38', '38-9=29'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 36*29=1044, Resulting Numbers: [1044] 1044,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[34, 18], Operations: ['72/36=2', '9*2=18'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,26 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[34, 11], Operations: ['72/36=2', '9+2=11'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,26 unequal: No Solution Moving to Node #0,1,0,0 Current State: 26:[23], Operations: ['72/36=2', '9+2=11', '34-11=23'] Moving to Node #0,1,2,0 Current State: 26:[16], Operations: ['72/36=2', '9*2=18', '34-18=16'] Moving to Node #0,1,1 Current State: 26:[9, 32], Operations: ['72/36=2', '34-2=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,26 unequal: No Solution Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[2, 25], Operations: ['72/36=2', '34-9=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,26 unequal: No Solution Moving to Node #0,1,3,0 Current State: 26:[27], Operations: ['72/36=2', '34-9=25', '2+25=27'] Moving to Node #0,1,1,0 Current State: 26:[23], Operations: ['72/36=2', '34-2=32', '32-9=23'] Moving to Node #0,1,3,0 Current State: 26:[23], Operations: ['72/36=2', '34-9=25', '25-2=23'] Moving to Node #0,0,2 Current State: 26:[34, 44], Operations: ['72/9=8', '36+8=44'] Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,26 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[36, 42], Operations: ['72/9=8', '34+8=42'] Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,26 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[36, 43], Operations: ['72-36=36', '34+9=43'] Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,26 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[34, 45], Operations: ['72-36=36', '9+36=45'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,26 unequal: No Solution Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,26 unequal: No Solution Moving to Node #0,1,1,0 Current State: 26:[41], Operations: ['72/36=2', '34-2=32', '9+32=41'] Moving to Node #0,3,1,0 Current State: 26:[11], Operations: ['72-36=36', '34-9=25', '36-25=11'] Moving to Node #0,2,2,0 Current State: 26:[11], Operations: ['72-34=38', '36-9=27', '38-27=11'] Moving to Node #0,3,2,0 Current State: 26:[11], Operations: ['72-36=36', '9+36=45', '45-34=11'] Moving to Node #0,2,3 Current State: 26:[36, 47], Operations: ['72-34=38', '9+38=47'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,26 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,26 unequal: No Solution Moving to Node #0,2,3,0 Current State: 26:[11], Operations: ['72-34=38', '9+38=47', '47-36=11'] Moving to Node #0,2,0 Current State: 26:[38, 45], Operations: ['72-34=38', '9+36=45'] Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 38+45=83, Resulting Numbers: [83] 83,26 unequal: No Solution Exploring Operation: 38*45=1710, Resulting Numbers: [1710] 1710,26 unequal: No Solution Moving to Node #0,0,2,0 Current State: 26:[10], Operations: ['72/9=8', '36+8=44', '44-34=10'] Moving to Node #0,0,1,0 Current State: 26:[10], Operations: ['72/9=8', '34-8=26', '36-26=10'] Moving to Node #0,1,0,0 Current State: 26:[45], Operations: ['72/36=2', '9+2=11', '34+11=45'] Moving to Node #0,3,3,0 Current State: 26:[7], Operations: ['72-36=36', '36-9=27', '34-27=7'] Moving to Node #0,2,1,0 Current State: 26:[7], Operations: ['72-34=38', '38-9=29', '36-29=7'] Moving to Node #0,3,0,0 Current State: 26:[7], Operations: ['72-36=36', '34+9=43', '43-36=7'] Moving to Node #0,2,0,0 Current State: 26:[7], Operations: ['72-34=38', '9+36=45', '45-38=7'] Moving to Node #0,0,3,0 Current State: 26:[6], Operations: ['72/9=8', '34+8=42', '42-36=6'] Moving to Node #0,0,0,0 Current State: 26:[6], Operations: ['72/9=8', '36-8=28', '34-28=6'] Moving to Node #0,1,3,0 Current State: 26:[50], Operations: ['72/36=2', '34-9=25', '2*25=50'] Moving to Node #0,1,2,0 Current State: 26:[52], Operations: ['72/36=2', '9*2=18', '34+18=52'] Moving to Node #0,3,3,0 Current State: 26:[61], Operations: ['72-36=36', '36-9=27', '34+27=61'] Moving to Node #0,3,1,0 Current State: 26:[61], Operations: ['72-36=36', '34-9=25', '36+25=61'] Moving to Node #0,0,0,0 Current State: 26:[62], Operations: ['72/9=8', '36-8=28', '34+28=62'] Moving to Node #0,0,1,0 Current State: 26:[62], Operations: ['72/9=8', '34-8=26', '36+26=62'] Moving to Node #0,2,1,0 Current State: 26:[65], Operations: ['72-34=38', '38-9=29', '36+29=65'] Moving to Node #0,2,2,0 Current State: 26:[65], Operations: ['72-34=38', '36-9=27', '38+27=65'] Moving to Node #0,0,3,0 Current State: 26:[78], Operations: ['72/9=8', '34+8=42', '36+42=78'] Moving to Node #0,0,2,0 Current State: 26:[78], Operations: ['72/9=8', '36+8=44', '34+44=78'] Moving to Node #0,3,2,0 Current State: 26:[79], Operations: ['72-36=36', '9+36=45', '34+45=79'] Moving to Node #0,3,0,0 Current State: 26:[79], Operations: ['72-36=36', '34+9=43', '36+43=79'] Moving to Node #0,2,3,0 Current State: 26:[83], Operations: ['72-34=38', '9+38=47', '36+47=83'] Moving to Node #0,2,0,0 Current State: 26:[83], Operations: ['72-34=38', '9+36=45', '38+45=83'] Moving to Node #0,1,1,0 Current State: 26:[288], Operations: ['72/36=2', '34-2=32', '9*32=288'] Moving to Node #0,1,0,0 Current State: 26:[374], Operations: ['72/36=2', '9+2=11', '34*11=374'] Moving to Node #0,1,2,0 Current State: 26:[612], Operations: ['72/36=2', '9*2=18', '34*18=612'] Moving to Node #0,3,1,0 Current State: 26:[900], Operations: ['72-36=36', '34-9=25', '36*25=900'] Moving to Node #0,3,3,0 Current State: 26:[918], Operations: ['72-36=36', '36-9=27', '34*27=918'] Moving to Node #0,0,1,0 Current State: 26:[936], Operations: ['72/9=8', '34-8=26', '36*26=936'] Moving to Node #0,0,0,0 Current State: 26:[952], Operations: ['72/9=8', '36-8=28', '34*28=952'] Moving to Node #0,2,2,0 Current State: 26:[1026], Operations: ['72-34=38', '36-9=27', '38*27=1026'] Moving to Node #0,2,1,0 Current State: 26:[1044], Operations: ['72-34=38', '38-9=29', '36*29=1044'] Moving to Node #0,0,2,0 Current State: 26:[1496], Operations: ['72/9=8', '36+8=44', '34*44=1496'] Moving to Node #0,0,3,0 Current State: 26:[1512], Operations: ['72/9=8', '34+8=42', '36*42=1512'] Moving to Node #0,3,2,0 Current State: 26:[1530], Operations: ['72-36=36', '9+36=45', '34*45=1530'] Moving to Node #0,3,0,0 Current State: 26:[1548], Operations: ['72-36=36', '34+9=43', '36*43=1548'] Moving to Node #0,2,3,0 Current State: 26:[1692], Operations: ['72-34=38', '9+38=47', '36*47=1692'] Moving to Node #0,2,0,0 Current State: 26:[1710], Operations: ['72-34=38', '9+36=45', '38*45=1710'] No solution found.
0
bfs_4
Current State: 26:[34, 9, 36, 72], Operations: [] Exploring Operation: 34*36=1224, Resulting Numbers: [9, 72, 1224] Generated Node #2: [9, 72, 1224] from Operation: 34*36=1224 Current State: 26:[9, 72, 1224], Operations: ['34*36=1224'] Exploring Operation: 1224/72=17, Resulting Numbers: [9, 17] Generated Node #3: [9, 17] from Operation: 1224/72=17 Current State: 26:[9, 17], Operations: ['34*36=1224', '1224/72=17'] Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
sum_heuristic
[ { "content": "Make 26 with the numbers [34, 9, 36, 72] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 26:[34, 9, 36, 72], Operations: []\nExploring Operation: 72/9=8, Resulting Numbers: [34, 36, 8]\nGenerated Node #0,0: 26:[34, 36, 8] Operation: 72/9=8\nExploring Operation: 72/36=2, Resulting Numbers: [34, 9, 2]\nGenerated Node #0,1: 26:[34, 9, 2] Operation: 72/36=2\nExploring Operation: 72-34=38, Resulting Numbers: [9, 36, 38]\nGenerated Node #0,2: 26:[9, 36, 38] Operation: 72-34=38\nExploring Operation: 72-36=36, Resulting Numbers: [34, 9, 36]\nGenerated Node #0,3: 26:[34, 9, 36] Operation: 72-36=36\nMoving to Node #0,3\nCurrent State: 26:[34, 9, 36], Operations: ['72-36=36']\nExploring Operation: 34+9=43, Resulting Numbers: [36, 43]\nGenerated Node #0,3,0: 26:[36, 43] Operation: 34+9=43\nExploring Operation: 34-9=25, Resulting Numbers: [36, 25]\nGenerated Node #0,3,1: 26:[36, 25] Operation: 34-9=25\nExploring Operation: 9+36=45, Resulting Numbers: [34, 45]\nGenerated Node #0,3,2: 26:[34, 45] Operation: 9+36=45\nExploring Operation: 36-9=27, Resulting Numbers: [34, 27]\nGenerated Node #0,3,3: 26:[34, 27] Operation: 36-9=27\nMoving to Node #0,0\nCurrent State: 26:[34, 36, 8], Operations: ['72/9=8']\nExploring Operation: 36-8=28, Resulting Numbers: [34, 28]\nGenerated Node #0,0,0: 26:[34, 28] Operation: 36-8=28\nExploring Operation: 34-8=26, Resulting Numbers: [36, 26]\nGenerated Node #0,0,1: 26:[36, 26] Operation: 34-8=26\nExploring Operation: 36+8=44, Resulting Numbers: [34, 44]\nGenerated Node #0,0,2: 26:[34, 44] Operation: 36+8=44\nExploring Operation: 34+8=42, Resulting Numbers: [36, 42]\nGenerated Node #0,0,3: 26:[36, 42] Operation: 34+8=42\nMoving to Node #0,2\nCurrent State: 26:[9, 36, 38], Operations: ['72-34=38']\nExploring Operation: 9+36=45, Resulting Numbers: [38, 45]\nGenerated Node #0,2,0: 26:[38, 45] Operation: 9+36=45\nExploring Operation: 38-9=29, Resulting Numbers: [36, 29]\nGenerated Node #0,2,1: 26:[36, 29] Operation: 38-9=29\nExploring Operation: 36-9=27, Resulting Numbers: [38, 27]\nGenerated Node #0,2,2: 26:[38, 27] Operation: 36-9=27\nExploring Operation: 9+38=47, Resulting Numbers: [36, 47]\nGenerated Node #0,2,3: 26:[36, 47] Operation: 9+38=47\nMoving to Node #0,1\nCurrent State: 26:[34, 9, 2], Operations: ['72/36=2']\nExploring Operation: 9+2=11, Resulting Numbers: [34, 11]\nGenerated Node #0,1,0: 26:[34, 11] Operation: 9+2=11\nExploring Operation: 34-2=32, Resulting Numbers: [9, 32]\nGenerated Node #0,1,1: 26:[9, 32] Operation: 34-2=32\nExploring Operation: 9*2=18, Resulting Numbers: [34, 18]\nGenerated Node #0,1,2: 26:[34, 18] Operation: 9*2=18\nExploring Operation: 34-9=25, Resulting Numbers: [2, 25]\nGenerated Node #0,1,3: 26:[2, 25] Operation: 34-9=25\nMoving to Node #0,3,3\nCurrent State: 26:[34, 27], Operations: ['72-36=36', '36-9=27']\nExploring Operation: 34-27=7, Resulting Numbers: [7]\n7,26 unequal: No Solution\nExploring Operation: 34*27=918, Resulting Numbers: [918]\n918,26 unequal: No Solution\nExploring Operation: 34+27=61, Resulting Numbers: [61]\n61,26 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 26:[36, 26], Operations: ['72/9=8', '34-8=26']\nExploring Operation: 36-26=10, Resulting Numbers: [10]\n10,26 unequal: No Solution\nExploring Operation: 36*26=936, Resulting Numbers: [936]\n936,26 unequal: No Solution\nExploring Operation: 36+26=62, Resulting Numbers: [62]\n62,26 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 26:[34, 28], Operations: ['72/9=8', '36-8=28']\nExploring Operation: 34-28=6, Resulting Numbers: [6]\n6,26 unequal: No Solution\nExploring Operation: 34+28=62, Resulting Numbers: [62]\n62,26 unequal: No Solution\nExploring Operation: 34*28=952, Resulting Numbers: [952]\n952,26 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 26:[36, 25], Operations: ['72-36=36', '34-9=25']\nExploring Operation: 36-25=11, Resulting Numbers: [11]\n11,26 unequal: No Solution\nExploring Operation: 36*25=900, Resulting Numbers: [900]\n900,26 unequal: No Solution\nExploring Operation: 36+25=61, Resulting Numbers: [61]\n61,26 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 26:[38, 27], Operations: ['72-34=38', '36-9=27']\nExploring Operation: 38+27=65, Resulting Numbers: [65]\n65,26 unequal: No Solution\nExploring Operation: 38-27=11, Resulting Numbers: [11]\n11,26 unequal: No Solution\nExploring Operation: 38*27=1026, Resulting Numbers: [1026]\n1026,26 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 26:[36, 29], Operations: ['72-34=38', '38-9=29']\nExploring Operation: 36-29=7, Resulting Numbers: [7]\n7,26 unequal: No Solution\nExploring Operation: 36+29=65, Resulting Numbers: [65]\n65,26 unequal: No Solution\nExploring Operation: 36*29=1044, Resulting Numbers: [1044]\n1044,26 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 26:[34, 18], Operations: ['72/36=2', '9*2=18']\nExploring Operation: 34-18=16, Resulting Numbers: [16]\n16,26 unequal: No Solution\nExploring Operation: 34*18=612, Resulting Numbers: [612]\n612,26 unequal: No Solution\nExploring Operation: 34+18=52, Resulting Numbers: [52]\n52,26 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 26:[34, 11], Operations: ['72/36=2', '9+2=11']\nExploring Operation: 34-11=23, Resulting Numbers: [23]\n23,26 unequal: No Solution\nExploring Operation: 34+11=45, Resulting Numbers: [45]\n45,26 unequal: No Solution\nExploring Operation: 34*11=374, Resulting Numbers: [374]\n374,26 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 26:[23], Operations: ['72/36=2', '9+2=11', '34-11=23']\nMoving to Node #0,1,2,0\nCurrent State: 26:[16], Operations: ['72/36=2', '9*2=18', '34-18=16']\nMoving to Node #0,1,1\nCurrent State: 26:[9, 32], Operations: ['72/36=2', '34-2=32']\nExploring Operation: 32-9=23, Resulting Numbers: [23]\n23,26 unequal: No Solution\nExploring Operation: 9*32=288, Resulting Numbers: [288]\n288,26 unequal: No Solution\nExploring Operation: 9+32=41, Resulting Numbers: [41]\n41,26 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 26:[2, 25], Operations: ['72/36=2', '34-9=25']\nExploring Operation: 2*25=50, Resulting Numbers: [50]\n50,26 unequal: No Solution\nExploring Operation: 2+25=27, Resulting Numbers: [27]\n27,26 unequal: No Solution\nExploring Operation: 25-2=23, Resulting Numbers: [23]\n23,26 unequal: No Solution\nMoving to Node #0,1,3,0\nCurrent State: 26:[27], Operations: ['72/36=2', '34-9=25', '2+25=27']\nMoving to Node #0,1,1,0\nCurrent State: 26:[23], Operations: ['72/36=2', '34-2=32', '32-9=23']\nMoving to Node #0,1,3,0\nCurrent State: 26:[23], Operations: ['72/36=2', '34-9=25', '25-2=23']\nMoving to Node #0,0,2\nCurrent State: 26:[34, 44], Operations: ['72/9=8', '36+8=44']\nExploring Operation: 34+44=78, Resulting Numbers: [78]\n78,26 unequal: No Solution\nExploring Operation: 34*44=1496, Resulting Numbers: [1496]\n1496,26 unequal: No Solution\nExploring Operation: 44-34=10, Resulting Numbers: [10]\n10,26 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 26:[36, 42], Operations: ['72/9=8', '34+8=42']\nExploring Operation: 36+42=78, Resulting Numbers: [78]\n78,26 unequal: No Solution\nExploring Operation: 36*42=1512, Resulting Numbers: [1512]\n1512,26 unequal: No Solution\nExploring Operation: 42-36=6, Resulting Numbers: [6]\n6,26 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 26:[36, 43], Operations: ['72-36=36', '34+9=43']\nExploring Operation: 36+43=79, Resulting Numbers: [79]\n79,26 unequal: No Solution\nExploring Operation: 43-36=7, Resulting Numbers: [7]\n7,26 unequal: No Solution\nExploring Operation: 36*43=1548, Resulting Numbers: [1548]\n1548,26 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 26:[34, 45], Operations: ['72-36=36', '9+36=45']\nExploring Operation: 45-34=11, Resulting Numbers: [11]\n11,26 unequal: No Solution\nExploring Operation: 34*45=1530, Resulting Numbers: [1530]\n1530,26 unequal: No Solution\nExploring Operation: 34+45=79, Resulting Numbers: [79]\n79,26 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 26:[41], Operations: ['72/36=2', '34-2=32', '9+32=41']\nMoving to Node #0,3,1,0\nCurrent State: 26:[11], Operations: ['72-36=36', '34-9=25', '36-25=11']\nMoving to Node #0,2,2,0\nCurrent State: 26:[11], Operations: ['72-34=38', '36-9=27', '38-27=11']\nMoving to Node #0,3,2,0\nCurrent State: 26:[11], Operations: ['72-36=36', '9+36=45', '45-34=11']\nMoving to Node #0,2,3\nCurrent State: 26:[36, 47], Operations: ['72-34=38', '9+38=47']\nExploring Operation: 47-36=11, Resulting Numbers: [11]\n11,26 unequal: No Solution\nExploring Operation: 36*47=1692, Resulting Numbers: [1692]\n1692,26 unequal: No Solution\nExploring Operation: 36+47=83, Resulting Numbers: [83]\n83,26 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 26:[11], Operations: ['72-34=38', '9+38=47', '47-36=11']\nMoving to Node #0,2,0\nCurrent State: 26:[38, 45], Operations: ['72-34=38', '9+36=45']\nExploring Operation: 45-38=7, Resulting Numbers: [7]\n7,26 unequal: No Solution\nExploring Operation: 38+45=83, Resulting Numbers: [83]\n83,26 unequal: No Solution\nExploring Operation: 38*45=1710, Resulting Numbers: [1710]\n1710,26 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 26:[10], Operations: ['72/9=8', '36+8=44', '44-34=10']\nMoving to Node #0,0,1,0\nCurrent State: 26:[10], Operations: ['72/9=8', '34-8=26', '36-26=10']\nMoving to Node #0,1,0,0\nCurrent State: 26:[45], Operations: ['72/36=2', '9+2=11', '34+11=45']\nMoving to Node #0,3,3,0\nCurrent State: 26:[7], Operations: ['72-36=36', '36-9=27', '34-27=7']\nMoving to Node #0,2,1,0\nCurrent State: 26:[7], Operations: ['72-34=38', '38-9=29', '36-29=7']\nMoving to Node #0,3,0,0\nCurrent State: 26:[7], Operations: ['72-36=36', '34+9=43', '43-36=7']\nMoving to Node #0,2,0,0\nCurrent State: 26:[7], Operations: ['72-34=38', '9+36=45', '45-38=7']\nMoving to Node #0,0,3,0\nCurrent State: 26:[6], Operations: ['72/9=8', '34+8=42', '42-36=6']\nMoving to Node #0,0,0,0\nCurrent State: 26:[6], Operations: ['72/9=8', '36-8=28', '34-28=6']\nMoving to Node #0,1,3,0\nCurrent State: 26:[50], Operations: ['72/36=2', '34-9=25', '2*25=50']\nMoving to Node #0,1,2,0\nCurrent State: 26:[52], Operations: ['72/36=2', '9*2=18', '34+18=52']\nMoving to Node #0,3,3,0\nCurrent State: 26:[61], Operations: ['72-36=36', '36-9=27', '34+27=61']\nMoving to Node #0,3,1,0\nCurrent State: 26:[61], Operations: ['72-36=36', '34-9=25', '36+25=61']\nMoving to Node #0,0,0,0\nCurrent State: 26:[62], Operations: ['72/9=8', '36-8=28', '34+28=62']\nMoving to Node #0,0,1,0\nCurrent State: 26:[62], Operations: ['72/9=8', '34-8=26', '36+26=62']\nMoving to Node #0,2,1,0\nCurrent State: 26:[65], Operations: ['72-34=38', '38-9=29', '36+29=65']\nMoving to Node #0,2,2,0\nCurrent State: 26:[65], Operations: ['72-34=38', '36-9=27', '38+27=65']\nMoving to Node #0,0,3,0\nCurrent State: 26:[78], Operations: ['72/9=8', '34+8=42', '36+42=78']\nMoving to Node #0,0,2,0\nCurrent State: 26:[78], Operations: ['72/9=8', '36+8=44', '34+44=78']\nMoving to Node #0,3,2,0\nCurrent State: 26:[79], Operations: ['72-36=36', '9+36=45', '34+45=79']\nMoving to Node #0,3,0,0\nCurrent State: 26:[79], Operations: ['72-36=36', '34+9=43', '36+43=79']\nMoving to Node #0,2,3,0\nCurrent State: 26:[83], Operations: ['72-34=38', '9+38=47', '36+47=83']\nMoving to Node #0,2,0,0\nCurrent State: 26:[83], Operations: ['72-34=38', '9+36=45', '38+45=83']\nMoving to Node #0,1,1,0\nCurrent State: 26:[288], Operations: ['72/36=2', '34-2=32', '9*32=288']\nMoving to Node #0,1,0,0\nCurrent State: 26:[374], Operations: ['72/36=2', '9+2=11', '34*11=374']\nMoving to Node #0,1,2,0\nCurrent State: 26:[612], Operations: ['72/36=2', '9*2=18', '34*18=612']\nMoving to Node #0,3,1,0\nCurrent State: 26:[900], Operations: ['72-36=36', '34-9=25', '36*25=900']\nMoving to Node #0,3,3,0\nCurrent State: 26:[918], Operations: ['72-36=36', '36-9=27', '34*27=918']\nMoving to Node #0,0,1,0\nCurrent State: 26:[936], Operations: ['72/9=8', '34-8=26', '36*26=936']\nMoving to Node #0,0,0,0\nCurrent State: 26:[952], Operations: ['72/9=8', '36-8=28', '34*28=952']\nMoving to Node #0,2,2,0\nCurrent State: 26:[1026], Operations: ['72-34=38', '36-9=27', '38*27=1026']\nMoving to Node #0,2,1,0\nCurrent State: 26:[1044], Operations: ['72-34=38', '38-9=29', '36*29=1044']\nMoving to Node #0,0,2,0\nCurrent State: 26:[1496], Operations: ['72/9=8', '36+8=44', '34*44=1496']\nMoving to Node #0,0,3,0\nCurrent State: 26:[1512], Operations: ['72/9=8', '34+8=42', '36*42=1512']\nMoving to Node #0,3,2,0\nCurrent State: 26:[1530], Operations: ['72-36=36', '9+36=45', '34*45=1530']\nMoving to Node #0,3,0,0\nCurrent State: 26:[1548], Operations: ['72-36=36', '34+9=43', '36*43=1548']\nMoving to Node #0,2,3,0\nCurrent State: 26:[1692], Operations: ['72-34=38', '9+38=47', '36*47=1692']\nMoving to Node #0,2,0,0\nCurrent State: 26:[1710], Operations: ['72-34=38', '9+36=45', '38*45=1710']\nNo solution found.", "role": "assistant" } ]
[ 73, 84, 98, 99 ]
10
[ "84-73=11", "99-98=1", "11-1=10" ]
Current State: 10:[73, 84, 98, 99], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [73, 84, 1] Generated Node #0,0: 10:[73, 84, 1] Operation: 99-98=1 Exploring Operation: 84-73=11, Resulting Numbers: [98, 99, 11] Generated Node #0,1: 10:[98, 99, 11] Operation: 84-73=11 Exploring Operation: 98-84=14, Resulting Numbers: [73, 99, 14] Generated Node #0,2: 10:[73, 99, 14] Operation: 98-84=14 Exploring Operation: 99-84=15, Resulting Numbers: [73, 98, 15] Generated Node #0,3: 10:[73, 98, 15] Operation: 99-84=15 Moving to Node #0,0 Current State: 10:[73, 84, 1], Operations: ['99-98=1'] Exploring Operation: 84-73=11, Resulting Numbers: [1, 11] Generated Node #0,0,0: 10:[1, 11] Operation: 84-73=11 Exploring Operation: 73-1=72, Resulting Numbers: [84, 72] Generated Node #0,0,1: 10:[84, 72] Operation: 73-1=72 Exploring Operation: 84-1=83, Resulting Numbers: [73, 83] Generated Node #0,0,2: 10:[73, 83] Operation: 84-1=83 Exploring Operation: 73*1=73, Resulting Numbers: [84, 73] Generated Node #0,0,3: 10:[84, 73] Operation: 73*1=73 Moving to Node #0,3 Current State: 10:[73, 98, 15], Operations: ['99-84=15'] Exploring Operation: 98-73=25, Resulting Numbers: [15, 25] Generated Node #0,3,0: 10:[15, 25] Operation: 98-73=25 Exploring Operation: 98-15=83, Resulting Numbers: [73, 83] Generated Node #0,3,1: 10:[73, 83] Operation: 98-15=83 Exploring Operation: 73+98=171, Resulting Numbers: [15, 171] Generated Node #0,3,2: 10:[15, 171] Operation: 73+98=171 Exploring Operation: 73-15=58, Resulting Numbers: [98, 58] Generated Node #0,3,3: 10:[98, 58] Operation: 73-15=58 Moving to Node #0,2 Current State: 10:[73, 99, 14], Operations: ['98-84=14'] Exploring Operation: 99-14=85, Resulting Numbers: [73, 85] Generated Node #0,2,0: 10:[73, 85] Operation: 99-14=85 Exploring Operation: 73+99=172, Resulting Numbers: [14, 172] Generated Node #0,2,1: 10:[14, 172] Operation: 73+99=172 Exploring Operation: 99-73=26, Resulting Numbers: [14, 26] Generated Node #0,2,2: 10:[14, 26] Operation: 99-73=26 Exploring Operation: 73-14=59, Resulting Numbers: [99, 59] Generated Node #0,2,3: 10:[99, 59] Operation: 73-14=59 Moving to Node #0,1 Current State: 10:[98, 99, 11], Operations: ['84-73=11'] Exploring Operation: 98-11=87, Resulting Numbers: [99, 87] Generated Node #0,1,0: 10:[99, 87] Operation: 98-11=87 Exploring Operation: 99-98=1, Resulting Numbers: [11, 1] Generated Node #0,1,1: 10:[11, 1] Operation: 99-98=1 Exploring Operation: 99/11=9, Resulting Numbers: [98, 9] Generated Node #0,1,2: 10:[98, 9] Operation: 99/11=9 Exploring Operation: 99-11=88, Resulting Numbers: [98, 88] Generated Node #0,1,3: 10:[98, 88] Operation: 99-11=88 Moving to Node #0,0,0 Current State: 10:[1, 11], Operations: ['99-98=1', '84-73=11'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.980035
bfs_4
Current State: 10:[73, 84, 98, 99], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [98, 99, 11] Generated Node #2: [98, 99, 11] from Operation: 84-73=11 Current State: 10:[98, 99, 11], Operations: ['84-73=11'] Exploring Operation: 99-98=1, Resulting Numbers: [11, 1] Generated Node #3: [11, 1] from Operation: 99-98=1 Current State: 10:[11, 1], Operations: ['84-73=11', '99-98=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
sum_heuristic
[ { "content": "Make 10 with the numbers [73, 84, 98, 99] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 10:[73, 84, 98, 99], Operations: []\nExploring Operation: 99-98=1, Resulting Numbers: [73, 84, 1]\nGenerated Node #0,0: 10:[73, 84, 1] Operation: 99-98=1\nExploring Operation: 84-73=11, Resulting Numbers: [98, 99, 11]\nGenerated Node #0,1: 10:[98, 99, 11] Operation: 84-73=11\nExploring Operation: 98-84=14, Resulting Numbers: [73, 99, 14]\nGenerated Node #0,2: 10:[73, 99, 14] Operation: 98-84=14\nExploring Operation: 99-84=15, Resulting Numbers: [73, 98, 15]\nGenerated Node #0,3: 10:[73, 98, 15] Operation: 99-84=15\nMoving to Node #0,0\nCurrent State: 10:[73, 84, 1], Operations: ['99-98=1']\nExploring Operation: 84-73=11, Resulting Numbers: [1, 11]\nGenerated Node #0,0,0: 10:[1, 11] Operation: 84-73=11\nExploring Operation: 73-1=72, Resulting Numbers: [84, 72]\nGenerated Node #0,0,1: 10:[84, 72] Operation: 73-1=72\nExploring Operation: 84-1=83, Resulting Numbers: [73, 83]\nGenerated Node #0,0,2: 10:[73, 83] Operation: 84-1=83\nExploring Operation: 73*1=73, Resulting Numbers: [84, 73]\nGenerated Node #0,0,3: 10:[84, 73] Operation: 73*1=73\nMoving to Node #0,3\nCurrent State: 10:[73, 98, 15], Operations: ['99-84=15']\nExploring Operation: 98-73=25, Resulting Numbers: [15, 25]\nGenerated Node #0,3,0: 10:[15, 25] Operation: 98-73=25\nExploring Operation: 98-15=83, Resulting Numbers: [73, 83]\nGenerated Node #0,3,1: 10:[73, 83] Operation: 98-15=83\nExploring Operation: 73+98=171, Resulting Numbers: [15, 171]\nGenerated Node #0,3,2: 10:[15, 171] Operation: 73+98=171\nExploring Operation: 73-15=58, Resulting Numbers: [98, 58]\nGenerated Node #0,3,3: 10:[98, 58] Operation: 73-15=58\nMoving to Node #0,2\nCurrent State: 10:[73, 99, 14], Operations: ['98-84=14']\nExploring Operation: 99-14=85, Resulting Numbers: [73, 85]\nGenerated Node #0,2,0: 10:[73, 85] Operation: 99-14=85\nExploring Operation: 73+99=172, Resulting Numbers: [14, 172]\nGenerated Node #0,2,1: 10:[14, 172] Operation: 73+99=172\nExploring Operation: 99-73=26, Resulting Numbers: [14, 26]\nGenerated Node #0,2,2: 10:[14, 26] Operation: 99-73=26\nExploring Operation: 73-14=59, Resulting Numbers: [99, 59]\nGenerated Node #0,2,3: 10:[99, 59] Operation: 73-14=59\nMoving to Node #0,1\nCurrent State: 10:[98, 99, 11], Operations: ['84-73=11']\nExploring Operation: 98-11=87, Resulting Numbers: [99, 87]\nGenerated Node #0,1,0: 10:[99, 87] Operation: 98-11=87\nExploring Operation: 99-98=1, Resulting Numbers: [11, 1]\nGenerated Node #0,1,1: 10:[11, 1] Operation: 99-98=1\nExploring Operation: 99/11=9, Resulting Numbers: [98, 9]\nGenerated Node #0,1,2: 10:[98, 9] Operation: 99/11=9\nExploring Operation: 99-11=88, Resulting Numbers: [98, 88]\nGenerated Node #0,1,3: 10:[98, 88] Operation: 99-11=88\nMoving to Node #0,0,0\nCurrent State: 10:[1, 11], Operations: ['99-98=1', '84-73=11']\nExploring Operation: 11/1=11, Resulting Numbers: [11]\n11,10 unequal: No Solution\nExploring Operation: 11-1=10, Resulting Numbers: [10]\n10,10 equal: Goal Reached\n", "role": "assistant" } ]
[ 71, 42, 44, 44 ]
59
[ "71-42=29", "44+44=88", "88-29=59" ]
Current State: 59:[71, 42, 44, 44], Operations: [] Exploring Operation: 42+44=86, Resulting Numbers: [71, 44, 86] Generated Node #0,0: 59:[71, 44, 86] Operation: 42+44=86 Moving to Node #0,0 Current State: 59:[71, 44, 86], Operations: ['42+44=86'] Exploring Operation: 86-44=42, Resulting Numbers: [71, 42] Generated Node #0,0,0: 59:[71, 42] Operation: 86-44=42 Moving to Node #0,0,0 Current State: 59:[71, 42], Operations: ['42+44=86', '86-44=42'] Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[71, 42], Operations: ['42+44=86', '86-44=42'] Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,59 unequal: No Solution Moving to Node #0,0 Current State: 59:[71, 44, 86], Operations: ['42+44=86'] Exploring Operation: 71-44=27, Resulting Numbers: [86, 27] Generated Node #0,0,1: 59:[86, 27] Operation: 71-44=27 Moving to Node #0,0,1 Current State: 59:[86, 27], Operations: ['42+44=86', '71-44=27'] Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.993924
dfs
Current State: 59:[71, 42, 44, 44], Operations: [] Exploring Operation: 71-42=29, Resulting Numbers: [44, 44, 29] Generated Node #2: [44, 44, 29] from Operation: 71-42=29 Current State: 59:[44, 44, 29], Operations: ['71-42=29'] Exploring Operation: 44+44=88, Resulting Numbers: [29, 88] Generated Node #3: [29, 88] from Operation: 44+44=88 Current State: 59:[29, 88], Operations: ['71-42=29', '44+44=88'] Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
mult_heuristic
[ { "content": "Make 59 with the numbers [71, 42, 44, 44] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 59:[71, 42, 44, 44], Operations: []\nExploring Operation: 42+44=86, Resulting Numbers: [71, 44, 86]\nGenerated Node #0,0: 59:[71, 44, 86] Operation: 42+44=86\nMoving to Node #0,0\nCurrent State: 59:[71, 44, 86], Operations: ['42+44=86']\nExploring Operation: 86-44=42, Resulting Numbers: [71, 42]\nGenerated Node #0,0,0: 59:[71, 42] Operation: 86-44=42\nMoving to Node #0,0,0\nCurrent State: 59:[71, 42], Operations: ['42+44=86', '86-44=42']\nExploring Operation: 71-42=29, Resulting Numbers: [29]\n29,59 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 59:[71, 42], Operations: ['42+44=86', '86-44=42']\nExploring Operation: 71+42=113, Resulting Numbers: [113]\n113,59 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 59:[71, 44, 86], Operations: ['42+44=86']\nExploring Operation: 71-44=27, Resulting Numbers: [86, 27]\nGenerated Node #0,0,1: 59:[86, 27] Operation: 71-44=27\nMoving to Node #0,0,1\nCurrent State: 59:[86, 27], Operations: ['42+44=86', '71-44=27']\nExploring Operation: 86-27=59, Resulting Numbers: [59]\n59,59 equal: Goal Reached\n", "role": "assistant" } ]
[ 64, 74, 16, 66 ]
10
[ "64+16=80", "74-66=8", "80/8=10" ]
Current State: 10:[64, 74, 16, 66], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [16, 66, 10] Generated Node #0,0: 10:[16, 66, 10] Operation: 74-64=10 Exploring Operation: 74-66=8, Resulting Numbers: [64, 16, 8] Generated Node #0,1: 10:[64, 16, 8] Operation: 74-66=8 Moving to Node #0,0 Current State: 10:[16, 66, 10], Operations: ['74-64=10'] Exploring Operation: 66-10=56, Resulting Numbers: [16, 56] Generated Node #0,0,0: 10:[16, 56] Operation: 66-10=56 Exploring Operation: 66-16=50, Resulting Numbers: [10, 50] Generated Node #0,0,1: 10:[10, 50] Operation: 66-16=50 Moving to Node #0,1 Current State: 10:[64, 16, 8], Operations: ['74-66=8'] Exploring Operation: 64/8=8, Resulting Numbers: [16, 8] Generated Node #0,1,0: 10:[16, 8] Operation: 64/8=8 Exploring Operation: 64/16=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 10:[8, 4] Operation: 64/16=4 Moving to Node #0,1,1 Current State: 10:[8, 4], Operations: ['74-66=8', '64/16=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[16, 8], Operations: ['74-66=8', '64/8=8'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,10 unequal: No Solution Moving to Node #0,1,1,0 Current State: 10:[2], Operations: ['74-66=8', '64/16=4', '8/4=2'] Moving to Node #0,1,0,0 Current State: 10:[2], Operations: ['74-66=8', '64/8=8', '16/8=2'] Moving to Node #0,1,1,0 Current State: 10:[4], Operations: ['74-66=8', '64/16=4', '8-4=4'] Moving to Node #0,1,0,0 Current State: 10:[8], Operations: ['74-66=8', '64/8=8', '16-8=8'] Moving to Node #0,0,1 Current State: 10:[10, 50], Operations: ['74-64=10', '66-16=50'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[16, 56], Operations: ['74-64=10', '66-10=56'] Exploring Operation: 16+56=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,10 unequal: No Solution Moving to Node #0,0,1,0 Current State: 10:[5], Operations: ['74-64=10', '66-16=50', '50/10=5'] Moving to Node #0,0,0,0 Current State: 10:[40], Operations: ['74-64=10', '66-10=56', '56-16=40'] Moving to Node #0,0,1,0 Current State: 10:[40], Operations: ['74-64=10', '66-16=50', '50-10=40'] Moving to Node #0,0,0,0 Current State: 10:[72], Operations: ['74-64=10', '66-10=56', '16+56=72'] No solution found.
0
bfs_2
Current State: 10:[64, 74, 16, 66], Operations: [] Exploring Operation: 64+16=80, Resulting Numbers: [74, 66, 80] Generated Node #2: [74, 66, 80] from Operation: 64+16=80 Current State: 10:[74, 66, 80], Operations: ['64+16=80'] Exploring Operation: 74-66=8, Resulting Numbers: [80, 8] Generated Node #3: [80, 8] from Operation: 74-66=8 Current State: 10:[80, 8], Operations: ['64+16=80', '74-66=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
mult_heuristic
[ { "content": "Make 10 with the numbers [64, 74, 16, 66] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 10:[64, 74, 16, 66], Operations: []\nExploring Operation: 74-64=10, Resulting Numbers: [16, 66, 10]\nGenerated Node #0,0: 10:[16, 66, 10] Operation: 74-64=10\nExploring Operation: 74-66=8, Resulting Numbers: [64, 16, 8]\nGenerated Node #0,1: 10:[64, 16, 8] Operation: 74-66=8\nMoving to Node #0,0\nCurrent State: 10:[16, 66, 10], Operations: ['74-64=10']\nExploring Operation: 66-10=56, Resulting Numbers: [16, 56]\nGenerated Node #0,0,0: 10:[16, 56] Operation: 66-10=56\nExploring Operation: 66-16=50, Resulting Numbers: [10, 50]\nGenerated Node #0,0,1: 10:[10, 50] Operation: 66-16=50\nMoving to Node #0,1\nCurrent State: 10:[64, 16, 8], Operations: ['74-66=8']\nExploring Operation: 64/8=8, Resulting Numbers: [16, 8]\nGenerated Node #0,1,0: 10:[16, 8] Operation: 64/8=8\nExploring Operation: 64/16=4, Resulting Numbers: [8, 4]\nGenerated Node #0,1,1: 10:[8, 4] Operation: 64/16=4\nMoving to Node #0,1,1\nCurrent State: 10:[8, 4], Operations: ['74-66=8', '64/16=4']\nExploring Operation: 8-4=4, Resulting Numbers: [4]\n4,10 unequal: No Solution\nExploring Operation: 8/4=2, Resulting Numbers: [2]\n2,10 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 10:[16, 8], Operations: ['74-66=8', '64/8=8']\nExploring Operation: 16-8=8, Resulting Numbers: [8]\n8,10 unequal: No Solution\nExploring Operation: 16/8=2, Resulting Numbers: [2]\n2,10 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 10:[2], Operations: ['74-66=8', '64/16=4', '8/4=2']\nMoving to Node #0,1,0,0\nCurrent State: 10:[2], Operations: ['74-66=8', '64/8=8', '16/8=2']\nMoving to Node #0,1,1,0\nCurrent State: 10:[4], Operations: ['74-66=8', '64/16=4', '8-4=4']\nMoving to Node #0,1,0,0\nCurrent State: 10:[8], Operations: ['74-66=8', '64/8=8', '16-8=8']\nMoving to Node #0,0,1\nCurrent State: 10:[10, 50], Operations: ['74-64=10', '66-16=50']\nExploring Operation: 50/10=5, Resulting Numbers: [5]\n5,10 unequal: No Solution\nExploring Operation: 50-10=40, Resulting Numbers: [40]\n40,10 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 10:[16, 56], Operations: ['74-64=10', '66-10=56']\nExploring Operation: 16+56=72, Resulting Numbers: [72]\n72,10 unequal: No Solution\nExploring Operation: 56-16=40, Resulting Numbers: [40]\n40,10 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 10:[5], Operations: ['74-64=10', '66-16=50', '50/10=5']\nMoving to Node #0,0,0,0\nCurrent State: 10:[40], Operations: ['74-64=10', '66-10=56', '56-16=40']\nMoving to Node #0,0,1,0\nCurrent State: 10:[40], Operations: ['74-64=10', '66-16=50', '50-10=40']\nMoving to Node #0,0,0,0\nCurrent State: 10:[72], Operations: ['74-64=10', '66-10=56', '16+56=72']\nNo solution found.", "role": "assistant" } ]
[ 7, 51, 19, 2 ]
91
[ "19*2=38", "51-38=13", "7*13=91" ]
Current State: 91:[7, 51, 19, 2], Operations: [] Exploring Operation: 51*2=102, Resulting Numbers: [7, 19, 102] Generated Node #0,0: 91:[7, 19, 102] Operation: 51*2=102 Moving to Node #0,0 Current State: 91:[7, 19, 102], Operations: ['51*2=102'] Exploring Operation: 102-19=83, Resulting Numbers: [7, 83] Generated Node #0,0,0: 91:[7, 83] Operation: 102-19=83 Moving to Node #0,0,0 Current State: 91:[7, 83], Operations: ['51*2=102', '102-19=83'] Exploring Operation: 7+83=90, Resulting Numbers: [90] 90,91 unequal: No Solution Moving to Node #0,0,0,0 Current State: 91:[90], Operations: ['51*2=102', '102-19=83', '7+83=90'] No solution found.
0
bfs_1
Current State: 91:[7, 51, 19, 2], Operations: [] Exploring Operation: 19*2=38, Resulting Numbers: [7, 51, 38] Generated Node #2: [7, 51, 38] from Operation: 19*2=38 Current State: 91:[7, 51, 38], Operations: ['19*2=38'] Exploring Operation: 51-38=13, Resulting Numbers: [7, 13] Generated Node #3: [7, 13] from Operation: 51-38=13 Current State: 91:[7, 13], Operations: ['19*2=38', '51-38=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
mult_heuristic
[ { "content": "Make 91 with the numbers [7, 51, 19, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 91:[7, 51, 19, 2], Operations: []\nExploring Operation: 51*2=102, Resulting Numbers: [7, 19, 102]\nGenerated Node #0,0: 91:[7, 19, 102] Operation: 51*2=102\nMoving to Node #0,0\nCurrent State: 91:[7, 19, 102], Operations: ['51*2=102']\nExploring Operation: 102-19=83, Resulting Numbers: [7, 83]\nGenerated Node #0,0,0: 91:[7, 83] Operation: 102-19=83\nMoving to Node #0,0,0\nCurrent State: 91:[7, 83], Operations: ['51*2=102', '102-19=83']\nExploring Operation: 7+83=90, Resulting Numbers: [90]\n90,91 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 91:[90], Operations: ['51*2=102', '102-19=83', '7+83=90']\nNo solution found.", "role": "assistant" } ]
[ 25, 90, 71, 89 ]
20
[ "89-71=18", "90/18=5", "25-5=20" ]
Current State: 20:[25, 90, 71, 89], Operations: []
0
dfs
Current State: 20:[25, 90, 71, 89], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [25, 90, 18] Generated Node #2: [25, 90, 18] from Operation: 89-71=18 Current State: 20:[25, 90, 18], Operations: ['89-71=18'] Exploring Operation: 90/18=5, Resulting Numbers: [25, 5] Generated Node #3: [25, 5] from Operation: 90/18=5 Current State: 20:[25, 5], Operations: ['89-71=18', '90/18=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
sum_heuristic
[ { "content": "Make 20 with the numbers [25, 90, 71, 89] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 20:[25, 90, 71, 89], Operations: []\n", "role": "assistant" } ]
[ 33, 60, 2, 57 ]
69
[ "33*2=66", "60-57=3", "66+3=69" ]
Current State: 69:[33, 60, 2, 57], Operations: [] Exploring Operation: 57-33=24, Resulting Numbers: [60, 2, 24] Generated Node #0,0: 69:[60, 2, 24] Operation: 57-33=24 Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 60+2=62, Resulting Numbers: [24, 62] Generated Node #0,0,0: 69:[24, 62] Operation: 60+2=62 Moving to Node #0,0,0 Current State: 69:[24, 62], Operations: ['57-33=24', '60+2=62'] Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[24, 62], Operations: ['57-33=24', '60+2=62'] Exploring Operation: 24+62=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 60/2=30, Resulting Numbers: [24, 30] Generated Node #0,0,1: 69:[24, 30] Operation: 60/2=30 Moving to Node #0,0,1 Current State: 69:[24, 30], Operations: ['57-33=24', '60/2=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[24, 30], Operations: ['57-33=24', '60/2=30'] Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 24-2=22, Resulting Numbers: [60, 22] Generated Node #0,0,2: 69:[60, 22] Operation: 24-2=22 Moving to Node #0,0,2 Current State: 69:[60, 22], Operations: ['57-33=24', '24-2=22'] Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[60, 22], Operations: ['57-33=24', '24-2=22'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 60-2=58, Resulting Numbers: [24, 58] Generated Node #0,0,3: 69:[24, 58] Operation: 60-2=58 Moving to Node #0,0,3 Current State: 69:[24, 58], Operations: ['57-33=24', '60-2=58'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[24, 58], Operations: ['57-33=24', '60-2=58'] Exploring Operation: 24+58=82, Resulting Numbers: [82] 82,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 2+24=26, Resulting Numbers: [60, 26] Generated Node #0,0,4: 69:[60, 26] Operation: 2+24=26 Moving to Node #0,0,4 Current State: 69:[60, 26], Operations: ['57-33=24', '2+24=26'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[60, 26], Operations: ['57-33=24', '2+24=26'] Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 60-24=36, Resulting Numbers: [2, 36] Generated Node #0,0,5: 69:[2, 36] Operation: 60-24=36 Moving to Node #0,0,5 Current State: 69:[2, 36], Operations: ['57-33=24', '60-24=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,69 unequal: No Solution Moving to Node #0,0,5 Current State: 69:[2, 36], Operations: ['57-33=24', '60-24=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,69 unequal: No Solution Moving to Node #0,0,5 Current State: 69:[2, 36], Operations: ['57-33=24', '60-24=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,69 unequal: No Solution Moving to Node #0,0,5 Current State: 69:[2, 36], Operations: ['57-33=24', '60-24=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 60+24=84, Resulting Numbers: [2, 84] Generated Node #0,0,6: 69:[2, 84] Operation: 60+24=84 Moving to Node #0,0,6 Current State: 69:[2, 84], Operations: ['57-33=24', '60+24=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,69 unequal: No Solution Moving to Node #0,0,6 Current State: 69:[2, 84], Operations: ['57-33=24', '60+24=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,0,6 Current State: 69:[2, 84], Operations: ['57-33=24', '60+24=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 24/2=12, Resulting Numbers: [60, 12] Generated Node #0,0,7: 69:[60, 12] Operation: 24/2=12 Moving to Node #0,0,7 Current State: 69:[60, 12], Operations: ['57-33=24', '24/2=12'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,69 unequal: No Solution Moving to Node #0,0,7 Current State: 69:[60, 12], Operations: ['57-33=24', '24/2=12'] Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,69 unequal: No Solution Moving to Node #0,0,7 Current State: 69:[60, 12], Operations: ['57-33=24', '24/2=12'] Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 2*24=48, Resulting Numbers: [60, 48] Generated Node #0,0,8: 69:[60, 48] Operation: 2*24=48 Moving to Node #0,0,8 Current State: 69:[60, 48], Operations: ['57-33=24', '2*24=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,69 unequal: No Solution Moving to Node #0,0,8 Current State: 69:[60, 48], Operations: ['57-33=24', '2*24=48'] Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[60, 2, 24], Operations: ['57-33=24'] Exploring Operation: 60*2=120, Resulting Numbers: [24, 120] Generated Node #0,0,9: 69:[24, 120] Operation: 60*2=120 Moving to Node #0,0,9 Current State: 69:[24, 120], Operations: ['57-33=24', '60*2=120'] Exploring Operation: 120/24=5, Resulting Numbers: [5] 5,69 unequal: No Solution Moving to Node #0,0,9 Current State: 69:[24, 120], Operations: ['57-33=24', '60*2=120'] Exploring Operation: 120-24=96, Resulting Numbers: [96] 96,69 unequal: No Solution Moving to Node #0 Current State: 69:[33, 60, 2, 57], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [33, 2, 3] Generated Node #0,1: 69:[33, 2, 3] Operation: 60-57=3 Moving to Node #0,1 Current State: 69:[33, 2, 3], Operations: ['60-57=3'] Exploring Operation: 33*2=66, Resulting Numbers: [3, 66] Generated Node #0,1,0: 69:[3, 66] Operation: 33*2=66 Moving to Node #0,1,0 Current State: 69:[3, 66], Operations: ['60-57=3', '33*2=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.966146
dfs
Current State: 69:[33, 60, 2, 57], Operations: [] Exploring Operation: 33*2=66, Resulting Numbers: [60, 57, 66] Generated Node #2: [60, 57, 66] from Operation: 33*2=66 Current State: 69:[60, 57, 66], Operations: ['33*2=66'] Exploring Operation: 60-57=3, Resulting Numbers: [66, 3] Generated Node #3: [66, 3] from Operation: 60-57=3 Current State: 69:[66, 3], Operations: ['33*2=66', '60-57=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
mult_heuristic
[ { "content": "Make 69 with the numbers [33, 60, 2, 57] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 69:[33, 60, 2, 57], Operations: []\nExploring Operation: 57-33=24, Resulting Numbers: [60, 2, 24]\nGenerated Node #0,0: 69:[60, 2, 24] Operation: 57-33=24\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 60+2=62, Resulting Numbers: [24, 62]\nGenerated Node #0,0,0: 69:[24, 62] Operation: 60+2=62\nMoving to Node #0,0,0\nCurrent State: 69:[24, 62], Operations: ['57-33=24', '60+2=62']\nExploring Operation: 62-24=38, Resulting Numbers: [38]\n38,69 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 69:[24, 62], Operations: ['57-33=24', '60+2=62']\nExploring Operation: 24+62=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 60/2=30, Resulting Numbers: [24, 30]\nGenerated Node #0,0,1: 69:[24, 30] Operation: 60/2=30\nMoving to Node #0,0,1\nCurrent State: 69:[24, 30], Operations: ['57-33=24', '60/2=30']\nExploring Operation: 30-24=6, Resulting Numbers: [6]\n6,69 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 69:[24, 30], Operations: ['57-33=24', '60/2=30']\nExploring Operation: 24+30=54, Resulting Numbers: [54]\n54,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 24-2=22, Resulting Numbers: [60, 22]\nGenerated Node #0,0,2: 69:[60, 22] Operation: 24-2=22\nMoving to Node #0,0,2\nCurrent State: 69:[60, 22], Operations: ['57-33=24', '24-2=22']\nExploring Operation: 60+22=82, Resulting Numbers: [82]\n82,69 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 69:[60, 22], Operations: ['57-33=24', '24-2=22']\nExploring Operation: 60-22=38, Resulting Numbers: [38]\n38,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 60-2=58, Resulting Numbers: [24, 58]\nGenerated Node #0,0,3: 69:[24, 58] Operation: 60-2=58\nMoving to Node #0,0,3\nCurrent State: 69:[24, 58], Operations: ['57-33=24', '60-2=58']\nExploring Operation: 58-24=34, Resulting Numbers: [34]\n34,69 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 69:[24, 58], Operations: ['57-33=24', '60-2=58']\nExploring Operation: 24+58=82, Resulting Numbers: [82]\n82,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 2+24=26, Resulting Numbers: [60, 26]\nGenerated Node #0,0,4: 69:[60, 26] Operation: 2+24=26\nMoving to Node #0,0,4\nCurrent State: 69:[60, 26], Operations: ['57-33=24', '2+24=26']\nExploring Operation: 60-26=34, Resulting Numbers: [34]\n34,69 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 69:[60, 26], Operations: ['57-33=24', '2+24=26']\nExploring Operation: 60+26=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 60-24=36, Resulting Numbers: [2, 36]\nGenerated Node #0,0,5: 69:[2, 36] Operation: 60-24=36\nMoving to Node #0,0,5\nCurrent State: 69:[2, 36], Operations: ['57-33=24', '60-24=36']\nExploring Operation: 2*36=72, Resulting Numbers: [72]\n72,69 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 69:[2, 36], Operations: ['57-33=24', '60-24=36']\nExploring Operation: 36/2=18, Resulting Numbers: [18]\n18,69 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 69:[2, 36], Operations: ['57-33=24', '60-24=36']\nExploring Operation: 36-2=34, Resulting Numbers: [34]\n34,69 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 69:[2, 36], Operations: ['57-33=24', '60-24=36']\nExploring Operation: 2+36=38, Resulting Numbers: [38]\n38,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 60+24=84, Resulting Numbers: [2, 84]\nGenerated Node #0,0,6: 69:[2, 84] Operation: 60+24=84\nMoving to Node #0,0,6\nCurrent State: 69:[2, 84], Operations: ['57-33=24', '60+24=84']\nExploring Operation: 84-2=82, Resulting Numbers: [82]\n82,69 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 69:[2, 84], Operations: ['57-33=24', '60+24=84']\nExploring Operation: 2+84=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 69:[2, 84], Operations: ['57-33=24', '60+24=84']\nExploring Operation: 84/2=42, Resulting Numbers: [42]\n42,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 24/2=12, Resulting Numbers: [60, 12]\nGenerated Node #0,0,7: 69:[60, 12] Operation: 24/2=12\nMoving to Node #0,0,7\nCurrent State: 69:[60, 12], Operations: ['57-33=24', '24/2=12']\nExploring Operation: 60/12=5, Resulting Numbers: [5]\n5,69 unequal: No Solution\nMoving to Node #0,0,7\nCurrent State: 69:[60, 12], Operations: ['57-33=24', '24/2=12']\nExploring Operation: 60+12=72, Resulting Numbers: [72]\n72,69 unequal: No Solution\nMoving to Node #0,0,7\nCurrent State: 69:[60, 12], Operations: ['57-33=24', '24/2=12']\nExploring Operation: 60-12=48, Resulting Numbers: [48]\n48,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 2*24=48, Resulting Numbers: [60, 48]\nGenerated Node #0,0,8: 69:[60, 48] Operation: 2*24=48\nMoving to Node #0,0,8\nCurrent State: 69:[60, 48], Operations: ['57-33=24', '2*24=48']\nExploring Operation: 60-48=12, Resulting Numbers: [12]\n12,69 unequal: No Solution\nMoving to Node #0,0,8\nCurrent State: 69:[60, 48], Operations: ['57-33=24', '2*24=48']\nExploring Operation: 60+48=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[60, 2, 24], Operations: ['57-33=24']\nExploring Operation: 60*2=120, Resulting Numbers: [24, 120]\nGenerated Node #0,0,9: 69:[24, 120] Operation: 60*2=120\nMoving to Node #0,0,9\nCurrent State: 69:[24, 120], Operations: ['57-33=24', '60*2=120']\nExploring Operation: 120/24=5, Resulting Numbers: [5]\n5,69 unequal: No Solution\nMoving to Node #0,0,9\nCurrent State: 69:[24, 120], Operations: ['57-33=24', '60*2=120']\nExploring Operation: 120-24=96, Resulting Numbers: [96]\n96,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[33, 60, 2, 57], Operations: []\nExploring Operation: 60-57=3, Resulting Numbers: [33, 2, 3]\nGenerated Node #0,1: 69:[33, 2, 3] Operation: 60-57=3\nMoving to Node #0,1\nCurrent State: 69:[33, 2, 3], Operations: ['60-57=3']\nExploring Operation: 33*2=66, Resulting Numbers: [3, 66]\nGenerated Node #0,1,0: 69:[3, 66] Operation: 33*2=66\nMoving to Node #0,1,0\nCurrent State: 69:[3, 66], Operations: ['60-57=3', '33*2=66']\nExploring Operation: 3+66=69, Resulting Numbers: [69]\n69,69 equal: Goal Reached\n", "role": "assistant" } ]
[ 40, 24, 26, 98 ]
69
[ "40+98=138", "26-24=2", "138/2=69" ]
Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 98-40=58, Resulting Numbers: [24, 26, 58] Generated Node #0,0: 69:[24, 26, 58] Operation: 98-40=58 Moving to Node #0,0 Current State: 69:[24, 26, 58], Operations: ['98-40=58'] Exploring Operation: 58-26=32, Resulting Numbers: [24, 32] Generated Node #0,0,0: 69:[24, 32] Operation: 58-26=32 Moving to Node #0,0,0 Current State: 69:[24, 32], Operations: ['98-40=58', '58-26=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[24, 32], Operations: ['98-40=58', '58-26=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[24, 26, 58], Operations: ['98-40=58'] Exploring Operation: 26-24=2, Resulting Numbers: [58, 2] Generated Node #0,0,1: 69:[58, 2] Operation: 26-24=2 Moving to Node #0,0,1 Current State: 69:[58, 2], Operations: ['98-40=58', '26-24=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[58, 2], Operations: ['98-40=58', '26-24=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[58, 2], Operations: ['98-40=58', '26-24=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[58, 2], Operations: ['98-40=58', '26-24=2'] Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[24, 26, 58], Operations: ['98-40=58'] Exploring Operation: 58-24=34, Resulting Numbers: [26, 34] Generated Node #0,0,2: 69:[26, 34] Operation: 58-24=34 Moving to Node #0,0,2 Current State: 69:[26, 34], Operations: ['98-40=58', '58-24=34'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[26, 34], Operations: ['98-40=58', '58-24=34'] Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[24, 26, 58], Operations: ['98-40=58'] Exploring Operation: 24+58=82, Resulting Numbers: [26, 82] Generated Node #0,0,3: 69:[26, 82] Operation: 24+58=82 Moving to Node #0,0,3 Current State: 69:[26, 82], Operations: ['98-40=58', '24+58=82'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[26, 82], Operations: ['98-40=58', '24+58=82'] Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[24, 26, 58], Operations: ['98-40=58'] Exploring Operation: 26+58=84, Resulting Numbers: [24, 84] Generated Node #0,0,4: 69:[24, 84] Operation: 26+58=84 Moving to Node #0,0,4 Current State: 69:[24, 84], Operations: ['98-40=58', '26+58=84'] Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[24, 84], Operations: ['98-40=58', '26+58=84'] Exploring Operation: 24+84=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[24, 26, 58], Operations: ['98-40=58'] Exploring Operation: 24+26=50, Resulting Numbers: [58, 50] Generated Node #0,0,5: 69:[58, 50] Operation: 24+26=50 Moving to Node #0,0,5 Current State: 69:[58, 50], Operations: ['98-40=58', '24+26=50'] Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,0,5 Current State: 69:[58, 50], Operations: ['98-40=58', '24+26=50'] Exploring Operation: 58+50=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0 Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [40, 24, 72] Generated Node #0,1: 69:[40, 24, 72] Operation: 98-26=72 Moving to Node #0,1 Current State: 69:[40, 24, 72], Operations: ['98-26=72'] Exploring Operation: 40+24=64, Resulting Numbers: [72, 64] Generated Node #0,1,0: 69:[72, 64] Operation: 40+24=64 Moving to Node #0,1,0 Current State: 69:[72, 64], Operations: ['98-26=72', '40+24=64'] Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[72, 64], Operations: ['98-26=72', '40+24=64'] Exploring Operation: 72+64=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[40, 24, 72], Operations: ['98-26=72'] Exploring Operation: 40-24=16, Resulting Numbers: [72, 16] Generated Node #0,1,1: 69:[72, 16] Operation: 40-24=16 Moving to Node #0,1,1 Current State: 69:[72, 16], Operations: ['98-26=72', '40-24=16'] Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[72, 16], Operations: ['98-26=72', '40-24=16'] Exploring Operation: 72+16=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[40, 24, 72], Operations: ['98-26=72'] Exploring Operation: 72-40=32, Resulting Numbers: [24, 32] Generated Node #0,1,2: 69:[24, 32] Operation: 72-40=32 Moving to Node #0,1,2 Current State: 69:[24, 32], Operations: ['98-26=72', '72-40=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[24, 32], Operations: ['98-26=72', '72-40=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[40, 24, 72], Operations: ['98-26=72'] Exploring Operation: 72/24=3, Resulting Numbers: [40, 3] Generated Node #0,1,3: 69:[40, 3] Operation: 72/24=3 Moving to Node #0,1,3 Current State: 69:[40, 3], Operations: ['98-26=72', '72/24=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[40, 3], Operations: ['98-26=72', '72/24=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[40, 3], Operations: ['98-26=72', '72/24=3'] Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[40, 24, 72], Operations: ['98-26=72'] Exploring Operation: 72-24=48, Resulting Numbers: [40, 48] Generated Node #0,1,4: 69:[40, 48] Operation: 72-24=48 Moving to Node #0,1,4 Current State: 69:[40, 48], Operations: ['98-26=72', '72-24=48'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[40, 48], Operations: ['98-26=72', '72-24=48'] Exploring Operation: 40+48=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[40, 24, 72], Operations: ['98-26=72'] Exploring Operation: 40+72=112, Resulting Numbers: [24, 112] Generated Node #0,1,5: 69:[24, 112] Operation: 40+72=112 Moving to Node #0,1,5 Current State: 69:[24, 112], Operations: ['98-26=72', '40+72=112'] Exploring Operation: 112-24=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,1,5 Current State: 69:[24, 112], Operations: ['98-26=72', '40+72=112'] Exploring Operation: 24+112=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[40, 24, 72], Operations: ['98-26=72'] Exploring Operation: 24+72=96, Resulting Numbers: [40, 96] Generated Node #0,1,6: 69:[40, 96] Operation: 24+72=96 Moving to Node #0,1,6 Current State: 69:[40, 96], Operations: ['98-26=72', '24+72=96'] Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,1,6 Current State: 69:[40, 96], Operations: ['98-26=72', '24+72=96'] Exploring Operation: 40+96=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0 Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [40, 26, 74] Generated Node #0,2: 69:[40, 26, 74] Operation: 98-24=74 Moving to Node #0,2 Current State: 69:[40, 26, 74], Operations: ['98-24=74'] Exploring Operation: 40+26=66, Resulting Numbers: [74, 66] Generated Node #0,2,0: 69:[74, 66] Operation: 40+26=66 Moving to Node #0,2,0 Current State: 69:[74, 66], Operations: ['98-24=74', '40+26=66'] Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,2 Current State: 69:[40, 26, 74], Operations: ['98-24=74'] Exploring Operation: 40-26=14, Resulting Numbers: [74, 14] Generated Node #0,2,1: 69:[74, 14] Operation: 40-26=14 Moving to Node #0,2,1 Current State: 69:[74, 14], Operations: ['98-24=74', '40-26=14'] Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[74, 14], Operations: ['98-24=74', '40-26=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,2 Current State: 69:[40, 26, 74], Operations: ['98-24=74'] Exploring Operation: 74-40=34, Resulting Numbers: [26, 34] Generated Node #0,2,2: 69:[26, 34] Operation: 74-40=34 Moving to Node #0,2,2 Current State: 69:[26, 34], Operations: ['98-24=74', '74-40=34'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[26, 34], Operations: ['98-24=74', '74-40=34'] Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,2 Current State: 69:[40, 26, 74], Operations: ['98-24=74'] Exploring Operation: 74-26=48, Resulting Numbers: [40, 48] Generated Node #0,2,3: 69:[40, 48] Operation: 74-26=48 Moving to Node #0,2,3 Current State: 69:[40, 48], Operations: ['98-24=74', '74-26=48'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[40, 48], Operations: ['98-24=74', '74-26=48'] Exploring Operation: 40+48=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,2 Current State: 69:[40, 26, 74], Operations: ['98-24=74'] Exploring Operation: 40+74=114, Resulting Numbers: [26, 114] Generated Node #0,2,4: 69:[26, 114] Operation: 40+74=114 Moving to Node #0,2,4 Current State: 69:[26, 114], Operations: ['98-24=74', '40+74=114'] Exploring Operation: 114-26=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,2 Current State: 69:[40, 26, 74], Operations: ['98-24=74'] Exploring Operation: 26+74=100, Resulting Numbers: [40, 100] Generated Node #0,2,5: 69:[40, 100] Operation: 26+74=100 Moving to Node #0,2,5 Current State: 69:[40, 100], Operations: ['98-24=74', '26+74=100'] Exploring Operation: 100-40=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0 Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 40+26=66, Resulting Numbers: [24, 98, 66] Generated Node #0,3: 69:[24, 98, 66] Operation: 40+26=66 Moving to Node #0,3 Current State: 69:[24, 98, 66], Operations: ['40+26=66'] Exploring Operation: 98-24=74, Resulting Numbers: [66, 74] Generated Node #0,3,0: 69:[66, 74] Operation: 98-24=74 Moving to Node #0,3,0 Current State: 69:[66, 74], Operations: ['40+26=66', '98-24=74'] Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,3 Current State: 69:[24, 98, 66], Operations: ['40+26=66'] Exploring Operation: 98-66=32, Resulting Numbers: [24, 32] Generated Node #0,3,1: 69:[24, 32] Operation: 98-66=32 Moving to Node #0,3,1 Current State: 69:[24, 32], Operations: ['40+26=66', '98-66=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[24, 32], Operations: ['40+26=66', '98-66=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,3 Current State: 69:[24, 98, 66], Operations: ['40+26=66'] Exploring Operation: 66-24=42, Resulting Numbers: [98, 42] Generated Node #0,3,2: 69:[98, 42] Operation: 66-24=42 Moving to Node #0,3,2 Current State: 69:[98, 42], Operations: ['40+26=66', '66-24=42'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,3 Current State: 69:[24, 98, 66], Operations: ['40+26=66'] Exploring Operation: 24+66=90, Resulting Numbers: [98, 90] Generated Node #0,3,3: 69:[98, 90] Operation: 24+66=90 Moving to Node #0,3,3 Current State: 69:[98, 90], Operations: ['40+26=66', '24+66=90'] Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,3 Current State: 69:[24, 98, 66], Operations: ['40+26=66'] Exploring Operation: 24+98=122, Resulting Numbers: [66, 122] Generated Node #0,3,4: 69:[66, 122] Operation: 24+98=122 Moving to Node #0,3,4 Current State: 69:[66, 122], Operations: ['40+26=66', '24+98=122'] Exploring Operation: 122-66=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0 Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 40+24=64, Resulting Numbers: [26, 98, 64] Generated Node #0,4: 69:[26, 98, 64] Operation: 40+24=64 Moving to Node #0,4 Current State: 69:[26, 98, 64], Operations: ['40+24=64'] Exploring Operation: 98-26=72, Resulting Numbers: [64, 72] Generated Node #0,4,0: 69:[64, 72] Operation: 98-26=72 Moving to Node #0,4,0 Current State: 69:[64, 72], Operations: ['40+24=64', '98-26=72'] Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,4,0 Current State: 69:[64, 72], Operations: ['40+24=64', '98-26=72'] Exploring Operation: 64+72=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0,4 Current State: 69:[26, 98, 64], Operations: ['40+24=64'] Exploring Operation: 98-64=34, Resulting Numbers: [26, 34] Generated Node #0,4,1: 69:[26, 34] Operation: 98-64=34 Moving to Node #0,4,1 Current State: 69:[26, 34], Operations: ['40+24=64', '98-64=34'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,4,1 Current State: 69:[26, 34], Operations: ['40+24=64', '98-64=34'] Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,4 Current State: 69:[26, 98, 64], Operations: ['40+24=64'] Exploring Operation: 64-26=38, Resulting Numbers: [98, 38] Generated Node #0,4,2: 69:[98, 38] Operation: 64-26=38 Moving to Node #0,4,2 Current State: 69:[98, 38], Operations: ['40+24=64', '64-26=38'] Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,4,2 Current State: 69:[98, 38], Operations: ['40+24=64', '64-26=38'] Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0,4 Current State: 69:[26, 98, 64], Operations: ['40+24=64'] Exploring Operation: 26+64=90, Resulting Numbers: [98, 90] Generated Node #0,4,3: 69:[98, 90] Operation: 26+64=90 Moving to Node #0,4,3 Current State: 69:[98, 90], Operations: ['40+24=64', '26+64=90'] Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,4 Current State: 69:[26, 98, 64], Operations: ['40+24=64'] Exploring Operation: 26+98=124, Resulting Numbers: [64, 124] Generated Node #0,4,4: 69:[64, 124] Operation: 26+98=124 Moving to Node #0,4,4 Current State: 69:[64, 124], Operations: ['40+24=64', '26+98=124'] Exploring Operation: 124-64=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0 Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 40-24=16, Resulting Numbers: [26, 98, 16] Generated Node #0,5: 69:[26, 98, 16] Operation: 40-24=16 Moving to Node #0,5 Current State: 69:[26, 98, 16], Operations: ['40-24=16'] Exploring Operation: 98-26=72, Resulting Numbers: [16, 72] Generated Node #0,5,0: 69:[16, 72] Operation: 98-26=72 Moving to Node #0,5,0 Current State: 69:[16, 72], Operations: ['40-24=16', '98-26=72'] Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,5,0 Current State: 69:[16, 72], Operations: ['40-24=16', '98-26=72'] Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,5 Current State: 69:[26, 98, 16], Operations: ['40-24=16'] Exploring Operation: 98-16=82, Resulting Numbers: [26, 82] Generated Node #0,5,1: 69:[26, 82] Operation: 98-16=82 Moving to Node #0,5,1 Current State: 69:[26, 82], Operations: ['40-24=16', '98-16=82'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,5,1 Current State: 69:[26, 82], Operations: ['40-24=16', '98-16=82'] Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,5 Current State: 69:[26, 98, 16], Operations: ['40-24=16'] Exploring Operation: 26-16=10, Resulting Numbers: [98, 10] Generated Node #0,5,2: 69:[98, 10] Operation: 26-16=10 Moving to Node #0,5,2 Current State: 69:[98, 10], Operations: ['40-24=16', '26-16=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,5,2 Current State: 69:[98, 10], Operations: ['40-24=16', '26-16=10'] Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,5 Current State: 69:[26, 98, 16], Operations: ['40-24=16'] Exploring Operation: 26+16=42, Resulting Numbers: [98, 42] Generated Node #0,5,3: 69:[98, 42] Operation: 26+16=42 Moving to Node #0,5,3 Current State: 69:[98, 42], Operations: ['40-24=16', '26+16=42'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,5 Current State: 69:[26, 98, 16], Operations: ['40-24=16'] Exploring Operation: 98+16=114, Resulting Numbers: [26, 114] Generated Node #0,5,4: 69:[26, 114] Operation: 98+16=114 Moving to Node #0,5,4 Current State: 69:[26, 114], Operations: ['40-24=16', '98+16=114'] Exploring Operation: 114-26=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,5 Current State: 69:[26, 98, 16], Operations: ['40-24=16'] Exploring Operation: 26+98=124, Resulting Numbers: [16, 124] Generated Node #0,5,5: 69:[16, 124] Operation: 26+98=124 Moving to Node #0,5,5 Current State: 69:[16, 124], Operations: ['40-24=16', '26+98=124'] Exploring Operation: 124-16=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0 Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 40-26=14, Resulting Numbers: [24, 98, 14] Generated Node #0,6: 69:[24, 98, 14] Operation: 40-26=14 Moving to Node #0,6 Current State: 69:[24, 98, 14], Operations: ['40-26=14'] Exploring Operation: 98/14=7, Resulting Numbers: [24, 7] Generated Node #0,6,0: 69:[24, 7] Operation: 98/14=7 Moving to Node #0,6,0 Current State: 69:[24, 7], Operations: ['40-26=14', '98/14=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,69 unequal: No Solution Moving to Node #0,6,0 Current State: 69:[24, 7], Operations: ['40-26=14', '98/14=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,69 unequal: No Solution Moving to Node #0,6 Current State: 69:[24, 98, 14], Operations: ['40-26=14'] Exploring Operation: 98-24=74, Resulting Numbers: [14, 74] Generated Node #0,6,1: 69:[14, 74] Operation: 98-24=74 Moving to Node #0,6,1 Current State: 69:[14, 74], Operations: ['40-26=14', '98-24=74'] Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,6,1 Current State: 69:[14, 74], Operations: ['40-26=14', '98-24=74'] Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,6 Current State: 69:[24, 98, 14], Operations: ['40-26=14'] Exploring Operation: 98-14=84, Resulting Numbers: [24, 84] Generated Node #0,6,2: 69:[24, 84] Operation: 98-14=84 Moving to Node #0,6,2 Current State: 69:[24, 84], Operations: ['40-26=14', '98-14=84'] Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,6,2 Current State: 69:[24, 84], Operations: ['40-26=14', '98-14=84'] Exploring Operation: 24+84=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,6 Current State: 69:[24, 98, 14], Operations: ['40-26=14'] Exploring Operation: 24-14=10, Resulting Numbers: [98, 10] Generated Node #0,6,3: 69:[98, 10] Operation: 24-14=10 Moving to Node #0,6,3 Current State: 69:[98, 10], Operations: ['40-26=14', '24-14=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,6,3 Current State: 69:[98, 10], Operations: ['40-26=14', '24-14=10'] Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,6 Current State: 69:[24, 98, 14], Operations: ['40-26=14'] Exploring Operation: 24+14=38, Resulting Numbers: [98, 38] Generated Node #0,6,4: 69:[98, 38] Operation: 24+14=38 Moving to Node #0,6,4 Current State: 69:[98, 38], Operations: ['40-26=14', '24+14=38'] Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,6,4 Current State: 69:[98, 38], Operations: ['40-26=14', '24+14=38'] Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0,6 Current State: 69:[24, 98, 14], Operations: ['40-26=14'] Exploring Operation: 98+14=112, Resulting Numbers: [24, 112] Generated Node #0,6,5: 69:[24, 112] Operation: 98+14=112 Moving to Node #0,6,5 Current State: 69:[24, 112], Operations: ['40-26=14', '98+14=112'] Exploring Operation: 112-24=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,6,5 Current State: 69:[24, 112], Operations: ['40-26=14', '98+14=112'] Exploring Operation: 24+112=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0,6 Current State: 69:[24, 98, 14], Operations: ['40-26=14'] Exploring Operation: 24+98=122, Resulting Numbers: [14, 122] Generated Node #0,6,6: 69:[14, 122] Operation: 24+98=122 Moving to Node #0,6,6 Current State: 69:[14, 122], Operations: ['40-26=14', '24+98=122'] Exploring Operation: 122-14=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,6,6 Current State: 69:[14, 122], Operations: ['40-26=14', '24+98=122'] Exploring Operation: 14+122=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0 Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [40, 98, 2] Generated Node #0,7: 69:[40, 98, 2] Operation: 26-24=2 Moving to Node #0,7 Current State: 69:[40, 98, 2], Operations: ['26-24=2'] Exploring Operation: 98-40=58, Resulting Numbers: [2, 58] Generated Node #0,7,0: 69:[2, 58] Operation: 98-40=58 Moving to Node #0,7,0 Current State: 69:[2, 58], Operations: ['26-24=2', '98-40=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,69 unequal: No Solution Moving to Node #0,7,0 Current State: 69:[2, 58], Operations: ['26-24=2', '98-40=58'] Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,7,0 Current State: 69:[2, 58], Operations: ['26-24=2', '98-40=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,7,0 Current State: 69:[2, 58], Operations: ['26-24=2', '98-40=58'] Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,69 unequal: No Solution Moving to Node #0,7 Current State: 69:[40, 98, 2], Operations: ['26-24=2'] Exploring Operation: 40/2=20, Resulting Numbers: [98, 20] Generated Node #0,7,1: 69:[98, 20] Operation: 40/2=20 Moving to Node #0,7,1 Current State: 69:[98, 20], Operations: ['26-24=2', '40/2=20'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,69 unequal: No Solution Moving to Node #0,7,1 Current State: 69:[98, 20], Operations: ['26-24=2', '40/2=20'] Exploring Operation: 98+20=118, Resulting Numbers: [118] 118,69 unequal: No Solution Moving to Node #0,7 Current State: 69:[40, 98, 2], Operations: ['26-24=2'] Exploring Operation: 98/2=49, Resulting Numbers: [40, 49] Generated Node #0,7,2: 69:[40, 49] Operation: 98/2=49 Moving to Node #0,7,2 Current State: 69:[40, 49], Operations: ['26-24=2', '98/2=49'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,69 unequal: No Solution Moving to Node #0,7,2 Current State: 69:[40, 49], Operations: ['26-24=2', '98/2=49'] Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,69 unequal: No Solution Moving to Node #0,7 Current State: 69:[40, 98, 2], Operations: ['26-24=2'] Exploring Operation: 40*2=80, Resulting Numbers: [98, 80] Generated Node #0,7,3: 69:[98, 80] Operation: 40*2=80 Moving to Node #0,7,3 Current State: 69:[98, 80], Operations: ['26-24=2', '40*2=80'] Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,69 unequal: No Solution Moving to Node #0,7 Current State: 69:[40, 98, 2], Operations: ['26-24=2'] Exploring Operation: 40-2=38, Resulting Numbers: [98, 38] Generated Node #0,7,4: 69:[98, 38] Operation: 40-2=38 Moving to Node #0,7,4 Current State: 69:[98, 38], Operations: ['26-24=2', '40-2=38'] Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,7,4 Current State: 69:[98, 38], Operations: ['26-24=2', '40-2=38'] Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0,7 Current State: 69:[40, 98, 2], Operations: ['26-24=2'] Exploring Operation: 98-2=96, Resulting Numbers: [40, 96] Generated Node #0,7,5: 69:[40, 96] Operation: 98-2=96 Moving to Node #0,7,5 Current State: 69:[40, 96], Operations: ['26-24=2', '98-2=96'] Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,7,5 Current State: 69:[40, 96], Operations: ['26-24=2', '98-2=96'] Exploring Operation: 40+96=136, Resulting Numbers: [136] 136,69 unequal: No Solution Moving to Node #0,7 Current State: 69:[40, 98, 2], Operations: ['26-24=2'] Exploring Operation: 40+2=42, Resulting Numbers: [98, 42] Generated Node #0,7,6: 69:[98, 42] Operation: 40+2=42 Moving to Node #0,7,6 Current State: 69:[98, 42], Operations: ['26-24=2', '40+2=42'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,7 Current State: 69:[40, 98, 2], Operations: ['26-24=2'] Exploring Operation: 98+2=100, Resulting Numbers: [40, 100] Generated Node #0,7,7: 69:[40, 100] Operation: 98+2=100 Moving to Node #0,7,7 Current State: 69:[40, 100], Operations: ['26-24=2', '98+2=100'] Exploring Operation: 100-40=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0 Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 24+26=50, Resulting Numbers: [40, 98, 50] Generated Node #0,8: 69:[40, 98, 50] Operation: 24+26=50 Moving to Node #0,8 Current State: 69:[40, 98, 50], Operations: ['24+26=50'] Exploring Operation: 98-40=58, Resulting Numbers: [50, 58] Generated Node #0,8,0: 69:[50, 58] Operation: 98-40=58 Moving to Node #0,8,0 Current State: 69:[50, 58], Operations: ['24+26=50', '98-40=58'] Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,8,0 Current State: 69:[50, 58], Operations: ['24+26=50', '98-40=58'] Exploring Operation: 50+58=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,8 Current State: 69:[40, 98, 50], Operations: ['24+26=50'] Exploring Operation: 50-40=10, Resulting Numbers: [98, 10] Generated Node #0,8,1: 69:[98, 10] Operation: 50-40=10 Moving to Node #0,8,1 Current State: 69:[98, 10], Operations: ['24+26=50', '50-40=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,8,1 Current State: 69:[98, 10], Operations: ['24+26=50', '50-40=10'] Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,8 Current State: 69:[40, 98, 50], Operations: ['24+26=50'] Exploring Operation: 98-50=48, Resulting Numbers: [40, 48] Generated Node #0,8,2: 69:[40, 48] Operation: 98-50=48 Moving to Node #0,8,2 Current State: 69:[40, 48], Operations: ['24+26=50', '98-50=48'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,8,2 Current State: 69:[40, 48], Operations: ['24+26=50', '98-50=48'] Exploring Operation: 40+48=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,8 Current State: 69:[40, 98, 50], Operations: ['24+26=50'] Exploring Operation: 40+50=90, Resulting Numbers: [98, 90] Generated Node #0,8,3: 69:[98, 90] Operation: 40+50=90 Moving to Node #0,8,3 Current State: 69:[98, 90], Operations: ['24+26=50', '40+50=90'] Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,69 unequal: No Solution
0
dfs
Current State: 69:[40, 24, 26, 98], Operations: [] Exploring Operation: 40+98=138, Resulting Numbers: [24, 26, 138] Generated Node #2: [24, 26, 138] from Operation: 40+98=138 Current State: 69:[24, 26, 138], Operations: ['40+98=138'] Exploring Operation: 26-24=2, Resulting Numbers: [138, 2] Generated Node #3: [138, 2] from Operation: 26-24=2 Current State: 69:[138, 2], Operations: ['40+98=138', '26-24=2'] Exploring Operation: 138/2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
mult_heuristic
[ { "content": "Make 69 with the numbers [40, 24, 26, 98] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 69:[40, 24, 26, 98], Operations: []\nExploring Operation: 98-40=58, Resulting Numbers: [24, 26, 58]\nGenerated Node #0,0: 69:[24, 26, 58] Operation: 98-40=58\nMoving to Node #0,0\nCurrent State: 69:[24, 26, 58], Operations: ['98-40=58']\nExploring Operation: 58-26=32, Resulting Numbers: [24, 32]\nGenerated Node #0,0,0: 69:[24, 32] Operation: 58-26=32\nMoving to Node #0,0,0\nCurrent State: 69:[24, 32], Operations: ['98-40=58', '58-26=32']\nExploring Operation: 32-24=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 69:[24, 32], Operations: ['98-40=58', '58-26=32']\nExploring Operation: 24+32=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[24, 26, 58], Operations: ['98-40=58']\nExploring Operation: 26-24=2, Resulting Numbers: [58, 2]\nGenerated Node #0,0,1: 69:[58, 2] Operation: 26-24=2\nMoving to Node #0,0,1\nCurrent State: 69:[58, 2], Operations: ['98-40=58', '26-24=2']\nExploring Operation: 58/2=29, Resulting Numbers: [29]\n29,69 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 69:[58, 2], Operations: ['98-40=58', '26-24=2']\nExploring Operation: 58+2=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 69:[58, 2], Operations: ['98-40=58', '26-24=2']\nExploring Operation: 58-2=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 69:[58, 2], Operations: ['98-40=58', '26-24=2']\nExploring Operation: 58*2=116, Resulting Numbers: [116]\n116,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[24, 26, 58], Operations: ['98-40=58']\nExploring Operation: 58-24=34, Resulting Numbers: [26, 34]\nGenerated Node #0,0,2: 69:[26, 34] Operation: 58-24=34\nMoving to Node #0,0,2\nCurrent State: 69:[26, 34], Operations: ['98-40=58', '58-24=34']\nExploring Operation: 34-26=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 69:[26, 34], Operations: ['98-40=58', '58-24=34']\nExploring Operation: 26+34=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[24, 26, 58], Operations: ['98-40=58']\nExploring Operation: 24+58=82, Resulting Numbers: [26, 82]\nGenerated Node #0,0,3: 69:[26, 82] Operation: 24+58=82\nMoving to Node #0,0,3\nCurrent State: 69:[26, 82], Operations: ['98-40=58', '24+58=82']\nExploring Operation: 82-26=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 69:[26, 82], Operations: ['98-40=58', '24+58=82']\nExploring Operation: 26+82=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[24, 26, 58], Operations: ['98-40=58']\nExploring Operation: 26+58=84, Resulting Numbers: [24, 84]\nGenerated Node #0,0,4: 69:[24, 84] Operation: 26+58=84\nMoving to Node #0,0,4\nCurrent State: 69:[24, 84], Operations: ['98-40=58', '26+58=84']\nExploring Operation: 84-24=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 69:[24, 84], Operations: ['98-40=58', '26+58=84']\nExploring Operation: 24+84=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[24, 26, 58], Operations: ['98-40=58']\nExploring Operation: 24+26=50, Resulting Numbers: [58, 50]\nGenerated Node #0,0,5: 69:[58, 50] Operation: 24+26=50\nMoving to Node #0,0,5\nCurrent State: 69:[58, 50], Operations: ['98-40=58', '24+26=50']\nExploring Operation: 58-50=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 69:[58, 50], Operations: ['98-40=58', '24+26=50']\nExploring Operation: 58+50=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[40, 24, 26, 98], Operations: []\nExploring Operation: 98-26=72, Resulting Numbers: [40, 24, 72]\nGenerated Node #0,1: 69:[40, 24, 72] Operation: 98-26=72\nMoving to Node #0,1\nCurrent State: 69:[40, 24, 72], Operations: ['98-26=72']\nExploring Operation: 40+24=64, Resulting Numbers: [72, 64]\nGenerated Node #0,1,0: 69:[72, 64] Operation: 40+24=64\nMoving to Node #0,1,0\nCurrent State: 69:[72, 64], Operations: ['98-26=72', '40+24=64']\nExploring Operation: 72-64=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 69:[72, 64], Operations: ['98-26=72', '40+24=64']\nExploring Operation: 72+64=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[40, 24, 72], Operations: ['98-26=72']\nExploring Operation: 40-24=16, Resulting Numbers: [72, 16]\nGenerated Node #0,1,1: 69:[72, 16] Operation: 40-24=16\nMoving to Node #0,1,1\nCurrent State: 69:[72, 16], Operations: ['98-26=72', '40-24=16']\nExploring Operation: 72-16=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 69:[72, 16], Operations: ['98-26=72', '40-24=16']\nExploring Operation: 72+16=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[40, 24, 72], Operations: ['98-26=72']\nExploring Operation: 72-40=32, Resulting Numbers: [24, 32]\nGenerated Node #0,1,2: 69:[24, 32] Operation: 72-40=32\nMoving to Node #0,1,2\nCurrent State: 69:[24, 32], Operations: ['98-26=72', '72-40=32']\nExploring Operation: 32-24=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 69:[24, 32], Operations: ['98-26=72', '72-40=32']\nExploring Operation: 24+32=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[40, 24, 72], Operations: ['98-26=72']\nExploring Operation: 72/24=3, Resulting Numbers: [40, 3]\nGenerated Node #0,1,3: 69:[40, 3] Operation: 72/24=3\nMoving to Node #0,1,3\nCurrent State: 69:[40, 3], Operations: ['98-26=72', '72/24=3']\nExploring Operation: 40-3=37, Resulting Numbers: [37]\n37,69 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 69:[40, 3], Operations: ['98-26=72', '72/24=3']\nExploring Operation: 40+3=43, Resulting Numbers: [43]\n43,69 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 69:[40, 3], Operations: ['98-26=72', '72/24=3']\nExploring Operation: 40*3=120, Resulting Numbers: [120]\n120,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[40, 24, 72], Operations: ['98-26=72']\nExploring Operation: 72-24=48, Resulting Numbers: [40, 48]\nGenerated Node #0,1,4: 69:[40, 48] Operation: 72-24=48\nMoving to Node #0,1,4\nCurrent State: 69:[40, 48], Operations: ['98-26=72', '72-24=48']\nExploring Operation: 48-40=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 69:[40, 48], Operations: ['98-26=72', '72-24=48']\nExploring Operation: 40+48=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[40, 24, 72], Operations: ['98-26=72']\nExploring Operation: 40+72=112, Resulting Numbers: [24, 112]\nGenerated Node #0,1,5: 69:[24, 112] Operation: 40+72=112\nMoving to Node #0,1,5\nCurrent State: 69:[24, 112], Operations: ['98-26=72', '40+72=112']\nExploring Operation: 112-24=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 69:[24, 112], Operations: ['98-26=72', '40+72=112']\nExploring Operation: 24+112=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[40, 24, 72], Operations: ['98-26=72']\nExploring Operation: 24+72=96, Resulting Numbers: [40, 96]\nGenerated Node #0,1,6: 69:[40, 96] Operation: 24+72=96\nMoving to Node #0,1,6\nCurrent State: 69:[40, 96], Operations: ['98-26=72', '24+72=96']\nExploring Operation: 96-40=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 69:[40, 96], Operations: ['98-26=72', '24+72=96']\nExploring Operation: 40+96=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[40, 24, 26, 98], Operations: []\nExploring Operation: 98-24=74, Resulting Numbers: [40, 26, 74]\nGenerated Node #0,2: 69:[40, 26, 74] Operation: 98-24=74\nMoving to Node #0,2\nCurrent State: 69:[40, 26, 74], Operations: ['98-24=74']\nExploring Operation: 40+26=66, Resulting Numbers: [74, 66]\nGenerated Node #0,2,0: 69:[74, 66] Operation: 40+26=66\nMoving to Node #0,2,0\nCurrent State: 69:[74, 66], Operations: ['98-24=74', '40+26=66']\nExploring Operation: 74-66=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 69:[40, 26, 74], Operations: ['98-24=74']\nExploring Operation: 40-26=14, Resulting Numbers: [74, 14]\nGenerated Node #0,2,1: 69:[74, 14] Operation: 40-26=14\nMoving to Node #0,2,1\nCurrent State: 69:[74, 14], Operations: ['98-24=74', '40-26=14']\nExploring Operation: 74-14=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 69:[74, 14], Operations: ['98-24=74', '40-26=14']\nExploring Operation: 74+14=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 69:[40, 26, 74], Operations: ['98-24=74']\nExploring Operation: 74-40=34, Resulting Numbers: [26, 34]\nGenerated Node #0,2,2: 69:[26, 34] Operation: 74-40=34\nMoving to Node #0,2,2\nCurrent State: 69:[26, 34], Operations: ['98-24=74', '74-40=34']\nExploring Operation: 34-26=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 69:[26, 34], Operations: ['98-24=74', '74-40=34']\nExploring Operation: 26+34=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 69:[40, 26, 74], Operations: ['98-24=74']\nExploring Operation: 74-26=48, Resulting Numbers: [40, 48]\nGenerated Node #0,2,3: 69:[40, 48] Operation: 74-26=48\nMoving to Node #0,2,3\nCurrent State: 69:[40, 48], Operations: ['98-24=74', '74-26=48']\nExploring Operation: 48-40=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 69:[40, 48], Operations: ['98-24=74', '74-26=48']\nExploring Operation: 40+48=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 69:[40, 26, 74], Operations: ['98-24=74']\nExploring Operation: 40+74=114, Resulting Numbers: [26, 114]\nGenerated Node #0,2,4: 69:[26, 114] Operation: 40+74=114\nMoving to Node #0,2,4\nCurrent State: 69:[26, 114], Operations: ['98-24=74', '40+74=114']\nExploring Operation: 114-26=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 69:[40, 26, 74], Operations: ['98-24=74']\nExploring Operation: 26+74=100, Resulting Numbers: [40, 100]\nGenerated Node #0,2,5: 69:[40, 100] Operation: 26+74=100\nMoving to Node #0,2,5\nCurrent State: 69:[40, 100], Operations: ['98-24=74', '26+74=100']\nExploring Operation: 100-40=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[40, 24, 26, 98], Operations: []\nExploring Operation: 40+26=66, Resulting Numbers: [24, 98, 66]\nGenerated Node #0,3: 69:[24, 98, 66] Operation: 40+26=66\nMoving to Node #0,3\nCurrent State: 69:[24, 98, 66], Operations: ['40+26=66']\nExploring Operation: 98-24=74, Resulting Numbers: [66, 74]\nGenerated Node #0,3,0: 69:[66, 74] Operation: 98-24=74\nMoving to Node #0,3,0\nCurrent State: 69:[66, 74], Operations: ['40+26=66', '98-24=74']\nExploring Operation: 74-66=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 69:[24, 98, 66], Operations: ['40+26=66']\nExploring Operation: 98-66=32, Resulting Numbers: [24, 32]\nGenerated Node #0,3,1: 69:[24, 32] Operation: 98-66=32\nMoving to Node #0,3,1\nCurrent State: 69:[24, 32], Operations: ['40+26=66', '98-66=32']\nExploring Operation: 32-24=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 69:[24, 32], Operations: ['40+26=66', '98-66=32']\nExploring Operation: 24+32=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 69:[24, 98, 66], Operations: ['40+26=66']\nExploring Operation: 66-24=42, Resulting Numbers: [98, 42]\nGenerated Node #0,3,2: 69:[98, 42] Operation: 66-24=42\nMoving to Node #0,3,2\nCurrent State: 69:[98, 42], Operations: ['40+26=66', '66-24=42']\nExploring Operation: 98-42=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 69:[24, 98, 66], Operations: ['40+26=66']\nExploring Operation: 24+66=90, Resulting Numbers: [98, 90]\nGenerated Node #0,3,3: 69:[98, 90] Operation: 24+66=90\nMoving to Node #0,3,3\nCurrent State: 69:[98, 90], Operations: ['40+26=66', '24+66=90']\nExploring Operation: 98-90=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 69:[24, 98, 66], Operations: ['40+26=66']\nExploring Operation: 24+98=122, Resulting Numbers: [66, 122]\nGenerated Node #0,3,4: 69:[66, 122] Operation: 24+98=122\nMoving to Node #0,3,4\nCurrent State: 69:[66, 122], Operations: ['40+26=66', '24+98=122']\nExploring Operation: 122-66=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[40, 24, 26, 98], Operations: []\nExploring Operation: 40+24=64, Resulting Numbers: [26, 98, 64]\nGenerated Node #0,4: 69:[26, 98, 64] Operation: 40+24=64\nMoving to Node #0,4\nCurrent State: 69:[26, 98, 64], Operations: ['40+24=64']\nExploring Operation: 98-26=72, Resulting Numbers: [64, 72]\nGenerated Node #0,4,0: 69:[64, 72] Operation: 98-26=72\nMoving to Node #0,4,0\nCurrent State: 69:[64, 72], Operations: ['40+24=64', '98-26=72']\nExploring Operation: 72-64=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 69:[64, 72], Operations: ['40+24=64', '98-26=72']\nExploring Operation: 64+72=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 69:[26, 98, 64], Operations: ['40+24=64']\nExploring Operation: 98-64=34, Resulting Numbers: [26, 34]\nGenerated Node #0,4,1: 69:[26, 34] Operation: 98-64=34\nMoving to Node #0,4,1\nCurrent State: 69:[26, 34], Operations: ['40+24=64', '98-64=34']\nExploring Operation: 34-26=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 69:[26, 34], Operations: ['40+24=64', '98-64=34']\nExploring Operation: 26+34=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 69:[26, 98, 64], Operations: ['40+24=64']\nExploring Operation: 64-26=38, Resulting Numbers: [98, 38]\nGenerated Node #0,4,2: 69:[98, 38] Operation: 64-26=38\nMoving to Node #0,4,2\nCurrent State: 69:[98, 38], Operations: ['40+24=64', '64-26=38']\nExploring Operation: 98-38=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 69:[98, 38], Operations: ['40+24=64', '64-26=38']\nExploring Operation: 98+38=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 69:[26, 98, 64], Operations: ['40+24=64']\nExploring Operation: 26+64=90, Resulting Numbers: [98, 90]\nGenerated Node #0,4,3: 69:[98, 90] Operation: 26+64=90\nMoving to Node #0,4,3\nCurrent State: 69:[98, 90], Operations: ['40+24=64', '26+64=90']\nExploring Operation: 98-90=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 69:[26, 98, 64], Operations: ['40+24=64']\nExploring Operation: 26+98=124, Resulting Numbers: [64, 124]\nGenerated Node #0,4,4: 69:[64, 124] Operation: 26+98=124\nMoving to Node #0,4,4\nCurrent State: 69:[64, 124], Operations: ['40+24=64', '26+98=124']\nExploring Operation: 124-64=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[40, 24, 26, 98], Operations: []\nExploring Operation: 40-24=16, Resulting Numbers: [26, 98, 16]\nGenerated Node #0,5: 69:[26, 98, 16] Operation: 40-24=16\nMoving to Node #0,5\nCurrent State: 69:[26, 98, 16], Operations: ['40-24=16']\nExploring Operation: 98-26=72, Resulting Numbers: [16, 72]\nGenerated Node #0,5,0: 69:[16, 72] Operation: 98-26=72\nMoving to Node #0,5,0\nCurrent State: 69:[16, 72], Operations: ['40-24=16', '98-26=72']\nExploring Operation: 72-16=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 69:[16, 72], Operations: ['40-24=16', '98-26=72']\nExploring Operation: 16+72=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 69:[26, 98, 16], Operations: ['40-24=16']\nExploring Operation: 98-16=82, Resulting Numbers: [26, 82]\nGenerated Node #0,5,1: 69:[26, 82] Operation: 98-16=82\nMoving to Node #0,5,1\nCurrent State: 69:[26, 82], Operations: ['40-24=16', '98-16=82']\nExploring Operation: 82-26=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 69:[26, 82], Operations: ['40-24=16', '98-16=82']\nExploring Operation: 26+82=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 69:[26, 98, 16], Operations: ['40-24=16']\nExploring Operation: 26-16=10, Resulting Numbers: [98, 10]\nGenerated Node #0,5,2: 69:[98, 10] Operation: 26-16=10\nMoving to Node #0,5,2\nCurrent State: 69:[98, 10], Operations: ['40-24=16', '26-16=10']\nExploring Operation: 98-10=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 69:[98, 10], Operations: ['40-24=16', '26-16=10']\nExploring Operation: 98+10=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 69:[26, 98, 16], Operations: ['40-24=16']\nExploring Operation: 26+16=42, Resulting Numbers: [98, 42]\nGenerated Node #0,5,3: 69:[98, 42] Operation: 26+16=42\nMoving to Node #0,5,3\nCurrent State: 69:[98, 42], Operations: ['40-24=16', '26+16=42']\nExploring Operation: 98-42=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 69:[26, 98, 16], Operations: ['40-24=16']\nExploring Operation: 98+16=114, Resulting Numbers: [26, 114]\nGenerated Node #0,5,4: 69:[26, 114] Operation: 98+16=114\nMoving to Node #0,5,4\nCurrent State: 69:[26, 114], Operations: ['40-24=16', '98+16=114']\nExploring Operation: 114-26=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 69:[26, 98, 16], Operations: ['40-24=16']\nExploring Operation: 26+98=124, Resulting Numbers: [16, 124]\nGenerated Node #0,5,5: 69:[16, 124] Operation: 26+98=124\nMoving to Node #0,5,5\nCurrent State: 69:[16, 124], Operations: ['40-24=16', '26+98=124']\nExploring Operation: 124-16=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[40, 24, 26, 98], Operations: []\nExploring Operation: 40-26=14, Resulting Numbers: [24, 98, 14]\nGenerated Node #0,6: 69:[24, 98, 14] Operation: 40-26=14\nMoving to Node #0,6\nCurrent State: 69:[24, 98, 14], Operations: ['40-26=14']\nExploring Operation: 98/14=7, Resulting Numbers: [24, 7]\nGenerated Node #0,6,0: 69:[24, 7] Operation: 98/14=7\nMoving to Node #0,6,0\nCurrent State: 69:[24, 7], Operations: ['40-26=14', '98/14=7']\nExploring Operation: 24-7=17, Resulting Numbers: [17]\n17,69 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 69:[24, 7], Operations: ['40-26=14', '98/14=7']\nExploring Operation: 24+7=31, Resulting Numbers: [31]\n31,69 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 69:[24, 98, 14], Operations: ['40-26=14']\nExploring Operation: 98-24=74, Resulting Numbers: [14, 74]\nGenerated Node #0,6,1: 69:[14, 74] Operation: 98-24=74\nMoving to Node #0,6,1\nCurrent State: 69:[14, 74], Operations: ['40-26=14', '98-24=74']\nExploring Operation: 74-14=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 69:[14, 74], Operations: ['40-26=14', '98-24=74']\nExploring Operation: 14+74=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 69:[24, 98, 14], Operations: ['40-26=14']\nExploring Operation: 98-14=84, Resulting Numbers: [24, 84]\nGenerated Node #0,6,2: 69:[24, 84] Operation: 98-14=84\nMoving to Node #0,6,2\nCurrent State: 69:[24, 84], Operations: ['40-26=14', '98-14=84']\nExploring Operation: 84-24=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 69:[24, 84], Operations: ['40-26=14', '98-14=84']\nExploring Operation: 24+84=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 69:[24, 98, 14], Operations: ['40-26=14']\nExploring Operation: 24-14=10, Resulting Numbers: [98, 10]\nGenerated Node #0,6,3: 69:[98, 10] Operation: 24-14=10\nMoving to Node #0,6,3\nCurrent State: 69:[98, 10], Operations: ['40-26=14', '24-14=10']\nExploring Operation: 98-10=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 69:[98, 10], Operations: ['40-26=14', '24-14=10']\nExploring Operation: 98+10=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 69:[24, 98, 14], Operations: ['40-26=14']\nExploring Operation: 24+14=38, Resulting Numbers: [98, 38]\nGenerated Node #0,6,4: 69:[98, 38] Operation: 24+14=38\nMoving to Node #0,6,4\nCurrent State: 69:[98, 38], Operations: ['40-26=14', '24+14=38']\nExploring Operation: 98-38=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 69:[98, 38], Operations: ['40-26=14', '24+14=38']\nExploring Operation: 98+38=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 69:[24, 98, 14], Operations: ['40-26=14']\nExploring Operation: 98+14=112, Resulting Numbers: [24, 112]\nGenerated Node #0,6,5: 69:[24, 112] Operation: 98+14=112\nMoving to Node #0,6,5\nCurrent State: 69:[24, 112], Operations: ['40-26=14', '98+14=112']\nExploring Operation: 112-24=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 69:[24, 112], Operations: ['40-26=14', '98+14=112']\nExploring Operation: 24+112=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 69:[24, 98, 14], Operations: ['40-26=14']\nExploring Operation: 24+98=122, Resulting Numbers: [14, 122]\nGenerated Node #0,6,6: 69:[14, 122] Operation: 24+98=122\nMoving to Node #0,6,6\nCurrent State: 69:[14, 122], Operations: ['40-26=14', '24+98=122']\nExploring Operation: 122-14=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,6,6\nCurrent State: 69:[14, 122], Operations: ['40-26=14', '24+98=122']\nExploring Operation: 14+122=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[40, 24, 26, 98], Operations: []\nExploring Operation: 26-24=2, Resulting Numbers: [40, 98, 2]\nGenerated Node #0,7: 69:[40, 98, 2] Operation: 26-24=2\nMoving to Node #0,7\nCurrent State: 69:[40, 98, 2], Operations: ['26-24=2']\nExploring Operation: 98-40=58, Resulting Numbers: [2, 58]\nGenerated Node #0,7,0: 69:[2, 58] Operation: 98-40=58\nMoving to Node #0,7,0\nCurrent State: 69:[2, 58], Operations: ['26-24=2', '98-40=58']\nExploring Operation: 58/2=29, Resulting Numbers: [29]\n29,69 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 69:[2, 58], Operations: ['26-24=2', '98-40=58']\nExploring Operation: 2+58=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 69:[2, 58], Operations: ['26-24=2', '98-40=58']\nExploring Operation: 58-2=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 69:[2, 58], Operations: ['26-24=2', '98-40=58']\nExploring Operation: 2*58=116, Resulting Numbers: [116]\n116,69 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 69:[40, 98, 2], Operations: ['26-24=2']\nExploring Operation: 40/2=20, Resulting Numbers: [98, 20]\nGenerated Node #0,7,1: 69:[98, 20] Operation: 40/2=20\nMoving to Node #0,7,1\nCurrent State: 69:[98, 20], Operations: ['26-24=2', '40/2=20']\nExploring Operation: 98-20=78, Resulting Numbers: [78]\n78,69 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 69:[98, 20], Operations: ['26-24=2', '40/2=20']\nExploring Operation: 98+20=118, Resulting Numbers: [118]\n118,69 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 69:[40, 98, 2], Operations: ['26-24=2']\nExploring Operation: 98/2=49, Resulting Numbers: [40, 49]\nGenerated Node #0,7,2: 69:[40, 49] Operation: 98/2=49\nMoving to Node #0,7,2\nCurrent State: 69:[40, 49], Operations: ['26-24=2', '98/2=49']\nExploring Operation: 49-40=9, Resulting Numbers: [9]\n9,69 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 69:[40, 49], Operations: ['26-24=2', '98/2=49']\nExploring Operation: 40+49=89, Resulting Numbers: [89]\n89,69 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 69:[40, 98, 2], Operations: ['26-24=2']\nExploring Operation: 40*2=80, Resulting Numbers: [98, 80]\nGenerated Node #0,7,3: 69:[98, 80] Operation: 40*2=80\nMoving to Node #0,7,3\nCurrent State: 69:[98, 80], Operations: ['26-24=2', '40*2=80']\nExploring Operation: 98-80=18, Resulting Numbers: [18]\n18,69 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 69:[40, 98, 2], Operations: ['26-24=2']\nExploring Operation: 40-2=38, Resulting Numbers: [98, 38]\nGenerated Node #0,7,4: 69:[98, 38] Operation: 40-2=38\nMoving to Node #0,7,4\nCurrent State: 69:[98, 38], Operations: ['26-24=2', '40-2=38']\nExploring Operation: 98-38=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 69:[98, 38], Operations: ['26-24=2', '40-2=38']\nExploring Operation: 98+38=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 69:[40, 98, 2], Operations: ['26-24=2']\nExploring Operation: 98-2=96, Resulting Numbers: [40, 96]\nGenerated Node #0,7,5: 69:[40, 96] Operation: 98-2=96\nMoving to Node #0,7,5\nCurrent State: 69:[40, 96], Operations: ['26-24=2', '98-2=96']\nExploring Operation: 96-40=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 69:[40, 96], Operations: ['26-24=2', '98-2=96']\nExploring Operation: 40+96=136, Resulting Numbers: [136]\n136,69 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 69:[40, 98, 2], Operations: ['26-24=2']\nExploring Operation: 40+2=42, Resulting Numbers: [98, 42]\nGenerated Node #0,7,6: 69:[98, 42] Operation: 40+2=42\nMoving to Node #0,7,6\nCurrent State: 69:[98, 42], Operations: ['26-24=2', '40+2=42']\nExploring Operation: 98-42=56, Resulting Numbers: [56]\n56,69 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 69:[40, 98, 2], Operations: ['26-24=2']\nExploring Operation: 98+2=100, Resulting Numbers: [40, 100]\nGenerated Node #0,7,7: 69:[40, 100] Operation: 98+2=100\nMoving to Node #0,7,7\nCurrent State: 69:[40, 100], Operations: ['26-24=2', '98+2=100']\nExploring Operation: 100-40=60, Resulting Numbers: [60]\n60,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[40, 24, 26, 98], Operations: []\nExploring Operation: 24+26=50, Resulting Numbers: [40, 98, 50]\nGenerated Node #0,8: 69:[40, 98, 50] Operation: 24+26=50\nMoving to Node #0,8\nCurrent State: 69:[40, 98, 50], Operations: ['24+26=50']\nExploring Operation: 98-40=58, Resulting Numbers: [50, 58]\nGenerated Node #0,8,0: 69:[50, 58] Operation: 98-40=58\nMoving to Node #0,8,0\nCurrent State: 69:[50, 58], Operations: ['24+26=50', '98-40=58']\nExploring Operation: 58-50=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 69:[50, 58], Operations: ['24+26=50', '98-40=58']\nExploring Operation: 50+58=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 69:[40, 98, 50], Operations: ['24+26=50']\nExploring Operation: 50-40=10, Resulting Numbers: [98, 10]\nGenerated Node #0,8,1: 69:[98, 10] Operation: 50-40=10\nMoving to Node #0,8,1\nCurrent State: 69:[98, 10], Operations: ['24+26=50', '50-40=10']\nExploring Operation: 98-10=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 69:[98, 10], Operations: ['24+26=50', '50-40=10']\nExploring Operation: 98+10=108, Resulting Numbers: [108]\n108,69 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 69:[40, 98, 50], Operations: ['24+26=50']\nExploring Operation: 98-50=48, Resulting Numbers: [40, 48]\nGenerated Node #0,8,2: 69:[40, 48] Operation: 98-50=48\nMoving to Node #0,8,2\nCurrent State: 69:[40, 48], Operations: ['24+26=50', '98-50=48']\nExploring Operation: 48-40=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 69:[40, 48], Operations: ['24+26=50', '98-50=48']\nExploring Operation: 40+48=88, Resulting Numbers: [88]\n88,69 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 69:[40, 98, 50], Operations: ['24+26=50']\nExploring Operation: 40+50=90, Resulting Numbers: [98, 90]\nGenerated Node #0,8,3: 69:[98, 90] Operation: 40+50=90\nMoving to Node #0,8,3\nCurrent State: 69:[98, 90], Operations: ['24+26=50', '40+50=90']\nExploring Operation: 98-90=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\n", "role": "assistant" } ]
[ 82, 44, 41, 21 ]
24
[ "82-44=38", "41+21=62", "62-38=24" ]
Current State: 24:[82, 44, 41, 21], Operations: [] Exploring Operation: 82-44=38, Resulting Numbers: [41, 21, 38] Generated Node #0,0: 24:[41, 21, 38] Operation: 82-44=38 Moving to Node #0,0 Current State: 24:[41, 21, 38], Operations: ['82-44=38'] Exploring Operation: 41-21=20, Resulting Numbers: [38, 20] Generated Node #0,0,0: 24:[38, 20] Operation: 41-21=20 Moving to Node #0,0,0 Current State: 24:[38, 20], Operations: ['82-44=38', '41-21=20'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,24 unequal: No Solution Moving to Node #0,0 Current State: 24:[41, 21, 38], Operations: ['82-44=38'] Exploring Operation: 41-38=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 24:[21, 3] Operation: 41-38=3 Moving to Node #0,0,1 Current State: 24:[21, 3], Operations: ['82-44=38', '41-38=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.994792
dfs
Current State: 24:[82, 44, 41, 21], Operations: [] Exploring Operation: 82-44=38, Resulting Numbers: [41, 21, 38] Generated Node #2: [41, 21, 38] from Operation: 82-44=38 Current State: 24:[41, 21, 38], Operations: ['82-44=38'] Exploring Operation: 41+21=62, Resulting Numbers: [38, 62] Generated Node #3: [38, 62] from Operation: 41+21=62 Current State: 24:[38, 62], Operations: ['82-44=38', '41+21=62'] Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
sum_heuristic
[ { "content": "Make 24 with the numbers [82, 44, 41, 21] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 24:[82, 44, 41, 21], Operations: []\nExploring Operation: 82-44=38, Resulting Numbers: [41, 21, 38]\nGenerated Node #0,0: 24:[41, 21, 38] Operation: 82-44=38\nMoving to Node #0,0\nCurrent State: 24:[41, 21, 38], Operations: ['82-44=38']\nExploring Operation: 41-21=20, Resulting Numbers: [38, 20]\nGenerated Node #0,0,0: 24:[38, 20] Operation: 41-21=20\nMoving to Node #0,0,0\nCurrent State: 24:[38, 20], Operations: ['82-44=38', '41-21=20']\nExploring Operation: 38-20=18, Resulting Numbers: [18]\n18,24 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 24:[41, 21, 38], Operations: ['82-44=38']\nExploring Operation: 41-38=3, Resulting Numbers: [21, 3]\nGenerated Node #0,0,1: 24:[21, 3] Operation: 41-38=3\nMoving to Node #0,0,1\nCurrent State: 24:[21, 3], Operations: ['82-44=38', '41-38=3']\nExploring Operation: 21+3=24, Resulting Numbers: [24]\n24,24 equal: Goal Reached\n", "role": "assistant" } ]
[ 20, 6, 14, 25 ]
10
[ "14-6=8", "25*8=200", "200/20=10" ]
Current State: 10:[20, 6, 14, 25], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [6, 14, 5] Generated Node #0,0: 10:[6, 14, 5] Operation: 25-20=5 Moving to Node #0,0 Current State: 10:[6, 14, 5], Operations: ['25-20=5'] Exploring Operation: 14-6=8, Resulting Numbers: [5, 8] Generated Node #0,0,0: 10:[5, 8] Operation: 14-6=8 Moving to Node #0,0,0 Current State: 10:[5, 8], Operations: ['25-20=5', '14-6=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[5, 8], Operations: ['25-20=5', '14-6=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,10 unequal: No Solution Moving to Node #0,0 Current State: 10:[6, 14, 5], Operations: ['25-20=5'] Exploring Operation: 14-5=9, Resulting Numbers: [6, 9] Generated Node #0,0,1: 10:[6, 9] Operation: 14-5=9 Moving to Node #0,0,1 Current State: 10:[6, 9], Operations: ['25-20=5', '14-5=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[6, 9], Operations: ['25-20=5', '14-5=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,10 unequal: No Solution Moving to Node #0,0 Current State: 10:[6, 14, 5], Operations: ['25-20=5'] Exploring Operation: 6+5=11, Resulting Numbers: [14, 11] Generated Node #0,0,2: 10:[14, 11] Operation: 6+5=11 Moving to Node #0,0,2 Current State: 10:[14, 11], Operations: ['25-20=5', '6+5=11'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,0 Current State: 10:[6, 14, 5], Operations: ['25-20=5'] Exploring Operation: 6-5=1, Resulting Numbers: [14, 1] Generated Node #0,0,3: 10:[14, 1] Operation: 6-5=1 Moving to Node #0,0,3 Current State: 10:[14, 1], Operations: ['25-20=5', '6-5=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[14, 1], Operations: ['25-20=5', '6-5=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[14, 1], Operations: ['25-20=5', '6-5=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[14, 1], Operations: ['25-20=5', '6-5=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,10 unequal: No Solution Moving to Node #0,0 Current State: 10:[6, 14, 5], Operations: ['25-20=5'] Exploring Operation: 6+14=20, Resulting Numbers: [5, 20] Generated Node #0,0,4: 10:[5, 20] Operation: 6+14=20 Moving to Node #0,0,4 Current State: 10:[5, 20], Operations: ['25-20=5', '6+14=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[5, 20], Operations: ['25-20=5', '6+14=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,10 unequal: No Solution Moving to Node #0,0 Current State: 10:[6, 14, 5], Operations: ['25-20=5'] Exploring Operation: 14+5=19, Resulting Numbers: [6, 19] Generated Node #0,0,5: 10:[6, 19] Operation: 14+5=19 Moving to Node #0,0,5 Current State: 10:[6, 19], Operations: ['25-20=5', '14+5=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,10 unequal: No Solution
0
dfs
Current State: 10:[20, 6, 14, 25], Operations: [] Exploring Operation: 14-6=8, Resulting Numbers: [20, 25, 8] Generated Node #2: [20, 25, 8] from Operation: 14-6=8 Current State: 10:[20, 25, 8], Operations: ['14-6=8'] Exploring Operation: 25*8=200, Resulting Numbers: [20, 200] Generated Node #3: [20, 200] from Operation: 25*8=200 Current State: 10:[20, 200], Operations: ['14-6=8', '25*8=200'] Exploring Operation: 200/20=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
mult_heuristic
[ { "content": "Make 10 with the numbers [20, 6, 14, 25] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 10:[20, 6, 14, 25], Operations: []\nExploring Operation: 25-20=5, Resulting Numbers: [6, 14, 5]\nGenerated Node #0,0: 10:[6, 14, 5] Operation: 25-20=5\nMoving to Node #0,0\nCurrent State: 10:[6, 14, 5], Operations: ['25-20=5']\nExploring Operation: 14-6=8, Resulting Numbers: [5, 8]\nGenerated Node #0,0,0: 10:[5, 8] Operation: 14-6=8\nMoving to Node #0,0,0\nCurrent State: 10:[5, 8], Operations: ['25-20=5', '14-6=8']\nExploring Operation: 8-5=3, Resulting Numbers: [3]\n3,10 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 10:[5, 8], Operations: ['25-20=5', '14-6=8']\nExploring Operation: 5+8=13, Resulting Numbers: [13]\n13,10 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 10:[6, 14, 5], Operations: ['25-20=5']\nExploring Operation: 14-5=9, Resulting Numbers: [6, 9]\nGenerated Node #0,0,1: 10:[6, 9] Operation: 14-5=9\nMoving to Node #0,0,1\nCurrent State: 10:[6, 9], Operations: ['25-20=5', '14-5=9']\nExploring Operation: 9-6=3, Resulting Numbers: [3]\n3,10 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 10:[6, 9], Operations: ['25-20=5', '14-5=9']\nExploring Operation: 6+9=15, Resulting Numbers: [15]\n15,10 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 10:[6, 14, 5], Operations: ['25-20=5']\nExploring Operation: 6+5=11, Resulting Numbers: [14, 11]\nGenerated Node #0,0,2: 10:[14, 11] Operation: 6+5=11\nMoving to Node #0,0,2\nCurrent State: 10:[14, 11], Operations: ['25-20=5', '6+5=11']\nExploring Operation: 14-11=3, Resulting Numbers: [3]\n3,10 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 10:[6, 14, 5], Operations: ['25-20=5']\nExploring Operation: 6-5=1, Resulting Numbers: [14, 1]\nGenerated Node #0,0,3: 10:[14, 1] Operation: 6-5=1\nMoving to Node #0,0,3\nCurrent State: 10:[14, 1], Operations: ['25-20=5', '6-5=1']\nExploring Operation: 14-1=13, Resulting Numbers: [13]\n13,10 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 10:[14, 1], Operations: ['25-20=5', '6-5=1']\nExploring Operation: 14*1=14, Resulting Numbers: [14]\n14,10 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 10:[14, 1], Operations: ['25-20=5', '6-5=1']\nExploring Operation: 14/1=14, Resulting Numbers: [14]\n14,10 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 10:[14, 1], Operations: ['25-20=5', '6-5=1']\nExploring Operation: 14+1=15, Resulting Numbers: [15]\n15,10 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 10:[6, 14, 5], Operations: ['25-20=5']\nExploring Operation: 6+14=20, Resulting Numbers: [5, 20]\nGenerated Node #0,0,4: 10:[5, 20] Operation: 6+14=20\nMoving to Node #0,0,4\nCurrent State: 10:[5, 20], Operations: ['25-20=5', '6+14=20']\nExploring Operation: 20/5=4, Resulting Numbers: [4]\n4,10 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 10:[5, 20], Operations: ['25-20=5', '6+14=20']\nExploring Operation: 20-5=15, Resulting Numbers: [15]\n15,10 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 10:[6, 14, 5], Operations: ['25-20=5']\nExploring Operation: 14+5=19, Resulting Numbers: [6, 19]\nGenerated Node #0,0,5: 10:[6, 19] Operation: 14+5=19\nMoving to Node #0,0,5\nCurrent State: 10:[6, 19], Operations: ['25-20=5', '14+5=19']\nExploring Operation: 19-6=13, Resulting Numbers: [13]\n13,10 unequal: No Solution\n", "role": "assistant" } ]
[ 28, 62, 42, 34 ]
42
[ "62-28=34", "42+34=76", "76-34=42" ]
Current State: 42:[28, 62, 42, 34], Operations: [] Exploring Operation: 62-42=20, Resulting Numbers: [28, 34, 20] Generated Node #0,0: 42:[28, 34, 20] Operation: 62-42=20 Exploring Operation: 62-34=28, Resulting Numbers: [28, 42, 28] Generated Node #0,1: 42:[28, 42, 28] Operation: 62-34=28 Exploring Operation: 62-28=34, Resulting Numbers: [42, 34, 34] Generated Node #0,2: 42:[42, 34, 34] Operation: 62-28=34 Moving to Node #0,1 Current State: 42:[28, 42, 28], Operations: ['62-34=28'] Exploring Operation: 28-28=0, Resulting Numbers: [42, 0] Generated Node #0,1,0: 42:[42, 0] Operation: 28-28=0 Exploring Operation: 42-28=14, Resulting Numbers: [28, 14] Generated Node #0,1,1: 42:[28, 14] Operation: 42-28=14 Exploring Operation: 28/28=1, Resulting Numbers: [42, 1] Generated Node #0,1,2: 42:[42, 1] Operation: 28/28=1 Moving to Node #0,0 Current State: 42:[28, 34, 20], Operations: ['62-42=20'] Exploring Operation: 34-28=6, Resulting Numbers: [20, 6] Generated Node #0,0,0: 42:[20, 6] Operation: 34-28=6 Exploring Operation: 34-20=14, Resulting Numbers: [28, 14] Generated Node #0,0,1: 42:[28, 14] Operation: 34-20=14 Exploring Operation: 28-20=8, Resulting Numbers: [34, 8] Generated Node #0,0,2: 42:[34, 8] Operation: 28-20=8 Moving to Node #0,2 Current State: 42:[42, 34, 34], Operations: ['62-28=34'] Exploring Operation: 34/34=1, Resulting Numbers: [42, 1] Generated Node #0,2,0: 42:[42, 1] Operation: 34/34=1 Exploring Operation: 42-34=8, Resulting Numbers: [34, 8] Generated Node #0,2,1: 42:[34, 8] Operation: 42-34=8 Exploring Operation: 34-34=0, Resulting Numbers: [42, 0] Generated Node #0,2,2: 42:[42, 0] Operation: 34-34=0 Moving to Node #0,1,2 Current State: 42:[42, 1], Operations: ['62-34=28', '28/28=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.987847
bfs_3
Current State: 42:[28, 62, 42, 34], Operations: [] Exploring Operation: 62-28=34, Resulting Numbers: [42, 34, 34] Generated Node #2: [42, 34, 34] from Operation: 62-28=34 Current State: 42:[42, 34, 34], Operations: ['62-28=34'] Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,42 equal: Goal Reached Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
mult_heuristic
[ { "content": "Make 42 with the numbers [28, 62, 42, 34] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 42:[28, 62, 42, 34], Operations: []\nExploring Operation: 62-42=20, Resulting Numbers: [28, 34, 20]\nGenerated Node #0,0: 42:[28, 34, 20] Operation: 62-42=20\nExploring Operation: 62-34=28, Resulting Numbers: [28, 42, 28]\nGenerated Node #0,1: 42:[28, 42, 28] Operation: 62-34=28\nExploring Operation: 62-28=34, Resulting Numbers: [42, 34, 34]\nGenerated Node #0,2: 42:[42, 34, 34] Operation: 62-28=34\nMoving to Node #0,1\nCurrent State: 42:[28, 42, 28], Operations: ['62-34=28']\nExploring Operation: 28-28=0, Resulting Numbers: [42, 0]\nGenerated Node #0,1,0: 42:[42, 0] Operation: 28-28=0\nExploring Operation: 42-28=14, Resulting Numbers: [28, 14]\nGenerated Node #0,1,1: 42:[28, 14] Operation: 42-28=14\nExploring Operation: 28/28=1, Resulting Numbers: [42, 1]\nGenerated Node #0,1,2: 42:[42, 1] Operation: 28/28=1\nMoving to Node #0,0\nCurrent State: 42:[28, 34, 20], Operations: ['62-42=20']\nExploring Operation: 34-28=6, Resulting Numbers: [20, 6]\nGenerated Node #0,0,0: 42:[20, 6] Operation: 34-28=6\nExploring Operation: 34-20=14, Resulting Numbers: [28, 14]\nGenerated Node #0,0,1: 42:[28, 14] Operation: 34-20=14\nExploring Operation: 28-20=8, Resulting Numbers: [34, 8]\nGenerated Node #0,0,2: 42:[34, 8] Operation: 28-20=8\nMoving to Node #0,2\nCurrent State: 42:[42, 34, 34], Operations: ['62-28=34']\nExploring Operation: 34/34=1, Resulting Numbers: [42, 1]\nGenerated Node #0,2,0: 42:[42, 1] Operation: 34/34=1\nExploring Operation: 42-34=8, Resulting Numbers: [34, 8]\nGenerated Node #0,2,1: 42:[34, 8] Operation: 42-34=8\nExploring Operation: 34-34=0, Resulting Numbers: [42, 0]\nGenerated Node #0,2,2: 42:[42, 0] Operation: 34-34=0\nMoving to Node #0,1,2\nCurrent State: 42:[42, 1], Operations: ['62-34=28', '28/28=1']\nExploring Operation: 42*1=42, Resulting Numbers: [42]\n42,42 equal: Goal Reached\n", "role": "assistant" } ]
[ 70, 41, 8, 1 ]
36
[ "70-41=29", "8-1=7", "29+7=36" ]
Current State: 36:[70, 41, 8, 1], Operations: [] Exploring Operation: 70-1=69, Resulting Numbers: [41, 8, 69] Generated Node #0,0: 36:[41, 8, 69] Operation: 70-1=69 Exploring Operation: 41-8=33, Resulting Numbers: [70, 1, 33] Generated Node #0,1: 36:[70, 1, 33] Operation: 41-8=33 Exploring Operation: 70-8=62, Resulting Numbers: [41, 1, 62] Generated Node #0,2: 36:[41, 1, 62] Operation: 70-8=62 Exploring Operation: 70-41=29, Resulting Numbers: [8, 1, 29] Generated Node #0,3: 36:[8, 1, 29] Operation: 70-41=29 Moving to Node #0,3 Current State: 36:[8, 1, 29], Operations: ['70-41=29'] Exploring Operation: 8+1=9, Resulting Numbers: [29, 9] Generated Node #0,3,0: 36:[29, 9] Operation: 8+1=9 Exploring Operation: 8+29=37, Resulting Numbers: [1, 37] Generated Node #0,3,1: 36:[1, 37] Operation: 8+29=37 Exploring Operation: 29-8=21, Resulting Numbers: [1, 21] Generated Node #0,3,2: 36:[1, 21] Operation: 29-8=21 Exploring Operation: 1+29=30, Resulting Numbers: [8, 30] Generated Node #0,3,3: 36:[8, 30] Operation: 1+29=30 Moving to Node #0,2 Current State: 36:[41, 1, 62], Operations: ['70-8=62'] Exploring Operation: 62-1=61, Resulting Numbers: [41, 61] Generated Node #0,2,0: 36:[41, 61] Operation: 62-1=61 Exploring Operation: 41-1=40, Resulting Numbers: [62, 40] Generated Node #0,2,1: 36:[62, 40] Operation: 41-1=40 Exploring Operation: 41*1=41, Resulting Numbers: [62, 41] Generated Node #0,2,2: 36:[62, 41] Operation: 41*1=41 Exploring Operation: 62-41=21, Resulting Numbers: [1, 21] Generated Node #0,2,3: 36:[1, 21] Operation: 62-41=21 Moving to Node #0,1 Current State: 36:[70, 1, 33], Operations: ['41-8=33'] Exploring Operation: 1+33=34, Resulting Numbers: [70, 34] Generated Node #0,1,0: 36:[70, 34] Operation: 1+33=34 Exploring Operation: 70*1=70, Resulting Numbers: [33, 70] Generated Node #0,1,1: 36:[33, 70] Operation: 70*1=70 Exploring Operation: 70-33=37, Resulting Numbers: [1, 37] Generated Node #0,1,2: 36:[1, 37] Operation: 70-33=37 Exploring Operation: 70-1=69, Resulting Numbers: [33, 69] Generated Node #0,1,3: 36:[33, 69] Operation: 70-1=69 Moving to Node #0,0 Current State: 36:[41, 8, 69], Operations: ['70-1=69'] Exploring Operation: 69-8=61, Resulting Numbers: [41, 61] Generated Node #0,0,0: 36:[41, 61] Operation: 69-8=61 Exploring Operation: 41+8=49, Resulting Numbers: [69, 49] Generated Node #0,0,1: 36:[69, 49] Operation: 41+8=49 Exploring Operation: 69-41=28, Resulting Numbers: [8, 28] Generated Node #0,0,2: 36:[8, 28] Operation: 69-41=28 Exploring Operation: 41-8=33, Resulting Numbers: [69, 33] Generated Node #0,0,3: 36:[69, 33] Operation: 41-8=33 Moving to Node #0,3,1 Current State: 36:[1, 37], Operations: ['70-41=29', '8+29=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.980035
bfs_4
Current State: 36:[70, 41, 8, 1], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [8, 1, 29] Generated Node #2: [8, 1, 29] from Operation: 70-41=29 Current State: 36:[8, 1, 29], Operations: ['70-41=29'] Exploring Operation: 8-1=7, Resulting Numbers: [29, 7] Generated Node #3: [29, 7] from Operation: 8-1=7 Current State: 36:[29, 7], Operations: ['70-41=29', '8-1=7'] Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
mult_heuristic
[ { "content": "Make 36 with the numbers [70, 41, 8, 1] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 36:[70, 41, 8, 1], Operations: []\nExploring Operation: 70-1=69, Resulting Numbers: [41, 8, 69]\nGenerated Node #0,0: 36:[41, 8, 69] Operation: 70-1=69\nExploring Operation: 41-8=33, Resulting Numbers: [70, 1, 33]\nGenerated Node #0,1: 36:[70, 1, 33] Operation: 41-8=33\nExploring Operation: 70-8=62, Resulting Numbers: [41, 1, 62]\nGenerated Node #0,2: 36:[41, 1, 62] Operation: 70-8=62\nExploring Operation: 70-41=29, Resulting Numbers: [8, 1, 29]\nGenerated Node #0,3: 36:[8, 1, 29] Operation: 70-41=29\nMoving to Node #0,3\nCurrent State: 36:[8, 1, 29], Operations: ['70-41=29']\nExploring Operation: 8+1=9, Resulting Numbers: [29, 9]\nGenerated Node #0,3,0: 36:[29, 9] Operation: 8+1=9\nExploring Operation: 8+29=37, Resulting Numbers: [1, 37]\nGenerated Node #0,3,1: 36:[1, 37] Operation: 8+29=37\nExploring Operation: 29-8=21, Resulting Numbers: [1, 21]\nGenerated Node #0,3,2: 36:[1, 21] Operation: 29-8=21\nExploring Operation: 1+29=30, Resulting Numbers: [8, 30]\nGenerated Node #0,3,3: 36:[8, 30] Operation: 1+29=30\nMoving to Node #0,2\nCurrent State: 36:[41, 1, 62], Operations: ['70-8=62']\nExploring Operation: 62-1=61, Resulting Numbers: [41, 61]\nGenerated Node #0,2,0: 36:[41, 61] Operation: 62-1=61\nExploring Operation: 41-1=40, Resulting Numbers: [62, 40]\nGenerated Node #0,2,1: 36:[62, 40] Operation: 41-1=40\nExploring Operation: 41*1=41, Resulting Numbers: [62, 41]\nGenerated Node #0,2,2: 36:[62, 41] Operation: 41*1=41\nExploring Operation: 62-41=21, Resulting Numbers: [1, 21]\nGenerated Node #0,2,3: 36:[1, 21] Operation: 62-41=21\nMoving to Node #0,1\nCurrent State: 36:[70, 1, 33], Operations: ['41-8=33']\nExploring Operation: 1+33=34, Resulting Numbers: [70, 34]\nGenerated Node #0,1,0: 36:[70, 34] Operation: 1+33=34\nExploring Operation: 70*1=70, Resulting Numbers: [33, 70]\nGenerated Node #0,1,1: 36:[33, 70] Operation: 70*1=70\nExploring Operation: 70-33=37, Resulting Numbers: [1, 37]\nGenerated Node #0,1,2: 36:[1, 37] Operation: 70-33=37\nExploring Operation: 70-1=69, Resulting Numbers: [33, 69]\nGenerated Node #0,1,3: 36:[33, 69] Operation: 70-1=69\nMoving to Node #0,0\nCurrent State: 36:[41, 8, 69], Operations: ['70-1=69']\nExploring Operation: 69-8=61, Resulting Numbers: [41, 61]\nGenerated Node #0,0,0: 36:[41, 61] Operation: 69-8=61\nExploring Operation: 41+8=49, Resulting Numbers: [69, 49]\nGenerated Node #0,0,1: 36:[69, 49] Operation: 41+8=49\nExploring Operation: 69-41=28, Resulting Numbers: [8, 28]\nGenerated Node #0,0,2: 36:[8, 28] Operation: 69-41=28\nExploring Operation: 41-8=33, Resulting Numbers: [69, 33]\nGenerated Node #0,0,3: 36:[69, 33] Operation: 41-8=33\nMoving to Node #0,3,1\nCurrent State: 36:[1, 37], Operations: ['70-41=29', '8+29=37']\nExploring Operation: 1+37=38, Resulting Numbers: [38]\n38,36 unequal: No Solution\nExploring Operation: 37-1=36, Resulting Numbers: [36]\n36,36 equal: Goal Reached\n", "role": "assistant" } ]
[ 40, 96, 60, 12 ]
30
[ "60+12=72", "40*72=2880", "2880/96=30" ]
Current State: 30:[40, 96, 60, 12], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [40, 12, 36] Generated Node #0,0: 30:[40, 12, 36] Operation: 96-60=36 Moving to Node #0,0 Current State: 30:[40, 12, 36], Operations: ['96-60=36'] Exploring Operation: 40-12=28, Resulting Numbers: [36, 28] Generated Node #0,0,0: 30:[36, 28] Operation: 40-12=28 Moving to Node #0,0,0 Current State: 30:[36, 28], Operations: ['96-60=36', '40-12=28'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,30 unequal: No Solution Moving to Node #0,0 Current State: 30:[40, 12, 36], Operations: ['96-60=36'] Exploring Operation: 36-12=24, Resulting Numbers: [40, 24] Generated Node #0,0,1: 30:[40, 24] Operation: 36-12=24 Moving to Node #0,0,1 Current State: 30:[40, 24], Operations: ['96-60=36', '36-12=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,0 Current State: 30:[40, 12, 36], Operations: ['96-60=36'] Exploring Operation: 40+12=52, Resulting Numbers: [36, 52] Generated Node #0,0,2: 30:[36, 52] Operation: 40+12=52 Moving to Node #0,0,2 Current State: 30:[36, 52], Operations: ['96-60=36', '40+12=52'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,0 Current State: 30:[40, 12, 36], Operations: ['96-60=36'] Exploring Operation: 12+36=48, Resulting Numbers: [40, 48] Generated Node #0,0,3: 30:[40, 48] Operation: 12+36=48 Moving to Node #0,0,3 Current State: 30:[40, 48], Operations: ['96-60=36', '12+36=48'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,30 unequal: No Solution Moving to Node #0,0 Current State: 30:[40, 12, 36], Operations: ['96-60=36'] Exploring Operation: 36/12=3, Resulting Numbers: [40, 3] Generated Node #0,0,4: 30:[40, 3] Operation: 36/12=3 Moving to Node #0,0,4 Current State: 30:[40, 3], Operations: ['96-60=36', '36/12=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,30 unequal: No Solution Moving to Node #0,0,4 Current State: 30:[40, 3], Operations: ['96-60=36', '36/12=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,30 unequal: No Solution Moving to Node #0,0 Current State: 30:[40, 12, 36], Operations: ['96-60=36'] Exploring Operation: 40-36=4, Resulting Numbers: [12, 4] Generated Node #0,0,5: 30:[12, 4] Operation: 40-36=4 Moving to Node #0,0,5 Current State: 30:[12, 4], Operations: ['96-60=36', '40-36=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,0,5 Current State: 30:[12, 4], Operations: ['96-60=36', '40-36=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,30 unequal: No Solution Moving to Node #0,0,5 Current State: 30:[12, 4], Operations: ['96-60=36', '40-36=4'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,30 unequal: No Solution Moving to Node #0,0,5 Current State: 30:[12, 4], Operations: ['96-60=36', '40-36=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0 Current State: 30:[40, 96, 60, 12], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [40, 60, 8] Generated Node #0,1: 30:[40, 60, 8] Operation: 96/12=8 Moving to Node #0,1 Current State: 30:[40, 60, 8], Operations: ['96/12=8'] Exploring Operation: 60-40=20, Resulting Numbers: [8, 20] Generated Node #0,1,0: 30:[8, 20] Operation: 60-40=20 Moving to Node #0,1,0 Current State: 30:[8, 20], Operations: ['96/12=8', '60-40=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[8, 20], Operations: ['96/12=8', '60-40=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,1 Current State: 30:[40, 60, 8], Operations: ['96/12=8'] Exploring Operation: 40-8=32, Resulting Numbers: [60, 32] Generated Node #0,1,1: 30:[60, 32] Operation: 40-8=32 Moving to Node #0,1,1 Current State: 30:[60, 32], Operations: ['96/12=8', '40-8=32'] Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,30 unequal: No Solution Moving to Node #0,1 Current State: 30:[40, 60, 8], Operations: ['96/12=8'] Exploring Operation: 60-8=52, Resulting Numbers: [40, 52] Generated Node #0,1,2: 30:[40, 52] Operation: 60-8=52 Moving to Node #0,1,2 Current State: 30:[40, 52], Operations: ['96/12=8', '60-8=52'] Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,1 Current State: 30:[40, 60, 8], Operations: ['96/12=8'] Exploring Operation: 40+8=48, Resulting Numbers: [60, 48] Generated Node #0,1,3: 30:[60, 48] Operation: 40+8=48 Moving to Node #0,1,3 Current State: 30:[60, 48], Operations: ['96/12=8', '40+8=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,1 Current State: 30:[40, 60, 8], Operations: ['96/12=8'] Exploring Operation: 60+8=68, Resulting Numbers: [40, 68] Generated Node #0,1,4: 30:[40, 68] Operation: 60+8=68 Moving to Node #0,1,4 Current State: 30:[40, 68], Operations: ['96/12=8', '60+8=68'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,30 unequal: No Solution Moving to Node #0,1 Current State: 30:[40, 60, 8], Operations: ['96/12=8'] Exploring Operation: 40/8=5, Resulting Numbers: [60, 5] Generated Node #0,1,5: 30:[60, 5] Operation: 40/8=5 Moving to Node #0,1,5 Current State: 30:[60, 5], Operations: ['96/12=8', '40/8=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,1,5 Current State: 30:[60, 5], Operations: ['96/12=8', '40/8=5'] Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,30 unequal: No Solution Moving to Node #0 Current State: 30:[40, 96, 60, 12], Operations: [] Exploring Operation: 96-40=56, Resulting Numbers: [60, 12, 56] Generated Node #0,2: 30:[60, 12, 56] Operation: 96-40=56 Moving to Node #0,2 Current State: 30:[60, 12, 56], Operations: ['96-40=56'] Exploring Operation: 60-12=48, Resulting Numbers: [56, 48] Generated Node #0,2,0: 30:[56, 48] Operation: 60-12=48 Moving to Node #0,2,0 Current State: 30:[56, 48], Operations: ['96-40=56', '60-12=48'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,30 unequal: No Solution Moving to Node #0,2 Current State: 30:[60, 12, 56], Operations: ['96-40=56'] Exploring Operation: 60-56=4, Resulting Numbers: [12, 4] Generated Node #0,2,1: 30:[12, 4] Operation: 60-56=4 Moving to Node #0,2,1 Current State: 30:[12, 4], Operations: ['96-40=56', '60-56=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[12, 4], Operations: ['96-40=56', '60-56=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[12, 4], Operations: ['96-40=56', '60-56=4'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[12, 4], Operations: ['96-40=56', '60-56=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,2 Current State: 30:[60, 12, 56], Operations: ['96-40=56'] Exploring Operation: 56-12=44, Resulting Numbers: [60, 44] Generated Node #0,2,2: 30:[60, 44] Operation: 56-12=44 Moving to Node #0,2,2 Current State: 30:[60, 44], Operations: ['96-40=56', '56-12=44'] Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,2 Current State: 30:[60, 12, 56], Operations: ['96-40=56'] Exploring Operation: 60/12=5, Resulting Numbers: [56, 5] Generated Node #0,2,3: 30:[56, 5] Operation: 60/12=5 Moving to Node #0,2,3 Current State: 30:[56, 5], Operations: ['96-40=56', '60/12=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,30 unequal: No Solution
0
dfs
Current State: 30:[40, 96, 60, 12], Operations: [] Exploring Operation: 60+12=72, Resulting Numbers: [40, 96, 72] Generated Node #2: [40, 96, 72] from Operation: 60+12=72 Current State: 30:[40, 96, 72], Operations: ['60+12=72'] Exploring Operation: 40*72=2880, Resulting Numbers: [96, 2880] Generated Node #3: [96, 2880] from Operation: 40*72=2880 Current State: 30:[96, 2880], Operations: ['60+12=72', '40*72=2880'] Exploring Operation: 2880/96=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
sum_heuristic
[ { "content": "Make 30 with the numbers [40, 96, 60, 12] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 30:[40, 96, 60, 12], Operations: []\nExploring Operation: 96-60=36, Resulting Numbers: [40, 12, 36]\nGenerated Node #0,0: 30:[40, 12, 36] Operation: 96-60=36\nMoving to Node #0,0\nCurrent State: 30:[40, 12, 36], Operations: ['96-60=36']\nExploring Operation: 40-12=28, Resulting Numbers: [36, 28]\nGenerated Node #0,0,0: 30:[36, 28] Operation: 40-12=28\nMoving to Node #0,0,0\nCurrent State: 30:[36, 28], Operations: ['96-60=36', '40-12=28']\nExploring Operation: 36-28=8, Resulting Numbers: [8]\n8,30 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 30:[40, 12, 36], Operations: ['96-60=36']\nExploring Operation: 36-12=24, Resulting Numbers: [40, 24]\nGenerated Node #0,0,1: 30:[40, 24] Operation: 36-12=24\nMoving to Node #0,0,1\nCurrent State: 30:[40, 24], Operations: ['96-60=36', '36-12=24']\nExploring Operation: 40-24=16, Resulting Numbers: [16]\n16,30 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 30:[40, 12, 36], Operations: ['96-60=36']\nExploring Operation: 40+12=52, Resulting Numbers: [36, 52]\nGenerated Node #0,0,2: 30:[36, 52] Operation: 40+12=52\nMoving to Node #0,0,2\nCurrent State: 30:[36, 52], Operations: ['96-60=36', '40+12=52']\nExploring Operation: 52-36=16, Resulting Numbers: [16]\n16,30 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 30:[40, 12, 36], Operations: ['96-60=36']\nExploring Operation: 12+36=48, Resulting Numbers: [40, 48]\nGenerated Node #0,0,3: 30:[40, 48] Operation: 12+36=48\nMoving to Node #0,0,3\nCurrent State: 30:[40, 48], Operations: ['96-60=36', '12+36=48']\nExploring Operation: 48-40=8, Resulting Numbers: [8]\n8,30 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 30:[40, 12, 36], Operations: ['96-60=36']\nExploring Operation: 36/12=3, Resulting Numbers: [40, 3]\nGenerated Node #0,0,4: 30:[40, 3] Operation: 36/12=3\nMoving to Node #0,0,4\nCurrent State: 30:[40, 3], Operations: ['96-60=36', '36/12=3']\nExploring Operation: 40-3=37, Resulting Numbers: [37]\n37,30 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 30:[40, 3], Operations: ['96-60=36', '36/12=3']\nExploring Operation: 40+3=43, Resulting Numbers: [43]\n43,30 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 30:[40, 12, 36], Operations: ['96-60=36']\nExploring Operation: 40-36=4, Resulting Numbers: [12, 4]\nGenerated Node #0,0,5: 30:[12, 4] Operation: 40-36=4\nMoving to Node #0,0,5\nCurrent State: 30:[12, 4], Operations: ['96-60=36', '40-36=4']\nExploring Operation: 12+4=16, Resulting Numbers: [16]\n16,30 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 30:[12, 4], Operations: ['96-60=36', '40-36=4']\nExploring Operation: 12*4=48, Resulting Numbers: [48]\n48,30 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 30:[12, 4], Operations: ['96-60=36', '40-36=4']\nExploring Operation: 12-4=8, Resulting Numbers: [8]\n8,30 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 30:[12, 4], Operations: ['96-60=36', '40-36=4']\nExploring Operation: 12/4=3, Resulting Numbers: [3]\n3,30 unequal: No Solution\nMoving to Node #0\nCurrent State: 30:[40, 96, 60, 12], Operations: []\nExploring Operation: 96/12=8, Resulting Numbers: [40, 60, 8]\nGenerated Node #0,1: 30:[40, 60, 8] Operation: 96/12=8\nMoving to Node #0,1\nCurrent State: 30:[40, 60, 8], Operations: ['96/12=8']\nExploring Operation: 60-40=20, Resulting Numbers: [8, 20]\nGenerated Node #0,1,0: 30:[8, 20] Operation: 60-40=20\nMoving to Node #0,1,0\nCurrent State: 30:[8, 20], Operations: ['96/12=8', '60-40=20']\nExploring Operation: 8+20=28, Resulting Numbers: [28]\n28,30 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 30:[8, 20], Operations: ['96/12=8', '60-40=20']\nExploring Operation: 20-8=12, Resulting Numbers: [12]\n12,30 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 30:[40, 60, 8], Operations: ['96/12=8']\nExploring Operation: 40-8=32, Resulting Numbers: [60, 32]\nGenerated Node #0,1,1: 30:[60, 32] Operation: 40-8=32\nMoving to Node #0,1,1\nCurrent State: 30:[60, 32], Operations: ['96/12=8', '40-8=32']\nExploring Operation: 60-32=28, Resulting Numbers: [28]\n28,30 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 30:[40, 60, 8], Operations: ['96/12=8']\nExploring Operation: 60-8=52, Resulting Numbers: [40, 52]\nGenerated Node #0,1,2: 30:[40, 52] Operation: 60-8=52\nMoving to Node #0,1,2\nCurrent State: 30:[40, 52], Operations: ['96/12=8', '60-8=52']\nExploring Operation: 52-40=12, Resulting Numbers: [12]\n12,30 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 30:[40, 60, 8], Operations: ['96/12=8']\nExploring Operation: 40+8=48, Resulting Numbers: [60, 48]\nGenerated Node #0,1,3: 30:[60, 48] Operation: 40+8=48\nMoving to Node #0,1,3\nCurrent State: 30:[60, 48], Operations: ['96/12=8', '40+8=48']\nExploring Operation: 60-48=12, Resulting Numbers: [12]\n12,30 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 30:[40, 60, 8], Operations: ['96/12=8']\nExploring Operation: 60+8=68, Resulting Numbers: [40, 68]\nGenerated Node #0,1,4: 30:[40, 68] Operation: 60+8=68\nMoving to Node #0,1,4\nCurrent State: 30:[40, 68], Operations: ['96/12=8', '60+8=68']\nExploring Operation: 68-40=28, Resulting Numbers: [28]\n28,30 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 30:[40, 60, 8], Operations: ['96/12=8']\nExploring Operation: 40/8=5, Resulting Numbers: [60, 5]\nGenerated Node #0,1,5: 30:[60, 5] Operation: 40/8=5\nMoving to Node #0,1,5\nCurrent State: 30:[60, 5], Operations: ['96/12=8', '40/8=5']\nExploring Operation: 60/5=12, Resulting Numbers: [12]\n12,30 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 30:[60, 5], Operations: ['96/12=8', '40/8=5']\nExploring Operation: 60-5=55, Resulting Numbers: [55]\n55,30 unequal: No Solution\nMoving to Node #0\nCurrent State: 30:[40, 96, 60, 12], Operations: []\nExploring Operation: 96-40=56, Resulting Numbers: [60, 12, 56]\nGenerated Node #0,2: 30:[60, 12, 56] Operation: 96-40=56\nMoving to Node #0,2\nCurrent State: 30:[60, 12, 56], Operations: ['96-40=56']\nExploring Operation: 60-12=48, Resulting Numbers: [56, 48]\nGenerated Node #0,2,0: 30:[56, 48] Operation: 60-12=48\nMoving to Node #0,2,0\nCurrent State: 30:[56, 48], Operations: ['96-40=56', '60-12=48']\nExploring Operation: 56-48=8, Resulting Numbers: [8]\n8,30 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 30:[60, 12, 56], Operations: ['96-40=56']\nExploring Operation: 60-56=4, Resulting Numbers: [12, 4]\nGenerated Node #0,2,1: 30:[12, 4] Operation: 60-56=4\nMoving to Node #0,2,1\nCurrent State: 30:[12, 4], Operations: ['96-40=56', '60-56=4']\nExploring Operation: 12+4=16, Resulting Numbers: [16]\n16,30 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 30:[12, 4], Operations: ['96-40=56', '60-56=4']\nExploring Operation: 12*4=48, Resulting Numbers: [48]\n48,30 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 30:[12, 4], Operations: ['96-40=56', '60-56=4']\nExploring Operation: 12-4=8, Resulting Numbers: [8]\n8,30 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 30:[12, 4], Operations: ['96-40=56', '60-56=4']\nExploring Operation: 12/4=3, Resulting Numbers: [3]\n3,30 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 30:[60, 12, 56], Operations: ['96-40=56']\nExploring Operation: 56-12=44, Resulting Numbers: [60, 44]\nGenerated Node #0,2,2: 30:[60, 44] Operation: 56-12=44\nMoving to Node #0,2,2\nCurrent State: 30:[60, 44], Operations: ['96-40=56', '56-12=44']\nExploring Operation: 60-44=16, Resulting Numbers: [16]\n16,30 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 30:[60, 12, 56], Operations: ['96-40=56']\nExploring Operation: 60/12=5, Resulting Numbers: [56, 5]\nGenerated Node #0,2,3: 30:[56, 5] Operation: 60/12=5\nMoving to Node #0,2,3\nCurrent State: 30:[56, 5], Operations: ['96-40=56', '60/12=5']\nExploring Operation: 56-5=51, Resulting Numbers: [51]\n51,30 unequal: No Solution\n", "role": "assistant" } ]
[ 38, 81, 1, 87 ]
33
[ "38+81=119", "87-1=86", "119-86=33" ]
Current State: 33:[38, 81, 1, 87], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [38, 1, 6] Generated Node #0,0: 33:[38, 1, 6] Operation: 87-81=6 Moving to Node #0,0 Current State: 33:[38, 1, 6], Operations: ['87-81=6'] Exploring Operation: 38-1=37, Resulting Numbers: [6, 37] Generated Node #0,0,0: 33:[6, 37] Operation: 38-1=37 Moving to Node #0,0,0 Current State: 33:[6, 37], Operations: ['87-81=6', '38-1=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,33 unequal: No Solution Moving to Node #0,0,0,0 Current State: 33:[31], Operations: ['87-81=6', '38-1=37', '37-6=31'] No solution found.
0
bfs_1
Current State: 33:[38, 81, 1, 87], Operations: [] Exploring Operation: 38+81=119, Resulting Numbers: [1, 87, 119] Generated Node #2: [1, 87, 119] from Operation: 38+81=119 Current State: 33:[1, 87, 119], Operations: ['38+81=119'] Exploring Operation: 87-1=86, Resulting Numbers: [119, 86] Generated Node #3: [119, 86] from Operation: 87-1=86 Current State: 33:[119, 86], Operations: ['38+81=119', '87-1=86'] Exploring Operation: 119-86=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
sum_heuristic
[ { "content": "Make 33 with the numbers [38, 81, 1, 87] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 33:[38, 81, 1, 87], Operations: []\nExploring Operation: 87-81=6, Resulting Numbers: [38, 1, 6]\nGenerated Node #0,0: 33:[38, 1, 6] Operation: 87-81=6\nMoving to Node #0,0\nCurrent State: 33:[38, 1, 6], Operations: ['87-81=6']\nExploring Operation: 38-1=37, Resulting Numbers: [6, 37]\nGenerated Node #0,0,0: 33:[6, 37] Operation: 38-1=37\nMoving to Node #0,0,0\nCurrent State: 33:[6, 37], Operations: ['87-81=6', '38-1=37']\nExploring Operation: 37-6=31, Resulting Numbers: [31]\n31,33 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 33:[31], Operations: ['87-81=6', '38-1=37', '37-6=31']\nNo solution found.", "role": "assistant" } ]
[ 6, 78, 73, 1 ]
11
[ "6+78=84", "73*1=73", "84-73=11" ]
Current State: 11:[6, 78, 73, 1], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [6, 1, 5] Generated Node #0,0: 11:[6, 1, 5] Operation: 78-73=5 Moving to Node #0,0 Current State: 11:[6, 1, 5], Operations: ['78-73=5'] Exploring Operation: 6+1=7, Resulting Numbers: [5, 7] Generated Node #0,0,0: 11:[5, 7] Operation: 6+1=7 Moving to Node #0,0,0 Current State: 11:[5, 7], Operations: ['78-73=5', '6+1=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[5, 7], Operations: ['78-73=5', '6+1=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,0 Current State: 11:[6, 1, 5], Operations: ['78-73=5'] Exploring Operation: 6+5=11, Resulting Numbers: [1, 11] Generated Node #0,0,1: 11:[1, 11] Operation: 6+5=11 Moving to Node #0,0,1 Current State: 11:[1, 11], Operations: ['78-73=5', '6+5=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.993924
dfs
Current State: 11:[6, 78, 73, 1], Operations: [] Exploring Operation: 6+78=84, Resulting Numbers: [73, 1, 84] Generated Node #2: [73, 1, 84] from Operation: 6+78=84 Current State: 11:[73, 1, 84], Operations: ['6+78=84'] Exploring Operation: 73*1=73, Resulting Numbers: [84, 73] Generated Node #3: [84, 73] from Operation: 73*1=73 Current State: 11:[84, 73], Operations: ['6+78=84', '73*1=73'] Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
sum_heuristic
[ { "content": "Make 11 with the numbers [6, 78, 73, 1] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 11:[6, 78, 73, 1], Operations: []\nExploring Operation: 78-73=5, Resulting Numbers: [6, 1, 5]\nGenerated Node #0,0: 11:[6, 1, 5] Operation: 78-73=5\nMoving to Node #0,0\nCurrent State: 11:[6, 1, 5], Operations: ['78-73=5']\nExploring Operation: 6+1=7, Resulting Numbers: [5, 7]\nGenerated Node #0,0,0: 11:[5, 7] Operation: 6+1=7\nMoving to Node #0,0,0\nCurrent State: 11:[5, 7], Operations: ['78-73=5', '6+1=7']\nExploring Operation: 5+7=12, Resulting Numbers: [12]\n12,11 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 11:[5, 7], Operations: ['78-73=5', '6+1=7']\nExploring Operation: 7-5=2, Resulting Numbers: [2]\n2,11 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 11:[6, 1, 5], Operations: ['78-73=5']\nExploring Operation: 6+5=11, Resulting Numbers: [1, 11]\nGenerated Node #0,0,1: 11:[1, 11] Operation: 6+5=11\nMoving to Node #0,0,1\nCurrent State: 11:[1, 11], Operations: ['78-73=5', '6+5=11']\nExploring Operation: 1*11=11, Resulting Numbers: [11]\n11,11 equal: Goal Reached\n", "role": "assistant" } ]
[ 91, 30, 45, 72 ]
34
[ "91-30=61", "72-45=27", "61-27=34" ]
Current State: 34:[91, 30, 45, 72], Operations: [] Exploring Operation: 91-45=46, Resulting Numbers: [30, 72, 46] Generated Node #0,0: 34:[30, 72, 46] Operation: 91-45=46 Exploring Operation: 91-72=19, Resulting Numbers: [30, 45, 19] Generated Node #0,1: 34:[30, 45, 19] Operation: 91-72=19 Moving to Node #0,1 Current State: 34:[30, 45, 19], Operations: ['91-72=19'] Exploring Operation: 45-30=15, Resulting Numbers: [19, 15] Generated Node #0,1,0: 34:[19, 15] Operation: 45-30=15 Exploring Operation: 45-19=26, Resulting Numbers: [30, 26] Generated Node #0,1,1: 34:[30, 26] Operation: 45-19=26 Moving to Node #0,0 Current State: 34:[30, 72, 46], Operations: ['91-45=46'] Exploring Operation: 72-46=26, Resulting Numbers: [30, 26] Generated Node #0,0,0: 34:[30, 26] Operation: 72-46=26 Exploring Operation: 72-30=42, Resulting Numbers: [46, 42] Generated Node #0,0,1: 34:[46, 42] Operation: 72-30=42 Moving to Node #0,1,0 Current State: 34:[19, 15], Operations: ['91-72=19', '45-30=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.993056
bfs_2
Current State: 34:[91, 30, 45, 72], Operations: [] Exploring Operation: 91-30=61, Resulting Numbers: [45, 72, 61] Generated Node #2: [45, 72, 61] from Operation: 91-30=61 Current State: 34:[45, 72, 61], Operations: ['91-30=61'] Exploring Operation: 72-45=27, Resulting Numbers: [61, 27] Generated Node #3: [61, 27] from Operation: 72-45=27 Current State: 34:[61, 27], Operations: ['91-30=61', '72-45=27'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
mult_heuristic
[ { "content": "Make 34 with the numbers [91, 30, 45, 72] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 34:[91, 30, 45, 72], Operations: []\nExploring Operation: 91-45=46, Resulting Numbers: [30, 72, 46]\nGenerated Node #0,0: 34:[30, 72, 46] Operation: 91-45=46\nExploring Operation: 91-72=19, Resulting Numbers: [30, 45, 19]\nGenerated Node #0,1: 34:[30, 45, 19] Operation: 91-72=19\nMoving to Node #0,1\nCurrent State: 34:[30, 45, 19], Operations: ['91-72=19']\nExploring Operation: 45-30=15, Resulting Numbers: [19, 15]\nGenerated Node #0,1,0: 34:[19, 15] Operation: 45-30=15\nExploring Operation: 45-19=26, Resulting Numbers: [30, 26]\nGenerated Node #0,1,1: 34:[30, 26] Operation: 45-19=26\nMoving to Node #0,0\nCurrent State: 34:[30, 72, 46], Operations: ['91-45=46']\nExploring Operation: 72-46=26, Resulting Numbers: [30, 26]\nGenerated Node #0,0,0: 34:[30, 26] Operation: 72-46=26\nExploring Operation: 72-30=42, Resulting Numbers: [46, 42]\nGenerated Node #0,0,1: 34:[46, 42] Operation: 72-30=42\nMoving to Node #0,1,0\nCurrent State: 34:[19, 15], Operations: ['91-72=19', '45-30=15']\nExploring Operation: 19+15=34, Resulting Numbers: [34]\n34,34 equal: Goal Reached\n", "role": "assistant" } ]
[ 17, 51, 15, 17 ]
32
[ "51-17=34", "17-15=2", "34-2=32" ]
Current State: 32:[17, 51, 15, 17], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [15, 17, 3] Generated Node #0,0: 32:[15, 17, 3] Operation: 51/17=3 Moving to Node #0,0 Current State: 32:[15, 17, 3], Operations: ['51/17=3'] Exploring Operation: 15+17=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 32:[3, 32] Operation: 15+17=32 Moving to Node #0,0,0 Current State: 32:[3, 32], Operations: ['51/17=3', '15+17=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[3, 32], Operations: ['51/17=3', '15+17=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[15, 17, 3], Operations: ['51/17=3'] Exploring Operation: 17-15=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 32:[3, 2] Operation: 17-15=2 Moving to Node #0,0,1 Current State: 32:[3, 2], Operations: ['51/17=3', '17-15=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[3, 2], Operations: ['51/17=3', '17-15=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[3, 2], Operations: ['51/17=3', '17-15=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[15, 17, 3], Operations: ['51/17=3'] Exploring Operation: 15/3=5, Resulting Numbers: [17, 5] Generated Node #0,0,2: 32:[17, 5] Operation: 15/3=5 Moving to Node #0,0,2 Current State: 32:[17, 5], Operations: ['51/17=3', '15/3=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[17, 5], Operations: ['51/17=3', '15/3=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[15, 17, 3], Operations: ['51/17=3'] Exploring Operation: 15+3=18, Resulting Numbers: [17, 18] Generated Node #0,0,3: 32:[17, 18] Operation: 15+3=18 Moving to Node #0,0,3 Current State: 32:[17, 18], Operations: ['51/17=3', '15+3=18'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[17, 18], Operations: ['51/17=3', '15+3=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[15, 17, 3], Operations: ['51/17=3'] Exploring Operation: 17-3=14, Resulting Numbers: [15, 14] Generated Node #0,0,4: 32:[15, 14] Operation: 17-3=14 Moving to Node #0,0,4 Current State: 32:[15, 14], Operations: ['51/17=3', '17-3=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,0,4 Current State: 32:[15, 14], Operations: ['51/17=3', '17-3=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[15, 17, 3], Operations: ['51/17=3'] Exploring Operation: 15-3=12, Resulting Numbers: [17, 12] Generated Node #0,0,5: 32:[17, 12] Operation: 15-3=12 Moving to Node #0,0,5 Current State: 32:[17, 12], Operations: ['51/17=3', '15-3=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,0,5 Current State: 32:[17, 12], Operations: ['51/17=3', '15-3=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[15, 17, 3], Operations: ['51/17=3'] Exploring Operation: 17+3=20, Resulting Numbers: [15, 20] Generated Node #0,0,6: 32:[15, 20] Operation: 17+3=20 Moving to Node #0,0,6 Current State: 32:[15, 20], Operations: ['51/17=3', '17+3=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,0,6 Current State: 32:[15, 20], Operations: ['51/17=3', '17+3=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[15, 17, 3], Operations: ['51/17=3'] Exploring Operation: 15*3=45, Resulting Numbers: [17, 45] Generated Node #0,0,7: 32:[17, 45] Operation: 15*3=45 Moving to Node #0,0,7 Current State: 32:[17, 45], Operations: ['51/17=3', '15*3=45'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,0,7 Current State: 32:[17, 45], Operations: ['51/17=3', '15*3=45'] Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[15, 17, 3], Operations: ['51/17=3'] Exploring Operation: 17*3=51, Resulting Numbers: [15, 51] Generated Node #0,0,8: 32:[15, 51] Operation: 17*3=51 Moving to Node #0,0,8 Current State: 32:[15, 51], Operations: ['51/17=3', '17*3=51'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,32 unequal: No Solution Moving to Node #0 Current State: 32:[17, 51, 15, 17], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [17, 15, 3] Generated Node #0,1: 32:[17, 15, 3] Operation: 51/17=3 Moving to Node #0,1 Current State: 32:[17, 15, 3], Operations: ['51/17=3'] Exploring Operation: 17+15=32, Resulting Numbers: [3, 32] Generated Node #0,1,0: 32:[3, 32] Operation: 17+15=32 Moving to Node #0,1,0 Current State: 32:[3, 32], Operations: ['51/17=3', '17+15=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[3, 32], Operations: ['51/17=3', '17+15=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[17, 15, 3], Operations: ['51/17=3'] Exploring Operation: 17-15=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 32:[3, 2] Operation: 17-15=2 Moving to Node #0,1,1 Current State: 32:[3, 2], Operations: ['51/17=3', '17-15=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[3, 2], Operations: ['51/17=3', '17-15=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[3, 2], Operations: ['51/17=3', '17-15=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[17, 15, 3], Operations: ['51/17=3'] Exploring Operation: 15/3=5, Resulting Numbers: [17, 5] Generated Node #0,1,2: 32:[17, 5] Operation: 15/3=5 Moving to Node #0,1,2 Current State: 32:[17, 5], Operations: ['51/17=3', '15/3=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[17, 5], Operations: ['51/17=3', '15/3=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[17, 15, 3], Operations: ['51/17=3'] Exploring Operation: 17-3=14, Resulting Numbers: [15, 14] Generated Node #0,1,3: 32:[15, 14] Operation: 17-3=14 Moving to Node #0,1,3 Current State: 32:[15, 14], Operations: ['51/17=3', '17-3=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[15, 14], Operations: ['51/17=3', '17-3=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[17, 15, 3], Operations: ['51/17=3'] Exploring Operation: 15+3=18, Resulting Numbers: [17, 18] Generated Node #0,1,4: 32:[17, 18] Operation: 15+3=18 Moving to Node #0,1,4 Current State: 32:[17, 18], Operations: ['51/17=3', '15+3=18'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[17, 18], Operations: ['51/17=3', '15+3=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[17, 15, 3], Operations: ['51/17=3'] Exploring Operation: 17+3=20, Resulting Numbers: [15, 20] Generated Node #0,1,5: 32:[15, 20] Operation: 17+3=20 Moving to Node #0,1,5 Current State: 32:[15, 20], Operations: ['51/17=3', '17+3=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,1,5 Current State: 32:[15, 20], Operations: ['51/17=3', '17+3=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[17, 15, 3], Operations: ['51/17=3'] Exploring Operation: 15-3=12, Resulting Numbers: [17, 12] Generated Node #0,1,6: 32:[17, 12] Operation: 15-3=12 Moving to Node #0,1,6 Current State: 32:[17, 12], Operations: ['51/17=3', '15-3=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,1,6 Current State: 32:[17, 12], Operations: ['51/17=3', '15-3=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[17, 15, 3], Operations: ['51/17=3'] Exploring Operation: 15*3=45, Resulting Numbers: [17, 45] Generated Node #0,1,7: 32:[17, 45] Operation: 15*3=45 Moving to Node #0,1,7 Current State: 32:[17, 45], Operations: ['51/17=3', '15*3=45'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,1,7 Current State: 32:[17, 45], Operations: ['51/17=3', '15*3=45'] Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[17, 15, 3], Operations: ['51/17=3'] Exploring Operation: 17*3=51, Resulting Numbers: [15, 51] Generated Node #0,1,8: 32:[15, 51] Operation: 17*3=51 Moving to Node #0,1,8 Current State: 32:[15, 51], Operations: ['51/17=3', '17*3=51'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,32 unequal: No Solution Moving to Node #0 Current State: 32:[17, 51, 15, 17], Operations: [] Exploring Operation: 51-17=34, Resulting Numbers: [15, 17, 34] Generated Node #0,2: 32:[15, 17, 34] Operation: 51-17=34 Moving to Node #0,2 Current State: 32:[15, 17, 34], Operations: ['51-17=34'] Exploring Operation: 34/17=2, Resulting Numbers: [15, 2] Generated Node #0,2,0: 32:[15, 2] Operation: 34/17=2 Moving to Node #0,2,0 Current State: 32:[15, 2], Operations: ['51-17=34', '34/17=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[15, 2], Operations: ['51-17=34', '34/17=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[15, 2], Operations: ['51-17=34', '34/17=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,32 unequal: No Solution Moving to Node #0,2 Current State: 32:[15, 17, 34], Operations: ['51-17=34'] Exploring Operation: 15+17=32, Resulting Numbers: [34, 32] Generated Node #0,2,1: 32:[34, 32] Operation: 15+17=32 Moving to Node #0,2,1 Current State: 32:[34, 32], Operations: ['51-17=34', '15+17=32'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,32 unequal: No Solution Moving to Node #0,2 Current State: 32:[15, 17, 34], Operations: ['51-17=34'] Exploring Operation: 17-15=2, Resulting Numbers: [34, 2] Generated Node #0,2,2: 32:[34, 2] Operation: 17-15=2 Moving to Node #0,2,2 Current State: 32:[34, 2], Operations: ['51-17=34', '17-15=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.942708
dfs
Current State: 32:[17, 51, 15, 17], Operations: [] Exploring Operation: 51-17=34, Resulting Numbers: [15, 34] Generated Node #2: [15, 34] from Operation: 51-17=34 Current State: 32:[15, 34], Operations: ['51-17=34'] Exploring Operation: 17-15=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 17-15=2 Current State: 32:[34, 2], Operations: ['51-17=34', '17-15=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
mult_heuristic
[ { "content": "Make 32 with the numbers [17, 51, 15, 17] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 32:[17, 51, 15, 17], Operations: []\nExploring Operation: 51/17=3, Resulting Numbers: [15, 17, 3]\nGenerated Node #0,0: 32:[15, 17, 3] Operation: 51/17=3\nMoving to Node #0,0\nCurrent State: 32:[15, 17, 3], Operations: ['51/17=3']\nExploring Operation: 15+17=32, Resulting Numbers: [3, 32]\nGenerated Node #0,0,0: 32:[3, 32] Operation: 15+17=32\nMoving to Node #0,0,0\nCurrent State: 32:[3, 32], Operations: ['51/17=3', '15+17=32']\nExploring Operation: 3+32=35, Resulting Numbers: [35]\n35,32 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 32:[3, 32], Operations: ['51/17=3', '15+17=32']\nExploring Operation: 32-3=29, Resulting Numbers: [29]\n29,32 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 32:[15, 17, 3], Operations: ['51/17=3']\nExploring Operation: 17-15=2, Resulting Numbers: [3, 2]\nGenerated Node #0,0,1: 32:[3, 2] Operation: 17-15=2\nMoving to Node #0,0,1\nCurrent State: 32:[3, 2], Operations: ['51/17=3', '17-15=2']\nExploring Operation: 3+2=5, Resulting Numbers: [5]\n5,32 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 32:[3, 2], Operations: ['51/17=3', '17-15=2']\nExploring Operation: 3-2=1, Resulting Numbers: [1]\n1,32 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 32:[3, 2], Operations: ['51/17=3', '17-15=2']\nExploring Operation: 3*2=6, Resulting Numbers: [6]\n6,32 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 32:[15, 17, 3], Operations: ['51/17=3']\nExploring Operation: 15/3=5, Resulting Numbers: [17, 5]\nGenerated Node #0,0,2: 32:[17, 5] Operation: 15/3=5\nMoving to Node #0,0,2\nCurrent State: 32:[17, 5], Operations: ['51/17=3', '15/3=5']\nExploring Operation: 17-5=12, Resulting Numbers: [12]\n12,32 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 32:[17, 5], Operations: ['51/17=3', '15/3=5']\nExploring Operation: 17+5=22, Resulting Numbers: [22]\n22,32 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 32:[15, 17, 3], Operations: ['51/17=3']\nExploring Operation: 15+3=18, Resulting Numbers: [17, 18]\nGenerated Node #0,0,3: 32:[17, 18] Operation: 15+3=18\nMoving to Node #0,0,3\nCurrent State: 32:[17, 18], Operations: ['51/17=3', '15+3=18']\nExploring Operation: 18-17=1, Resulting Numbers: [1]\n1,32 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 32:[17, 18], Operations: ['51/17=3', '15+3=18']\nExploring Operation: 17+18=35, Resulting Numbers: [35]\n35,32 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 32:[15, 17, 3], Operations: ['51/17=3']\nExploring Operation: 17-3=14, Resulting Numbers: [15, 14]\nGenerated Node #0,0,4: 32:[15, 14] Operation: 17-3=14\nMoving to Node #0,0,4\nCurrent State: 32:[15, 14], Operations: ['51/17=3', '17-3=14']\nExploring Operation: 15-14=1, Resulting Numbers: [1]\n1,32 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 32:[15, 14], Operations: ['51/17=3', '17-3=14']\nExploring Operation: 15+14=29, Resulting Numbers: [29]\n29,32 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 32:[15, 17, 3], Operations: ['51/17=3']\nExploring Operation: 15-3=12, Resulting Numbers: [17, 12]\nGenerated Node #0,0,5: 32:[17, 12] Operation: 15-3=12\nMoving to Node #0,0,5\nCurrent State: 32:[17, 12], Operations: ['51/17=3', '15-3=12']\nExploring Operation: 17-12=5, Resulting Numbers: [5]\n5,32 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 32:[17, 12], Operations: ['51/17=3', '15-3=12']\nExploring Operation: 17+12=29, Resulting Numbers: [29]\n29,32 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 32:[15, 17, 3], Operations: ['51/17=3']\nExploring Operation: 17+3=20, Resulting Numbers: [15, 20]\nGenerated Node #0,0,6: 32:[15, 20] Operation: 17+3=20\nMoving to Node #0,0,6\nCurrent State: 32:[15, 20], Operations: ['51/17=3', '17+3=20']\nExploring Operation: 20-15=5, Resulting Numbers: [5]\n5,32 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 32:[15, 20], Operations: ['51/17=3', '17+3=20']\nExploring Operation: 15+20=35, Resulting Numbers: [35]\n35,32 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 32:[15, 17, 3], Operations: ['51/17=3']\nExploring Operation: 15*3=45, Resulting Numbers: [17, 45]\nGenerated Node #0,0,7: 32:[17, 45] Operation: 15*3=45\nMoving to Node #0,0,7\nCurrent State: 32:[17, 45], Operations: ['51/17=3', '15*3=45']\nExploring Operation: 45-17=28, Resulting Numbers: [28]\n28,32 unequal: No Solution\nMoving to Node #0,0,7\nCurrent State: 32:[17, 45], Operations: ['51/17=3', '15*3=45']\nExploring Operation: 17+45=62, Resulting Numbers: [62]\n62,32 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 32:[15, 17, 3], Operations: ['51/17=3']\nExploring Operation: 17*3=51, Resulting Numbers: [15, 51]\nGenerated Node #0,0,8: 32:[15, 51] Operation: 17*3=51\nMoving to Node #0,0,8\nCurrent State: 32:[15, 51], Operations: ['51/17=3', '17*3=51']\nExploring Operation: 51-15=36, Resulting Numbers: [36]\n36,32 unequal: No Solution\nMoving to Node #0\nCurrent State: 32:[17, 51, 15, 17], Operations: []\nExploring Operation: 51/17=3, Resulting Numbers: [17, 15, 3]\nGenerated Node #0,1: 32:[17, 15, 3] Operation: 51/17=3\nMoving to Node #0,1\nCurrent State: 32:[17, 15, 3], Operations: ['51/17=3']\nExploring Operation: 17+15=32, Resulting Numbers: [3, 32]\nGenerated Node #0,1,0: 32:[3, 32] Operation: 17+15=32\nMoving to Node #0,1,0\nCurrent State: 32:[3, 32], Operations: ['51/17=3', '17+15=32']\nExploring Operation: 3+32=35, Resulting Numbers: [35]\n35,32 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 32:[3, 32], Operations: ['51/17=3', '17+15=32']\nExploring Operation: 32-3=29, Resulting Numbers: [29]\n29,32 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 32:[17, 15, 3], Operations: ['51/17=3']\nExploring Operation: 17-15=2, Resulting Numbers: [3, 2]\nGenerated Node #0,1,1: 32:[3, 2] Operation: 17-15=2\nMoving to Node #0,1,1\nCurrent State: 32:[3, 2], Operations: ['51/17=3', '17-15=2']\nExploring Operation: 3+2=5, Resulting Numbers: [5]\n5,32 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 32:[3, 2], Operations: ['51/17=3', '17-15=2']\nExploring Operation: 3-2=1, Resulting Numbers: [1]\n1,32 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 32:[3, 2], Operations: ['51/17=3', '17-15=2']\nExploring Operation: 3*2=6, Resulting Numbers: [6]\n6,32 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 32:[17, 15, 3], Operations: ['51/17=3']\nExploring Operation: 15/3=5, Resulting Numbers: [17, 5]\nGenerated Node #0,1,2: 32:[17, 5] Operation: 15/3=5\nMoving to Node #0,1,2\nCurrent State: 32:[17, 5], Operations: ['51/17=3', '15/3=5']\nExploring Operation: 17-5=12, Resulting Numbers: [12]\n12,32 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 32:[17, 5], Operations: ['51/17=3', '15/3=5']\nExploring Operation: 17+5=22, Resulting Numbers: [22]\n22,32 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 32:[17, 15, 3], Operations: ['51/17=3']\nExploring Operation: 17-3=14, Resulting Numbers: [15, 14]\nGenerated Node #0,1,3: 32:[15, 14] Operation: 17-3=14\nMoving to Node #0,1,3\nCurrent State: 32:[15, 14], Operations: ['51/17=3', '17-3=14']\nExploring Operation: 15-14=1, Resulting Numbers: [1]\n1,32 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 32:[15, 14], Operations: ['51/17=3', '17-3=14']\nExploring Operation: 15+14=29, Resulting Numbers: [29]\n29,32 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 32:[17, 15, 3], Operations: ['51/17=3']\nExploring Operation: 15+3=18, Resulting Numbers: [17, 18]\nGenerated Node #0,1,4: 32:[17, 18] Operation: 15+3=18\nMoving to Node #0,1,4\nCurrent State: 32:[17, 18], Operations: ['51/17=3', '15+3=18']\nExploring Operation: 18-17=1, Resulting Numbers: [1]\n1,32 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 32:[17, 18], Operations: ['51/17=3', '15+3=18']\nExploring Operation: 17+18=35, Resulting Numbers: [35]\n35,32 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 32:[17, 15, 3], Operations: ['51/17=3']\nExploring Operation: 17+3=20, Resulting Numbers: [15, 20]\nGenerated Node #0,1,5: 32:[15, 20] Operation: 17+3=20\nMoving to Node #0,1,5\nCurrent State: 32:[15, 20], Operations: ['51/17=3', '17+3=20']\nExploring Operation: 20-15=5, Resulting Numbers: [5]\n5,32 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 32:[15, 20], Operations: ['51/17=3', '17+3=20']\nExploring Operation: 15+20=35, Resulting Numbers: [35]\n35,32 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 32:[17, 15, 3], Operations: ['51/17=3']\nExploring Operation: 15-3=12, Resulting Numbers: [17, 12]\nGenerated Node #0,1,6: 32:[17, 12] Operation: 15-3=12\nMoving to Node #0,1,6\nCurrent State: 32:[17, 12], Operations: ['51/17=3', '15-3=12']\nExploring Operation: 17-12=5, Resulting Numbers: [5]\n5,32 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 32:[17, 12], Operations: ['51/17=3', '15-3=12']\nExploring Operation: 17+12=29, Resulting Numbers: [29]\n29,32 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 32:[17, 15, 3], Operations: ['51/17=3']\nExploring Operation: 15*3=45, Resulting Numbers: [17, 45]\nGenerated Node #0,1,7: 32:[17, 45] Operation: 15*3=45\nMoving to Node #0,1,7\nCurrent State: 32:[17, 45], Operations: ['51/17=3', '15*3=45']\nExploring Operation: 45-17=28, Resulting Numbers: [28]\n28,32 unequal: No Solution\nMoving to Node #0,1,7\nCurrent State: 32:[17, 45], Operations: ['51/17=3', '15*3=45']\nExploring Operation: 17+45=62, Resulting Numbers: [62]\n62,32 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 32:[17, 15, 3], Operations: ['51/17=3']\nExploring Operation: 17*3=51, Resulting Numbers: [15, 51]\nGenerated Node #0,1,8: 32:[15, 51] Operation: 17*3=51\nMoving to Node #0,1,8\nCurrent State: 32:[15, 51], Operations: ['51/17=3', '17*3=51']\nExploring Operation: 51-15=36, Resulting Numbers: [36]\n36,32 unequal: No Solution\nMoving to Node #0\nCurrent State: 32:[17, 51, 15, 17], Operations: []\nExploring Operation: 51-17=34, Resulting Numbers: [15, 17, 34]\nGenerated Node #0,2: 32:[15, 17, 34] Operation: 51-17=34\nMoving to Node #0,2\nCurrent State: 32:[15, 17, 34], Operations: ['51-17=34']\nExploring Operation: 34/17=2, Resulting Numbers: [15, 2]\nGenerated Node #0,2,0: 32:[15, 2] Operation: 34/17=2\nMoving to Node #0,2,0\nCurrent State: 32:[15, 2], Operations: ['51-17=34', '34/17=2']\nExploring Operation: 15+2=17, Resulting Numbers: [17]\n17,32 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 32:[15, 2], Operations: ['51-17=34', '34/17=2']\nExploring Operation: 15*2=30, Resulting Numbers: [30]\n30,32 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 32:[15, 2], Operations: ['51-17=34', '34/17=2']\nExploring Operation: 15-2=13, Resulting Numbers: [13]\n13,32 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 32:[15, 17, 34], Operations: ['51-17=34']\nExploring Operation: 15+17=32, Resulting Numbers: [34, 32]\nGenerated Node #0,2,1: 32:[34, 32] Operation: 15+17=32\nMoving to Node #0,2,1\nCurrent State: 32:[34, 32], Operations: ['51-17=34', '15+17=32']\nExploring Operation: 34-32=2, Resulting Numbers: [2]\n2,32 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 32:[15, 17, 34], Operations: ['51-17=34']\nExploring Operation: 17-15=2, Resulting Numbers: [34, 2]\nGenerated Node #0,2,2: 32:[34, 2] Operation: 17-15=2\nMoving to Node #0,2,2\nCurrent State: 32:[34, 2], Operations: ['51-17=34', '17-15=2']\nExploring Operation: 34-2=32, Resulting Numbers: [32]\n32,32 equal: Goal Reached\n", "role": "assistant" } ]
[ 53, 46, 7, 70 ]
69
[ "53-46=7", "7/7=1", "70-1=69" ]
Current State: 69:[53, 46, 7, 70], Operations: [] Exploring Operation: 53-46=7, Resulting Numbers: [7, 70, 7] Generated Node #0,0: 69:[7, 70, 7] Operation: 53-46=7 Moving to Node #0,0 Current State: 69:[7, 70, 7], Operations: ['53-46=7'] Exploring Operation: 7/7=1, Resulting Numbers: [70, 1] Generated Node #0,0,0: 69:[70, 1] Operation: 7/7=1 Moving to Node #0,0,0 Current State: 69:[70, 1], Operations: ['53-46=7', '7/7=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.996528
bfs_1
Current State: 69:[53, 46, 7, 70], Operations: [] Exploring Operation: 53-46=7, Resulting Numbers: [7, 70, 7] Generated Node #2: [7, 70, 7] from Operation: 53-46=7 Current State: 69:[7, 70, 7], Operations: ['53-46=7'] Exploring Operation: 7/7=1, Resulting Numbers: [70, 1] Generated Node #3: [70, 1] from Operation: 7/7=1 Current State: 69:[70, 1], Operations: ['53-46=7', '7/7=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
mult_heuristic
[ { "content": "Make 69 with the numbers [53, 46, 7, 70] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 69:[53, 46, 7, 70], Operations: []\nExploring Operation: 53-46=7, Resulting Numbers: [7, 70, 7]\nGenerated Node #0,0: 69:[7, 70, 7] Operation: 53-46=7\nMoving to Node #0,0\nCurrent State: 69:[7, 70, 7], Operations: ['53-46=7']\nExploring Operation: 7/7=1, Resulting Numbers: [70, 1]\nGenerated Node #0,0,0: 69:[70, 1] Operation: 7/7=1\nMoving to Node #0,0,0\nCurrent State: 69:[70, 1], Operations: ['53-46=7', '7/7=1']\nExploring Operation: 70-1=69, Resulting Numbers: [69]\n69,69 equal: Goal Reached\n", "role": "assistant" } ]
[ 90, 46, 1, 26 ]
18
[ "90-46=44", "1*26=26", "44-26=18" ]
Current State: 18:[90, 46, 1, 26], Operations: [] Exploring Operation: 90-46=44, Resulting Numbers: [1, 26, 44] Generated Node #0,0: 18:[1, 26, 44] Operation: 90-46=44 Moving to Node #0,0 Current State: 18:[1, 26, 44], Operations: ['90-46=44'] Exploring Operation: 44-26=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 18:[1, 18] Operation: 44-26=18 Moving to Node #0,0,0 Current State: 18:[1, 18], Operations: ['90-46=44', '44-26=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.996528
dfs
Current State: 18:[90, 46, 1, 26], Operations: [] Exploring Operation: 90-46=44, Resulting Numbers: [1, 26, 44] Generated Node #2: [1, 26, 44] from Operation: 90-46=44 Current State: 18:[1, 26, 44], Operations: ['90-46=44'] Exploring Operation: 1*26=26, Resulting Numbers: [44, 26] Generated Node #3: [44, 26] from Operation: 1*26=26 Current State: 18:[44, 26], Operations: ['90-46=44', '1*26=26'] Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
sum_heuristic
[ { "content": "Make 18 with the numbers [90, 46, 1, 26] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 18:[90, 46, 1, 26], Operations: []\nExploring Operation: 90-46=44, Resulting Numbers: [1, 26, 44]\nGenerated Node #0,0: 18:[1, 26, 44] Operation: 90-46=44\nMoving to Node #0,0\nCurrent State: 18:[1, 26, 44], Operations: ['90-46=44']\nExploring Operation: 44-26=18, Resulting Numbers: [1, 18]\nGenerated Node #0,0,0: 18:[1, 18] Operation: 44-26=18\nMoving to Node #0,0,0\nCurrent State: 18:[1, 18], Operations: ['90-46=44', '44-26=18']\nExploring Operation: 1*18=18, Resulting Numbers: [18]\n18,18 equal: Goal Reached\n", "role": "assistant" } ]
[ 83, 62, 19, 2 ]
63
[ "83+62=145", "145-19=126", "126/2=63" ]
Current State: 63:[83, 62, 19, 2], Operations: [] Exploring Operation: 19+2=21, Resulting Numbers: [83, 62, 21] Generated Node #0,0: 63:[83, 62, 21] Operation: 19+2=21 Exploring Operation: 83-19=64, Resulting Numbers: [62, 2, 64] Generated Node #0,1: 63:[62, 2, 64] Operation: 83-19=64 Exploring Operation: 19*2=38, Resulting Numbers: [83, 62, 38] Generated Node #0,2: 63:[83, 62, 38] Operation: 19*2=38 Exploring Operation: 83-2=81, Resulting Numbers: [62, 19, 81] Generated Node #0,3: 63:[62, 19, 81] Operation: 83-2=81 Moving to Node #0,2 Current State: 63:[83, 62, 38], Operations: ['19*2=38'] Exploring Operation: 83-38=45, Resulting Numbers: [62, 45] Generated Node #0,2,0: 63:[62, 45] Operation: 83-38=45 Exploring Operation: 83+38=121, Resulting Numbers: [62, 121] Generated Node #0,2,1: 63:[62, 121] Operation: 83+38=121 Exploring Operation: 62+38=100, Resulting Numbers: [83, 100] Generated Node #0,2,2: 63:[83, 100] Operation: 62+38=100 Exploring Operation: 62-38=24, Resulting Numbers: [83, 24] Generated Node #0,2,3: 63:[83, 24] Operation: 62-38=24 Moving to Node #0,1 Current State: 63:[62, 2, 64], Operations: ['83-19=64'] Exploring Operation: 62+2=64, Resulting Numbers: [64, 64] Generated Node #0,1,0: 63:[64, 64] Operation: 62+2=64 Exploring Operation: 64-2=62, Resulting Numbers: [62, 62] Generated Node #0,1,1: 63:[62, 62] Operation: 64-2=62 Exploring Operation: 2+64=66, Resulting Numbers: [62, 66] Generated Node #0,1,2: 63:[62, 66] Operation: 2+64=66 Exploring Operation: 62-2=60, Resulting Numbers: [64, 60] Generated Node #0,1,3: 63:[64, 60] Operation: 62-2=60 Moving to Node #0,0 Current State: 63:[83, 62, 21], Operations: ['19+2=21'] Exploring Operation: 83+21=104, Resulting Numbers: [62, 104] Generated Node #0,0,0: 63:[62, 104] Operation: 83+21=104 Exploring Operation: 83-21=62, Resulting Numbers: [62, 62] Generated Node #0,0,1: 63:[62, 62] Operation: 83-21=62 Exploring Operation: 62+21=83, Resulting Numbers: [83, 83] Generated Node #0,0,2: 63:[83, 83] Operation: 62+21=83 Exploring Operation: 62-21=41, Resulting Numbers: [83, 41] Generated Node #0,0,3: 63:[83, 41] Operation: 62-21=41 Moving to Node #0,3 Current State: 63:[62, 19, 81], Operations: ['83-2=81'] Exploring Operation: 62-19=43, Resulting Numbers: [81, 43] Generated Node #0,3,0: 63:[81, 43] Operation: 62-19=43 Exploring Operation: 19+81=100, Resulting Numbers: [62, 100] Generated Node #0,3,1: 63:[62, 100] Operation: 19+81=100 Exploring Operation: 62+19=81, Resulting Numbers: [81, 81] Generated Node #0,3,2: 63:[81, 81] Operation: 62+19=81 Exploring Operation: 81-19=62, Resulting Numbers: [62, 62] Generated Node #0,3,3: 63:[62, 62] Operation: 81-19=62 Moving to Node #0,1,0 Current State: 63:[64, 64], Operations: ['83-19=64', '62+2=64'] Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 64-64=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 64+64=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 64*64=4096, Resulting Numbers: [4096] 4096,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[62, 62], Operations: ['83-19=64', '64-2=62'] Exploring Operation: 62*62=3844, Resulting Numbers: [3844] 3844,63 unequal: No Solution Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,63 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[62, 62], Operations: ['83-2=81', '81-19=62'] Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,63 unequal: No Solution Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 62*62=3844, Resulting Numbers: [3844] 3844,63 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[62, 62], Operations: ['19+2=21', '83-21=62'] Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 62*62=3844, Resulting Numbers: [3844] 3844,63 unequal: No Solution Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[62, 66], Operations: ['83-19=64', '2+64=66'] Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[64, 60], Operations: ['83-19=64', '62-2=60'] Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,63 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[62, 45], Operations: ['19*2=38', '83-38=45'] Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,63 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[81, 81], Operations: ['83-2=81', '62+19=81'] Exploring Operation: 81+81=162, Resulting Numbers: [162] 162,63 unequal: No Solution Exploring Operation: 81*81=6561, Resulting Numbers: [6561] 6561,63 unequal: No Solution Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 81-81=0, Resulting Numbers: [0] 0,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[81, 43], Operations: ['83-2=81', '62-19=43'] Exploring Operation: 81*43=3483, Resulting Numbers: [3483] 3483,63 unequal: No Solution Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,63 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[62, 100], Operations: ['83-2=81', '19+81=100'] Exploring Operation: 62*100=6200, Resulting Numbers: [6200] 6200,63 unequal: No Solution Exploring Operation: 62+100=162, Resulting Numbers: [162] 162,63 unequal: No Solution Exploring Operation: 100-62=38, Resulting Numbers: [38] 38,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[83, 83], Operations: ['19+2=21', '62+21=83'] Exploring Operation: 83/83=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 83+83=166, Resulting Numbers: [166] 166,63 unequal: No Solution Exploring Operation: 83*83=6889, Resulting Numbers: [6889] 6889,63 unequal: No Solution Exploring Operation: 83-83=0, Resulting Numbers: [0] 0,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[83, 41], Operations: ['19+2=21', '62-21=41'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,63 unequal: No Solution Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[62, 104], Operations: ['19+2=21', '83+21=104'] Exploring Operation: 62+104=166, Resulting Numbers: [166] 166,63 unequal: No Solution Exploring Operation: 62*104=6448, Resulting Numbers: [6448] 6448,63 unequal: No Solution Exploring Operation: 104-62=42, Resulting Numbers: [42] 42,63 unequal: No Solution Moving to Node #0,0,3,0 Current State: 63:[42], Operations: ['19+2=21', '62-21=41', '83-41=42'] Moving to Node #0,3,0,0 Current State: 63:[38], Operations: ['83-2=81', '62-19=43', '81-43=38'] Moving to Node #0,3,1,0 Current State: 63:[38], Operations: ['83-2=81', '19+81=100', '100-62=38'] Moving to Node #0,0,0,0 Current State: 63:[42], Operations: ['19+2=21', '83+21=104', '104-62=42'] Moving to Node #0,2,2 Current State: 63:[83, 100], Operations: ['19*2=38', '62+38=100'] Exploring Operation: 83*100=8300, Resulting Numbers: [8300] 8300,63 unequal: No Solution Exploring Operation: 100-83=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 83+100=183, Resulting Numbers: [183] 183,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[83, 24], Operations: ['19*2=38', '62-38=24'] Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,63 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[62, 121], Operations: ['19*2=38', '83+38=121'] Exploring Operation: 62*121=7502, Resulting Numbers: [7502] 7502,63 unequal: No Solution Exploring Operation: 62+121=183, Resulting Numbers: [183] 183,63 unequal: No Solution Exploring Operation: 121-62=59, Resulting Numbers: [59] 59,63 unequal: No Solution Moving to Node #0,2,3,0 Current State: 63:[59], Operations: ['19*2=38', '62-38=24', '83-24=59'] Moving to Node #0,2,1,0 Current State: 63:[59], Operations: ['19*2=38', '83+38=121', '121-62=59'] Moving to Node #0,2,0,0 Current State: 63:[107], Operations: ['19*2=38', '83-38=45', '62+45=107'] Moving to Node #0,2,3,0 Current State: 63:[107], Operations: ['19*2=38', '62-38=24', '83+24=107'] Moving to Node #0,2,0,0 Current State: 63:[17], Operations: ['19*2=38', '83-38=45', '62-45=17'] Moving to Node #0,2,2,0 Current State: 63:[17], Operations: ['19*2=38', '62+38=100', '100-83=17'] Moving to Node #0,1,3,0 Current State: 63:[4], Operations: ['83-19=64', '62-2=60', '64-60=4'] Moving to Node #0,1,2,0 Current State: 63:[4], Operations: ['83-19=64', '2+64=66', '66-62=4'] Moving to Node #0,1,3,0 Current State: 63:[124], Operations: ['83-19=64', '62-2=60', '64+60=124'] Moving to Node #0,0,1,0 Current State: 63:[124], Operations: ['19+2=21', '83-21=62', '62+62=124'] Moving to Node #0,0,3,0 Current State: 63:[124], Operations: ['19+2=21', '62-21=41', '83+41=124'] Moving to Node #0,3,3,0 Current State: 63:[124], Operations: ['83-2=81', '81-19=62', '62+62=124'] Moving to Node #0,1,1,0 Current State: 63:[124], Operations: ['83-19=64', '64-2=62', '62+62=124'] Moving to Node #0,3,0,0 Current State: 63:[124], Operations: ['83-2=81', '62-19=43', '81+43=124'] Moving to Node #0,1,0,0 Current State: 63:[1], Operations: ['83-19=64', '62+2=64', '64/64=1'] Moving to Node #0,3,3,0 Current State: 63:[1], Operations: ['83-2=81', '81-19=62', '62/62=1'] Moving to Node #0,0,2,0 Current State: 63:[1], Operations: ['19+2=21', '62+21=83', '83/83=1'] Moving to Node #0,1,1,0 Current State: 63:[1], Operations: ['83-19=64', '64-2=62', '62/62=1'] Moving to Node #0,3,2,0 Current State: 63:[1], Operations: ['83-2=81', '62+19=81', '81/81=1'] Moving to Node #0,0,1,0 Current State: 63:[1], Operations: ['19+2=21', '83-21=62', '62/62=1'] Moving to Node #0,3,2,0 Current State: 63:[0], Operations: ['83-2=81', '62+19=81', '81-81=0'] Moving to Node #0,1,0,0 Current State: 63:[0], Operations: ['83-19=64', '62+2=64', '64-64=0'] Moving to Node #0,3,3,0 Current State: 63:[0], Operations: ['83-2=81', '81-19=62', '62-62=0'] Moving to Node #0,0,2,0 Current State: 63:[0], Operations: ['19+2=21', '62+21=83', '83-83=0'] Moving to Node #0,0,1,0 Current State: 63:[0], Operations: ['19+2=21', '83-21=62', '62-62=0'] Moving to Node #0,1,1,0 Current State: 63:[0], Operations: ['83-19=64', '64-2=62', '62-62=0'] Moving to Node #0,1,0,0 Current State: 63:[128], Operations: ['83-19=64', '62+2=64', '64+64=128'] Moving to Node #0,1,2,0 Current State: 63:[128], Operations: ['83-19=64', '2+64=66', '62+66=128'] Moving to Node #0,3,1,0 Current State: 63:[162], Operations: ['83-2=81', '19+81=100', '62+100=162'] Moving to Node #0,3,2,0 Current State: 63:[162], Operations: ['83-2=81', '62+19=81', '81+81=162'] Moving to Node #0,0,2,0 Current State: 63:[166], Operations: ['19+2=21', '62+21=83', '83+83=166'] Moving to Node #0,0,0,0 Current State: 63:[166], Operations: ['19+2=21', '83+21=104', '62+104=166'] Moving to Node #0,2,1,0 Current State: 63:[183], Operations: ['19*2=38', '83+38=121', '62+121=183'] Moving to Node #0,2,2,0 Current State: 63:[183], Operations: ['19*2=38', '62+38=100', '83+100=183'] Moving to Node #0,2,3,0 Current State: 63:[1992], Operations: ['19*2=38', '62-38=24', '83*24=1992'] Moving to Node #0,2,0,0 Current State: 63:[2790], Operations: ['19*2=38', '83-38=45', '62*45=2790'] Moving to Node #0,0,3,0 Current State: 63:[3403], Operations: ['19+2=21', '62-21=41', '83*41=3403'] Moving to Node #0,3,0,0 Current State: 63:[3483], Operations: ['83-2=81', '62-19=43', '81*43=3483'] Moving to Node #0,1,3,0 Current State: 63:[3840], Operations: ['83-19=64', '62-2=60', '64*60=3840'] Moving to Node #0,3,3,0 Current State: 63:[3844], Operations: ['83-2=81', '81-19=62', '62*62=3844'] Moving to Node #0,1,1,0 Current State: 63:[3844], Operations: ['83-19=64', '64-2=62', '62*62=3844'] Moving to Node #0,0,1,0 Current State: 63:[3844], Operations: ['19+2=21', '83-21=62', '62*62=3844'] Moving to Node #0,1,2,0 Current State: 63:[4092], Operations: ['83-19=64', '2+64=66', '62*66=4092'] Moving to Node #0,1,0,0 Current State: 63:[4096], Operations: ['83-19=64', '62+2=64', '64*64=4096'] Moving to Node #0,3,1,0 Current State: 63:[6200], Operations: ['83-2=81', '19+81=100', '62*100=6200'] Moving to Node #0,0,0,0 Current State: 63:[6448], Operations: ['19+2=21', '83+21=104', '62*104=6448'] Moving to Node #0,3,2,0 Current State: 63:[6561], Operations: ['83-2=81', '62+19=81', '81*81=6561'] Moving to Node #0,0,2,0 Current State: 63:[6889], Operations: ['19+2=21', '62+21=83', '83*83=6889'] Moving to Node #0,2,1,0 Current State: 63:[7502], Operations: ['19*2=38', '83+38=121', '62*121=7502'] Moving to Node #0,2,2,0 Current State: 63:[8300], Operations: ['19*2=38', '62+38=100', '83*100=8300'] No solution found.
0
bfs_4
Current State: 63:[83, 62, 19, 2], Operations: [] Exploring Operation: 83+62=145, Resulting Numbers: [19, 2, 145] Generated Node #2: [19, 2, 145] from Operation: 83+62=145 Current State: 63:[19, 2, 145], Operations: ['83+62=145'] Exploring Operation: 145-19=126, Resulting Numbers: [2, 126] Generated Node #3: [2, 126] from Operation: 145-19=126 Current State: 63:[2, 126], Operations: ['83+62=145', '145-19=126'] Exploring Operation: 126/2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
sum_heuristic
[ { "content": "Make 63 with the numbers [83, 62, 19, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 63:[83, 62, 19, 2], Operations: []\nExploring Operation: 19+2=21, Resulting Numbers: [83, 62, 21]\nGenerated Node #0,0: 63:[83, 62, 21] Operation: 19+2=21\nExploring Operation: 83-19=64, Resulting Numbers: [62, 2, 64]\nGenerated Node #0,1: 63:[62, 2, 64] Operation: 83-19=64\nExploring Operation: 19*2=38, Resulting Numbers: [83, 62, 38]\nGenerated Node #0,2: 63:[83, 62, 38] Operation: 19*2=38\nExploring Operation: 83-2=81, Resulting Numbers: [62, 19, 81]\nGenerated Node #0,3: 63:[62, 19, 81] Operation: 83-2=81\nMoving to Node #0,2\nCurrent State: 63:[83, 62, 38], Operations: ['19*2=38']\nExploring Operation: 83-38=45, Resulting Numbers: [62, 45]\nGenerated Node #0,2,0: 63:[62, 45] Operation: 83-38=45\nExploring Operation: 83+38=121, Resulting Numbers: [62, 121]\nGenerated Node #0,2,1: 63:[62, 121] Operation: 83+38=121\nExploring Operation: 62+38=100, Resulting Numbers: [83, 100]\nGenerated Node #0,2,2: 63:[83, 100] Operation: 62+38=100\nExploring Operation: 62-38=24, Resulting Numbers: [83, 24]\nGenerated Node #0,2,3: 63:[83, 24] Operation: 62-38=24\nMoving to Node #0,1\nCurrent State: 63:[62, 2, 64], Operations: ['83-19=64']\nExploring Operation: 62+2=64, Resulting Numbers: [64, 64]\nGenerated Node #0,1,0: 63:[64, 64] Operation: 62+2=64\nExploring Operation: 64-2=62, Resulting Numbers: [62, 62]\nGenerated Node #0,1,1: 63:[62, 62] Operation: 64-2=62\nExploring Operation: 2+64=66, Resulting Numbers: [62, 66]\nGenerated Node #0,1,2: 63:[62, 66] Operation: 2+64=66\nExploring Operation: 62-2=60, Resulting Numbers: [64, 60]\nGenerated Node #0,1,3: 63:[64, 60] Operation: 62-2=60\nMoving to Node #0,0\nCurrent State: 63:[83, 62, 21], Operations: ['19+2=21']\nExploring Operation: 83+21=104, Resulting Numbers: [62, 104]\nGenerated Node #0,0,0: 63:[62, 104] Operation: 83+21=104\nExploring Operation: 83-21=62, Resulting Numbers: [62, 62]\nGenerated Node #0,0,1: 63:[62, 62] Operation: 83-21=62\nExploring Operation: 62+21=83, Resulting Numbers: [83, 83]\nGenerated Node #0,0,2: 63:[83, 83] Operation: 62+21=83\nExploring Operation: 62-21=41, Resulting Numbers: [83, 41]\nGenerated Node #0,0,3: 63:[83, 41] Operation: 62-21=41\nMoving to Node #0,3\nCurrent State: 63:[62, 19, 81], Operations: ['83-2=81']\nExploring Operation: 62-19=43, Resulting Numbers: [81, 43]\nGenerated Node #0,3,0: 63:[81, 43] Operation: 62-19=43\nExploring Operation: 19+81=100, Resulting Numbers: [62, 100]\nGenerated Node #0,3,1: 63:[62, 100] Operation: 19+81=100\nExploring Operation: 62+19=81, Resulting Numbers: [81, 81]\nGenerated Node #0,3,2: 63:[81, 81] Operation: 62+19=81\nExploring Operation: 81-19=62, Resulting Numbers: [62, 62]\nGenerated Node #0,3,3: 63:[62, 62] Operation: 81-19=62\nMoving to Node #0,1,0\nCurrent State: 63:[64, 64], Operations: ['83-19=64', '62+2=64']\nExploring Operation: 64/64=1, Resulting Numbers: [1]\n1,63 unequal: No Solution\nExploring Operation: 64-64=0, Resulting Numbers: [0]\n0,63 unequal: No Solution\nExploring Operation: 64+64=128, Resulting Numbers: [128]\n128,63 unequal: No Solution\nExploring Operation: 64*64=4096, Resulting Numbers: [4096]\n4096,63 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 63:[62, 62], Operations: ['83-19=64', '64-2=62']\nExploring Operation: 62*62=3844, Resulting Numbers: [3844]\n3844,63 unequal: No Solution\nExploring Operation: 62-62=0, Resulting Numbers: [0]\n0,63 unequal: No Solution\nExploring Operation: 62+62=124, Resulting Numbers: [124]\n124,63 unequal: No Solution\nExploring Operation: 62/62=1, Resulting Numbers: [1]\n1,63 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 63:[62, 62], Operations: ['83-2=81', '81-19=62']\nExploring Operation: 62+62=124, Resulting Numbers: [124]\n124,63 unequal: No Solution\nExploring Operation: 62-62=0, Resulting Numbers: [0]\n0,63 unequal: No Solution\nExploring Operation: 62*62=3844, Resulting Numbers: [3844]\n3844,63 unequal: No Solution\nExploring Operation: 62/62=1, Resulting Numbers: [1]\n1,63 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 63:[62, 62], Operations: ['19+2=21', '83-21=62']\nExploring Operation: 62/62=1, Resulting Numbers: [1]\n1,63 unequal: No Solution\nExploring Operation: 62-62=0, Resulting Numbers: [0]\n0,63 unequal: No Solution\nExploring Operation: 62*62=3844, Resulting Numbers: [3844]\n3844,63 unequal: No Solution\nExploring Operation: 62+62=124, Resulting Numbers: [124]\n124,63 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 63:[62, 66], Operations: ['83-19=64', '2+64=66']\nExploring Operation: 62+66=128, Resulting Numbers: [128]\n128,63 unequal: No Solution\nExploring Operation: 66-62=4, Resulting Numbers: [4]\n4,63 unequal: No Solution\nExploring Operation: 62*66=4092, Resulting Numbers: [4092]\n4092,63 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 63:[64, 60], Operations: ['83-19=64', '62-2=60']\nExploring Operation: 64+60=124, Resulting Numbers: [124]\n124,63 unequal: No Solution\nExploring Operation: 64-60=4, Resulting Numbers: [4]\n4,63 unequal: No Solution\nExploring Operation: 64*60=3840, Resulting Numbers: [3840]\n3840,63 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 63:[62, 45], Operations: ['19*2=38', '83-38=45']\nExploring Operation: 62*45=2790, Resulting Numbers: [2790]\n2790,63 unequal: No Solution\nExploring Operation: 62-45=17, Resulting Numbers: [17]\n17,63 unequal: No Solution\nExploring Operation: 62+45=107, Resulting Numbers: [107]\n107,63 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 63:[81, 81], Operations: ['83-2=81', '62+19=81']\nExploring Operation: 81+81=162, Resulting Numbers: [162]\n162,63 unequal: No Solution\nExploring Operation: 81*81=6561, Resulting Numbers: [6561]\n6561,63 unequal: No Solution\nExploring Operation: 81/81=1, Resulting Numbers: [1]\n1,63 unequal: No Solution\nExploring Operation: 81-81=0, Resulting Numbers: [0]\n0,63 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 63:[81, 43], Operations: ['83-2=81', '62-19=43']\nExploring Operation: 81*43=3483, Resulting Numbers: [3483]\n3483,63 unequal: No Solution\nExploring Operation: 81+43=124, Resulting Numbers: [124]\n124,63 unequal: No Solution\nExploring Operation: 81-43=38, Resulting Numbers: [38]\n38,63 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 63:[62, 100], Operations: ['83-2=81', '19+81=100']\nExploring Operation: 62*100=6200, Resulting Numbers: [6200]\n6200,63 unequal: No Solution\nExploring Operation: 62+100=162, Resulting Numbers: [162]\n162,63 unequal: No Solution\nExploring Operation: 100-62=38, Resulting Numbers: [38]\n38,63 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 63:[83, 83], Operations: ['19+2=21', '62+21=83']\nExploring Operation: 83/83=1, Resulting Numbers: [1]\n1,63 unequal: No Solution\nExploring Operation: 83+83=166, Resulting Numbers: [166]\n166,63 unequal: No Solution\nExploring Operation: 83*83=6889, Resulting Numbers: [6889]\n6889,63 unequal: No Solution\nExploring Operation: 83-83=0, Resulting Numbers: [0]\n0,63 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 63:[83, 41], Operations: ['19+2=21', '62-21=41']\nExploring Operation: 83-41=42, Resulting Numbers: [42]\n42,63 unequal: No Solution\nExploring Operation: 83*41=3403, Resulting Numbers: [3403]\n3403,63 unequal: No Solution\nExploring Operation: 83+41=124, Resulting Numbers: [124]\n124,63 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 63:[62, 104], Operations: ['19+2=21', '83+21=104']\nExploring Operation: 62+104=166, Resulting Numbers: [166]\n166,63 unequal: No Solution\nExploring Operation: 62*104=6448, Resulting Numbers: [6448]\n6448,63 unequal: No Solution\nExploring Operation: 104-62=42, Resulting Numbers: [42]\n42,63 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 63:[42], Operations: ['19+2=21', '62-21=41', '83-41=42']\nMoving to Node #0,3,0,0\nCurrent State: 63:[38], Operations: ['83-2=81', '62-19=43', '81-43=38']\nMoving to Node #0,3,1,0\nCurrent State: 63:[38], Operations: ['83-2=81', '19+81=100', '100-62=38']\nMoving to Node #0,0,0,0\nCurrent State: 63:[42], Operations: ['19+2=21', '83+21=104', '104-62=42']\nMoving to Node #0,2,2\nCurrent State: 63:[83, 100], Operations: ['19*2=38', '62+38=100']\nExploring Operation: 83*100=8300, Resulting Numbers: [8300]\n8300,63 unequal: No Solution\nExploring Operation: 100-83=17, Resulting Numbers: [17]\n17,63 unequal: No Solution\nExploring Operation: 83+100=183, Resulting Numbers: [183]\n183,63 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 63:[83, 24], Operations: ['19*2=38', '62-38=24']\nExploring Operation: 83*24=1992, Resulting Numbers: [1992]\n1992,63 unequal: No Solution\nExploring Operation: 83+24=107, Resulting Numbers: [107]\n107,63 unequal: No Solution\nExploring Operation: 83-24=59, Resulting Numbers: [59]\n59,63 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 63:[62, 121], Operations: ['19*2=38', '83+38=121']\nExploring Operation: 62*121=7502, Resulting Numbers: [7502]\n7502,63 unequal: No Solution\nExploring Operation: 62+121=183, Resulting Numbers: [183]\n183,63 unequal: No Solution\nExploring Operation: 121-62=59, Resulting Numbers: [59]\n59,63 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 63:[59], Operations: ['19*2=38', '62-38=24', '83-24=59']\nMoving to Node #0,2,1,0\nCurrent State: 63:[59], Operations: ['19*2=38', '83+38=121', '121-62=59']\nMoving to Node #0,2,0,0\nCurrent State: 63:[107], Operations: ['19*2=38', '83-38=45', '62+45=107']\nMoving to Node #0,2,3,0\nCurrent State: 63:[107], Operations: ['19*2=38', '62-38=24', '83+24=107']\nMoving to Node #0,2,0,0\nCurrent State: 63:[17], Operations: ['19*2=38', '83-38=45', '62-45=17']\nMoving to Node #0,2,2,0\nCurrent State: 63:[17], Operations: ['19*2=38', '62+38=100', '100-83=17']\nMoving to Node #0,1,3,0\nCurrent State: 63:[4], Operations: ['83-19=64', '62-2=60', '64-60=4']\nMoving to Node #0,1,2,0\nCurrent State: 63:[4], Operations: ['83-19=64', '2+64=66', '66-62=4']\nMoving to Node #0,1,3,0\nCurrent State: 63:[124], Operations: ['83-19=64', '62-2=60', '64+60=124']\nMoving to Node #0,0,1,0\nCurrent State: 63:[124], Operations: ['19+2=21', '83-21=62', '62+62=124']\nMoving to Node #0,0,3,0\nCurrent State: 63:[124], Operations: ['19+2=21', '62-21=41', '83+41=124']\nMoving to Node #0,3,3,0\nCurrent State: 63:[124], Operations: ['83-2=81', '81-19=62', '62+62=124']\nMoving to Node #0,1,1,0\nCurrent State: 63:[124], Operations: ['83-19=64', '64-2=62', '62+62=124']\nMoving to Node #0,3,0,0\nCurrent State: 63:[124], Operations: ['83-2=81', '62-19=43', '81+43=124']\nMoving to Node #0,1,0,0\nCurrent State: 63:[1], Operations: ['83-19=64', '62+2=64', '64/64=1']\nMoving to Node #0,3,3,0\nCurrent State: 63:[1], Operations: ['83-2=81', '81-19=62', '62/62=1']\nMoving to Node #0,0,2,0\nCurrent State: 63:[1], Operations: ['19+2=21', '62+21=83', '83/83=1']\nMoving to Node #0,1,1,0\nCurrent State: 63:[1], Operations: ['83-19=64', '64-2=62', '62/62=1']\nMoving to Node #0,3,2,0\nCurrent State: 63:[1], Operations: ['83-2=81', '62+19=81', '81/81=1']\nMoving to Node #0,0,1,0\nCurrent State: 63:[1], Operations: ['19+2=21', '83-21=62', '62/62=1']\nMoving to Node #0,3,2,0\nCurrent State: 63:[0], Operations: ['83-2=81', '62+19=81', '81-81=0']\nMoving to Node #0,1,0,0\nCurrent State: 63:[0], Operations: ['83-19=64', '62+2=64', '64-64=0']\nMoving to Node #0,3,3,0\nCurrent State: 63:[0], Operations: ['83-2=81', '81-19=62', '62-62=0']\nMoving to Node #0,0,2,0\nCurrent State: 63:[0], Operations: ['19+2=21', '62+21=83', '83-83=0']\nMoving to Node #0,0,1,0\nCurrent State: 63:[0], Operations: ['19+2=21', '83-21=62', '62-62=0']\nMoving to Node #0,1,1,0\nCurrent State: 63:[0], Operations: ['83-19=64', '64-2=62', '62-62=0']\nMoving to Node #0,1,0,0\nCurrent State: 63:[128], Operations: ['83-19=64', '62+2=64', '64+64=128']\nMoving to Node #0,1,2,0\nCurrent State: 63:[128], Operations: ['83-19=64', '2+64=66', '62+66=128']\nMoving to Node #0,3,1,0\nCurrent State: 63:[162], Operations: ['83-2=81', '19+81=100', '62+100=162']\nMoving to Node #0,3,2,0\nCurrent State: 63:[162], Operations: ['83-2=81', '62+19=81', '81+81=162']\nMoving to Node #0,0,2,0\nCurrent State: 63:[166], Operations: ['19+2=21', '62+21=83', '83+83=166']\nMoving to Node #0,0,0,0\nCurrent State: 63:[166], Operations: ['19+2=21', '83+21=104', '62+104=166']\nMoving to Node #0,2,1,0\nCurrent State: 63:[183], Operations: ['19*2=38', '83+38=121', '62+121=183']\nMoving to Node #0,2,2,0\nCurrent State: 63:[183], Operations: ['19*2=38', '62+38=100', '83+100=183']\nMoving to Node #0,2,3,0\nCurrent State: 63:[1992], Operations: ['19*2=38', '62-38=24', '83*24=1992']\nMoving to Node #0,2,0,0\nCurrent State: 63:[2790], Operations: ['19*2=38', '83-38=45', '62*45=2790']\nMoving to Node #0,0,3,0\nCurrent State: 63:[3403], Operations: ['19+2=21', '62-21=41', '83*41=3403']\nMoving to Node #0,3,0,0\nCurrent State: 63:[3483], Operations: ['83-2=81', '62-19=43', '81*43=3483']\nMoving to Node #0,1,3,0\nCurrent State: 63:[3840], Operations: ['83-19=64', '62-2=60', '64*60=3840']\nMoving to Node #0,3,3,0\nCurrent State: 63:[3844], Operations: ['83-2=81', '81-19=62', '62*62=3844']\nMoving to Node #0,1,1,0\nCurrent State: 63:[3844], Operations: ['83-19=64', '64-2=62', '62*62=3844']\nMoving to Node #0,0,1,0\nCurrent State: 63:[3844], Operations: ['19+2=21', '83-21=62', '62*62=3844']\nMoving to Node #0,1,2,0\nCurrent State: 63:[4092], Operations: ['83-19=64', '2+64=66', '62*66=4092']\nMoving to Node #0,1,0,0\nCurrent State: 63:[4096], Operations: ['83-19=64', '62+2=64', '64*64=4096']\nMoving to Node #0,3,1,0\nCurrent State: 63:[6200], Operations: ['83-2=81', '19+81=100', '62*100=6200']\nMoving to Node #0,0,0,0\nCurrent State: 63:[6448], Operations: ['19+2=21', '83+21=104', '62*104=6448']\nMoving to Node #0,3,2,0\nCurrent State: 63:[6561], Operations: ['83-2=81', '62+19=81', '81*81=6561']\nMoving to Node #0,0,2,0\nCurrent State: 63:[6889], Operations: ['19+2=21', '62+21=83', '83*83=6889']\nMoving to Node #0,2,1,0\nCurrent State: 63:[7502], Operations: ['19*2=38', '83+38=121', '62*121=7502']\nMoving to Node #0,2,2,0\nCurrent State: 63:[8300], Operations: ['19*2=38', '62+38=100', '83*100=8300']\nNo solution found.", "role": "assistant" } ]
[ 64, 53, 75, 79 ]
12
[ "75-64=11", "53+79=132", "132/11=12" ]
Current State: 12:[64, 53, 75, 79], Operations: []
0
dfs
Current State: 12:[64, 53, 75, 79], Operations: [] Exploring Operation: 75-64=11, Resulting Numbers: [53, 79, 11] Generated Node #2: [53, 79, 11] from Operation: 75-64=11 Current State: 12:[53, 79, 11], Operations: ['75-64=11'] Exploring Operation: 53+79=132, Resulting Numbers: [11, 132] Generated Node #3: [11, 132] from Operation: 53+79=132 Current State: 12:[11, 132], Operations: ['75-64=11', '53+79=132'] Exploring Operation: 132/11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
mult_heuristic
[ { "content": "Make 12 with the numbers [64, 53, 75, 79] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 12:[64, 53, 75, 79], Operations: []\n", "role": "assistant" } ]
[ 13, 72, 41, 69 ]
80
[ "72-69=3", "13*3=39", "41+39=80" ]
Current State: 80:[13, 72, 41, 69], Operations: [] Exploring Operation: 72-13=59, Resulting Numbers: [41, 69, 59] Generated Node #0,0: 80:[41, 69, 59] Operation: 72-13=59 Exploring Operation: 13+41=54, Resulting Numbers: [72, 69, 54] Generated Node #0,1: 80:[72, 69, 54] Operation: 13+41=54 Exploring Operation: 13+72=85, Resulting Numbers: [41, 69, 85] Generated Node #0,2: 80:[41, 69, 85] Operation: 13+72=85 Exploring Operation: 13+69=82, Resulting Numbers: [72, 41, 82] Generated Node #0,3: 80:[72, 41, 82] Operation: 13+69=82 Moving to Node #0,1 Current State: 80:[72, 69, 54], Operations: ['13+41=54'] Exploring Operation: 69+54=123, Resulting Numbers: [72, 123] Generated Node #0,1,0: 80:[72, 123] Operation: 69+54=123 Exploring Operation: 69-54=15, Resulting Numbers: [72, 15] Generated Node #0,1,1: 80:[72, 15] Operation: 69-54=15 Exploring Operation: 72+54=126, Resulting Numbers: [69, 126] Generated Node #0,1,2: 80:[69, 126] Operation: 72+54=126 Exploring Operation: 72-54=18, Resulting Numbers: [69, 18] Generated Node #0,1,3: 80:[69, 18] Operation: 72-54=18 Moving to Node #0,3 Current State: 80:[72, 41, 82], Operations: ['13+69=82'] Exploring Operation: 72-41=31, Resulting Numbers: [82, 31] Generated Node #0,3,0: 80:[82, 31] Operation: 72-41=31 Exploring Operation: 41+82=123, Resulting Numbers: [72, 123] Generated Node #0,3,1: 80:[72, 123] Operation: 41+82=123 Exploring Operation: 82-41=41, Resulting Numbers: [72, 41] Generated Node #0,3,2: 80:[72, 41] Operation: 82-41=41 Exploring Operation: 72+41=113, Resulting Numbers: [82, 113] Generated Node #0,3,3: 80:[82, 113] Operation: 72+41=113 Moving to Node #0,2 Current State: 80:[41, 69, 85], Operations: ['13+72=85'] Exploring Operation: 85-41=44, Resulting Numbers: [69, 44] Generated Node #0,2,0: 80:[69, 44] Operation: 85-41=44 Exploring Operation: 41+85=126, Resulting Numbers: [69, 126] Generated Node #0,2,1: 80:[69, 126] Operation: 41+85=126 Exploring Operation: 41+69=110, Resulting Numbers: [85, 110] Generated Node #0,2,2: 80:[85, 110] Operation: 41+69=110 Exploring Operation: 69-41=28, Resulting Numbers: [85, 28] Generated Node #0,2,3: 80:[85, 28] Operation: 69-41=28 Moving to Node #0,0 Current State: 80:[41, 69, 59], Operations: ['72-13=59'] Exploring Operation: 59-41=18, Resulting Numbers: [69, 18] Generated Node #0,0,0: 80:[69, 18] Operation: 59-41=18 Exploring Operation: 41+69=110, Resulting Numbers: [59, 110] Generated Node #0,0,1: 80:[59, 110] Operation: 41+69=110 Exploring Operation: 41+59=100, Resulting Numbers: [69, 100] Generated Node #0,0,2: 80:[69, 100] Operation: 41+59=100 Exploring Operation: 69-41=28, Resulting Numbers: [59, 28] Generated Node #0,0,3: 80:[59, 28] Operation: 69-41=28 Moving to Node #0,0,2 Current State: 80:[69, 100], Operations: ['72-13=59', '41+59=100'] Exploring Operation: 69*100=6900, Resulting Numbers: [6900] 6900,80 unequal: No Solution Exploring Operation: 100-69=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 69+100=169, Resulting Numbers: [169] 169,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[82, 113], Operations: ['13+69=82', '72+41=113'] Exploring Operation: 113-82=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 82+113=195, Resulting Numbers: [195] 195,80 unequal: No Solution Exploring Operation: 82*113=9266, Resulting Numbers: [9266] 9266,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[85, 110], Operations: ['13+72=85', '41+69=110'] Exploring Operation: 85+110=195, Resulting Numbers: [195] 195,80 unequal: No Solution Exploring Operation: 110-85=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 85*110=9350, Resulting Numbers: [9350] 9350,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[72, 41], Operations: ['13+69=82', '82-41=41'] Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,80 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,80 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[69, 44], Operations: ['13+72=85', '85-41=44'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,80 unequal: No Solution Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[82, 31], Operations: ['13+69=82', '72-41=31'] Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,80 unequal: No Solution Exploring Operation: 82*31=2542, Resulting Numbers: [2542] 2542,80 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[59, 110], Operations: ['72-13=59', '41+69=110'] Exploring Operation: 59*110=6490, Resulting Numbers: [6490] 6490,80 unequal: No Solution Exploring Operation: 110-59=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 59+110=169, Resulting Numbers: [169] 169,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[72, 123], Operations: ['13+41=54', '69+54=123'] Exploring Operation: 123-72=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 72*123=8856, Resulting Numbers: [8856] 8856,80 unequal: No Solution Exploring Operation: 72+123=195, Resulting Numbers: [195] 195,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[72, 123], Operations: ['13+69=82', '41+82=123'] Exploring Operation: 123-72=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 72*123=8856, Resulting Numbers: [8856] 8856,80 unequal: No Solution Exploring Operation: 72+123=195, Resulting Numbers: [195] 195,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[85, 28], Operations: ['13+72=85', '69-41=28'] Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 85*28=2380, Resulting Numbers: [2380] 2380,80 unequal: No Solution Exploring Operation: 85+28=113, Resulting Numbers: [113] 113,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[69, 126], Operations: ['13+72=85', '41+85=126'] Exploring Operation: 126-69=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 69*126=8694, Resulting Numbers: [8694] 8694,80 unequal: No Solution Exploring Operation: 69+126=195, Resulting Numbers: [195] 195,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[69, 126], Operations: ['13+41=54', '72+54=126'] Exploring Operation: 69+126=195, Resulting Numbers: [195] 195,80 unequal: No Solution Exploring Operation: 126-69=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 69*126=8694, Resulting Numbers: [8694] 8694,80 unequal: No Solution Moving to Node #0,2,3,0 Current State: 80:[57], Operations: ['13+72=85', '69-41=28', '85-28=57'] Moving to Node #0,2,1,0 Current State: 80:[57], Operations: ['13+72=85', '41+85=126', '126-69=57'] Moving to Node #0,1,2,0 Current State: 80:[57], Operations: ['13+41=54', '72+54=126', '126-69=57'] Moving to Node #0,3,0,0 Current State: 80:[51], Operations: ['13+69=82', '72-41=31', '82-31=51'] Moving to Node #0,3,1,0 Current State: 80:[51], Operations: ['13+69=82', '41+82=123', '123-72=51'] Moving to Node #0,0,1,0 Current State: 80:[51], Operations: ['72-13=59', '41+69=110', '110-59=51'] Moving to Node #0,1,0,0 Current State: 80:[51], Operations: ['13+41=54', '69+54=123', '123-72=51'] Moving to Node #0,3,0,0 Current State: 80:[113], Operations: ['13+69=82', '72-41=31', '82+31=113'] Moving to Node #0,2,0,0 Current State: 80:[113], Operations: ['13+72=85', '85-41=44', '69+44=113'] Moving to Node #0,3,2,0 Current State: 80:[113], Operations: ['13+69=82', '82-41=41', '72+41=113'] Moving to Node #0,2,3,0 Current State: 80:[113], Operations: ['13+72=85', '69-41=28', '85+28=113'] Moving to Node #0,1,1 Current State: 80:[72, 15], Operations: ['13+41=54', '69-54=15'] Exploring Operation: 72*15=1080, Resulting Numbers: [1080] 1080,80 unequal: No Solution Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,80 unequal: No Solution Moving to Node #0,1,1,0 Current State: 80:[87], Operations: ['13+41=54', '69-54=15', '72+15=87'] Moving to Node #0,1,1,0 Current State: 80:[57], Operations: ['13+41=54', '69-54=15', '72-15=57'] Moving to Node #0,0,0 Current State: 80:[69, 18], Operations: ['72-13=59', '59-41=18'] Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,80 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[59, 28], Operations: ['72-13=59', '69-41=28'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,80 unequal: No Solution Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,80 unequal: No Solution Moving to Node #0,0,0,0 Current State: 80:[87], Operations: ['72-13=59', '59-41=18', '69+18=87'] Moving to Node #0,0,3,0 Current State: 80:[87], Operations: ['72-13=59', '69-41=28', '59+28=87'] Moving to Node #0,0,0,0 Current State: 80:[51], Operations: ['72-13=59', '59-41=18', '69-18=51'] Moving to Node #0,1,3 Current State: 80:[69, 18], Operations: ['13+41=54', '72-54=18'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,80 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,80 unequal: No Solution Moving to Node #0,1,3,0 Current State: 80:[87], Operations: ['13+41=54', '72-54=18', '69+18=87'] Moving to Node #0,1,3,0 Current State: 80:[51], Operations: ['13+41=54', '72-54=18', '69-18=51'] Moving to Node #0,0,2,0 Current State: 80:[31], Operations: ['72-13=59', '41+59=100', '100-69=31'] Moving to Node #0,3,2,0 Current State: 80:[31], Operations: ['13+69=82', '82-41=41', '72-41=31'] Moving to Node #0,3,3,0 Current State: 80:[31], Operations: ['13+69=82', '72+41=113', '113-82=31'] Moving to Node #0,0,3,0 Current State: 80:[31], Operations: ['72-13=59', '69-41=28', '59-28=31'] Moving to Node #0,2,0,0 Current State: 80:[25], Operations: ['13+72=85', '85-41=44', '69-44=25'] Moving to Node #0,2,2,0 Current State: 80:[25], Operations: ['13+72=85', '41+69=110', '110-85=25'] Moving to Node #0,0,2,0 Current State: 80:[169], Operations: ['72-13=59', '41+59=100', '69+100=169'] Moving to Node #0,0,1,0 Current State: 80:[169], Operations: ['72-13=59', '41+69=110', '59+110=169'] Moving to Node #0,1,0,0 Current State: 80:[195], Operations: ['13+41=54', '69+54=123', '72+123=195'] Moving to Node #0,3,1,0 Current State: 80:[195], Operations: ['13+69=82', '41+82=123', '72+123=195'] Moving to Node #0,1,2,0 Current State: 80:[195], Operations: ['13+41=54', '72+54=126', '69+126=195'] Moving to Node #0,2,2,0 Current State: 80:[195], Operations: ['13+72=85', '41+69=110', '85+110=195'] Moving to Node #0,2,1,0 Current State: 80:[195], Operations: ['13+72=85', '41+85=126', '69+126=195'] Moving to Node #0,3,3,0 Current State: 80:[195], Operations: ['13+69=82', '72+41=113', '82+113=195'] Moving to Node #0,1,1,0 Current State: 80:[1080], Operations: ['13+41=54', '69-54=15', '72*15=1080'] Moving to Node #0,1,3,0 Current State: 80:[1242], Operations: ['13+41=54', '72-54=18', '69*18=1242'] Moving to Node #0,0,0,0 Current State: 80:[1242], Operations: ['72-13=59', '59-41=18', '69*18=1242'] Moving to Node #0,0,3,0 Current State: 80:[1652], Operations: ['72-13=59', '69-41=28', '59*28=1652'] Moving to Node #0,2,3,0 Current State: 80:[2380], Operations: ['13+72=85', '69-41=28', '85*28=2380'] Moving to Node #0,3,0,0 Current State: 80:[2542], Operations: ['13+69=82', '72-41=31', '82*31=2542'] Moving to Node #0,3,2,0 Current State: 80:[2952], Operations: ['13+69=82', '82-41=41', '72*41=2952'] Moving to Node #0,2,0,0 Current State: 80:[3036], Operations: ['13+72=85', '85-41=44', '69*44=3036'] Moving to Node #0,0,1,0 Current State: 80:[6490], Operations: ['72-13=59', '41+69=110', '59*110=6490'] Moving to Node #0,0,2,0 Current State: 80:[6900], Operations: ['72-13=59', '41+59=100', '69*100=6900'] Moving to Node #0,2,1,0 Current State: 80:[8694], Operations: ['13+72=85', '41+85=126', '69*126=8694'] Moving to Node #0,1,2,0 Current State: 80:[8694], Operations: ['13+41=54', '72+54=126', '69*126=8694'] Moving to Node #0,1,0,0 Current State: 80:[8856], Operations: ['13+41=54', '69+54=123', '72*123=8856'] Moving to Node #0,3,1,0 Current State: 80:[8856], Operations: ['13+69=82', '41+82=123', '72*123=8856'] Moving to Node #0,3,3,0 Current State: 80:[9266], Operations: ['13+69=82', '72+41=113', '82*113=9266'] Moving to Node #0,2,2,0 Current State: 80:[9350], Operations: ['13+72=85', '41+69=110', '85*110=9350'] No solution found.
0
bfs_4
Current State: 80:[13, 72, 41, 69], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [13, 41, 3] Generated Node #2: [13, 41, 3] from Operation: 72-69=3 Current State: 80:[13, 41, 3], Operations: ['72-69=3'] Exploring Operation: 13*3=39, Resulting Numbers: [41, 39] Generated Node #3: [41, 39] from Operation: 13*3=39 Current State: 80:[41, 39], Operations: ['72-69=3', '13*3=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
sum_heuristic
[ { "content": "Make 80 with the numbers [13, 72, 41, 69] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 80:[13, 72, 41, 69], Operations: []\nExploring Operation: 72-13=59, Resulting Numbers: [41, 69, 59]\nGenerated Node #0,0: 80:[41, 69, 59] Operation: 72-13=59\nExploring Operation: 13+41=54, Resulting Numbers: [72, 69, 54]\nGenerated Node #0,1: 80:[72, 69, 54] Operation: 13+41=54\nExploring Operation: 13+72=85, Resulting Numbers: [41, 69, 85]\nGenerated Node #0,2: 80:[41, 69, 85] Operation: 13+72=85\nExploring Operation: 13+69=82, Resulting Numbers: [72, 41, 82]\nGenerated Node #0,3: 80:[72, 41, 82] Operation: 13+69=82\nMoving to Node #0,1\nCurrent State: 80:[72, 69, 54], Operations: ['13+41=54']\nExploring Operation: 69+54=123, Resulting Numbers: [72, 123]\nGenerated Node #0,1,0: 80:[72, 123] Operation: 69+54=123\nExploring Operation: 69-54=15, Resulting Numbers: [72, 15]\nGenerated Node #0,1,1: 80:[72, 15] Operation: 69-54=15\nExploring Operation: 72+54=126, Resulting Numbers: [69, 126]\nGenerated Node #0,1,2: 80:[69, 126] Operation: 72+54=126\nExploring Operation: 72-54=18, Resulting Numbers: [69, 18]\nGenerated Node #0,1,3: 80:[69, 18] Operation: 72-54=18\nMoving to Node #0,3\nCurrent State: 80:[72, 41, 82], Operations: ['13+69=82']\nExploring Operation: 72-41=31, Resulting Numbers: [82, 31]\nGenerated Node #0,3,0: 80:[82, 31] Operation: 72-41=31\nExploring Operation: 41+82=123, Resulting Numbers: [72, 123]\nGenerated Node #0,3,1: 80:[72, 123] Operation: 41+82=123\nExploring Operation: 82-41=41, Resulting Numbers: [72, 41]\nGenerated Node #0,3,2: 80:[72, 41] Operation: 82-41=41\nExploring Operation: 72+41=113, Resulting Numbers: [82, 113]\nGenerated Node #0,3,3: 80:[82, 113] Operation: 72+41=113\nMoving to Node #0,2\nCurrent State: 80:[41, 69, 85], Operations: ['13+72=85']\nExploring Operation: 85-41=44, Resulting Numbers: [69, 44]\nGenerated Node #0,2,0: 80:[69, 44] Operation: 85-41=44\nExploring Operation: 41+85=126, Resulting Numbers: [69, 126]\nGenerated Node #0,2,1: 80:[69, 126] Operation: 41+85=126\nExploring Operation: 41+69=110, Resulting Numbers: [85, 110]\nGenerated Node #0,2,2: 80:[85, 110] Operation: 41+69=110\nExploring Operation: 69-41=28, Resulting Numbers: [85, 28]\nGenerated Node #0,2,3: 80:[85, 28] Operation: 69-41=28\nMoving to Node #0,0\nCurrent State: 80:[41, 69, 59], Operations: ['72-13=59']\nExploring Operation: 59-41=18, Resulting Numbers: [69, 18]\nGenerated Node #0,0,0: 80:[69, 18] Operation: 59-41=18\nExploring Operation: 41+69=110, Resulting Numbers: [59, 110]\nGenerated Node #0,0,1: 80:[59, 110] Operation: 41+69=110\nExploring Operation: 41+59=100, Resulting Numbers: [69, 100]\nGenerated Node #0,0,2: 80:[69, 100] Operation: 41+59=100\nExploring Operation: 69-41=28, Resulting Numbers: [59, 28]\nGenerated Node #0,0,3: 80:[59, 28] Operation: 69-41=28\nMoving to Node #0,0,2\nCurrent State: 80:[69, 100], Operations: ['72-13=59', '41+59=100']\nExploring Operation: 69*100=6900, Resulting Numbers: [6900]\n6900,80 unequal: No Solution\nExploring Operation: 100-69=31, Resulting Numbers: [31]\n31,80 unequal: No Solution\nExploring Operation: 69+100=169, Resulting Numbers: [169]\n169,80 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 80:[82, 113], Operations: ['13+69=82', '72+41=113']\nExploring Operation: 113-82=31, Resulting Numbers: [31]\n31,80 unequal: No Solution\nExploring Operation: 82+113=195, Resulting Numbers: [195]\n195,80 unequal: No Solution\nExploring Operation: 82*113=9266, Resulting Numbers: [9266]\n9266,80 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 80:[85, 110], Operations: ['13+72=85', '41+69=110']\nExploring Operation: 85+110=195, Resulting Numbers: [195]\n195,80 unequal: No Solution\nExploring Operation: 110-85=25, Resulting Numbers: [25]\n25,80 unequal: No Solution\nExploring Operation: 85*110=9350, Resulting Numbers: [9350]\n9350,80 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 80:[72, 41], Operations: ['13+69=82', '82-41=41']\nExploring Operation: 72*41=2952, Resulting Numbers: [2952]\n2952,80 unequal: No Solution\nExploring Operation: 72+41=113, Resulting Numbers: [113]\n113,80 unequal: No Solution\nExploring Operation: 72-41=31, Resulting Numbers: [31]\n31,80 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 80:[69, 44], Operations: ['13+72=85', '85-41=44']\nExploring Operation: 69-44=25, Resulting Numbers: [25]\n25,80 unequal: No Solution\nExploring Operation: 69+44=113, Resulting Numbers: [113]\n113,80 unequal: No Solution\nExploring Operation: 69*44=3036, Resulting Numbers: [3036]\n3036,80 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 80:[82, 31], Operations: ['13+69=82', '72-41=31']\nExploring Operation: 82+31=113, Resulting Numbers: [113]\n113,80 unequal: No Solution\nExploring Operation: 82*31=2542, Resulting Numbers: [2542]\n2542,80 unequal: No Solution\nExploring Operation: 82-31=51, Resulting Numbers: [51]\n51,80 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 80:[59, 110], Operations: ['72-13=59', '41+69=110']\nExploring Operation: 59*110=6490, Resulting Numbers: [6490]\n6490,80 unequal: No Solution\nExploring Operation: 110-59=51, Resulting Numbers: [51]\n51,80 unequal: No Solution\nExploring Operation: 59+110=169, Resulting Numbers: [169]\n169,80 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 80:[72, 123], Operations: ['13+41=54', '69+54=123']\nExploring Operation: 123-72=51, Resulting Numbers: [51]\n51,80 unequal: No Solution\nExploring Operation: 72*123=8856, Resulting Numbers: [8856]\n8856,80 unequal: No Solution\nExploring Operation: 72+123=195, Resulting Numbers: [195]\n195,80 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 80:[72, 123], Operations: ['13+69=82', '41+82=123']\nExploring Operation: 123-72=51, Resulting Numbers: [51]\n51,80 unequal: No Solution\nExploring Operation: 72*123=8856, Resulting Numbers: [8856]\n8856,80 unequal: No Solution\nExploring Operation: 72+123=195, Resulting Numbers: [195]\n195,80 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 80:[85, 28], Operations: ['13+72=85', '69-41=28']\nExploring Operation: 85-28=57, Resulting Numbers: [57]\n57,80 unequal: No Solution\nExploring Operation: 85*28=2380, Resulting Numbers: [2380]\n2380,80 unequal: No Solution\nExploring Operation: 85+28=113, Resulting Numbers: [113]\n113,80 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 80:[69, 126], Operations: ['13+72=85', '41+85=126']\nExploring Operation: 126-69=57, Resulting Numbers: [57]\n57,80 unequal: No Solution\nExploring Operation: 69*126=8694, Resulting Numbers: [8694]\n8694,80 unequal: No Solution\nExploring Operation: 69+126=195, Resulting Numbers: [195]\n195,80 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 80:[69, 126], Operations: ['13+41=54', '72+54=126']\nExploring Operation: 69+126=195, Resulting Numbers: [195]\n195,80 unequal: No Solution\nExploring Operation: 126-69=57, Resulting Numbers: [57]\n57,80 unequal: No Solution\nExploring Operation: 69*126=8694, Resulting Numbers: [8694]\n8694,80 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 80:[57], Operations: ['13+72=85', '69-41=28', '85-28=57']\nMoving to Node #0,2,1,0\nCurrent State: 80:[57], Operations: ['13+72=85', '41+85=126', '126-69=57']\nMoving to Node #0,1,2,0\nCurrent State: 80:[57], Operations: ['13+41=54', '72+54=126', '126-69=57']\nMoving to Node #0,3,0,0\nCurrent State: 80:[51], Operations: ['13+69=82', '72-41=31', '82-31=51']\nMoving to Node #0,3,1,0\nCurrent State: 80:[51], Operations: ['13+69=82', '41+82=123', '123-72=51']\nMoving to Node #0,0,1,0\nCurrent State: 80:[51], Operations: ['72-13=59', '41+69=110', '110-59=51']\nMoving to Node #0,1,0,0\nCurrent State: 80:[51], Operations: ['13+41=54', '69+54=123', '123-72=51']\nMoving to Node #0,3,0,0\nCurrent State: 80:[113], Operations: ['13+69=82', '72-41=31', '82+31=113']\nMoving to Node #0,2,0,0\nCurrent State: 80:[113], Operations: ['13+72=85', '85-41=44', '69+44=113']\nMoving to Node #0,3,2,0\nCurrent State: 80:[113], Operations: ['13+69=82', '82-41=41', '72+41=113']\nMoving to Node #0,2,3,0\nCurrent State: 80:[113], Operations: ['13+72=85', '69-41=28', '85+28=113']\nMoving to Node #0,1,1\nCurrent State: 80:[72, 15], Operations: ['13+41=54', '69-54=15']\nExploring Operation: 72*15=1080, Resulting Numbers: [1080]\n1080,80 unequal: No Solution\nExploring Operation: 72+15=87, Resulting Numbers: [87]\n87,80 unequal: No Solution\nExploring Operation: 72-15=57, Resulting Numbers: [57]\n57,80 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 80:[87], Operations: ['13+41=54', '69-54=15', '72+15=87']\nMoving to Node #0,1,1,0\nCurrent State: 80:[57], Operations: ['13+41=54', '69-54=15', '72-15=57']\nMoving to Node #0,0,0\nCurrent State: 80:[69, 18], Operations: ['72-13=59', '59-41=18']\nExploring Operation: 69*18=1242, Resulting Numbers: [1242]\n1242,80 unequal: No Solution\nExploring Operation: 69+18=87, Resulting Numbers: [87]\n87,80 unequal: No Solution\nExploring Operation: 69-18=51, Resulting Numbers: [51]\n51,80 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 80:[59, 28], Operations: ['72-13=59', '69-41=28']\nExploring Operation: 59-28=31, Resulting Numbers: [31]\n31,80 unequal: No Solution\nExploring Operation: 59*28=1652, Resulting Numbers: [1652]\n1652,80 unequal: No Solution\nExploring Operation: 59+28=87, Resulting Numbers: [87]\n87,80 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 80:[87], Operations: ['72-13=59', '59-41=18', '69+18=87']\nMoving to Node #0,0,3,0\nCurrent State: 80:[87], Operations: ['72-13=59', '69-41=28', '59+28=87']\nMoving to Node #0,0,0,0\nCurrent State: 80:[51], Operations: ['72-13=59', '59-41=18', '69-18=51']\nMoving to Node #0,1,3\nCurrent State: 80:[69, 18], Operations: ['13+41=54', '72-54=18']\nExploring Operation: 69-18=51, Resulting Numbers: [51]\n51,80 unequal: No Solution\nExploring Operation: 69*18=1242, Resulting Numbers: [1242]\n1242,80 unequal: No Solution\nExploring Operation: 69+18=87, Resulting Numbers: [87]\n87,80 unequal: No Solution\nMoving to Node #0,1,3,0\nCurrent State: 80:[87], Operations: ['13+41=54', '72-54=18', '69+18=87']\nMoving to Node #0,1,3,0\nCurrent State: 80:[51], Operations: ['13+41=54', '72-54=18', '69-18=51']\nMoving to Node #0,0,2,0\nCurrent State: 80:[31], Operations: ['72-13=59', '41+59=100', '100-69=31']\nMoving to Node #0,3,2,0\nCurrent State: 80:[31], Operations: ['13+69=82', '82-41=41', '72-41=31']\nMoving to Node #0,3,3,0\nCurrent State: 80:[31], Operations: ['13+69=82', '72+41=113', '113-82=31']\nMoving to Node #0,0,3,0\nCurrent State: 80:[31], Operations: ['72-13=59', '69-41=28', '59-28=31']\nMoving to Node #0,2,0,0\nCurrent State: 80:[25], Operations: ['13+72=85', '85-41=44', '69-44=25']\nMoving to Node #0,2,2,0\nCurrent State: 80:[25], Operations: ['13+72=85', '41+69=110', '110-85=25']\nMoving to Node #0,0,2,0\nCurrent State: 80:[169], Operations: ['72-13=59', '41+59=100', '69+100=169']\nMoving to Node #0,0,1,0\nCurrent State: 80:[169], Operations: ['72-13=59', '41+69=110', '59+110=169']\nMoving to Node #0,1,0,0\nCurrent State: 80:[195], Operations: ['13+41=54', '69+54=123', '72+123=195']\nMoving to Node #0,3,1,0\nCurrent State: 80:[195], Operations: ['13+69=82', '41+82=123', '72+123=195']\nMoving to Node #0,1,2,0\nCurrent State: 80:[195], Operations: ['13+41=54', '72+54=126', '69+126=195']\nMoving to Node #0,2,2,0\nCurrent State: 80:[195], Operations: ['13+72=85', '41+69=110', '85+110=195']\nMoving to Node #0,2,1,0\nCurrent State: 80:[195], Operations: ['13+72=85', '41+85=126', '69+126=195']\nMoving to Node #0,3,3,0\nCurrent State: 80:[195], Operations: ['13+69=82', '72+41=113', '82+113=195']\nMoving to Node #0,1,1,0\nCurrent State: 80:[1080], Operations: ['13+41=54', '69-54=15', '72*15=1080']\nMoving to Node #0,1,3,0\nCurrent State: 80:[1242], Operations: ['13+41=54', '72-54=18', '69*18=1242']\nMoving to Node #0,0,0,0\nCurrent State: 80:[1242], Operations: ['72-13=59', '59-41=18', '69*18=1242']\nMoving to Node #0,0,3,0\nCurrent State: 80:[1652], Operations: ['72-13=59', '69-41=28', '59*28=1652']\nMoving to Node #0,2,3,0\nCurrent State: 80:[2380], Operations: ['13+72=85', '69-41=28', '85*28=2380']\nMoving to Node #0,3,0,0\nCurrent State: 80:[2542], Operations: ['13+69=82', '72-41=31', '82*31=2542']\nMoving to Node #0,3,2,0\nCurrent State: 80:[2952], Operations: ['13+69=82', '82-41=41', '72*41=2952']\nMoving to Node #0,2,0,0\nCurrent State: 80:[3036], Operations: ['13+72=85', '85-41=44', '69*44=3036']\nMoving to Node #0,0,1,0\nCurrent State: 80:[6490], Operations: ['72-13=59', '41+69=110', '59*110=6490']\nMoving to Node #0,0,2,0\nCurrent State: 80:[6900], Operations: ['72-13=59', '41+59=100', '69*100=6900']\nMoving to Node #0,2,1,0\nCurrent State: 80:[8694], Operations: ['13+72=85', '41+85=126', '69*126=8694']\nMoving to Node #0,1,2,0\nCurrent State: 80:[8694], Operations: ['13+41=54', '72+54=126', '69*126=8694']\nMoving to Node #0,1,0,0\nCurrent State: 80:[8856], Operations: ['13+41=54', '69+54=123', '72*123=8856']\nMoving to Node #0,3,1,0\nCurrent State: 80:[8856], Operations: ['13+69=82', '41+82=123', '72*123=8856']\nMoving to Node #0,3,3,0\nCurrent State: 80:[9266], Operations: ['13+69=82', '72+41=113', '82*113=9266']\nMoving to Node #0,2,2,0\nCurrent State: 80:[9350], Operations: ['13+72=85', '41+69=110', '85*110=9350']\nNo solution found.", "role": "assistant" } ]
[ 24, 57, 44, 48 ]
85
[ "24+57=81", "48-44=4", "81+4=85" ]
Current State: 85:[24, 57, 44, 48], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [24, 57, 4] Generated Node #0,0: 85:[24, 57, 4] Operation: 48-44=4 Exploring Operation: 57-48=9, Resulting Numbers: [24, 44, 9] Generated Node #0,1: 85:[24, 44, 9] Operation: 57-48=9 Exploring Operation: 57-44=13, Resulting Numbers: [24, 48, 13] Generated Node #0,2: 85:[24, 48, 13] Operation: 57-44=13 Exploring Operation: 57+44=101, Resulting Numbers: [24, 48, 101] Generated Node #0,3: 85:[24, 48, 101] Operation: 57+44=101 Exploring Operation: 44+48=92, Resulting Numbers: [24, 57, 92] Generated Node #0,4: 85:[24, 57, 92] Operation: 44+48=92 Moving to Node #0,0 Current State: 85:[24, 57, 4], Operations: ['48-44=4'] Exploring Operation: 24/4=6, Resulting Numbers: [57, 6] Generated Node #0,0,0: 85:[57, 6] Operation: 24/4=6 Exploring Operation: 24-4=20, Resulting Numbers: [57, 20] Generated Node #0,0,1: 85:[57, 20] Operation: 24-4=20 Exploring Operation: 57+4=61, Resulting Numbers: [24, 61] Generated Node #0,0,2: 85:[24, 61] Operation: 57+4=61 Exploring Operation: 24+57=81, Resulting Numbers: [4, 81] Generated Node #0,0,3: 85:[4, 81] Operation: 24+57=81 Exploring Operation: 57-24=33, Resulting Numbers: [4, 33] Generated Node #0,0,4: 85:[4, 33] Operation: 57-24=33 Moving to Node #0,1 Current State: 85:[24, 44, 9], Operations: ['57-48=9'] Exploring Operation: 44-24=20, Resulting Numbers: [9, 20] Generated Node #0,1,0: 85:[9, 20] Operation: 44-24=20 Exploring Operation: 44+9=53, Resulting Numbers: [24, 53] Generated Node #0,1,1: 85:[24, 53] Operation: 44+9=53 Exploring Operation: 24+44=68, Resulting Numbers: [9, 68] Generated Node #0,1,2: 85:[9, 68] Operation: 24+44=68 Exploring Operation: 24-9=15, Resulting Numbers: [44, 15] Generated Node #0,1,3: 85:[44, 15] Operation: 24-9=15 Exploring Operation: 44-9=35, Resulting Numbers: [24, 35] Generated Node #0,1,4: 85:[24, 35] Operation: 44-9=35 Moving to Node #0,2 Current State: 85:[24, 48, 13], Operations: ['57-44=13'] Exploring Operation: 48-24=24, Resulting Numbers: [13, 24] Generated Node #0,2,0: 85:[13, 24] Operation: 48-24=24 Exploring Operation: 24+48=72, Resulting Numbers: [13, 72] Generated Node #0,2,1: 85:[13, 72] Operation: 24+48=72 Exploring Operation: 48-13=35, Resulting Numbers: [24, 35] Generated Node #0,2,2: 85:[24, 35] Operation: 48-13=35 Exploring Operation: 48/24=2, Resulting Numbers: [13, 2] Generated Node #0,2,3: 85:[13, 2] Operation: 48/24=2 Exploring Operation: 48+13=61, Resulting Numbers: [24, 61] Generated Node #0,2,4: 85:[24, 61] Operation: 48+13=61 Moving to Node #0,4 Current State: 85:[24, 57, 92], Operations: ['44+48=92'] Exploring Operation: 24+92=116, Resulting Numbers: [57, 116] Generated Node #0,4,0: 85:[57, 116] Operation: 24+92=116 Exploring Operation: 57-24=33, Resulting Numbers: [92, 33] Generated Node #0,4,1: 85:[92, 33] Operation: 57-24=33 Exploring Operation: 24+57=81, Resulting Numbers: [92, 81] Generated Node #0,4,2: 85:[92, 81] Operation: 24+57=81 Exploring Operation: 92-24=68, Resulting Numbers: [57, 68] Generated Node #0,4,3: 85:[57, 68] Operation: 92-24=68 Exploring Operation: 92-57=35, Resulting Numbers: [24, 35] Generated Node #0,4,4: 85:[24, 35] Operation: 92-57=35 Moving to Node #0,3 Current State: 85:[24, 48, 101], Operations: ['57+44=101'] Exploring Operation: 48-24=24, Resulting Numbers: [101, 24] Generated Node #0,3,0: 85:[101, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [101, 2] Generated Node #0,3,1: 85:[101, 2] Operation: 48/24=2 Exploring Operation: 24+48=72, Resulting Numbers: [101, 72] Generated Node #0,3,2: 85:[101, 72] Operation: 24+48=72 Exploring Operation: 101-48=53, Resulting Numbers: [24, 53] Generated Node #0,3,3: 85:[24, 53] Operation: 101-48=53 Exploring Operation: 101-24=77, Resulting Numbers: [48, 77] Generated Node #0,3,4: 85:[48, 77] Operation: 101-24=77 Moving to Node #0,0,3 Current State: 85:[4, 81], Operations: ['48-44=4', '24+57=81'] Exploring Operation: 4*81=324, Resulting Numbers: [324] 324,85 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.970486
bfs_5
Current State: 85:[24, 57, 44, 48], Operations: [] Exploring Operation: 24+57=81, Resulting Numbers: [44, 48, 81] Generated Node #2: [44, 48, 81] from Operation: 24+57=81 Current State: 85:[44, 48, 81], Operations: ['24+57=81'] Exploring Operation: 48-44=4, Resulting Numbers: [81, 4] Generated Node #3: [81, 4] from Operation: 48-44=4 Current State: 85:[81, 4], Operations: ['24+57=81', '48-44=4'] Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
mult_heuristic
[ { "content": "Make 85 with the numbers [24, 57, 44, 48] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 85:[24, 57, 44, 48], Operations: []\nExploring Operation: 48-44=4, Resulting Numbers: [24, 57, 4]\nGenerated Node #0,0: 85:[24, 57, 4] Operation: 48-44=4\nExploring Operation: 57-48=9, Resulting Numbers: [24, 44, 9]\nGenerated Node #0,1: 85:[24, 44, 9] Operation: 57-48=9\nExploring Operation: 57-44=13, Resulting Numbers: [24, 48, 13]\nGenerated Node #0,2: 85:[24, 48, 13] Operation: 57-44=13\nExploring Operation: 57+44=101, Resulting Numbers: [24, 48, 101]\nGenerated Node #0,3: 85:[24, 48, 101] Operation: 57+44=101\nExploring Operation: 44+48=92, Resulting Numbers: [24, 57, 92]\nGenerated Node #0,4: 85:[24, 57, 92] Operation: 44+48=92\nMoving to Node #0,0\nCurrent State: 85:[24, 57, 4], Operations: ['48-44=4']\nExploring Operation: 24/4=6, Resulting Numbers: [57, 6]\nGenerated Node #0,0,0: 85:[57, 6] Operation: 24/4=6\nExploring Operation: 24-4=20, Resulting Numbers: [57, 20]\nGenerated Node #0,0,1: 85:[57, 20] Operation: 24-4=20\nExploring Operation: 57+4=61, Resulting Numbers: [24, 61]\nGenerated Node #0,0,2: 85:[24, 61] Operation: 57+4=61\nExploring Operation: 24+57=81, Resulting Numbers: [4, 81]\nGenerated Node #0,0,3: 85:[4, 81] Operation: 24+57=81\nExploring Operation: 57-24=33, Resulting Numbers: [4, 33]\nGenerated Node #0,0,4: 85:[4, 33] Operation: 57-24=33\nMoving to Node #0,1\nCurrent State: 85:[24, 44, 9], Operations: ['57-48=9']\nExploring Operation: 44-24=20, Resulting Numbers: [9, 20]\nGenerated Node #0,1,0: 85:[9, 20] Operation: 44-24=20\nExploring Operation: 44+9=53, Resulting Numbers: [24, 53]\nGenerated Node #0,1,1: 85:[24, 53] Operation: 44+9=53\nExploring Operation: 24+44=68, Resulting Numbers: [9, 68]\nGenerated Node #0,1,2: 85:[9, 68] Operation: 24+44=68\nExploring Operation: 24-9=15, Resulting Numbers: [44, 15]\nGenerated Node #0,1,3: 85:[44, 15] Operation: 24-9=15\nExploring Operation: 44-9=35, Resulting Numbers: [24, 35]\nGenerated Node #0,1,4: 85:[24, 35] Operation: 44-9=35\nMoving to Node #0,2\nCurrent State: 85:[24, 48, 13], Operations: ['57-44=13']\nExploring Operation: 48-24=24, Resulting Numbers: [13, 24]\nGenerated Node #0,2,0: 85:[13, 24] Operation: 48-24=24\nExploring Operation: 24+48=72, Resulting Numbers: [13, 72]\nGenerated Node #0,2,1: 85:[13, 72] Operation: 24+48=72\nExploring Operation: 48-13=35, Resulting Numbers: [24, 35]\nGenerated Node #0,2,2: 85:[24, 35] Operation: 48-13=35\nExploring Operation: 48/24=2, Resulting Numbers: [13, 2]\nGenerated Node #0,2,3: 85:[13, 2] Operation: 48/24=2\nExploring Operation: 48+13=61, Resulting Numbers: [24, 61]\nGenerated Node #0,2,4: 85:[24, 61] Operation: 48+13=61\nMoving to Node #0,4\nCurrent State: 85:[24, 57, 92], Operations: ['44+48=92']\nExploring Operation: 24+92=116, Resulting Numbers: [57, 116]\nGenerated Node #0,4,0: 85:[57, 116] Operation: 24+92=116\nExploring Operation: 57-24=33, Resulting Numbers: [92, 33]\nGenerated Node #0,4,1: 85:[92, 33] Operation: 57-24=33\nExploring Operation: 24+57=81, Resulting Numbers: [92, 81]\nGenerated Node #0,4,2: 85:[92, 81] Operation: 24+57=81\nExploring Operation: 92-24=68, Resulting Numbers: [57, 68]\nGenerated Node #0,4,3: 85:[57, 68] Operation: 92-24=68\nExploring Operation: 92-57=35, Resulting Numbers: [24, 35]\nGenerated Node #0,4,4: 85:[24, 35] Operation: 92-57=35\nMoving to Node #0,3\nCurrent State: 85:[24, 48, 101], Operations: ['57+44=101']\nExploring Operation: 48-24=24, Resulting Numbers: [101, 24]\nGenerated Node #0,3,0: 85:[101, 24] Operation: 48-24=24\nExploring Operation: 48/24=2, Resulting Numbers: [101, 2]\nGenerated Node #0,3,1: 85:[101, 2] Operation: 48/24=2\nExploring Operation: 24+48=72, Resulting Numbers: [101, 72]\nGenerated Node #0,3,2: 85:[101, 72] Operation: 24+48=72\nExploring Operation: 101-48=53, Resulting Numbers: [24, 53]\nGenerated Node #0,3,3: 85:[24, 53] Operation: 101-48=53\nExploring Operation: 101-24=77, Resulting Numbers: [48, 77]\nGenerated Node #0,3,4: 85:[48, 77] Operation: 101-24=77\nMoving to Node #0,0,3\nCurrent State: 85:[4, 81], Operations: ['48-44=4', '24+57=81']\nExploring Operation: 4*81=324, Resulting Numbers: [324]\n324,85 unequal: No Solution\nExploring Operation: 81-4=77, Resulting Numbers: [77]\n77,85 unequal: No Solution\nExploring Operation: 4+81=85, Resulting Numbers: [85]\n85,85 equal: Goal Reached\n", "role": "assistant" } ]
[ 97, 14, 26, 7 ]
99
[ "97-14=83", "26*7=182", "182-83=99" ]
Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 14*7=98, Resulting Numbers: [97, 26, 98] Generated Node #0,0: 99:[97, 26, 98] Operation: 14*7=98 Moving to Node #0,0 Current State: 99:[97, 26, 98], Operations: ['14*7=98'] Exploring Operation: 97+26=123, Resulting Numbers: [98, 123] Generated Node #0,0,0: 99:[98, 123] Operation: 97+26=123 Moving to Node #0,0,0 Current State: 99:[98, 123], Operations: ['14*7=98', '97+26=123'] Exploring Operation: 123-98=25, Resulting Numbers: [25] 25,99 unequal: No Solution Moving to Node #0,0 Current State: 99:[97, 26, 98], Operations: ['14*7=98'] Exploring Operation: 26+98=124, Resulting Numbers: [97, 124] Generated Node #0,0,1: 99:[97, 124] Operation: 26+98=124 Moving to Node #0,0,1 Current State: 99:[97, 124], Operations: ['14*7=98', '26+98=124'] Exploring Operation: 124-97=27, Resulting Numbers: [27] 27,99 unequal: No Solution Moving to Node #0,0 Current State: 99:[97, 26, 98], Operations: ['14*7=98'] Exploring Operation: 97-26=71, Resulting Numbers: [98, 71] Generated Node #0,0,2: 99:[98, 71] Operation: 97-26=71 Moving to Node #0,0,2 Current State: 99:[98, 71], Operations: ['14*7=98', '97-26=71'] Exploring Operation: 98+71=169, Resulting Numbers: [169] 169,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[98, 71], Operations: ['14*7=98', '97-26=71'] Exploring Operation: 98-71=27, Resulting Numbers: [27] 27,99 unequal: No Solution Moving to Node #0,0 Current State: 99:[97, 26, 98], Operations: ['14*7=98'] Exploring Operation: 98-26=72, Resulting Numbers: [97, 72] Generated Node #0,0,3: 99:[97, 72] Operation: 98-26=72 Moving to Node #0,0,3 Current State: 99:[97, 72], Operations: ['14*7=98', '98-26=72'] Exploring Operation: 97+72=169, Resulting Numbers: [169] 169,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[97, 72], Operations: ['14*7=98', '98-26=72'] Exploring Operation: 97-72=25, Resulting Numbers: [25] 25,99 unequal: No Solution Moving to Node #0,0 Current State: 99:[97, 26, 98], Operations: ['14*7=98'] Exploring Operation: 97+98=195, Resulting Numbers: [26, 195] Generated Node #0,0,4: 99:[26, 195] Operation: 97+98=195 Moving to Node #0,0,4 Current State: 99:[26, 195], Operations: ['14*7=98', '97+98=195'] Exploring Operation: 195-26=169, Resulting Numbers: [169] 169,99 unequal: No Solution Moving to Node #0,0 Current State: 99:[97, 26, 98], Operations: ['14*7=98'] Exploring Operation: 98-97=1, Resulting Numbers: [26, 1] Generated Node #0,0,5: 99:[26, 1] Operation: 98-97=1 Moving to Node #0,0,5 Current State: 99:[26, 1], Operations: ['14*7=98', '98-97=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,99 unequal: No Solution Moving to Node #0,0,5 Current State: 99:[26, 1], Operations: ['14*7=98', '98-97=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,99 unequal: No Solution Moving to Node #0,0,5 Current State: 99:[26, 1], Operations: ['14*7=98', '98-97=1'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,99 unequal: No Solution Moving to Node #0,0,5 Current State: 99:[26, 1], Operations: ['14*7=98', '98-97=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,99 unequal: No Solution Moving to Node #0 Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 14+26=40, Resulting Numbers: [97, 7, 40] Generated Node #0,1: 99:[97, 7, 40] Operation: 14+26=40 Moving to Node #0,1 Current State: 99:[97, 7, 40], Operations: ['14+26=40'] Exploring Operation: 7+40=47, Resulting Numbers: [97, 47] Generated Node #0,1,0: 99:[97, 47] Operation: 7+40=47 Moving to Node #0,1,0 Current State: 99:[97, 47], Operations: ['14+26=40', '7+40=47'] Exploring Operation: 97+47=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[97, 47], Operations: ['14+26=40', '7+40=47'] Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,1 Current State: 99:[97, 7, 40], Operations: ['14+26=40'] Exploring Operation: 97+7=104, Resulting Numbers: [40, 104] Generated Node #0,1,1: 99:[40, 104] Operation: 97+7=104 Moving to Node #0,1,1 Current State: 99:[40, 104], Operations: ['14+26=40', '97+7=104'] Exploring Operation: 104-40=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[40, 104], Operations: ['14+26=40', '97+7=104'] Exploring Operation: 40+104=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,1 Current State: 99:[97, 7, 40], Operations: ['14+26=40'] Exploring Operation: 97-7=90, Resulting Numbers: [40, 90] Generated Node #0,1,2: 99:[40, 90] Operation: 97-7=90 Moving to Node #0,1,2 Current State: 99:[40, 90], Operations: ['14+26=40', '97-7=90'] Exploring Operation: 40+90=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[40, 90], Operations: ['14+26=40', '97-7=90'] Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,1 Current State: 99:[97, 7, 40], Operations: ['14+26=40'] Exploring Operation: 40-7=33, Resulting Numbers: [97, 33] Generated Node #0,1,3: 99:[97, 33] Operation: 40-7=33 Moving to Node #0,1,3 Current State: 99:[97, 33], Operations: ['14+26=40', '40-7=33'] Exploring Operation: 97+33=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[97, 33], Operations: ['14+26=40', '40-7=33'] Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,1 Current State: 99:[97, 7, 40], Operations: ['14+26=40'] Exploring Operation: 97+40=137, Resulting Numbers: [7, 137] Generated Node #0,1,4: 99:[7, 137] Operation: 97+40=137 Moving to Node #0,1,4 Current State: 99:[7, 137], Operations: ['14+26=40', '97+40=137'] Exploring Operation: 137-7=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,1,4 Current State: 99:[7, 137], Operations: ['14+26=40', '97+40=137'] Exploring Operation: 7+137=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,1 Current State: 99:[97, 7, 40], Operations: ['14+26=40'] Exploring Operation: 97-40=57, Resulting Numbers: [7, 57] Generated Node #0,1,5: 99:[7, 57] Operation: 97-40=57 Moving to Node #0,1,5 Current State: 99:[7, 57], Operations: ['14+26=40', '97-40=57'] Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,1,5 Current State: 99:[7, 57], Operations: ['14+26=40', '97-40=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,1 Current State: 99:[97, 7, 40], Operations: ['14+26=40'] Exploring Operation: 7*40=280, Resulting Numbers: [97, 280] Generated Node #0,1,6: 99:[97, 280] Operation: 7*40=280 Moving to Node #0,1,6 Current State: 99:[97, 280], Operations: ['14+26=40', '7*40=280'] Exploring Operation: 280-97=183, Resulting Numbers: [183] 183,99 unequal: No Solution Moving to Node #0 Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 14+7=21, Resulting Numbers: [97, 26, 21] Generated Node #0,2: 99:[97, 26, 21] Operation: 14+7=21 Moving to Node #0,2 Current State: 99:[97, 26, 21], Operations: ['14+7=21'] Exploring Operation: 26+21=47, Resulting Numbers: [97, 47] Generated Node #0,2,0: 99:[97, 47] Operation: 26+21=47 Moving to Node #0,2,0 Current State: 99:[97, 47], Operations: ['14+7=21', '26+21=47'] Exploring Operation: 97+47=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[97, 47], Operations: ['14+7=21', '26+21=47'] Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,2 Current State: 99:[97, 26, 21], Operations: ['14+7=21'] Exploring Operation: 97+21=118, Resulting Numbers: [26, 118] Generated Node #0,2,1: 99:[26, 118] Operation: 97+21=118 Moving to Node #0,2,1 Current State: 99:[26, 118], Operations: ['14+7=21', '97+21=118'] Exploring Operation: 118-26=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[26, 118], Operations: ['14+7=21', '97+21=118'] Exploring Operation: 26+118=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,2 Current State: 99:[97, 26, 21], Operations: ['14+7=21'] Exploring Operation: 97-21=76, Resulting Numbers: [26, 76] Generated Node #0,2,2: 99:[26, 76] Operation: 97-21=76 Moving to Node #0,2,2 Current State: 99:[26, 76], Operations: ['14+7=21', '97-21=76'] Exploring Operation: 26+76=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[26, 76], Operations: ['14+7=21', '97-21=76'] Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,2 Current State: 99:[97, 26, 21], Operations: ['14+7=21'] Exploring Operation: 26-21=5, Resulting Numbers: [97, 5] Generated Node #0,2,3: 99:[97, 5] Operation: 26-21=5 Moving to Node #0,2,3 Current State: 99:[97, 5], Operations: ['14+7=21', '26-21=5'] Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[97, 5], Operations: ['14+7=21', '26-21=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,2 Current State: 99:[97, 26, 21], Operations: ['14+7=21'] Exploring Operation: 97+26=123, Resulting Numbers: [21, 123] Generated Node #0,2,4: 99:[21, 123] Operation: 97+26=123 Moving to Node #0,2,4 Current State: 99:[21, 123], Operations: ['14+7=21', '97+26=123'] Exploring Operation: 123-21=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[21, 123], Operations: ['14+7=21', '97+26=123'] Exploring Operation: 21+123=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,2 Current State: 99:[97, 26, 21], Operations: ['14+7=21'] Exploring Operation: 97-26=71, Resulting Numbers: [21, 71] Generated Node #0,2,5: 99:[21, 71] Operation: 97-26=71 Moving to Node #0,2,5 Current State: 99:[21, 71], Operations: ['14+7=21', '97-26=71'] Exploring Operation: 21+71=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,2,5 Current State: 99:[21, 71], Operations: ['14+7=21', '97-26=71'] Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0 Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 26+7=33, Resulting Numbers: [97, 14, 33] Generated Node #0,3: 99:[97, 14, 33] Operation: 26+7=33 Moving to Node #0,3 Current State: 99:[97, 14, 33], Operations: ['26+7=33'] Exploring Operation: 14+33=47, Resulting Numbers: [97, 47] Generated Node #0,3,0: 99:[97, 47] Operation: 14+33=47 Moving to Node #0,3,0 Current State: 99:[97, 47], Operations: ['26+7=33', '14+33=47'] Exploring Operation: 97+47=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[97, 47], Operations: ['26+7=33', '14+33=47'] Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,3 Current State: 99:[97, 14, 33], Operations: ['26+7=33'] Exploring Operation: 97+14=111, Resulting Numbers: [33, 111] Generated Node #0,3,1: 99:[33, 111] Operation: 97+14=111 Moving to Node #0,3,1 Current State: 99:[33, 111], Operations: ['26+7=33', '97+14=111'] Exploring Operation: 111-33=78, Resulting Numbers: [78] 78,99 unequal: No Solution Moving to Node #0,3,1 Current State: 99:[33, 111], Operations: ['26+7=33', '97+14=111'] Exploring Operation: 33+111=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,3 Current State: 99:[97, 14, 33], Operations: ['26+7=33'] Exploring Operation: 97-14=83, Resulting Numbers: [33, 83] Generated Node #0,3,2: 99:[33, 83] Operation: 97-14=83 Moving to Node #0,3,2 Current State: 99:[33, 83], Operations: ['26+7=33', '97-14=83'] Exploring Operation: 33+83=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[33, 83], Operations: ['26+7=33', '97-14=83'] Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,3 Current State: 99:[97, 14, 33], Operations: ['26+7=33'] Exploring Operation: 33-14=19, Resulting Numbers: [97, 19] Generated Node #0,3,3: 99:[97, 19] Operation: 33-14=19 Moving to Node #0,3,3 Current State: 99:[97, 19], Operations: ['26+7=33', '33-14=19'] Exploring Operation: 97+19=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[97, 19], Operations: ['26+7=33', '33-14=19'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,99 unequal: No Solution Moving to Node #0,3 Current State: 99:[97, 14, 33], Operations: ['26+7=33'] Exploring Operation: 97+33=130, Resulting Numbers: [14, 130] Generated Node #0,3,4: 99:[14, 130] Operation: 97+33=130 Moving to Node #0,3,4 Current State: 99:[14, 130], Operations: ['26+7=33', '97+33=130'] Exploring Operation: 130-14=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[14, 130], Operations: ['26+7=33', '97+33=130'] Exploring Operation: 14+130=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,3 Current State: 99:[97, 14, 33], Operations: ['26+7=33'] Exploring Operation: 97-33=64, Resulting Numbers: [14, 64] Generated Node #0,3,5: 99:[14, 64] Operation: 97-33=64 Moving to Node #0,3,5 Current State: 99:[14, 64], Operations: ['26+7=33', '97-33=64'] Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,99 unequal: No Solution Moving to Node #0,3,5 Current State: 99:[14, 64], Operations: ['26+7=33', '97-33=64'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0 Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 97+7=104, Resulting Numbers: [14, 26, 104] Generated Node #0,4: 99:[14, 26, 104] Operation: 97+7=104 Moving to Node #0,4 Current State: 99:[14, 26, 104], Operations: ['97+7=104'] Exploring Operation: 14+26=40, Resulting Numbers: [104, 40] Generated Node #0,4,0: 99:[104, 40] Operation: 14+26=40 Moving to Node #0,4,0 Current State: 99:[104, 40], Operations: ['97+7=104', '14+26=40'] Exploring Operation: 104-40=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,4,0 Current State: 99:[104, 40], Operations: ['97+7=104', '14+26=40'] Exploring Operation: 104+40=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,4 Current State: 99:[14, 26, 104], Operations: ['97+7=104'] Exploring Operation: 104-14=90, Resulting Numbers: [26, 90] Generated Node #0,4,1: 99:[26, 90] Operation: 104-14=90 Moving to Node #0,4,1 Current State: 99:[26, 90], Operations: ['97+7=104', '104-14=90'] Exploring Operation: 26+90=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,4,1 Current State: 99:[26, 90], Operations: ['97+7=104', '104-14=90'] Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,4 Current State: 99:[14, 26, 104], Operations: ['97+7=104'] Exploring Operation: 26-14=12, Resulting Numbers: [104, 12] Generated Node #0,4,2: 99:[104, 12] Operation: 26-14=12 Moving to Node #0,4,2 Current State: 99:[104, 12], Operations: ['97+7=104', '26-14=12'] Exploring Operation: 104-12=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,4,2 Current State: 99:[104, 12], Operations: ['97+7=104', '26-14=12'] Exploring Operation: 104+12=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,4 Current State: 99:[14, 26, 104], Operations: ['97+7=104'] Exploring Operation: 14+104=118, Resulting Numbers: [26, 118] Generated Node #0,4,3: 99:[26, 118] Operation: 14+104=118 Moving to Node #0,4,3 Current State: 99:[26, 118], Operations: ['97+7=104', '14+104=118'] Exploring Operation: 118-26=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,4,3 Current State: 99:[26, 118], Operations: ['97+7=104', '14+104=118'] Exploring Operation: 26+118=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,4 Current State: 99:[14, 26, 104], Operations: ['97+7=104'] Exploring Operation: 104-26=78, Resulting Numbers: [14, 78] Generated Node #0,4,4: 99:[14, 78] Operation: 104-26=78 Moving to Node #0,4,4 Current State: 99:[14, 78], Operations: ['97+7=104', '104-26=78'] Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,4,4 Current State: 99:[14, 78], Operations: ['97+7=104', '104-26=78'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,4 Current State: 99:[14, 26, 104], Operations: ['97+7=104'] Exploring Operation: 26+104=130, Resulting Numbers: [14, 130] Generated Node #0,4,5: 99:[14, 130] Operation: 26+104=130 Moving to Node #0,4,5 Current State: 99:[14, 130], Operations: ['97+7=104', '26+104=130'] Exploring Operation: 130-14=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,4,5 Current State: 99:[14, 130], Operations: ['97+7=104', '26+104=130'] Exploring Operation: 14+130=144, Resulting Numbers: [144] 144,99 unequal: No Solution Moving to Node #0,4 Current State: 99:[14, 26, 104], Operations: ['97+7=104'] Exploring Operation: 104/26=4, Resulting Numbers: [14, 4] Generated Node #0,4,6: 99:[14, 4] Operation: 104/26=4 Moving to Node #0,4,6 Current State: 99:[14, 4], Operations: ['97+7=104', '104/26=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,99 unequal: No Solution Moving to Node #0,4,6 Current State: 99:[14, 4], Operations: ['97+7=104', '104/26=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,99 unequal: No Solution Moving to Node #0,4,6 Current State: 99:[14, 4], Operations: ['97+7=104', '104/26=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,99 unequal: No Solution Moving to Node #0 Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 97-7=90, Resulting Numbers: [14, 26, 90] Generated Node #0,5: 99:[14, 26, 90] Operation: 97-7=90 Moving to Node #0,5 Current State: 99:[14, 26, 90], Operations: ['97-7=90'] Exploring Operation: 14+26=40, Resulting Numbers: [90, 40] Generated Node #0,5,0: 99:[90, 40] Operation: 14+26=40 Moving to Node #0,5,0 Current State: 99:[90, 40], Operations: ['97-7=90', '14+26=40'] Exploring Operation: 90+40=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,5,0 Current State: 99:[90, 40], Operations: ['97-7=90', '14+26=40'] Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,5 Current State: 99:[14, 26, 90], Operations: ['97-7=90'] Exploring Operation: 14+90=104, Resulting Numbers: [26, 104] Generated Node #0,5,1: 99:[26, 104] Operation: 14+90=104 Moving to Node #0,5,1 Current State: 99:[26, 104], Operations: ['97-7=90', '14+90=104'] Exploring Operation: 104-26=78, Resulting Numbers: [78] 78,99 unequal: No Solution Moving to Node #0,5,1 Current State: 99:[26, 104], Operations: ['97-7=90', '14+90=104'] Exploring Operation: 26+104=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,5,1 Current State: 99:[26, 104], Operations: ['97-7=90', '14+90=104'] Exploring Operation: 104/26=4, Resulting Numbers: [4] 4,99 unequal: No Solution Moving to Node #0,5 Current State: 99:[14, 26, 90], Operations: ['97-7=90'] Exploring Operation: 26-14=12, Resulting Numbers: [90, 12] Generated Node #0,5,2: 99:[90, 12] Operation: 26-14=12 Moving to Node #0,5,2 Current State: 99:[90, 12], Operations: ['97-7=90', '26-14=12'] Exploring Operation: 90+12=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,5,2 Current State: 99:[90, 12], Operations: ['97-7=90', '26-14=12'] Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,99 unequal: No Solution Moving to Node #0,5 Current State: 99:[14, 26, 90], Operations: ['97-7=90'] Exploring Operation: 90-14=76, Resulting Numbers: [26, 76] Generated Node #0,5,3: 99:[26, 76] Operation: 90-14=76 Moving to Node #0,5,3 Current State: 99:[26, 76], Operations: ['97-7=90', '90-14=76'] Exploring Operation: 26+76=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,5,3 Current State: 99:[26, 76], Operations: ['97-7=90', '90-14=76'] Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,5 Current State: 99:[14, 26, 90], Operations: ['97-7=90'] Exploring Operation: 26+90=116, Resulting Numbers: [14, 116] Generated Node #0,5,4: 99:[14, 116] Operation: 26+90=116 Moving to Node #0,5,4 Current State: 99:[14, 116], Operations: ['97-7=90', '26+90=116'] Exploring Operation: 116-14=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,5,4 Current State: 99:[14, 116], Operations: ['97-7=90', '26+90=116'] Exploring Operation: 14+116=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,5 Current State: 99:[14, 26, 90], Operations: ['97-7=90'] Exploring Operation: 90-26=64, Resulting Numbers: [14, 64] Generated Node #0,5,5: 99:[14, 64] Operation: 90-26=64 Moving to Node #0,5,5 Current State: 99:[14, 64], Operations: ['97-7=90', '90-26=64'] Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,99 unequal: No Solution Moving to Node #0,5,5 Current State: 99:[14, 64], Operations: ['97-7=90', '90-26=64'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0 Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 14-7=7, Resulting Numbers: [97, 26, 7] Generated Node #0,6: 99:[97, 26, 7] Operation: 14-7=7 Moving to Node #0,6 Current State: 99:[97, 26, 7], Operations: ['14-7=7'] Exploring Operation: 26+7=33, Resulting Numbers: [97, 33] Generated Node #0,6,0: 99:[97, 33] Operation: 26+7=33 Moving to Node #0,6,0 Current State: 99:[97, 33], Operations: ['14-7=7', '26+7=33'] Exploring Operation: 97+33=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,6,0 Current State: 99:[97, 33], Operations: ['14-7=7', '26+7=33'] Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,6 Current State: 99:[97, 26, 7], Operations: ['14-7=7'] Exploring Operation: 97+7=104, Resulting Numbers: [26, 104] Generated Node #0,6,1: 99:[26, 104] Operation: 97+7=104 Moving to Node #0,6,1 Current State: 99:[26, 104], Operations: ['14-7=7', '97+7=104'] Exploring Operation: 104-26=78, Resulting Numbers: [78] 78,99 unequal: No Solution Moving to Node #0,6,1 Current State: 99:[26, 104], Operations: ['14-7=7', '97+7=104'] Exploring Operation: 26+104=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,6,1 Current State: 99:[26, 104], Operations: ['14-7=7', '97+7=104'] Exploring Operation: 104/26=4, Resulting Numbers: [4] 4,99 unequal: No Solution Moving to Node #0,6 Current State: 99:[97, 26, 7], Operations: ['14-7=7'] Exploring Operation: 97-7=90, Resulting Numbers: [26, 90] Generated Node #0,6,2: 99:[26, 90] Operation: 97-7=90 Moving to Node #0,6,2 Current State: 99:[26, 90], Operations: ['14-7=7', '97-7=90'] Exploring Operation: 26+90=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,6,2 Current State: 99:[26, 90], Operations: ['14-7=7', '97-7=90'] Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,6 Current State: 99:[97, 26, 7], Operations: ['14-7=7'] Exploring Operation: 26-7=19, Resulting Numbers: [97, 19] Generated Node #0,6,3: 99:[97, 19] Operation: 26-7=19 Moving to Node #0,6,3 Current State: 99:[97, 19], Operations: ['14-7=7', '26-7=19'] Exploring Operation: 97+19=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,6,3 Current State: 99:[97, 19], Operations: ['14-7=7', '26-7=19'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,99 unequal: No Solution Moving to Node #0,6 Current State: 99:[97, 26, 7], Operations: ['14-7=7'] Exploring Operation: 26*7=182, Resulting Numbers: [97, 182] Generated Node #0,6,4: 99:[97, 182] Operation: 26*7=182 Moving to Node #0,6,4 Current State: 99:[97, 182], Operations: ['14-7=7', '26*7=182'] Exploring Operation: 182-97=85, Resulting Numbers: [85] 85,99 unequal: No Solution Moving to Node #0,6 Current State: 99:[97, 26, 7], Operations: ['14-7=7'] Exploring Operation: 97+26=123, Resulting Numbers: [7, 123] Generated Node #0,6,5: 99:[7, 123] Operation: 97+26=123 Moving to Node #0,6,5 Current State: 99:[7, 123], Operations: ['14-7=7', '97+26=123'] Exploring Operation: 123-7=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,6,5 Current State: 99:[7, 123], Operations: ['14-7=7', '97+26=123'] Exploring Operation: 7+123=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,6 Current State: 99:[97, 26, 7], Operations: ['14-7=7'] Exploring Operation: 97-26=71, Resulting Numbers: [7, 71] Generated Node #0,6,6: 99:[7, 71] Operation: 97-26=71 Moving to Node #0,6,6 Current State: 99:[7, 71], Operations: ['14-7=7', '97-26=71'] Exploring Operation: 7+71=78, Resulting Numbers: [78] 78,99 unequal: No Solution Moving to Node #0,6,6 Current State: 99:[7, 71], Operations: ['14-7=7', '97-26=71'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0 Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 26-7=19, Resulting Numbers: [97, 14, 19] Generated Node #0,7: 99:[97, 14, 19] Operation: 26-7=19 Moving to Node #0,7 Current State: 99:[97, 14, 19], Operations: ['26-7=19'] Exploring Operation: 14+19=33, Resulting Numbers: [97, 33] Generated Node #0,7,0: 99:[97, 33] Operation: 14+19=33 Moving to Node #0,7,0 Current State: 99:[97, 33], Operations: ['26-7=19', '14+19=33'] Exploring Operation: 97+33=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,7,0 Current State: 99:[97, 33], Operations: ['26-7=19', '14+19=33'] Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,7 Current State: 99:[97, 14, 19], Operations: ['26-7=19'] Exploring Operation: 97+14=111, Resulting Numbers: [19, 111] Generated Node #0,7,1: 99:[19, 111] Operation: 97+14=111 Moving to Node #0,7,1 Current State: 99:[19, 111], Operations: ['26-7=19', '97+14=111'] Exploring Operation: 111-19=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,7,1 Current State: 99:[19, 111], Operations: ['26-7=19', '97+14=111'] Exploring Operation: 19+111=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,7 Current State: 99:[97, 14, 19], Operations: ['26-7=19'] Exploring Operation: 97-14=83, Resulting Numbers: [19, 83] Generated Node #0,7,2: 99:[19, 83] Operation: 97-14=83 Moving to Node #0,7,2 Current State: 99:[19, 83], Operations: ['26-7=19', '97-14=83'] Exploring Operation: 19+83=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,7,2 Current State: 99:[19, 83], Operations: ['26-7=19', '97-14=83'] Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,7 Current State: 99:[97, 14, 19], Operations: ['26-7=19'] Exploring Operation: 19-14=5, Resulting Numbers: [97, 5] Generated Node #0,7,3: 99:[97, 5] Operation: 19-14=5 Moving to Node #0,7,3 Current State: 99:[97, 5], Operations: ['26-7=19', '19-14=5'] Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,7,3 Current State: 99:[97, 5], Operations: ['26-7=19', '19-14=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,7 Current State: 99:[97, 14, 19], Operations: ['26-7=19'] Exploring Operation: 97+19=116, Resulting Numbers: [14, 116] Generated Node #0,7,4: 99:[14, 116] Operation: 97+19=116 Moving to Node #0,7,4 Current State: 99:[14, 116], Operations: ['26-7=19', '97+19=116'] Exploring Operation: 116-14=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,7,4 Current State: 99:[14, 116], Operations: ['26-7=19', '97+19=116'] Exploring Operation: 14+116=130, Resulting Numbers: [130] 130,99 unequal: No Solution Moving to Node #0,7 Current State: 99:[97, 14, 19], Operations: ['26-7=19'] Exploring Operation: 97-19=78, Resulting Numbers: [14, 78] Generated Node #0,7,5: 99:[14, 78] Operation: 97-19=78 Moving to Node #0,7,5 Current State: 99:[14, 78], Operations: ['26-7=19', '97-19=78'] Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,7,5 Current State: 99:[14, 78], Operations: ['26-7=19', '97-19=78'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,7 Current State: 99:[97, 14, 19], Operations: ['26-7=19'] Exploring Operation: 14*19=266, Resulting Numbers: [97, 266] Generated Node #0,7,6: 99:[97, 266] Operation: 14*19=266 Moving to Node #0,7,6 Current State: 99:[97, 266], Operations: ['26-7=19', '14*19=266'] Exploring Operation: 266-97=169, Resulting Numbers: [169] 169,99 unequal: No Solution Moving to Node #0 Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 26*7=182, Resulting Numbers: [97, 14, 182] Generated Node #0,8: 99:[97, 14, 182] Operation: 26*7=182 Moving to Node #0,8 Current State: 99:[97, 14, 182], Operations: ['26*7=182'] Exploring Operation: 182-14=168, Resulting Numbers: [97, 168] Generated Node #0,8,0: 99:[97, 168] Operation: 182-14=168 Moving to Node #0,8,0 Current State: 99:[97, 168], Operations: ['26*7=182', '182-14=168'] Exploring Operation: 168-97=71, Resulting Numbers: [71] 71,99 unequal: No Solution Moving to Node #0,8 Current State: 99:[97, 14, 182], Operations: ['26*7=182'] Exploring Operation: 182/14=13, Resulting Numbers: [97, 13] Generated Node #0,8,1: 99:[97, 13] Operation: 182/14=13 Moving to Node #0,8,1 Current State: 99:[97, 13], Operations: ['26*7=182', '182/14=13'] Exploring Operation: 97+13=110, Resulting Numbers: [110] 110,99 unequal: No Solution Moving to Node #0,8,1 Current State: 99:[97, 13], Operations: ['26*7=182', '182/14=13'] Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,99 unequal: No Solution Moving to Node #0,8 Current State: 99:[97, 14, 182], Operations: ['26*7=182'] Exploring Operation: 97+14=111, Resulting Numbers: [182, 111] Generated Node #0,8,2: 99:[182, 111] Operation: 97+14=111 Moving to Node #0,8,2 Current State: 99:[182, 111], Operations: ['26*7=182', '97+14=111'] Exploring Operation: 182-111=71, Resulting Numbers: [71] 71,99 unequal: No Solution Moving to Node #0,8 Current State: 99:[97, 14, 182], Operations: ['26*7=182'] Exploring Operation: 97-14=83, Resulting Numbers: [182, 83] Generated Node #0,8,3: 99:[182, 83] Operation: 97-14=83 Moving to Node #0,8,3 Current State: 99:[182, 83], Operations: ['26*7=182', '97-14=83'] Exploring Operation: 182-83=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.848958
dfs
Current State: 99:[97, 14, 26, 7], Operations: [] Exploring Operation: 97-14=83, Resulting Numbers: [26, 7, 83] Generated Node #2: [26, 7, 83] from Operation: 97-14=83 Current State: 99:[26, 7, 83], Operations: ['97-14=83'] Exploring Operation: 26*7=182, Resulting Numbers: [83, 182] Generated Node #3: [83, 182] from Operation: 26*7=182 Current State: 99:[83, 182], Operations: ['97-14=83', '26*7=182'] Exploring Operation: 182-83=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
sum_heuristic
[ { "content": "Make 99 with the numbers [97, 14, 26, 7] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 99:[97, 14, 26, 7], Operations: []\nExploring Operation: 14*7=98, Resulting Numbers: [97, 26, 98]\nGenerated Node #0,0: 99:[97, 26, 98] Operation: 14*7=98\nMoving to Node #0,0\nCurrent State: 99:[97, 26, 98], Operations: ['14*7=98']\nExploring Operation: 97+26=123, Resulting Numbers: [98, 123]\nGenerated Node #0,0,0: 99:[98, 123] Operation: 97+26=123\nMoving to Node #0,0,0\nCurrent State: 99:[98, 123], Operations: ['14*7=98', '97+26=123']\nExploring Operation: 123-98=25, Resulting Numbers: [25]\n25,99 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 99:[97, 26, 98], Operations: ['14*7=98']\nExploring Operation: 26+98=124, Resulting Numbers: [97, 124]\nGenerated Node #0,0,1: 99:[97, 124] Operation: 26+98=124\nMoving to Node #0,0,1\nCurrent State: 99:[97, 124], Operations: ['14*7=98', '26+98=124']\nExploring Operation: 124-97=27, Resulting Numbers: [27]\n27,99 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 99:[97, 26, 98], Operations: ['14*7=98']\nExploring Operation: 97-26=71, Resulting Numbers: [98, 71]\nGenerated Node #0,0,2: 99:[98, 71] Operation: 97-26=71\nMoving to Node #0,0,2\nCurrent State: 99:[98, 71], Operations: ['14*7=98', '97-26=71']\nExploring Operation: 98+71=169, Resulting Numbers: [169]\n169,99 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 99:[98, 71], Operations: ['14*7=98', '97-26=71']\nExploring Operation: 98-71=27, Resulting Numbers: [27]\n27,99 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 99:[97, 26, 98], Operations: ['14*7=98']\nExploring Operation: 98-26=72, Resulting Numbers: [97, 72]\nGenerated Node #0,0,3: 99:[97, 72] Operation: 98-26=72\nMoving to Node #0,0,3\nCurrent State: 99:[97, 72], Operations: ['14*7=98', '98-26=72']\nExploring Operation: 97+72=169, Resulting Numbers: [169]\n169,99 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 99:[97, 72], Operations: ['14*7=98', '98-26=72']\nExploring Operation: 97-72=25, Resulting Numbers: [25]\n25,99 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 99:[97, 26, 98], Operations: ['14*7=98']\nExploring Operation: 97+98=195, Resulting Numbers: [26, 195]\nGenerated Node #0,0,4: 99:[26, 195] Operation: 97+98=195\nMoving to Node #0,0,4\nCurrent State: 99:[26, 195], Operations: ['14*7=98', '97+98=195']\nExploring Operation: 195-26=169, Resulting Numbers: [169]\n169,99 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 99:[97, 26, 98], Operations: ['14*7=98']\nExploring Operation: 98-97=1, Resulting Numbers: [26, 1]\nGenerated Node #0,0,5: 99:[26, 1] Operation: 98-97=1\nMoving to Node #0,0,5\nCurrent State: 99:[26, 1], Operations: ['14*7=98', '98-97=1']\nExploring Operation: 26+1=27, Resulting Numbers: [27]\n27,99 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 99:[26, 1], Operations: ['14*7=98', '98-97=1']\nExploring Operation: 26*1=26, Resulting Numbers: [26]\n26,99 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 99:[26, 1], Operations: ['14*7=98', '98-97=1']\nExploring Operation: 26/1=26, Resulting Numbers: [26]\n26,99 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 99:[26, 1], Operations: ['14*7=98', '98-97=1']\nExploring Operation: 26-1=25, Resulting Numbers: [25]\n25,99 unequal: No Solution\nMoving to Node #0\nCurrent State: 99:[97, 14, 26, 7], Operations: []\nExploring Operation: 14+26=40, Resulting Numbers: [97, 7, 40]\nGenerated Node #0,1: 99:[97, 7, 40] Operation: 14+26=40\nMoving to Node #0,1\nCurrent State: 99:[97, 7, 40], Operations: ['14+26=40']\nExploring Operation: 7+40=47, Resulting Numbers: [97, 47]\nGenerated Node #0,1,0: 99:[97, 47] Operation: 7+40=47\nMoving to Node #0,1,0\nCurrent State: 99:[97, 47], Operations: ['14+26=40', '7+40=47']\nExploring Operation: 97+47=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 99:[97, 47], Operations: ['14+26=40', '7+40=47']\nExploring Operation: 97-47=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 99:[97, 7, 40], Operations: ['14+26=40']\nExploring Operation: 97+7=104, Resulting Numbers: [40, 104]\nGenerated Node #0,1,1: 99:[40, 104] Operation: 97+7=104\nMoving to Node #0,1,1\nCurrent State: 99:[40, 104], Operations: ['14+26=40', '97+7=104']\nExploring Operation: 104-40=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 99:[40, 104], Operations: ['14+26=40', '97+7=104']\nExploring Operation: 40+104=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 99:[97, 7, 40], Operations: ['14+26=40']\nExploring Operation: 97-7=90, Resulting Numbers: [40, 90]\nGenerated Node #0,1,2: 99:[40, 90] Operation: 97-7=90\nMoving to Node #0,1,2\nCurrent State: 99:[40, 90], Operations: ['14+26=40', '97-7=90']\nExploring Operation: 40+90=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 99:[40, 90], Operations: ['14+26=40', '97-7=90']\nExploring Operation: 90-40=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 99:[97, 7, 40], Operations: ['14+26=40']\nExploring Operation: 40-7=33, Resulting Numbers: [97, 33]\nGenerated Node #0,1,3: 99:[97, 33] Operation: 40-7=33\nMoving to Node #0,1,3\nCurrent State: 99:[97, 33], Operations: ['14+26=40', '40-7=33']\nExploring Operation: 97+33=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 99:[97, 33], Operations: ['14+26=40', '40-7=33']\nExploring Operation: 97-33=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 99:[97, 7, 40], Operations: ['14+26=40']\nExploring Operation: 97+40=137, Resulting Numbers: [7, 137]\nGenerated Node #0,1,4: 99:[7, 137] Operation: 97+40=137\nMoving to Node #0,1,4\nCurrent State: 99:[7, 137], Operations: ['14+26=40', '97+40=137']\nExploring Operation: 137-7=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 99:[7, 137], Operations: ['14+26=40', '97+40=137']\nExploring Operation: 7+137=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 99:[97, 7, 40], Operations: ['14+26=40']\nExploring Operation: 97-40=57, Resulting Numbers: [7, 57]\nGenerated Node #0,1,5: 99:[7, 57] Operation: 97-40=57\nMoving to Node #0,1,5\nCurrent State: 99:[7, 57], Operations: ['14+26=40', '97-40=57']\nExploring Operation: 7+57=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 99:[7, 57], Operations: ['14+26=40', '97-40=57']\nExploring Operation: 57-7=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 99:[97, 7, 40], Operations: ['14+26=40']\nExploring Operation: 7*40=280, Resulting Numbers: [97, 280]\nGenerated Node #0,1,6: 99:[97, 280] Operation: 7*40=280\nMoving to Node #0,1,6\nCurrent State: 99:[97, 280], Operations: ['14+26=40', '7*40=280']\nExploring Operation: 280-97=183, Resulting Numbers: [183]\n183,99 unequal: No Solution\nMoving to Node #0\nCurrent State: 99:[97, 14, 26, 7], Operations: []\nExploring Operation: 14+7=21, Resulting Numbers: [97, 26, 21]\nGenerated Node #0,2: 99:[97, 26, 21] Operation: 14+7=21\nMoving to Node #0,2\nCurrent State: 99:[97, 26, 21], Operations: ['14+7=21']\nExploring Operation: 26+21=47, Resulting Numbers: [97, 47]\nGenerated Node #0,2,0: 99:[97, 47] Operation: 26+21=47\nMoving to Node #0,2,0\nCurrent State: 99:[97, 47], Operations: ['14+7=21', '26+21=47']\nExploring Operation: 97+47=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 99:[97, 47], Operations: ['14+7=21', '26+21=47']\nExploring Operation: 97-47=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 99:[97, 26, 21], Operations: ['14+7=21']\nExploring Operation: 97+21=118, Resulting Numbers: [26, 118]\nGenerated Node #0,2,1: 99:[26, 118] Operation: 97+21=118\nMoving to Node #0,2,1\nCurrent State: 99:[26, 118], Operations: ['14+7=21', '97+21=118']\nExploring Operation: 118-26=92, Resulting Numbers: [92]\n92,99 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 99:[26, 118], Operations: ['14+7=21', '97+21=118']\nExploring Operation: 26+118=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 99:[97, 26, 21], Operations: ['14+7=21']\nExploring Operation: 97-21=76, Resulting Numbers: [26, 76]\nGenerated Node #0,2,2: 99:[26, 76] Operation: 97-21=76\nMoving to Node #0,2,2\nCurrent State: 99:[26, 76], Operations: ['14+7=21', '97-21=76']\nExploring Operation: 26+76=102, Resulting Numbers: [102]\n102,99 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 99:[26, 76], Operations: ['14+7=21', '97-21=76']\nExploring Operation: 76-26=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 99:[97, 26, 21], Operations: ['14+7=21']\nExploring Operation: 26-21=5, Resulting Numbers: [97, 5]\nGenerated Node #0,2,3: 99:[97, 5] Operation: 26-21=5\nMoving to Node #0,2,3\nCurrent State: 99:[97, 5], Operations: ['14+7=21', '26-21=5']\nExploring Operation: 97+5=102, Resulting Numbers: [102]\n102,99 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 99:[97, 5], Operations: ['14+7=21', '26-21=5']\nExploring Operation: 97-5=92, Resulting Numbers: [92]\n92,99 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 99:[97, 26, 21], Operations: ['14+7=21']\nExploring Operation: 97+26=123, Resulting Numbers: [21, 123]\nGenerated Node #0,2,4: 99:[21, 123] Operation: 97+26=123\nMoving to Node #0,2,4\nCurrent State: 99:[21, 123], Operations: ['14+7=21', '97+26=123']\nExploring Operation: 123-21=102, Resulting Numbers: [102]\n102,99 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 99:[21, 123], Operations: ['14+7=21', '97+26=123']\nExploring Operation: 21+123=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 99:[97, 26, 21], Operations: ['14+7=21']\nExploring Operation: 97-26=71, Resulting Numbers: [21, 71]\nGenerated Node #0,2,5: 99:[21, 71] Operation: 97-26=71\nMoving to Node #0,2,5\nCurrent State: 99:[21, 71], Operations: ['14+7=21', '97-26=71']\nExploring Operation: 21+71=92, Resulting Numbers: [92]\n92,99 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 99:[21, 71], Operations: ['14+7=21', '97-26=71']\nExploring Operation: 71-21=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0\nCurrent State: 99:[97, 14, 26, 7], Operations: []\nExploring Operation: 26+7=33, Resulting Numbers: [97, 14, 33]\nGenerated Node #0,3: 99:[97, 14, 33] Operation: 26+7=33\nMoving to Node #0,3\nCurrent State: 99:[97, 14, 33], Operations: ['26+7=33']\nExploring Operation: 14+33=47, Resulting Numbers: [97, 47]\nGenerated Node #0,3,0: 99:[97, 47] Operation: 14+33=47\nMoving to Node #0,3,0\nCurrent State: 99:[97, 47], Operations: ['26+7=33', '14+33=47']\nExploring Operation: 97+47=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 99:[97, 47], Operations: ['26+7=33', '14+33=47']\nExploring Operation: 97-47=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 99:[97, 14, 33], Operations: ['26+7=33']\nExploring Operation: 97+14=111, Resulting Numbers: [33, 111]\nGenerated Node #0,3,1: 99:[33, 111] Operation: 97+14=111\nMoving to Node #0,3,1\nCurrent State: 99:[33, 111], Operations: ['26+7=33', '97+14=111']\nExploring Operation: 111-33=78, Resulting Numbers: [78]\n78,99 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 99:[33, 111], Operations: ['26+7=33', '97+14=111']\nExploring Operation: 33+111=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 99:[97, 14, 33], Operations: ['26+7=33']\nExploring Operation: 97-14=83, Resulting Numbers: [33, 83]\nGenerated Node #0,3,2: 99:[33, 83] Operation: 97-14=83\nMoving to Node #0,3,2\nCurrent State: 99:[33, 83], Operations: ['26+7=33', '97-14=83']\nExploring Operation: 33+83=116, Resulting Numbers: [116]\n116,99 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 99:[33, 83], Operations: ['26+7=33', '97-14=83']\nExploring Operation: 83-33=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 99:[97, 14, 33], Operations: ['26+7=33']\nExploring Operation: 33-14=19, Resulting Numbers: [97, 19]\nGenerated Node #0,3,3: 99:[97, 19] Operation: 33-14=19\nMoving to Node #0,3,3\nCurrent State: 99:[97, 19], Operations: ['26+7=33', '33-14=19']\nExploring Operation: 97+19=116, Resulting Numbers: [116]\n116,99 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 99:[97, 19], Operations: ['26+7=33', '33-14=19']\nExploring Operation: 97-19=78, Resulting Numbers: [78]\n78,99 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 99:[97, 14, 33], Operations: ['26+7=33']\nExploring Operation: 97+33=130, Resulting Numbers: [14, 130]\nGenerated Node #0,3,4: 99:[14, 130] Operation: 97+33=130\nMoving to Node #0,3,4\nCurrent State: 99:[14, 130], Operations: ['26+7=33', '97+33=130']\nExploring Operation: 130-14=116, Resulting Numbers: [116]\n116,99 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 99:[14, 130], Operations: ['26+7=33', '97+33=130']\nExploring Operation: 14+130=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 99:[97, 14, 33], Operations: ['26+7=33']\nExploring Operation: 97-33=64, Resulting Numbers: [14, 64]\nGenerated Node #0,3,5: 99:[14, 64] Operation: 97-33=64\nMoving to Node #0,3,5\nCurrent State: 99:[14, 64], Operations: ['26+7=33', '97-33=64']\nExploring Operation: 14+64=78, Resulting Numbers: [78]\n78,99 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 99:[14, 64], Operations: ['26+7=33', '97-33=64']\nExploring Operation: 64-14=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0\nCurrent State: 99:[97, 14, 26, 7], Operations: []\nExploring Operation: 97+7=104, Resulting Numbers: [14, 26, 104]\nGenerated Node #0,4: 99:[14, 26, 104] Operation: 97+7=104\nMoving to Node #0,4\nCurrent State: 99:[14, 26, 104], Operations: ['97+7=104']\nExploring Operation: 14+26=40, Resulting Numbers: [104, 40]\nGenerated Node #0,4,0: 99:[104, 40] Operation: 14+26=40\nMoving to Node #0,4,0\nCurrent State: 99:[104, 40], Operations: ['97+7=104', '14+26=40']\nExploring Operation: 104-40=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 99:[104, 40], Operations: ['97+7=104', '14+26=40']\nExploring Operation: 104+40=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 99:[14, 26, 104], Operations: ['97+7=104']\nExploring Operation: 104-14=90, Resulting Numbers: [26, 90]\nGenerated Node #0,4,1: 99:[26, 90] Operation: 104-14=90\nMoving to Node #0,4,1\nCurrent State: 99:[26, 90], Operations: ['97+7=104', '104-14=90']\nExploring Operation: 26+90=116, Resulting Numbers: [116]\n116,99 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 99:[26, 90], Operations: ['97+7=104', '104-14=90']\nExploring Operation: 90-26=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 99:[14, 26, 104], Operations: ['97+7=104']\nExploring Operation: 26-14=12, Resulting Numbers: [104, 12]\nGenerated Node #0,4,2: 99:[104, 12] Operation: 26-14=12\nMoving to Node #0,4,2\nCurrent State: 99:[104, 12], Operations: ['97+7=104', '26-14=12']\nExploring Operation: 104-12=92, Resulting Numbers: [92]\n92,99 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 99:[104, 12], Operations: ['97+7=104', '26-14=12']\nExploring Operation: 104+12=116, Resulting Numbers: [116]\n116,99 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 99:[14, 26, 104], Operations: ['97+7=104']\nExploring Operation: 14+104=118, Resulting Numbers: [26, 118]\nGenerated Node #0,4,3: 99:[26, 118] Operation: 14+104=118\nMoving to Node #0,4,3\nCurrent State: 99:[26, 118], Operations: ['97+7=104', '14+104=118']\nExploring Operation: 118-26=92, Resulting Numbers: [92]\n92,99 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 99:[26, 118], Operations: ['97+7=104', '14+104=118']\nExploring Operation: 26+118=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 99:[14, 26, 104], Operations: ['97+7=104']\nExploring Operation: 104-26=78, Resulting Numbers: [14, 78]\nGenerated Node #0,4,4: 99:[14, 78] Operation: 104-26=78\nMoving to Node #0,4,4\nCurrent State: 99:[14, 78], Operations: ['97+7=104', '104-26=78']\nExploring Operation: 14+78=92, Resulting Numbers: [92]\n92,99 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 99:[14, 78], Operations: ['97+7=104', '104-26=78']\nExploring Operation: 78-14=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 99:[14, 26, 104], Operations: ['97+7=104']\nExploring Operation: 26+104=130, Resulting Numbers: [14, 130]\nGenerated Node #0,4,5: 99:[14, 130] Operation: 26+104=130\nMoving to Node #0,4,5\nCurrent State: 99:[14, 130], Operations: ['97+7=104', '26+104=130']\nExploring Operation: 130-14=116, Resulting Numbers: [116]\n116,99 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 99:[14, 130], Operations: ['97+7=104', '26+104=130']\nExploring Operation: 14+130=144, Resulting Numbers: [144]\n144,99 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 99:[14, 26, 104], Operations: ['97+7=104']\nExploring Operation: 104/26=4, Resulting Numbers: [14, 4]\nGenerated Node #0,4,6: 99:[14, 4] Operation: 104/26=4\nMoving to Node #0,4,6\nCurrent State: 99:[14, 4], Operations: ['97+7=104', '104/26=4']\nExploring Operation: 14*4=56, Resulting Numbers: [56]\n56,99 unequal: No Solution\nMoving to Node #0,4,6\nCurrent State: 99:[14, 4], Operations: ['97+7=104', '104/26=4']\nExploring Operation: 14+4=18, Resulting Numbers: [18]\n18,99 unequal: No Solution\nMoving to Node #0,4,6\nCurrent State: 99:[14, 4], Operations: ['97+7=104', '104/26=4']\nExploring Operation: 14-4=10, Resulting Numbers: [10]\n10,99 unequal: No Solution\nMoving to Node #0\nCurrent State: 99:[97, 14, 26, 7], Operations: []\nExploring Operation: 97-7=90, Resulting Numbers: [14, 26, 90]\nGenerated Node #0,5: 99:[14, 26, 90] Operation: 97-7=90\nMoving to Node #0,5\nCurrent State: 99:[14, 26, 90], Operations: ['97-7=90']\nExploring Operation: 14+26=40, Resulting Numbers: [90, 40]\nGenerated Node #0,5,0: 99:[90, 40] Operation: 14+26=40\nMoving to Node #0,5,0\nCurrent State: 99:[90, 40], Operations: ['97-7=90', '14+26=40']\nExploring Operation: 90+40=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 99:[90, 40], Operations: ['97-7=90', '14+26=40']\nExploring Operation: 90-40=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 99:[14, 26, 90], Operations: ['97-7=90']\nExploring Operation: 14+90=104, Resulting Numbers: [26, 104]\nGenerated Node #0,5,1: 99:[26, 104] Operation: 14+90=104\nMoving to Node #0,5,1\nCurrent State: 99:[26, 104], Operations: ['97-7=90', '14+90=104']\nExploring Operation: 104-26=78, Resulting Numbers: [78]\n78,99 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 99:[26, 104], Operations: ['97-7=90', '14+90=104']\nExploring Operation: 26+104=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 99:[26, 104], Operations: ['97-7=90', '14+90=104']\nExploring Operation: 104/26=4, Resulting Numbers: [4]\n4,99 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 99:[14, 26, 90], Operations: ['97-7=90']\nExploring Operation: 26-14=12, Resulting Numbers: [90, 12]\nGenerated Node #0,5,2: 99:[90, 12] Operation: 26-14=12\nMoving to Node #0,5,2\nCurrent State: 99:[90, 12], Operations: ['97-7=90', '26-14=12']\nExploring Operation: 90+12=102, Resulting Numbers: [102]\n102,99 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 99:[90, 12], Operations: ['97-7=90', '26-14=12']\nExploring Operation: 90-12=78, Resulting Numbers: [78]\n78,99 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 99:[14, 26, 90], Operations: ['97-7=90']\nExploring Operation: 90-14=76, Resulting Numbers: [26, 76]\nGenerated Node #0,5,3: 99:[26, 76] Operation: 90-14=76\nMoving to Node #0,5,3\nCurrent State: 99:[26, 76], Operations: ['97-7=90', '90-14=76']\nExploring Operation: 26+76=102, Resulting Numbers: [102]\n102,99 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 99:[26, 76], Operations: ['97-7=90', '90-14=76']\nExploring Operation: 76-26=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 99:[14, 26, 90], Operations: ['97-7=90']\nExploring Operation: 26+90=116, Resulting Numbers: [14, 116]\nGenerated Node #0,5,4: 99:[14, 116] Operation: 26+90=116\nMoving to Node #0,5,4\nCurrent State: 99:[14, 116], Operations: ['97-7=90', '26+90=116']\nExploring Operation: 116-14=102, Resulting Numbers: [102]\n102,99 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 99:[14, 116], Operations: ['97-7=90', '26+90=116']\nExploring Operation: 14+116=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 99:[14, 26, 90], Operations: ['97-7=90']\nExploring Operation: 90-26=64, Resulting Numbers: [14, 64]\nGenerated Node #0,5,5: 99:[14, 64] Operation: 90-26=64\nMoving to Node #0,5,5\nCurrent State: 99:[14, 64], Operations: ['97-7=90', '90-26=64']\nExploring Operation: 14+64=78, Resulting Numbers: [78]\n78,99 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 99:[14, 64], Operations: ['97-7=90', '90-26=64']\nExploring Operation: 64-14=50, Resulting Numbers: [50]\n50,99 unequal: No Solution\nMoving to Node #0\nCurrent State: 99:[97, 14, 26, 7], Operations: []\nExploring Operation: 14-7=7, Resulting Numbers: [97, 26, 7]\nGenerated Node #0,6: 99:[97, 26, 7] Operation: 14-7=7\nMoving to Node #0,6\nCurrent State: 99:[97, 26, 7], Operations: ['14-7=7']\nExploring Operation: 26+7=33, Resulting Numbers: [97, 33]\nGenerated Node #0,6,0: 99:[97, 33] Operation: 26+7=33\nMoving to Node #0,6,0\nCurrent State: 99:[97, 33], Operations: ['14-7=7', '26+7=33']\nExploring Operation: 97+33=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 99:[97, 33], Operations: ['14-7=7', '26+7=33']\nExploring Operation: 97-33=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 99:[97, 26, 7], Operations: ['14-7=7']\nExploring Operation: 97+7=104, Resulting Numbers: [26, 104]\nGenerated Node #0,6,1: 99:[26, 104] Operation: 97+7=104\nMoving to Node #0,6,1\nCurrent State: 99:[26, 104], Operations: ['14-7=7', '97+7=104']\nExploring Operation: 104-26=78, Resulting Numbers: [78]\n78,99 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 99:[26, 104], Operations: ['14-7=7', '97+7=104']\nExploring Operation: 26+104=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 99:[26, 104], Operations: ['14-7=7', '97+7=104']\nExploring Operation: 104/26=4, Resulting Numbers: [4]\n4,99 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 99:[97, 26, 7], Operations: ['14-7=7']\nExploring Operation: 97-7=90, Resulting Numbers: [26, 90]\nGenerated Node #0,6,2: 99:[26, 90] Operation: 97-7=90\nMoving to Node #0,6,2\nCurrent State: 99:[26, 90], Operations: ['14-7=7', '97-7=90']\nExploring Operation: 26+90=116, Resulting Numbers: [116]\n116,99 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 99:[26, 90], Operations: ['14-7=7', '97-7=90']\nExploring Operation: 90-26=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 99:[97, 26, 7], Operations: ['14-7=7']\nExploring Operation: 26-7=19, Resulting Numbers: [97, 19]\nGenerated Node #0,6,3: 99:[97, 19] Operation: 26-7=19\nMoving to Node #0,6,3\nCurrent State: 99:[97, 19], Operations: ['14-7=7', '26-7=19']\nExploring Operation: 97+19=116, Resulting Numbers: [116]\n116,99 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 99:[97, 19], Operations: ['14-7=7', '26-7=19']\nExploring Operation: 97-19=78, Resulting Numbers: [78]\n78,99 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 99:[97, 26, 7], Operations: ['14-7=7']\nExploring Operation: 26*7=182, Resulting Numbers: [97, 182]\nGenerated Node #0,6,4: 99:[97, 182] Operation: 26*7=182\nMoving to Node #0,6,4\nCurrent State: 99:[97, 182], Operations: ['14-7=7', '26*7=182']\nExploring Operation: 182-97=85, Resulting Numbers: [85]\n85,99 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 99:[97, 26, 7], Operations: ['14-7=7']\nExploring Operation: 97+26=123, Resulting Numbers: [7, 123]\nGenerated Node #0,6,5: 99:[7, 123] Operation: 97+26=123\nMoving to Node #0,6,5\nCurrent State: 99:[7, 123], Operations: ['14-7=7', '97+26=123']\nExploring Operation: 123-7=116, Resulting Numbers: [116]\n116,99 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 99:[7, 123], Operations: ['14-7=7', '97+26=123']\nExploring Operation: 7+123=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 99:[97, 26, 7], Operations: ['14-7=7']\nExploring Operation: 97-26=71, Resulting Numbers: [7, 71]\nGenerated Node #0,6,6: 99:[7, 71] Operation: 97-26=71\nMoving to Node #0,6,6\nCurrent State: 99:[7, 71], Operations: ['14-7=7', '97-26=71']\nExploring Operation: 7+71=78, Resulting Numbers: [78]\n78,99 unequal: No Solution\nMoving to Node #0,6,6\nCurrent State: 99:[7, 71], Operations: ['14-7=7', '97-26=71']\nExploring Operation: 71-7=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0\nCurrent State: 99:[97, 14, 26, 7], Operations: []\nExploring Operation: 26-7=19, Resulting Numbers: [97, 14, 19]\nGenerated Node #0,7: 99:[97, 14, 19] Operation: 26-7=19\nMoving to Node #0,7\nCurrent State: 99:[97, 14, 19], Operations: ['26-7=19']\nExploring Operation: 14+19=33, Resulting Numbers: [97, 33]\nGenerated Node #0,7,0: 99:[97, 33] Operation: 14+19=33\nMoving to Node #0,7,0\nCurrent State: 99:[97, 33], Operations: ['26-7=19', '14+19=33']\nExploring Operation: 97+33=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 99:[97, 33], Operations: ['26-7=19', '14+19=33']\nExploring Operation: 97-33=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 99:[97, 14, 19], Operations: ['26-7=19']\nExploring Operation: 97+14=111, Resulting Numbers: [19, 111]\nGenerated Node #0,7,1: 99:[19, 111] Operation: 97+14=111\nMoving to Node #0,7,1\nCurrent State: 99:[19, 111], Operations: ['26-7=19', '97+14=111']\nExploring Operation: 111-19=92, Resulting Numbers: [92]\n92,99 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 99:[19, 111], Operations: ['26-7=19', '97+14=111']\nExploring Operation: 19+111=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 99:[97, 14, 19], Operations: ['26-7=19']\nExploring Operation: 97-14=83, Resulting Numbers: [19, 83]\nGenerated Node #0,7,2: 99:[19, 83] Operation: 97-14=83\nMoving to Node #0,7,2\nCurrent State: 99:[19, 83], Operations: ['26-7=19', '97-14=83']\nExploring Operation: 19+83=102, Resulting Numbers: [102]\n102,99 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 99:[19, 83], Operations: ['26-7=19', '97-14=83']\nExploring Operation: 83-19=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 99:[97, 14, 19], Operations: ['26-7=19']\nExploring Operation: 19-14=5, Resulting Numbers: [97, 5]\nGenerated Node #0,7,3: 99:[97, 5] Operation: 19-14=5\nMoving to Node #0,7,3\nCurrent State: 99:[97, 5], Operations: ['26-7=19', '19-14=5']\nExploring Operation: 97+5=102, Resulting Numbers: [102]\n102,99 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 99:[97, 5], Operations: ['26-7=19', '19-14=5']\nExploring Operation: 97-5=92, Resulting Numbers: [92]\n92,99 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 99:[97, 14, 19], Operations: ['26-7=19']\nExploring Operation: 97+19=116, Resulting Numbers: [14, 116]\nGenerated Node #0,7,4: 99:[14, 116] Operation: 97+19=116\nMoving to Node #0,7,4\nCurrent State: 99:[14, 116], Operations: ['26-7=19', '97+19=116']\nExploring Operation: 116-14=102, Resulting Numbers: [102]\n102,99 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 99:[14, 116], Operations: ['26-7=19', '97+19=116']\nExploring Operation: 14+116=130, Resulting Numbers: [130]\n130,99 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 99:[97, 14, 19], Operations: ['26-7=19']\nExploring Operation: 97-19=78, Resulting Numbers: [14, 78]\nGenerated Node #0,7,5: 99:[14, 78] Operation: 97-19=78\nMoving to Node #0,7,5\nCurrent State: 99:[14, 78], Operations: ['26-7=19', '97-19=78']\nExploring Operation: 14+78=92, Resulting Numbers: [92]\n92,99 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 99:[14, 78], Operations: ['26-7=19', '97-19=78']\nExploring Operation: 78-14=64, Resulting Numbers: [64]\n64,99 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 99:[97, 14, 19], Operations: ['26-7=19']\nExploring Operation: 14*19=266, Resulting Numbers: [97, 266]\nGenerated Node #0,7,6: 99:[97, 266] Operation: 14*19=266\nMoving to Node #0,7,6\nCurrent State: 99:[97, 266], Operations: ['26-7=19', '14*19=266']\nExploring Operation: 266-97=169, Resulting Numbers: [169]\n169,99 unequal: No Solution\nMoving to Node #0\nCurrent State: 99:[97, 14, 26, 7], Operations: []\nExploring Operation: 26*7=182, Resulting Numbers: [97, 14, 182]\nGenerated Node #0,8: 99:[97, 14, 182] Operation: 26*7=182\nMoving to Node #0,8\nCurrent State: 99:[97, 14, 182], Operations: ['26*7=182']\nExploring Operation: 182-14=168, Resulting Numbers: [97, 168]\nGenerated Node #0,8,0: 99:[97, 168] Operation: 182-14=168\nMoving to Node #0,8,0\nCurrent State: 99:[97, 168], Operations: ['26*7=182', '182-14=168']\nExploring Operation: 168-97=71, Resulting Numbers: [71]\n71,99 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 99:[97, 14, 182], Operations: ['26*7=182']\nExploring Operation: 182/14=13, Resulting Numbers: [97, 13]\nGenerated Node #0,8,1: 99:[97, 13] Operation: 182/14=13\nMoving to Node #0,8,1\nCurrent State: 99:[97, 13], Operations: ['26*7=182', '182/14=13']\nExploring Operation: 97+13=110, Resulting Numbers: [110]\n110,99 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 99:[97, 13], Operations: ['26*7=182', '182/14=13']\nExploring Operation: 97-13=84, Resulting Numbers: [84]\n84,99 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 99:[97, 14, 182], Operations: ['26*7=182']\nExploring Operation: 97+14=111, Resulting Numbers: [182, 111]\nGenerated Node #0,8,2: 99:[182, 111] Operation: 97+14=111\nMoving to Node #0,8,2\nCurrent State: 99:[182, 111], Operations: ['26*7=182', '97+14=111']\nExploring Operation: 182-111=71, Resulting Numbers: [71]\n71,99 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 99:[97, 14, 182], Operations: ['26*7=182']\nExploring Operation: 97-14=83, Resulting Numbers: [182, 83]\nGenerated Node #0,8,3: 99:[182, 83] Operation: 97-14=83\nMoving to Node #0,8,3\nCurrent State: 99:[182, 83], Operations: ['26*7=182', '97-14=83']\nExploring Operation: 182-83=99, Resulting Numbers: [99]\n99,99 equal: Goal Reached\n", "role": "assistant" } ]
[ 50, 56, 8, 7 ]
51
[ "56/8=7", "7/7=1", "50+1=51" ]
Current State: 51:[50, 56, 8, 7], Operations: [] Exploring Operation: 8+7=15, Resulting Numbers: [50, 56, 15] Generated Node #0,0: 51:[50, 56, 15] Operation: 8+7=15 Exploring Operation: 8*7=56, Resulting Numbers: [50, 56, 56] Generated Node #0,1: 51:[50, 56, 56] Operation: 8*7=56 Moving to Node #0,1 Current State: 51:[50, 56, 56], Operations: ['8*7=56'] Exploring Operation: 56-50=6, Resulting Numbers: [56, 6] Generated Node #0,1,0: 51:[56, 6] Operation: 56-50=6 Exploring Operation: 56-50=6, Resulting Numbers: [56, 6] Generated Node #0,1,1: 51:[56, 6] Operation: 56-50=6 Moving to Node #0,0 Current State: 51:[50, 56, 15], Operations: ['8+7=15'] Exploring Operation: 50+15=65, Resulting Numbers: [56, 65] Generated Node #0,0,0: 51:[56, 65] Operation: 50+15=65 Exploring Operation: 56-15=41, Resulting Numbers: [50, 41] Generated Node #0,0,1: 51:[50, 41] Operation: 56-15=41 Moving to Node #0,0,1 Current State: 51:[50, 41], Operations: ['8+7=15', '56-15=41'] Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[56, 65], Operations: ['8+7=15', '50+15=65'] Exploring Operation: 56+65=121, Resulting Numbers: [121] 121,51 unequal: No Solution Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[56, 6], Operations: ['8*7=56', '56-50=6'] Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,51 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[56, 6], Operations: ['8*7=56', '56-50=6'] Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,51 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,51 unequal: No Solution Moving to Node #0,1,1,0 Current State: 51:[50], Operations: ['8*7=56', '56-50=6', '56-6=50'] Moving to Node #0,1,0,0 Current State: 51:[50], Operations: ['8*7=56', '56-50=6', '56-6=50'] Moving to Node #0,1,1,0 Current State: 51:[62], Operations: ['8*7=56', '56-50=6', '56+6=62'] Moving to Node #0,1,0,0 Current State: 51:[62], Operations: ['8*7=56', '56-50=6', '56+6=62'] Moving to Node #0,0,1,0 Current State: 51:[91], Operations: ['8+7=15', '56-15=41', '50+41=91'] Moving to Node #0,0,1,0 Current State: 51:[9], Operations: ['8+7=15', '56-15=41', '50-41=9'] Moving to Node #0,0,0,0 Current State: 51:[9], Operations: ['8+7=15', '50+15=65', '65-56=9'] Moving to Node #0,0,0,0 Current State: 51:[121], Operations: ['8+7=15', '50+15=65', '56+65=121'] No solution found.
0
bfs_2
Current State: 51:[50, 56, 8, 7], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [50, 7, 7] Generated Node #2: [50, 7, 7] from Operation: 56/8=7 Current State: 51:[50, 7, 7], Operations: ['56/8=7'] Exploring Operation: 7/7=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 7/7=1 Current State: 51:[50, 1], Operations: ['56/8=7', '7/7=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
sum_heuristic
[ { "content": "Make 51 with the numbers [50, 56, 8, 7] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 51:[50, 56, 8, 7], Operations: []\nExploring Operation: 8+7=15, Resulting Numbers: [50, 56, 15]\nGenerated Node #0,0: 51:[50, 56, 15] Operation: 8+7=15\nExploring Operation: 8*7=56, Resulting Numbers: [50, 56, 56]\nGenerated Node #0,1: 51:[50, 56, 56] Operation: 8*7=56\nMoving to Node #0,1\nCurrent State: 51:[50, 56, 56], Operations: ['8*7=56']\nExploring Operation: 56-50=6, Resulting Numbers: [56, 6]\nGenerated Node #0,1,0: 51:[56, 6] Operation: 56-50=6\nExploring Operation: 56-50=6, Resulting Numbers: [56, 6]\nGenerated Node #0,1,1: 51:[56, 6] Operation: 56-50=6\nMoving to Node #0,0\nCurrent State: 51:[50, 56, 15], Operations: ['8+7=15']\nExploring Operation: 50+15=65, Resulting Numbers: [56, 65]\nGenerated Node #0,0,0: 51:[56, 65] Operation: 50+15=65\nExploring Operation: 56-15=41, Resulting Numbers: [50, 41]\nGenerated Node #0,0,1: 51:[50, 41] Operation: 56-15=41\nMoving to Node #0,0,1\nCurrent State: 51:[50, 41], Operations: ['8+7=15', '56-15=41']\nExploring Operation: 50-41=9, Resulting Numbers: [9]\n9,51 unequal: No Solution\nExploring Operation: 50+41=91, Resulting Numbers: [91]\n91,51 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 51:[56, 65], Operations: ['8+7=15', '50+15=65']\nExploring Operation: 56+65=121, Resulting Numbers: [121]\n121,51 unequal: No Solution\nExploring Operation: 65-56=9, Resulting Numbers: [9]\n9,51 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 51:[56, 6], Operations: ['8*7=56', '56-50=6']\nExploring Operation: 56+6=62, Resulting Numbers: [62]\n62,51 unequal: No Solution\nExploring Operation: 56-6=50, Resulting Numbers: [50]\n50,51 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 51:[56, 6], Operations: ['8*7=56', '56-50=6']\nExploring Operation: 56+6=62, Resulting Numbers: [62]\n62,51 unequal: No Solution\nExploring Operation: 56-6=50, Resulting Numbers: [50]\n50,51 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 51:[50], Operations: ['8*7=56', '56-50=6', '56-6=50']\nMoving to Node #0,1,0,0\nCurrent State: 51:[50], Operations: ['8*7=56', '56-50=6', '56-6=50']\nMoving to Node #0,1,1,0\nCurrent State: 51:[62], Operations: ['8*7=56', '56-50=6', '56+6=62']\nMoving to Node #0,1,0,0\nCurrent State: 51:[62], Operations: ['8*7=56', '56-50=6', '56+6=62']\nMoving to Node #0,0,1,0\nCurrent State: 51:[91], Operations: ['8+7=15', '56-15=41', '50+41=91']\nMoving to Node #0,0,1,0\nCurrent State: 51:[9], Operations: ['8+7=15', '56-15=41', '50-41=9']\nMoving to Node #0,0,0,0\nCurrent State: 51:[9], Operations: ['8+7=15', '50+15=65', '65-56=9']\nMoving to Node #0,0,0,0\nCurrent State: 51:[121], Operations: ['8+7=15', '50+15=65', '56+65=121']\nNo solution found.", "role": "assistant" } ]
[ 68, 14, 50, 2 ]
46
[ "68-14=54", "50*2=100", "100-54=46" ]
Current State: 46:[68, 14, 50, 2], Operations: [] Exploring Operation: 68-14=54, Resulting Numbers: [50, 2, 54] Generated Node #0,0: 46:[50, 2, 54] Operation: 68-14=54 Moving to Node #0,0 Current State: 46:[50, 2, 54], Operations: ['68-14=54'] Exploring Operation: 54-50=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 46:[2, 4] Operation: 54-50=4 Moving to Node #0,0,0 Current State: 46:[2, 4], Operations: ['68-14=54', '54-50=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[2, 4], Operations: ['68-14=54', '54-50=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[2, 4], Operations: ['68-14=54', '54-50=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[2, 4], Operations: ['68-14=54', '54-50=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[50, 2, 54], Operations: ['68-14=54'] Exploring Operation: 54/2=27, Resulting Numbers: [50, 27] Generated Node #0,0,1: 46:[50, 27] Operation: 54/2=27 Moving to Node #0,0,1 Current State: 46:[50, 27], Operations: ['68-14=54', '54/2=27'] Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[50, 27], Operations: ['68-14=54', '54/2=27'] Exploring Operation: 50+27=77, Resulting Numbers: [77] 77,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[50, 2, 54], Operations: ['68-14=54'] Exploring Operation: 50-2=48, Resulting Numbers: [54, 48] Generated Node #0,0,2: 46:[54, 48] Operation: 50-2=48 Moving to Node #0,0,2 Current State: 46:[54, 48], Operations: ['68-14=54', '50-2=48'] Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[50, 2, 54], Operations: ['68-14=54'] Exploring Operation: 50/2=25, Resulting Numbers: [54, 25] Generated Node #0,0,3: 46:[54, 25] Operation: 50/2=25 Moving to Node #0,0,3 Current State: 46:[54, 25], Operations: ['68-14=54', '50/2=25'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[54, 25], Operations: ['68-14=54', '50/2=25'] Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[50, 2, 54], Operations: ['68-14=54'] Exploring Operation: 54-2=52, Resulting Numbers: [50, 52] Generated Node #0,0,4: 46:[50, 52] Operation: 54-2=52 Moving to Node #0,0,4 Current State: 46:[50, 52], Operations: ['68-14=54', '54-2=52'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[50, 2, 54], Operations: ['68-14=54'] Exploring Operation: 50+2=52, Resulting Numbers: [54, 52] Generated Node #0,0,5: 46:[54, 52] Operation: 50+2=52 Moving to Node #0,0,5 Current State: 46:[54, 52], Operations: ['68-14=54', '50+2=52'] Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[50, 2, 54], Operations: ['68-14=54'] Exploring Operation: 2+54=56, Resulting Numbers: [50, 56] Generated Node #0,0,6: 46:[50, 56] Operation: 2+54=56 Moving to Node #0,0,6 Current State: 46:[50, 56], Operations: ['68-14=54', '2+54=56'] Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,46 unequal: No Solution Moving to Node #0 Current State: 46:[68, 14, 50, 2], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [14, 2, 18] Generated Node #0,1: 46:[14, 2, 18] Operation: 68-50=18 Moving to Node #0,1 Current State: 46:[14, 2, 18], Operations: ['68-50=18'] Exploring Operation: 18-14=4, Resulting Numbers: [2, 4] Generated Node #0,1,0: 46:[2, 4] Operation: 18-14=4 Moving to Node #0,1,0 Current State: 46:[2, 4], Operations: ['68-50=18', '18-14=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[2, 4], Operations: ['68-50=18', '18-14=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[2, 4], Operations: ['68-50=18', '18-14=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[2, 4], Operations: ['68-50=18', '18-14=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[14, 2, 18], Operations: ['68-50=18'] Exploring Operation: 14+18=32, Resulting Numbers: [2, 32] Generated Node #0,1,1: 46:[2, 32] Operation: 14+18=32 Moving to Node #0,1,1 Current State: 46:[2, 32], Operations: ['68-50=18', '14+18=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[2, 32], Operations: ['68-50=18', '14+18=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[2, 32], Operations: ['68-50=18', '14+18=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[2, 32], Operations: ['68-50=18', '14+18=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[14, 2, 18], Operations: ['68-50=18'] Exploring Operation: 14*2=28, Resulting Numbers: [18, 28] Generated Node #0,1,2: 46:[18, 28] Operation: 14*2=28 Moving to Node #0,1,2 Current State: 46:[18, 28], Operations: ['68-50=18', '14*2=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.970486
dfs
Current State: 46:[68, 14, 50, 2], Operations: [] Exploring Operation: 68-14=54, Resulting Numbers: [50, 2, 54] Generated Node #2: [50, 2, 54] from Operation: 68-14=54 Current State: 46:[50, 2, 54], Operations: ['68-14=54'] Exploring Operation: 50*2=100, Resulting Numbers: [54, 100] Generated Node #3: [54, 100] from Operation: 50*2=100 Current State: 46:[54, 100], Operations: ['68-14=54', '50*2=100'] Exploring Operation: 100-54=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
mult_heuristic
[ { "content": "Make 46 with the numbers [68, 14, 50, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 46:[68, 14, 50, 2], Operations: []\nExploring Operation: 68-14=54, Resulting Numbers: [50, 2, 54]\nGenerated Node #0,0: 46:[50, 2, 54] Operation: 68-14=54\nMoving to Node #0,0\nCurrent State: 46:[50, 2, 54], Operations: ['68-14=54']\nExploring Operation: 54-50=4, Resulting Numbers: [2, 4]\nGenerated Node #0,0,0: 46:[2, 4] Operation: 54-50=4\nMoving to Node #0,0,0\nCurrent State: 46:[2, 4], Operations: ['68-14=54', '54-50=4']\nExploring Operation: 4-2=2, Resulting Numbers: [2]\n2,46 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 46:[2, 4], Operations: ['68-14=54', '54-50=4']\nExploring Operation: 4/2=2, Resulting Numbers: [2]\n2,46 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 46:[2, 4], Operations: ['68-14=54', '54-50=4']\nExploring Operation: 2+4=6, Resulting Numbers: [6]\n6,46 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 46:[2, 4], Operations: ['68-14=54', '54-50=4']\nExploring Operation: 2*4=8, Resulting Numbers: [8]\n8,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[50, 2, 54], Operations: ['68-14=54']\nExploring Operation: 54/2=27, Resulting Numbers: [50, 27]\nGenerated Node #0,0,1: 46:[50, 27] Operation: 54/2=27\nMoving to Node #0,0,1\nCurrent State: 46:[50, 27], Operations: ['68-14=54', '54/2=27']\nExploring Operation: 50-27=23, Resulting Numbers: [23]\n23,46 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 46:[50, 27], Operations: ['68-14=54', '54/2=27']\nExploring Operation: 50+27=77, Resulting Numbers: [77]\n77,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[50, 2, 54], Operations: ['68-14=54']\nExploring Operation: 50-2=48, Resulting Numbers: [54, 48]\nGenerated Node #0,0,2: 46:[54, 48] Operation: 50-2=48\nMoving to Node #0,0,2\nCurrent State: 46:[54, 48], Operations: ['68-14=54', '50-2=48']\nExploring Operation: 54-48=6, Resulting Numbers: [6]\n6,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[50, 2, 54], Operations: ['68-14=54']\nExploring Operation: 50/2=25, Resulting Numbers: [54, 25]\nGenerated Node #0,0,3: 46:[54, 25] Operation: 50/2=25\nMoving to Node #0,0,3\nCurrent State: 46:[54, 25], Operations: ['68-14=54', '50/2=25']\nExploring Operation: 54-25=29, Resulting Numbers: [29]\n29,46 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 46:[54, 25], Operations: ['68-14=54', '50/2=25']\nExploring Operation: 54+25=79, Resulting Numbers: [79]\n79,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[50, 2, 54], Operations: ['68-14=54']\nExploring Operation: 54-2=52, Resulting Numbers: [50, 52]\nGenerated Node #0,0,4: 46:[50, 52] Operation: 54-2=52\nMoving to Node #0,0,4\nCurrent State: 46:[50, 52], Operations: ['68-14=54', '54-2=52']\nExploring Operation: 52-50=2, Resulting Numbers: [2]\n2,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[50, 2, 54], Operations: ['68-14=54']\nExploring Operation: 50+2=52, Resulting Numbers: [54, 52]\nGenerated Node #0,0,5: 46:[54, 52] Operation: 50+2=52\nMoving to Node #0,0,5\nCurrent State: 46:[54, 52], Operations: ['68-14=54', '50+2=52']\nExploring Operation: 54-52=2, Resulting Numbers: [2]\n2,46 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 46:[50, 2, 54], Operations: ['68-14=54']\nExploring Operation: 2+54=56, Resulting Numbers: [50, 56]\nGenerated Node #0,0,6: 46:[50, 56] Operation: 2+54=56\nMoving to Node #0,0,6\nCurrent State: 46:[50, 56], Operations: ['68-14=54', '2+54=56']\nExploring Operation: 56-50=6, Resulting Numbers: [6]\n6,46 unequal: No Solution\nMoving to Node #0\nCurrent State: 46:[68, 14, 50, 2], Operations: []\nExploring Operation: 68-50=18, Resulting Numbers: [14, 2, 18]\nGenerated Node #0,1: 46:[14, 2, 18] Operation: 68-50=18\nMoving to Node #0,1\nCurrent State: 46:[14, 2, 18], Operations: ['68-50=18']\nExploring Operation: 18-14=4, Resulting Numbers: [2, 4]\nGenerated Node #0,1,0: 46:[2, 4] Operation: 18-14=4\nMoving to Node #0,1,0\nCurrent State: 46:[2, 4], Operations: ['68-50=18', '18-14=4']\nExploring Operation: 4-2=2, Resulting Numbers: [2]\n2,46 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 46:[2, 4], Operations: ['68-50=18', '18-14=4']\nExploring Operation: 4/2=2, Resulting Numbers: [2]\n2,46 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 46:[2, 4], Operations: ['68-50=18', '18-14=4']\nExploring Operation: 2+4=6, Resulting Numbers: [6]\n6,46 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 46:[2, 4], Operations: ['68-50=18', '18-14=4']\nExploring Operation: 2*4=8, Resulting Numbers: [8]\n8,46 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 46:[14, 2, 18], Operations: ['68-50=18']\nExploring Operation: 14+18=32, Resulting Numbers: [2, 32]\nGenerated Node #0,1,1: 46:[2, 32] Operation: 14+18=32\nMoving to Node #0,1,1\nCurrent State: 46:[2, 32], Operations: ['68-50=18', '14+18=32']\nExploring Operation: 32-2=30, Resulting Numbers: [30]\n30,46 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 46:[2, 32], Operations: ['68-50=18', '14+18=32']\nExploring Operation: 32/2=16, Resulting Numbers: [16]\n16,46 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 46:[2, 32], Operations: ['68-50=18', '14+18=32']\nExploring Operation: 2+32=34, Resulting Numbers: [34]\n34,46 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 46:[2, 32], Operations: ['68-50=18', '14+18=32']\nExploring Operation: 2*32=64, Resulting Numbers: [64]\n64,46 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 46:[14, 2, 18], Operations: ['68-50=18']\nExploring Operation: 14*2=28, Resulting Numbers: [18, 28]\nGenerated Node #0,1,2: 46:[18, 28] Operation: 14*2=28\nMoving to Node #0,1,2\nCurrent State: 46:[18, 28], Operations: ['68-50=18', '14*2=28']\nExploring Operation: 18+28=46, Resulting Numbers: [46]\n46,46 equal: Goal Reached\n", "role": "assistant" } ]
[ 64, 88, 8, 55 ]
20
[ "64-55=9", "88/8=11", "9+11=20" ]
Current State: 20:[64, 88, 8, 55], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [8, 55, 24] Generated Node #0,0: 20:[8, 55, 24] Operation: 88-64=24 Moving to Node #0,0 Current State: 20:[8, 55, 24], Operations: ['88-64=24'] Exploring Operation: 55-24=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 20:[8, 31] Operation: 55-24=31 Moving to Node #0,0,0 Current State: 20:[8, 31], Operations: ['88-64=24', '55-24=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[8, 31], Operations: ['88-64=24', '55-24=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,20 unequal: No Solution Moving to Node #0,0 Current State: 20:[8, 55, 24], Operations: ['88-64=24'] Exploring Operation: 55-8=47, Resulting Numbers: [24, 47] Generated Node #0,0,1: 20:[24, 47] Operation: 55-8=47 Moving to Node #0,0,1 Current State: 20:[24, 47], Operations: ['88-64=24', '55-8=47'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,0 Current State: 20:[8, 55, 24], Operations: ['88-64=24'] Exploring Operation: 24-8=16, Resulting Numbers: [55, 16] Generated Node #0,0,2: 20:[55, 16] Operation: 24-8=16 Moving to Node #0,0,2 Current State: 20:[55, 16], Operations: ['88-64=24', '24-8=16'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,20 unequal: No Solution
0
dfs
Current State: 20:[64, 88, 8, 55], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [88, 8, 9] Generated Node #2: [88, 8, 9] from Operation: 64-55=9 Current State: 20:[88, 8, 9], Operations: ['64-55=9'] Exploring Operation: 88/8=11, Resulting Numbers: [9, 11] Generated Node #3: [9, 11] from Operation: 88/8=11 Current State: 20:[9, 11], Operations: ['64-55=9', '88/8=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
sum_heuristic
[ { "content": "Make 20 with the numbers [64, 88, 8, 55] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 20:[64, 88, 8, 55], Operations: []\nExploring Operation: 88-64=24, Resulting Numbers: [8, 55, 24]\nGenerated Node #0,0: 20:[8, 55, 24] Operation: 88-64=24\nMoving to Node #0,0\nCurrent State: 20:[8, 55, 24], Operations: ['88-64=24']\nExploring Operation: 55-24=31, Resulting Numbers: [8, 31]\nGenerated Node #0,0,0: 20:[8, 31] Operation: 55-24=31\nMoving to Node #0,0,0\nCurrent State: 20:[8, 31], Operations: ['88-64=24', '55-24=31']\nExploring Operation: 31-8=23, Resulting Numbers: [23]\n23,20 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 20:[8, 31], Operations: ['88-64=24', '55-24=31']\nExploring Operation: 8+31=39, Resulting Numbers: [39]\n39,20 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 20:[8, 55, 24], Operations: ['88-64=24']\nExploring Operation: 55-8=47, Resulting Numbers: [24, 47]\nGenerated Node #0,0,1: 20:[24, 47] Operation: 55-8=47\nMoving to Node #0,0,1\nCurrent State: 20:[24, 47], Operations: ['88-64=24', '55-8=47']\nExploring Operation: 47-24=23, Resulting Numbers: [23]\n23,20 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 20:[8, 55, 24], Operations: ['88-64=24']\nExploring Operation: 24-8=16, Resulting Numbers: [55, 16]\nGenerated Node #0,0,2: 20:[55, 16] Operation: 24-8=16\nMoving to Node #0,0,2\nCurrent State: 20:[55, 16], Operations: ['88-64=24', '24-8=16']\nExploring Operation: 55-16=39, Resulting Numbers: [39]\n39,20 unequal: No Solution\n", "role": "assistant" } ]
[ 99, 80, 2, 3 ]
19
[ "99-80=19", "3-2=1", "19*1=19" ]
Current State: 19:[99, 80, 2, 3], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [80, 2, 33] Generated Node #0,0: 19:[80, 2, 33] Operation: 99/3=33 Exploring Operation: 99-80=19, Resulting Numbers: [2, 3, 19] Generated Node #0,1: 19:[2, 3, 19] Operation: 99-80=19 Exploring Operation: 80/2=40, Resulting Numbers: [99, 3, 40] Generated Node #0,2: 19:[99, 3, 40] Operation: 80/2=40 Moving to Node #0,1 Current State: 19:[2, 3, 19], Operations: ['99-80=19'] Exploring Operation: 2*3=6, Resulting Numbers: [19, 6] Generated Node #0,1,0: 19:[19, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [19, 5] Generated Node #0,1,1: 19:[19, 5] Operation: 2+3=5 Exploring Operation: 3-2=1, Resulting Numbers: [19, 1] Generated Node #0,1,2: 19:[19, 1] Operation: 3-2=1 Moving to Node #0,0 Current State: 19:[80, 2, 33], Operations: ['99/3=33'] Exploring Operation: 80-33=47, Resulting Numbers: [2, 47] Generated Node #0,0,0: 19:[2, 47] Operation: 80-33=47 Exploring Operation: 80-2=78, Resulting Numbers: [33, 78] Generated Node #0,0,1: 19:[33, 78] Operation: 80-2=78 Exploring Operation: 80/2=40, Resulting Numbers: [33, 40] Generated Node #0,0,2: 19:[33, 40] Operation: 80/2=40 Moving to Node #0,2 Current State: 19:[99, 3, 40], Operations: ['80/2=40'] Exploring Operation: 99-3=96, Resulting Numbers: [40, 96] Generated Node #0,2,0: 19:[40, 96] Operation: 99-3=96 Exploring Operation: 99/3=33, Resulting Numbers: [40, 33] Generated Node #0,2,1: 19:[40, 33] Operation: 99/3=33 Exploring Operation: 99-40=59, Resulting Numbers: [3, 59] Generated Node #0,2,2: 19:[3, 59] Operation: 99-40=59 Moving to Node #0,1,0 Current State: 19:[19, 6], Operations: ['99-80=19', '2*3=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,19 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[19, 5], Operations: ['99-80=19', '2+3=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[19, 1], Operations: ['99-80=19', '3-2=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.981771
bfs_3
Current State: 19:[99, 80, 2, 3], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [2, 3, 19] Generated Node #2: [2, 3, 19] from Operation: 99-80=19 Current State: 19:[2, 3, 19], Operations: ['99-80=19'] Exploring Operation: 3-2=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 3-2=1 Current State: 19:[19, 1], Operations: ['99-80=19', '3-2=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
mult_heuristic
[ { "content": "Make 19 with the numbers [99, 80, 2, 3] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 19:[99, 80, 2, 3], Operations: []\nExploring Operation: 99/3=33, Resulting Numbers: [80, 2, 33]\nGenerated Node #0,0: 19:[80, 2, 33] Operation: 99/3=33\nExploring Operation: 99-80=19, Resulting Numbers: [2, 3, 19]\nGenerated Node #0,1: 19:[2, 3, 19] Operation: 99-80=19\nExploring Operation: 80/2=40, Resulting Numbers: [99, 3, 40]\nGenerated Node #0,2: 19:[99, 3, 40] Operation: 80/2=40\nMoving to Node #0,1\nCurrent State: 19:[2, 3, 19], Operations: ['99-80=19']\nExploring Operation: 2*3=6, Resulting Numbers: [19, 6]\nGenerated Node #0,1,0: 19:[19, 6] Operation: 2*3=6\nExploring Operation: 2+3=5, Resulting Numbers: [19, 5]\nGenerated Node #0,1,1: 19:[19, 5] Operation: 2+3=5\nExploring Operation: 3-2=1, Resulting Numbers: [19, 1]\nGenerated Node #0,1,2: 19:[19, 1] Operation: 3-2=1\nMoving to Node #0,0\nCurrent State: 19:[80, 2, 33], Operations: ['99/3=33']\nExploring Operation: 80-33=47, Resulting Numbers: [2, 47]\nGenerated Node #0,0,0: 19:[2, 47] Operation: 80-33=47\nExploring Operation: 80-2=78, Resulting Numbers: [33, 78]\nGenerated Node #0,0,1: 19:[33, 78] Operation: 80-2=78\nExploring Operation: 80/2=40, Resulting Numbers: [33, 40]\nGenerated Node #0,0,2: 19:[33, 40] Operation: 80/2=40\nMoving to Node #0,2\nCurrent State: 19:[99, 3, 40], Operations: ['80/2=40']\nExploring Operation: 99-3=96, Resulting Numbers: [40, 96]\nGenerated Node #0,2,0: 19:[40, 96] Operation: 99-3=96\nExploring Operation: 99/3=33, Resulting Numbers: [40, 33]\nGenerated Node #0,2,1: 19:[40, 33] Operation: 99/3=33\nExploring Operation: 99-40=59, Resulting Numbers: [3, 59]\nGenerated Node #0,2,2: 19:[3, 59] Operation: 99-40=59\nMoving to Node #0,1,0\nCurrent State: 19:[19, 6], Operations: ['99-80=19', '2*3=6']\nExploring Operation: 19-6=13, Resulting Numbers: [13]\n13,19 unequal: No Solution\nExploring Operation: 19*6=114, Resulting Numbers: [114]\n114,19 unequal: No Solution\nExploring Operation: 19+6=25, Resulting Numbers: [25]\n25,19 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 19:[19, 5], Operations: ['99-80=19', '2+3=5']\nExploring Operation: 19-5=14, Resulting Numbers: [14]\n14,19 unequal: No Solution\nExploring Operation: 19+5=24, Resulting Numbers: [24]\n24,19 unequal: No Solution\nExploring Operation: 19*5=95, Resulting Numbers: [95]\n95,19 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 19:[19, 1], Operations: ['99-80=19', '3-2=1']\nExploring Operation: 19+1=20, Resulting Numbers: [20]\n20,19 unequal: No Solution\nExploring Operation: 19*1=19, Resulting Numbers: [19]\n19,19 equal: Goal Reached\n", "role": "assistant" } ]
[ 66, 22, 68, 59 ]
15
[ "68-66=2", "22*2=44", "59-44=15" ]
Current State: 15:[66, 22, 68, 59], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [22, 68, 7] Generated Node #0,0: 15:[22, 68, 7] Operation: 66-59=7 Exploring Operation: 68-66=2, Resulting Numbers: [22, 59, 2] Generated Node #0,1: 15:[22, 59, 2] Operation: 68-66=2 Exploring Operation: 68-59=9, Resulting Numbers: [66, 22, 9] Generated Node #0,2: 15:[66, 22, 9] Operation: 68-59=9 Moving to Node #0,1 Current State: 15:[22, 59, 2], Operations: ['68-66=2'] Exploring Operation: 59-22=37, Resulting Numbers: [2, 37] Generated Node #0,1,0: 15:[2, 37] Operation: 59-22=37 Exploring Operation: 22/2=11, Resulting Numbers: [59, 11] Generated Node #0,1,1: 15:[59, 11] Operation: 22/2=11 Exploring Operation: 22-2=20, Resulting Numbers: [59, 20] Generated Node #0,1,2: 15:[59, 20] Operation: 22-2=20 Moving to Node #0,2 Current State: 15:[66, 22, 9], Operations: ['68-59=9'] Exploring Operation: 66/22=3, Resulting Numbers: [9, 3] Generated Node #0,2,0: 15:[9, 3] Operation: 66/22=3 Exploring Operation: 66-22=44, Resulting Numbers: [9, 44] Generated Node #0,2,1: 15:[9, 44] Operation: 66-22=44 Exploring Operation: 66-9=57, Resulting Numbers: [22, 57] Generated Node #0,2,2: 15:[22, 57] Operation: 66-9=57 Moving to Node #0,0 Current State: 15:[22, 68, 7], Operations: ['66-59=7'] Exploring Operation: 68-7=61, Resulting Numbers: [22, 61] Generated Node #0,0,0: 15:[22, 61] Operation: 68-7=61 Exploring Operation: 22-7=15, Resulting Numbers: [68, 15] Generated Node #0,0,1: 15:[68, 15] Operation: 22-7=15 Exploring Operation: 68-22=46, Resulting Numbers: [7, 46] Generated Node #0,0,2: 15:[7, 46] Operation: 68-22=46 Moving to Node #0,2,0 Current State: 15:[9, 3], Operations: ['68-59=9', '66/22=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[2, 37], Operations: ['68-66=2', '59-22=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,15 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[9, 44], Operations: ['68-59=9', '66-22=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,15 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,15 unequal: No Solution Moving to Node #0,2,0,0 Current State: 15:[12], Operations: ['68-59=9', '66/22=3', '9+3=12'] Moving to Node #0,2,0,0 Current State: 15:[6], Operations: ['68-59=9', '66/22=3', '9-3=6'] Moving to Node #0,2,0,0 Current State: 15:[27], Operations: ['68-59=9', '66/22=3', '9*3=27'] Moving to Node #0,0,2 Current State: 15:[7, 46], Operations: ['66-59=7', '68-22=46'] Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,15 unequal: No Solution Moving to Node #0,2,1,0 Current State: 15:[35], Operations: ['68-59=9', '66-22=44', '44-9=35'] Moving to Node #0,1,0,0 Current State: 15:[35], Operations: ['68-66=2', '59-22=37', '37-2=35'] Moving to Node #0,1,0,0 Current State: 15:[39], Operations: ['68-66=2', '59-22=37', '2+37=39'] Moving to Node #0,1,1 Current State: 15:[59, 11], Operations: ['68-66=2', '22/2=11'] Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,15 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,15 unequal: No Solution Moving to Node #0,0,2,0 Current State: 15:[39], Operations: ['66-59=7', '68-22=46', '46-7=39'] Moving to Node #0,2,2 Current State: 15:[22, 57], Operations: ['68-59=9', '66-9=57'] Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 22*57=1254, Resulting Numbers: [1254] 1254,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[59, 20], Operations: ['68-66=2', '22-2=20'] Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,15 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[68, 15], Operations: ['66-59=7', '22-7=15'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,15 unequal: No Solution Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,15 unequal: No Solution Moving to Node #0,2,2,0 Current State: 15:[35], Operations: ['68-59=9', '66-9=57', '57-22=35'] Moving to Node #0,1,2,0 Current State: 15:[39], Operations: ['68-66=2', '22-2=20', '59-20=39'] Moving to Node #0,0,0 Current State: 15:[22, 61], Operations: ['66-59=7', '68-7=61'] Exploring Operation: 22*61=1342, Resulting Numbers: [1342] 1342,15 unequal: No Solution Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,15 unequal: No Solution Moving to Node #0,0,0,0 Current State: 15:[39], Operations: ['66-59=7', '68-7=61', '61-22=39'] Moving to Node #0,1,1,0 Current State: 15:[48], Operations: ['68-66=2', '22/2=11', '59-11=48'] Moving to Node #0,0,2,0 Current State: 15:[53], Operations: ['66-59=7', '68-22=46', '7+46=53'] Moving to Node #0,2,1,0 Current State: 15:[53], Operations: ['68-59=9', '66-22=44', '9+44=53'] Moving to Node #0,0,1,0 Current State: 15:[53], Operations: ['66-59=7', '22-7=15', '68-15=53'] Moving to Node #0,1,1,0 Current State: 15:[70], Operations: ['68-66=2', '22/2=11', '59+11=70'] Moving to Node #0,1,0,0 Current State: 15:[74], Operations: ['68-66=2', '59-22=37', '2*37=74'] Moving to Node #0,1,2,0 Current State: 15:[79], Operations: ['68-66=2', '22-2=20', '59+20=79'] Moving to Node #0,2,2,0 Current State: 15:[79], Operations: ['68-59=9', '66-9=57', '22+57=79'] Moving to Node #0,0,1,0 Current State: 15:[83], Operations: ['66-59=7', '22-7=15', '68+15=83'] Moving to Node #0,0,0,0 Current State: 15:[83], Operations: ['66-59=7', '68-7=61', '22+61=83'] Moving to Node #0,0,2,0 Current State: 15:[322], Operations: ['66-59=7', '68-22=46', '7*46=322'] Moving to Node #0,2,1,0 Current State: 15:[396], Operations: ['68-59=9', '66-22=44', '9*44=396'] Moving to Node #0,1,1,0 Current State: 15:[649], Operations: ['68-66=2', '22/2=11', '59*11=649'] Moving to Node #0,0,1,0 Current State: 15:[1020], Operations: ['66-59=7', '22-7=15', '68*15=1020'] Moving to Node #0,1,2,0 Current State: 15:[1180], Operations: ['68-66=2', '22-2=20', '59*20=1180'] Moving to Node #0,2,2,0 Current State: 15:[1254], Operations: ['68-59=9', '66-9=57', '22*57=1254'] Moving to Node #0,0,0,0 Current State: 15:[1342], Operations: ['66-59=7', '68-7=61', '22*61=1342'] No solution found.
0
bfs_3
Current State: 15:[66, 22, 68, 59], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [22, 59, 2] Generated Node #2: [22, 59, 2] from Operation: 68-66=2 Current State: 15:[22, 59, 2], Operations: ['68-66=2'] Exploring Operation: 22*2=44, Resulting Numbers: [59, 44] Generated Node #3: [59, 44] from Operation: 22*2=44 Current State: 15:[59, 44], Operations: ['68-66=2', '22*2=44'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
sum_heuristic
[ { "content": "Make 15 with the numbers [66, 22, 68, 59] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 15:[66, 22, 68, 59], Operations: []\nExploring Operation: 66-59=7, Resulting Numbers: [22, 68, 7]\nGenerated Node #0,0: 15:[22, 68, 7] Operation: 66-59=7\nExploring Operation: 68-66=2, Resulting Numbers: [22, 59, 2]\nGenerated Node #0,1: 15:[22, 59, 2] Operation: 68-66=2\nExploring Operation: 68-59=9, Resulting Numbers: [66, 22, 9]\nGenerated Node #0,2: 15:[66, 22, 9] Operation: 68-59=9\nMoving to Node #0,1\nCurrent State: 15:[22, 59, 2], Operations: ['68-66=2']\nExploring Operation: 59-22=37, Resulting Numbers: [2, 37]\nGenerated Node #0,1,0: 15:[2, 37] Operation: 59-22=37\nExploring Operation: 22/2=11, Resulting Numbers: [59, 11]\nGenerated Node #0,1,1: 15:[59, 11] Operation: 22/2=11\nExploring Operation: 22-2=20, Resulting Numbers: [59, 20]\nGenerated Node #0,1,2: 15:[59, 20] Operation: 22-2=20\nMoving to Node #0,2\nCurrent State: 15:[66, 22, 9], Operations: ['68-59=9']\nExploring Operation: 66/22=3, Resulting Numbers: [9, 3]\nGenerated Node #0,2,0: 15:[9, 3] Operation: 66/22=3\nExploring Operation: 66-22=44, Resulting Numbers: [9, 44]\nGenerated Node #0,2,1: 15:[9, 44] Operation: 66-22=44\nExploring Operation: 66-9=57, Resulting Numbers: [22, 57]\nGenerated Node #0,2,2: 15:[22, 57] Operation: 66-9=57\nMoving to Node #0,0\nCurrent State: 15:[22, 68, 7], Operations: ['66-59=7']\nExploring Operation: 68-7=61, Resulting Numbers: [22, 61]\nGenerated Node #0,0,0: 15:[22, 61] Operation: 68-7=61\nExploring Operation: 22-7=15, Resulting Numbers: [68, 15]\nGenerated Node #0,0,1: 15:[68, 15] Operation: 22-7=15\nExploring Operation: 68-22=46, Resulting Numbers: [7, 46]\nGenerated Node #0,0,2: 15:[7, 46] Operation: 68-22=46\nMoving to Node #0,2,0\nCurrent State: 15:[9, 3], Operations: ['68-59=9', '66/22=3']\nExploring Operation: 9+3=12, Resulting Numbers: [12]\n12,15 unequal: No Solution\nExploring Operation: 9*3=27, Resulting Numbers: [27]\n27,15 unequal: No Solution\nExploring Operation: 9-3=6, Resulting Numbers: [6]\n6,15 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 15:[2, 37], Operations: ['68-66=2', '59-22=37']\nExploring Operation: 2+37=39, Resulting Numbers: [39]\n39,15 unequal: No Solution\nExploring Operation: 2*37=74, Resulting Numbers: [74]\n74,15 unequal: No Solution\nExploring Operation: 37-2=35, Resulting Numbers: [35]\n35,15 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 15:[9, 44], Operations: ['68-59=9', '66-22=44']\nExploring Operation: 9+44=53, Resulting Numbers: [53]\n53,15 unequal: No Solution\nExploring Operation: 9*44=396, Resulting Numbers: [396]\n396,15 unequal: No Solution\nExploring Operation: 44-9=35, Resulting Numbers: [35]\n35,15 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 15:[12], Operations: ['68-59=9', '66/22=3', '9+3=12']\nMoving to Node #0,2,0,0\nCurrent State: 15:[6], Operations: ['68-59=9', '66/22=3', '9-3=6']\nMoving to Node #0,2,0,0\nCurrent State: 15:[27], Operations: ['68-59=9', '66/22=3', '9*3=27']\nMoving to Node #0,0,2\nCurrent State: 15:[7, 46], Operations: ['66-59=7', '68-22=46']\nExploring Operation: 7+46=53, Resulting Numbers: [53]\n53,15 unequal: No Solution\nExploring Operation: 46-7=39, Resulting Numbers: [39]\n39,15 unequal: No Solution\nExploring Operation: 7*46=322, Resulting Numbers: [322]\n322,15 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 15:[35], Operations: ['68-59=9', '66-22=44', '44-9=35']\nMoving to Node #0,1,0,0\nCurrent State: 15:[35], Operations: ['68-66=2', '59-22=37', '37-2=35']\nMoving to Node #0,1,0,0\nCurrent State: 15:[39], Operations: ['68-66=2', '59-22=37', '2+37=39']\nMoving to Node #0,1,1\nCurrent State: 15:[59, 11], Operations: ['68-66=2', '22/2=11']\nExploring Operation: 59*11=649, Resulting Numbers: [649]\n649,15 unequal: No Solution\nExploring Operation: 59+11=70, Resulting Numbers: [70]\n70,15 unequal: No Solution\nExploring Operation: 59-11=48, Resulting Numbers: [48]\n48,15 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 15:[39], Operations: ['66-59=7', '68-22=46', '46-7=39']\nMoving to Node #0,2,2\nCurrent State: 15:[22, 57], Operations: ['68-59=9', '66-9=57']\nExploring Operation: 22+57=79, Resulting Numbers: [79]\n79,15 unequal: No Solution\nExploring Operation: 57-22=35, Resulting Numbers: [35]\n35,15 unequal: No Solution\nExploring Operation: 22*57=1254, Resulting Numbers: [1254]\n1254,15 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 15:[59, 20], Operations: ['68-66=2', '22-2=20']\nExploring Operation: 59*20=1180, Resulting Numbers: [1180]\n1180,15 unequal: No Solution\nExploring Operation: 59-20=39, Resulting Numbers: [39]\n39,15 unequal: No Solution\nExploring Operation: 59+20=79, Resulting Numbers: [79]\n79,15 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 15:[68, 15], Operations: ['66-59=7', '22-7=15']\nExploring Operation: 68-15=53, Resulting Numbers: [53]\n53,15 unequal: No Solution\nExploring Operation: 68*15=1020, Resulting Numbers: [1020]\n1020,15 unequal: No Solution\nExploring Operation: 68+15=83, Resulting Numbers: [83]\n83,15 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 15:[35], Operations: ['68-59=9', '66-9=57', '57-22=35']\nMoving to Node #0,1,2,0\nCurrent State: 15:[39], Operations: ['68-66=2', '22-2=20', '59-20=39']\nMoving to Node #0,0,0\nCurrent State: 15:[22, 61], Operations: ['66-59=7', '68-7=61']\nExploring Operation: 22*61=1342, Resulting Numbers: [1342]\n1342,15 unequal: No Solution\nExploring Operation: 61-22=39, Resulting Numbers: [39]\n39,15 unequal: No Solution\nExploring Operation: 22+61=83, Resulting Numbers: [83]\n83,15 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 15:[39], Operations: ['66-59=7', '68-7=61', '61-22=39']\nMoving to Node #0,1,1,0\nCurrent State: 15:[48], Operations: ['68-66=2', '22/2=11', '59-11=48']\nMoving to Node #0,0,2,0\nCurrent State: 15:[53], Operations: ['66-59=7', '68-22=46', '7+46=53']\nMoving to Node #0,2,1,0\nCurrent State: 15:[53], Operations: ['68-59=9', '66-22=44', '9+44=53']\nMoving to Node #0,0,1,0\nCurrent State: 15:[53], Operations: ['66-59=7', '22-7=15', '68-15=53']\nMoving to Node #0,1,1,0\nCurrent State: 15:[70], Operations: ['68-66=2', '22/2=11', '59+11=70']\nMoving to Node #0,1,0,0\nCurrent State: 15:[74], Operations: ['68-66=2', '59-22=37', '2*37=74']\nMoving to Node #0,1,2,0\nCurrent State: 15:[79], Operations: ['68-66=2', '22-2=20', '59+20=79']\nMoving to Node #0,2,2,0\nCurrent State: 15:[79], Operations: ['68-59=9', '66-9=57', '22+57=79']\nMoving to Node #0,0,1,0\nCurrent State: 15:[83], Operations: ['66-59=7', '22-7=15', '68+15=83']\nMoving to Node #0,0,0,0\nCurrent State: 15:[83], Operations: ['66-59=7', '68-7=61', '22+61=83']\nMoving to Node #0,0,2,0\nCurrent State: 15:[322], Operations: ['66-59=7', '68-22=46', '7*46=322']\nMoving to Node #0,2,1,0\nCurrent State: 15:[396], Operations: ['68-59=9', '66-22=44', '9*44=396']\nMoving to Node #0,1,1,0\nCurrent State: 15:[649], Operations: ['68-66=2', '22/2=11', '59*11=649']\nMoving to Node #0,0,1,0\nCurrent State: 15:[1020], Operations: ['66-59=7', '22-7=15', '68*15=1020']\nMoving to Node #0,1,2,0\nCurrent State: 15:[1180], Operations: ['68-66=2', '22-2=20', '59*20=1180']\nMoving to Node #0,2,2,0\nCurrent State: 15:[1254], Operations: ['68-59=9', '66-9=57', '22*57=1254']\nMoving to Node #0,0,0,0\nCurrent State: 15:[1342], Operations: ['66-59=7', '68-7=61', '22*61=1342']\nNo solution found.", "role": "assistant" } ]
[ 6, 18, 60, 10 ]
17
[ "60/6=10", "10/10=1", "18-1=17" ]
Current State: 17:[6, 18, 60, 10], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [18, 10, 10] Generated Node #0,0: 17:[18, 10, 10] Operation: 60/6=10 Exploring Operation: 60/10=6, Resulting Numbers: [6, 18, 6] Generated Node #0,1: 17:[6, 18, 6] Operation: 60/10=6 Moving to Node #0,0 Current State: 17:[18, 10, 10], Operations: ['60/6=10'] Exploring Operation: 10+10=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 17:[18, 20] Operation: 10+10=20 Exploring Operation: 18-10=8, Resulting Numbers: [10, 8] Generated Node #0,0,1: 17:[10, 8] Operation: 18-10=8 Moving to Node #0,1 Current State: 17:[6, 18, 6], Operations: ['60/10=6'] Exploring Operation: 6+6=12, Resulting Numbers: [18, 12] Generated Node #0,1,0: 17:[18, 12] Operation: 6+6=12 Exploring Operation: 18-6=12, Resulting Numbers: [6, 12] Generated Node #0,1,1: 17:[6, 12] Operation: 18-6=12 Moving to Node #0,0,0 Current State: 17:[18, 20], Operations: ['60/6=10', '10+10=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[18, 12], Operations: ['60/10=6', '6+6=12'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,17 unequal: No Solution Moving to Node #0,1,0,0 Current State: 17:[6], Operations: ['60/10=6', '6+6=12', '18-12=6'] Moving to Node #0,1,0,0 Current State: 17:[30], Operations: ['60/10=6', '6+6=12', '18+12=30'] Moving to Node #0,0,0,0 Current State: 17:[2], Operations: ['60/6=10', '10+10=20', '20-18=2'] Moving to Node #0,0,1 Current State: 17:[10, 8], Operations: ['60/6=10', '18-10=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,17 unequal: No Solution Moving to Node #0,0,1,0 Current State: 17:[18], Operations: ['60/6=10', '18-10=8', '10+8=18'] Moving to Node #0,0,1,0 Current State: 17:[2], Operations: ['60/6=10', '18-10=8', '10-8=2'] Moving to Node #0,1,1 Current State: 17:[6, 12], Operations: ['60/10=6', '18-6=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,17 unequal: No Solution Moving to Node #0,0,0,0 Current State: 17:[38], Operations: ['60/6=10', '10+10=20', '18+20=38'] Moving to Node #0,1,1,0 Current State: 17:[18], Operations: ['60/10=6', '18-6=12', '6+12=18'] Moving to Node #0,1,1,0 Current State: 17:[6], Operations: ['60/10=6', '18-6=12', '12-6=6'] No solution found.
0
bfs_2
Current State: 17:[6, 18, 60, 10], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [18, 10, 10] Generated Node #2: [18, 10, 10] from Operation: 60/6=10 Current State: 17:[18, 10, 10], Operations: ['60/6=10'] Exploring Operation: 10/10=1, Resulting Numbers: [18, 1] Generated Node #3: [18, 1] from Operation: 10/10=1 Current State: 17:[18, 1], Operations: ['60/6=10', '10/10=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
mult_heuristic
[ { "content": "Make 17 with the numbers [6, 18, 60, 10] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 17:[6, 18, 60, 10], Operations: []\nExploring Operation: 60/6=10, Resulting Numbers: [18, 10, 10]\nGenerated Node #0,0: 17:[18, 10, 10] Operation: 60/6=10\nExploring Operation: 60/10=6, Resulting Numbers: [6, 18, 6]\nGenerated Node #0,1: 17:[6, 18, 6] Operation: 60/10=6\nMoving to Node #0,0\nCurrent State: 17:[18, 10, 10], Operations: ['60/6=10']\nExploring Operation: 10+10=20, Resulting Numbers: [18, 20]\nGenerated Node #0,0,0: 17:[18, 20] Operation: 10+10=20\nExploring Operation: 18-10=8, Resulting Numbers: [10, 8]\nGenerated Node #0,0,1: 17:[10, 8] Operation: 18-10=8\nMoving to Node #0,1\nCurrent State: 17:[6, 18, 6], Operations: ['60/10=6']\nExploring Operation: 6+6=12, Resulting Numbers: [18, 12]\nGenerated Node #0,1,0: 17:[18, 12] Operation: 6+6=12\nExploring Operation: 18-6=12, Resulting Numbers: [6, 12]\nGenerated Node #0,1,1: 17:[6, 12] Operation: 18-6=12\nMoving to Node #0,0,0\nCurrent State: 17:[18, 20], Operations: ['60/6=10', '10+10=20']\nExploring Operation: 20-18=2, Resulting Numbers: [2]\n2,17 unequal: No Solution\nExploring Operation: 18+20=38, Resulting Numbers: [38]\n38,17 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 17:[18, 12], Operations: ['60/10=6', '6+6=12']\nExploring Operation: 18-12=6, Resulting Numbers: [6]\n6,17 unequal: No Solution\nExploring Operation: 18+12=30, Resulting Numbers: [30]\n30,17 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 17:[6], Operations: ['60/10=6', '6+6=12', '18-12=6']\nMoving to Node #0,1,0,0\nCurrent State: 17:[30], Operations: ['60/10=6', '6+6=12', '18+12=30']\nMoving to Node #0,0,0,0\nCurrent State: 17:[2], Operations: ['60/6=10', '10+10=20', '20-18=2']\nMoving to Node #0,0,1\nCurrent State: 17:[10, 8], Operations: ['60/6=10', '18-10=8']\nExploring Operation: 10-8=2, Resulting Numbers: [2]\n2,17 unequal: No Solution\nExploring Operation: 10+8=18, Resulting Numbers: [18]\n18,17 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 17:[18], Operations: ['60/6=10', '18-10=8', '10+8=18']\nMoving to Node #0,0,1,0\nCurrent State: 17:[2], Operations: ['60/6=10', '18-10=8', '10-8=2']\nMoving to Node #0,1,1\nCurrent State: 17:[6, 12], Operations: ['60/10=6', '18-6=12']\nExploring Operation: 12-6=6, Resulting Numbers: [6]\n6,17 unequal: No Solution\nExploring Operation: 6+12=18, Resulting Numbers: [18]\n18,17 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 17:[38], Operations: ['60/6=10', '10+10=20', '18+20=38']\nMoving to Node #0,1,1,0\nCurrent State: 17:[18], Operations: ['60/10=6', '18-6=12', '6+12=18']\nMoving to Node #0,1,1,0\nCurrent State: 17:[6], Operations: ['60/10=6', '18-6=12', '12-6=6']\nNo solution found.", "role": "assistant" } ]
[ 87, 82, 3, 99 ]
28
[ "87-82=5", "99/3=33", "33-5=28" ]
Current State: 28:[87, 82, 3, 99], Operations: []
0
dfs
Current State: 28:[87, 82, 3, 99], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [3, 99, 5] Generated Node #2: [3, 99, 5] from Operation: 87-82=5 Current State: 28:[3, 99, 5], Operations: ['87-82=5'] Exploring Operation: 99/3=33, Resulting Numbers: [5, 33] Generated Node #3: [5, 33] from Operation: 99/3=33 Current State: 28:[5, 33], Operations: ['87-82=5', '99/3=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
sum_heuristic
[ { "content": "Make 28 with the numbers [87, 82, 3, 99] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 28:[87, 82, 3, 99], Operations: []\n", "role": "assistant" } ]
[ 4, 92, 40, 42 ]
38
[ "4+42=46", "92/46=2", "40-2=38" ]
Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [40, 42, 23] Generated Node #0,0: 38:[40, 42, 23] Operation: 92/4=23 Moving to Node #0,0 Current State: 38:[40, 42, 23], Operations: ['92/4=23'] Exploring Operation: 42-23=19, Resulting Numbers: [40, 19] Generated Node #0,0,0: 38:[40, 19] Operation: 42-23=19 Moving to Node #0,0,0 Current State: 38:[40, 19], Operations: ['92/4=23', '42-23=19'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[40, 19], Operations: ['92/4=23', '42-23=19'] Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[40, 42, 23], Operations: ['92/4=23'] Exploring Operation: 40-23=17, Resulting Numbers: [42, 17] Generated Node #0,0,1: 38:[42, 17] Operation: 40-23=17 Moving to Node #0,0,1 Current State: 38:[42, 17], Operations: ['92/4=23', '40-23=17'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[42, 17], Operations: ['92/4=23', '40-23=17'] Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[40, 42, 23], Operations: ['92/4=23'] Exploring Operation: 40+23=63, Resulting Numbers: [42, 63] Generated Node #0,0,2: 38:[42, 63] Operation: 40+23=63 Moving to Node #0,0,2 Current State: 38:[42, 63], Operations: ['92/4=23', '40+23=63'] Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[40, 42, 23], Operations: ['92/4=23'] Exploring Operation: 42+23=65, Resulting Numbers: [40, 65] Generated Node #0,0,3: 38:[40, 65] Operation: 42+23=65 Moving to Node #0,0,3 Current State: 38:[40, 65], Operations: ['92/4=23', '42+23=65'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[40, 42, 23], Operations: ['92/4=23'] Exploring Operation: 42-40=2, Resulting Numbers: [23, 2] Generated Node #0,0,4: 38:[23, 2] Operation: 42-40=2 Moving to Node #0,0,4 Current State: 38:[23, 2], Operations: ['92/4=23', '42-40=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,38 unequal: No Solution Moving to Node #0,0,4 Current State: 38:[23, 2], Operations: ['92/4=23', '42-40=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,38 unequal: No Solution Moving to Node #0,0,4 Current State: 38:[23, 2], Operations: ['92/4=23', '42-40=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[40, 42, 23], Operations: ['92/4=23'] Exploring Operation: 40+42=82, Resulting Numbers: [23, 82] Generated Node #0,0,5: 38:[23, 82] Operation: 40+42=82 Moving to Node #0,0,5 Current State: 38:[23, 82], Operations: ['92/4=23', '40+42=82'] Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,38 unequal: No Solution Moving to Node #0 Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [4, 40, 50] Generated Node #0,1: 38:[4, 40, 50] Operation: 92-42=50 Moving to Node #0,1 Current State: 38:[4, 40, 50], Operations: ['92-42=50'] Exploring Operation: 50-4=46, Resulting Numbers: [40, 46] Generated Node #0,1,0: 38:[40, 46] Operation: 50-4=46 Moving to Node #0,1,0 Current State: 38:[40, 46], Operations: ['92-42=50', '50-4=46'] Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[4, 40, 50], Operations: ['92-42=50'] Exploring Operation: 40-4=36, Resulting Numbers: [50, 36] Generated Node #0,1,1: 38:[50, 36] Operation: 40-4=36 Moving to Node #0,1,1 Current State: 38:[50, 36], Operations: ['92-42=50', '40-4=36'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[4, 40, 50], Operations: ['92-42=50'] Exploring Operation: 4+40=44, Resulting Numbers: [50, 44] Generated Node #0,1,2: 38:[50, 44] Operation: 4+40=44 Moving to Node #0,1,2 Current State: 38:[50, 44], Operations: ['92-42=50', '4+40=44'] Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[4, 40, 50], Operations: ['92-42=50'] Exploring Operation: 4+50=54, Resulting Numbers: [40, 54] Generated Node #0,1,3: 38:[40, 54] Operation: 4+50=54 Moving to Node #0,1,3 Current State: 38:[40, 54], Operations: ['92-42=50', '4+50=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[4, 40, 50], Operations: ['92-42=50'] Exploring Operation: 40/4=10, Resulting Numbers: [50, 10] Generated Node #0,1,4: 38:[50, 10] Operation: 40/4=10 Moving to Node #0,1,4 Current State: 38:[50, 10], Operations: ['92-42=50', '40/4=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,38 unequal: No Solution Moving to Node #0,1,4 Current State: 38:[50, 10], Operations: ['92-42=50', '40/4=10'] Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,38 unequal: No Solution Moving to Node #0,1,4 Current State: 38:[50, 10], Operations: ['92-42=50', '40/4=10'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[4, 40, 50], Operations: ['92-42=50'] Exploring Operation: 50-40=10, Resulting Numbers: [4, 10] Generated Node #0,1,5: 38:[4, 10] Operation: 50-40=10 Moving to Node #0,1,5 Current State: 38:[4, 10], Operations: ['92-42=50', '50-40=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,38 unequal: No Solution Moving to Node #0,1,5 Current State: 38:[4, 10], Operations: ['92-42=50', '50-40=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,1,5 Current State: 38:[4, 10], Operations: ['92-42=50', '50-40=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0 Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 92-40=52, Resulting Numbers: [4, 42, 52] Generated Node #0,2: 38:[4, 42, 52] Operation: 92-40=52 Moving to Node #0,2 Current State: 38:[4, 42, 52], Operations: ['92-40=52'] Exploring Operation: 42-4=38, Resulting Numbers: [52, 38] Generated Node #0,2,0: 38:[52, 38] Operation: 42-4=38 Moving to Node #0,2,0 Current State: 38:[52, 38], Operations: ['92-40=52', '42-4=38'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[4, 42, 52], Operations: ['92-40=52'] Exploring Operation: 52-4=48, Resulting Numbers: [42, 48] Generated Node #0,2,1: 38:[42, 48] Operation: 52-4=48 Moving to Node #0,2,1 Current State: 38:[42, 48], Operations: ['92-40=52', '52-4=48'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[4, 42, 52], Operations: ['92-40=52'] Exploring Operation: 4+42=46, Resulting Numbers: [52, 46] Generated Node #0,2,2: 38:[52, 46] Operation: 4+42=46 Moving to Node #0,2,2 Current State: 38:[52, 46], Operations: ['92-40=52', '4+42=46'] Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[4, 42, 52], Operations: ['92-40=52'] Exploring Operation: 4+52=56, Resulting Numbers: [42, 56] Generated Node #0,2,3: 38:[42, 56] Operation: 4+52=56 Moving to Node #0,2,3 Current State: 38:[42, 56], Operations: ['92-40=52', '4+52=56'] Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[4, 42, 52], Operations: ['92-40=52'] Exploring Operation: 52/4=13, Resulting Numbers: [42, 13] Generated Node #0,2,4: 38:[42, 13] Operation: 52/4=13 Moving to Node #0,2,4 Current State: 38:[42, 13], Operations: ['92-40=52', '52/4=13'] Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,38 unequal: No Solution Moving to Node #0,2,4 Current State: 38:[42, 13], Operations: ['92-40=52', '52/4=13'] Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[4, 42, 52], Operations: ['92-40=52'] Exploring Operation: 52-42=10, Resulting Numbers: [4, 10] Generated Node #0,2,5: 38:[4, 10] Operation: 52-42=10 Moving to Node #0,2,5 Current State: 38:[4, 10], Operations: ['92-40=52', '52-42=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,38 unequal: No Solution Moving to Node #0,2,5 Current State: 38:[4, 10], Operations: ['92-40=52', '52-42=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,2,5 Current State: 38:[4, 10], Operations: ['92-40=52', '52-42=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0 Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 92-4=88, Resulting Numbers: [40, 42, 88] Generated Node #0,3: 38:[40, 42, 88] Operation: 92-4=88 Moving to Node #0,3 Current State: 38:[40, 42, 88], Operations: ['92-4=88'] Exploring Operation: 88-42=46, Resulting Numbers: [40, 46] Generated Node #0,3,0: 38:[40, 46] Operation: 88-42=46 Moving to Node #0,3,0 Current State: 38:[40, 46], Operations: ['92-4=88', '88-42=46'] Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0,3 Current State: 38:[40, 42, 88], Operations: ['92-4=88'] Exploring Operation: 88-40=48, Resulting Numbers: [42, 48] Generated Node #0,3,1: 38:[42, 48] Operation: 88-40=48 Moving to Node #0,3,1 Current State: 38:[42, 48], Operations: ['92-4=88', '88-40=48'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0 Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 42-4=38, Resulting Numbers: [92, 40, 38] Generated Node #0,4: 38:[92, 40, 38] Operation: 42-4=38 Moving to Node #0,4 Current State: 38:[92, 40, 38], Operations: ['42-4=38'] Exploring Operation: 92-40=52, Resulting Numbers: [38, 52] Generated Node #0,4,0: 38:[38, 52] Operation: 92-40=52 Moving to Node #0,4,0 Current State: 38:[38, 52], Operations: ['42-4=38', '92-40=52'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,4 Current State: 38:[92, 40, 38], Operations: ['42-4=38'] Exploring Operation: 92-38=54, Resulting Numbers: [40, 54] Generated Node #0,4,1: 38:[40, 54] Operation: 92-38=54 Moving to Node #0,4,1 Current State: 38:[40, 54], Operations: ['42-4=38', '92-38=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0 Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 40-4=36, Resulting Numbers: [92, 42, 36] Generated Node #0,5: 38:[92, 42, 36] Operation: 40-4=36 Moving to Node #0,5 Current State: 38:[92, 42, 36], Operations: ['40-4=36'] Exploring Operation: 92-42=50, Resulting Numbers: [36, 50] Generated Node #0,5,0: 38:[36, 50] Operation: 92-42=50 Moving to Node #0,5,0 Current State: 38:[36, 50], Operations: ['40-4=36', '92-42=50'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,5 Current State: 38:[92, 42, 36], Operations: ['40-4=36'] Exploring Operation: 92-36=56, Resulting Numbers: [42, 56] Generated Node #0,5,1: 38:[42, 56] Operation: 92-36=56 Moving to Node #0,5,1 Current State: 38:[42, 56], Operations: ['40-4=36', '92-36=56'] Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0 Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 4+92=96, Resulting Numbers: [40, 42, 96] Generated Node #0,6: 38:[40, 42, 96] Operation: 4+92=96 Moving to Node #0,6 Current State: 38:[40, 42, 96], Operations: ['4+92=96'] Exploring Operation: 96-42=54, Resulting Numbers: [40, 54] Generated Node #0,6,0: 38:[40, 54] Operation: 96-42=54 Moving to Node #0,6,0 Current State: 38:[40, 54], Operations: ['4+92=96', '96-42=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,6 Current State: 38:[40, 42, 96], Operations: ['4+92=96'] Exploring Operation: 96-40=56, Resulting Numbers: [42, 56] Generated Node #0,6,1: 38:[42, 56] Operation: 96-40=56 Moving to Node #0,6,1 Current State: 38:[42, 56], Operations: ['4+92=96', '96-40=56'] Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0 Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 4+40=44, Resulting Numbers: [92, 42, 44] Generated Node #0,7: 38:[92, 42, 44] Operation: 4+40=44 Moving to Node #0,7 Current State: 38:[92, 42, 44], Operations: ['4+40=44'] Exploring Operation: 92-44=48, Resulting Numbers: [42, 48] Generated Node #0,7,0: 38:[42, 48] Operation: 92-44=48 Moving to Node #0,7,0 Current State: 38:[42, 48], Operations: ['4+40=44', '92-44=48'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0,7 Current State: 38:[92, 42, 44], Operations: ['4+40=44'] Exploring Operation: 92-42=50, Resulting Numbers: [44, 50] Generated Node #0,7,1: 38:[44, 50] Operation: 92-42=50 Moving to Node #0,7,1 Current State: 38:[44, 50], Operations: ['4+40=44', '92-42=50'] Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0 Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 4+42=46, Resulting Numbers: [92, 40, 46] Generated Node #0,8: 38:[92, 40, 46] Operation: 4+42=46 Moving to Node #0,8 Current State: 38:[92, 40, 46], Operations: ['4+42=46'] Exploring Operation: 92-46=46, Resulting Numbers: [40, 46] Generated Node #0,8,0: 38:[40, 46] Operation: 92-46=46 Moving to Node #0,8,0 Current State: 38:[40, 46], Operations: ['4+42=46', '92-46=46'] Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0,8 Current State: 38:[92, 40, 46], Operations: ['4+42=46'] Exploring Operation: 92-40=52, Resulting Numbers: [46, 52] Generated Node #0,8,1: 38:[46, 52] Operation: 92-40=52 Moving to Node #0,8,1 Current State: 38:[46, 52], Operations: ['4+42=46', '92-40=52'] Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0,8 Current State: 38:[92, 40, 46], Operations: ['4+42=46'] Exploring Operation: 92/46=2, Resulting Numbers: [40, 2] Generated Node #0,8,2: 38:[40, 2] Operation: 92/46=2 Moving to Node #0,8,2 Current State: 38:[40, 2], Operations: ['4+42=46', '92/46=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.927951
dfs
Current State: 38:[4, 92, 40, 42], Operations: [] Exploring Operation: 4+42=46, Resulting Numbers: [92, 40, 46] Generated Node #2: [92, 40, 46] from Operation: 4+42=46 Current State: 38:[92, 40, 46], Operations: ['4+42=46'] Exploring Operation: 92/46=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 92/46=2 Current State: 38:[40, 2], Operations: ['4+42=46', '92/46=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
sum_heuristic
[ { "content": "Make 38 with the numbers [4, 92, 40, 42] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 38:[4, 92, 40, 42], Operations: []\nExploring Operation: 92/4=23, Resulting Numbers: [40, 42, 23]\nGenerated Node #0,0: 38:[40, 42, 23] Operation: 92/4=23\nMoving to Node #0,0\nCurrent State: 38:[40, 42, 23], Operations: ['92/4=23']\nExploring Operation: 42-23=19, Resulting Numbers: [40, 19]\nGenerated Node #0,0,0: 38:[40, 19] Operation: 42-23=19\nMoving to Node #0,0,0\nCurrent State: 38:[40, 19], Operations: ['92/4=23', '42-23=19']\nExploring Operation: 40-19=21, Resulting Numbers: [21]\n21,38 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 38:[40, 19], Operations: ['92/4=23', '42-23=19']\nExploring Operation: 40+19=59, Resulting Numbers: [59]\n59,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[40, 42, 23], Operations: ['92/4=23']\nExploring Operation: 40-23=17, Resulting Numbers: [42, 17]\nGenerated Node #0,0,1: 38:[42, 17] Operation: 40-23=17\nMoving to Node #0,0,1\nCurrent State: 38:[42, 17], Operations: ['92/4=23', '40-23=17']\nExploring Operation: 42-17=25, Resulting Numbers: [25]\n25,38 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 38:[42, 17], Operations: ['92/4=23', '40-23=17']\nExploring Operation: 42+17=59, Resulting Numbers: [59]\n59,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[40, 42, 23], Operations: ['92/4=23']\nExploring Operation: 40+23=63, Resulting Numbers: [42, 63]\nGenerated Node #0,0,2: 38:[42, 63] Operation: 40+23=63\nMoving to Node #0,0,2\nCurrent State: 38:[42, 63], Operations: ['92/4=23', '40+23=63']\nExploring Operation: 63-42=21, Resulting Numbers: [21]\n21,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[40, 42, 23], Operations: ['92/4=23']\nExploring Operation: 42+23=65, Resulting Numbers: [40, 65]\nGenerated Node #0,0,3: 38:[40, 65] Operation: 42+23=65\nMoving to Node #0,0,3\nCurrent State: 38:[40, 65], Operations: ['92/4=23', '42+23=65']\nExploring Operation: 65-40=25, Resulting Numbers: [25]\n25,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[40, 42, 23], Operations: ['92/4=23']\nExploring Operation: 42-40=2, Resulting Numbers: [23, 2]\nGenerated Node #0,0,4: 38:[23, 2] Operation: 42-40=2\nMoving to Node #0,0,4\nCurrent State: 38:[23, 2], Operations: ['92/4=23', '42-40=2']\nExploring Operation: 23*2=46, Resulting Numbers: [46]\n46,38 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 38:[23, 2], Operations: ['92/4=23', '42-40=2']\nExploring Operation: 23+2=25, Resulting Numbers: [25]\n25,38 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 38:[23, 2], Operations: ['92/4=23', '42-40=2']\nExploring Operation: 23-2=21, Resulting Numbers: [21]\n21,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[40, 42, 23], Operations: ['92/4=23']\nExploring Operation: 40+42=82, Resulting Numbers: [23, 82]\nGenerated Node #0,0,5: 38:[23, 82] Operation: 40+42=82\nMoving to Node #0,0,5\nCurrent State: 38:[23, 82], Operations: ['92/4=23', '40+42=82']\nExploring Operation: 82-23=59, Resulting Numbers: [59]\n59,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[4, 92, 40, 42], Operations: []\nExploring Operation: 92-42=50, Resulting Numbers: [4, 40, 50]\nGenerated Node #0,1: 38:[4, 40, 50] Operation: 92-42=50\nMoving to Node #0,1\nCurrent State: 38:[4, 40, 50], Operations: ['92-42=50']\nExploring Operation: 50-4=46, Resulting Numbers: [40, 46]\nGenerated Node #0,1,0: 38:[40, 46] Operation: 50-4=46\nMoving to Node #0,1,0\nCurrent State: 38:[40, 46], Operations: ['92-42=50', '50-4=46']\nExploring Operation: 46-40=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[4, 40, 50], Operations: ['92-42=50']\nExploring Operation: 40-4=36, Resulting Numbers: [50, 36]\nGenerated Node #0,1,1: 38:[50, 36] Operation: 40-4=36\nMoving to Node #0,1,1\nCurrent State: 38:[50, 36], Operations: ['92-42=50', '40-4=36']\nExploring Operation: 50-36=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[4, 40, 50], Operations: ['92-42=50']\nExploring Operation: 4+40=44, Resulting Numbers: [50, 44]\nGenerated Node #0,1,2: 38:[50, 44] Operation: 4+40=44\nMoving to Node #0,1,2\nCurrent State: 38:[50, 44], Operations: ['92-42=50', '4+40=44']\nExploring Operation: 50-44=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[4, 40, 50], Operations: ['92-42=50']\nExploring Operation: 4+50=54, Resulting Numbers: [40, 54]\nGenerated Node #0,1,3: 38:[40, 54] Operation: 4+50=54\nMoving to Node #0,1,3\nCurrent State: 38:[40, 54], Operations: ['92-42=50', '4+50=54']\nExploring Operation: 54-40=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[4, 40, 50], Operations: ['92-42=50']\nExploring Operation: 40/4=10, Resulting Numbers: [50, 10]\nGenerated Node #0,1,4: 38:[50, 10] Operation: 40/4=10\nMoving to Node #0,1,4\nCurrent State: 38:[50, 10], Operations: ['92-42=50', '40/4=10']\nExploring Operation: 50-10=40, Resulting Numbers: [40]\n40,38 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 38:[50, 10], Operations: ['92-42=50', '40/4=10']\nExploring Operation: 50+10=60, Resulting Numbers: [60]\n60,38 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 38:[50, 10], Operations: ['92-42=50', '40/4=10']\nExploring Operation: 50/10=5, Resulting Numbers: [5]\n5,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[4, 40, 50], Operations: ['92-42=50']\nExploring Operation: 50-40=10, Resulting Numbers: [4, 10]\nGenerated Node #0,1,5: 38:[4, 10] Operation: 50-40=10\nMoving to Node #0,1,5\nCurrent State: 38:[4, 10], Operations: ['92-42=50', '50-40=10']\nExploring Operation: 4*10=40, Resulting Numbers: [40]\n40,38 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 38:[4, 10], Operations: ['92-42=50', '50-40=10']\nExploring Operation: 4+10=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 38:[4, 10], Operations: ['92-42=50', '50-40=10']\nExploring Operation: 10-4=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[4, 92, 40, 42], Operations: []\nExploring Operation: 92-40=52, Resulting Numbers: [4, 42, 52]\nGenerated Node #0,2: 38:[4, 42, 52] Operation: 92-40=52\nMoving to Node #0,2\nCurrent State: 38:[4, 42, 52], Operations: ['92-40=52']\nExploring Operation: 42-4=38, Resulting Numbers: [52, 38]\nGenerated Node #0,2,0: 38:[52, 38] Operation: 42-4=38\nMoving to Node #0,2,0\nCurrent State: 38:[52, 38], Operations: ['92-40=52', '42-4=38']\nExploring Operation: 52-38=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[4, 42, 52], Operations: ['92-40=52']\nExploring Operation: 52-4=48, Resulting Numbers: [42, 48]\nGenerated Node #0,2,1: 38:[42, 48] Operation: 52-4=48\nMoving to Node #0,2,1\nCurrent State: 38:[42, 48], Operations: ['92-40=52', '52-4=48']\nExploring Operation: 48-42=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[4, 42, 52], Operations: ['92-40=52']\nExploring Operation: 4+42=46, Resulting Numbers: [52, 46]\nGenerated Node #0,2,2: 38:[52, 46] Operation: 4+42=46\nMoving to Node #0,2,2\nCurrent State: 38:[52, 46], Operations: ['92-40=52', '4+42=46']\nExploring Operation: 52-46=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[4, 42, 52], Operations: ['92-40=52']\nExploring Operation: 4+52=56, Resulting Numbers: [42, 56]\nGenerated Node #0,2,3: 38:[42, 56] Operation: 4+52=56\nMoving to Node #0,2,3\nCurrent State: 38:[42, 56], Operations: ['92-40=52', '4+52=56']\nExploring Operation: 56-42=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[4, 42, 52], Operations: ['92-40=52']\nExploring Operation: 52/4=13, Resulting Numbers: [42, 13]\nGenerated Node #0,2,4: 38:[42, 13] Operation: 52/4=13\nMoving to Node #0,2,4\nCurrent State: 38:[42, 13], Operations: ['92-40=52', '52/4=13']\nExploring Operation: 42-13=29, Resulting Numbers: [29]\n29,38 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 38:[42, 13], Operations: ['92-40=52', '52/4=13']\nExploring Operation: 42+13=55, Resulting Numbers: [55]\n55,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[4, 42, 52], Operations: ['92-40=52']\nExploring Operation: 52-42=10, Resulting Numbers: [4, 10]\nGenerated Node #0,2,5: 38:[4, 10] Operation: 52-42=10\nMoving to Node #0,2,5\nCurrent State: 38:[4, 10], Operations: ['92-40=52', '52-42=10']\nExploring Operation: 4*10=40, Resulting Numbers: [40]\n40,38 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 38:[4, 10], Operations: ['92-40=52', '52-42=10']\nExploring Operation: 4+10=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 38:[4, 10], Operations: ['92-40=52', '52-42=10']\nExploring Operation: 10-4=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[4, 92, 40, 42], Operations: []\nExploring Operation: 92-4=88, Resulting Numbers: [40, 42, 88]\nGenerated Node #0,3: 38:[40, 42, 88] Operation: 92-4=88\nMoving to Node #0,3\nCurrent State: 38:[40, 42, 88], Operations: ['92-4=88']\nExploring Operation: 88-42=46, Resulting Numbers: [40, 46]\nGenerated Node #0,3,0: 38:[40, 46] Operation: 88-42=46\nMoving to Node #0,3,0\nCurrent State: 38:[40, 46], Operations: ['92-4=88', '88-42=46']\nExploring Operation: 46-40=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 38:[40, 42, 88], Operations: ['92-4=88']\nExploring Operation: 88-40=48, Resulting Numbers: [42, 48]\nGenerated Node #0,3,1: 38:[42, 48] Operation: 88-40=48\nMoving to Node #0,3,1\nCurrent State: 38:[42, 48], Operations: ['92-4=88', '88-40=48']\nExploring Operation: 48-42=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[4, 92, 40, 42], Operations: []\nExploring Operation: 42-4=38, Resulting Numbers: [92, 40, 38]\nGenerated Node #0,4: 38:[92, 40, 38] Operation: 42-4=38\nMoving to Node #0,4\nCurrent State: 38:[92, 40, 38], Operations: ['42-4=38']\nExploring Operation: 92-40=52, Resulting Numbers: [38, 52]\nGenerated Node #0,4,0: 38:[38, 52] Operation: 92-40=52\nMoving to Node #0,4,0\nCurrent State: 38:[38, 52], Operations: ['42-4=38', '92-40=52']\nExploring Operation: 52-38=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 38:[92, 40, 38], Operations: ['42-4=38']\nExploring Operation: 92-38=54, Resulting Numbers: [40, 54]\nGenerated Node #0,4,1: 38:[40, 54] Operation: 92-38=54\nMoving to Node #0,4,1\nCurrent State: 38:[40, 54], Operations: ['42-4=38', '92-38=54']\nExploring Operation: 54-40=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[4, 92, 40, 42], Operations: []\nExploring Operation: 40-4=36, Resulting Numbers: [92, 42, 36]\nGenerated Node #0,5: 38:[92, 42, 36] Operation: 40-4=36\nMoving to Node #0,5\nCurrent State: 38:[92, 42, 36], Operations: ['40-4=36']\nExploring Operation: 92-42=50, Resulting Numbers: [36, 50]\nGenerated Node #0,5,0: 38:[36, 50] Operation: 92-42=50\nMoving to Node #0,5,0\nCurrent State: 38:[36, 50], Operations: ['40-4=36', '92-42=50']\nExploring Operation: 50-36=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 38:[92, 42, 36], Operations: ['40-4=36']\nExploring Operation: 92-36=56, Resulting Numbers: [42, 56]\nGenerated Node #0,5,1: 38:[42, 56] Operation: 92-36=56\nMoving to Node #0,5,1\nCurrent State: 38:[42, 56], Operations: ['40-4=36', '92-36=56']\nExploring Operation: 56-42=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[4, 92, 40, 42], Operations: []\nExploring Operation: 4+92=96, Resulting Numbers: [40, 42, 96]\nGenerated Node #0,6: 38:[40, 42, 96] Operation: 4+92=96\nMoving to Node #0,6\nCurrent State: 38:[40, 42, 96], Operations: ['4+92=96']\nExploring Operation: 96-42=54, Resulting Numbers: [40, 54]\nGenerated Node #0,6,0: 38:[40, 54] Operation: 96-42=54\nMoving to Node #0,6,0\nCurrent State: 38:[40, 54], Operations: ['4+92=96', '96-42=54']\nExploring Operation: 54-40=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 38:[40, 42, 96], Operations: ['4+92=96']\nExploring Operation: 96-40=56, Resulting Numbers: [42, 56]\nGenerated Node #0,6,1: 38:[42, 56] Operation: 96-40=56\nMoving to Node #0,6,1\nCurrent State: 38:[42, 56], Operations: ['4+92=96', '96-40=56']\nExploring Operation: 56-42=14, Resulting Numbers: [14]\n14,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[4, 92, 40, 42], Operations: []\nExploring Operation: 4+40=44, Resulting Numbers: [92, 42, 44]\nGenerated Node #0,7: 38:[92, 42, 44] Operation: 4+40=44\nMoving to Node #0,7\nCurrent State: 38:[92, 42, 44], Operations: ['4+40=44']\nExploring Operation: 92-44=48, Resulting Numbers: [42, 48]\nGenerated Node #0,7,0: 38:[42, 48] Operation: 92-44=48\nMoving to Node #0,7,0\nCurrent State: 38:[42, 48], Operations: ['4+40=44', '92-44=48']\nExploring Operation: 48-42=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 38:[92, 42, 44], Operations: ['4+40=44']\nExploring Operation: 92-42=50, Resulting Numbers: [44, 50]\nGenerated Node #0,7,1: 38:[44, 50] Operation: 92-42=50\nMoving to Node #0,7,1\nCurrent State: 38:[44, 50], Operations: ['4+40=44', '92-42=50']\nExploring Operation: 50-44=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[4, 92, 40, 42], Operations: []\nExploring Operation: 4+42=46, Resulting Numbers: [92, 40, 46]\nGenerated Node #0,8: 38:[92, 40, 46] Operation: 4+42=46\nMoving to Node #0,8\nCurrent State: 38:[92, 40, 46], Operations: ['4+42=46']\nExploring Operation: 92-46=46, Resulting Numbers: [40, 46]\nGenerated Node #0,8,0: 38:[40, 46] Operation: 92-46=46\nMoving to Node #0,8,0\nCurrent State: 38:[40, 46], Operations: ['4+42=46', '92-46=46']\nExploring Operation: 46-40=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 38:[92, 40, 46], Operations: ['4+42=46']\nExploring Operation: 92-40=52, Resulting Numbers: [46, 52]\nGenerated Node #0,8,1: 38:[46, 52] Operation: 92-40=52\nMoving to Node #0,8,1\nCurrent State: 38:[46, 52], Operations: ['4+42=46', '92-40=52']\nExploring Operation: 52-46=6, Resulting Numbers: [6]\n6,38 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 38:[92, 40, 46], Operations: ['4+42=46']\nExploring Operation: 92/46=2, Resulting Numbers: [40, 2]\nGenerated Node #0,8,2: 38:[40, 2] Operation: 92/46=2\nMoving to Node #0,8,2\nCurrent State: 38:[40, 2], Operations: ['4+42=46', '92/46=2']\nExploring Operation: 40-2=38, Resulting Numbers: [38]\n38,38 equal: Goal Reached\n", "role": "assistant" } ]
[ 74, 78, 18, 78 ]
91
[ "74+18=92", "78/78=1", "92-1=91" ]
Current State: 91:[74, 78, 18, 78], Operations: [] Exploring Operation: 78+18=96, Resulting Numbers: [74, 78, 96] Generated Node #0,0: 91:[74, 78, 96] Operation: 78+18=96 Exploring Operation: 18+78=96, Resulting Numbers: [74, 78, 96] Generated Node #0,1: 91:[74, 78, 96] Operation: 18+78=96 Exploring Operation: 74-18=56, Resulting Numbers: [78, 78, 56] Generated Node #0,2: 91:[78, 78, 56] Operation: 74-18=56 Exploring Operation: 74+18=92, Resulting Numbers: [78, 78, 92] Generated Node #0,3: 91:[78, 78, 92] Operation: 74+18=92 Exploring Operation: 78-18=60, Resulting Numbers: [74, 78, 60] Generated Node #0,4: 91:[74, 78, 60] Operation: 78-18=60 Moving to Node #0,3 Current State: 91:[78, 78, 92], Operations: ['74+18=92'] Exploring Operation: 92-78=14, Resulting Numbers: [78, 14] Generated Node #0,3,0: 91:[78, 14] Operation: 92-78=14 Exploring Operation: 78/78=1, Resulting Numbers: [92, 1] Generated Node #0,3,1: 91:[92, 1] Operation: 78/78=1 Exploring Operation: 92-78=14, Resulting Numbers: [78, 14] Generated Node #0,3,2: 91:[78, 14] Operation: 92-78=14 Exploring Operation: 78-78=0, Resulting Numbers: [92, 0] Generated Node #0,3,3: 91:[92, 0] Operation: 78-78=0 Exploring Operation: 78+78=156, Resulting Numbers: [92, 156] Generated Node #0,3,4: 91:[92, 156] Operation: 78+78=156 Moving to Node #0,1 Current State: 91:[74, 78, 96], Operations: ['18+78=96'] Exploring Operation: 74+96=170, Resulting Numbers: [78, 170] Generated Node #0,1,0: 91:[78, 170] Operation: 74+96=170 Exploring Operation: 96-74=22, Resulting Numbers: [78, 22] Generated Node #0,1,1: 91:[78, 22] Operation: 96-74=22 Exploring Operation: 74+78=152, Resulting Numbers: [96, 152] Generated Node #0,1,2: 91:[96, 152] Operation: 74+78=152 Exploring Operation: 78-74=4, Resulting Numbers: [96, 4] Generated Node #0,1,3: 91:[96, 4] Operation: 78-74=4 Exploring Operation: 96-78=18, Resulting Numbers: [74, 18] Generated Node #0,1,4: 91:[74, 18] Operation: 96-78=18 Moving to Node #0,0 Current State: 91:[74, 78, 96], Operations: ['78+18=96'] Exploring Operation: 96-74=22, Resulting Numbers: [78, 22] Generated Node #0,0,0: 91:[78, 22] Operation: 96-74=22 Exploring Operation: 74+78=152, Resulting Numbers: [96, 152] Generated Node #0,0,1: 91:[96, 152] Operation: 74+78=152 Exploring Operation: 78-74=4, Resulting Numbers: [96, 4] Generated Node #0,0,2: 91:[96, 4] Operation: 78-74=4 Exploring Operation: 96-78=18, Resulting Numbers: [74, 18] Generated Node #0,0,3: 91:[74, 18] Operation: 96-78=18 Exploring Operation: 74+96=170, Resulting Numbers: [78, 170] Generated Node #0,0,4: 91:[78, 170] Operation: 74+96=170 Moving to Node #0,2 Current State: 91:[78, 78, 56], Operations: ['74-18=56'] Exploring Operation: 78-56=22, Resulting Numbers: [78, 22] Generated Node #0,2,0: 91:[78, 22] Operation: 78-56=22 Exploring Operation: 78+56=134, Resulting Numbers: [78, 134] Generated Node #0,2,1: 91:[78, 134] Operation: 78+56=134 Exploring Operation: 78-56=22, Resulting Numbers: [78, 22] Generated Node #0,2,2: 91:[78, 22] Operation: 78-56=22 Exploring Operation: 78+56=134, Resulting Numbers: [78, 134] Generated Node #0,2,3: 91:[78, 134] Operation: 78+56=134 Exploring Operation: 78+78=156, Resulting Numbers: [56, 156] Generated Node #0,2,4: 91:[56, 156] Operation: 78+78=156 Moving to Node #0,4 Current State: 91:[74, 78, 60], Operations: ['78-18=60'] Exploring Operation: 78+60=138, Resulting Numbers: [74, 138] Generated Node #0,4,0: 91:[74, 138] Operation: 78+60=138 Exploring Operation: 74+78=152, Resulting Numbers: [60, 152] Generated Node #0,4,1: 91:[60, 152] Operation: 74+78=152 Exploring Operation: 74+60=134, Resulting Numbers: [78, 134] Generated Node #0,4,2: 91:[78, 134] Operation: 74+60=134 Exploring Operation: 74-60=14, Resulting Numbers: [78, 14] Generated Node #0,4,3: 91:[78, 14] Operation: 74-60=14 Exploring Operation: 78-60=18, Resulting Numbers: [74, 18] Generated Node #0,4,4: 91:[74, 18] Operation: 78-60=18 Moving to Node #0,2,1 Current State: 91:[78, 134], Operations: ['74-18=56', '78+56=134'] Exploring Operation: 134-78=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 78+134=212, Resulting Numbers: [212] 212,91 unequal: No Solution Exploring Operation: 78*134=10452, Resulting Numbers: [10452] 10452,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[78, 134], Operations: ['74-18=56', '78+56=134'] Exploring Operation: 134-78=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 78+134=212, Resulting Numbers: [212] 212,91 unequal: No Solution Exploring Operation: 78*134=10452, Resulting Numbers: [10452] 10452,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[78, 134], Operations: ['78-18=60', '74+60=134'] Exploring Operation: 78+134=212, Resulting Numbers: [212] 212,91 unequal: No Solution Exploring Operation: 78*134=10452, Resulting Numbers: [10452] 10452,91 unequal: No Solution Exploring Operation: 134-78=56, Resulting Numbers: [56] 56,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[74, 138], Operations: ['78-18=60', '78+60=138'] Exploring Operation: 74*138=10212, Resulting Numbers: [10212] 10212,91 unequal: No Solution Exploring Operation: 138-74=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 74+138=212, Resulting Numbers: [212] 212,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[96, 152], Operations: ['18+78=96', '74+78=152'] Exploring Operation: 152-96=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 96*152=14592, Resulting Numbers: [14592] 14592,91 unequal: No Solution Exploring Operation: 96+152=248, Resulting Numbers: [248] 248,91 unequal: No Solution Moving to Node #0,4,0,0 Current State: 91:[64], Operations: ['78-18=60', '78+60=138', '138-74=64'] Moving to Node #0,3,4 Current State: 91:[92, 156], Operations: ['74+18=92', '78+78=156'] Exploring Operation: 156-92=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 92+156=248, Resulting Numbers: [248] 248,91 unequal: No Solution Exploring Operation: 92*156=14352, Resulting Numbers: [14352] 14352,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[96, 152], Operations: ['78+18=96', '74+78=152'] Exploring Operation: 96+152=248, Resulting Numbers: [248] 248,91 unequal: No Solution Exploring Operation: 152-96=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 96*152=14592, Resulting Numbers: [14592] 14592,91 unequal: No Solution Moving to Node #0,2,3,0 Current State: 91:[56], Operations: ['74-18=56', '78+56=134', '134-78=56'] Moving to Node #0,4,2,0 Current State: 91:[56], Operations: ['78-18=60', '74+60=134', '134-78=56'] Moving to Node #0,3,4,0 Current State: 91:[64], Operations: ['74+18=92', '78+78=156', '156-92=64'] Moving to Node #0,2,1,0 Current State: 91:[56], Operations: ['74-18=56', '78+56=134', '134-78=56'] Moving to Node #0,1,2,0 Current State: 91:[56], Operations: ['18+78=96', '74+78=152', '152-96=56'] Moving to Node #0,0,1,0 Current State: 91:[56], Operations: ['78+18=96', '74+78=152', '152-96=56'] Moving to Node #0,1,1 Current State: 91:[78, 22], Operations: ['18+78=96', '96-74=22'] Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,91 unequal: No Solution Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,91 unequal: No Solution Moving to Node #0,1,1,0 Current State: 91:[100], Operations: ['18+78=96', '96-74=22', '78+22=100'] Moving to Node #0,1,1,0 Current State: 91:[56], Operations: ['18+78=96', '96-74=22', '78-22=56'] Moving to Node #0,0,0 Current State: 91:[78, 22], Operations: ['78+18=96', '96-74=22'] Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[78, 22], Operations: ['74-18=56', '78-56=22'] Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,91 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[78, 22], Operations: ['74-18=56', '78-56=22'] Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,91 unequal: No Solution Moving to Node #0,0,0,0 Current State: 91:[100], Operations: ['78+18=96', '96-74=22', '78+22=100'] Moving to Node #0,2,2,0 Current State: 91:[100], Operations: ['74-18=56', '78-56=22', '78+22=100'] Moving to Node #0,2,0,0 Current State: 91:[100], Operations: ['74-18=56', '78-56=22', '78+22=100'] Moving to Node #0,0,0,0 Current State: 91:[56], Operations: ['78+18=96', '96-74=22', '78-22=56'] Moving to Node #0,2,2,0 Current State: 91:[56], Operations: ['74-18=56', '78-56=22', '78-22=56'] Moving to Node #0,2,0,0 Current State: 91:[56], Operations: ['74-18=56', '78-56=22', '78-22=56'] Moving to Node #0,0,3 Current State: 91:[74, 18], Operations: ['78+18=96', '96-78=18'] Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,91 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[78, 14], Operations: ['74+18=92', '92-78=14'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[78, 14], Operations: ['78-18=60', '74-60=14'] Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,91 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[78, 14], Operations: ['74+18=92', '92-78=14'] Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,91 unequal: No Solution Moving to Node #0,0,3,0 Current State: 91:[92], Operations: ['78+18=96', '96-78=18', '74+18=92'] Moving to Node #0,3,2,0 Current State: 91:[92], Operations: ['74+18=92', '92-78=14', '78+14=92'] Moving to Node #0,4,3,0 Current State: 91:[92], Operations: ['78-18=60', '74-60=14', '78+14=92'] Moving to Node #0,3,0,0 Current State: 91:[92], Operations: ['74+18=92', '92-78=14', '78+14=92'] Moving to Node #0,4,3,0 Current State: 91:[64], Operations: ['78-18=60', '74-60=14', '78-14=64'] Moving to Node #0,3,0,0 Current State: 91:[64], Operations: ['74+18=92', '92-78=14', '78-14=64'] Moving to Node #0,3,2,0 Current State: 91:[64], Operations: ['74+18=92', '92-78=14', '78-14=64'] Moving to Node #0,0,3,0 Current State: 91:[56], Operations: ['78+18=96', '96-78=18', '74-18=56'] Moving to Node #0,4,4 Current State: 91:[74, 18], Operations: ['78-18=60', '78-60=18'] Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,91 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,91 unequal: No Solution Moving to Node #0,1,4 Current State: 91:[74, 18], Operations: ['18+78=96', '96-78=18'] Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,91 unequal: No Solution Moving to Node #0,4,4,0 Current State: 91:[92], Operations: ['78-18=60', '78-60=18', '74+18=92'] Moving to Node #0,1,4,0 Current State: 91:[92], Operations: ['18+78=96', '96-78=18', '74+18=92'] Moving to Node #0,4,4,0 Current State: 91:[56], Operations: ['78-18=60', '78-60=18', '74-18=56'] Moving to Node #0,1,4,0 Current State: 91:[56], Operations: ['18+78=96', '96-78=18', '74-18=56'] Moving to Node #0,3,1 Current State: 91:[92, 1], Operations: ['74+18=92', '78/78=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,91 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.926215
bfs_5
Current State: 91:[74, 78, 18, 78], Operations: [] Exploring Operation: 74+18=92, Resulting Numbers: [78, 78, 92] Generated Node #2: [78, 78, 92] from Operation: 74+18=92 Current State: 91:[78, 78, 92], Operations: ['74+18=92'] Exploring Operation: 78/78=1, Resulting Numbers: [92, 1] Generated Node #3: [92, 1] from Operation: 78/78=1 Current State: 91:[92, 1], Operations: ['74+18=92', '78/78=1'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
sum_heuristic
[ { "content": "Make 91 with the numbers [74, 78, 18, 78] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 91:[74, 78, 18, 78], Operations: []\nExploring Operation: 78+18=96, Resulting Numbers: [74, 78, 96]\nGenerated Node #0,0: 91:[74, 78, 96] Operation: 78+18=96\nExploring Operation: 18+78=96, Resulting Numbers: [74, 78, 96]\nGenerated Node #0,1: 91:[74, 78, 96] Operation: 18+78=96\nExploring Operation: 74-18=56, Resulting Numbers: [78, 78, 56]\nGenerated Node #0,2: 91:[78, 78, 56] Operation: 74-18=56\nExploring Operation: 74+18=92, Resulting Numbers: [78, 78, 92]\nGenerated Node #0,3: 91:[78, 78, 92] Operation: 74+18=92\nExploring Operation: 78-18=60, Resulting Numbers: [74, 78, 60]\nGenerated Node #0,4: 91:[74, 78, 60] Operation: 78-18=60\nMoving to Node #0,3\nCurrent State: 91:[78, 78, 92], Operations: ['74+18=92']\nExploring Operation: 92-78=14, Resulting Numbers: [78, 14]\nGenerated Node #0,3,0: 91:[78, 14] Operation: 92-78=14\nExploring Operation: 78/78=1, Resulting Numbers: [92, 1]\nGenerated Node #0,3,1: 91:[92, 1] Operation: 78/78=1\nExploring Operation: 92-78=14, Resulting Numbers: [78, 14]\nGenerated Node #0,3,2: 91:[78, 14] Operation: 92-78=14\nExploring Operation: 78-78=0, Resulting Numbers: [92, 0]\nGenerated Node #0,3,3: 91:[92, 0] Operation: 78-78=0\nExploring Operation: 78+78=156, Resulting Numbers: [92, 156]\nGenerated Node #0,3,4: 91:[92, 156] Operation: 78+78=156\nMoving to Node #0,1\nCurrent State: 91:[74, 78, 96], Operations: ['18+78=96']\nExploring Operation: 74+96=170, Resulting Numbers: [78, 170]\nGenerated Node #0,1,0: 91:[78, 170] Operation: 74+96=170\nExploring Operation: 96-74=22, Resulting Numbers: [78, 22]\nGenerated Node #0,1,1: 91:[78, 22] Operation: 96-74=22\nExploring Operation: 74+78=152, Resulting Numbers: [96, 152]\nGenerated Node #0,1,2: 91:[96, 152] Operation: 74+78=152\nExploring Operation: 78-74=4, Resulting Numbers: [96, 4]\nGenerated Node #0,1,3: 91:[96, 4] Operation: 78-74=4\nExploring Operation: 96-78=18, Resulting Numbers: [74, 18]\nGenerated Node #0,1,4: 91:[74, 18] Operation: 96-78=18\nMoving to Node #0,0\nCurrent State: 91:[74, 78, 96], Operations: ['78+18=96']\nExploring Operation: 96-74=22, Resulting Numbers: [78, 22]\nGenerated Node #0,0,0: 91:[78, 22] Operation: 96-74=22\nExploring Operation: 74+78=152, Resulting Numbers: [96, 152]\nGenerated Node #0,0,1: 91:[96, 152] Operation: 74+78=152\nExploring Operation: 78-74=4, Resulting Numbers: [96, 4]\nGenerated Node #0,0,2: 91:[96, 4] Operation: 78-74=4\nExploring Operation: 96-78=18, Resulting Numbers: [74, 18]\nGenerated Node #0,0,3: 91:[74, 18] Operation: 96-78=18\nExploring Operation: 74+96=170, Resulting Numbers: [78, 170]\nGenerated Node #0,0,4: 91:[78, 170] Operation: 74+96=170\nMoving to Node #0,2\nCurrent State: 91:[78, 78, 56], Operations: ['74-18=56']\nExploring Operation: 78-56=22, Resulting Numbers: [78, 22]\nGenerated Node #0,2,0: 91:[78, 22] Operation: 78-56=22\nExploring Operation: 78+56=134, Resulting Numbers: [78, 134]\nGenerated Node #0,2,1: 91:[78, 134] Operation: 78+56=134\nExploring Operation: 78-56=22, Resulting Numbers: [78, 22]\nGenerated Node #0,2,2: 91:[78, 22] Operation: 78-56=22\nExploring Operation: 78+56=134, Resulting Numbers: [78, 134]\nGenerated Node #0,2,3: 91:[78, 134] Operation: 78+56=134\nExploring Operation: 78+78=156, Resulting Numbers: [56, 156]\nGenerated Node #0,2,4: 91:[56, 156] Operation: 78+78=156\nMoving to Node #0,4\nCurrent State: 91:[74, 78, 60], Operations: ['78-18=60']\nExploring Operation: 78+60=138, Resulting Numbers: [74, 138]\nGenerated Node #0,4,0: 91:[74, 138] Operation: 78+60=138\nExploring Operation: 74+78=152, Resulting Numbers: [60, 152]\nGenerated Node #0,4,1: 91:[60, 152] Operation: 74+78=152\nExploring Operation: 74+60=134, Resulting Numbers: [78, 134]\nGenerated Node #0,4,2: 91:[78, 134] Operation: 74+60=134\nExploring Operation: 74-60=14, Resulting Numbers: [78, 14]\nGenerated Node #0,4,3: 91:[78, 14] Operation: 74-60=14\nExploring Operation: 78-60=18, Resulting Numbers: [74, 18]\nGenerated Node #0,4,4: 91:[74, 18] Operation: 78-60=18\nMoving to Node #0,2,1\nCurrent State: 91:[78, 134], Operations: ['74-18=56', '78+56=134']\nExploring Operation: 134-78=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nExploring Operation: 78+134=212, Resulting Numbers: [212]\n212,91 unequal: No Solution\nExploring Operation: 78*134=10452, Resulting Numbers: [10452]\n10452,91 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 91:[78, 134], Operations: ['74-18=56', '78+56=134']\nExploring Operation: 134-78=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nExploring Operation: 78+134=212, Resulting Numbers: [212]\n212,91 unequal: No Solution\nExploring Operation: 78*134=10452, Resulting Numbers: [10452]\n10452,91 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 91:[78, 134], Operations: ['78-18=60', '74+60=134']\nExploring Operation: 78+134=212, Resulting Numbers: [212]\n212,91 unequal: No Solution\nExploring Operation: 78*134=10452, Resulting Numbers: [10452]\n10452,91 unequal: No Solution\nExploring Operation: 134-78=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 91:[74, 138], Operations: ['78-18=60', '78+60=138']\nExploring Operation: 74*138=10212, Resulting Numbers: [10212]\n10212,91 unequal: No Solution\nExploring Operation: 138-74=64, Resulting Numbers: [64]\n64,91 unequal: No Solution\nExploring Operation: 74+138=212, Resulting Numbers: [212]\n212,91 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 91:[96, 152], Operations: ['18+78=96', '74+78=152']\nExploring Operation: 152-96=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nExploring Operation: 96*152=14592, Resulting Numbers: [14592]\n14592,91 unequal: No Solution\nExploring Operation: 96+152=248, Resulting Numbers: [248]\n248,91 unequal: No Solution\nMoving to Node #0,4,0,0\nCurrent State: 91:[64], Operations: ['78-18=60', '78+60=138', '138-74=64']\nMoving to Node #0,3,4\nCurrent State: 91:[92, 156], Operations: ['74+18=92', '78+78=156']\nExploring Operation: 156-92=64, Resulting Numbers: [64]\n64,91 unequal: No Solution\nExploring Operation: 92+156=248, Resulting Numbers: [248]\n248,91 unequal: No Solution\nExploring Operation: 92*156=14352, Resulting Numbers: [14352]\n14352,91 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 91:[96, 152], Operations: ['78+18=96', '74+78=152']\nExploring Operation: 96+152=248, Resulting Numbers: [248]\n248,91 unequal: No Solution\nExploring Operation: 152-96=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nExploring Operation: 96*152=14592, Resulting Numbers: [14592]\n14592,91 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 91:[56], Operations: ['74-18=56', '78+56=134', '134-78=56']\nMoving to Node #0,4,2,0\nCurrent State: 91:[56], Operations: ['78-18=60', '74+60=134', '134-78=56']\nMoving to Node #0,3,4,0\nCurrent State: 91:[64], Operations: ['74+18=92', '78+78=156', '156-92=64']\nMoving to Node #0,2,1,0\nCurrent State: 91:[56], Operations: ['74-18=56', '78+56=134', '134-78=56']\nMoving to Node #0,1,2,0\nCurrent State: 91:[56], Operations: ['18+78=96', '74+78=152', '152-96=56']\nMoving to Node #0,0,1,0\nCurrent State: 91:[56], Operations: ['78+18=96', '74+78=152', '152-96=56']\nMoving to Node #0,1,1\nCurrent State: 91:[78, 22], Operations: ['18+78=96', '96-74=22']\nExploring Operation: 78*22=1716, Resulting Numbers: [1716]\n1716,91 unequal: No Solution\nExploring Operation: 78+22=100, Resulting Numbers: [100]\n100,91 unequal: No Solution\nExploring Operation: 78-22=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 91:[100], Operations: ['18+78=96', '96-74=22', '78+22=100']\nMoving to Node #0,1,1,0\nCurrent State: 91:[56], Operations: ['18+78=96', '96-74=22', '78-22=56']\nMoving to Node #0,0,0\nCurrent State: 91:[78, 22], Operations: ['78+18=96', '96-74=22']\nExploring Operation: 78+22=100, Resulting Numbers: [100]\n100,91 unequal: No Solution\nExploring Operation: 78-22=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nExploring Operation: 78*22=1716, Resulting Numbers: [1716]\n1716,91 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 91:[78, 22], Operations: ['74-18=56', '78-56=22']\nExploring Operation: 78+22=100, Resulting Numbers: [100]\n100,91 unequal: No Solution\nExploring Operation: 78*22=1716, Resulting Numbers: [1716]\n1716,91 unequal: No Solution\nExploring Operation: 78-22=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 91:[78, 22], Operations: ['74-18=56', '78-56=22']\nExploring Operation: 78+22=100, Resulting Numbers: [100]\n100,91 unequal: No Solution\nExploring Operation: 78-22=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nExploring Operation: 78*22=1716, Resulting Numbers: [1716]\n1716,91 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 91:[100], Operations: ['78+18=96', '96-74=22', '78+22=100']\nMoving to Node #0,2,2,0\nCurrent State: 91:[100], Operations: ['74-18=56', '78-56=22', '78+22=100']\nMoving to Node #0,2,0,0\nCurrent State: 91:[100], Operations: ['74-18=56', '78-56=22', '78+22=100']\nMoving to Node #0,0,0,0\nCurrent State: 91:[56], Operations: ['78+18=96', '96-74=22', '78-22=56']\nMoving to Node #0,2,2,0\nCurrent State: 91:[56], Operations: ['74-18=56', '78-56=22', '78-22=56']\nMoving to Node #0,2,0,0\nCurrent State: 91:[56], Operations: ['74-18=56', '78-56=22', '78-22=56']\nMoving to Node #0,0,3\nCurrent State: 91:[74, 18], Operations: ['78+18=96', '96-78=18']\nExploring Operation: 74*18=1332, Resulting Numbers: [1332]\n1332,91 unequal: No Solution\nExploring Operation: 74-18=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nExploring Operation: 74+18=92, Resulting Numbers: [92]\n92,91 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 91:[78, 14], Operations: ['74+18=92', '92-78=14']\nExploring Operation: 78-14=64, Resulting Numbers: [64]\n64,91 unequal: No Solution\nExploring Operation: 78+14=92, Resulting Numbers: [92]\n92,91 unequal: No Solution\nExploring Operation: 78*14=1092, Resulting Numbers: [1092]\n1092,91 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 91:[78, 14], Operations: ['78-18=60', '74-60=14']\nExploring Operation: 78*14=1092, Resulting Numbers: [1092]\n1092,91 unequal: No Solution\nExploring Operation: 78-14=64, Resulting Numbers: [64]\n64,91 unequal: No Solution\nExploring Operation: 78+14=92, Resulting Numbers: [92]\n92,91 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 91:[78, 14], Operations: ['74+18=92', '92-78=14']\nExploring Operation: 78+14=92, Resulting Numbers: [92]\n92,91 unequal: No Solution\nExploring Operation: 78-14=64, Resulting Numbers: [64]\n64,91 unequal: No Solution\nExploring Operation: 78*14=1092, Resulting Numbers: [1092]\n1092,91 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 91:[92], Operations: ['78+18=96', '96-78=18', '74+18=92']\nMoving to Node #0,3,2,0\nCurrent State: 91:[92], Operations: ['74+18=92', '92-78=14', '78+14=92']\nMoving to Node #0,4,3,0\nCurrent State: 91:[92], Operations: ['78-18=60', '74-60=14', '78+14=92']\nMoving to Node #0,3,0,0\nCurrent State: 91:[92], Operations: ['74+18=92', '92-78=14', '78+14=92']\nMoving to Node #0,4,3,0\nCurrent State: 91:[64], Operations: ['78-18=60', '74-60=14', '78-14=64']\nMoving to Node #0,3,0,0\nCurrent State: 91:[64], Operations: ['74+18=92', '92-78=14', '78-14=64']\nMoving to Node #0,3,2,0\nCurrent State: 91:[64], Operations: ['74+18=92', '92-78=14', '78-14=64']\nMoving to Node #0,0,3,0\nCurrent State: 91:[56], Operations: ['78+18=96', '96-78=18', '74-18=56']\nMoving to Node #0,4,4\nCurrent State: 91:[74, 18], Operations: ['78-18=60', '78-60=18']\nExploring Operation: 74+18=92, Resulting Numbers: [92]\n92,91 unequal: No Solution\nExploring Operation: 74*18=1332, Resulting Numbers: [1332]\n1332,91 unequal: No Solution\nExploring Operation: 74-18=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 91:[74, 18], Operations: ['18+78=96', '96-78=18']\nExploring Operation: 74+18=92, Resulting Numbers: [92]\n92,91 unequal: No Solution\nExploring Operation: 74-18=56, Resulting Numbers: [56]\n56,91 unequal: No Solution\nExploring Operation: 74*18=1332, Resulting Numbers: [1332]\n1332,91 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 91:[92], Operations: ['78-18=60', '78-60=18', '74+18=92']\nMoving to Node #0,1,4,0\nCurrent State: 91:[92], Operations: ['18+78=96', '96-78=18', '74+18=92']\nMoving to Node #0,4,4,0\nCurrent State: 91:[56], Operations: ['78-18=60', '78-60=18', '74-18=56']\nMoving to Node #0,1,4,0\nCurrent State: 91:[56], Operations: ['18+78=96', '96-78=18', '74-18=56']\nMoving to Node #0,3,1\nCurrent State: 91:[92, 1], Operations: ['74+18=92', '78/78=1']\nExploring Operation: 92*1=92, Resulting Numbers: [92]\n92,91 unequal: No Solution\nExploring Operation: 92+1=93, Resulting Numbers: [93]\n93,91 unequal: No Solution\nExploring Operation: 92-1=91, Resulting Numbers: [91]\n91,91 equal: Goal Reached\n", "role": "assistant" } ]
[ 21, 59, 27, 97 ]
32
[ "59-21=38", "97-27=70", "70-38=32" ]
Current State: 32:[21, 59, 27, 97], Operations: [] Exploring Operation: 59-21=38, Resulting Numbers: [27, 97, 38] Generated Node #0,0: 32:[27, 97, 38] Operation: 59-21=38 Exploring Operation: 97-21=76, Resulting Numbers: [59, 27, 76] Generated Node #0,1: 32:[59, 27, 76] Operation: 97-21=76 Exploring Operation: 97-59=38, Resulting Numbers: [21, 27, 38] Generated Node #0,2: 32:[21, 27, 38] Operation: 97-59=38 Moving to Node #0,2 Current State: 32:[21, 27, 38], Operations: ['97-59=38'] Exploring Operation: 27-21=6, Resulting Numbers: [38, 6] Generated Node #0,2,0: 32:[38, 6] Operation: 27-21=6 Exploring Operation: 38-21=17, Resulting Numbers: [27, 17] Generated Node #0,2,1: 32:[27, 17] Operation: 38-21=17 Exploring Operation: 21+27=48, Resulting Numbers: [38, 48] Generated Node #0,2,2: 32:[38, 48] Operation: 21+27=48 Moving to Node #0,0 Current State: 32:[27, 97, 38], Operations: ['59-21=38'] Exploring Operation: 97-38=59, Resulting Numbers: [27, 59] Generated Node #0,0,0: 32:[27, 59] Operation: 97-38=59 Exploring Operation: 97-27=70, Resulting Numbers: [38, 70] Generated Node #0,0,1: 32:[38, 70] Operation: 97-27=70 Exploring Operation: 38-27=11, Resulting Numbers: [97, 11] Generated Node #0,0,2: 32:[97, 11] Operation: 38-27=11 Moving to Node #0,1 Current State: 32:[59, 27, 76], Operations: ['97-21=76'] Exploring Operation: 76-27=49, Resulting Numbers: [59, 49] Generated Node #0,1,0: 32:[59, 49] Operation: 76-27=49 Exploring Operation: 76-59=17, Resulting Numbers: [27, 17] Generated Node #0,1,1: 32:[27, 17] Operation: 76-59=17 Exploring Operation: 59-27=32, Resulting Numbers: [76, 32] Generated Node #0,1,2: 32:[76, 32] Operation: 59-27=32 Moving to Node #0,2,1 Current State: 32:[27, 17], Operations: ['97-59=38', '38-21=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[27, 17], Operations: ['97-21=76', '76-59=17'] Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,32 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[38, 48], Operations: ['97-59=38', '21+27=48'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,32 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,32 unequal: No Solution Moving to Node #0,2,1,0 Current State: 32:[44], Operations: ['97-59=38', '38-21=17', '27+17=44'] Moving to Node #0,1,1,0 Current State: 32:[44], Operations: ['97-21=76', '76-59=17', '27+17=44'] Moving to Node #0,2,0 Current State: 32:[38, 6], Operations: ['97-59=38', '27-21=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.980035
bfs_3
Current State: 32:[21, 59, 27, 97], Operations: [] Exploring Operation: 59-21=38, Resulting Numbers: [27, 97, 38] Generated Node #2: [27, 97, 38] from Operation: 59-21=38 Current State: 32:[27, 97, 38], Operations: ['59-21=38'] Exploring Operation: 97-27=70, Resulting Numbers: [38, 70] Generated Node #3: [38, 70] from Operation: 97-27=70 Current State: 32:[38, 70], Operations: ['59-21=38', '97-27=70'] Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
sum_heuristic
[ { "content": "Make 32 with the numbers [21, 59, 27, 97] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 32:[21, 59, 27, 97], Operations: []\nExploring Operation: 59-21=38, Resulting Numbers: [27, 97, 38]\nGenerated Node #0,0: 32:[27, 97, 38] Operation: 59-21=38\nExploring Operation: 97-21=76, Resulting Numbers: [59, 27, 76]\nGenerated Node #0,1: 32:[59, 27, 76] Operation: 97-21=76\nExploring Operation: 97-59=38, Resulting Numbers: [21, 27, 38]\nGenerated Node #0,2: 32:[21, 27, 38] Operation: 97-59=38\nMoving to Node #0,2\nCurrent State: 32:[21, 27, 38], Operations: ['97-59=38']\nExploring Operation: 27-21=6, Resulting Numbers: [38, 6]\nGenerated Node #0,2,0: 32:[38, 6] Operation: 27-21=6\nExploring Operation: 38-21=17, Resulting Numbers: [27, 17]\nGenerated Node #0,2,1: 32:[27, 17] Operation: 38-21=17\nExploring Operation: 21+27=48, Resulting Numbers: [38, 48]\nGenerated Node #0,2,2: 32:[38, 48] Operation: 21+27=48\nMoving to Node #0,0\nCurrent State: 32:[27, 97, 38], Operations: ['59-21=38']\nExploring Operation: 97-38=59, Resulting Numbers: [27, 59]\nGenerated Node #0,0,0: 32:[27, 59] Operation: 97-38=59\nExploring Operation: 97-27=70, Resulting Numbers: [38, 70]\nGenerated Node #0,0,1: 32:[38, 70] Operation: 97-27=70\nExploring Operation: 38-27=11, Resulting Numbers: [97, 11]\nGenerated Node #0,0,2: 32:[97, 11] Operation: 38-27=11\nMoving to Node #0,1\nCurrent State: 32:[59, 27, 76], Operations: ['97-21=76']\nExploring Operation: 76-27=49, Resulting Numbers: [59, 49]\nGenerated Node #0,1,0: 32:[59, 49] Operation: 76-27=49\nExploring Operation: 76-59=17, Resulting Numbers: [27, 17]\nGenerated Node #0,1,1: 32:[27, 17] Operation: 76-59=17\nExploring Operation: 59-27=32, Resulting Numbers: [76, 32]\nGenerated Node #0,1,2: 32:[76, 32] Operation: 59-27=32\nMoving to Node #0,2,1\nCurrent State: 32:[27, 17], Operations: ['97-59=38', '38-21=17']\nExploring Operation: 27+17=44, Resulting Numbers: [44]\n44,32 unequal: No Solution\nExploring Operation: 27-17=10, Resulting Numbers: [10]\n10,32 unequal: No Solution\nExploring Operation: 27*17=459, Resulting Numbers: [459]\n459,32 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 32:[27, 17], Operations: ['97-21=76', '76-59=17']\nExploring Operation: 27*17=459, Resulting Numbers: [459]\n459,32 unequal: No Solution\nExploring Operation: 27-17=10, Resulting Numbers: [10]\n10,32 unequal: No Solution\nExploring Operation: 27+17=44, Resulting Numbers: [44]\n44,32 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 32:[38, 48], Operations: ['97-59=38', '21+27=48']\nExploring Operation: 48-38=10, Resulting Numbers: [10]\n10,32 unequal: No Solution\nExploring Operation: 38*48=1824, Resulting Numbers: [1824]\n1824,32 unequal: No Solution\nExploring Operation: 38+48=86, Resulting Numbers: [86]\n86,32 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 32:[44], Operations: ['97-59=38', '38-21=17', '27+17=44']\nMoving to Node #0,1,1,0\nCurrent State: 32:[44], Operations: ['97-21=76', '76-59=17', '27+17=44']\nMoving to Node #0,2,0\nCurrent State: 32:[38, 6], Operations: ['97-59=38', '27-21=6']\nExploring Operation: 38-6=32, Resulting Numbers: [32]\n32,32 equal: Goal Reached\n", "role": "assistant" } ]
[ 28, 24, 48, 98 ]
94
[ "28+24=52", "48+98=146", "146-52=94" ]
Current State: 94:[28, 24, 48, 98], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [48, 98, 4] Generated Node #0,0: 94:[48, 98, 4] Operation: 28-24=4 Moving to Node #0,0 Current State: 94:[48, 98, 4], Operations: ['28-24=4'] Exploring Operation: 98-4=94, Resulting Numbers: [48, 94] Generated Node #0,0,0: 94:[48, 94] Operation: 98-4=94 Moving to Node #0,0,0 Current State: 94:[48, 94], Operations: ['28-24=4', '98-4=94'] Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[48, 94], Operations: ['28-24=4', '98-4=94'] Exploring Operation: 48+94=142, Resulting Numbers: [142] 142,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[48, 98, 4], Operations: ['28-24=4'] Exploring Operation: 98-48=50, Resulting Numbers: [4, 50] Generated Node #0,0,1: 94:[4, 50] Operation: 98-48=50 Moving to Node #0,0,1 Current State: 94:[4, 50], Operations: ['28-24=4', '98-48=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[4, 50], Operations: ['28-24=4', '98-48=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[48, 98, 4], Operations: ['28-24=4'] Exploring Operation: 48-4=44, Resulting Numbers: [98, 44] Generated Node #0,0,2: 94:[98, 44] Operation: 48-4=44 Moving to Node #0,0,2 Current State: 94:[98, 44], Operations: ['28-24=4', '48-4=44'] Exploring Operation: 98-44=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[98, 44], Operations: ['28-24=4', '48-4=44'] Exploring Operation: 98+44=142, Resulting Numbers: [142] 142,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[48, 98, 4], Operations: ['28-24=4'] Exploring Operation: 48+4=52, Resulting Numbers: [98, 52] Generated Node #0,0,3: 94:[98, 52] Operation: 48+4=52 Moving to Node #0,0,3 Current State: 94:[98, 52], Operations: ['28-24=4', '48+4=52'] Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[98, 52], Operations: ['28-24=4', '48+4=52'] Exploring Operation: 98+52=150, Resulting Numbers: [150] 150,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[48, 98, 4], Operations: ['28-24=4'] Exploring Operation: 98+4=102, Resulting Numbers: [48, 102] Generated Node #0,0,4: 94:[48, 102] Operation: 98+4=102 Moving to Node #0,0,4 Current State: 94:[48, 102], Operations: ['28-24=4', '98+4=102'] Exploring Operation: 102-48=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[48, 102], Operations: ['28-24=4', '98+4=102'] Exploring Operation: 48+102=150, Resulting Numbers: [150] 150,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[48, 98, 4], Operations: ['28-24=4'] Exploring Operation: 48/4=12, Resulting Numbers: [98, 12] Generated Node #0,0,5: 94:[98, 12] Operation: 48/4=12 Moving to Node #0,0,5 Current State: 94:[98, 12], Operations: ['28-24=4', '48/4=12'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,94 unequal: No Solution Moving to Node #0,0,5 Current State: 94:[98, 12], Operations: ['28-24=4', '48/4=12'] Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[48, 98, 4], Operations: ['28-24=4'] Exploring Operation: 48+98=146, Resulting Numbers: [4, 146] Generated Node #0,0,6: 94:[4, 146] Operation: 48+98=146 Moving to Node #0,0,6 Current State: 94:[4, 146], Operations: ['28-24=4', '48+98=146'] Exploring Operation: 146-4=142, Resulting Numbers: [142] 142,94 unequal: No Solution Moving to Node #0,0,6 Current State: 94:[4, 146], Operations: ['28-24=4', '48+98=146'] Exploring Operation: 4+146=150, Resulting Numbers: [150] 150,94 unequal: No Solution Moving to Node #0 Current State: 94:[28, 24, 48, 98], Operations: [] Exploring Operation: 28+24=52, Resulting Numbers: [48, 98, 52] Generated Node #0,1: 94:[48, 98, 52] Operation: 28+24=52 Moving to Node #0,1 Current State: 94:[48, 98, 52], Operations: ['28+24=52'] Exploring Operation: 98-52=46, Resulting Numbers: [48, 46] Generated Node #0,1,0: 94:[48, 46] Operation: 98-52=46 Moving to Node #0,1,0 Current State: 94:[48, 46], Operations: ['28+24=52', '98-52=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.977431
dfs
Current State: 94:[28, 24, 48, 98], Operations: [] Exploring Operation: 28+24=52, Resulting Numbers: [48, 98, 52] Generated Node #2: [48, 98, 52] from Operation: 28+24=52 Current State: 94:[48, 98, 52], Operations: ['28+24=52'] Exploring Operation: 48+98=146, Resulting Numbers: [52, 146] Generated Node #3: [52, 146] from Operation: 48+98=146 Current State: 94:[52, 146], Operations: ['28+24=52', '48+98=146'] Exploring Operation: 146-52=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
mult_heuristic
[ { "content": "Make 94 with the numbers [28, 24, 48, 98] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 94:[28, 24, 48, 98], Operations: []\nExploring Operation: 28-24=4, Resulting Numbers: [48, 98, 4]\nGenerated Node #0,0: 94:[48, 98, 4] Operation: 28-24=4\nMoving to Node #0,0\nCurrent State: 94:[48, 98, 4], Operations: ['28-24=4']\nExploring Operation: 98-4=94, Resulting Numbers: [48, 94]\nGenerated Node #0,0,0: 94:[48, 94] Operation: 98-4=94\nMoving to Node #0,0,0\nCurrent State: 94:[48, 94], Operations: ['28-24=4', '98-4=94']\nExploring Operation: 94-48=46, Resulting Numbers: [46]\n46,94 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 94:[48, 94], Operations: ['28-24=4', '98-4=94']\nExploring Operation: 48+94=142, Resulting Numbers: [142]\n142,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[48, 98, 4], Operations: ['28-24=4']\nExploring Operation: 98-48=50, Resulting Numbers: [4, 50]\nGenerated Node #0,0,1: 94:[4, 50] Operation: 98-48=50\nMoving to Node #0,0,1\nCurrent State: 94:[4, 50], Operations: ['28-24=4', '98-48=50']\nExploring Operation: 50-4=46, Resulting Numbers: [46]\n46,94 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 94:[4, 50], Operations: ['28-24=4', '98-48=50']\nExploring Operation: 4+50=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[48, 98, 4], Operations: ['28-24=4']\nExploring Operation: 48-4=44, Resulting Numbers: [98, 44]\nGenerated Node #0,0,2: 94:[98, 44] Operation: 48-4=44\nMoving to Node #0,0,2\nCurrent State: 94:[98, 44], Operations: ['28-24=4', '48-4=44']\nExploring Operation: 98-44=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 94:[98, 44], Operations: ['28-24=4', '48-4=44']\nExploring Operation: 98+44=142, Resulting Numbers: [142]\n142,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[48, 98, 4], Operations: ['28-24=4']\nExploring Operation: 48+4=52, Resulting Numbers: [98, 52]\nGenerated Node #0,0,3: 94:[98, 52] Operation: 48+4=52\nMoving to Node #0,0,3\nCurrent State: 94:[98, 52], Operations: ['28-24=4', '48+4=52']\nExploring Operation: 98-52=46, Resulting Numbers: [46]\n46,94 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 94:[98, 52], Operations: ['28-24=4', '48+4=52']\nExploring Operation: 98+52=150, Resulting Numbers: [150]\n150,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[48, 98, 4], Operations: ['28-24=4']\nExploring Operation: 98+4=102, Resulting Numbers: [48, 102]\nGenerated Node #0,0,4: 94:[48, 102] Operation: 98+4=102\nMoving to Node #0,0,4\nCurrent State: 94:[48, 102], Operations: ['28-24=4', '98+4=102']\nExploring Operation: 102-48=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 94:[48, 102], Operations: ['28-24=4', '98+4=102']\nExploring Operation: 48+102=150, Resulting Numbers: [150]\n150,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[48, 98, 4], Operations: ['28-24=4']\nExploring Operation: 48/4=12, Resulting Numbers: [98, 12]\nGenerated Node #0,0,5: 94:[98, 12] Operation: 48/4=12\nMoving to Node #0,0,5\nCurrent State: 94:[98, 12], Operations: ['28-24=4', '48/4=12']\nExploring Operation: 98-12=86, Resulting Numbers: [86]\n86,94 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 94:[98, 12], Operations: ['28-24=4', '48/4=12']\nExploring Operation: 98+12=110, Resulting Numbers: [110]\n110,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[48, 98, 4], Operations: ['28-24=4']\nExploring Operation: 48+98=146, Resulting Numbers: [4, 146]\nGenerated Node #0,0,6: 94:[4, 146] Operation: 48+98=146\nMoving to Node #0,0,6\nCurrent State: 94:[4, 146], Operations: ['28-24=4', '48+98=146']\nExploring Operation: 146-4=142, Resulting Numbers: [142]\n142,94 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 94:[4, 146], Operations: ['28-24=4', '48+98=146']\nExploring Operation: 4+146=150, Resulting Numbers: [150]\n150,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[28, 24, 48, 98], Operations: []\nExploring Operation: 28+24=52, Resulting Numbers: [48, 98, 52]\nGenerated Node #0,1: 94:[48, 98, 52] Operation: 28+24=52\nMoving to Node #0,1\nCurrent State: 94:[48, 98, 52], Operations: ['28+24=52']\nExploring Operation: 98-52=46, Resulting Numbers: [48, 46]\nGenerated Node #0,1,0: 94:[48, 46] Operation: 98-52=46\nMoving to Node #0,1,0\nCurrent State: 94:[48, 46], Operations: ['28+24=52', '98-52=46']\nExploring Operation: 48+46=94, Resulting Numbers: [94]\n94,94 equal: Goal Reached\n", "role": "assistant" } ]
[ 35, 16, 31, 59 ]
79
[ "35+16=51", "59-31=28", "51+28=79" ]
Current State: 79:[35, 16, 31, 59], Operations: [] Exploring Operation: 16+31=47, Resulting Numbers: [35, 59, 47] Generated Node #0,0: 79:[35, 59, 47] Operation: 16+31=47 Exploring Operation: 35+31=66, Resulting Numbers: [16, 59, 66] Generated Node #0,1: 79:[16, 59, 66] Operation: 35+31=66 Exploring Operation: 35+16=51, Resulting Numbers: [31, 59, 51] Generated Node #0,2: 79:[31, 59, 51] Operation: 35+16=51 Moving to Node #0,0 Current State: 79:[35, 59, 47], Operations: ['16+31=47'] Exploring Operation: 59+47=106, Resulting Numbers: [35, 106] Generated Node #0,0,0: 79:[35, 106] Operation: 59+47=106 Exploring Operation: 35+47=82, Resulting Numbers: [59, 82] Generated Node #0,0,1: 79:[59, 82] Operation: 35+47=82 Exploring Operation: 35+59=94, Resulting Numbers: [47, 94] Generated Node #0,0,2: 79:[47, 94] Operation: 35+59=94 Moving to Node #0,1 Current State: 79:[16, 59, 66], Operations: ['35+31=66'] Exploring Operation: 16+59=75, Resulting Numbers: [66, 75] Generated Node #0,1,0: 79:[66, 75] Operation: 16+59=75 Exploring Operation: 16+66=82, Resulting Numbers: [59, 82] Generated Node #0,1,1: 79:[59, 82] Operation: 16+66=82 Exploring Operation: 59-16=43, Resulting Numbers: [66, 43] Generated Node #0,1,2: 79:[66, 43] Operation: 59-16=43 Moving to Node #0,2 Current State: 79:[31, 59, 51], Operations: ['35+16=51'] Exploring Operation: 31+51=82, Resulting Numbers: [59, 82] Generated Node #0,2,0: 79:[59, 82] Operation: 31+51=82 Exploring Operation: 31+59=90, Resulting Numbers: [51, 90] Generated Node #0,2,1: 79:[51, 90] Operation: 31+59=90 Exploring Operation: 59-31=28, Resulting Numbers: [51, 28] Generated Node #0,2,2: 79:[51, 28] Operation: 59-31=28 Moving to Node #0,1,0 Current State: 79:[66, 75], Operations: ['35+31=66', '16+59=75'] Exploring Operation: 66*75=4950, Resulting Numbers: [4950] 4950,79 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 66+75=141, Resulting Numbers: [141] 141,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[59, 82], Operations: ['35+16=51', '31+51=82'] Exploring Operation: 59+82=141, Resulting Numbers: [141] 141,79 unequal: No Solution Exploring Operation: 59*82=4838, Resulting Numbers: [4838] 4838,79 unequal: No Solution Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[59, 82], Operations: ['16+31=47', '35+47=82'] Exploring Operation: 59*82=4838, Resulting Numbers: [4838] 4838,79 unequal: No Solution Exploring Operation: 59+82=141, Resulting Numbers: [141] 141,79 unequal: No Solution Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[59, 82], Operations: ['35+31=66', '16+66=82'] Exploring Operation: 59+82=141, Resulting Numbers: [141] 141,79 unequal: No Solution Exploring Operation: 59*82=4838, Resulting Numbers: [4838] 4838,79 unequal: No Solution Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[51, 90], Operations: ['35+16=51', '31+59=90'] Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,79 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[47, 94], Operations: ['16+31=47', '35+59=94'] Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 47+94=141, Resulting Numbers: [141] 141,79 unequal: No Solution Moving to Node #0,0,2,0 Current State: 79:[47], Operations: ['16+31=47', '35+59=94', '94-47=47'] Moving to Node #0,2,1,0 Current State: 79:[39], Operations: ['35+16=51', '31+59=90', '90-51=39'] Moving to Node #0,1,2 Current State: 79:[66, 43], Operations: ['35+31=66', '59-16=43'] Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,79 unequal: No Solution Exploring Operation: 66*43=2838, Resulting Numbers: [2838] 2838,79 unequal: No Solution Moving to Node #0,1,2,0 Current State: 79:[109], Operations: ['35+31=66', '59-16=43', '66+43=109'] Moving to Node #0,1,1,0 Current State: 79:[23], Operations: ['35+31=66', '16+66=82', '82-59=23'] Moving to Node #0,0,1,0 Current State: 79:[23], Operations: ['16+31=47', '35+47=82', '82-59=23'] Moving to Node #0,1,2,0 Current State: 79:[23], Operations: ['35+31=66', '59-16=43', '66-43=23'] Moving to Node #0,2,0,0 Current State: 79:[23], Operations: ['35+16=51', '31+51=82', '82-59=23'] Moving to Node #0,1,0,0 Current State: 79:[141], Operations: ['35+31=66', '16+59=75', '66+75=141'] Moving to Node #0,1,1,0 Current State: 79:[141], Operations: ['35+31=66', '16+66=82', '59+82=141'] Moving to Node #0,0,1,0 Current State: 79:[141], Operations: ['16+31=47', '35+47=82', '59+82=141'] Moving to Node #0,0,2,0 Current State: 79:[141], Operations: ['16+31=47', '35+59=94', '47+94=141'] Moving to Node #0,2,0,0 Current State: 79:[141], Operations: ['35+16=51', '31+51=82', '59+82=141'] Moving to Node #0,2,1,0 Current State: 79:[141], Operations: ['35+16=51', '31+59=90', '51+90=141'] Moving to Node #0,1,0,0 Current State: 79:[9], Operations: ['35+31=66', '16+59=75', '75-66=9'] Moving to Node #0,0,0 Current State: 79:[35, 106], Operations: ['16+31=47', '59+47=106'] Exploring Operation: 35*106=3710, Resulting Numbers: [3710] 3710,79 unequal: No Solution Exploring Operation: 106-35=71, Resulting Numbers: [71] 71,79 unequal: No Solution Exploring Operation: 35+106=141, Resulting Numbers: [141] 141,79 unequal: No Solution Moving to Node #0,0,2,0 Current State: 79:[2], Operations: ['16+31=47', '35+59=94', '94/47=2'] Moving to Node #0,2,2 Current State: 79:[51, 28], Operations: ['35+16=51', '59-31=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.967014
bfs_3
Current State: 79:[35, 16, 31, 59], Operations: [] Exploring Operation: 35+16=51, Resulting Numbers: [31, 59, 51] Generated Node #2: [31, 59, 51] from Operation: 35+16=51 Current State: 79:[31, 59, 51], Operations: ['35+16=51'] Exploring Operation: 59-31=28, Resulting Numbers: [51, 28] Generated Node #3: [51, 28] from Operation: 59-31=28 Current State: 79:[51, 28], Operations: ['35+16=51', '59-31=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
mult_heuristic
[ { "content": "Make 79 with the numbers [35, 16, 31, 59] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 79:[35, 16, 31, 59], Operations: []\nExploring Operation: 16+31=47, Resulting Numbers: [35, 59, 47]\nGenerated Node #0,0: 79:[35, 59, 47] Operation: 16+31=47\nExploring Operation: 35+31=66, Resulting Numbers: [16, 59, 66]\nGenerated Node #0,1: 79:[16, 59, 66] Operation: 35+31=66\nExploring Operation: 35+16=51, Resulting Numbers: [31, 59, 51]\nGenerated Node #0,2: 79:[31, 59, 51] Operation: 35+16=51\nMoving to Node #0,0\nCurrent State: 79:[35, 59, 47], Operations: ['16+31=47']\nExploring Operation: 59+47=106, Resulting Numbers: [35, 106]\nGenerated Node #0,0,0: 79:[35, 106] Operation: 59+47=106\nExploring Operation: 35+47=82, Resulting Numbers: [59, 82]\nGenerated Node #0,0,1: 79:[59, 82] Operation: 35+47=82\nExploring Operation: 35+59=94, Resulting Numbers: [47, 94]\nGenerated Node #0,0,2: 79:[47, 94] Operation: 35+59=94\nMoving to Node #0,1\nCurrent State: 79:[16, 59, 66], Operations: ['35+31=66']\nExploring Operation: 16+59=75, Resulting Numbers: [66, 75]\nGenerated Node #0,1,0: 79:[66, 75] Operation: 16+59=75\nExploring Operation: 16+66=82, Resulting Numbers: [59, 82]\nGenerated Node #0,1,1: 79:[59, 82] Operation: 16+66=82\nExploring Operation: 59-16=43, Resulting Numbers: [66, 43]\nGenerated Node #0,1,2: 79:[66, 43] Operation: 59-16=43\nMoving to Node #0,2\nCurrent State: 79:[31, 59, 51], Operations: ['35+16=51']\nExploring Operation: 31+51=82, Resulting Numbers: [59, 82]\nGenerated Node #0,2,0: 79:[59, 82] Operation: 31+51=82\nExploring Operation: 31+59=90, Resulting Numbers: [51, 90]\nGenerated Node #0,2,1: 79:[51, 90] Operation: 31+59=90\nExploring Operation: 59-31=28, Resulting Numbers: [51, 28]\nGenerated Node #0,2,2: 79:[51, 28] Operation: 59-31=28\nMoving to Node #0,1,0\nCurrent State: 79:[66, 75], Operations: ['35+31=66', '16+59=75']\nExploring Operation: 66*75=4950, Resulting Numbers: [4950]\n4950,79 unequal: No Solution\nExploring Operation: 75-66=9, Resulting Numbers: [9]\n9,79 unequal: No Solution\nExploring Operation: 66+75=141, Resulting Numbers: [141]\n141,79 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 79:[59, 82], Operations: ['35+16=51', '31+51=82']\nExploring Operation: 59+82=141, Resulting Numbers: [141]\n141,79 unequal: No Solution\nExploring Operation: 59*82=4838, Resulting Numbers: [4838]\n4838,79 unequal: No Solution\nExploring Operation: 82-59=23, Resulting Numbers: [23]\n23,79 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 79:[59, 82], Operations: ['16+31=47', '35+47=82']\nExploring Operation: 59*82=4838, Resulting Numbers: [4838]\n4838,79 unequal: No Solution\nExploring Operation: 59+82=141, Resulting Numbers: [141]\n141,79 unequal: No Solution\nExploring Operation: 82-59=23, Resulting Numbers: [23]\n23,79 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 79:[59, 82], Operations: ['35+31=66', '16+66=82']\nExploring Operation: 59+82=141, Resulting Numbers: [141]\n141,79 unequal: No Solution\nExploring Operation: 59*82=4838, Resulting Numbers: [4838]\n4838,79 unequal: No Solution\nExploring Operation: 82-59=23, Resulting Numbers: [23]\n23,79 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 79:[51, 90], Operations: ['35+16=51', '31+59=90']\nExploring Operation: 51+90=141, Resulting Numbers: [141]\n141,79 unequal: No Solution\nExploring Operation: 90-51=39, Resulting Numbers: [39]\n39,79 unequal: No Solution\nExploring Operation: 51*90=4590, Resulting Numbers: [4590]\n4590,79 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 79:[47, 94], Operations: ['16+31=47', '35+59=94']\nExploring Operation: 94-47=47, Resulting Numbers: [47]\n47,79 unequal: No Solution\nExploring Operation: 94/47=2, Resulting Numbers: [2]\n2,79 unequal: No Solution\nExploring Operation: 47+94=141, Resulting Numbers: [141]\n141,79 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 79:[47], Operations: ['16+31=47', '35+59=94', '94-47=47']\nMoving to Node #0,2,1,0\nCurrent State: 79:[39], Operations: ['35+16=51', '31+59=90', '90-51=39']\nMoving to Node #0,1,2\nCurrent State: 79:[66, 43], Operations: ['35+31=66', '59-16=43']\nExploring Operation: 66+43=109, Resulting Numbers: [109]\n109,79 unequal: No Solution\nExploring Operation: 66-43=23, Resulting Numbers: [23]\n23,79 unequal: No Solution\nExploring Operation: 66*43=2838, Resulting Numbers: [2838]\n2838,79 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 79:[109], Operations: ['35+31=66', '59-16=43', '66+43=109']\nMoving to Node #0,1,1,0\nCurrent State: 79:[23], Operations: ['35+31=66', '16+66=82', '82-59=23']\nMoving to Node #0,0,1,0\nCurrent State: 79:[23], Operations: ['16+31=47', '35+47=82', '82-59=23']\nMoving to Node #0,1,2,0\nCurrent State: 79:[23], Operations: ['35+31=66', '59-16=43', '66-43=23']\nMoving to Node #0,2,0,0\nCurrent State: 79:[23], Operations: ['35+16=51', '31+51=82', '82-59=23']\nMoving to Node #0,1,0,0\nCurrent State: 79:[141], Operations: ['35+31=66', '16+59=75', '66+75=141']\nMoving to Node #0,1,1,0\nCurrent State: 79:[141], Operations: ['35+31=66', '16+66=82', '59+82=141']\nMoving to Node #0,0,1,0\nCurrent State: 79:[141], Operations: ['16+31=47', '35+47=82', '59+82=141']\nMoving to Node #0,0,2,0\nCurrent State: 79:[141], Operations: ['16+31=47', '35+59=94', '47+94=141']\nMoving to Node #0,2,0,0\nCurrent State: 79:[141], Operations: ['35+16=51', '31+51=82', '59+82=141']\nMoving to Node #0,2,1,0\nCurrent State: 79:[141], Operations: ['35+16=51', '31+59=90', '51+90=141']\nMoving to Node #0,1,0,0\nCurrent State: 79:[9], Operations: ['35+31=66', '16+59=75', '75-66=9']\nMoving to Node #0,0,0\nCurrent State: 79:[35, 106], Operations: ['16+31=47', '59+47=106']\nExploring Operation: 35*106=3710, Resulting Numbers: [3710]\n3710,79 unequal: No Solution\nExploring Operation: 106-35=71, Resulting Numbers: [71]\n71,79 unequal: No Solution\nExploring Operation: 35+106=141, Resulting Numbers: [141]\n141,79 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 79:[2], Operations: ['16+31=47', '35+59=94', '94/47=2']\nMoving to Node #0,2,2\nCurrent State: 79:[51, 28], Operations: ['35+16=51', '59-31=28']\nExploring Operation: 51+28=79, Resulting Numbers: [79]\n79,79 equal: Goal Reached\n", "role": "assistant" } ]
[ 55, 72, 1, 5 ]
83
[ "55*1=55", "55/5=11", "72+11=83" ]
Current State: 83:[55, 72, 1, 5], Operations: [] Exploring Operation: 55+1=56, Resulting Numbers: [72, 5, 56] Generated Node #0,0: 83:[72, 5, 56] Operation: 55+1=56 Exploring Operation: 72+1=73, Resulting Numbers: [55, 5, 73] Generated Node #0,1: 83:[55, 5, 73] Operation: 72+1=73 Exploring Operation: 55+5=60, Resulting Numbers: [72, 1, 60] Generated Node #0,2: 83:[72, 1, 60] Operation: 55+5=60 Moving to Node #0,0 Current State: 83:[72, 5, 56], Operations: ['55+1=56'] Exploring Operation: 72+5=77, Resulting Numbers: [56, 77] Generated Node #0,0,0: 83:[56, 77] Operation: 72+5=77 Exploring Operation: 5+56=61, Resulting Numbers: [72, 61] Generated Node #0,0,1: 83:[72, 61] Operation: 5+56=61 Exploring Operation: 72-5=67, Resulting Numbers: [56, 67] Generated Node #0,0,2: 83:[56, 67] Operation: 72-5=67 Moving to Node #0,1 Current State: 83:[55, 5, 73], Operations: ['72+1=73'] Exploring Operation: 55+5=60, Resulting Numbers: [73, 60] Generated Node #0,1,0: 83:[73, 60] Operation: 55+5=60 Exploring Operation: 5+73=78, Resulting Numbers: [55, 78] Generated Node #0,1,1: 83:[55, 78] Operation: 5+73=78 Exploring Operation: 55-5=50, Resulting Numbers: [73, 50] Generated Node #0,1,2: 83:[73, 50] Operation: 55-5=50 Moving to Node #0,2 Current State: 83:[72, 1, 60], Operations: ['55+5=60'] Exploring Operation: 72+1=73, Resulting Numbers: [60, 73] Generated Node #0,2,0: 83:[60, 73] Operation: 72+1=73 Exploring Operation: 1+60=61, Resulting Numbers: [72, 61] Generated Node #0,2,1: 83:[72, 61] Operation: 1+60=61 Exploring Operation: 72*1=72, Resulting Numbers: [60, 72] Generated Node #0,2,2: 83:[60, 72] Operation: 72*1=72 Moving to Node #0,0,0 Current State: 83:[56, 77], Operations: ['55+1=56', '72+5=77'] Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 56+77=133, Resulting Numbers: [133] 133,83 unequal: No Solution Exploring Operation: 56*77=4312, Resulting Numbers: [4312] 4312,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[60, 73], Operations: ['55+5=60', '72+1=73'] Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 60*73=4380, Resulting Numbers: [4380] 4380,83 unequal: No Solution Exploring Operation: 60+73=133, Resulting Numbers: [133] 133,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[72, 61], Operations: ['55+1=56', '5+56=61'] Exploring Operation: 72-61=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 72*61=4392, Resulting Numbers: [4392] 4392,83 unequal: No Solution Exploring Operation: 72+61=133, Resulting Numbers: [133] 133,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[55, 78], Operations: ['72+1=73', '5+73=78'] Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,83 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[72, 61], Operations: ['55+5=60', '1+60=61'] Exploring Operation: 72-61=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 72*61=4392, Resulting Numbers: [4392] 4392,83 unequal: No Solution Exploring Operation: 72+61=133, Resulting Numbers: [133] 133,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[73, 60], Operations: ['72+1=73', '55+5=60'] Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 73+60=133, Resulting Numbers: [133] 133,83 unequal: No Solution Exploring Operation: 73*60=4380, Resulting Numbers: [4380] 4380,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[60, 72], Operations: ['55+5=60', '72*1=72'] Exploring Operation: 60*72=4320, Resulting Numbers: [4320] 4320,83 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 60+72=132, Resulting Numbers: [132] 132,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[73, 50], Operations: ['72+1=73', '55-5=50'] Exploring Operation: 73*50=3650, Resulting Numbers: [3650] 3650,83 unequal: No Solution Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 73+50=123, Resulting Numbers: [123] 123,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[56, 67], Operations: ['55+1=56', '72-5=67'] Exploring Operation: 56+67=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 56*67=3752, Resulting Numbers: [3752] 3752,83 unequal: No Solution Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,83 unequal: No Solution Moving to Node #0,1,2,0 Current State: 83:[123], Operations: ['72+1=73', '55-5=50', '73+50=123'] Moving to Node #0,0,2,0 Current State: 83:[123], Operations: ['55+1=56', '72-5=67', '56+67=123'] Moving to Node #0,2,2,0 Current State: 83:[132], Operations: ['55+5=60', '72*1=72', '60+72=132'] Moving to Node #0,0,1,0 Current State: 83:[133], Operations: ['55+1=56', '5+56=61', '72+61=133'] Moving to Node #0,1,1,0 Current State: 83:[133], Operations: ['72+1=73', '5+73=78', '55+78=133'] Moving to Node #0,0,0,0 Current State: 83:[133], Operations: ['55+1=56', '72+5=77', '56+77=133'] Moving to Node #0,2,0,0 Current State: 83:[133], Operations: ['55+5=60', '72+1=73', '60+73=133'] Moving to Node #0,2,1,0 Current State: 83:[133], Operations: ['55+5=60', '1+60=61', '72+61=133'] Moving to Node #0,1,0,0 Current State: 83:[133], Operations: ['72+1=73', '55+5=60', '73+60=133'] Moving to Node #0,1,1,0 Current State: 83:[23], Operations: ['72+1=73', '5+73=78', '78-55=23'] Moving to Node #0,1,2,0 Current State: 83:[23], Operations: ['72+1=73', '55-5=50', '73-50=23'] Moving to Node #0,0,0,0 Current State: 83:[21], Operations: ['55+1=56', '72+5=77', '77-56=21'] Moving to Node #0,2,0,0 Current State: 83:[13], Operations: ['55+5=60', '72+1=73', '73-60=13'] Moving to Node #0,1,0,0 Current State: 83:[13], Operations: ['72+1=73', '55+5=60', '73-60=13'] Moving to Node #0,2,2,0 Current State: 83:[12], Operations: ['55+5=60', '72*1=72', '72-60=12'] Moving to Node #0,0,2,0 Current State: 83:[11], Operations: ['55+1=56', '72-5=67', '67-56=11'] Moving to Node #0,0,1,0 Current State: 83:[11], Operations: ['55+1=56', '5+56=61', '72-61=11'] Moving to Node #0,2,1,0 Current State: 83:[11], Operations: ['55+5=60', '1+60=61', '72-61=11'] Moving to Node #0,1,2,0 Current State: 83:[3650], Operations: ['72+1=73', '55-5=50', '73*50=3650'] Moving to Node #0,0,2,0 Current State: 83:[3752], Operations: ['55+1=56', '72-5=67', '56*67=3752'] Moving to Node #0,1,1,0 Current State: 83:[4290], Operations: ['72+1=73', '5+73=78', '55*78=4290'] Moving to Node #0,0,0,0 Current State: 83:[4312], Operations: ['55+1=56', '72+5=77', '56*77=4312'] Moving to Node #0,2,2,0 Current State: 83:[4320], Operations: ['55+5=60', '72*1=72', '60*72=4320'] Moving to Node #0,2,0,0 Current State: 83:[4380], Operations: ['55+5=60', '72+1=73', '60*73=4380'] Moving to Node #0,1,0,0 Current State: 83:[4380], Operations: ['72+1=73', '55+5=60', '73*60=4380'] Moving to Node #0,0,1,0 Current State: 83:[4392], Operations: ['55+1=56', '5+56=61', '72*61=4392'] Moving to Node #0,2,1,0 Current State: 83:[4392], Operations: ['55+5=60', '1+60=61', '72*61=4392'] No solution found.
0
bfs_3
Current State: 83:[55, 72, 1, 5], Operations: [] Exploring Operation: 55*1=55, Resulting Numbers: [72, 5, 55] Generated Node #2: [72, 5, 55] from Operation: 55*1=55 Current State: 83:[72, 5, 55], Operations: ['55*1=55'] Exploring Operation: 55/5=11, Resulting Numbers: [72, 11] Generated Node #3: [72, 11] from Operation: 55/5=11 Current State: 83:[72, 11], Operations: ['55*1=55', '55/5=11'] Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
sum_heuristic
[ { "content": "Make 83 with the numbers [55, 72, 1, 5] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 83:[55, 72, 1, 5], Operations: []\nExploring Operation: 55+1=56, Resulting Numbers: [72, 5, 56]\nGenerated Node #0,0: 83:[72, 5, 56] Operation: 55+1=56\nExploring Operation: 72+1=73, Resulting Numbers: [55, 5, 73]\nGenerated Node #0,1: 83:[55, 5, 73] Operation: 72+1=73\nExploring Operation: 55+5=60, Resulting Numbers: [72, 1, 60]\nGenerated Node #0,2: 83:[72, 1, 60] Operation: 55+5=60\nMoving to Node #0,0\nCurrent State: 83:[72, 5, 56], Operations: ['55+1=56']\nExploring Operation: 72+5=77, Resulting Numbers: [56, 77]\nGenerated Node #0,0,0: 83:[56, 77] Operation: 72+5=77\nExploring Operation: 5+56=61, Resulting Numbers: [72, 61]\nGenerated Node #0,0,1: 83:[72, 61] Operation: 5+56=61\nExploring Operation: 72-5=67, Resulting Numbers: [56, 67]\nGenerated Node #0,0,2: 83:[56, 67] Operation: 72-5=67\nMoving to Node #0,1\nCurrent State: 83:[55, 5, 73], Operations: ['72+1=73']\nExploring Operation: 55+5=60, Resulting Numbers: [73, 60]\nGenerated Node #0,1,0: 83:[73, 60] Operation: 55+5=60\nExploring Operation: 5+73=78, Resulting Numbers: [55, 78]\nGenerated Node #0,1,1: 83:[55, 78] Operation: 5+73=78\nExploring Operation: 55-5=50, Resulting Numbers: [73, 50]\nGenerated Node #0,1,2: 83:[73, 50] Operation: 55-5=50\nMoving to Node #0,2\nCurrent State: 83:[72, 1, 60], Operations: ['55+5=60']\nExploring Operation: 72+1=73, Resulting Numbers: [60, 73]\nGenerated Node #0,2,0: 83:[60, 73] Operation: 72+1=73\nExploring Operation: 1+60=61, Resulting Numbers: [72, 61]\nGenerated Node #0,2,1: 83:[72, 61] Operation: 1+60=61\nExploring Operation: 72*1=72, Resulting Numbers: [60, 72]\nGenerated Node #0,2,2: 83:[60, 72] Operation: 72*1=72\nMoving to Node #0,0,0\nCurrent State: 83:[56, 77], Operations: ['55+1=56', '72+5=77']\nExploring Operation: 77-56=21, Resulting Numbers: [21]\n21,83 unequal: No Solution\nExploring Operation: 56+77=133, Resulting Numbers: [133]\n133,83 unequal: No Solution\nExploring Operation: 56*77=4312, Resulting Numbers: [4312]\n4312,83 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 83:[60, 73], Operations: ['55+5=60', '72+1=73']\nExploring Operation: 73-60=13, Resulting Numbers: [13]\n13,83 unequal: No Solution\nExploring Operation: 60*73=4380, Resulting Numbers: [4380]\n4380,83 unequal: No Solution\nExploring Operation: 60+73=133, Resulting Numbers: [133]\n133,83 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 83:[72, 61], Operations: ['55+1=56', '5+56=61']\nExploring Operation: 72-61=11, Resulting Numbers: [11]\n11,83 unequal: No Solution\nExploring Operation: 72*61=4392, Resulting Numbers: [4392]\n4392,83 unequal: No Solution\nExploring Operation: 72+61=133, Resulting Numbers: [133]\n133,83 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 83:[55, 78], Operations: ['72+1=73', '5+73=78']\nExploring Operation: 55+78=133, Resulting Numbers: [133]\n133,83 unequal: No Solution\nExploring Operation: 78-55=23, Resulting Numbers: [23]\n23,83 unequal: No Solution\nExploring Operation: 55*78=4290, Resulting Numbers: [4290]\n4290,83 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 83:[72, 61], Operations: ['55+5=60', '1+60=61']\nExploring Operation: 72-61=11, Resulting Numbers: [11]\n11,83 unequal: No Solution\nExploring Operation: 72*61=4392, Resulting Numbers: [4392]\n4392,83 unequal: No Solution\nExploring Operation: 72+61=133, Resulting Numbers: [133]\n133,83 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 83:[73, 60], Operations: ['72+1=73', '55+5=60']\nExploring Operation: 73-60=13, Resulting Numbers: [13]\n13,83 unequal: No Solution\nExploring Operation: 73+60=133, Resulting Numbers: [133]\n133,83 unequal: No Solution\nExploring Operation: 73*60=4380, Resulting Numbers: [4380]\n4380,83 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 83:[60, 72], Operations: ['55+5=60', '72*1=72']\nExploring Operation: 60*72=4320, Resulting Numbers: [4320]\n4320,83 unequal: No Solution\nExploring Operation: 72-60=12, Resulting Numbers: [12]\n12,83 unequal: No Solution\nExploring Operation: 60+72=132, Resulting Numbers: [132]\n132,83 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 83:[73, 50], Operations: ['72+1=73', '55-5=50']\nExploring Operation: 73*50=3650, Resulting Numbers: [3650]\n3650,83 unequal: No Solution\nExploring Operation: 73-50=23, Resulting Numbers: [23]\n23,83 unequal: No Solution\nExploring Operation: 73+50=123, Resulting Numbers: [123]\n123,83 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 83:[56, 67], Operations: ['55+1=56', '72-5=67']\nExploring Operation: 56+67=123, Resulting Numbers: [123]\n123,83 unequal: No Solution\nExploring Operation: 56*67=3752, Resulting Numbers: [3752]\n3752,83 unequal: No Solution\nExploring Operation: 67-56=11, Resulting Numbers: [11]\n11,83 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 83:[123], Operations: ['72+1=73', '55-5=50', '73+50=123']\nMoving to Node #0,0,2,0\nCurrent State: 83:[123], Operations: ['55+1=56', '72-5=67', '56+67=123']\nMoving to Node #0,2,2,0\nCurrent State: 83:[132], Operations: ['55+5=60', '72*1=72', '60+72=132']\nMoving to Node #0,0,1,0\nCurrent State: 83:[133], Operations: ['55+1=56', '5+56=61', '72+61=133']\nMoving to Node #0,1,1,0\nCurrent State: 83:[133], Operations: ['72+1=73', '5+73=78', '55+78=133']\nMoving to Node #0,0,0,0\nCurrent State: 83:[133], Operations: ['55+1=56', '72+5=77', '56+77=133']\nMoving to Node #0,2,0,0\nCurrent State: 83:[133], Operations: ['55+5=60', '72+1=73', '60+73=133']\nMoving to Node #0,2,1,0\nCurrent State: 83:[133], Operations: ['55+5=60', '1+60=61', '72+61=133']\nMoving to Node #0,1,0,0\nCurrent State: 83:[133], Operations: ['72+1=73', '55+5=60', '73+60=133']\nMoving to Node #0,1,1,0\nCurrent State: 83:[23], Operations: ['72+1=73', '5+73=78', '78-55=23']\nMoving to Node #0,1,2,0\nCurrent State: 83:[23], Operations: ['72+1=73', '55-5=50', '73-50=23']\nMoving to Node #0,0,0,0\nCurrent State: 83:[21], Operations: ['55+1=56', '72+5=77', '77-56=21']\nMoving to Node #0,2,0,0\nCurrent State: 83:[13], Operations: ['55+5=60', '72+1=73', '73-60=13']\nMoving to Node #0,1,0,0\nCurrent State: 83:[13], Operations: ['72+1=73', '55+5=60', '73-60=13']\nMoving to Node #0,2,2,0\nCurrent State: 83:[12], Operations: ['55+5=60', '72*1=72', '72-60=12']\nMoving to Node #0,0,2,0\nCurrent State: 83:[11], Operations: ['55+1=56', '72-5=67', '67-56=11']\nMoving to Node #0,0,1,0\nCurrent State: 83:[11], Operations: ['55+1=56', '5+56=61', '72-61=11']\nMoving to Node #0,2,1,0\nCurrent State: 83:[11], Operations: ['55+5=60', '1+60=61', '72-61=11']\nMoving to Node #0,1,2,0\nCurrent State: 83:[3650], Operations: ['72+1=73', '55-5=50', '73*50=3650']\nMoving to Node #0,0,2,0\nCurrent State: 83:[3752], Operations: ['55+1=56', '72-5=67', '56*67=3752']\nMoving to Node #0,1,1,0\nCurrent State: 83:[4290], Operations: ['72+1=73', '5+73=78', '55*78=4290']\nMoving to Node #0,0,0,0\nCurrent State: 83:[4312], Operations: ['55+1=56', '72+5=77', '56*77=4312']\nMoving to Node #0,2,2,0\nCurrent State: 83:[4320], Operations: ['55+5=60', '72*1=72', '60*72=4320']\nMoving to Node #0,2,0,0\nCurrent State: 83:[4380], Operations: ['55+5=60', '72+1=73', '60*73=4380']\nMoving to Node #0,1,0,0\nCurrent State: 83:[4380], Operations: ['72+1=73', '55+5=60', '73*60=4380']\nMoving to Node #0,0,1,0\nCurrent State: 83:[4392], Operations: ['55+1=56', '5+56=61', '72*61=4392']\nMoving to Node #0,2,1,0\nCurrent State: 83:[4392], Operations: ['55+5=60', '1+60=61', '72*61=4392']\nNo solution found.", "role": "assistant" } ]
[ 22, 15, 33, 17 ]
43
[ "22-15=7", "33+17=50", "50-7=43" ]
Current State: 43:[22, 15, 33, 17], Operations: [] Exploring Operation: 15+17=32, Resulting Numbers: [22, 33, 32] Generated Node #0,0: 43:[22, 33, 32] Operation: 15+17=32 Exploring Operation: 15+33=48, Resulting Numbers: [22, 17, 48] Generated Node #0,1: 43:[22, 17, 48] Operation: 15+33=48 Exploring Operation: 22+15=37, Resulting Numbers: [33, 17, 37] Generated Node #0,2: 43:[33, 17, 37] Operation: 22+15=37 Exploring Operation: 22+17=39, Resulting Numbers: [15, 33, 39] Generated Node #0,3: 43:[15, 33, 39] Operation: 22+17=39 Exploring Operation: 33+17=50, Resulting Numbers: [22, 15, 50] Generated Node #0,4: 43:[22, 15, 50] Operation: 33+17=50 Moving to Node #0,0 Current State: 43:[22, 33, 32], Operations: ['15+17=32'] Exploring Operation: 22+33=55, Resulting Numbers: [32, 55] Generated Node #0,0,0: 43:[32, 55] Operation: 22+33=55 Exploring Operation: 33-22=11, Resulting Numbers: [32, 11] Generated Node #0,0,1: 43:[32, 11] Operation: 33-22=11 Exploring Operation: 33+32=65, Resulting Numbers: [22, 65] Generated Node #0,0,2: 43:[22, 65] Operation: 33+32=65 Exploring Operation: 22+32=54, Resulting Numbers: [33, 54] Generated Node #0,0,3: 43:[33, 54] Operation: 22+32=54 Exploring Operation: 32-22=10, Resulting Numbers: [33, 10] Generated Node #0,0,4: 43:[33, 10] Operation: 32-22=10 Moving to Node #0,3 Current State: 43:[15, 33, 39], Operations: ['22+17=39'] Exploring Operation: 15+39=54, Resulting Numbers: [33, 54] Generated Node #0,3,0: 43:[33, 54] Operation: 15+39=54 Exploring Operation: 39-15=24, Resulting Numbers: [33, 24] Generated Node #0,3,1: 43:[33, 24] Operation: 39-15=24 Exploring Operation: 33+39=72, Resulting Numbers: [15, 72] Generated Node #0,3,2: 43:[15, 72] Operation: 33+39=72 Exploring Operation: 15+33=48, Resulting Numbers: [39, 48] Generated Node #0,3,3: 43:[39, 48] Operation: 15+33=48 Exploring Operation: 33-15=18, Resulting Numbers: [39, 18] Generated Node #0,3,4: 43:[39, 18] Operation: 33-15=18 Moving to Node #0,2 Current State: 43:[33, 17, 37], Operations: ['22+15=37'] Exploring Operation: 33-17=16, Resulting Numbers: [37, 16] Generated Node #0,2,0: 43:[37, 16] Operation: 33-17=16 Exploring Operation: 33+37=70, Resulting Numbers: [17, 70] Generated Node #0,2,1: 43:[17, 70] Operation: 33+37=70 Exploring Operation: 37-17=20, Resulting Numbers: [33, 20] Generated Node #0,2,2: 43:[33, 20] Operation: 37-17=20 Exploring Operation: 33+17=50, Resulting Numbers: [37, 50] Generated Node #0,2,3: 43:[37, 50] Operation: 33+17=50 Exploring Operation: 17+37=54, Resulting Numbers: [33, 54] Generated Node #0,2,4: 43:[33, 54] Operation: 17+37=54 Moving to Node #0,1 Current State: 43:[22, 17, 48], Operations: ['15+33=48'] Exploring Operation: 17+48=65, Resulting Numbers: [22, 65] Generated Node #0,1,0: 43:[22, 65] Operation: 17+48=65 Exploring Operation: 22+17=39, Resulting Numbers: [48, 39] Generated Node #0,1,1: 43:[48, 39] Operation: 22+17=39 Exploring Operation: 22-17=5, Resulting Numbers: [48, 5] Generated Node #0,1,2: 43:[48, 5] Operation: 22-17=5 Exploring Operation: 48-17=31, Resulting Numbers: [22, 31] Generated Node #0,1,3: 43:[22, 31] Operation: 48-17=31 Exploring Operation: 48-22=26, Resulting Numbers: [17, 26] Generated Node #0,1,4: 43:[17, 26] Operation: 48-22=26 Moving to Node #0,4 Current State: 43:[22, 15, 50], Operations: ['33+17=50'] Exploring Operation: 15+50=65, Resulting Numbers: [22, 65] Generated Node #0,4,0: 43:[22, 65] Operation: 15+50=65 Exploring Operation: 50-22=28, Resulting Numbers: [15, 28] Generated Node #0,4,1: 43:[15, 28] Operation: 50-22=28 Exploring Operation: 22+15=37, Resulting Numbers: [50, 37] Generated Node #0,4,2: 43:[50, 37] Operation: 22+15=37 Exploring Operation: 22-15=7, Resulting Numbers: [50, 7] Generated Node #0,4,3: 43:[50, 7] Operation: 22-15=7 Exploring Operation: 50-15=35, Resulting Numbers: [22, 35] Generated Node #0,4,4: 43:[22, 35] Operation: 50-15=35 Moving to Node #0,3,3 Current State: 43:[39, 48], Operations: ['22+17=39', '15+33=48'] Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,43 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[48, 39], Operations: ['15+33=48', '22+17=39'] Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,43 unequal: No Solution Moving to Node #0,4,2 Current State: 43:[50, 37], Operations: ['33+17=50', '22+15=37'] Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 50*37=1850, Resulting Numbers: [1850] 1850,43 unequal: No Solution Exploring Operation: 50+37=87, Resulting Numbers: [87] 87,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[37, 50], Operations: ['22+15=37', '33+17=50'] Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[33, 54], Operations: ['15+17=32', '22+32=54'] Exploring Operation: 33+54=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 33*54=1782, Resulting Numbers: [1782] 1782,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[33, 54], Operations: ['22+17=39', '15+39=54'] Exploring Operation: 33*54=1782, Resulting Numbers: [1782] 1782,43 unequal: No Solution Exploring Operation: 33+54=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[33, 54], Operations: ['22+15=37', '17+37=54'] Exploring Operation: 33+54=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 33*54=1782, Resulting Numbers: [1782] 1782,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[32, 55], Operations: ['15+17=32', '22+33=55'] Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,43 unequal: No Solution Exploring Operation: 32*55=1760, Resulting Numbers: [1760] 1760,43 unequal: No Solution Exploring Operation: 32+55=87, Resulting Numbers: [87] 87,43 unequal: No Solution Moving to Node #0,4,4 Current State: 43:[22, 35], Operations: ['33+17=50', '50-15=35'] Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,43 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,43 unequal: No Solution Moving to Node #0,3,4 Current State: 43:[39, 18], Operations: ['22+17=39', '33-15=18'] Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,43 unequal: No Solution Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,43 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,43 unequal: No Solution Moving to Node #0,4,4,0 Current State: 43:[57], Operations: ['33+17=50', '50-15=35', '22+35=57'] Moving to Node #0,3,4,0 Current State: 43:[57], Operations: ['22+17=39', '33-15=18', '39+18=57'] Moving to Node #0,3,1 Current State: 43:[33, 24], Operations: ['22+17=39', '39-15=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,43 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,43 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[33, 20], Operations: ['22+15=37', '37-17=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,43 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[37, 16], Operations: ['22+15=37', '33-17=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,43 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,43 unequal: No Solution Moving to Node #0,2,2,0 Current State: 43:[53], Operations: ['22+15=37', '37-17=20', '33+20=53'] Moving to Node #0,2,0,0 Current State: 43:[53], Operations: ['22+15=37', '33-17=16', '37+16=53'] Moving to Node #0,3,1,0 Current State: 43:[57], Operations: ['22+17=39', '39-15=24', '33+24=57'] Moving to Node #0,1,3 Current State: 43:[22, 31], Operations: ['15+33=48', '48-17=31'] Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,43 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,43 unequal: No Solution Moving to Node #0,0,0,0 Current State: 43:[23], Operations: ['15+17=32', '22+33=55', '55-32=23'] Moving to Node #0,1,3,0 Current State: 43:[53], Operations: ['15+33=48', '48-17=31', '22+31=53'] Moving to Node #0,4,3 Current State: 43:[50, 7], Operations: ['33+17=50', '22-15=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,43 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,43 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.934028
bfs_5
Current State: 43:[22, 15, 33, 17], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [33, 17, 7] Generated Node #2: [33, 17, 7] from Operation: 22-15=7 Current State: 43:[33, 17, 7], Operations: ['22-15=7'] Exploring Operation: 33+17=50, Resulting Numbers: [7, 50] Generated Node #3: [7, 50] from Operation: 33+17=50 Current State: 43:[7, 50], Operations: ['22-15=7', '33+17=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
sum_heuristic
[ { "content": "Make 43 with the numbers [22, 15, 33, 17] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 43:[22, 15, 33, 17], Operations: []\nExploring Operation: 15+17=32, Resulting Numbers: [22, 33, 32]\nGenerated Node #0,0: 43:[22, 33, 32] Operation: 15+17=32\nExploring Operation: 15+33=48, Resulting Numbers: [22, 17, 48]\nGenerated Node #0,1: 43:[22, 17, 48] Operation: 15+33=48\nExploring Operation: 22+15=37, Resulting Numbers: [33, 17, 37]\nGenerated Node #0,2: 43:[33, 17, 37] Operation: 22+15=37\nExploring Operation: 22+17=39, Resulting Numbers: [15, 33, 39]\nGenerated Node #0,3: 43:[15, 33, 39] Operation: 22+17=39\nExploring Operation: 33+17=50, Resulting Numbers: [22, 15, 50]\nGenerated Node #0,4: 43:[22, 15, 50] Operation: 33+17=50\nMoving to Node #0,0\nCurrent State: 43:[22, 33, 32], Operations: ['15+17=32']\nExploring Operation: 22+33=55, Resulting Numbers: [32, 55]\nGenerated Node #0,0,0: 43:[32, 55] Operation: 22+33=55\nExploring Operation: 33-22=11, Resulting Numbers: [32, 11]\nGenerated Node #0,0,1: 43:[32, 11] Operation: 33-22=11\nExploring Operation: 33+32=65, Resulting Numbers: [22, 65]\nGenerated Node #0,0,2: 43:[22, 65] Operation: 33+32=65\nExploring Operation: 22+32=54, Resulting Numbers: [33, 54]\nGenerated Node #0,0,3: 43:[33, 54] Operation: 22+32=54\nExploring Operation: 32-22=10, Resulting Numbers: [33, 10]\nGenerated Node #0,0,4: 43:[33, 10] Operation: 32-22=10\nMoving to Node #0,3\nCurrent State: 43:[15, 33, 39], Operations: ['22+17=39']\nExploring Operation: 15+39=54, Resulting Numbers: [33, 54]\nGenerated Node #0,3,0: 43:[33, 54] Operation: 15+39=54\nExploring Operation: 39-15=24, Resulting Numbers: [33, 24]\nGenerated Node #0,3,1: 43:[33, 24] Operation: 39-15=24\nExploring Operation: 33+39=72, Resulting Numbers: [15, 72]\nGenerated Node #0,3,2: 43:[15, 72] Operation: 33+39=72\nExploring Operation: 15+33=48, Resulting Numbers: [39, 48]\nGenerated Node #0,3,3: 43:[39, 48] Operation: 15+33=48\nExploring Operation: 33-15=18, Resulting Numbers: [39, 18]\nGenerated Node #0,3,4: 43:[39, 18] Operation: 33-15=18\nMoving to Node #0,2\nCurrent State: 43:[33, 17, 37], Operations: ['22+15=37']\nExploring Operation: 33-17=16, Resulting Numbers: [37, 16]\nGenerated Node #0,2,0: 43:[37, 16] Operation: 33-17=16\nExploring Operation: 33+37=70, Resulting Numbers: [17, 70]\nGenerated Node #0,2,1: 43:[17, 70] Operation: 33+37=70\nExploring Operation: 37-17=20, Resulting Numbers: [33, 20]\nGenerated Node #0,2,2: 43:[33, 20] Operation: 37-17=20\nExploring Operation: 33+17=50, Resulting Numbers: [37, 50]\nGenerated Node #0,2,3: 43:[37, 50] Operation: 33+17=50\nExploring Operation: 17+37=54, Resulting Numbers: [33, 54]\nGenerated Node #0,2,4: 43:[33, 54] Operation: 17+37=54\nMoving to Node #0,1\nCurrent State: 43:[22, 17, 48], Operations: ['15+33=48']\nExploring Operation: 17+48=65, Resulting Numbers: [22, 65]\nGenerated Node #0,1,0: 43:[22, 65] Operation: 17+48=65\nExploring Operation: 22+17=39, Resulting Numbers: [48, 39]\nGenerated Node #0,1,1: 43:[48, 39] Operation: 22+17=39\nExploring Operation: 22-17=5, Resulting Numbers: [48, 5]\nGenerated Node #0,1,2: 43:[48, 5] Operation: 22-17=5\nExploring Operation: 48-17=31, Resulting Numbers: [22, 31]\nGenerated Node #0,1,3: 43:[22, 31] Operation: 48-17=31\nExploring Operation: 48-22=26, Resulting Numbers: [17, 26]\nGenerated Node #0,1,4: 43:[17, 26] Operation: 48-22=26\nMoving to Node #0,4\nCurrent State: 43:[22, 15, 50], Operations: ['33+17=50']\nExploring Operation: 15+50=65, Resulting Numbers: [22, 65]\nGenerated Node #0,4,0: 43:[22, 65] Operation: 15+50=65\nExploring Operation: 50-22=28, Resulting Numbers: [15, 28]\nGenerated Node #0,4,1: 43:[15, 28] Operation: 50-22=28\nExploring Operation: 22+15=37, Resulting Numbers: [50, 37]\nGenerated Node #0,4,2: 43:[50, 37] Operation: 22+15=37\nExploring Operation: 22-15=7, Resulting Numbers: [50, 7]\nGenerated Node #0,4,3: 43:[50, 7] Operation: 22-15=7\nExploring Operation: 50-15=35, Resulting Numbers: [22, 35]\nGenerated Node #0,4,4: 43:[22, 35] Operation: 50-15=35\nMoving to Node #0,3,3\nCurrent State: 43:[39, 48], Operations: ['22+17=39', '15+33=48']\nExploring Operation: 48-39=9, Resulting Numbers: [9]\n9,43 unequal: No Solution\nExploring Operation: 39*48=1872, Resulting Numbers: [1872]\n1872,43 unequal: No Solution\nExploring Operation: 39+48=87, Resulting Numbers: [87]\n87,43 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 43:[48, 39], Operations: ['15+33=48', '22+17=39']\nExploring Operation: 48+39=87, Resulting Numbers: [87]\n87,43 unequal: No Solution\nExploring Operation: 48-39=9, Resulting Numbers: [9]\n9,43 unequal: No Solution\nExploring Operation: 48*39=1872, Resulting Numbers: [1872]\n1872,43 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 43:[50, 37], Operations: ['33+17=50', '22+15=37']\nExploring Operation: 50-37=13, Resulting Numbers: [13]\n13,43 unequal: No Solution\nExploring Operation: 50*37=1850, Resulting Numbers: [1850]\n1850,43 unequal: No Solution\nExploring Operation: 50+37=87, Resulting Numbers: [87]\n87,43 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 43:[37, 50], Operations: ['22+15=37', '33+17=50']\nExploring Operation: 37+50=87, Resulting Numbers: [87]\n87,43 unequal: No Solution\nExploring Operation: 50-37=13, Resulting Numbers: [13]\n13,43 unequal: No Solution\nExploring Operation: 37*50=1850, Resulting Numbers: [1850]\n1850,43 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 43:[33, 54], Operations: ['15+17=32', '22+32=54']\nExploring Operation: 33+54=87, Resulting Numbers: [87]\n87,43 unequal: No Solution\nExploring Operation: 54-33=21, Resulting Numbers: [21]\n21,43 unequal: No Solution\nExploring Operation: 33*54=1782, Resulting Numbers: [1782]\n1782,43 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 43:[33, 54], Operations: ['22+17=39', '15+39=54']\nExploring Operation: 33*54=1782, Resulting Numbers: [1782]\n1782,43 unequal: No Solution\nExploring Operation: 33+54=87, Resulting Numbers: [87]\n87,43 unequal: No Solution\nExploring Operation: 54-33=21, Resulting Numbers: [21]\n21,43 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 43:[33, 54], Operations: ['22+15=37', '17+37=54']\nExploring Operation: 33+54=87, Resulting Numbers: [87]\n87,43 unequal: No Solution\nExploring Operation: 54-33=21, Resulting Numbers: [21]\n21,43 unequal: No Solution\nExploring Operation: 33*54=1782, Resulting Numbers: [1782]\n1782,43 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 43:[32, 55], Operations: ['15+17=32', '22+33=55']\nExploring Operation: 55-32=23, Resulting Numbers: [23]\n23,43 unequal: No Solution\nExploring Operation: 32*55=1760, Resulting Numbers: [1760]\n1760,43 unequal: No Solution\nExploring Operation: 32+55=87, Resulting Numbers: [87]\n87,43 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 43:[22, 35], Operations: ['33+17=50', '50-15=35']\nExploring Operation: 22*35=770, Resulting Numbers: [770]\n770,43 unequal: No Solution\nExploring Operation: 35-22=13, Resulting Numbers: [13]\n13,43 unequal: No Solution\nExploring Operation: 22+35=57, Resulting Numbers: [57]\n57,43 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 43:[39, 18], Operations: ['22+17=39', '33-15=18']\nExploring Operation: 39*18=702, Resulting Numbers: [702]\n702,43 unequal: No Solution\nExploring Operation: 39+18=57, Resulting Numbers: [57]\n57,43 unequal: No Solution\nExploring Operation: 39-18=21, Resulting Numbers: [21]\n21,43 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 43:[57], Operations: ['33+17=50', '50-15=35', '22+35=57']\nMoving to Node #0,3,4,0\nCurrent State: 43:[57], Operations: ['22+17=39', '33-15=18', '39+18=57']\nMoving to Node #0,3,1\nCurrent State: 43:[33, 24], Operations: ['22+17=39', '39-15=24']\nExploring Operation: 33+24=57, Resulting Numbers: [57]\n57,43 unequal: No Solution\nExploring Operation: 33*24=792, Resulting Numbers: [792]\n792,43 unequal: No Solution\nExploring Operation: 33-24=9, Resulting Numbers: [9]\n9,43 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 43:[33, 20], Operations: ['22+15=37', '37-17=20']\nExploring Operation: 33-20=13, Resulting Numbers: [13]\n13,43 unequal: No Solution\nExploring Operation: 33*20=660, Resulting Numbers: [660]\n660,43 unequal: No Solution\nExploring Operation: 33+20=53, Resulting Numbers: [53]\n53,43 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 43:[37, 16], Operations: ['22+15=37', '33-17=16']\nExploring Operation: 37+16=53, Resulting Numbers: [53]\n53,43 unequal: No Solution\nExploring Operation: 37*16=592, Resulting Numbers: [592]\n592,43 unequal: No Solution\nExploring Operation: 37-16=21, Resulting Numbers: [21]\n21,43 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 43:[53], Operations: ['22+15=37', '37-17=20', '33+20=53']\nMoving to Node #0,2,0,0\nCurrent State: 43:[53], Operations: ['22+15=37', '33-17=16', '37+16=53']\nMoving to Node #0,3,1,0\nCurrent State: 43:[57], Operations: ['22+17=39', '39-15=24', '33+24=57']\nMoving to Node #0,1,3\nCurrent State: 43:[22, 31], Operations: ['15+33=48', '48-17=31']\nExploring Operation: 22*31=682, Resulting Numbers: [682]\n682,43 unequal: No Solution\nExploring Operation: 22+31=53, Resulting Numbers: [53]\n53,43 unequal: No Solution\nExploring Operation: 31-22=9, Resulting Numbers: [9]\n9,43 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 43:[23], Operations: ['15+17=32', '22+33=55', '55-32=23']\nMoving to Node #0,1,3,0\nCurrent State: 43:[53], Operations: ['15+33=48', '48-17=31', '22+31=53']\nMoving to Node #0,4,3\nCurrent State: 43:[50, 7], Operations: ['33+17=50', '22-15=7']\nExploring Operation: 50+7=57, Resulting Numbers: [57]\n57,43 unequal: No Solution\nExploring Operation: 50*7=350, Resulting Numbers: [350]\n350,43 unequal: No Solution\nExploring Operation: 50-7=43, Resulting Numbers: [43]\n43,43 equal: Goal Reached\n", "role": "assistant" } ]
[ 29, 32, 68, 69 ]
61
[ "29+32=61", "69-68=1", "61*1=61" ]
Current State: 61:[29, 32, 68, 69], Operations: [] Exploring Operation: 29+32=61, Resulting Numbers: [68, 69, 61] Generated Node #0,0: 61:[68, 69, 61] Operation: 29+32=61 Moving to Node #0,0 Current State: 61:[68, 69, 61], Operations: ['29+32=61'] Exploring Operation: 69-68=1, Resulting Numbers: [61, 1] Generated Node #0,0,0: 61:[61, 1] Operation: 69-68=1 Moving to Node #0,0,0 Current State: 61:[61, 1], Operations: ['29+32=61', '69-68=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.996528
dfs
Current State: 61:[29, 32, 68, 69], Operations: [] Exploring Operation: 29+32=61, Resulting Numbers: [68, 69, 61] Generated Node #2: [68, 69, 61] from Operation: 29+32=61 Current State: 61:[68, 69, 61], Operations: ['29+32=61'] Exploring Operation: 69-68=1, Resulting Numbers: [61, 1] Generated Node #3: [61, 1] from Operation: 69-68=1 Current State: 61:[61, 1], Operations: ['29+32=61', '69-68=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
sum_heuristic
[ { "content": "Make 61 with the numbers [29, 32, 68, 69] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 61:[29, 32, 68, 69], Operations: []\nExploring Operation: 29+32=61, Resulting Numbers: [68, 69, 61]\nGenerated Node #0,0: 61:[68, 69, 61] Operation: 29+32=61\nMoving to Node #0,0\nCurrent State: 61:[68, 69, 61], Operations: ['29+32=61']\nExploring Operation: 69-68=1, Resulting Numbers: [61, 1]\nGenerated Node #0,0,0: 61:[61, 1] Operation: 69-68=1\nMoving to Node #0,0,0\nCurrent State: 61:[61, 1], Operations: ['29+32=61', '69-68=1']\nExploring Operation: 61*1=61, Resulting Numbers: [61]\n61,61 equal: Goal Reached\n", "role": "assistant" } ]
[ 3, 42, 28, 64 ]
38
[ "64-42=22", "3*22=66", "66-28=38" ]
Current State: 38:[3, 42, 28, 64], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [3, 28, 22] Generated Node #0,0: 38:[3, 28, 22] Operation: 64-42=22 Exploring Operation: 64-28=36, Resulting Numbers: [3, 42, 36] Generated Node #0,1: 38:[3, 42, 36] Operation: 64-28=36 Moving to Node #0,1 Current State: 38:[3, 42, 36], Operations: ['64-28=36'] Exploring Operation: 42-3=39, Resulting Numbers: [36, 39] Generated Node #0,1,0: 38:[36, 39] Operation: 42-3=39 Exploring Operation: 3+36=39, Resulting Numbers: [42, 39] Generated Node #0,1,1: 38:[42, 39] Operation: 3+36=39 Moving to Node #0,0 Current State: 38:[3, 28, 22], Operations: ['64-42=22'] Exploring Operation: 28-3=25, Resulting Numbers: [22, 25] Generated Node #0,0,0: 38:[22, 25] Operation: 28-3=25 Exploring Operation: 28-22=6, Resulting Numbers: [3, 6] Generated Node #0,0,1: 38:[3, 6] Operation: 28-22=6 Moving to Node #0,1,0 Current State: 38:[36, 39], Operations: ['64-28=36', '42-3=39'] Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,38 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[3, 6], Operations: ['64-42=22', '28-22=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,38 unequal: No Solution Moving to Node #0,0,1,0 Current State: 38:[2], Operations: ['64-42=22', '28-22=6', '6/3=2'] Moving to Node #0,0,1,0 Current State: 38:[18], Operations: ['64-42=22', '28-22=6', '3*6=18'] Moving to Node #0,1,0,0 Current State: 38:[3], Operations: ['64-28=36', '42-3=39', '39-36=3'] Moving to Node #0,1,1 Current State: 38:[42, 39], Operations: ['64-28=36', '3+36=39'] Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,38 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,38 unequal: No Solution Moving to Node #0,1,1,0 Current State: 38:[3], Operations: ['64-28=36', '3+36=39', '42-39=3'] Moving to Node #0,0,0 Current State: 38:[22, 25], Operations: ['64-42=22', '28-3=25'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,0,0,0 Current State: 38:[3], Operations: ['64-42=22', '28-3=25', '25-22=3'] Moving to Node #0,0,0,0 Current State: 38:[47], Operations: ['64-42=22', '28-3=25', '22+25=47'] Moving to Node #0,1,0,0 Current State: 38:[75], Operations: ['64-28=36', '42-3=39', '36+39=75'] Moving to Node #0,1,1,0 Current State: 38:[81], Operations: ['64-28=36', '3+36=39', '42+39=81'] No solution found.
0
bfs_2
Current State: 38:[3, 42, 28, 64], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [3, 28, 22] Generated Node #2: [3, 28, 22] from Operation: 64-42=22 Current State: 38:[3, 28, 22], Operations: ['64-42=22'] Exploring Operation: 3*22=66, Resulting Numbers: [28, 66] Generated Node #3: [28, 66] from Operation: 3*22=66 Current State: 38:[28, 66], Operations: ['64-42=22', '3*22=66'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
mult_heuristic
[ { "content": "Make 38 with the numbers [3, 42, 28, 64] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 38:[3, 42, 28, 64], Operations: []\nExploring Operation: 64-42=22, Resulting Numbers: [3, 28, 22]\nGenerated Node #0,0: 38:[3, 28, 22] Operation: 64-42=22\nExploring Operation: 64-28=36, Resulting Numbers: [3, 42, 36]\nGenerated Node #0,1: 38:[3, 42, 36] Operation: 64-28=36\nMoving to Node #0,1\nCurrent State: 38:[3, 42, 36], Operations: ['64-28=36']\nExploring Operation: 42-3=39, Resulting Numbers: [36, 39]\nGenerated Node #0,1,0: 38:[36, 39] Operation: 42-3=39\nExploring Operation: 3+36=39, Resulting Numbers: [42, 39]\nGenerated Node #0,1,1: 38:[42, 39] Operation: 3+36=39\nMoving to Node #0,0\nCurrent State: 38:[3, 28, 22], Operations: ['64-42=22']\nExploring Operation: 28-3=25, Resulting Numbers: [22, 25]\nGenerated Node #0,0,0: 38:[22, 25] Operation: 28-3=25\nExploring Operation: 28-22=6, Resulting Numbers: [3, 6]\nGenerated Node #0,0,1: 38:[3, 6] Operation: 28-22=6\nMoving to Node #0,1,0\nCurrent State: 38:[36, 39], Operations: ['64-28=36', '42-3=39']\nExploring Operation: 36+39=75, Resulting Numbers: [75]\n75,38 unequal: No Solution\nExploring Operation: 39-36=3, Resulting Numbers: [3]\n3,38 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 38:[3, 6], Operations: ['64-42=22', '28-22=6']\nExploring Operation: 6/3=2, Resulting Numbers: [2]\n2,38 unequal: No Solution\nExploring Operation: 3*6=18, Resulting Numbers: [18]\n18,38 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 38:[2], Operations: ['64-42=22', '28-22=6', '6/3=2']\nMoving to Node #0,0,1,0\nCurrent State: 38:[18], Operations: ['64-42=22', '28-22=6', '3*6=18']\nMoving to Node #0,1,0,0\nCurrent State: 38:[3], Operations: ['64-28=36', '42-3=39', '39-36=3']\nMoving to Node #0,1,1\nCurrent State: 38:[42, 39], Operations: ['64-28=36', '3+36=39']\nExploring Operation: 42+39=81, Resulting Numbers: [81]\n81,38 unequal: No Solution\nExploring Operation: 42-39=3, Resulting Numbers: [3]\n3,38 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 38:[3], Operations: ['64-28=36', '3+36=39', '42-39=3']\nMoving to Node #0,0,0\nCurrent State: 38:[22, 25], Operations: ['64-42=22', '28-3=25']\nExploring Operation: 25-22=3, Resulting Numbers: [3]\n3,38 unequal: No Solution\nExploring Operation: 22+25=47, Resulting Numbers: [47]\n47,38 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 38:[3], Operations: ['64-42=22', '28-3=25', '25-22=3']\nMoving to Node #0,0,0,0\nCurrent State: 38:[47], Operations: ['64-42=22', '28-3=25', '22+25=47']\nMoving to Node #0,1,0,0\nCurrent State: 38:[75], Operations: ['64-28=36', '42-3=39', '36+39=75']\nMoving to Node #0,1,1,0\nCurrent State: 38:[81], Operations: ['64-28=36', '3+36=39', '42+39=81']\nNo solution found.", "role": "assistant" } ]
[ 18, 21, 36, 2 ]
69
[ "21-18=3", "36*2=72", "72-3=69" ]
Current State: 69:[18, 21, 36, 2], Operations: [] Exploring Operation: 36*2=72, Resulting Numbers: [18, 21, 72] Generated Node #0,0: 69:[18, 21, 72] Operation: 36*2=72 Moving to Node #0,0 Current State: 69:[18, 21, 72], Operations: ['36*2=72'] Exploring Operation: 18+21=39, Resulting Numbers: [72, 39] Generated Node #0,0,0: 69:[72, 39] Operation: 18+21=39 Moving to Node #0,0,0 Current State: 69:[72, 39], Operations: ['36*2=72', '18+21=39'] Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,69 unequal: No Solution Moving to Node #0,0,0,0 Current State: 69:[33], Operations: ['36*2=72', '18+21=39', '72-39=33'] No solution found.
0
bfs_1
Current State: 69:[18, 21, 36, 2], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [36, 2, 3] Generated Node #2: [36, 2, 3] from Operation: 21-18=3 Current State: 69:[36, 2, 3], Operations: ['21-18=3'] Exploring Operation: 36*2=72, Resulting Numbers: [3, 72] Generated Node #3: [3, 72] from Operation: 36*2=72 Current State: 69:[3, 72], Operations: ['21-18=3', '36*2=72'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
sum_heuristic
[ { "content": "Make 69 with the numbers [18, 21, 36, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 69:[18, 21, 36, 2], Operations: []\nExploring Operation: 36*2=72, Resulting Numbers: [18, 21, 72]\nGenerated Node #0,0: 69:[18, 21, 72] Operation: 36*2=72\nMoving to Node #0,0\nCurrent State: 69:[18, 21, 72], Operations: ['36*2=72']\nExploring Operation: 18+21=39, Resulting Numbers: [72, 39]\nGenerated Node #0,0,0: 69:[72, 39] Operation: 18+21=39\nMoving to Node #0,0,0\nCurrent State: 69:[72, 39], Operations: ['36*2=72', '18+21=39']\nExploring Operation: 72-39=33, Resulting Numbers: [33]\n33,69 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 69:[33], Operations: ['36*2=72', '18+21=39', '72-39=33']\nNo solution found.", "role": "assistant" } ]
[ 81, 36, 99, 76 ]
58
[ "81+36=117", "99+76=175", "175-117=58" ]
Current State: 58:[81, 36, 99, 76], Operations: [] Exploring Operation: 99-36=63, Resulting Numbers: [81, 76, 63] Generated Node #0,0: 58:[81, 76, 63] Operation: 99-36=63 Moving to Node #0,0 Current State: 58:[81, 76, 63], Operations: ['99-36=63'] Exploring Operation: 81-76=5, Resulting Numbers: [63, 5] Generated Node #0,0,0: 58:[63, 5] Operation: 81-76=5 Moving to Node #0,0,0 Current State: 58:[63, 5], Operations: ['99-36=63', '81-76=5'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.996528
dfs
Current State: 58:[81, 36, 99, 76], Operations: [] Exploring Operation: 81+36=117, Resulting Numbers: [99, 76, 117] Generated Node #2: [99, 76, 117] from Operation: 81+36=117 Current State: 58:[99, 76, 117], Operations: ['81+36=117'] Exploring Operation: 99+76=175, Resulting Numbers: [117, 175] Generated Node #3: [117, 175] from Operation: 99+76=175 Current State: 58:[117, 175], Operations: ['81+36=117', '99+76=175'] Exploring Operation: 175-117=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
sum_heuristic
[ { "content": "Make 58 with the numbers [81, 36, 99, 76] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 58:[81, 36, 99, 76], Operations: []\nExploring Operation: 99-36=63, Resulting Numbers: [81, 76, 63]\nGenerated Node #0,0: 58:[81, 76, 63] Operation: 99-36=63\nMoving to Node #0,0\nCurrent State: 58:[81, 76, 63], Operations: ['99-36=63']\nExploring Operation: 81-76=5, Resulting Numbers: [63, 5]\nGenerated Node #0,0,0: 58:[63, 5] Operation: 81-76=5\nMoving to Node #0,0,0\nCurrent State: 58:[63, 5], Operations: ['99-36=63', '81-76=5']\nExploring Operation: 63-5=58, Resulting Numbers: [58]\n58,58 equal: Goal Reached\n", "role": "assistant" } ]
[ 66, 33, 12, 66 ]
10
[ "66-33=33", "66/33=2", "12-2=10" ]
Current State: 10:[66, 33, 12, 66], Operations: [] Exploring Operation: 66-66=0, Resulting Numbers: [33, 12, 0] Generated Node #0,0: 10:[33, 12, 0] Operation: 66-66=0 Exploring Operation: 66/33=2, Resulting Numbers: [12, 66, 2] Generated Node #0,1: 10:[12, 66, 2] Operation: 66/33=2 Exploring Operation: 66/66=1, Resulting Numbers: [33, 12, 1] Generated Node #0,2: 10:[33, 12, 1] Operation: 66/66=1 Moving to Node #0,2 Current State: 10:[33, 12, 1], Operations: ['66/66=1'] Exploring Operation: 33-1=32, Resulting Numbers: [12, 32] Generated Node #0,2,0: 10:[12, 32] Operation: 33-1=32 Exploring Operation: 12-1=11, Resulting Numbers: [33, 11] Generated Node #0,2,1: 10:[33, 11] Operation: 12-1=11 Exploring Operation: 33-12=21, Resulting Numbers: [1, 21] Generated Node #0,2,2: 10:[1, 21] Operation: 33-12=21 Moving to Node #0,0 Current State: 10:[33, 12, 0], Operations: ['66-66=0'] Exploring Operation: 33*0=0, Resulting Numbers: [12, 0] Generated Node #0,0,0: 10:[12, 0] Operation: 33*0=0 Exploring Operation: 33+0=33, Resulting Numbers: [12, 33] Generated Node #0,0,1: 10:[12, 33] Operation: 33+0=33 Exploring Operation: 33-12=21, Resulting Numbers: [0, 21] Generated Node #0,0,2: 10:[0, 21] Operation: 33-12=21 Moving to Node #0,1 Current State: 10:[12, 66, 2], Operations: ['66/33=2'] Exploring Operation: 12-2=10, Resulting Numbers: [66, 10] Generated Node #0,1,0: 10:[66, 10] Operation: 12-2=10 Exploring Operation: 66-12=54, Resulting Numbers: [2, 54] Generated Node #0,1,1: 10:[2, 54] Operation: 66-12=54 Exploring Operation: 66/2=33, Resulting Numbers: [12, 33] Generated Node #0,1,2: 10:[12, 33] Operation: 66/2=33 Moving to Node #0,0,0 Current State: 10:[12, 0], Operations: ['66-66=0', '33*0=0'] Exploring Operation: 12*0=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[1, 21], Operations: ['66/66=1', '33-12=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[0, 21], Operations: ['66-66=0', '33-12=21'] Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 0+21=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 0*21=0, Resulting Numbers: [0] 0,10 unequal: No Solution Moving to Node #0,0,0,0 Current State: 10:[12], Operations: ['66-66=0', '33*0=0', '12+0=12'] Moving to Node #0,0,0,0 Current State: 10:[12], Operations: ['66-66=0', '33*0=0', '12-0=12'] Moving to Node #0,0,2,0 Current State: 10:[0], Operations: ['66-66=0', '33-12=21', '0*21=0'] Moving to Node #0,2,2,0 Current State: 10:[20], Operations: ['66/66=1', '33-12=21', '21-1=20'] Moving to Node #0,0,0,0 Current State: 10:[0], Operations: ['66-66=0', '33*0=0', '12*0=0'] Moving to Node #0,0,2,0 Current State: 10:[21], Operations: ['66-66=0', '33-12=21', '21-0=21'] Moving to Node #0,2,2,0 Current State: 10:[21], Operations: ['66/66=1', '33-12=21', '21/1=21'] Moving to Node #0,2,2,0 Current State: 10:[21], Operations: ['66/66=1', '33-12=21', '1*21=21'] Moving to Node #0,0,2,0 Current State: 10:[21], Operations: ['66-66=0', '33-12=21', '0+21=21'] Moving to Node #0,2,1 Current State: 10:[33, 11], Operations: ['66/66=1', '12-1=11'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,10 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[12, 32], Operations: ['66/66=1', '33-1=32'] Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,10 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,10 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[12, 33], Operations: ['66-66=0', '33+0=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,10 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,10 unequal: No Solution Moving to Node #0,2,1,0 Current State: 10:[3], Operations: ['66/66=1', '12-1=11', '33/11=3'] Moving to Node #0,2,0,0 Current State: 10:[20], Operations: ['66/66=1', '33-1=32', '32-12=20'] Moving to Node #0,0,1,0 Current State: 10:[21], Operations: ['66-66=0', '33+0=33', '33-12=21'] Moving to Node #0,2,1,0 Current State: 10:[22], Operations: ['66/66=1', '12-1=11', '33-11=22'] Moving to Node #0,1,2 Current State: 10:[12, 33], Operations: ['66/33=2', '66/2=33'] Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,10 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[2, 54], Operations: ['66/33=2', '66-12=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,10 unequal: No Solution Moving to Node #0,1,2,0 Current State: 10:[21], Operations: ['66/33=2', '66/2=33', '33-12=21'] Moving to Node #0,1,1,0 Current State: 10:[27], Operations: ['66/33=2', '66-12=54', '54/2=27'] Moving to Node #0,1,0 Current State: 10:[66, 10], Operations: ['66/33=2', '12-2=10'] Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,10 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,10 unequal: No Solution Moving to Node #0,2,1,0 Current State: 10:[44], Operations: ['66/66=1', '12-1=11', '33+11=44'] Moving to Node #0,2,0,0 Current State: 10:[44], Operations: ['66/66=1', '33-1=32', '12+32=44'] Moving to Node #0,0,1,0 Current State: 10:[45], Operations: ['66-66=0', '33+0=33', '12+33=45'] Moving to Node #0,1,2,0 Current State: 10:[45], Operations: ['66/33=2', '66/2=33', '12+33=45'] Moving to Node #0,1,1,0 Current State: 10:[52], Operations: ['66/33=2', '66-12=54', '54-2=52'] Moving to Node #0,1,1,0 Current State: 10:[56], Operations: ['66/33=2', '66-12=54', '2+54=56'] Moving to Node #0,1,0,0 Current State: 10:[56], Operations: ['66/33=2', '12-2=10', '66-10=56'] Moving to Node #0,1,0,0 Current State: 10:[76], Operations: ['66/33=2', '12-2=10', '66+10=76'] Moving to Node #0,2,0,0 Current State: 10:[384], Operations: ['66/66=1', '33-1=32', '12*32=384'] Moving to Node #0,0,1,0 Current State: 10:[396], Operations: ['66-66=0', '33+0=33', '12*33=396'] Moving to Node #0,1,2,0 Current State: 10:[396], Operations: ['66/33=2', '66/2=33', '12*33=396'] Moving to Node #0,1,0,0 Current State: 10:[660], Operations: ['66/33=2', '12-2=10', '66*10=660'] No solution found.
0
bfs_3
Current State: 10:[66, 33, 12, 66], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [12, 33] Generated Node #2: [12, 33] from Operation: 66-33=33 Current State: 10:[12, 33], Operations: ['66-33=33'] Exploring Operation: 66/33=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 66/33=2 Current State: 10:[12, 2], Operations: ['66-33=33', '66/33=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
sum_heuristic
[ { "content": "Make 10 with the numbers [66, 33, 12, 66] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 10:[66, 33, 12, 66], Operations: []\nExploring Operation: 66-66=0, Resulting Numbers: [33, 12, 0]\nGenerated Node #0,0: 10:[33, 12, 0] Operation: 66-66=0\nExploring Operation: 66/33=2, Resulting Numbers: [12, 66, 2]\nGenerated Node #0,1: 10:[12, 66, 2] Operation: 66/33=2\nExploring Operation: 66/66=1, Resulting Numbers: [33, 12, 1]\nGenerated Node #0,2: 10:[33, 12, 1] Operation: 66/66=1\nMoving to Node #0,2\nCurrent State: 10:[33, 12, 1], Operations: ['66/66=1']\nExploring Operation: 33-1=32, Resulting Numbers: [12, 32]\nGenerated Node #0,2,0: 10:[12, 32] Operation: 33-1=32\nExploring Operation: 12-1=11, Resulting Numbers: [33, 11]\nGenerated Node #0,2,1: 10:[33, 11] Operation: 12-1=11\nExploring Operation: 33-12=21, Resulting Numbers: [1, 21]\nGenerated Node #0,2,2: 10:[1, 21] Operation: 33-12=21\nMoving to Node #0,0\nCurrent State: 10:[33, 12, 0], Operations: ['66-66=0']\nExploring Operation: 33*0=0, Resulting Numbers: [12, 0]\nGenerated Node #0,0,0: 10:[12, 0] Operation: 33*0=0\nExploring Operation: 33+0=33, Resulting Numbers: [12, 33]\nGenerated Node #0,0,1: 10:[12, 33] Operation: 33+0=33\nExploring Operation: 33-12=21, Resulting Numbers: [0, 21]\nGenerated Node #0,0,2: 10:[0, 21] Operation: 33-12=21\nMoving to Node #0,1\nCurrent State: 10:[12, 66, 2], Operations: ['66/33=2']\nExploring Operation: 12-2=10, Resulting Numbers: [66, 10]\nGenerated Node #0,1,0: 10:[66, 10] Operation: 12-2=10\nExploring Operation: 66-12=54, Resulting Numbers: [2, 54]\nGenerated Node #0,1,1: 10:[2, 54] Operation: 66-12=54\nExploring Operation: 66/2=33, Resulting Numbers: [12, 33]\nGenerated Node #0,1,2: 10:[12, 33] Operation: 66/2=33\nMoving to Node #0,0,0\nCurrent State: 10:[12, 0], Operations: ['66-66=0', '33*0=0']\nExploring Operation: 12*0=0, Resulting Numbers: [0]\n0,10 unequal: No Solution\nExploring Operation: 12+0=12, Resulting Numbers: [12]\n12,10 unequal: No Solution\nExploring Operation: 12-0=12, Resulting Numbers: [12]\n12,10 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 10:[1, 21], Operations: ['66/66=1', '33-12=21']\nExploring Operation: 1*21=21, Resulting Numbers: [21]\n21,10 unequal: No Solution\nExploring Operation: 21-1=20, Resulting Numbers: [20]\n20,10 unequal: No Solution\nExploring Operation: 21/1=21, Resulting Numbers: [21]\n21,10 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 10:[0, 21], Operations: ['66-66=0', '33-12=21']\nExploring Operation: 21-0=21, Resulting Numbers: [21]\n21,10 unequal: No Solution\nExploring Operation: 0+21=21, Resulting Numbers: [21]\n21,10 unequal: No Solution\nExploring Operation: 0*21=0, Resulting Numbers: [0]\n0,10 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 10:[12], Operations: ['66-66=0', '33*0=0', '12+0=12']\nMoving to Node #0,0,0,0\nCurrent State: 10:[12], Operations: ['66-66=0', '33*0=0', '12-0=12']\nMoving to Node #0,0,2,0\nCurrent State: 10:[0], Operations: ['66-66=0', '33-12=21', '0*21=0']\nMoving to Node #0,2,2,0\nCurrent State: 10:[20], Operations: ['66/66=1', '33-12=21', '21-1=20']\nMoving to Node #0,0,0,0\nCurrent State: 10:[0], Operations: ['66-66=0', '33*0=0', '12*0=0']\nMoving to Node #0,0,2,0\nCurrent State: 10:[21], Operations: ['66-66=0', '33-12=21', '21-0=21']\nMoving to Node #0,2,2,0\nCurrent State: 10:[21], Operations: ['66/66=1', '33-12=21', '21/1=21']\nMoving to Node #0,2,2,0\nCurrent State: 10:[21], Operations: ['66/66=1', '33-12=21', '1*21=21']\nMoving to Node #0,0,2,0\nCurrent State: 10:[21], Operations: ['66-66=0', '33-12=21', '0+21=21']\nMoving to Node #0,2,1\nCurrent State: 10:[33, 11], Operations: ['66/66=1', '12-1=11']\nExploring Operation: 33/11=3, Resulting Numbers: [3]\n3,10 unequal: No Solution\nExploring Operation: 33+11=44, Resulting Numbers: [44]\n44,10 unequal: No Solution\nExploring Operation: 33-11=22, Resulting Numbers: [22]\n22,10 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 10:[12, 32], Operations: ['66/66=1', '33-1=32']\nExploring Operation: 12*32=384, Resulting Numbers: [384]\n384,10 unequal: No Solution\nExploring Operation: 12+32=44, Resulting Numbers: [44]\n44,10 unequal: No Solution\nExploring Operation: 32-12=20, Resulting Numbers: [20]\n20,10 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 10:[12, 33], Operations: ['66-66=0', '33+0=33']\nExploring Operation: 33-12=21, Resulting Numbers: [21]\n21,10 unequal: No Solution\nExploring Operation: 12*33=396, Resulting Numbers: [396]\n396,10 unequal: No Solution\nExploring Operation: 12+33=45, Resulting Numbers: [45]\n45,10 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 10:[3], Operations: ['66/66=1', '12-1=11', '33/11=3']\nMoving to Node #0,2,0,0\nCurrent State: 10:[20], Operations: ['66/66=1', '33-1=32', '32-12=20']\nMoving to Node #0,0,1,0\nCurrent State: 10:[21], Operations: ['66-66=0', '33+0=33', '33-12=21']\nMoving to Node #0,2,1,0\nCurrent State: 10:[22], Operations: ['66/66=1', '12-1=11', '33-11=22']\nMoving to Node #0,1,2\nCurrent State: 10:[12, 33], Operations: ['66/33=2', '66/2=33']\nExploring Operation: 12*33=396, Resulting Numbers: [396]\n396,10 unequal: No Solution\nExploring Operation: 12+33=45, Resulting Numbers: [45]\n45,10 unequal: No Solution\nExploring Operation: 33-12=21, Resulting Numbers: [21]\n21,10 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 10:[2, 54], Operations: ['66/33=2', '66-12=54']\nExploring Operation: 54/2=27, Resulting Numbers: [27]\n27,10 unequal: No Solution\nExploring Operation: 2+54=56, Resulting Numbers: [56]\n56,10 unequal: No Solution\nExploring Operation: 54-2=52, Resulting Numbers: [52]\n52,10 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 10:[21], Operations: ['66/33=2', '66/2=33', '33-12=21']\nMoving to Node #0,1,1,0\nCurrent State: 10:[27], Operations: ['66/33=2', '66-12=54', '54/2=27']\nMoving to Node #0,1,0\nCurrent State: 10:[66, 10], Operations: ['66/33=2', '12-2=10']\nExploring Operation: 66+10=76, Resulting Numbers: [76]\n76,10 unequal: No Solution\nExploring Operation: 66-10=56, Resulting Numbers: [56]\n56,10 unequal: No Solution\nExploring Operation: 66*10=660, Resulting Numbers: [660]\n660,10 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 10:[44], Operations: ['66/66=1', '12-1=11', '33+11=44']\nMoving to Node #0,2,0,0\nCurrent State: 10:[44], Operations: ['66/66=1', '33-1=32', '12+32=44']\nMoving to Node #0,0,1,0\nCurrent State: 10:[45], Operations: ['66-66=0', '33+0=33', '12+33=45']\nMoving to Node #0,1,2,0\nCurrent State: 10:[45], Operations: ['66/33=2', '66/2=33', '12+33=45']\nMoving to Node #0,1,1,0\nCurrent State: 10:[52], Operations: ['66/33=2', '66-12=54', '54-2=52']\nMoving to Node #0,1,1,0\nCurrent State: 10:[56], Operations: ['66/33=2', '66-12=54', '2+54=56']\nMoving to Node #0,1,0,0\nCurrent State: 10:[56], Operations: ['66/33=2', '12-2=10', '66-10=56']\nMoving to Node #0,1,0,0\nCurrent State: 10:[76], Operations: ['66/33=2', '12-2=10', '66+10=76']\nMoving to Node #0,2,0,0\nCurrent State: 10:[384], Operations: ['66/66=1', '33-1=32', '12*32=384']\nMoving to Node #0,0,1,0\nCurrent State: 10:[396], Operations: ['66-66=0', '33+0=33', '12*33=396']\nMoving to Node #0,1,2,0\nCurrent State: 10:[396], Operations: ['66/33=2', '66/2=33', '12*33=396']\nMoving to Node #0,1,0,0\nCurrent State: 10:[660], Operations: ['66/33=2', '12-2=10', '66*10=660']\nNo solution found.", "role": "assistant" } ]
[ 60, 10, 65, 10 ]
11
[ "10*65=650", "10+650=660", "660/60=11" ]
Current State: 11:[60, 10, 65, 10], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [10, 10, 5] Generated Node #0,0: 11:[10, 10, 5] Operation: 65-60=5 Moving to Node #0,0 Current State: 11:[10, 10, 5], Operations: ['65-60=5'] Exploring Operation: 10+5=15, Resulting Numbers: [10, 15] Generated Node #0,0,0: 11:[10, 15] Operation: 10+5=15 Moving to Node #0,0,0 Current State: 11:[10, 15], Operations: ['65-60=5', '10+5=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,0 Current State: 11:[10, 10, 5], Operations: ['65-60=5'] Exploring Operation: 10+5=15, Resulting Numbers: [10, 15] Generated Node #0,0,1: 11:[10, 15] Operation: 10+5=15 Moving to Node #0,0,1 Current State: 11:[10, 15], Operations: ['65-60=5', '10+5=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,0 Current State: 11:[10, 10, 5], Operations: ['65-60=5'] Exploring Operation: 10-5=5, Resulting Numbers: [10, 5] Generated Node #0,0,2: 11:[10, 5] Operation: 10-5=5 Moving to Node #0,0,2 Current State: 11:[10, 5], Operations: ['65-60=5', '10-5=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[10, 5], Operations: ['65-60=5', '10-5=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[10, 5], Operations: ['65-60=5', '10-5=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,0 Current State: 11:[10, 10, 5], Operations: ['65-60=5'] Exploring Operation: 10-5=5, Resulting Numbers: [10, 5] Generated Node #0,0,3: 11:[10, 5] Operation: 10-5=5 Moving to Node #0,0,3 Current State: 11:[10, 5], Operations: ['65-60=5', '10-5=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[10, 5], Operations: ['65-60=5', '10-5=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[10, 5], Operations: ['65-60=5', '10-5=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,0 Current State: 11:[10, 10, 5], Operations: ['65-60=5'] Exploring Operation: 10/5=2, Resulting Numbers: [10, 2] Generated Node #0,0,4: 11:[10, 2] Operation: 10/5=2 Moving to Node #0,0,4 Current State: 11:[10, 2], Operations: ['65-60=5', '10/5=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[10, 2], Operations: ['65-60=5', '10/5=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[10, 2], Operations: ['65-60=5', '10/5=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[10, 2], Operations: ['65-60=5', '10/5=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,11 unequal: No Solution Moving to Node #0,0 Current State: 11:[10, 10, 5], Operations: ['65-60=5'] Exploring Operation: 10/5=2, Resulting Numbers: [10, 2] Generated Node #0,0,5: 11:[10, 2] Operation: 10/5=2 Moving to Node #0,0,5 Current State: 11:[10, 2], Operations: ['65-60=5', '10/5=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,0,5 Current State: 11:[10, 2], Operations: ['65-60=5', '10/5=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,11 unequal: No Solution Moving to Node #0,0,5 Current State: 11:[10, 2], Operations: ['65-60=5', '10/5=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,0,5 Current State: 11:[10, 2], Operations: ['65-60=5', '10/5=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,11 unequal: No Solution
0
dfs
Current State: 11:[60, 10, 65, 10], Operations: [] Exploring Operation: 10*65=650, Resulting Numbers: [60, 650] Generated Node #2: [60, 650] from Operation: 10*65=650 Current State: 11:[60, 650], Operations: ['10*65=650'] Exploring Operation: 10+650=660, Resulting Numbers: [60, 660] Generated Node #3: [60, 660] from Operation: 10+650=660 Current State: 11:[60, 660], Operations: ['10*65=650', '10+650=660'] Exploring Operation: 660/60=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
mult_heuristic
[ { "content": "Make 11 with the numbers [60, 10, 65, 10] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 11:[60, 10, 65, 10], Operations: []\nExploring Operation: 65-60=5, Resulting Numbers: [10, 10, 5]\nGenerated Node #0,0: 11:[10, 10, 5] Operation: 65-60=5\nMoving to Node #0,0\nCurrent State: 11:[10, 10, 5], Operations: ['65-60=5']\nExploring Operation: 10+5=15, Resulting Numbers: [10, 15]\nGenerated Node #0,0,0: 11:[10, 15] Operation: 10+5=15\nMoving to Node #0,0,0\nCurrent State: 11:[10, 15], Operations: ['65-60=5', '10+5=15']\nExploring Operation: 15-10=5, Resulting Numbers: [5]\n5,11 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 11:[10, 10, 5], Operations: ['65-60=5']\nExploring Operation: 10+5=15, Resulting Numbers: [10, 15]\nGenerated Node #0,0,1: 11:[10, 15] Operation: 10+5=15\nMoving to Node #0,0,1\nCurrent State: 11:[10, 15], Operations: ['65-60=5', '10+5=15']\nExploring Operation: 15-10=5, Resulting Numbers: [5]\n5,11 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 11:[10, 10, 5], Operations: ['65-60=5']\nExploring Operation: 10-5=5, Resulting Numbers: [10, 5]\nGenerated Node #0,0,2: 11:[10, 5] Operation: 10-5=5\nMoving to Node #0,0,2\nCurrent State: 11:[10, 5], Operations: ['65-60=5', '10-5=5']\nExploring Operation: 10+5=15, Resulting Numbers: [15]\n15,11 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 11:[10, 5], Operations: ['65-60=5', '10-5=5']\nExploring Operation: 10-5=5, Resulting Numbers: [5]\n5,11 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 11:[10, 5], Operations: ['65-60=5', '10-5=5']\nExploring Operation: 10/5=2, Resulting Numbers: [2]\n2,11 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 11:[10, 10, 5], Operations: ['65-60=5']\nExploring Operation: 10-5=5, Resulting Numbers: [10, 5]\nGenerated Node #0,0,3: 11:[10, 5] Operation: 10-5=5\nMoving to Node #0,0,3\nCurrent State: 11:[10, 5], Operations: ['65-60=5', '10-5=5']\nExploring Operation: 10+5=15, Resulting Numbers: [15]\n15,11 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 11:[10, 5], Operations: ['65-60=5', '10-5=5']\nExploring Operation: 10-5=5, Resulting Numbers: [5]\n5,11 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 11:[10, 5], Operations: ['65-60=5', '10-5=5']\nExploring Operation: 10/5=2, Resulting Numbers: [2]\n2,11 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 11:[10, 10, 5], Operations: ['65-60=5']\nExploring Operation: 10/5=2, Resulting Numbers: [10, 2]\nGenerated Node #0,0,4: 11:[10, 2] Operation: 10/5=2\nMoving to Node #0,0,4\nCurrent State: 11:[10, 2], Operations: ['65-60=5', '10/5=2']\nExploring Operation: 10+2=12, Resulting Numbers: [12]\n12,11 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 11:[10, 2], Operations: ['65-60=5', '10/5=2']\nExploring Operation: 10-2=8, Resulting Numbers: [8]\n8,11 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 11:[10, 2], Operations: ['65-60=5', '10/5=2']\nExploring Operation: 10/2=5, Resulting Numbers: [5]\n5,11 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 11:[10, 2], Operations: ['65-60=5', '10/5=2']\nExploring Operation: 10*2=20, Resulting Numbers: [20]\n20,11 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 11:[10, 10, 5], Operations: ['65-60=5']\nExploring Operation: 10/5=2, Resulting Numbers: [10, 2]\nGenerated Node #0,0,5: 11:[10, 2] Operation: 10/5=2\nMoving to Node #0,0,5\nCurrent State: 11:[10, 2], Operations: ['65-60=5', '10/5=2']\nExploring Operation: 10+2=12, Resulting Numbers: [12]\n12,11 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 11:[10, 2], Operations: ['65-60=5', '10/5=2']\nExploring Operation: 10-2=8, Resulting Numbers: [8]\n8,11 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 11:[10, 2], Operations: ['65-60=5', '10/5=2']\nExploring Operation: 10/2=5, Resulting Numbers: [5]\n5,11 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 11:[10, 2], Operations: ['65-60=5', '10/5=2']\nExploring Operation: 10*2=20, Resulting Numbers: [20]\n20,11 unequal: No Solution\n", "role": "assistant" } ]
[ 63, 75, 38, 85 ]
91
[ "63+75=138", "85-38=47", "138-47=91" ]
Current State: 91:[63, 75, 38, 85], Operations: [] Exploring Operation: 63+38=101, Resulting Numbers: [75, 85, 101] Generated Node #0,0: 91:[75, 85, 101] Operation: 63+38=101 Moving to Node #0,0 Current State: 91:[75, 85, 101], Operations: ['63+38=101'] Exploring Operation: 101-75=26, Resulting Numbers: [85, 26] Generated Node #0,0,0: 91:[85, 26] Operation: 101-75=26 Moving to Node #0,0,0 Current State: 91:[85, 26], Operations: ['63+38=101', '101-75=26'] Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[85, 26], Operations: ['63+38=101', '101-75=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,91 unequal: No Solution Moving to Node #0,0 Current State: 91:[75, 85, 101], Operations: ['63+38=101'] Exploring Operation: 75+85=160, Resulting Numbers: [101, 160] Generated Node #0,0,1: 91:[101, 160] Operation: 75+85=160 Moving to Node #0,0,1 Current State: 91:[101, 160], Operations: ['63+38=101', '75+85=160'] Exploring Operation: 160-101=59, Resulting Numbers: [59] 59,91 unequal: No Solution Moving to Node #0,0 Current State: 91:[75, 85, 101], Operations: ['63+38=101'] Exploring Operation: 85-75=10, Resulting Numbers: [101, 10] Generated Node #0,0,2: 91:[101, 10] Operation: 85-75=10 Moving to Node #0,0,2 Current State: 91:[101, 10], Operations: ['63+38=101', '85-75=10'] Exploring Operation: 101-10=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.992188
dfs
Current State: 91:[63, 75, 38, 85], Operations: [] Exploring Operation: 63+75=138, Resulting Numbers: [38, 85, 138] Generated Node #2: [38, 85, 138] from Operation: 63+75=138 Current State: 91:[38, 85, 138], Operations: ['63+75=138'] Exploring Operation: 85-38=47, Resulting Numbers: [138, 47] Generated Node #3: [138, 47] from Operation: 85-38=47 Current State: 91:[138, 47], Operations: ['63+75=138', '85-38=47'] Exploring Operation: 138-47=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
sum_heuristic
[ { "content": "Make 91 with the numbers [63, 75, 38, 85] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 91:[63, 75, 38, 85], Operations: []\nExploring Operation: 63+38=101, Resulting Numbers: [75, 85, 101]\nGenerated Node #0,0: 91:[75, 85, 101] Operation: 63+38=101\nMoving to Node #0,0\nCurrent State: 91:[75, 85, 101], Operations: ['63+38=101']\nExploring Operation: 101-75=26, Resulting Numbers: [85, 26]\nGenerated Node #0,0,0: 91:[85, 26] Operation: 101-75=26\nMoving to Node #0,0,0\nCurrent State: 91:[85, 26], Operations: ['63+38=101', '101-75=26']\nExploring Operation: 85+26=111, Resulting Numbers: [111]\n111,91 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 91:[85, 26], Operations: ['63+38=101', '101-75=26']\nExploring Operation: 85-26=59, Resulting Numbers: [59]\n59,91 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 91:[75, 85, 101], Operations: ['63+38=101']\nExploring Operation: 75+85=160, Resulting Numbers: [101, 160]\nGenerated Node #0,0,1: 91:[101, 160] Operation: 75+85=160\nMoving to Node #0,0,1\nCurrent State: 91:[101, 160], Operations: ['63+38=101', '75+85=160']\nExploring Operation: 160-101=59, Resulting Numbers: [59]\n59,91 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 91:[75, 85, 101], Operations: ['63+38=101']\nExploring Operation: 85-75=10, Resulting Numbers: [101, 10]\nGenerated Node #0,0,2: 91:[101, 10] Operation: 85-75=10\nMoving to Node #0,0,2\nCurrent State: 91:[101, 10], Operations: ['63+38=101', '85-75=10']\nExploring Operation: 101-10=91, Resulting Numbers: [91]\n91,91 equal: Goal Reached\n", "role": "assistant" } ]
[ 29, 57, 58, 80 ]
52
[ "29+57=86", "58+80=138", "138-86=52" ]
Current State: 52:[29, 57, 58, 80], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [57, 58, 51] Generated Node #0,0: 52:[57, 58, 51] Operation: 80-29=51 Moving to Node #0,0 Current State: 52:[57, 58, 51], Operations: ['80-29=51'] Exploring Operation: 58-57=1, Resulting Numbers: [51, 1] Generated Node #0,0,0: 52:[51, 1] Operation: 58-57=1 Moving to Node #0,0,0 Current State: 52:[51, 1], Operations: ['80-29=51', '58-57=1'] Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.996528
dfs
Current State: 52:[29, 57, 58, 80], Operations: [] Exploring Operation: 29+57=86, Resulting Numbers: [58, 80, 86] Generated Node #2: [58, 80, 86] from Operation: 29+57=86 Current State: 52:[58, 80, 86], Operations: ['29+57=86'] Exploring Operation: 58+80=138, Resulting Numbers: [86, 138] Generated Node #3: [86, 138] from Operation: 58+80=138 Current State: 52:[86, 138], Operations: ['29+57=86', '58+80=138'] Exploring Operation: 138-86=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
mult_heuristic
[ { "content": "Make 52 with the numbers [29, 57, 58, 80] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 52:[29, 57, 58, 80], Operations: []\nExploring Operation: 80-29=51, Resulting Numbers: [57, 58, 51]\nGenerated Node #0,0: 52:[57, 58, 51] Operation: 80-29=51\nMoving to Node #0,0\nCurrent State: 52:[57, 58, 51], Operations: ['80-29=51']\nExploring Operation: 58-57=1, Resulting Numbers: [51, 1]\nGenerated Node #0,0,0: 52:[51, 1] Operation: 58-57=1\nMoving to Node #0,0,0\nCurrent State: 52:[51, 1], Operations: ['80-29=51', '58-57=1']\nExploring Operation: 51+1=52, Resulting Numbers: [52]\n52,52 equal: Goal Reached\n", "role": "assistant" } ]
[ 32, 79, 63, 1 ]
16
[ "79-32=47", "63*1=63", "63-47=16" ]
Current State: 16:[32, 79, 63, 1], Operations: [] Exploring Operation: 32-1=31, Resulting Numbers: [79, 63, 31] Generated Node #0,0: 16:[79, 63, 31] Operation: 32-1=31 Exploring Operation: 63-32=31, Resulting Numbers: [79, 1, 31] Generated Node #0,1: 16:[79, 1, 31] Operation: 63-32=31 Exploring Operation: 79-63=16, Resulting Numbers: [32, 1, 16] Generated Node #0,2: 16:[32, 1, 16] Operation: 79-63=16 Exploring Operation: 79-32=47, Resulting Numbers: [63, 1, 47] Generated Node #0,3: 16:[63, 1, 47] Operation: 79-32=47 Moving to Node #0,2 Current State: 16:[32, 1, 16], Operations: ['79-63=16'] Exploring Operation: 32/1=32, Resulting Numbers: [16, 32] Generated Node #0,2,0: 16:[16, 32] Operation: 32/1=32 Exploring Operation: 32*1=32, Resulting Numbers: [16, 32] Generated Node #0,2,1: 16:[16, 32] Operation: 32*1=32 Exploring Operation: 32-16=16, Resulting Numbers: [1, 16] Generated Node #0,2,2: 16:[1, 16] Operation: 32-16=16 Exploring Operation: 32-1=31, Resulting Numbers: [16, 31] Generated Node #0,2,3: 16:[16, 31] Operation: 32-1=31 Moving to Node #0,3 Current State: 16:[63, 1, 47], Operations: ['79-32=47'] Exploring Operation: 63-47=16, Resulting Numbers: [1, 16] Generated Node #0,3,0: 16:[1, 16] Operation: 63-47=16 Exploring Operation: 47-1=46, Resulting Numbers: [63, 46] Generated Node #0,3,1: 16:[63, 46] Operation: 47-1=46 Exploring Operation: 63-1=62, Resulting Numbers: [47, 62] Generated Node #0,3,2: 16:[47, 62] Operation: 63-1=62 Exploring Operation: 63*1=63, Resulting Numbers: [47, 63] Generated Node #0,3,3: 16:[47, 63] Operation: 63*1=63 Moving to Node #0,1 Current State: 16:[79, 1, 31], Operations: ['63-32=31'] Exploring Operation: 79*1=79, Resulting Numbers: [31, 79] Generated Node #0,1,0: 16:[31, 79] Operation: 79*1=79 Exploring Operation: 79-1=78, Resulting Numbers: [31, 78] Generated Node #0,1,1: 16:[31, 78] Operation: 79-1=78 Exploring Operation: 31-1=30, Resulting Numbers: [79, 30] Generated Node #0,1,2: 16:[79, 30] Operation: 31-1=30 Exploring Operation: 79-31=48, Resulting Numbers: [1, 48] Generated Node #0,1,3: 16:[1, 48] Operation: 79-31=48 Moving to Node #0,0 Current State: 16:[79, 63, 31], Operations: ['32-1=31'] Exploring Operation: 79-31=48, Resulting Numbers: [63, 48] Generated Node #0,0,0: 16:[63, 48] Operation: 79-31=48 Exploring Operation: 79-63=16, Resulting Numbers: [31, 16] Generated Node #0,0,1: 16:[31, 16] Operation: 79-63=16 Exploring Operation: 63-31=32, Resulting Numbers: [79, 32] Generated Node #0,0,2: 16:[79, 32] Operation: 63-31=32 Exploring Operation: 79+63=142, Resulting Numbers: [31, 142] Generated Node #0,0,3: 16:[31, 142] Operation: 79+63=142 Moving to Node #0,2,2 Current State: 16:[1, 16], Operations: ['79-63=16', '32-16=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.980035
bfs_4
Current State: 16:[32, 79, 63, 1], Operations: [] Exploring Operation: 79-32=47, Resulting Numbers: [63, 1, 47] Generated Node #2: [63, 1, 47] from Operation: 79-32=47 Current State: 16:[63, 1, 47], Operations: ['79-32=47'] Exploring Operation: 63*1=63, Resulting Numbers: [47, 63] Generated Node #3: [47, 63] from Operation: 63*1=63 Current State: 16:[47, 63], Operations: ['79-32=47', '63*1=63'] Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
sum_heuristic
[ { "content": "Make 16 with the numbers [32, 79, 63, 1] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 16:[32, 79, 63, 1], Operations: []\nExploring Operation: 32-1=31, Resulting Numbers: [79, 63, 31]\nGenerated Node #0,0: 16:[79, 63, 31] Operation: 32-1=31\nExploring Operation: 63-32=31, Resulting Numbers: [79, 1, 31]\nGenerated Node #0,1: 16:[79, 1, 31] Operation: 63-32=31\nExploring Operation: 79-63=16, Resulting Numbers: [32, 1, 16]\nGenerated Node #0,2: 16:[32, 1, 16] Operation: 79-63=16\nExploring Operation: 79-32=47, Resulting Numbers: [63, 1, 47]\nGenerated Node #0,3: 16:[63, 1, 47] Operation: 79-32=47\nMoving to Node #0,2\nCurrent State: 16:[32, 1, 16], Operations: ['79-63=16']\nExploring Operation: 32/1=32, Resulting Numbers: [16, 32]\nGenerated Node #0,2,0: 16:[16, 32] Operation: 32/1=32\nExploring Operation: 32*1=32, Resulting Numbers: [16, 32]\nGenerated Node #0,2,1: 16:[16, 32] Operation: 32*1=32\nExploring Operation: 32-16=16, Resulting Numbers: [1, 16]\nGenerated Node #0,2,2: 16:[1, 16] Operation: 32-16=16\nExploring Operation: 32-1=31, Resulting Numbers: [16, 31]\nGenerated Node #0,2,3: 16:[16, 31] Operation: 32-1=31\nMoving to Node #0,3\nCurrent State: 16:[63, 1, 47], Operations: ['79-32=47']\nExploring Operation: 63-47=16, Resulting Numbers: [1, 16]\nGenerated Node #0,3,0: 16:[1, 16] Operation: 63-47=16\nExploring Operation: 47-1=46, Resulting Numbers: [63, 46]\nGenerated Node #0,3,1: 16:[63, 46] Operation: 47-1=46\nExploring Operation: 63-1=62, Resulting Numbers: [47, 62]\nGenerated Node #0,3,2: 16:[47, 62] Operation: 63-1=62\nExploring Operation: 63*1=63, Resulting Numbers: [47, 63]\nGenerated Node #0,3,3: 16:[47, 63] Operation: 63*1=63\nMoving to Node #0,1\nCurrent State: 16:[79, 1, 31], Operations: ['63-32=31']\nExploring Operation: 79*1=79, Resulting Numbers: [31, 79]\nGenerated Node #0,1,0: 16:[31, 79] Operation: 79*1=79\nExploring Operation: 79-1=78, Resulting Numbers: [31, 78]\nGenerated Node #0,1,1: 16:[31, 78] Operation: 79-1=78\nExploring Operation: 31-1=30, Resulting Numbers: [79, 30]\nGenerated Node #0,1,2: 16:[79, 30] Operation: 31-1=30\nExploring Operation: 79-31=48, Resulting Numbers: [1, 48]\nGenerated Node #0,1,3: 16:[1, 48] Operation: 79-31=48\nMoving to Node #0,0\nCurrent State: 16:[79, 63, 31], Operations: ['32-1=31']\nExploring Operation: 79-31=48, Resulting Numbers: [63, 48]\nGenerated Node #0,0,0: 16:[63, 48] Operation: 79-31=48\nExploring Operation: 79-63=16, Resulting Numbers: [31, 16]\nGenerated Node #0,0,1: 16:[31, 16] Operation: 79-63=16\nExploring Operation: 63-31=32, Resulting Numbers: [79, 32]\nGenerated Node #0,0,2: 16:[79, 32] Operation: 63-31=32\nExploring Operation: 79+63=142, Resulting Numbers: [31, 142]\nGenerated Node #0,0,3: 16:[31, 142] Operation: 79+63=142\nMoving to Node #0,2,2\nCurrent State: 16:[1, 16], Operations: ['79-63=16', '32-16=16']\nExploring Operation: 1+16=17, Resulting Numbers: [17]\n17,16 unequal: No Solution\nExploring Operation: 16/1=16, Resulting Numbers: [16]\n16,16 equal: Goal Reached\n", "role": "assistant" } ]
[ 15, 16, 23, 54 ]
51
[ "23-16=7", "15*7=105", "105-54=51" ]
Current State: 51:[15, 16, 23, 54], Operations: [] Exploring Operation: 16-15=1, Resulting Numbers: [23, 54, 1] Generated Node #0,0: 51:[23, 54, 1] Operation: 16-15=1 Exploring Operation: 23-16=7, Resulting Numbers: [15, 54, 7] Generated Node #0,1: 51:[15, 54, 7] Operation: 23-16=7 Exploring Operation: 23-15=8, Resulting Numbers: [16, 54, 8] Generated Node #0,2: 51:[16, 54, 8] Operation: 23-15=8 Moving to Node #0,1 Current State: 51:[15, 54, 7], Operations: ['23-16=7'] Exploring Operation: 54-7=47, Resulting Numbers: [15, 47] Generated Node #0,1,0: 51:[15, 47] Operation: 54-7=47 Exploring Operation: 15+7=22, Resulting Numbers: [54, 22] Generated Node #0,1,1: 51:[54, 22] Operation: 15+7=22 Exploring Operation: 15-7=8, Resulting Numbers: [54, 8] Generated Node #0,1,2: 51:[54, 8] Operation: 15-7=8 Moving to Node #0,2 Current State: 51:[16, 54, 8], Operations: ['23-15=8'] Exploring Operation: 54-8=46, Resulting Numbers: [16, 46] Generated Node #0,2,0: 51:[16, 46] Operation: 54-8=46 Exploring Operation: 16-8=8, Resulting Numbers: [54, 8] Generated Node #0,2,1: 51:[54, 8] Operation: 16-8=8 Exploring Operation: 16/8=2, Resulting Numbers: [54, 2] Generated Node #0,2,2: 51:[54, 2] Operation: 16/8=2 Moving to Node #0,0 Current State: 51:[23, 54, 1], Operations: ['16-15=1'] Exploring Operation: 23-1=22, Resulting Numbers: [54, 22] Generated Node #0,0,0: 51:[54, 22] Operation: 23-1=22 Exploring Operation: 23*1=23, Resulting Numbers: [54, 23] Generated Node #0,0,1: 51:[54, 23] Operation: 23*1=23 Exploring Operation: 54-1=53, Resulting Numbers: [23, 53] Generated Node #0,0,2: 51:[23, 53] Operation: 54-1=53 Moving to Node #0,2,2 Current State: 51:[54, 2], Operations: ['23-15=8', '16/8=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[15, 47], Operations: ['23-16=7', '54-7=47'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,51 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[16, 46], Operations: ['23-15=8', '54-8=46'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,51 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,51 unequal: No Solution Moving to Node #0,2,2,0 Current State: 51:[52], Operations: ['23-15=8', '16/8=2', '54-2=52'] Moving to Node #0,2,2,0 Current State: 51:[56], Operations: ['23-15=8', '16/8=2', '54+2=56'] Moving to Node #0,1,2 Current State: 51:[54, 8], Operations: ['23-16=7', '15-7=8'] Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,51 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,51 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,51 unequal: No Solution Moving to Node #0,1,2,0 Current State: 51:[46], Operations: ['23-16=7', '15-7=8', '54-8=46'] Moving to Node #0,2,1 Current State: 51:[54, 8], Operations: ['23-15=8', '16-8=8'] Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,51 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[54, 22], Operations: ['16-15=1', '23-1=22'] Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,51 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,51 unequal: No Solution Moving to Node #0,2,1,0 Current State: 51:[46], Operations: ['23-15=8', '16-8=8', '54-8=46'] Moving to Node #0,1,1 Current State: 51:[54, 22], Operations: ['23-16=7', '15+7=22'] Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,51 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[23, 53], Operations: ['16-15=1', '54-1=53'] Exploring Operation: 23+53=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 23*53=1219, Resulting Numbers: [1219] 1219,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[54, 23], Operations: ['16-15=1', '23*1=23'] Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,51 unequal: No Solution Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,51 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,51 unequal: No Solution Moving to Node #0,2,2,0 Current State: 51:[27], Operations: ['23-15=8', '16/8=2', '54/2=27'] Moving to Node #0,2,1,0 Current State: 51:[62], Operations: ['23-15=8', '16-8=8', '54+8=62'] Moving to Node #0,1,2,0 Current State: 51:[62], Operations: ['23-16=7', '15-7=8', '54+8=62'] Moving to Node #0,2,0,0 Current State: 51:[62], Operations: ['23-15=8', '54-8=46', '16+46=62'] Moving to Node #0,1,0,0 Current State: 51:[62], Operations: ['23-16=7', '54-7=47', '15+47=62'] Moving to Node #0,2,0,0 Current State: 51:[30], Operations: ['23-15=8', '54-8=46', '46-16=30'] Moving to Node #0,0,2,0 Current State: 51:[30], Operations: ['16-15=1', '54-1=53', '53-23=30'] Moving to Node #0,0,1,0 Current State: 51:[31], Operations: ['16-15=1', '23*1=23', '54-23=31'] Moving to Node #0,1,0,0 Current State: 51:[32], Operations: ['23-16=7', '54-7=47', '47-15=32'] Moving to Node #0,0,0,0 Current State: 51:[32], Operations: ['16-15=1', '23-1=22', '54-22=32'] Moving to Node #0,1,1,0 Current State: 51:[32], Operations: ['23-16=7', '15+7=22', '54-22=32'] Moving to Node #0,0,2,0 Current State: 51:[76], Operations: ['16-15=1', '54-1=53', '23+53=76'] Moving to Node #0,0,0,0 Current State: 51:[76], Operations: ['16-15=1', '23-1=22', '54+22=76'] Moving to Node #0,1,1,0 Current State: 51:[76], Operations: ['23-16=7', '15+7=22', '54+22=76'] Moving to Node #0,0,1,0 Current State: 51:[77], Operations: ['16-15=1', '23*1=23', '54+23=77'] Moving to Node #0,2,1,0 Current State: 51:[432], Operations: ['23-15=8', '16-8=8', '54*8=432'] Moving to Node #0,1,2,0 Current State: 51:[432], Operations: ['23-16=7', '15-7=8', '54*8=432'] Moving to Node #0,1,0,0 Current State: 51:[705], Operations: ['23-16=7', '54-7=47', '15*47=705'] Moving to Node #0,2,0,0 Current State: 51:[736], Operations: ['23-15=8', '54-8=46', '16*46=736'] Moving to Node #0,1,1,0 Current State: 51:[1188], Operations: ['23-16=7', '15+7=22', '54*22=1188'] Moving to Node #0,0,0,0 Current State: 51:[1188], Operations: ['16-15=1', '23-1=22', '54*22=1188'] Moving to Node #0,0,2,0 Current State: 51:[1219], Operations: ['16-15=1', '54-1=53', '23*53=1219'] Moving to Node #0,0,1,0 Current State: 51:[1242], Operations: ['16-15=1', '23*1=23', '54*23=1242'] No solution found.
0
bfs_3
Current State: 51:[15, 16, 23, 54], Operations: [] Exploring Operation: 23-16=7, Resulting Numbers: [15, 54, 7] Generated Node #2: [15, 54, 7] from Operation: 23-16=7 Current State: 51:[15, 54, 7], Operations: ['23-16=7'] Exploring Operation: 15*7=105, Resulting Numbers: [54, 105] Generated Node #3: [54, 105] from Operation: 15*7=105 Current State: 51:[54, 105], Operations: ['23-16=7', '15*7=105'] Exploring Operation: 105-54=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
mult_heuristic
[ { "content": "Make 51 with the numbers [15, 16, 23, 54] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 51:[15, 16, 23, 54], Operations: []\nExploring Operation: 16-15=1, Resulting Numbers: [23, 54, 1]\nGenerated Node #0,0: 51:[23, 54, 1] Operation: 16-15=1\nExploring Operation: 23-16=7, Resulting Numbers: [15, 54, 7]\nGenerated Node #0,1: 51:[15, 54, 7] Operation: 23-16=7\nExploring Operation: 23-15=8, Resulting Numbers: [16, 54, 8]\nGenerated Node #0,2: 51:[16, 54, 8] Operation: 23-15=8\nMoving to Node #0,1\nCurrent State: 51:[15, 54, 7], Operations: ['23-16=7']\nExploring Operation: 54-7=47, Resulting Numbers: [15, 47]\nGenerated Node #0,1,0: 51:[15, 47] Operation: 54-7=47\nExploring Operation: 15+7=22, Resulting Numbers: [54, 22]\nGenerated Node #0,1,1: 51:[54, 22] Operation: 15+7=22\nExploring Operation: 15-7=8, Resulting Numbers: [54, 8]\nGenerated Node #0,1,2: 51:[54, 8] Operation: 15-7=8\nMoving to Node #0,2\nCurrent State: 51:[16, 54, 8], Operations: ['23-15=8']\nExploring Operation: 54-8=46, Resulting Numbers: [16, 46]\nGenerated Node #0,2,0: 51:[16, 46] Operation: 54-8=46\nExploring Operation: 16-8=8, Resulting Numbers: [54, 8]\nGenerated Node #0,2,1: 51:[54, 8] Operation: 16-8=8\nExploring Operation: 16/8=2, Resulting Numbers: [54, 2]\nGenerated Node #0,2,2: 51:[54, 2] Operation: 16/8=2\nMoving to Node #0,0\nCurrent State: 51:[23, 54, 1], Operations: ['16-15=1']\nExploring Operation: 23-1=22, Resulting Numbers: [54, 22]\nGenerated Node #0,0,0: 51:[54, 22] Operation: 23-1=22\nExploring Operation: 23*1=23, Resulting Numbers: [54, 23]\nGenerated Node #0,0,1: 51:[54, 23] Operation: 23*1=23\nExploring Operation: 54-1=53, Resulting Numbers: [23, 53]\nGenerated Node #0,0,2: 51:[23, 53] Operation: 54-1=53\nMoving to Node #0,2,2\nCurrent State: 51:[54, 2], Operations: ['23-15=8', '16/8=2']\nExploring Operation: 54/2=27, Resulting Numbers: [27]\n27,51 unequal: No Solution\nExploring Operation: 54+2=56, Resulting Numbers: [56]\n56,51 unequal: No Solution\nExploring Operation: 54-2=52, Resulting Numbers: [52]\n52,51 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 51:[15, 47], Operations: ['23-16=7', '54-7=47']\nExploring Operation: 47-15=32, Resulting Numbers: [32]\n32,51 unequal: No Solution\nExploring Operation: 15*47=705, Resulting Numbers: [705]\n705,51 unequal: No Solution\nExploring Operation: 15+47=62, Resulting Numbers: [62]\n62,51 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 51:[16, 46], Operations: ['23-15=8', '54-8=46']\nExploring Operation: 46-16=30, Resulting Numbers: [30]\n30,51 unequal: No Solution\nExploring Operation: 16*46=736, Resulting Numbers: [736]\n736,51 unequal: No Solution\nExploring Operation: 16+46=62, Resulting Numbers: [62]\n62,51 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 51:[52], Operations: ['23-15=8', '16/8=2', '54-2=52']\nMoving to Node #0,2,2,0\nCurrent State: 51:[56], Operations: ['23-15=8', '16/8=2', '54+2=56']\nMoving to Node #0,1,2\nCurrent State: 51:[54, 8], Operations: ['23-16=7', '15-7=8']\nExploring Operation: 54*8=432, Resulting Numbers: [432]\n432,51 unequal: No Solution\nExploring Operation: 54+8=62, Resulting Numbers: [62]\n62,51 unequal: No Solution\nExploring Operation: 54-8=46, Resulting Numbers: [46]\n46,51 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 51:[46], Operations: ['23-16=7', '15-7=8', '54-8=46']\nMoving to Node #0,2,1\nCurrent State: 51:[54, 8], Operations: ['23-15=8', '16-8=8']\nExploring Operation: 54*8=432, Resulting Numbers: [432]\n432,51 unequal: No Solution\nExploring Operation: 54-8=46, Resulting Numbers: [46]\n46,51 unequal: No Solution\nExploring Operation: 54+8=62, Resulting Numbers: [62]\n62,51 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 51:[54, 22], Operations: ['16-15=1', '23-1=22']\nExploring Operation: 54*22=1188, Resulting Numbers: [1188]\n1188,51 unequal: No Solution\nExploring Operation: 54-22=32, Resulting Numbers: [32]\n32,51 unequal: No Solution\nExploring Operation: 54+22=76, Resulting Numbers: [76]\n76,51 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 51:[46], Operations: ['23-15=8', '16-8=8', '54-8=46']\nMoving to Node #0,1,1\nCurrent State: 51:[54, 22], Operations: ['23-16=7', '15+7=22']\nExploring Operation: 54*22=1188, Resulting Numbers: [1188]\n1188,51 unequal: No Solution\nExploring Operation: 54-22=32, Resulting Numbers: [32]\n32,51 unequal: No Solution\nExploring Operation: 54+22=76, Resulting Numbers: [76]\n76,51 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 51:[23, 53], Operations: ['16-15=1', '54-1=53']\nExploring Operation: 23+53=76, Resulting Numbers: [76]\n76,51 unequal: No Solution\nExploring Operation: 53-23=30, Resulting Numbers: [30]\n30,51 unequal: No Solution\nExploring Operation: 23*53=1219, Resulting Numbers: [1219]\n1219,51 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 51:[54, 23], Operations: ['16-15=1', '23*1=23']\nExploring Operation: 54*23=1242, Resulting Numbers: [1242]\n1242,51 unequal: No Solution\nExploring Operation: 54+23=77, Resulting Numbers: [77]\n77,51 unequal: No Solution\nExploring Operation: 54-23=31, Resulting Numbers: [31]\n31,51 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 51:[27], Operations: ['23-15=8', '16/8=2', '54/2=27']\nMoving to Node #0,2,1,0\nCurrent State: 51:[62], Operations: ['23-15=8', '16-8=8', '54+8=62']\nMoving to Node #0,1,2,0\nCurrent State: 51:[62], Operations: ['23-16=7', '15-7=8', '54+8=62']\nMoving to Node #0,2,0,0\nCurrent State: 51:[62], Operations: ['23-15=8', '54-8=46', '16+46=62']\nMoving to Node #0,1,0,0\nCurrent State: 51:[62], Operations: ['23-16=7', '54-7=47', '15+47=62']\nMoving to Node #0,2,0,0\nCurrent State: 51:[30], Operations: ['23-15=8', '54-8=46', '46-16=30']\nMoving to Node #0,0,2,0\nCurrent State: 51:[30], Operations: ['16-15=1', '54-1=53', '53-23=30']\nMoving to Node #0,0,1,0\nCurrent State: 51:[31], Operations: ['16-15=1', '23*1=23', '54-23=31']\nMoving to Node #0,1,0,0\nCurrent State: 51:[32], Operations: ['23-16=7', '54-7=47', '47-15=32']\nMoving to Node #0,0,0,0\nCurrent State: 51:[32], Operations: ['16-15=1', '23-1=22', '54-22=32']\nMoving to Node #0,1,1,0\nCurrent State: 51:[32], Operations: ['23-16=7', '15+7=22', '54-22=32']\nMoving to Node #0,0,2,0\nCurrent State: 51:[76], Operations: ['16-15=1', '54-1=53', '23+53=76']\nMoving to Node #0,0,0,0\nCurrent State: 51:[76], Operations: ['16-15=1', '23-1=22', '54+22=76']\nMoving to Node #0,1,1,0\nCurrent State: 51:[76], Operations: ['23-16=7', '15+7=22', '54+22=76']\nMoving to Node #0,0,1,0\nCurrent State: 51:[77], Operations: ['16-15=1', '23*1=23', '54+23=77']\nMoving to Node #0,2,1,0\nCurrent State: 51:[432], Operations: ['23-15=8', '16-8=8', '54*8=432']\nMoving to Node #0,1,2,0\nCurrent State: 51:[432], Operations: ['23-16=7', '15-7=8', '54*8=432']\nMoving to Node #0,1,0,0\nCurrent State: 51:[705], Operations: ['23-16=7', '54-7=47', '15*47=705']\nMoving to Node #0,2,0,0\nCurrent State: 51:[736], Operations: ['23-15=8', '54-8=46', '16*46=736']\nMoving to Node #0,1,1,0\nCurrent State: 51:[1188], Operations: ['23-16=7', '15+7=22', '54*22=1188']\nMoving to Node #0,0,0,0\nCurrent State: 51:[1188], Operations: ['16-15=1', '23-1=22', '54*22=1188']\nMoving to Node #0,0,2,0\nCurrent State: 51:[1219], Operations: ['16-15=1', '54-1=53', '23*53=1219']\nMoving to Node #0,0,1,0\nCurrent State: 51:[1242], Operations: ['16-15=1', '23*1=23', '54*23=1242']\nNo solution found.", "role": "assistant" } ]
[ 87, 21, 17, 84 ]
19
[ "84/21=4", "17*4=68", "87-68=19" ]
Current State: 19:[87, 21, 17, 84], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [21, 17, 3] Generated Node #0,0: 19:[21, 17, 3] Operation: 87-84=3 Exploring Operation: 84-21=63, Resulting Numbers: [87, 17, 63] Generated Node #0,1: 19:[87, 17, 63] Operation: 84-21=63 Exploring Operation: 87-21=66, Resulting Numbers: [17, 84, 66] Generated Node #0,2: 19:[17, 84, 66] Operation: 87-21=66 Exploring Operation: 84/21=4, Resulting Numbers: [87, 17, 4] Generated Node #0,3: 19:[87, 17, 4] Operation: 84/21=4 Exploring Operation: 87-17=70, Resulting Numbers: [21, 84, 70] Generated Node #0,4: 19:[21, 84, 70] Operation: 87-17=70 Moving to Node #0,0 Current State: 19:[21, 17, 3], Operations: ['87-84=3'] Exploring Operation: 17+3=20, Resulting Numbers: [21, 20] Generated Node #0,0,0: 19:[21, 20] Operation: 17+3=20 Exploring Operation: 17-3=14, Resulting Numbers: [21, 14] Generated Node #0,0,1: 19:[21, 14] Operation: 17-3=14 Exploring Operation: 21-3=18, Resulting Numbers: [17, 18] Generated Node #0,0,2: 19:[17, 18] Operation: 21-3=18 Exploring Operation: 21+3=24, Resulting Numbers: [17, 24] Generated Node #0,0,3: 19:[17, 24] Operation: 21+3=24 Exploring Operation: 21/3=7, Resulting Numbers: [17, 7] Generated Node #0,0,4: 19:[17, 7] Operation: 21/3=7 Moving to Node #0,3 Current State: 19:[87, 17, 4], Operations: ['84/21=4'] Exploring Operation: 87-4=83, Resulting Numbers: [17, 83] Generated Node #0,3,0: 19:[17, 83] Operation: 87-4=83 Exploring Operation: 17-4=13, Resulting Numbers: [87, 13] Generated Node #0,3,1: 19:[87, 13] Operation: 17-4=13 Exploring Operation: 87-17=70, Resulting Numbers: [4, 70] Generated Node #0,3,2: 19:[4, 70] Operation: 87-17=70 Exploring Operation: 17+4=21, Resulting Numbers: [87, 21] Generated Node #0,3,3: 19:[87, 21] Operation: 17+4=21 Exploring Operation: 87+4=91, Resulting Numbers: [17, 91] Generated Node #0,3,4: 19:[17, 91] Operation: 87+4=91 Moving to Node #0,1 Current State: 19:[87, 17, 63], Operations: ['84-21=63'] Exploring Operation: 87+17=104, Resulting Numbers: [63, 104] Generated Node #0,1,0: 19:[63, 104] Operation: 87+17=104 Exploring Operation: 87-63=24, Resulting Numbers: [17, 24] Generated Node #0,1,1: 19:[17, 24] Operation: 87-63=24 Exploring Operation: 17+63=80, Resulting Numbers: [87, 80] Generated Node #0,1,2: 19:[87, 80] Operation: 17+63=80 Exploring Operation: 87-17=70, Resulting Numbers: [63, 70] Generated Node #0,1,3: 19:[63, 70] Operation: 87-17=70 Exploring Operation: 63-17=46, Resulting Numbers: [87, 46] Generated Node #0,1,4: 19:[87, 46] Operation: 63-17=46 Moving to Node #0,2 Current State: 19:[17, 84, 66], Operations: ['87-21=66'] Exploring Operation: 17+84=101, Resulting Numbers: [66, 101] Generated Node #0,2,0: 19:[66, 101] Operation: 17+84=101 Exploring Operation: 66-17=49, Resulting Numbers: [84, 49] Generated Node #0,2,1: 19:[84, 49] Operation: 66-17=49 Exploring Operation: 17+66=83, Resulting Numbers: [84, 83] Generated Node #0,2,2: 19:[84, 83] Operation: 17+66=83 Exploring Operation: 84-66=18, Resulting Numbers: [17, 18] Generated Node #0,2,3: 19:[17, 18] Operation: 84-66=18 Exploring Operation: 84-17=67, Resulting Numbers: [66, 67] Generated Node #0,2,4: 19:[66, 67] Operation: 84-17=67 Moving to Node #0,4 Current State: 19:[21, 84, 70], Operations: ['87-17=70'] Exploring Operation: 84/21=4, Resulting Numbers: [70, 4] Generated Node #0,4,0: 19:[70, 4] Operation: 84/21=4 Exploring Operation: 84-21=63, Resulting Numbers: [70, 63] Generated Node #0,4,1: 19:[70, 63] Operation: 84-21=63 Exploring Operation: 21+84=105, Resulting Numbers: [70, 105] Generated Node #0,4,2: 19:[70, 105] Operation: 21+84=105 Exploring Operation: 84-70=14, Resulting Numbers: [21, 14] Generated Node #0,4,3: 19:[21, 14] Operation: 84-70=14 Exploring Operation: 70-21=49, Resulting Numbers: [84, 49] Generated Node #0,4,4: 19:[84, 49] Operation: 70-21=49 Moving to Node #0,0,0 Current State: 19:[21, 20], Operations: ['87-84=3', '17+3=20'] Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,19 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[17, 18], Operations: ['87-84=3', '21-3=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,19 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[17, 18], Operations: ['87-21=66', '84-66=18'] Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,19 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[21, 14], Operations: ['87-84=3', '17-3=14'] Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,19 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[17, 24], Operations: ['84-21=63', '87-63=24'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,19 unequal: No Solution Moving to Node #0,4,3 Current State: 19:[21, 14], Operations: ['87-17=70', '84-70=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[17, 24], Operations: ['87-84=3', '21+3=24'] Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,19 unequal: No Solution Moving to Node #0,0,4 Current State: 19:[17, 7], Operations: ['87-84=3', '21/3=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,19 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,19 unequal: No Solution Moving to Node #0,0,1,0 Current State: 19:[7], Operations: ['87-84=3', '17-3=14', '21-14=7'] Moving to Node #0,1,1,0 Current State: 19:[7], Operations: ['84-21=63', '87-63=24', '24-17=7'] Moving to Node #0,0,4,0 Current State: 19:[24], Operations: ['87-84=3', '21/3=7', '17+7=24'] Moving to Node #0,0,4,0 Current State: 19:[10], Operations: ['87-84=3', '21/3=7', '17-7=10'] Moving to Node #0,4,3,0 Current State: 19:[7], Operations: ['87-17=70', '84-70=14', '21-14=7'] Moving to Node #0,0,3,0 Current State: 19:[7], Operations: ['87-84=3', '21+3=24', '24-17=7'] Moving to Node #0,0,2,0 Current State: 19:[35], Operations: ['87-84=3', '21-3=18', '17+18=35'] Moving to Node #0,0,1,0 Current State: 19:[35], Operations: ['87-84=3', '17-3=14', '21+14=35'] Moving to Node #0,2,3,0 Current State: 19:[35], Operations: ['87-21=66', '84-66=18', '17+18=35'] Moving to Node #0,4,3,0 Current State: 19:[35], Operations: ['87-17=70', '84-70=14', '21+14=35'] Moving to Node #0,2,3,0 Current State: 19:[1], Operations: ['87-21=66', '84-66=18', '18-17=1'] Moving to Node #0,0,2,0 Current State: 19:[1], Operations: ['87-84=3', '21-3=18', '18-17=1'] Moving to Node #0,0,0,0 Current State: 19:[1], Operations: ['87-84=3', '17+3=20', '21-20=1'] Moving to Node #0,0,0,0 Current State: 19:[41], Operations: ['87-84=3', '17+3=20', '21+20=41'] Moving to Node #0,1,1,0 Current State: 19:[41], Operations: ['84-21=63', '87-63=24', '17+24=41'] Moving to Node #0,0,3,0 Current State: 19:[41], Operations: ['87-84=3', '21+3=24', '17+24=41'] Moving to Node #0,3,2 Current State: 19:[4, 70], Operations: ['84/21=4', '87-17=70'] Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,19 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[17, 83], Operations: ['84/21=4', '87-4=83'] Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,19 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,19 unequal: No Solution Moving to Node #0,4,0 Current State: 19:[70, 4], Operations: ['87-17=70', '84/21=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[87, 21], Operations: ['84/21=4', '17+4=21'] Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,19 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,19 unequal: No Solution Moving to Node #0,3,4 Current State: 19:[17, 91], Operations: ['84/21=4', '87+4=91'] Exploring Operation: 17+91=108, Resulting Numbers: [108] 108,19 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 17*91=1547, Resulting Numbers: [1547] 1547,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[87, 13], Operations: ['84/21=4', '17-4=13'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,19 unequal: No Solution Moving to Node #0,3,2,0 Current State: 19:[66], Operations: ['84/21=4', '87-17=70', '70-4=66'] Moving to Node #0,4,0,0 Current State: 19:[66], Operations: ['87-17=70', '84/21=4', '70-4=66'] Moving to Node #0,3,3,0 Current State: 19:[66], Operations: ['84/21=4', '17+4=21', '87-21=66'] Moving to Node #0,3,0,0 Current State: 19:[66], Operations: ['84/21=4', '87-4=83', '83-17=66'] Moving to Node #0,4,4 Current State: 19:[84, 49], Operations: ['87-17=70', '70-21=49'] Exploring Operation: 84*49=4116, Resulting Numbers: [4116] 4116,19 unequal: No Solution Exploring Operation: 84+49=133, Resulting Numbers: [133] 133,19 unequal: No Solution Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,19 unequal: No Solution Moving to Node #0,4,4,0 Current State: 19:[35], Operations: ['87-17=70', '70-21=49', '84-49=35'] Moving to Node #0,1,4 Current State: 19:[87, 46], Operations: ['84-21=63', '63-17=46'] Exploring Operation: 87*46=4002, Resulting Numbers: [4002] 4002,19 unequal: No Solution Exploring Operation: 87-46=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 87+46=133, Resulting Numbers: [133] 133,19 unequal: No Solution Moving to Node #0,4,1 Current State: 19:[70, 63], Operations: ['87-17=70', '84-21=63'] Exploring Operation: 70*63=4410, Resulting Numbers: [4410] 4410,19 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 70+63=133, Resulting Numbers: [133] 133,19 unequal: No Solution Moving to Node #0,2,4 Current State: 19:[66, 67], Operations: ['87-21=66', '84-17=67'] Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 66*67=4422, Resulting Numbers: [4422] 4422,19 unequal: No Solution Exploring Operation: 66+67=133, Resulting Numbers: [133] 133,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[63, 70], Operations: ['84-21=63', '87-17=70'] Exploring Operation: 63*70=4410, Resulting Numbers: [4410] 4410,19 unequal: No Solution Exploring Operation: 63+70=133, Resulting Numbers: [133] 133,19 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,19 unequal: No Solution Moving to Node #0,4,1,0 Current State: 19:[7], Operations: ['87-17=70', '84-21=63', '70-63=7'] Moving to Node #0,1,3,0 Current State: 19:[7], Operations: ['84-21=63', '87-17=70', '70-63=7'] Moving to Node #0,2,4,0 Current State: 19:[1], Operations: ['87-21=66', '84-17=67', '67-66=1'] Moving to Node #0,1,4,0 Current State: 19:[41], Operations: ['84-21=63', '63-17=46', '87-46=41'] Moving to Node #0,2,1 Current State: 19:[84, 49], Operations: ['87-21=66', '66-17=49'] Exploring Operation: 84*49=4116, Resulting Numbers: [4116] 4116,19 unequal: No Solution Exploring Operation: 84+49=133, Resulting Numbers: [133] 133,19 unequal: No Solution Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,19 unequal: No Solution Moving to Node #0,2,1,0 Current State: 19:[35], Operations: ['87-21=66', '66-17=49', '84-49=35'] Moving to Node #0,3,2,0 Current State: 19:[74], Operations: ['84/21=4', '87-17=70', '4+70=74'] Moving to Node #0,4,0,0 Current State: 19:[74], Operations: ['87-17=70', '84/21=4', '70+4=74'] Moving to Node #0,3,1,0 Current State: 19:[74], Operations: ['84/21=4', '17-4=13', '87-13=74'] Moving to Node #0,3,4,0 Current State: 19:[74], Operations: ['84/21=4', '87+4=91', '91-17=74'] Moving to Node #0,1,2 Current State: 19:[87, 80], Operations: ['84-21=63', '17+63=80'] Exploring Operation: 87*80=6960, Resulting Numbers: [6960] 6960,19 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 87+80=167, Resulting Numbers: [167] 167,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[84, 83], Operations: ['87-21=66', '17+66=83'] Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 84*83=6972, Resulting Numbers: [6972] 6972,19 unequal: No Solution Exploring Operation: 84+83=167, Resulting Numbers: [167] 167,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[66, 101], Operations: ['87-21=66', '17+84=101'] Exploring Operation: 101-66=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 66+101=167, Resulting Numbers: [167] 167,19 unequal: No Solution Exploring Operation: 66*101=6666, Resulting Numbers: [6666] 6666,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[63, 104], Operations: ['84-21=63', '87+17=104'] Exploring Operation: 63*104=6552, Resulting Numbers: [6552] 6552,19 unequal: No Solution Exploring Operation: 63+104=167, Resulting Numbers: [167] 167,19 unequal: No Solution Exploring Operation: 104-63=41, Resulting Numbers: [41] 41,19 unequal: No Solution Moving to Node #0,4,2 Current State: 19:[70, 105], Operations: ['87-17=70', '21+84=105'] Exploring Operation: 105-70=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 70*105=7350, Resulting Numbers: [7350] 7350,19 unequal: No Solution Exploring Operation: 70+105=175, Resulting Numbers: [175] 175,19 unequal: No Solution Moving to Node #0,1,2,0 Current State: 19:[7], Operations: ['84-21=63', '17+63=80', '87-80=7'] Moving to Node #0,2,0,0 Current State: 19:[35], Operations: ['87-21=66', '17+84=101', '101-66=35'] Moving to Node #0,4,2,0 Current State: 19:[35], Operations: ['87-17=70', '21+84=105', '105-70=35'] Moving to Node #0,2,2,0 Current State: 19:[1], Operations: ['87-21=66', '17+66=83', '84-83=1'] Moving to Node #0,1,0,0 Current State: 19:[41], Operations: ['84-21=63', '87+17=104', '104-63=41'] Moving to Node #0,3,0,0 Current State: 19:[100], Operations: ['84/21=4', '87-4=83', '17+83=100'] Moving to Node #0,3,1,0 Current State: 19:[100], Operations: ['84/21=4', '17-4=13', '87+13=100'] Moving to Node #0,3,3,0 Current State: 19:[108], Operations: ['84/21=4', '17+4=21', '87+21=108'] Moving to Node #0,3,4,0 Current State: 19:[108], Operations: ['84/21=4', '87+4=91', '17+91=108'] Moving to Node #0,0,4,0 Current State: 19:[119], Operations: ['87-84=3', '21/3=7', '17*7=119'] Moving to Node #0,2,4,0 Current State: 19:[133], Operations: ['87-21=66', '84-17=67', '66+67=133'] Moving to Node #0,1,3,0 Current State: 19:[133], Operations: ['84-21=63', '87-17=70', '63+70=133'] Moving to Node #0,2,1,0 Current State: 19:[133], Operations: ['87-21=66', '66-17=49', '84+49=133'] Moving to Node #0,4,4,0 Current State: 19:[133], Operations: ['87-17=70', '70-21=49', '84+49=133'] Moving to Node #0,4,1,0 Current State: 19:[133], Operations: ['87-17=70', '84-21=63', '70+63=133'] Moving to Node #0,1,4,0 Current State: 19:[133], Operations: ['84-21=63', '63-17=46', '87+46=133'] Moving to Node #0,1,0,0 Current State: 19:[167], Operations: ['84-21=63', '87+17=104', '63+104=167'] Moving to Node #0,2,0,0 Current State: 19:[167], Operations: ['87-21=66', '17+84=101', '66+101=167'] Moving to Node #0,2,2,0 Current State: 19:[167], Operations: ['87-21=66', '17+66=83', '84+83=167'] Moving to Node #0,1,2,0 Current State: 19:[167], Operations: ['84-21=63', '17+63=80', '87+80=167'] Moving to Node #0,4,2,0 Current State: 19:[175], Operations: ['87-17=70', '21+84=105', '70+105=175'] Moving to Node #0,4,0,0 Current State: 19:[280], Operations: ['87-17=70', '84/21=4', '70*4=280'] Moving to Node #0,3,2,0 Current State: 19:[280], Operations: ['84/21=4', '87-17=70', '4*70=280'] Moving to Node #0,4,3,0 Current State: 19:[294], Operations: ['87-17=70', '84-70=14', '21*14=294'] Moving to Node #0,0,1,0 Current State: 19:[294], Operations: ['87-84=3', '17-3=14', '21*14=294'] Moving to Node #0,2,3,0 Current State: 19:[306], Operations: ['87-21=66', '84-66=18', '17*18=306'] Moving to Node #0,0,2,0 Current State: 19:[306], Operations: ['87-84=3', '21-3=18', '17*18=306'] Moving to Node #0,0,3,0 Current State: 19:[408], Operations: ['87-84=3', '21+3=24', '17*24=408'] Moving to Node #0,1,1,0 Current State: 19:[408], Operations: ['84-21=63', '87-63=24', '17*24=408'] Moving to Node #0,0,0,0 Current State: 19:[420], Operations: ['87-84=3', '17+3=20', '21*20=420'] Moving to Node #0,3,1,0 Current State: 19:[1131], Operations: ['84/21=4', '17-4=13', '87*13=1131'] Moving to Node #0,3,0,0 Current State: 19:[1411], Operations: ['84/21=4', '87-4=83', '17*83=1411'] Moving to Node #0,3,4,0 Current State: 19:[1547], Operations: ['84/21=4', '87+4=91', '17*91=1547'] Moving to Node #0,3,3,0 Current State: 19:[1827], Operations: ['84/21=4', '17+4=21', '87*21=1827'] Moving to Node #0,1,4,0 Current State: 19:[4002], Operations: ['84-21=63', '63-17=46', '87*46=4002'] Moving to Node #0,4,4,0 Current State: 19:[4116], Operations: ['87-17=70', '70-21=49', '84*49=4116'] Moving to Node #0,2,1,0 Current State: 19:[4116], Operations: ['87-21=66', '66-17=49', '84*49=4116'] Moving to Node #0,1,3,0 Current State: 19:[4410], Operations: ['84-21=63', '87-17=70', '63*70=4410'] Moving to Node #0,4,1,0 Current State: 19:[4410], Operations: ['87-17=70', '84-21=63', '70*63=4410'] Moving to Node #0,2,4,0 Current State: 19:[4422], Operations: ['87-21=66', '84-17=67', '66*67=4422'] Moving to Node #0,1,0,0 Current State: 19:[6552], Operations: ['84-21=63', '87+17=104', '63*104=6552'] Moving to Node #0,2,0,0 Current State: 19:[6666], Operations: ['87-21=66', '17+84=101', '66*101=6666'] Moving to Node #0,1,2,0 Current State: 19:[6960], Operations: ['84-21=63', '17+63=80', '87*80=6960'] Moving to Node #0,2,2,0 Current State: 19:[6972], Operations: ['87-21=66', '17+66=83', '84*83=6972'] Moving to Node #0,4,2,0 Current State: 19:[7350], Operations: ['87-17=70', '21+84=105', '70*105=7350'] No solution found.
0
bfs_5
Current State: 19:[87, 21, 17, 84], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [87, 17, 4] Generated Node #2: [87, 17, 4] from Operation: 84/21=4 Current State: 19:[87, 17, 4], Operations: ['84/21=4'] Exploring Operation: 17*4=68, Resulting Numbers: [87, 68] Generated Node #3: [87, 68] from Operation: 17*4=68 Current State: 19:[87, 68], Operations: ['84/21=4', '17*4=68'] Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
sum_heuristic
[ { "content": "Make 19 with the numbers [87, 21, 17, 84] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 19:[87, 21, 17, 84], Operations: []\nExploring Operation: 87-84=3, Resulting Numbers: [21, 17, 3]\nGenerated Node #0,0: 19:[21, 17, 3] Operation: 87-84=3\nExploring Operation: 84-21=63, Resulting Numbers: [87, 17, 63]\nGenerated Node #0,1: 19:[87, 17, 63] Operation: 84-21=63\nExploring Operation: 87-21=66, Resulting Numbers: [17, 84, 66]\nGenerated Node #0,2: 19:[17, 84, 66] Operation: 87-21=66\nExploring Operation: 84/21=4, Resulting Numbers: [87, 17, 4]\nGenerated Node #0,3: 19:[87, 17, 4] Operation: 84/21=4\nExploring Operation: 87-17=70, Resulting Numbers: [21, 84, 70]\nGenerated Node #0,4: 19:[21, 84, 70] Operation: 87-17=70\nMoving to Node #0,0\nCurrent State: 19:[21, 17, 3], Operations: ['87-84=3']\nExploring Operation: 17+3=20, Resulting Numbers: [21, 20]\nGenerated Node #0,0,0: 19:[21, 20] Operation: 17+3=20\nExploring Operation: 17-3=14, Resulting Numbers: [21, 14]\nGenerated Node #0,0,1: 19:[21, 14] Operation: 17-3=14\nExploring Operation: 21-3=18, Resulting Numbers: [17, 18]\nGenerated Node #0,0,2: 19:[17, 18] Operation: 21-3=18\nExploring Operation: 21+3=24, Resulting Numbers: [17, 24]\nGenerated Node #0,0,3: 19:[17, 24] Operation: 21+3=24\nExploring Operation: 21/3=7, Resulting Numbers: [17, 7]\nGenerated Node #0,0,4: 19:[17, 7] Operation: 21/3=7\nMoving to Node #0,3\nCurrent State: 19:[87, 17, 4], Operations: ['84/21=4']\nExploring Operation: 87-4=83, Resulting Numbers: [17, 83]\nGenerated Node #0,3,0: 19:[17, 83] Operation: 87-4=83\nExploring Operation: 17-4=13, Resulting Numbers: [87, 13]\nGenerated Node #0,3,1: 19:[87, 13] Operation: 17-4=13\nExploring Operation: 87-17=70, Resulting Numbers: [4, 70]\nGenerated Node #0,3,2: 19:[4, 70] Operation: 87-17=70\nExploring Operation: 17+4=21, Resulting Numbers: [87, 21]\nGenerated Node #0,3,3: 19:[87, 21] Operation: 17+4=21\nExploring Operation: 87+4=91, Resulting Numbers: [17, 91]\nGenerated Node #0,3,4: 19:[17, 91] Operation: 87+4=91\nMoving to Node #0,1\nCurrent State: 19:[87, 17, 63], Operations: ['84-21=63']\nExploring Operation: 87+17=104, Resulting Numbers: [63, 104]\nGenerated Node #0,1,0: 19:[63, 104] Operation: 87+17=104\nExploring Operation: 87-63=24, Resulting Numbers: [17, 24]\nGenerated Node #0,1,1: 19:[17, 24] Operation: 87-63=24\nExploring Operation: 17+63=80, Resulting Numbers: [87, 80]\nGenerated Node #0,1,2: 19:[87, 80] Operation: 17+63=80\nExploring Operation: 87-17=70, Resulting Numbers: [63, 70]\nGenerated Node #0,1,3: 19:[63, 70] Operation: 87-17=70\nExploring Operation: 63-17=46, Resulting Numbers: [87, 46]\nGenerated Node #0,1,4: 19:[87, 46] Operation: 63-17=46\nMoving to Node #0,2\nCurrent State: 19:[17, 84, 66], Operations: ['87-21=66']\nExploring Operation: 17+84=101, Resulting Numbers: [66, 101]\nGenerated Node #0,2,0: 19:[66, 101] Operation: 17+84=101\nExploring Operation: 66-17=49, Resulting Numbers: [84, 49]\nGenerated Node #0,2,1: 19:[84, 49] Operation: 66-17=49\nExploring Operation: 17+66=83, Resulting Numbers: [84, 83]\nGenerated Node #0,2,2: 19:[84, 83] Operation: 17+66=83\nExploring Operation: 84-66=18, Resulting Numbers: [17, 18]\nGenerated Node #0,2,3: 19:[17, 18] Operation: 84-66=18\nExploring Operation: 84-17=67, Resulting Numbers: [66, 67]\nGenerated Node #0,2,4: 19:[66, 67] Operation: 84-17=67\nMoving to Node #0,4\nCurrent State: 19:[21, 84, 70], Operations: ['87-17=70']\nExploring Operation: 84/21=4, Resulting Numbers: [70, 4]\nGenerated Node #0,4,0: 19:[70, 4] Operation: 84/21=4\nExploring Operation: 84-21=63, Resulting Numbers: [70, 63]\nGenerated Node #0,4,1: 19:[70, 63] Operation: 84-21=63\nExploring Operation: 21+84=105, Resulting Numbers: [70, 105]\nGenerated Node #0,4,2: 19:[70, 105] Operation: 21+84=105\nExploring Operation: 84-70=14, Resulting Numbers: [21, 14]\nGenerated Node #0,4,3: 19:[21, 14] Operation: 84-70=14\nExploring Operation: 70-21=49, Resulting Numbers: [84, 49]\nGenerated Node #0,4,4: 19:[84, 49] Operation: 70-21=49\nMoving to Node #0,0,0\nCurrent State: 19:[21, 20], Operations: ['87-84=3', '17+3=20']\nExploring Operation: 21*20=420, Resulting Numbers: [420]\n420,19 unequal: No Solution\nExploring Operation: 21+20=41, Resulting Numbers: [41]\n41,19 unequal: No Solution\nExploring Operation: 21-20=1, Resulting Numbers: [1]\n1,19 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 19:[17, 18], Operations: ['87-84=3', '21-3=18']\nExploring Operation: 17+18=35, Resulting Numbers: [35]\n35,19 unequal: No Solution\nExploring Operation: 17*18=306, Resulting Numbers: [306]\n306,19 unequal: No Solution\nExploring Operation: 18-17=1, Resulting Numbers: [1]\n1,19 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 19:[17, 18], Operations: ['87-21=66', '84-66=18']\nExploring Operation: 17*18=306, Resulting Numbers: [306]\n306,19 unequal: No Solution\nExploring Operation: 18-17=1, Resulting Numbers: [1]\n1,19 unequal: No Solution\nExploring Operation: 17+18=35, Resulting Numbers: [35]\n35,19 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 19:[21, 14], Operations: ['87-84=3', '17-3=14']\nExploring Operation: 21*14=294, Resulting Numbers: [294]\n294,19 unequal: No Solution\nExploring Operation: 21+14=35, Resulting Numbers: [35]\n35,19 unequal: No Solution\nExploring Operation: 21-14=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 19:[17, 24], Operations: ['84-21=63', '87-63=24']\nExploring Operation: 24-17=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nExploring Operation: 17+24=41, Resulting Numbers: [41]\n41,19 unequal: No Solution\nExploring Operation: 17*24=408, Resulting Numbers: [408]\n408,19 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 19:[21, 14], Operations: ['87-17=70', '84-70=14']\nExploring Operation: 21+14=35, Resulting Numbers: [35]\n35,19 unequal: No Solution\nExploring Operation: 21-14=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nExploring Operation: 21*14=294, Resulting Numbers: [294]\n294,19 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 19:[17, 24], Operations: ['87-84=3', '21+3=24']\nExploring Operation: 17+24=41, Resulting Numbers: [41]\n41,19 unequal: No Solution\nExploring Operation: 24-17=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nExploring Operation: 17*24=408, Resulting Numbers: [408]\n408,19 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 19:[17, 7], Operations: ['87-84=3', '21/3=7']\nExploring Operation: 17-7=10, Resulting Numbers: [10]\n10,19 unequal: No Solution\nExploring Operation: 17*7=119, Resulting Numbers: [119]\n119,19 unequal: No Solution\nExploring Operation: 17+7=24, Resulting Numbers: [24]\n24,19 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 19:[7], Operations: ['87-84=3', '17-3=14', '21-14=7']\nMoving to Node #0,1,1,0\nCurrent State: 19:[7], Operations: ['84-21=63', '87-63=24', '24-17=7']\nMoving to Node #0,0,4,0\nCurrent State: 19:[24], Operations: ['87-84=3', '21/3=7', '17+7=24']\nMoving to Node #0,0,4,0\nCurrent State: 19:[10], Operations: ['87-84=3', '21/3=7', '17-7=10']\nMoving to Node #0,4,3,0\nCurrent State: 19:[7], Operations: ['87-17=70', '84-70=14', '21-14=7']\nMoving to Node #0,0,3,0\nCurrent State: 19:[7], Operations: ['87-84=3', '21+3=24', '24-17=7']\nMoving to Node #0,0,2,0\nCurrent State: 19:[35], Operations: ['87-84=3', '21-3=18', '17+18=35']\nMoving to Node #0,0,1,0\nCurrent State: 19:[35], Operations: ['87-84=3', '17-3=14', '21+14=35']\nMoving to Node #0,2,3,0\nCurrent State: 19:[35], Operations: ['87-21=66', '84-66=18', '17+18=35']\nMoving to Node #0,4,3,0\nCurrent State: 19:[35], Operations: ['87-17=70', '84-70=14', '21+14=35']\nMoving to Node #0,2,3,0\nCurrent State: 19:[1], Operations: ['87-21=66', '84-66=18', '18-17=1']\nMoving to Node #0,0,2,0\nCurrent State: 19:[1], Operations: ['87-84=3', '21-3=18', '18-17=1']\nMoving to Node #0,0,0,0\nCurrent State: 19:[1], Operations: ['87-84=3', '17+3=20', '21-20=1']\nMoving to Node #0,0,0,0\nCurrent State: 19:[41], Operations: ['87-84=3', '17+3=20', '21+20=41']\nMoving to Node #0,1,1,0\nCurrent State: 19:[41], Operations: ['84-21=63', '87-63=24', '17+24=41']\nMoving to Node #0,0,3,0\nCurrent State: 19:[41], Operations: ['87-84=3', '21+3=24', '17+24=41']\nMoving to Node #0,3,2\nCurrent State: 19:[4, 70], Operations: ['84/21=4', '87-17=70']\nExploring Operation: 4*70=280, Resulting Numbers: [280]\n280,19 unequal: No Solution\nExploring Operation: 4+70=74, Resulting Numbers: [74]\n74,19 unequal: No Solution\nExploring Operation: 70-4=66, Resulting Numbers: [66]\n66,19 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 19:[17, 83], Operations: ['84/21=4', '87-4=83']\nExploring Operation: 17*83=1411, Resulting Numbers: [1411]\n1411,19 unequal: No Solution\nExploring Operation: 83-17=66, Resulting Numbers: [66]\n66,19 unequal: No Solution\nExploring Operation: 17+83=100, Resulting Numbers: [100]\n100,19 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 19:[70, 4], Operations: ['87-17=70', '84/21=4']\nExploring Operation: 70+4=74, Resulting Numbers: [74]\n74,19 unequal: No Solution\nExploring Operation: 70-4=66, Resulting Numbers: [66]\n66,19 unequal: No Solution\nExploring Operation: 70*4=280, Resulting Numbers: [280]\n280,19 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 19:[87, 21], Operations: ['84/21=4', '17+4=21']\nExploring Operation: 87+21=108, Resulting Numbers: [108]\n108,19 unequal: No Solution\nExploring Operation: 87-21=66, Resulting Numbers: [66]\n66,19 unequal: No Solution\nExploring Operation: 87*21=1827, Resulting Numbers: [1827]\n1827,19 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 19:[17, 91], Operations: ['84/21=4', '87+4=91']\nExploring Operation: 17+91=108, Resulting Numbers: [108]\n108,19 unequal: No Solution\nExploring Operation: 91-17=74, Resulting Numbers: [74]\n74,19 unequal: No Solution\nExploring Operation: 17*91=1547, Resulting Numbers: [1547]\n1547,19 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 19:[87, 13], Operations: ['84/21=4', '17-4=13']\nExploring Operation: 87-13=74, Resulting Numbers: [74]\n74,19 unequal: No Solution\nExploring Operation: 87+13=100, Resulting Numbers: [100]\n100,19 unequal: No Solution\nExploring Operation: 87*13=1131, Resulting Numbers: [1131]\n1131,19 unequal: No Solution\nMoving to Node #0,3,2,0\nCurrent State: 19:[66], Operations: ['84/21=4', '87-17=70', '70-4=66']\nMoving to Node #0,4,0,0\nCurrent State: 19:[66], Operations: ['87-17=70', '84/21=4', '70-4=66']\nMoving to Node #0,3,3,0\nCurrent State: 19:[66], Operations: ['84/21=4', '17+4=21', '87-21=66']\nMoving to Node #0,3,0,0\nCurrent State: 19:[66], Operations: ['84/21=4', '87-4=83', '83-17=66']\nMoving to Node #0,4,4\nCurrent State: 19:[84, 49], Operations: ['87-17=70', '70-21=49']\nExploring Operation: 84*49=4116, Resulting Numbers: [4116]\n4116,19 unequal: No Solution\nExploring Operation: 84+49=133, Resulting Numbers: [133]\n133,19 unequal: No Solution\nExploring Operation: 84-49=35, Resulting Numbers: [35]\n35,19 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 19:[35], Operations: ['87-17=70', '70-21=49', '84-49=35']\nMoving to Node #0,1,4\nCurrent State: 19:[87, 46], Operations: ['84-21=63', '63-17=46']\nExploring Operation: 87*46=4002, Resulting Numbers: [4002]\n4002,19 unequal: No Solution\nExploring Operation: 87-46=41, Resulting Numbers: [41]\n41,19 unequal: No Solution\nExploring Operation: 87+46=133, Resulting Numbers: [133]\n133,19 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 19:[70, 63], Operations: ['87-17=70', '84-21=63']\nExploring Operation: 70*63=4410, Resulting Numbers: [4410]\n4410,19 unequal: No Solution\nExploring Operation: 70-63=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nExploring Operation: 70+63=133, Resulting Numbers: [133]\n133,19 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 19:[66, 67], Operations: ['87-21=66', '84-17=67']\nExploring Operation: 67-66=1, Resulting Numbers: [1]\n1,19 unequal: No Solution\nExploring Operation: 66*67=4422, Resulting Numbers: [4422]\n4422,19 unequal: No Solution\nExploring Operation: 66+67=133, Resulting Numbers: [133]\n133,19 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 19:[63, 70], Operations: ['84-21=63', '87-17=70']\nExploring Operation: 63*70=4410, Resulting Numbers: [4410]\n4410,19 unequal: No Solution\nExploring Operation: 63+70=133, Resulting Numbers: [133]\n133,19 unequal: No Solution\nExploring Operation: 70-63=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nMoving to Node #0,4,1,0\nCurrent State: 19:[7], Operations: ['87-17=70', '84-21=63', '70-63=7']\nMoving to Node #0,1,3,0\nCurrent State: 19:[7], Operations: ['84-21=63', '87-17=70', '70-63=7']\nMoving to Node #0,2,4,0\nCurrent State: 19:[1], Operations: ['87-21=66', '84-17=67', '67-66=1']\nMoving to Node #0,1,4,0\nCurrent State: 19:[41], Operations: ['84-21=63', '63-17=46', '87-46=41']\nMoving to Node #0,2,1\nCurrent State: 19:[84, 49], Operations: ['87-21=66', '66-17=49']\nExploring Operation: 84*49=4116, Resulting Numbers: [4116]\n4116,19 unequal: No Solution\nExploring Operation: 84+49=133, Resulting Numbers: [133]\n133,19 unequal: No Solution\nExploring Operation: 84-49=35, Resulting Numbers: [35]\n35,19 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 19:[35], Operations: ['87-21=66', '66-17=49', '84-49=35']\nMoving to Node #0,3,2,0\nCurrent State: 19:[74], Operations: ['84/21=4', '87-17=70', '4+70=74']\nMoving to Node #0,4,0,0\nCurrent State: 19:[74], Operations: ['87-17=70', '84/21=4', '70+4=74']\nMoving to Node #0,3,1,0\nCurrent State: 19:[74], Operations: ['84/21=4', '17-4=13', '87-13=74']\nMoving to Node #0,3,4,0\nCurrent State: 19:[74], Operations: ['84/21=4', '87+4=91', '91-17=74']\nMoving to Node #0,1,2\nCurrent State: 19:[87, 80], Operations: ['84-21=63', '17+63=80']\nExploring Operation: 87*80=6960, Resulting Numbers: [6960]\n6960,19 unequal: No Solution\nExploring Operation: 87-80=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nExploring Operation: 87+80=167, Resulting Numbers: [167]\n167,19 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 19:[84, 83], Operations: ['87-21=66', '17+66=83']\nExploring Operation: 84-83=1, Resulting Numbers: [1]\n1,19 unequal: No Solution\nExploring Operation: 84*83=6972, Resulting Numbers: [6972]\n6972,19 unequal: No Solution\nExploring Operation: 84+83=167, Resulting Numbers: [167]\n167,19 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 19:[66, 101], Operations: ['87-21=66', '17+84=101']\nExploring Operation: 101-66=35, Resulting Numbers: [35]\n35,19 unequal: No Solution\nExploring Operation: 66+101=167, Resulting Numbers: [167]\n167,19 unequal: No Solution\nExploring Operation: 66*101=6666, Resulting Numbers: [6666]\n6666,19 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 19:[63, 104], Operations: ['84-21=63', '87+17=104']\nExploring Operation: 63*104=6552, Resulting Numbers: [6552]\n6552,19 unequal: No Solution\nExploring Operation: 63+104=167, Resulting Numbers: [167]\n167,19 unequal: No Solution\nExploring Operation: 104-63=41, Resulting Numbers: [41]\n41,19 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 19:[70, 105], Operations: ['87-17=70', '21+84=105']\nExploring Operation: 105-70=35, Resulting Numbers: [35]\n35,19 unequal: No Solution\nExploring Operation: 70*105=7350, Resulting Numbers: [7350]\n7350,19 unequal: No Solution\nExploring Operation: 70+105=175, Resulting Numbers: [175]\n175,19 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 19:[7], Operations: ['84-21=63', '17+63=80', '87-80=7']\nMoving to Node #0,2,0,0\nCurrent State: 19:[35], Operations: ['87-21=66', '17+84=101', '101-66=35']\nMoving to Node #0,4,2,0\nCurrent State: 19:[35], Operations: ['87-17=70', '21+84=105', '105-70=35']\nMoving to Node #0,2,2,0\nCurrent State: 19:[1], Operations: ['87-21=66', '17+66=83', '84-83=1']\nMoving to Node #0,1,0,0\nCurrent State: 19:[41], Operations: ['84-21=63', '87+17=104', '104-63=41']\nMoving to Node #0,3,0,0\nCurrent State: 19:[100], Operations: ['84/21=4', '87-4=83', '17+83=100']\nMoving to Node #0,3,1,0\nCurrent State: 19:[100], Operations: ['84/21=4', '17-4=13', '87+13=100']\nMoving to Node #0,3,3,0\nCurrent State: 19:[108], Operations: ['84/21=4', '17+4=21', '87+21=108']\nMoving to Node #0,3,4,0\nCurrent State: 19:[108], Operations: ['84/21=4', '87+4=91', '17+91=108']\nMoving to Node #0,0,4,0\nCurrent State: 19:[119], Operations: ['87-84=3', '21/3=7', '17*7=119']\nMoving to Node #0,2,4,0\nCurrent State: 19:[133], Operations: ['87-21=66', '84-17=67', '66+67=133']\nMoving to Node #0,1,3,0\nCurrent State: 19:[133], Operations: ['84-21=63', '87-17=70', '63+70=133']\nMoving to Node #0,2,1,0\nCurrent State: 19:[133], Operations: ['87-21=66', '66-17=49', '84+49=133']\nMoving to Node #0,4,4,0\nCurrent State: 19:[133], Operations: ['87-17=70', '70-21=49', '84+49=133']\nMoving to Node #0,4,1,0\nCurrent State: 19:[133], Operations: ['87-17=70', '84-21=63', '70+63=133']\nMoving to Node #0,1,4,0\nCurrent State: 19:[133], Operations: ['84-21=63', '63-17=46', '87+46=133']\nMoving to Node #0,1,0,0\nCurrent State: 19:[167], Operations: ['84-21=63', '87+17=104', '63+104=167']\nMoving to Node #0,2,0,0\nCurrent State: 19:[167], Operations: ['87-21=66', '17+84=101', '66+101=167']\nMoving to Node #0,2,2,0\nCurrent State: 19:[167], Operations: ['87-21=66', '17+66=83', '84+83=167']\nMoving to Node #0,1,2,0\nCurrent State: 19:[167], Operations: ['84-21=63', '17+63=80', '87+80=167']\nMoving to Node #0,4,2,0\nCurrent State: 19:[175], Operations: ['87-17=70', '21+84=105', '70+105=175']\nMoving to Node #0,4,0,0\nCurrent State: 19:[280], Operations: ['87-17=70', '84/21=4', '70*4=280']\nMoving to Node #0,3,2,0\nCurrent State: 19:[280], Operations: ['84/21=4', '87-17=70', '4*70=280']\nMoving to Node #0,4,3,0\nCurrent State: 19:[294], Operations: ['87-17=70', '84-70=14', '21*14=294']\nMoving to Node #0,0,1,0\nCurrent State: 19:[294], Operations: ['87-84=3', '17-3=14', '21*14=294']\nMoving to Node #0,2,3,0\nCurrent State: 19:[306], Operations: ['87-21=66', '84-66=18', '17*18=306']\nMoving to Node #0,0,2,0\nCurrent State: 19:[306], Operations: ['87-84=3', '21-3=18', '17*18=306']\nMoving to Node #0,0,3,0\nCurrent State: 19:[408], Operations: ['87-84=3', '21+3=24', '17*24=408']\nMoving to Node #0,1,1,0\nCurrent State: 19:[408], Operations: ['84-21=63', '87-63=24', '17*24=408']\nMoving to Node #0,0,0,0\nCurrent State: 19:[420], Operations: ['87-84=3', '17+3=20', '21*20=420']\nMoving to Node #0,3,1,0\nCurrent State: 19:[1131], Operations: ['84/21=4', '17-4=13', '87*13=1131']\nMoving to Node #0,3,0,0\nCurrent State: 19:[1411], Operations: ['84/21=4', '87-4=83', '17*83=1411']\nMoving to Node #0,3,4,0\nCurrent State: 19:[1547], Operations: ['84/21=4', '87+4=91', '17*91=1547']\nMoving to Node #0,3,3,0\nCurrent State: 19:[1827], Operations: ['84/21=4', '17+4=21', '87*21=1827']\nMoving to Node #0,1,4,0\nCurrent State: 19:[4002], Operations: ['84-21=63', '63-17=46', '87*46=4002']\nMoving to Node #0,4,4,0\nCurrent State: 19:[4116], Operations: ['87-17=70', '70-21=49', '84*49=4116']\nMoving to Node #0,2,1,0\nCurrent State: 19:[4116], Operations: ['87-21=66', '66-17=49', '84*49=4116']\nMoving to Node #0,1,3,0\nCurrent State: 19:[4410], Operations: ['84-21=63', '87-17=70', '63*70=4410']\nMoving to Node #0,4,1,0\nCurrent State: 19:[4410], Operations: ['87-17=70', '84-21=63', '70*63=4410']\nMoving to Node #0,2,4,0\nCurrent State: 19:[4422], Operations: ['87-21=66', '84-17=67', '66*67=4422']\nMoving to Node #0,1,0,0\nCurrent State: 19:[6552], Operations: ['84-21=63', '87+17=104', '63*104=6552']\nMoving to Node #0,2,0,0\nCurrent State: 19:[6666], Operations: ['87-21=66', '17+84=101', '66*101=6666']\nMoving to Node #0,1,2,0\nCurrent State: 19:[6960], Operations: ['84-21=63', '17+63=80', '87*80=6960']\nMoving to Node #0,2,2,0\nCurrent State: 19:[6972], Operations: ['87-21=66', '17+66=83', '84*83=6972']\nMoving to Node #0,4,2,0\nCurrent State: 19:[7350], Operations: ['87-17=70', '21+84=105', '70*105=7350']\nNo solution found.", "role": "assistant" } ]
[ 95, 65, 47, 27 ]
10
[ "95-65=30", "47-27=20", "30-20=10" ]
Current State: 10:[95, 65, 47, 27], Operations: [] Exploring Operation: 95-47=48, Resulting Numbers: [65, 27, 48] Generated Node #0,0: 10:[65, 27, 48] Operation: 95-47=48 Exploring Operation: 65-47=18, Resulting Numbers: [95, 27, 18] Generated Node #0,1: 10:[95, 27, 18] Operation: 65-47=18 Exploring Operation: 95-65=30, Resulting Numbers: [47, 27, 30] Generated Node #0,2: 10:[47, 27, 30] Operation: 95-65=30 Moving to Node #0,2 Current State: 10:[47, 27, 30], Operations: ['95-65=30'] Exploring Operation: 47-30=17, Resulting Numbers: [27, 17] Generated Node #0,2,0: 10:[27, 17] Operation: 47-30=17 Exploring Operation: 30-27=3, Resulting Numbers: [47, 3] Generated Node #0,2,1: 10:[47, 3] Operation: 30-27=3 Exploring Operation: 47-27=20, Resulting Numbers: [30, 20] Generated Node #0,2,2: 10:[30, 20] Operation: 47-27=20 Moving to Node #0,0 Current State: 10:[65, 27, 48], Operations: ['95-47=48'] Exploring Operation: 48-27=21, Resulting Numbers: [65, 21] Generated Node #0,0,0: 10:[65, 21] Operation: 48-27=21 Exploring Operation: 65-48=17, Resulting Numbers: [27, 17] Generated Node #0,0,1: 10:[27, 17] Operation: 65-48=17 Exploring Operation: 65-27=38, Resulting Numbers: [48, 38] Generated Node #0,0,2: 10:[48, 38] Operation: 65-27=38 Moving to Node #0,1 Current State: 10:[95, 27, 18], Operations: ['65-47=18'] Exploring Operation: 95-27=68, Resulting Numbers: [18, 68] Generated Node #0,1,0: 10:[18, 68] Operation: 95-27=68 Exploring Operation: 27-18=9, Resulting Numbers: [95, 9] Generated Node #0,1,1: 10:[95, 9] Operation: 27-18=9 Exploring Operation: 95-18=77, Resulting Numbers: [27, 77] Generated Node #0,1,2: 10:[27, 77] Operation: 95-18=77 Moving to Node #0,2,0 Current State: 10:[27, 17], Operations: ['95-65=30', '47-30=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,10 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,10 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.986111
bfs_3
Current State: 10:[95, 65, 47, 27], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [47, 27, 30] Generated Node #2: [47, 27, 30] from Operation: 95-65=30 Current State: 10:[47, 27, 30], Operations: ['95-65=30'] Exploring Operation: 47-27=20, Resulting Numbers: [30, 20] Generated Node #3: [30, 20] from Operation: 47-27=20 Current State: 10:[30, 20], Operations: ['95-65=30', '47-27=20'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
mult_heuristic
[ { "content": "Make 10 with the numbers [95, 65, 47, 27] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 10:[95, 65, 47, 27], Operations: []\nExploring Operation: 95-47=48, Resulting Numbers: [65, 27, 48]\nGenerated Node #0,0: 10:[65, 27, 48] Operation: 95-47=48\nExploring Operation: 65-47=18, Resulting Numbers: [95, 27, 18]\nGenerated Node #0,1: 10:[95, 27, 18] Operation: 65-47=18\nExploring Operation: 95-65=30, Resulting Numbers: [47, 27, 30]\nGenerated Node #0,2: 10:[47, 27, 30] Operation: 95-65=30\nMoving to Node #0,2\nCurrent State: 10:[47, 27, 30], Operations: ['95-65=30']\nExploring Operation: 47-30=17, Resulting Numbers: [27, 17]\nGenerated Node #0,2,0: 10:[27, 17] Operation: 47-30=17\nExploring Operation: 30-27=3, Resulting Numbers: [47, 3]\nGenerated Node #0,2,1: 10:[47, 3] Operation: 30-27=3\nExploring Operation: 47-27=20, Resulting Numbers: [30, 20]\nGenerated Node #0,2,2: 10:[30, 20] Operation: 47-27=20\nMoving to Node #0,0\nCurrent State: 10:[65, 27, 48], Operations: ['95-47=48']\nExploring Operation: 48-27=21, Resulting Numbers: [65, 21]\nGenerated Node #0,0,0: 10:[65, 21] Operation: 48-27=21\nExploring Operation: 65-48=17, Resulting Numbers: [27, 17]\nGenerated Node #0,0,1: 10:[27, 17] Operation: 65-48=17\nExploring Operation: 65-27=38, Resulting Numbers: [48, 38]\nGenerated Node #0,0,2: 10:[48, 38] Operation: 65-27=38\nMoving to Node #0,1\nCurrent State: 10:[95, 27, 18], Operations: ['65-47=18']\nExploring Operation: 95-27=68, Resulting Numbers: [18, 68]\nGenerated Node #0,1,0: 10:[18, 68] Operation: 95-27=68\nExploring Operation: 27-18=9, Resulting Numbers: [95, 9]\nGenerated Node #0,1,1: 10:[95, 9] Operation: 27-18=9\nExploring Operation: 95-18=77, Resulting Numbers: [27, 77]\nGenerated Node #0,1,2: 10:[27, 77] Operation: 95-18=77\nMoving to Node #0,2,0\nCurrent State: 10:[27, 17], Operations: ['95-65=30', '47-30=17']\nExploring Operation: 27+17=44, Resulting Numbers: [44]\n44,10 unequal: No Solution\nExploring Operation: 27*17=459, Resulting Numbers: [459]\n459,10 unequal: No Solution\nExploring Operation: 27-17=10, Resulting Numbers: [10]\n10,10 equal: Goal Reached\n", "role": "assistant" } ]
[ 65, 73, 3, 50 ]
45
[ "73-65=8", "3+50=53", "53-8=45" ]
Current State: 45:[65, 73, 3, 50], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [3, 50, 8] Generated Node #0,0: 45:[3, 50, 8] Operation: 73-65=8 Moving to Node #0,0 Current State: 45:[3, 50, 8], Operations: ['73-65=8'] Exploring Operation: 50-3=47, Resulting Numbers: [8, 47] Generated Node #0,0,0: 45:[8, 47] Operation: 50-3=47 Moving to Node #0,0,0 Current State: 45:[8, 47], Operations: ['73-65=8', '50-3=47'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[8, 47], Operations: ['73-65=8', '50-3=47'] Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,45 unequal: No Solution Moving to Node #0,0 Current State: 45:[3, 50, 8], Operations: ['73-65=8'] Exploring Operation: 50-8=42, Resulting Numbers: [3, 42] Generated Node #0,0,1: 45:[3, 42] Operation: 50-8=42 Moving to Node #0,0,1 Current State: 45:[3, 42], Operations: ['73-65=8', '50-8=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.993924
dfs
Current State: 45:[65, 73, 3, 50], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [3, 50, 8] Generated Node #2: [3, 50, 8] from Operation: 73-65=8 Current State: 45:[3, 50, 8], Operations: ['73-65=8'] Exploring Operation: 3+50=53, Resulting Numbers: [8, 53] Generated Node #3: [8, 53] from Operation: 3+50=53 Current State: 45:[8, 53], Operations: ['73-65=8', '3+50=53'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
mult_heuristic
[ { "content": "Make 45 with the numbers [65, 73, 3, 50] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 45:[65, 73, 3, 50], Operations: []\nExploring Operation: 73-65=8, Resulting Numbers: [3, 50, 8]\nGenerated Node #0,0: 45:[3, 50, 8] Operation: 73-65=8\nMoving to Node #0,0\nCurrent State: 45:[3, 50, 8], Operations: ['73-65=8']\nExploring Operation: 50-3=47, Resulting Numbers: [8, 47]\nGenerated Node #0,0,0: 45:[8, 47] Operation: 50-3=47\nMoving to Node #0,0,0\nCurrent State: 45:[8, 47], Operations: ['73-65=8', '50-3=47']\nExploring Operation: 47-8=39, Resulting Numbers: [39]\n39,45 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 45:[8, 47], Operations: ['73-65=8', '50-3=47']\nExploring Operation: 8+47=55, Resulting Numbers: [55]\n55,45 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 45:[3, 50, 8], Operations: ['73-65=8']\nExploring Operation: 50-8=42, Resulting Numbers: [3, 42]\nGenerated Node #0,0,1: 45:[3, 42] Operation: 50-8=42\nMoving to Node #0,0,1\nCurrent State: 45:[3, 42], Operations: ['73-65=8', '50-8=42']\nExploring Operation: 3+42=45, Resulting Numbers: [45]\n45,45 equal: Goal Reached\n", "role": "assistant" } ]
[ 38, 81, 23, 14 ]
34
[ "81-38=43", "23-14=9", "43-9=34" ]
Current State: 34:[38, 81, 23, 14], Operations: [] Exploring Operation: 81-14=67, Resulting Numbers: [38, 23, 67] Generated Node #0,0: 34:[38, 23, 67] Operation: 81-14=67 Exploring Operation: 81-38=43, Resulting Numbers: [23, 14, 43] Generated Node #0,1: 34:[23, 14, 43] Operation: 81-38=43 Exploring Operation: 81-23=58, Resulting Numbers: [38, 14, 58] Generated Node #0,2: 34:[38, 14, 58] Operation: 81-23=58 Exploring Operation: 23+14=37, Resulting Numbers: [38, 81, 37] Generated Node #0,3: 34:[38, 81, 37] Operation: 23+14=37 Exploring Operation: 38-14=24, Resulting Numbers: [81, 23, 24] Generated Node #0,4: 34:[81, 23, 24] Operation: 38-14=24 Moving to Node #0,1 Current State: 34:[23, 14, 43], Operations: ['81-38=43'] Exploring Operation: 23-14=9, Resulting Numbers: [43, 9] Generated Node #0,1,0: 34:[43, 9] Operation: 23-14=9 Exploring Operation: 14+43=57, Resulting Numbers: [23, 57] Generated Node #0,1,1: 34:[23, 57] Operation: 14+43=57 Exploring Operation: 43-23=20, Resulting Numbers: [14, 20] Generated Node #0,1,2: 34:[14, 20] Operation: 43-23=20 Exploring Operation: 43-14=29, Resulting Numbers: [23, 29] Generated Node #0,1,3: 34:[23, 29] Operation: 43-14=29 Exploring Operation: 23+14=37, Resulting Numbers: [43, 37] Generated Node #0,1,4: 34:[43, 37] Operation: 23+14=37 Moving to Node #0,2 Current State: 34:[38, 14, 58], Operations: ['81-23=58'] Exploring Operation: 14+58=72, Resulting Numbers: [38, 72] Generated Node #0,2,0: 34:[38, 72] Operation: 14+58=72 Exploring Operation: 58-14=44, Resulting Numbers: [38, 44] Generated Node #0,2,1: 34:[38, 44] Operation: 58-14=44 Exploring Operation: 38+14=52, Resulting Numbers: [58, 52] Generated Node #0,2,2: 34:[58, 52] Operation: 38+14=52 Exploring Operation: 58-38=20, Resulting Numbers: [14, 20] Generated Node #0,2,3: 34:[14, 20] Operation: 58-38=20 Exploring Operation: 38-14=24, Resulting Numbers: [58, 24] Generated Node #0,2,4: 34:[58, 24] Operation: 38-14=24 Moving to Node #0,0 Current State: 34:[38, 23, 67], Operations: ['81-14=67'] Exploring Operation: 38+23=61, Resulting Numbers: [67, 61] Generated Node #0,0,0: 34:[67, 61] Operation: 38+23=61 Exploring Operation: 38-23=15, Resulting Numbers: [67, 15] Generated Node #0,0,1: 34:[67, 15] Operation: 38-23=15 Exploring Operation: 23+67=90, Resulting Numbers: [38, 90] Generated Node #0,0,2: 34:[38, 90] Operation: 23+67=90 Exploring Operation: 67-23=44, Resulting Numbers: [38, 44] Generated Node #0,0,3: 34:[38, 44] Operation: 67-23=44 Exploring Operation: 67-38=29, Resulting Numbers: [23, 29] Generated Node #0,0,4: 34:[23, 29] Operation: 67-38=29 Moving to Node #0,3 Current State: 34:[38, 81, 37], Operations: ['23+14=37'] Exploring Operation: 38-37=1, Resulting Numbers: [81, 1] Generated Node #0,3,0: 34:[81, 1] Operation: 38-37=1 Exploring Operation: 81-37=44, Resulting Numbers: [38, 44] Generated Node #0,3,1: 34:[38, 44] Operation: 81-37=44 Exploring Operation: 38+81=119, Resulting Numbers: [37, 119] Generated Node #0,3,2: 34:[37, 119] Operation: 38+81=119 Exploring Operation: 38+37=75, Resulting Numbers: [81, 75] Generated Node #0,3,3: 34:[81, 75] Operation: 38+37=75 Exploring Operation: 81-38=43, Resulting Numbers: [37, 43] Generated Node #0,3,4: 34:[37, 43] Operation: 81-38=43 Moving to Node #0,4 Current State: 34:[81, 23, 24], Operations: ['38-14=24'] Exploring Operation: 23+24=47, Resulting Numbers: [81, 47] Generated Node #0,4,0: 34:[81, 47] Operation: 23+24=47 Exploring Operation: 81-24=57, Resulting Numbers: [23, 57] Generated Node #0,4,1: 34:[23, 57] Operation: 81-24=57 Exploring Operation: 81-23=58, Resulting Numbers: [24, 58] Generated Node #0,4,2: 34:[24, 58] Operation: 81-23=58 Exploring Operation: 81+23=104, Resulting Numbers: [24, 104] Generated Node #0,4,3: 34:[24, 104] Operation: 81+23=104 Exploring Operation: 24-23=1, Resulting Numbers: [81, 1] Generated Node #0,4,4: 34:[81, 1] Operation: 24-23=1 Moving to Node #0,1,4 Current State: 34:[43, 37], Operations: ['81-38=43', '23+14=37'] Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,34 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,3,4 Current State: 34:[37, 43], Operations: ['23+14=37', '81-38=43'] Exploring Operation: 37*43=1591, Resulting Numbers: [1591] 1591,34 unequal: No Solution Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[38, 44], Operations: ['81-23=58', '58-14=44'] Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,34 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[38, 44], Operations: ['81-14=67', '67-23=44'] Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,34 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[38, 44], Operations: ['23+14=37', '81-37=44'] Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,34 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[23, 29], Operations: ['81-14=67', '67-38=29'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[23, 29], Operations: ['81-38=43', '43-14=29'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,34 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[14, 20], Operations: ['81-23=58', '58-38=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.953993
bfs_5
Current State: 34:[38, 81, 23, 14], Operations: [] Exploring Operation: 81-38=43, Resulting Numbers: [23, 14, 43] Generated Node #2: [23, 14, 43] from Operation: 81-38=43 Current State: 34:[23, 14, 43], Operations: ['81-38=43'] Exploring Operation: 23-14=9, Resulting Numbers: [43, 9] Generated Node #3: [43, 9] from Operation: 23-14=9 Current State: 34:[43, 9], Operations: ['81-38=43', '23-14=9'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
sum_heuristic
[ { "content": "Make 34 with the numbers [38, 81, 23, 14] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 34:[38, 81, 23, 14], Operations: []\nExploring Operation: 81-14=67, Resulting Numbers: [38, 23, 67]\nGenerated Node #0,0: 34:[38, 23, 67] Operation: 81-14=67\nExploring Operation: 81-38=43, Resulting Numbers: [23, 14, 43]\nGenerated Node #0,1: 34:[23, 14, 43] Operation: 81-38=43\nExploring Operation: 81-23=58, Resulting Numbers: [38, 14, 58]\nGenerated Node #0,2: 34:[38, 14, 58] Operation: 81-23=58\nExploring Operation: 23+14=37, Resulting Numbers: [38, 81, 37]\nGenerated Node #0,3: 34:[38, 81, 37] Operation: 23+14=37\nExploring Operation: 38-14=24, Resulting Numbers: [81, 23, 24]\nGenerated Node #0,4: 34:[81, 23, 24] Operation: 38-14=24\nMoving to Node #0,1\nCurrent State: 34:[23, 14, 43], Operations: ['81-38=43']\nExploring Operation: 23-14=9, Resulting Numbers: [43, 9]\nGenerated Node #0,1,0: 34:[43, 9] Operation: 23-14=9\nExploring Operation: 14+43=57, Resulting Numbers: [23, 57]\nGenerated Node #0,1,1: 34:[23, 57] Operation: 14+43=57\nExploring Operation: 43-23=20, Resulting Numbers: [14, 20]\nGenerated Node #0,1,2: 34:[14, 20] Operation: 43-23=20\nExploring Operation: 43-14=29, Resulting Numbers: [23, 29]\nGenerated Node #0,1,3: 34:[23, 29] Operation: 43-14=29\nExploring Operation: 23+14=37, Resulting Numbers: [43, 37]\nGenerated Node #0,1,4: 34:[43, 37] Operation: 23+14=37\nMoving to Node #0,2\nCurrent State: 34:[38, 14, 58], Operations: ['81-23=58']\nExploring Operation: 14+58=72, Resulting Numbers: [38, 72]\nGenerated Node #0,2,0: 34:[38, 72] Operation: 14+58=72\nExploring Operation: 58-14=44, Resulting Numbers: [38, 44]\nGenerated Node #0,2,1: 34:[38, 44] Operation: 58-14=44\nExploring Operation: 38+14=52, Resulting Numbers: [58, 52]\nGenerated Node #0,2,2: 34:[58, 52] Operation: 38+14=52\nExploring Operation: 58-38=20, Resulting Numbers: [14, 20]\nGenerated Node #0,2,3: 34:[14, 20] Operation: 58-38=20\nExploring Operation: 38-14=24, Resulting Numbers: [58, 24]\nGenerated Node #0,2,4: 34:[58, 24] Operation: 38-14=24\nMoving to Node #0,0\nCurrent State: 34:[38, 23, 67], Operations: ['81-14=67']\nExploring Operation: 38+23=61, Resulting Numbers: [67, 61]\nGenerated Node #0,0,0: 34:[67, 61] Operation: 38+23=61\nExploring Operation: 38-23=15, Resulting Numbers: [67, 15]\nGenerated Node #0,0,1: 34:[67, 15] Operation: 38-23=15\nExploring Operation: 23+67=90, Resulting Numbers: [38, 90]\nGenerated Node #0,0,2: 34:[38, 90] Operation: 23+67=90\nExploring Operation: 67-23=44, Resulting Numbers: [38, 44]\nGenerated Node #0,0,3: 34:[38, 44] Operation: 67-23=44\nExploring Operation: 67-38=29, Resulting Numbers: [23, 29]\nGenerated Node #0,0,4: 34:[23, 29] Operation: 67-38=29\nMoving to Node #0,3\nCurrent State: 34:[38, 81, 37], Operations: ['23+14=37']\nExploring Operation: 38-37=1, Resulting Numbers: [81, 1]\nGenerated Node #0,3,0: 34:[81, 1] Operation: 38-37=1\nExploring Operation: 81-37=44, Resulting Numbers: [38, 44]\nGenerated Node #0,3,1: 34:[38, 44] Operation: 81-37=44\nExploring Operation: 38+81=119, Resulting Numbers: [37, 119]\nGenerated Node #0,3,2: 34:[37, 119] Operation: 38+81=119\nExploring Operation: 38+37=75, Resulting Numbers: [81, 75]\nGenerated Node #0,3,3: 34:[81, 75] Operation: 38+37=75\nExploring Operation: 81-38=43, Resulting Numbers: [37, 43]\nGenerated Node #0,3,4: 34:[37, 43] Operation: 81-38=43\nMoving to Node #0,4\nCurrent State: 34:[81, 23, 24], Operations: ['38-14=24']\nExploring Operation: 23+24=47, Resulting Numbers: [81, 47]\nGenerated Node #0,4,0: 34:[81, 47] Operation: 23+24=47\nExploring Operation: 81-24=57, Resulting Numbers: [23, 57]\nGenerated Node #0,4,1: 34:[23, 57] Operation: 81-24=57\nExploring Operation: 81-23=58, Resulting Numbers: [24, 58]\nGenerated Node #0,4,2: 34:[24, 58] Operation: 81-23=58\nExploring Operation: 81+23=104, Resulting Numbers: [24, 104]\nGenerated Node #0,4,3: 34:[24, 104] Operation: 81+23=104\nExploring Operation: 24-23=1, Resulting Numbers: [81, 1]\nGenerated Node #0,4,4: 34:[81, 1] Operation: 24-23=1\nMoving to Node #0,1,4\nCurrent State: 34:[43, 37], Operations: ['81-38=43', '23+14=37']\nExploring Operation: 43+37=80, Resulting Numbers: [80]\n80,34 unequal: No Solution\nExploring Operation: 43*37=1591, Resulting Numbers: [1591]\n1591,34 unequal: No Solution\nExploring Operation: 43-37=6, Resulting Numbers: [6]\n6,34 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 34:[37, 43], Operations: ['23+14=37', '81-38=43']\nExploring Operation: 37*43=1591, Resulting Numbers: [1591]\n1591,34 unequal: No Solution\nExploring Operation: 37+43=80, Resulting Numbers: [80]\n80,34 unequal: No Solution\nExploring Operation: 43-37=6, Resulting Numbers: [6]\n6,34 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 34:[38, 44], Operations: ['81-23=58', '58-14=44']\nExploring Operation: 38*44=1672, Resulting Numbers: [1672]\n1672,34 unequal: No Solution\nExploring Operation: 44-38=6, Resulting Numbers: [6]\n6,34 unequal: No Solution\nExploring Operation: 38+44=82, Resulting Numbers: [82]\n82,34 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 34:[38, 44], Operations: ['81-14=67', '67-23=44']\nExploring Operation: 44-38=6, Resulting Numbers: [6]\n6,34 unequal: No Solution\nExploring Operation: 38*44=1672, Resulting Numbers: [1672]\n1672,34 unequal: No Solution\nExploring Operation: 38+44=82, Resulting Numbers: [82]\n82,34 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 34:[38, 44], Operations: ['23+14=37', '81-37=44']\nExploring Operation: 38*44=1672, Resulting Numbers: [1672]\n1672,34 unequal: No Solution\nExploring Operation: 44-38=6, Resulting Numbers: [6]\n6,34 unequal: No Solution\nExploring Operation: 38+44=82, Resulting Numbers: [82]\n82,34 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 34:[23, 29], Operations: ['81-14=67', '67-38=29']\nExploring Operation: 29-23=6, Resulting Numbers: [6]\n6,34 unequal: No Solution\nExploring Operation: 23+29=52, Resulting Numbers: [52]\n52,34 unequal: No Solution\nExploring Operation: 23*29=667, Resulting Numbers: [667]\n667,34 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 34:[23, 29], Operations: ['81-38=43', '43-14=29']\nExploring Operation: 29-23=6, Resulting Numbers: [6]\n6,34 unequal: No Solution\nExploring Operation: 23*29=667, Resulting Numbers: [667]\n667,34 unequal: No Solution\nExploring Operation: 23+29=52, Resulting Numbers: [52]\n52,34 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 34:[14, 20], Operations: ['81-23=58', '58-38=20']\nExploring Operation: 14+20=34, Resulting Numbers: [34]\n34,34 equal: Goal Reached\n", "role": "assistant" } ]
[ 46, 92, 43, 53 ]
42
[ "46+92=138", "43+53=96", "138-96=42" ]
Current State: 42:[46, 92, 43, 53], Operations: [] Exploring Operation: 92-53=39, Resulting Numbers: [46, 43, 39] Generated Node #0,0: 42:[46, 43, 39] Operation: 92-53=39 Moving to Node #0,0 Current State: 42:[46, 43, 39], Operations: ['92-53=39'] Exploring Operation: 46-39=7, Resulting Numbers: [43, 7] Generated Node #0,0,0: 42:[43, 7] Operation: 46-39=7 Moving to Node #0,0,0 Current State: 42:[43, 7], Operations: ['92-53=39', '46-39=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[43, 7], Operations: ['92-53=39', '46-39=7'] Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,42 unequal: No Solution Moving to Node #0,0 Current State: 42:[46, 43, 39], Operations: ['92-53=39'] Exploring Operation: 46-43=3, Resulting Numbers: [39, 3] Generated Node #0,0,1: 42:[39, 3] Operation: 46-43=3 Moving to Node #0,0,1 Current State: 42:[39, 3], Operations: ['92-53=39', '46-43=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.993924
dfs
Current State: 42:[46, 92, 43, 53], Operations: [] Exploring Operation: 46+92=138, Resulting Numbers: [43, 53, 138] Generated Node #2: [43, 53, 138] from Operation: 46+92=138 Current State: 42:[43, 53, 138], Operations: ['46+92=138'] Exploring Operation: 43+53=96, Resulting Numbers: [138, 96] Generated Node #3: [138, 96] from Operation: 43+53=96 Current State: 42:[138, 96], Operations: ['46+92=138', '43+53=96'] Exploring Operation: 138-96=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
mult_heuristic
[ { "content": "Make 42 with the numbers [46, 92, 43, 53] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 42:[46, 92, 43, 53], Operations: []\nExploring Operation: 92-53=39, Resulting Numbers: [46, 43, 39]\nGenerated Node #0,0: 42:[46, 43, 39] Operation: 92-53=39\nMoving to Node #0,0\nCurrent State: 42:[46, 43, 39], Operations: ['92-53=39']\nExploring Operation: 46-39=7, Resulting Numbers: [43, 7]\nGenerated Node #0,0,0: 42:[43, 7] Operation: 46-39=7\nMoving to Node #0,0,0\nCurrent State: 42:[43, 7], Operations: ['92-53=39', '46-39=7']\nExploring Operation: 43-7=36, Resulting Numbers: [36]\n36,42 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 42:[43, 7], Operations: ['92-53=39', '46-39=7']\nExploring Operation: 43+7=50, Resulting Numbers: [50]\n50,42 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 42:[46, 43, 39], Operations: ['92-53=39']\nExploring Operation: 46-43=3, Resulting Numbers: [39, 3]\nGenerated Node #0,0,1: 42:[39, 3] Operation: 46-43=3\nMoving to Node #0,0,1\nCurrent State: 42:[39, 3], Operations: ['92-53=39', '46-43=3']\nExploring Operation: 39+3=42, Resulting Numbers: [42]\n42,42 equal: Goal Reached\n", "role": "assistant" } ]
[ 79, 47, 99, 49 ]
40
[ "99-79=20", "49-47=2", "20*2=40" ]
Current State: 40:[79, 47, 99, 49], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [47, 49, 20] Generated Node #0,0: 40:[47, 49, 20] Operation: 99-79=20 Moving to Node #0,0 Current State: 40:[47, 49, 20], Operations: ['99-79=20'] Exploring Operation: 49-47=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 40:[20, 2] Operation: 49-47=2 Moving to Node #0,0,0 Current State: 40:[20, 2], Operations: ['99-79=20', '49-47=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.996528
dfs
Current State: 40:[79, 47, 99, 49], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [47, 49, 20] Generated Node #2: [47, 49, 20] from Operation: 99-79=20 Current State: 40:[47, 49, 20], Operations: ['99-79=20'] Exploring Operation: 49-47=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 49-47=2 Current State: 40:[20, 2], Operations: ['99-79=20', '49-47=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
mult_heuristic
[ { "content": "Make 40 with the numbers [79, 47, 99, 49] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 40:[79, 47, 99, 49], Operations: []\nExploring Operation: 99-79=20, Resulting Numbers: [47, 49, 20]\nGenerated Node #0,0: 40:[47, 49, 20] Operation: 99-79=20\nMoving to Node #0,0\nCurrent State: 40:[47, 49, 20], Operations: ['99-79=20']\nExploring Operation: 49-47=2, Resulting Numbers: [20, 2]\nGenerated Node #0,0,0: 40:[20, 2] Operation: 49-47=2\nMoving to Node #0,0,0\nCurrent State: 40:[20, 2], Operations: ['99-79=20', '49-47=2']\nExploring Operation: 20*2=40, Resulting Numbers: [40]\n40,40 equal: Goal Reached\n", "role": "assistant" } ]
[ 99, 25, 15, 33 ]
37
[ "99/33=3", "25+15=40", "40-3=37" ]
Current State: 37:[99, 25, 15, 33], Operations: [] Exploring Operation: 99-15=84, Resulting Numbers: [25, 33, 84] Generated Node #0,0: 37:[25, 33, 84] Operation: 99-15=84 Exploring Operation: 99-25=74, Resulting Numbers: [15, 33, 74] Generated Node #0,1: 37:[15, 33, 74] Operation: 99-25=74 Exploring Operation: 99/33=3, Resulting Numbers: [25, 15, 3] Generated Node #0,2: 37:[25, 15, 3] Operation: 99/33=3 Exploring Operation: 99-33=66, Resulting Numbers: [25, 15, 66] Generated Node #0,3: 37:[25, 15, 66] Operation: 99-33=66 Moving to Node #0,0 Current State: 37:[25, 33, 84], Operations: ['99-15=84'] Exploring Operation: 33-25=8, Resulting Numbers: [84, 8] Generated Node #0,0,0: 37:[84, 8] Operation: 33-25=8 Exploring Operation: 84-25=59, Resulting Numbers: [33, 59] Generated Node #0,0,1: 37:[33, 59] Operation: 84-25=59 Exploring Operation: 25+33=58, Resulting Numbers: [84, 58] Generated Node #0,0,2: 37:[84, 58] Operation: 25+33=58 Exploring Operation: 84-33=51, Resulting Numbers: [25, 51] Generated Node #0,0,3: 37:[25, 51] Operation: 84-33=51 Moving to Node #0,3 Current State: 37:[25, 15, 66], Operations: ['99-33=66'] Exploring Operation: 66-15=51, Resulting Numbers: [25, 51] Generated Node #0,3,0: 37:[25, 51] Operation: 66-15=51 Exploring Operation: 25-15=10, Resulting Numbers: [66, 10] Generated Node #0,3,1: 37:[66, 10] Operation: 25-15=10 Exploring Operation: 25+15=40, Resulting Numbers: [66, 40] Generated Node #0,3,2: 37:[66, 40] Operation: 25+15=40 Exploring Operation: 66-25=41, Resulting Numbers: [15, 41] Generated Node #0,3,3: 37:[15, 41] Operation: 66-25=41 Moving to Node #0,1 Current State: 37:[15, 33, 74], Operations: ['99-25=74'] Exploring Operation: 74-15=59, Resulting Numbers: [33, 59] Generated Node #0,1,0: 37:[33, 59] Operation: 74-15=59 Exploring Operation: 33-15=18, Resulting Numbers: [74, 18] Generated Node #0,1,1: 37:[74, 18] Operation: 33-15=18 Exploring Operation: 15+33=48, Resulting Numbers: [74, 48] Generated Node #0,1,2: 37:[74, 48] Operation: 15+33=48 Exploring Operation: 74-33=41, Resulting Numbers: [15, 41] Generated Node #0,1,3: 37:[15, 41] Operation: 74-33=41 Moving to Node #0,2 Current State: 37:[25, 15, 3], Operations: ['99/33=3'] Exploring Operation: 15+3=18, Resulting Numbers: [25, 18] Generated Node #0,2,0: 37:[25, 18] Operation: 15+3=18 Exploring Operation: 15*3=45, Resulting Numbers: [25, 45] Generated Node #0,2,1: 37:[25, 45] Operation: 15*3=45 Exploring Operation: 25+15=40, Resulting Numbers: [3, 40] Generated Node #0,2,2: 37:[3, 40] Operation: 25+15=40 Exploring Operation: 25+3=28, Resulting Numbers: [15, 28] Generated Node #0,2,3: 37:[15, 28] Operation: 25+3=28 Moving to Node #0,2,1 Current State: 37:[25, 45], Operations: ['99/33=3', '15*3=45'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[33, 59], Operations: ['99-15=84', '84-25=59'] Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,37 unequal: No Solution Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[15, 41], Operations: ['99-33=66', '66-25=41'] Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,37 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[25, 51], Operations: ['99-15=84', '84-33=51'] Exploring Operation: 25+51=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 25*51=1275, Resulting Numbers: [1275] 1275,37 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,37 unequal: No Solution Moving to Node #0,0,1,0 Current State: 37:[26], Operations: ['99-15=84', '84-25=59', '59-33=26'] Moving to Node #0,3,3,0 Current State: 37:[26], Operations: ['99-33=66', '66-25=41', '41-15=26'] Moving to Node #0,0,3,0 Current State: 37:[26], Operations: ['99-15=84', '84-33=51', '51-25=26'] Moving to Node #0,3,0 Current State: 37:[25, 51], Operations: ['99-33=66', '66-15=51'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 25+51=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 25*51=1275, Resulting Numbers: [1275] 1275,37 unequal: No Solution Moving to Node #0,3,0,0 Current State: 37:[26], Operations: ['99-33=66', '66-15=51', '51-25=26'] Moving to Node #0,1,3 Current State: 37:[15, 41], Operations: ['99-25=74', '74-33=41'] Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,37 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[33, 59], Operations: ['99-25=74', '74-15=59'] Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,37 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[25, 18], Operations: ['99/33=3', '15+3=18'] Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,37 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,37 unequal: No Solution Moving to Node #0,2,0,0 Current State: 37:[43], Operations: ['99/33=3', '15+3=18', '25+18=43'] Moving to Node #0,1,3,0 Current State: 37:[26], Operations: ['99-25=74', '74-33=41', '41-15=26'] Moving to Node #0,1,0,0 Current State: 37:[26], Operations: ['99-25=74', '74-15=59', '59-33=26'] Moving to Node #0,2,3 Current State: 37:[15, 28], Operations: ['99/33=3', '25+3=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,37 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,2,3,0 Current State: 37:[43], Operations: ['99/33=3', '25+3=28', '15+28=43'] Moving to Node #0,3,2 Current State: 37:[66, 40], Operations: ['99-33=66', '25+15=40'] Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,37 unequal: No Solution Moving to Node #0,2,1,0 Current State: 37:[20], Operations: ['99/33=3', '15*3=45', '45-25=20'] Moving to Node #0,2,2 Current State: 37:[3, 40], Operations: ['99/33=3', '25+15=40'] Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,37 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.953125
bfs_4
Current State: 37:[99, 25, 15, 33], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [25, 15, 3] Generated Node #2: [25, 15, 3] from Operation: 99/33=3 Current State: 37:[25, 15, 3], Operations: ['99/33=3'] Exploring Operation: 25+15=40, Resulting Numbers: [3, 40] Generated Node #3: [3, 40] from Operation: 25+15=40 Current State: 37:[3, 40], Operations: ['99/33=3', '25+15=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
sum_heuristic
[ { "content": "Make 37 with the numbers [99, 25, 15, 33] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 37:[99, 25, 15, 33], Operations: []\nExploring Operation: 99-15=84, Resulting Numbers: [25, 33, 84]\nGenerated Node #0,0: 37:[25, 33, 84] Operation: 99-15=84\nExploring Operation: 99-25=74, Resulting Numbers: [15, 33, 74]\nGenerated Node #0,1: 37:[15, 33, 74] Operation: 99-25=74\nExploring Operation: 99/33=3, Resulting Numbers: [25, 15, 3]\nGenerated Node #0,2: 37:[25, 15, 3] Operation: 99/33=3\nExploring Operation: 99-33=66, Resulting Numbers: [25, 15, 66]\nGenerated Node #0,3: 37:[25, 15, 66] Operation: 99-33=66\nMoving to Node #0,0\nCurrent State: 37:[25, 33, 84], Operations: ['99-15=84']\nExploring Operation: 33-25=8, Resulting Numbers: [84, 8]\nGenerated Node #0,0,0: 37:[84, 8] Operation: 33-25=8\nExploring Operation: 84-25=59, Resulting Numbers: [33, 59]\nGenerated Node #0,0,1: 37:[33, 59] Operation: 84-25=59\nExploring Operation: 25+33=58, Resulting Numbers: [84, 58]\nGenerated Node #0,0,2: 37:[84, 58] Operation: 25+33=58\nExploring Operation: 84-33=51, Resulting Numbers: [25, 51]\nGenerated Node #0,0,3: 37:[25, 51] Operation: 84-33=51\nMoving to Node #0,3\nCurrent State: 37:[25, 15, 66], Operations: ['99-33=66']\nExploring Operation: 66-15=51, Resulting Numbers: [25, 51]\nGenerated Node #0,3,0: 37:[25, 51] Operation: 66-15=51\nExploring Operation: 25-15=10, Resulting Numbers: [66, 10]\nGenerated Node #0,3,1: 37:[66, 10] Operation: 25-15=10\nExploring Operation: 25+15=40, Resulting Numbers: [66, 40]\nGenerated Node #0,3,2: 37:[66, 40] Operation: 25+15=40\nExploring Operation: 66-25=41, Resulting Numbers: [15, 41]\nGenerated Node #0,3,3: 37:[15, 41] Operation: 66-25=41\nMoving to Node #0,1\nCurrent State: 37:[15, 33, 74], Operations: ['99-25=74']\nExploring Operation: 74-15=59, Resulting Numbers: [33, 59]\nGenerated Node #0,1,0: 37:[33, 59] Operation: 74-15=59\nExploring Operation: 33-15=18, Resulting Numbers: [74, 18]\nGenerated Node #0,1,1: 37:[74, 18] Operation: 33-15=18\nExploring Operation: 15+33=48, Resulting Numbers: [74, 48]\nGenerated Node #0,1,2: 37:[74, 48] Operation: 15+33=48\nExploring Operation: 74-33=41, Resulting Numbers: [15, 41]\nGenerated Node #0,1,3: 37:[15, 41] Operation: 74-33=41\nMoving to Node #0,2\nCurrent State: 37:[25, 15, 3], Operations: ['99/33=3']\nExploring Operation: 15+3=18, Resulting Numbers: [25, 18]\nGenerated Node #0,2,0: 37:[25, 18] Operation: 15+3=18\nExploring Operation: 15*3=45, Resulting Numbers: [25, 45]\nGenerated Node #0,2,1: 37:[25, 45] Operation: 15*3=45\nExploring Operation: 25+15=40, Resulting Numbers: [3, 40]\nGenerated Node #0,2,2: 37:[3, 40] Operation: 25+15=40\nExploring Operation: 25+3=28, Resulting Numbers: [15, 28]\nGenerated Node #0,2,3: 37:[15, 28] Operation: 25+3=28\nMoving to Node #0,2,1\nCurrent State: 37:[25, 45], Operations: ['99/33=3', '15*3=45']\nExploring Operation: 45-25=20, Resulting Numbers: [20]\n20,37 unequal: No Solution\nExploring Operation: 25+45=70, Resulting Numbers: [70]\n70,37 unequal: No Solution\nExploring Operation: 25*45=1125, Resulting Numbers: [1125]\n1125,37 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 37:[33, 59], Operations: ['99-15=84', '84-25=59']\nExploring Operation: 59-33=26, Resulting Numbers: [26]\n26,37 unequal: No Solution\nExploring Operation: 33*59=1947, Resulting Numbers: [1947]\n1947,37 unequal: No Solution\nExploring Operation: 33+59=92, Resulting Numbers: [92]\n92,37 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 37:[15, 41], Operations: ['99-33=66', '66-25=41']\nExploring Operation: 15*41=615, Resulting Numbers: [615]\n615,37 unequal: No Solution\nExploring Operation: 15+41=56, Resulting Numbers: [56]\n56,37 unequal: No Solution\nExploring Operation: 41-15=26, Resulting Numbers: [26]\n26,37 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 37:[25, 51], Operations: ['99-15=84', '84-33=51']\nExploring Operation: 25+51=76, Resulting Numbers: [76]\n76,37 unequal: No Solution\nExploring Operation: 25*51=1275, Resulting Numbers: [1275]\n1275,37 unequal: No Solution\nExploring Operation: 51-25=26, Resulting Numbers: [26]\n26,37 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 37:[26], Operations: ['99-15=84', '84-25=59', '59-33=26']\nMoving to Node #0,3,3,0\nCurrent State: 37:[26], Operations: ['99-33=66', '66-25=41', '41-15=26']\nMoving to Node #0,0,3,0\nCurrent State: 37:[26], Operations: ['99-15=84', '84-33=51', '51-25=26']\nMoving to Node #0,3,0\nCurrent State: 37:[25, 51], Operations: ['99-33=66', '66-15=51']\nExploring Operation: 51-25=26, Resulting Numbers: [26]\n26,37 unequal: No Solution\nExploring Operation: 25+51=76, Resulting Numbers: [76]\n76,37 unequal: No Solution\nExploring Operation: 25*51=1275, Resulting Numbers: [1275]\n1275,37 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 37:[26], Operations: ['99-33=66', '66-15=51', '51-25=26']\nMoving to Node #0,1,3\nCurrent State: 37:[15, 41], Operations: ['99-25=74', '74-33=41']\nExploring Operation: 15*41=615, Resulting Numbers: [615]\n615,37 unequal: No Solution\nExploring Operation: 41-15=26, Resulting Numbers: [26]\n26,37 unequal: No Solution\nExploring Operation: 15+41=56, Resulting Numbers: [56]\n56,37 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 37:[33, 59], Operations: ['99-25=74', '74-15=59']\nExploring Operation: 33*59=1947, Resulting Numbers: [1947]\n1947,37 unequal: No Solution\nExploring Operation: 59-33=26, Resulting Numbers: [26]\n26,37 unequal: No Solution\nExploring Operation: 33+59=92, Resulting Numbers: [92]\n92,37 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 37:[25, 18], Operations: ['99/33=3', '15+3=18']\nExploring Operation: 25*18=450, Resulting Numbers: [450]\n450,37 unequal: No Solution\nExploring Operation: 25+18=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nExploring Operation: 25-18=7, Resulting Numbers: [7]\n7,37 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 37:[43], Operations: ['99/33=3', '15+3=18', '25+18=43']\nMoving to Node #0,1,3,0\nCurrent State: 37:[26], Operations: ['99-25=74', '74-33=41', '41-15=26']\nMoving to Node #0,1,0,0\nCurrent State: 37:[26], Operations: ['99-25=74', '74-15=59', '59-33=26']\nMoving to Node #0,2,3\nCurrent State: 37:[15, 28], Operations: ['99/33=3', '25+3=28']\nExploring Operation: 15*28=420, Resulting Numbers: [420]\n420,37 unequal: No Solution\nExploring Operation: 15+28=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nExploring Operation: 28-15=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 37:[43], Operations: ['99/33=3', '25+3=28', '15+28=43']\nMoving to Node #0,3,2\nCurrent State: 37:[66, 40], Operations: ['99-33=66', '25+15=40']\nExploring Operation: 66+40=106, Resulting Numbers: [106]\n106,37 unequal: No Solution\nExploring Operation: 66-40=26, Resulting Numbers: [26]\n26,37 unequal: No Solution\nExploring Operation: 66*40=2640, Resulting Numbers: [2640]\n2640,37 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 37:[20], Operations: ['99/33=3', '15*3=45', '45-25=20']\nMoving to Node #0,2,2\nCurrent State: 37:[3, 40], Operations: ['99/33=3', '25+15=40']\nExploring Operation: 3*40=120, Resulting Numbers: [120]\n120,37 unequal: No Solution\nExploring Operation: 3+40=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nExploring Operation: 40-3=37, Resulting Numbers: [37]\n37,37 equal: Goal Reached\n", "role": "assistant" } ]
[ 92, 44, 20, 62 ]
13
[ "20*62=1240", "1240-44=1196", "1196/92=13" ]
Current State: 13:[92, 44, 20, 62], Operations: [] Exploring Operation: 62-44=18, Resulting Numbers: [92, 20, 18] Generated Node #0,0: 13:[92, 20, 18] Operation: 62-44=18 Exploring Operation: 92-62=30, Resulting Numbers: [44, 20, 30] Generated Node #0,1: 13:[44, 20, 30] Operation: 92-62=30 Exploring Operation: 92-20=72, Resulting Numbers: [44, 62, 72] Generated Node #0,2: 13:[44, 62, 72] Operation: 92-20=72 Exploring Operation: 92-44=48, Resulting Numbers: [20, 62, 48] Generated Node #0,3: 13:[20, 62, 48] Operation: 92-44=48 Moving to Node #0,1 Current State: 13:[44, 20, 30], Operations: ['92-62=30'] Exploring Operation: 30-20=10, Resulting Numbers: [44, 10] Generated Node #0,1,0: 13:[44, 10] Operation: 30-20=10 Exploring Operation: 44-30=14, Resulting Numbers: [20, 14] Generated Node #0,1,1: 13:[20, 14] Operation: 44-30=14 Exploring Operation: 44+20=64, Resulting Numbers: [30, 64] Generated Node #0,1,2: 13:[30, 64] Operation: 44+20=64 Exploring Operation: 44-20=24, Resulting Numbers: [30, 24] Generated Node #0,1,3: 13:[30, 24] Operation: 44-20=24 Moving to Node #0,3 Current State: 13:[20, 62, 48], Operations: ['92-44=48'] Exploring Operation: 62-20=42, Resulting Numbers: [48, 42] Generated Node #0,3,0: 13:[48, 42] Operation: 62-20=42 Exploring Operation: 62-48=14, Resulting Numbers: [20, 14] Generated Node #0,3,1: 13:[20, 14] Operation: 62-48=14 Exploring Operation: 48-20=28, Resulting Numbers: [62, 28] Generated Node #0,3,2: 13:[62, 28] Operation: 48-20=28 Exploring Operation: 20+62=82, Resulting Numbers: [48, 82] Generated Node #0,3,3: 13:[48, 82] Operation: 20+62=82 Moving to Node #0,0 Current State: 13:[92, 20, 18], Operations: ['62-44=18'] Exploring Operation: 92-18=74, Resulting Numbers: [20, 74] Generated Node #0,0,0: 13:[20, 74] Operation: 92-18=74 Exploring Operation: 92-20=72, Resulting Numbers: [18, 72] Generated Node #0,0,1: 13:[18, 72] Operation: 92-20=72 Exploring Operation: 92+20=112, Resulting Numbers: [18, 112] Generated Node #0,0,2: 13:[18, 112] Operation: 92+20=112 Exploring Operation: 20-18=2, Resulting Numbers: [92, 2] Generated Node #0,0,3: 13:[92, 2] Operation: 20-18=2 Moving to Node #0,2 Current State: 13:[44, 62, 72], Operations: ['92-20=72'] Exploring Operation: 72-62=10, Resulting Numbers: [44, 10] Generated Node #0,2,0: 13:[44, 10] Operation: 72-62=10 Exploring Operation: 62-44=18, Resulting Numbers: [72, 18] Generated Node #0,2,1: 13:[72, 18] Operation: 62-44=18 Exploring Operation: 44+62=106, Resulting Numbers: [72, 106] Generated Node #0,2,2: 13:[72, 106] Operation: 44+62=106 Exploring Operation: 72-44=28, Resulting Numbers: [62, 28] Generated Node #0,2,3: 13:[62, 28] Operation: 72-44=28 Moving to Node #0,1,1 Current State: 13:[20, 14], Operations: ['92-62=30', '44-30=14'] Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,13 unequal: No Solution Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[20, 14], Operations: ['92-44=48', '62-48=14'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,13 unequal: No Solution Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[30, 24], Operations: ['92-62=30', '44-20=24'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,13 unequal: No Solution Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[44, 10], Operations: ['92-62=30', '30-20=10'] Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,13 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,13 unequal: No Solution Moving to Node #0,1,1,0 Current State: 13:[6], Operations: ['92-62=30', '44-30=14', '20-14=6'] Moving to Node #0,3,1,0 Current State: 13:[6], Operations: ['92-44=48', '62-48=14', '20-14=6'] Moving to Node #0,1,3,0 Current State: 13:[6], Operations: ['92-62=30', '44-20=24', '30-24=6'] Moving to Node #0,2,0 Current State: 13:[44, 10], Operations: ['92-20=72', '72-62=10'] Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,13 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,13 unequal: No Solution Moving to Node #0,1,1,0 Current State: 13:[34], Operations: ['92-62=30', '44-30=14', '20+14=34'] Moving to Node #0,1,0,0 Current State: 13:[34], Operations: ['92-62=30', '30-20=10', '44-10=34'] Moving to Node #0,2,0,0 Current State: 13:[34], Operations: ['92-20=72', '72-62=10', '44-10=34'] Moving to Node #0,3,1,0 Current State: 13:[34], Operations: ['92-44=48', '62-48=14', '20+14=34'] Moving to Node #0,2,1 Current State: 13:[72, 18], Operations: ['92-20=72', '62-44=18'] Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,13 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,13 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[62, 28], Operations: ['92-44=48', '48-20=28'] Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,13 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[48, 42], Operations: ['92-44=48', '62-20=42'] Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,13 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[18, 72], Operations: ['62-44=18', '92-20=72'] Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 18*72=1296, Resulting Numbers: [1296] 1296,13 unequal: No Solution Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,13 unequal: No Solution Moving to Node #0,3,0,0 Current State: 13:[6], Operations: ['92-44=48', '62-20=42', '48-42=6'] Moving to Node #0,0,1,0 Current State: 13:[4], Operations: ['62-44=18', '92-20=72', '72/18=4'] Moving to Node #0,2,1,0 Current State: 13:[4], Operations: ['92-20=72', '62-44=18', '72/18=4'] Moving to Node #0,3,2,0 Current State: 13:[34], Operations: ['92-44=48', '48-20=28', '62-28=34'] Moving to Node #0,2,3 Current State: 13:[62, 28], Operations: ['92-20=72', '72-44=28'] Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,13 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[20, 74], Operations: ['62-44=18', '92-18=74'] Exploring Operation: 20*74=1480, Resulting Numbers: [1480] 1480,13 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 20+74=94, Resulting Numbers: [94] 94,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[30, 64], Operations: ['92-62=30', '44+20=64'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,13 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,13 unequal: No Solution Moving to Node #0,0,1,0 Current State: 13:[54], Operations: ['62-44=18', '92-20=72', '72-18=54'] Moving to Node #0,2,3,0 Current State: 13:[34], Operations: ['92-20=72', '72-44=28', '62-28=34'] Moving to Node #0,1,2,0 Current State: 13:[34], Operations: ['92-62=30', '44+20=64', '64-30=34'] Moving to Node #0,0,0,0 Current State: 13:[54], Operations: ['62-44=18', '92-18=74', '74-20=54'] Moving to Node #0,1,0,0 Current State: 13:[54], Operations: ['92-62=30', '30-20=10', '44+10=54'] Moving to Node #0,1,3,0 Current State: 13:[54], Operations: ['92-62=30', '44-20=24', '30+24=54'] Moving to Node #0,2,1,0 Current State: 13:[54], Operations: ['92-20=72', '62-44=18', '72-18=54'] Moving to Node #0,2,0,0 Current State: 13:[54], Operations: ['92-20=72', '72-62=10', '44+10=54'] Moving to Node #0,0,3 Current State: 13:[92, 2], Operations: ['62-44=18', '20-18=2'] Exploring Operation: 92*2=184, Resulting Numbers: [184] 184,13 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,13 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,13 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,13 unequal: No Solution Moving to Node #0,0,3,0 Current State: 13:[46], Operations: ['62-44=18', '20-18=2', '92/2=46'] Moving to Node #0,0,2 Current State: 13:[18, 112], Operations: ['62-44=18', '92+20=112'] Exploring Operation: 18*112=2016, Resulting Numbers: [2016] 2016,13 unequal: No Solution Exploring Operation: 18+112=130, Resulting Numbers: [130] 130,13 unequal: No Solution Exploring Operation: 112-18=94, Resulting Numbers: [94] 94,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[48, 82], Operations: ['92-44=48', '20+62=82'] Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 48*82=3936, Resulting Numbers: [3936] 3936,13 unequal: No Solution Exploring Operation: 48+82=130, Resulting Numbers: [130] 130,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[72, 106], Operations: ['92-20=72', '44+62=106'] Exploring Operation: 72+106=178, Resulting Numbers: [178] 178,13 unequal: No Solution Exploring Operation: 106-72=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 72*106=7632, Resulting Numbers: [7632] 7632,13 unequal: No Solution Moving to Node #0,3,3,0 Current State: 13:[34], Operations: ['92-44=48', '20+62=82', '82-48=34'] Moving to Node #0,2,2,0 Current State: 13:[34], Operations: ['92-20=72', '44+62=106', '106-72=34'] Moving to Node #0,0,1,0 Current State: 13:[90], Operations: ['62-44=18', '92-20=72', '18+72=90'] Moving to Node #0,3,0,0 Current State: 13:[90], Operations: ['92-44=48', '62-20=42', '48+42=90'] Moving to Node #0,0,3,0 Current State: 13:[90], Operations: ['62-44=18', '20-18=2', '92-2=90'] Moving to Node #0,2,3,0 Current State: 13:[90], Operations: ['92-20=72', '72-44=28', '62+28=90'] Moving to Node #0,3,2,0 Current State: 13:[90], Operations: ['92-44=48', '48-20=28', '62+28=90'] Moving to Node #0,2,1,0 Current State: 13:[90], Operations: ['92-20=72', '62-44=18', '72+18=90'] Moving to Node #0,1,2,0 Current State: 13:[94], Operations: ['92-62=30', '44+20=64', '30+64=94'] Moving to Node #0,0,0,0 Current State: 13:[94], Operations: ['62-44=18', '92-18=74', '20+74=94'] Moving to Node #0,0,2,0 Current State: 13:[94], Operations: ['62-44=18', '92+20=112', '112-18=94'] Moving to Node #0,0,3,0 Current State: 13:[94], Operations: ['62-44=18', '20-18=2', '92+2=94'] Moving to Node #0,3,3,0 Current State: 13:[130], Operations: ['92-44=48', '20+62=82', '48+82=130'] Moving to Node #0,0,2,0 Current State: 13:[130], Operations: ['62-44=18', '92+20=112', '18+112=130'] Moving to Node #0,2,2,0 Current State: 13:[178], Operations: ['92-20=72', '44+62=106', '72+106=178'] Moving to Node #0,0,3,0 Current State: 13:[184], Operations: ['62-44=18', '20-18=2', '92*2=184'] Moving to Node #0,1,1,0 Current State: 13:[280], Operations: ['92-62=30', '44-30=14', '20*14=280'] Moving to Node #0,3,1,0 Current State: 13:[280], Operations: ['92-44=48', '62-48=14', '20*14=280'] Moving to Node #0,1,0,0 Current State: 13:[440], Operations: ['92-62=30', '30-20=10', '44*10=440'] Moving to Node #0,2,0,0 Current State: 13:[440], Operations: ['92-20=72', '72-62=10', '44*10=440'] Moving to Node #0,1,3,0 Current State: 13:[720], Operations: ['92-62=30', '44-20=24', '30*24=720'] Moving to Node #0,2,1,0 Current State: 13:[1296], Operations: ['92-20=72', '62-44=18', '72*18=1296'] Moving to Node #0,0,1,0 Current State: 13:[1296], Operations: ['62-44=18', '92-20=72', '18*72=1296'] Moving to Node #0,0,0,0 Current State: 13:[1480], Operations: ['62-44=18', '92-18=74', '20*74=1480'] Moving to Node #0,2,3,0 Current State: 13:[1736], Operations: ['92-20=72', '72-44=28', '62*28=1736'] Moving to Node #0,3,2,0 Current State: 13:[1736], Operations: ['92-44=48', '48-20=28', '62*28=1736'] Moving to Node #0,1,2,0 Current State: 13:[1920], Operations: ['92-62=30', '44+20=64', '30*64=1920'] Moving to Node #0,0,2,0 Current State: 13:[2016], Operations: ['62-44=18', '92+20=112', '18*112=2016'] Moving to Node #0,3,0,0 Current State: 13:[2016], Operations: ['92-44=48', '62-20=42', '48*42=2016'] Moving to Node #0,3,3,0 Current State: 13:[3936], Operations: ['92-44=48', '20+62=82', '48*82=3936'] Moving to Node #0,2,2,0 Current State: 13:[7632], Operations: ['92-20=72', '44+62=106', '72*106=7632'] No solution found.
0
bfs_4
Current State: 13:[92, 44, 20, 62], Operations: [] Exploring Operation: 20*62=1240, Resulting Numbers: [92, 44, 1240] Generated Node #2: [92, 44, 1240] from Operation: 20*62=1240 Current State: 13:[92, 44, 1240], Operations: ['20*62=1240'] Exploring Operation: 1240-44=1196, Resulting Numbers: [92, 1196] Generated Node #3: [92, 1196] from Operation: 1240-44=1196 Current State: 13:[92, 1196], Operations: ['20*62=1240', '1240-44=1196'] Exploring Operation: 1196/92=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
sum_heuristic
[ { "content": "Make 13 with the numbers [92, 44, 20, 62] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 13:[92, 44, 20, 62], Operations: []\nExploring Operation: 62-44=18, Resulting Numbers: [92, 20, 18]\nGenerated Node #0,0: 13:[92, 20, 18] Operation: 62-44=18\nExploring Operation: 92-62=30, Resulting Numbers: [44, 20, 30]\nGenerated Node #0,1: 13:[44, 20, 30] Operation: 92-62=30\nExploring Operation: 92-20=72, Resulting Numbers: [44, 62, 72]\nGenerated Node #0,2: 13:[44, 62, 72] Operation: 92-20=72\nExploring Operation: 92-44=48, Resulting Numbers: [20, 62, 48]\nGenerated Node #0,3: 13:[20, 62, 48] Operation: 92-44=48\nMoving to Node #0,1\nCurrent State: 13:[44, 20, 30], Operations: ['92-62=30']\nExploring Operation: 30-20=10, Resulting Numbers: [44, 10]\nGenerated Node #0,1,0: 13:[44, 10] Operation: 30-20=10\nExploring Operation: 44-30=14, Resulting Numbers: [20, 14]\nGenerated Node #0,1,1: 13:[20, 14] Operation: 44-30=14\nExploring Operation: 44+20=64, Resulting Numbers: [30, 64]\nGenerated Node #0,1,2: 13:[30, 64] Operation: 44+20=64\nExploring Operation: 44-20=24, Resulting Numbers: [30, 24]\nGenerated Node #0,1,3: 13:[30, 24] Operation: 44-20=24\nMoving to Node #0,3\nCurrent State: 13:[20, 62, 48], Operations: ['92-44=48']\nExploring Operation: 62-20=42, Resulting Numbers: [48, 42]\nGenerated Node #0,3,0: 13:[48, 42] Operation: 62-20=42\nExploring Operation: 62-48=14, Resulting Numbers: [20, 14]\nGenerated Node #0,3,1: 13:[20, 14] Operation: 62-48=14\nExploring Operation: 48-20=28, Resulting Numbers: [62, 28]\nGenerated Node #0,3,2: 13:[62, 28] Operation: 48-20=28\nExploring Operation: 20+62=82, Resulting Numbers: [48, 82]\nGenerated Node #0,3,3: 13:[48, 82] Operation: 20+62=82\nMoving to Node #0,0\nCurrent State: 13:[92, 20, 18], Operations: ['62-44=18']\nExploring Operation: 92-18=74, Resulting Numbers: [20, 74]\nGenerated Node #0,0,0: 13:[20, 74] Operation: 92-18=74\nExploring Operation: 92-20=72, Resulting Numbers: [18, 72]\nGenerated Node #0,0,1: 13:[18, 72] Operation: 92-20=72\nExploring Operation: 92+20=112, Resulting Numbers: [18, 112]\nGenerated Node #0,0,2: 13:[18, 112] Operation: 92+20=112\nExploring Operation: 20-18=2, Resulting Numbers: [92, 2]\nGenerated Node #0,0,3: 13:[92, 2] Operation: 20-18=2\nMoving to Node #0,2\nCurrent State: 13:[44, 62, 72], Operations: ['92-20=72']\nExploring Operation: 72-62=10, Resulting Numbers: [44, 10]\nGenerated Node #0,2,0: 13:[44, 10] Operation: 72-62=10\nExploring Operation: 62-44=18, Resulting Numbers: [72, 18]\nGenerated Node #0,2,1: 13:[72, 18] Operation: 62-44=18\nExploring Operation: 44+62=106, Resulting Numbers: [72, 106]\nGenerated Node #0,2,2: 13:[72, 106] Operation: 44+62=106\nExploring Operation: 72-44=28, Resulting Numbers: [62, 28]\nGenerated Node #0,2,3: 13:[62, 28] Operation: 72-44=28\nMoving to Node #0,1,1\nCurrent State: 13:[20, 14], Operations: ['92-62=30', '44-30=14']\nExploring Operation: 20*14=280, Resulting Numbers: [280]\n280,13 unequal: No Solution\nExploring Operation: 20+14=34, Resulting Numbers: [34]\n34,13 unequal: No Solution\nExploring Operation: 20-14=6, Resulting Numbers: [6]\n6,13 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 13:[20, 14], Operations: ['92-44=48', '62-48=14']\nExploring Operation: 20-14=6, Resulting Numbers: [6]\n6,13 unequal: No Solution\nExploring Operation: 20*14=280, Resulting Numbers: [280]\n280,13 unequal: No Solution\nExploring Operation: 20+14=34, Resulting Numbers: [34]\n34,13 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 13:[30, 24], Operations: ['92-62=30', '44-20=24']\nExploring Operation: 30-24=6, Resulting Numbers: [6]\n6,13 unequal: No Solution\nExploring Operation: 30*24=720, Resulting Numbers: [720]\n720,13 unequal: No Solution\nExploring Operation: 30+24=54, Resulting Numbers: [54]\n54,13 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 13:[44, 10], Operations: ['92-62=30', '30-20=10']\nExploring Operation: 44*10=440, Resulting Numbers: [440]\n440,13 unequal: No Solution\nExploring Operation: 44-10=34, Resulting Numbers: [34]\n34,13 unequal: No Solution\nExploring Operation: 44+10=54, Resulting Numbers: [54]\n54,13 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 13:[6], Operations: ['92-62=30', '44-30=14', '20-14=6']\nMoving to Node #0,3,1,0\nCurrent State: 13:[6], Operations: ['92-44=48', '62-48=14', '20-14=6']\nMoving to Node #0,1,3,0\nCurrent State: 13:[6], Operations: ['92-62=30', '44-20=24', '30-24=6']\nMoving to Node #0,2,0\nCurrent State: 13:[44, 10], Operations: ['92-20=72', '72-62=10']\nExploring Operation: 44*10=440, Resulting Numbers: [440]\n440,13 unequal: No Solution\nExploring Operation: 44-10=34, Resulting Numbers: [34]\n34,13 unequal: No Solution\nExploring Operation: 44+10=54, Resulting Numbers: [54]\n54,13 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 13:[34], Operations: ['92-62=30', '44-30=14', '20+14=34']\nMoving to Node #0,1,0,0\nCurrent State: 13:[34], Operations: ['92-62=30', '30-20=10', '44-10=34']\nMoving to Node #0,2,0,0\nCurrent State: 13:[34], Operations: ['92-20=72', '72-62=10', '44-10=34']\nMoving to Node #0,3,1,0\nCurrent State: 13:[34], Operations: ['92-44=48', '62-48=14', '20+14=34']\nMoving to Node #0,2,1\nCurrent State: 13:[72, 18], Operations: ['92-20=72', '62-44=18']\nExploring Operation: 72-18=54, Resulting Numbers: [54]\n54,13 unequal: No Solution\nExploring Operation: 72*18=1296, Resulting Numbers: [1296]\n1296,13 unequal: No Solution\nExploring Operation: 72+18=90, Resulting Numbers: [90]\n90,13 unequal: No Solution\nExploring Operation: 72/18=4, Resulting Numbers: [4]\n4,13 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 13:[62, 28], Operations: ['92-44=48', '48-20=28']\nExploring Operation: 62*28=1736, Resulting Numbers: [1736]\n1736,13 unequal: No Solution\nExploring Operation: 62-28=34, Resulting Numbers: [34]\n34,13 unequal: No Solution\nExploring Operation: 62+28=90, Resulting Numbers: [90]\n90,13 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 13:[48, 42], Operations: ['92-44=48', '62-20=42']\nExploring Operation: 48*42=2016, Resulting Numbers: [2016]\n2016,13 unequal: No Solution\nExploring Operation: 48-42=6, Resulting Numbers: [6]\n6,13 unequal: No Solution\nExploring Operation: 48+42=90, Resulting Numbers: [90]\n90,13 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 13:[18, 72], Operations: ['62-44=18', '92-20=72']\nExploring Operation: 72-18=54, Resulting Numbers: [54]\n54,13 unequal: No Solution\nExploring Operation: 72/18=4, Resulting Numbers: [4]\n4,13 unequal: No Solution\nExploring Operation: 18*72=1296, Resulting Numbers: [1296]\n1296,13 unequal: No Solution\nExploring Operation: 18+72=90, Resulting Numbers: [90]\n90,13 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 13:[6], Operations: ['92-44=48', '62-20=42', '48-42=6']\nMoving to Node #0,0,1,0\nCurrent State: 13:[4], Operations: ['62-44=18', '92-20=72', '72/18=4']\nMoving to Node #0,2,1,0\nCurrent State: 13:[4], Operations: ['92-20=72', '62-44=18', '72/18=4']\nMoving to Node #0,3,2,0\nCurrent State: 13:[34], Operations: ['92-44=48', '48-20=28', '62-28=34']\nMoving to Node #0,2,3\nCurrent State: 13:[62, 28], Operations: ['92-20=72', '72-44=28']\nExploring Operation: 62+28=90, Resulting Numbers: [90]\n90,13 unequal: No Solution\nExploring Operation: 62-28=34, Resulting Numbers: [34]\n34,13 unequal: No Solution\nExploring Operation: 62*28=1736, Resulting Numbers: [1736]\n1736,13 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 13:[20, 74], Operations: ['62-44=18', '92-18=74']\nExploring Operation: 20*74=1480, Resulting Numbers: [1480]\n1480,13 unequal: No Solution\nExploring Operation: 74-20=54, Resulting Numbers: [54]\n54,13 unequal: No Solution\nExploring Operation: 20+74=94, Resulting Numbers: [94]\n94,13 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 13:[30, 64], Operations: ['92-62=30', '44+20=64']\nExploring Operation: 64-30=34, Resulting Numbers: [34]\n34,13 unequal: No Solution\nExploring Operation: 30*64=1920, Resulting Numbers: [1920]\n1920,13 unequal: No Solution\nExploring Operation: 30+64=94, Resulting Numbers: [94]\n94,13 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 13:[54], Operations: ['62-44=18', '92-20=72', '72-18=54']\nMoving to Node #0,2,3,0\nCurrent State: 13:[34], Operations: ['92-20=72', '72-44=28', '62-28=34']\nMoving to Node #0,1,2,0\nCurrent State: 13:[34], Operations: ['92-62=30', '44+20=64', '64-30=34']\nMoving to Node #0,0,0,0\nCurrent State: 13:[54], Operations: ['62-44=18', '92-18=74', '74-20=54']\nMoving to Node #0,1,0,0\nCurrent State: 13:[54], Operations: ['92-62=30', '30-20=10', '44+10=54']\nMoving to Node #0,1,3,0\nCurrent State: 13:[54], Operations: ['92-62=30', '44-20=24', '30+24=54']\nMoving to Node #0,2,1,0\nCurrent State: 13:[54], Operations: ['92-20=72', '62-44=18', '72-18=54']\nMoving to Node #0,2,0,0\nCurrent State: 13:[54], Operations: ['92-20=72', '72-62=10', '44+10=54']\nMoving to Node #0,0,3\nCurrent State: 13:[92, 2], Operations: ['62-44=18', '20-18=2']\nExploring Operation: 92*2=184, Resulting Numbers: [184]\n184,13 unequal: No Solution\nExploring Operation: 92+2=94, Resulting Numbers: [94]\n94,13 unequal: No Solution\nExploring Operation: 92-2=90, Resulting Numbers: [90]\n90,13 unequal: No Solution\nExploring Operation: 92/2=46, Resulting Numbers: [46]\n46,13 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 13:[46], Operations: ['62-44=18', '20-18=2', '92/2=46']\nMoving to Node #0,0,2\nCurrent State: 13:[18, 112], Operations: ['62-44=18', '92+20=112']\nExploring Operation: 18*112=2016, Resulting Numbers: [2016]\n2016,13 unequal: No Solution\nExploring Operation: 18+112=130, Resulting Numbers: [130]\n130,13 unequal: No Solution\nExploring Operation: 112-18=94, Resulting Numbers: [94]\n94,13 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 13:[48, 82], Operations: ['92-44=48', '20+62=82']\nExploring Operation: 82-48=34, Resulting Numbers: [34]\n34,13 unequal: No Solution\nExploring Operation: 48*82=3936, Resulting Numbers: [3936]\n3936,13 unequal: No Solution\nExploring Operation: 48+82=130, Resulting Numbers: [130]\n130,13 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 13:[72, 106], Operations: ['92-20=72', '44+62=106']\nExploring Operation: 72+106=178, Resulting Numbers: [178]\n178,13 unequal: No Solution\nExploring Operation: 106-72=34, Resulting Numbers: [34]\n34,13 unequal: No Solution\nExploring Operation: 72*106=7632, Resulting Numbers: [7632]\n7632,13 unequal: No Solution\nMoving to Node #0,3,3,0\nCurrent State: 13:[34], Operations: ['92-44=48', '20+62=82', '82-48=34']\nMoving to Node #0,2,2,0\nCurrent State: 13:[34], Operations: ['92-20=72', '44+62=106', '106-72=34']\nMoving to Node #0,0,1,0\nCurrent State: 13:[90], Operations: ['62-44=18', '92-20=72', '18+72=90']\nMoving to Node #0,3,0,0\nCurrent State: 13:[90], Operations: ['92-44=48', '62-20=42', '48+42=90']\nMoving to Node #0,0,3,0\nCurrent State: 13:[90], Operations: ['62-44=18', '20-18=2', '92-2=90']\nMoving to Node #0,2,3,0\nCurrent State: 13:[90], Operations: ['92-20=72', '72-44=28', '62+28=90']\nMoving to Node #0,3,2,0\nCurrent State: 13:[90], Operations: ['92-44=48', '48-20=28', '62+28=90']\nMoving to Node #0,2,1,0\nCurrent State: 13:[90], Operations: ['92-20=72', '62-44=18', '72+18=90']\nMoving to Node #0,1,2,0\nCurrent State: 13:[94], Operations: ['92-62=30', '44+20=64', '30+64=94']\nMoving to Node #0,0,0,0\nCurrent State: 13:[94], Operations: ['62-44=18', '92-18=74', '20+74=94']\nMoving to Node #0,0,2,0\nCurrent State: 13:[94], Operations: ['62-44=18', '92+20=112', '112-18=94']\nMoving to Node #0,0,3,0\nCurrent State: 13:[94], Operations: ['62-44=18', '20-18=2', '92+2=94']\nMoving to Node #0,3,3,0\nCurrent State: 13:[130], Operations: ['92-44=48', '20+62=82', '48+82=130']\nMoving to Node #0,0,2,0\nCurrent State: 13:[130], Operations: ['62-44=18', '92+20=112', '18+112=130']\nMoving to Node #0,2,2,0\nCurrent State: 13:[178], Operations: ['92-20=72', '44+62=106', '72+106=178']\nMoving to Node #0,0,3,0\nCurrent State: 13:[184], Operations: ['62-44=18', '20-18=2', '92*2=184']\nMoving to Node #0,1,1,0\nCurrent State: 13:[280], Operations: ['92-62=30', '44-30=14', '20*14=280']\nMoving to Node #0,3,1,0\nCurrent State: 13:[280], Operations: ['92-44=48', '62-48=14', '20*14=280']\nMoving to Node #0,1,0,0\nCurrent State: 13:[440], Operations: ['92-62=30', '30-20=10', '44*10=440']\nMoving to Node #0,2,0,0\nCurrent State: 13:[440], Operations: ['92-20=72', '72-62=10', '44*10=440']\nMoving to Node #0,1,3,0\nCurrent State: 13:[720], Operations: ['92-62=30', '44-20=24', '30*24=720']\nMoving to Node #0,2,1,0\nCurrent State: 13:[1296], Operations: ['92-20=72', '62-44=18', '72*18=1296']\nMoving to Node #0,0,1,0\nCurrent State: 13:[1296], Operations: ['62-44=18', '92-20=72', '18*72=1296']\nMoving to Node #0,0,0,0\nCurrent State: 13:[1480], Operations: ['62-44=18', '92-18=74', '20*74=1480']\nMoving to Node #0,2,3,0\nCurrent State: 13:[1736], Operations: ['92-20=72', '72-44=28', '62*28=1736']\nMoving to Node #0,3,2,0\nCurrent State: 13:[1736], Operations: ['92-44=48', '48-20=28', '62*28=1736']\nMoving to Node #0,1,2,0\nCurrent State: 13:[1920], Operations: ['92-62=30', '44+20=64', '30*64=1920']\nMoving to Node #0,0,2,0\nCurrent State: 13:[2016], Operations: ['62-44=18', '92+20=112', '18*112=2016']\nMoving to Node #0,3,0,0\nCurrent State: 13:[2016], Operations: ['92-44=48', '62-20=42', '48*42=2016']\nMoving to Node #0,3,3,0\nCurrent State: 13:[3936], Operations: ['92-44=48', '20+62=82', '48*82=3936']\nMoving to Node #0,2,2,0\nCurrent State: 13:[7632], Operations: ['92-20=72', '44+62=106', '72*106=7632']\nNo solution found.", "role": "assistant" } ]
[ 99, 80, 40, 1 ]
33
[ "80/40=2", "1+2=3", "99/3=33" ]
Current State: 33:[99, 80, 40, 1], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [40, 1, 19] Generated Node #0,0: 33:[40, 1, 19] Operation: 99-80=19 Exploring Operation: 99-1=98, Resulting Numbers: [80, 40, 98] Generated Node #0,1: 33:[80, 40, 98] Operation: 99-1=98 Exploring Operation: 80-40=40, Resulting Numbers: [99, 1, 40] Generated Node #0,2: 33:[99, 1, 40] Operation: 80-40=40 Exploring Operation: 99-40=59, Resulting Numbers: [80, 1, 59] Generated Node #0,3: 33:[80, 1, 59] Operation: 99-40=59 Exploring Operation: 80/40=2, Resulting Numbers: [99, 1, 2] Generated Node #0,4: 33:[99, 1, 2] Operation: 80/40=2 Moving to Node #0,0 Current State: 33:[40, 1, 19], Operations: ['99-80=19'] Exploring Operation: 40-19=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 33:[1, 21] Operation: 40-19=21 Exploring Operation: 40-1=39, Resulting Numbers: [19, 39] Generated Node #0,0,1: 33:[19, 39] Operation: 40-1=39 Exploring Operation: 19-1=18, Resulting Numbers: [40, 18] Generated Node #0,0,2: 33:[40, 18] Operation: 19-1=18 Exploring Operation: 40*1=40, Resulting Numbers: [19, 40] Generated Node #0,0,3: 33:[19, 40] Operation: 40*1=40 Exploring Operation: 40/1=40, Resulting Numbers: [19, 40] Generated Node #0,0,4: 33:[19, 40] Operation: 40/1=40 Moving to Node #0,4 Current State: 33:[99, 1, 2], Operations: ['80/40=2'] Exploring Operation: 99-2=97, Resulting Numbers: [1, 97] Generated Node #0,4,0: 33:[1, 97] Operation: 99-2=97 Exploring Operation: 99*1=99, Resulting Numbers: [2, 99] Generated Node #0,4,1: 33:[2, 99] Operation: 99*1=99 Exploring Operation: 1+2=3, Resulting Numbers: [99, 3] Generated Node #0,4,2: 33:[99, 3] Operation: 1+2=3 Exploring Operation: 99-1=98, Resulting Numbers: [2, 98] Generated Node #0,4,3: 33:[2, 98] Operation: 99-1=98 Exploring Operation: 99/1=99, Resulting Numbers: [2, 99] Generated Node #0,4,4: 33:[2, 99] Operation: 99/1=99 Moving to Node #0,2 Current State: 33:[99, 1, 40], Operations: ['80-40=40'] Exploring Operation: 99/1=99, Resulting Numbers: [40, 99] Generated Node #0,2,0: 33:[40, 99] Operation: 99/1=99 Exploring Operation: 99-40=59, Resulting Numbers: [1, 59] Generated Node #0,2,1: 33:[1, 59] Operation: 99-40=59 Exploring Operation: 99*1=99, Resulting Numbers: [40, 99] Generated Node #0,2,2: 33:[40, 99] Operation: 99*1=99 Exploring Operation: 40-1=39, Resulting Numbers: [99, 39] Generated Node #0,2,3: 33:[99, 39] Operation: 40-1=39 Exploring Operation: 99-1=98, Resulting Numbers: [40, 98] Generated Node #0,2,4: 33:[40, 98] Operation: 99-1=98 Moving to Node #0,3 Current State: 33:[80, 1, 59], Operations: ['99-40=59'] Exploring Operation: 80-1=79, Resulting Numbers: [59, 79] Generated Node #0,3,0: 33:[59, 79] Operation: 80-1=79 Exploring Operation: 80/1=80, Resulting Numbers: [59, 80] Generated Node #0,3,1: 33:[59, 80] Operation: 80/1=80 Exploring Operation: 59-1=58, Resulting Numbers: [80, 58] Generated Node #0,3,2: 33:[80, 58] Operation: 59-1=58 Exploring Operation: 80*1=80, Resulting Numbers: [59, 80] Generated Node #0,3,3: 33:[59, 80] Operation: 80*1=80 Exploring Operation: 80-59=21, Resulting Numbers: [1, 21] Generated Node #0,3,4: 33:[1, 21] Operation: 80-59=21 Moving to Node #0,1 Current State: 33:[80, 40, 98], Operations: ['99-1=98'] Exploring Operation: 80-40=40, Resulting Numbers: [98, 40] Generated Node #0,1,0: 33:[98, 40] Operation: 80-40=40 Exploring Operation: 98-80=18, Resulting Numbers: [40, 18] Generated Node #0,1,1: 33:[40, 18] Operation: 98-80=18 Exploring Operation: 98-40=58, Resulting Numbers: [80, 58] Generated Node #0,1,2: 33:[80, 58] Operation: 98-40=58 Exploring Operation: 80+40=120, Resulting Numbers: [98, 120] Generated Node #0,1,3: 33:[98, 120] Operation: 80+40=120 Exploring Operation: 80/40=2, Resulting Numbers: [98, 2] Generated Node #0,1,4: 33:[98, 2] Operation: 80/40=2 Moving to Node #0,0,0 Current State: 33:[1, 21], Operations: ['99-80=19', '40-19=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,33 unequal: No Solution Moving to Node #0,3,4 Current State: 33:[1, 21], Operations: ['99-40=59', '80-59=21'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[40, 18], Operations: ['99-80=19', '19-1=18'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[40, 18], Operations: ['99-1=98', '98-80=18'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,33 unequal: No Solution Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[19, 39], Operations: ['99-80=19', '40-1=39'] Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,33 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,33 unequal: No Solution Moving to Node #0,0,0,0 Current State: 33:[20], Operations: ['99-80=19', '40-19=21', '21-1=20'] Moving to Node #0,3,4,0 Current State: 33:[20], Operations: ['99-40=59', '80-59=21', '21-1=20'] Moving to Node #0,0,1,0 Current State: 33:[20], Operations: ['99-80=19', '40-1=39', '39-19=20'] Moving to Node #0,3,4,0 Current State: 33:[21], Operations: ['99-40=59', '80-59=21', '21/1=21'] Moving to Node #0,3,4,0 Current State: 33:[21], Operations: ['99-40=59', '80-59=21', '1*21=21'] Moving to Node #0,0,0,0 Current State: 33:[21], Operations: ['99-80=19', '40-19=21', '21/1=21'] Moving to Node #0,0,0,0 Current State: 33:[21], Operations: ['99-80=19', '40-19=21', '1*21=21'] Moving to Node #0,3,4,0 Current State: 33:[22], Operations: ['99-40=59', '80-59=21', '1+21=22'] Moving to Node #0,0,2,0 Current State: 33:[22], Operations: ['99-80=19', '19-1=18', '40-18=22'] Moving to Node #0,0,0,0 Current State: 33:[22], Operations: ['99-80=19', '40-19=21', '1+21=22'] Moving to Node #0,1,1,0 Current State: 33:[22], Operations: ['99-1=98', '98-80=18', '40-18=22'] Moving to Node #0,0,4 Current State: 33:[19, 40], Operations: ['99-80=19', '40/1=40'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[19, 40], Operations: ['99-80=19', '40*1=40'] Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,33 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,33 unequal: No Solution Moving to Node #0,0,2,0 Current State: 33:[58], Operations: ['99-80=19', '19-1=18', '40+18=58'] Moving to Node #0,0,1,0 Current State: 33:[58], Operations: ['99-80=19', '40-1=39', '19+39=58'] Moving to Node #0,0,4,0 Current State: 33:[21], Operations: ['99-80=19', '40/1=40', '40-19=21'] Moving to Node #0,0,3,0 Current State: 33:[21], Operations: ['99-80=19', '40*1=40', '40-19=21'] Moving to Node #0,1,1,0 Current State: 33:[58], Operations: ['99-1=98', '98-80=18', '40+18=58'] Moving to Node #0,0,4,0 Current State: 33:[59], Operations: ['99-80=19', '40/1=40', '19+40=59'] Moving to Node #0,0,3,0 Current State: 33:[59], Operations: ['99-80=19', '40*1=40', '19+40=59'] Moving to Node #0,2,1 Current State: 33:[1, 59], Operations: ['80-40=40', '99-40=59'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 1+59=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 1*59=59, Resulting Numbers: [59] 59,33 unequal: No Solution Moving to Node #0,4,2 Current State: 33:[99, 3], Operations: ['80/40=2', '1+2=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.947917
bfs_5
Current State: 33:[99, 80, 40, 1], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [99, 1, 2] Generated Node #2: [99, 1, 2] from Operation: 80/40=2 Current State: 33:[99, 1, 2], Operations: ['80/40=2'] Exploring Operation: 1+2=3, Resulting Numbers: [99, 3] Generated Node #3: [99, 3] from Operation: 1+2=3 Current State: 33:[99, 3], Operations: ['80/40=2', '1+2=3'] Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
mult_heuristic
[ { "content": "Make 33 with the numbers [99, 80, 40, 1] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 33:[99, 80, 40, 1], Operations: []\nExploring Operation: 99-80=19, Resulting Numbers: [40, 1, 19]\nGenerated Node #0,0: 33:[40, 1, 19] Operation: 99-80=19\nExploring Operation: 99-1=98, Resulting Numbers: [80, 40, 98]\nGenerated Node #0,1: 33:[80, 40, 98] Operation: 99-1=98\nExploring Operation: 80-40=40, Resulting Numbers: [99, 1, 40]\nGenerated Node #0,2: 33:[99, 1, 40] Operation: 80-40=40\nExploring Operation: 99-40=59, Resulting Numbers: [80, 1, 59]\nGenerated Node #0,3: 33:[80, 1, 59] Operation: 99-40=59\nExploring Operation: 80/40=2, Resulting Numbers: [99, 1, 2]\nGenerated Node #0,4: 33:[99, 1, 2] Operation: 80/40=2\nMoving to Node #0,0\nCurrent State: 33:[40, 1, 19], Operations: ['99-80=19']\nExploring Operation: 40-19=21, Resulting Numbers: [1, 21]\nGenerated Node #0,0,0: 33:[1, 21] Operation: 40-19=21\nExploring Operation: 40-1=39, Resulting Numbers: [19, 39]\nGenerated Node #0,0,1: 33:[19, 39] Operation: 40-1=39\nExploring Operation: 19-1=18, Resulting Numbers: [40, 18]\nGenerated Node #0,0,2: 33:[40, 18] Operation: 19-1=18\nExploring Operation: 40*1=40, Resulting Numbers: [19, 40]\nGenerated Node #0,0,3: 33:[19, 40] Operation: 40*1=40\nExploring Operation: 40/1=40, Resulting Numbers: [19, 40]\nGenerated Node #0,0,4: 33:[19, 40] Operation: 40/1=40\nMoving to Node #0,4\nCurrent State: 33:[99, 1, 2], Operations: ['80/40=2']\nExploring Operation: 99-2=97, Resulting Numbers: [1, 97]\nGenerated Node #0,4,0: 33:[1, 97] Operation: 99-2=97\nExploring Operation: 99*1=99, Resulting Numbers: [2, 99]\nGenerated Node #0,4,1: 33:[2, 99] Operation: 99*1=99\nExploring Operation: 1+2=3, Resulting Numbers: [99, 3]\nGenerated Node #0,4,2: 33:[99, 3] Operation: 1+2=3\nExploring Operation: 99-1=98, Resulting Numbers: [2, 98]\nGenerated Node #0,4,3: 33:[2, 98] Operation: 99-1=98\nExploring Operation: 99/1=99, Resulting Numbers: [2, 99]\nGenerated Node #0,4,4: 33:[2, 99] Operation: 99/1=99\nMoving to Node #0,2\nCurrent State: 33:[99, 1, 40], Operations: ['80-40=40']\nExploring Operation: 99/1=99, Resulting Numbers: [40, 99]\nGenerated Node #0,2,0: 33:[40, 99] Operation: 99/1=99\nExploring Operation: 99-40=59, Resulting Numbers: [1, 59]\nGenerated Node #0,2,1: 33:[1, 59] Operation: 99-40=59\nExploring Operation: 99*1=99, Resulting Numbers: [40, 99]\nGenerated Node #0,2,2: 33:[40, 99] Operation: 99*1=99\nExploring Operation: 40-1=39, Resulting Numbers: [99, 39]\nGenerated Node #0,2,3: 33:[99, 39] Operation: 40-1=39\nExploring Operation: 99-1=98, Resulting Numbers: [40, 98]\nGenerated Node #0,2,4: 33:[40, 98] Operation: 99-1=98\nMoving to Node #0,3\nCurrent State: 33:[80, 1, 59], Operations: ['99-40=59']\nExploring Operation: 80-1=79, Resulting Numbers: [59, 79]\nGenerated Node #0,3,0: 33:[59, 79] Operation: 80-1=79\nExploring Operation: 80/1=80, Resulting Numbers: [59, 80]\nGenerated Node #0,3,1: 33:[59, 80] Operation: 80/1=80\nExploring Operation: 59-1=58, Resulting Numbers: [80, 58]\nGenerated Node #0,3,2: 33:[80, 58] Operation: 59-1=58\nExploring Operation: 80*1=80, Resulting Numbers: [59, 80]\nGenerated Node #0,3,3: 33:[59, 80] Operation: 80*1=80\nExploring Operation: 80-59=21, Resulting Numbers: [1, 21]\nGenerated Node #0,3,4: 33:[1, 21] Operation: 80-59=21\nMoving to Node #0,1\nCurrent State: 33:[80, 40, 98], Operations: ['99-1=98']\nExploring Operation: 80-40=40, Resulting Numbers: [98, 40]\nGenerated Node #0,1,0: 33:[98, 40] Operation: 80-40=40\nExploring Operation: 98-80=18, Resulting Numbers: [40, 18]\nGenerated Node #0,1,1: 33:[40, 18] Operation: 98-80=18\nExploring Operation: 98-40=58, Resulting Numbers: [80, 58]\nGenerated Node #0,1,2: 33:[80, 58] Operation: 98-40=58\nExploring Operation: 80+40=120, Resulting Numbers: [98, 120]\nGenerated Node #0,1,3: 33:[98, 120] Operation: 80+40=120\nExploring Operation: 80/40=2, Resulting Numbers: [98, 2]\nGenerated Node #0,1,4: 33:[98, 2] Operation: 80/40=2\nMoving to Node #0,0,0\nCurrent State: 33:[1, 21], Operations: ['99-80=19', '40-19=21']\nExploring Operation: 21-1=20, Resulting Numbers: [20]\n20,33 unequal: No Solution\nExploring Operation: 1+21=22, Resulting Numbers: [22]\n22,33 unequal: No Solution\nExploring Operation: 1*21=21, Resulting Numbers: [21]\n21,33 unequal: No Solution\nExploring Operation: 21/1=21, Resulting Numbers: [21]\n21,33 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 33:[1, 21], Operations: ['99-40=59', '80-59=21']\nExploring Operation: 21/1=21, Resulting Numbers: [21]\n21,33 unequal: No Solution\nExploring Operation: 1+21=22, Resulting Numbers: [22]\n22,33 unequal: No Solution\nExploring Operation: 21-1=20, Resulting Numbers: [20]\n20,33 unequal: No Solution\nExploring Operation: 1*21=21, Resulting Numbers: [21]\n21,33 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 33:[40, 18], Operations: ['99-80=19', '19-1=18']\nExploring Operation: 40-18=22, Resulting Numbers: [22]\n22,33 unequal: No Solution\nExploring Operation: 40+18=58, Resulting Numbers: [58]\n58,33 unequal: No Solution\nExploring Operation: 40*18=720, Resulting Numbers: [720]\n720,33 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 33:[40, 18], Operations: ['99-1=98', '98-80=18']\nExploring Operation: 40-18=22, Resulting Numbers: [22]\n22,33 unequal: No Solution\nExploring Operation: 40*18=720, Resulting Numbers: [720]\n720,33 unequal: No Solution\nExploring Operation: 40+18=58, Resulting Numbers: [58]\n58,33 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 33:[19, 39], Operations: ['99-80=19', '40-1=39']\nExploring Operation: 19*39=741, Resulting Numbers: [741]\n741,33 unequal: No Solution\nExploring Operation: 39-19=20, Resulting Numbers: [20]\n20,33 unequal: No Solution\nExploring Operation: 19+39=58, Resulting Numbers: [58]\n58,33 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 33:[20], Operations: ['99-80=19', '40-19=21', '21-1=20']\nMoving to Node #0,3,4,0\nCurrent State: 33:[20], Operations: ['99-40=59', '80-59=21', '21-1=20']\nMoving to Node #0,0,1,0\nCurrent State: 33:[20], Operations: ['99-80=19', '40-1=39', '39-19=20']\nMoving to Node #0,3,4,0\nCurrent State: 33:[21], Operations: ['99-40=59', '80-59=21', '21/1=21']\nMoving to Node #0,3,4,0\nCurrent State: 33:[21], Operations: ['99-40=59', '80-59=21', '1*21=21']\nMoving to Node #0,0,0,0\nCurrent State: 33:[21], Operations: ['99-80=19', '40-19=21', '21/1=21']\nMoving to Node #0,0,0,0\nCurrent State: 33:[21], Operations: ['99-80=19', '40-19=21', '1*21=21']\nMoving to Node #0,3,4,0\nCurrent State: 33:[22], Operations: ['99-40=59', '80-59=21', '1+21=22']\nMoving to Node #0,0,2,0\nCurrent State: 33:[22], Operations: ['99-80=19', '19-1=18', '40-18=22']\nMoving to Node #0,0,0,0\nCurrent State: 33:[22], Operations: ['99-80=19', '40-19=21', '1+21=22']\nMoving to Node #0,1,1,0\nCurrent State: 33:[22], Operations: ['99-1=98', '98-80=18', '40-18=22']\nMoving to Node #0,0,4\nCurrent State: 33:[19, 40], Operations: ['99-80=19', '40/1=40']\nExploring Operation: 40-19=21, Resulting Numbers: [21]\n21,33 unequal: No Solution\nExploring Operation: 19+40=59, Resulting Numbers: [59]\n59,33 unequal: No Solution\nExploring Operation: 19*40=760, Resulting Numbers: [760]\n760,33 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 33:[19, 40], Operations: ['99-80=19', '40*1=40']\nExploring Operation: 19*40=760, Resulting Numbers: [760]\n760,33 unequal: No Solution\nExploring Operation: 19+40=59, Resulting Numbers: [59]\n59,33 unequal: No Solution\nExploring Operation: 40-19=21, Resulting Numbers: [21]\n21,33 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 33:[58], Operations: ['99-80=19', '19-1=18', '40+18=58']\nMoving to Node #0,0,1,0\nCurrent State: 33:[58], Operations: ['99-80=19', '40-1=39', '19+39=58']\nMoving to Node #0,0,4,0\nCurrent State: 33:[21], Operations: ['99-80=19', '40/1=40', '40-19=21']\nMoving to Node #0,0,3,0\nCurrent State: 33:[21], Operations: ['99-80=19', '40*1=40', '40-19=21']\nMoving to Node #0,1,1,0\nCurrent State: 33:[58], Operations: ['99-1=98', '98-80=18', '40+18=58']\nMoving to Node #0,0,4,0\nCurrent State: 33:[59], Operations: ['99-80=19', '40/1=40', '19+40=59']\nMoving to Node #0,0,3,0\nCurrent State: 33:[59], Operations: ['99-80=19', '40*1=40', '19+40=59']\nMoving to Node #0,2,1\nCurrent State: 33:[1, 59], Operations: ['80-40=40', '99-40=59']\nExploring Operation: 59/1=59, Resulting Numbers: [59]\n59,33 unequal: No Solution\nExploring Operation: 59-1=58, Resulting Numbers: [58]\n58,33 unequal: No Solution\nExploring Operation: 1+59=60, Resulting Numbers: [60]\n60,33 unequal: No Solution\nExploring Operation: 1*59=59, Resulting Numbers: [59]\n59,33 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 33:[99, 3], Operations: ['80/40=2', '1+2=3']\nExploring Operation: 99-3=96, Resulting Numbers: [96]\n96,33 unequal: No Solution\nExploring Operation: 99/3=33, Resulting Numbers: [33]\n33,33 equal: Goal Reached\n", "role": "assistant" } ]
[ 44, 7, 62, 60 ]
66
[ "62-44=18", "7*18=126", "126-60=66" ]
Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 44+7=51, Resulting Numbers: [62, 60, 51] Generated Node #0,0: 66:[62, 60, 51] Operation: 44+7=51 Moving to Node #0,0 Current State: 66:[62, 60, 51], Operations: ['44+7=51'] Exploring Operation: 60+51=111, Resulting Numbers: [62, 111] Generated Node #0,0,0: 66:[62, 111] Operation: 60+51=111 Moving to Node #0,0,0 Current State: 66:[62, 111], Operations: ['44+7=51', '60+51=111'] Exploring Operation: 111-62=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[62, 60, 51], Operations: ['44+7=51'] Exploring Operation: 62+51=113, Resulting Numbers: [60, 113] Generated Node #0,0,1: 66:[60, 113] Operation: 62+51=113 Moving to Node #0,0,1 Current State: 66:[60, 113], Operations: ['44+7=51', '62+51=113'] Exploring Operation: 113-60=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[62, 60, 51], Operations: ['44+7=51'] Exploring Operation: 62-51=11, Resulting Numbers: [60, 11] Generated Node #0,0,2: 66:[60, 11] Operation: 62-51=11 Moving to Node #0,0,2 Current State: 66:[60, 11], Operations: ['44+7=51', '62-51=11'] Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[60, 11], Operations: ['44+7=51', '62-51=11'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[62, 60, 51], Operations: ['44+7=51'] Exploring Operation: 60-51=9, Resulting Numbers: [62, 9] Generated Node #0,0,3: 66:[62, 9] Operation: 60-51=9 Moving to Node #0,0,3 Current State: 66:[62, 9], Operations: ['44+7=51', '60-51=9'] Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[62, 9], Operations: ['44+7=51', '60-51=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[62, 60, 51], Operations: ['44+7=51'] Exploring Operation: 62+60=122, Resulting Numbers: [51, 122] Generated Node #0,0,4: 66:[51, 122] Operation: 62+60=122 Moving to Node #0,0,4 Current State: 66:[51, 122], Operations: ['44+7=51', '62+60=122'] Exploring Operation: 122-51=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[62, 60, 51], Operations: ['44+7=51'] Exploring Operation: 62-60=2, Resulting Numbers: [51, 2] Generated Node #0,0,5: 66:[51, 2] Operation: 62-60=2 Moving to Node #0,0,5 Current State: 66:[51, 2], Operations: ['44+7=51', '62-60=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,0,5 Current State: 66:[51, 2], Operations: ['44+7=51', '62-60=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,0,5 Current State: 66:[51, 2], Operations: ['44+7=51', '62-60=2'] Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,66 unequal: No Solution Moving to Node #0 Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 7+60=67, Resulting Numbers: [44, 62, 67] Generated Node #0,1: 66:[44, 62, 67] Operation: 7+60=67 Moving to Node #0,1 Current State: 66:[44, 62, 67], Operations: ['7+60=67'] Exploring Operation: 44+62=106, Resulting Numbers: [67, 106] Generated Node #0,1,0: 66:[67, 106] Operation: 44+62=106 Moving to Node #0,1,0 Current State: 66:[67, 106], Operations: ['7+60=67', '44+62=106'] Exploring Operation: 106-67=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,1 Current State: 66:[44, 62, 67], Operations: ['7+60=67'] Exploring Operation: 67-44=23, Resulting Numbers: [62, 23] Generated Node #0,1,1: 66:[62, 23] Operation: 67-44=23 Moving to Node #0,1,1 Current State: 66:[62, 23], Operations: ['7+60=67', '67-44=23'] Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[62, 23], Operations: ['7+60=67', '67-44=23'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,1 Current State: 66:[44, 62, 67], Operations: ['7+60=67'] Exploring Operation: 62-44=18, Resulting Numbers: [67, 18] Generated Node #0,1,2: 66:[67, 18] Operation: 62-44=18 Moving to Node #0,1,2 Current State: 66:[67, 18], Operations: ['7+60=67', '62-44=18'] Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[67, 18], Operations: ['7+60=67', '62-44=18'] Exploring Operation: 67+18=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,1 Current State: 66:[44, 62, 67], Operations: ['7+60=67'] Exploring Operation: 44+67=111, Resulting Numbers: [62, 111] Generated Node #0,1,3: 66:[62, 111] Operation: 44+67=111 Moving to Node #0,1,3 Current State: 66:[62, 111], Operations: ['7+60=67', '44+67=111'] Exploring Operation: 111-62=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,1 Current State: 66:[44, 62, 67], Operations: ['7+60=67'] Exploring Operation: 67-62=5, Resulting Numbers: [44, 5] Generated Node #0,1,4: 66:[44, 5] Operation: 67-62=5 Moving to Node #0,1,4 Current State: 66:[44, 5], Operations: ['7+60=67', '67-62=5'] Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,1,4 Current State: 66:[44, 5], Operations: ['7+60=67', '67-62=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,1 Current State: 66:[44, 62, 67], Operations: ['7+60=67'] Exploring Operation: 62+67=129, Resulting Numbers: [44, 129] Generated Node #0,1,5: 66:[44, 129] Operation: 62+67=129 Moving to Node #0,1,5 Current State: 66:[44, 129], Operations: ['7+60=67', '62+67=129'] Exploring Operation: 129-44=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0 Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 7+62=69, Resulting Numbers: [44, 60, 69] Generated Node #0,2: 66:[44, 60, 69] Operation: 7+62=69 Moving to Node #0,2 Current State: 66:[44, 60, 69], Operations: ['7+62=69'] Exploring Operation: 44+60=104, Resulting Numbers: [69, 104] Generated Node #0,2,0: 66:[69, 104] Operation: 44+60=104 Moving to Node #0,2,0 Current State: 66:[69, 104], Operations: ['7+62=69', '44+60=104'] Exploring Operation: 104-69=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[44, 60, 69], Operations: ['7+62=69'] Exploring Operation: 69-44=25, Resulting Numbers: [60, 25] Generated Node #0,2,1: 66:[60, 25] Operation: 69-44=25 Moving to Node #0,2,1 Current State: 66:[60, 25], Operations: ['7+62=69', '69-44=25'] Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[60, 25], Operations: ['7+62=69', '69-44=25'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[44, 60, 69], Operations: ['7+62=69'] Exploring Operation: 60-44=16, Resulting Numbers: [69, 16] Generated Node #0,2,2: 66:[69, 16] Operation: 60-44=16 Moving to Node #0,2,2 Current State: 66:[69, 16], Operations: ['7+62=69', '60-44=16'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[69, 16], Operations: ['7+62=69', '60-44=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[44, 60, 69], Operations: ['7+62=69'] Exploring Operation: 44+69=113, Resulting Numbers: [60, 113] Generated Node #0,2,3: 66:[60, 113] Operation: 44+69=113 Moving to Node #0,2,3 Current State: 66:[60, 113], Operations: ['7+62=69', '44+69=113'] Exploring Operation: 113-60=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[44, 60, 69], Operations: ['7+62=69'] Exploring Operation: 69-60=9, Resulting Numbers: [44, 9] Generated Node #0,2,4: 66:[44, 9] Operation: 69-60=9 Moving to Node #0,2,4 Current State: 66:[44, 9], Operations: ['7+62=69', '69-60=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,2,4 Current State: 66:[44, 9], Operations: ['7+62=69', '69-60=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[44, 60, 69], Operations: ['7+62=69'] Exploring Operation: 60+69=129, Resulting Numbers: [44, 129] Generated Node #0,2,5: 66:[44, 129] Operation: 60+69=129 Moving to Node #0,2,5 Current State: 66:[44, 129], Operations: ['7+62=69', '60+69=129'] Exploring Operation: 129-44=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0 Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 44-7=37, Resulting Numbers: [62, 60, 37] Generated Node #0,3: 66:[62, 60, 37] Operation: 44-7=37 Moving to Node #0,3 Current State: 66:[62, 60, 37], Operations: ['44-7=37'] Exploring Operation: 60+37=97, Resulting Numbers: [62, 97] Generated Node #0,3,0: 66:[62, 97] Operation: 60+37=97 Moving to Node #0,3,0 Current State: 66:[62, 97], Operations: ['44-7=37', '60+37=97'] Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[62, 60, 37], Operations: ['44-7=37'] Exploring Operation: 62+37=99, Resulting Numbers: [60, 99] Generated Node #0,3,1: 66:[60, 99] Operation: 62+37=99 Moving to Node #0,3,1 Current State: 66:[60, 99], Operations: ['44-7=37', '62+37=99'] Exploring Operation: 99-60=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[62, 60, 37], Operations: ['44-7=37'] Exploring Operation: 62-37=25, Resulting Numbers: [60, 25] Generated Node #0,3,2: 66:[60, 25] Operation: 62-37=25 Moving to Node #0,3,2 Current State: 66:[60, 25], Operations: ['44-7=37', '62-37=25'] Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[60, 25], Operations: ['44-7=37', '62-37=25'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[62, 60, 37], Operations: ['44-7=37'] Exploring Operation: 60-37=23, Resulting Numbers: [62, 23] Generated Node #0,3,3: 66:[62, 23] Operation: 60-37=23 Moving to Node #0,3,3 Current State: 66:[62, 23], Operations: ['44-7=37', '60-37=23'] Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[62, 23], Operations: ['44-7=37', '60-37=23'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[62, 60, 37], Operations: ['44-7=37'] Exploring Operation: 62+60=122, Resulting Numbers: [37, 122] Generated Node #0,3,4: 66:[37, 122] Operation: 62+60=122 Moving to Node #0,3,4 Current State: 66:[37, 122], Operations: ['44-7=37', '62+60=122'] Exploring Operation: 122-37=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[62, 60, 37], Operations: ['44-7=37'] Exploring Operation: 62-60=2, Resulting Numbers: [37, 2] Generated Node #0,3,5: 66:[37, 2] Operation: 62-60=2 Moving to Node #0,3,5 Current State: 66:[37, 2], Operations: ['44-7=37', '62-60=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,66 unequal: No Solution Moving to Node #0,3,5 Current State: 66:[37, 2], Operations: ['44-7=37', '62-60=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,3,5 Current State: 66:[37, 2], Operations: ['44-7=37', '62-60=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0 Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 62-7=55, Resulting Numbers: [44, 60, 55] Generated Node #0,4: 66:[44, 60, 55] Operation: 62-7=55 Moving to Node #0,4 Current State: 66:[44, 60, 55], Operations: ['62-7=55'] Exploring Operation: 44+55=99, Resulting Numbers: [60, 99] Generated Node #0,4,0: 66:[60, 99] Operation: 44+55=99 Moving to Node #0,4,0 Current State: 66:[60, 99], Operations: ['62-7=55', '44+55=99'] Exploring Operation: 99-60=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,4 Current State: 66:[44, 60, 55], Operations: ['62-7=55'] Exploring Operation: 44+60=104, Resulting Numbers: [55, 104] Generated Node #0,4,1: 66:[55, 104] Operation: 44+60=104 Moving to Node #0,4,1 Current State: 66:[55, 104], Operations: ['62-7=55', '44+60=104'] Exploring Operation: 104-55=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,4 Current State: 66:[44, 60, 55], Operations: ['62-7=55'] Exploring Operation: 60-44=16, Resulting Numbers: [55, 16] Generated Node #0,4,2: 66:[55, 16] Operation: 60-44=16 Moving to Node #0,4,2 Current State: 66:[55, 16], Operations: ['62-7=55', '60-44=16'] Exploring Operation: 55+16=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,4,2 Current State: 66:[55, 16], Operations: ['62-7=55', '60-44=16'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,4 Current State: 66:[44, 60, 55], Operations: ['62-7=55'] Exploring Operation: 55-44=11, Resulting Numbers: [60, 11] Generated Node #0,4,3: 66:[60, 11] Operation: 55-44=11 Moving to Node #0,4,3 Current State: 66:[60, 11], Operations: ['62-7=55', '55-44=11'] Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,4,3 Current State: 66:[60, 11], Operations: ['62-7=55', '55-44=11'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,4 Current State: 66:[44, 60, 55], Operations: ['62-7=55'] Exploring Operation: 60+55=115, Resulting Numbers: [44, 115] Generated Node #0,4,4: 66:[44, 115] Operation: 60+55=115 Moving to Node #0,4,4 Current State: 66:[44, 115], Operations: ['62-7=55', '60+55=115'] Exploring Operation: 115-44=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,4 Current State: 66:[44, 60, 55], Operations: ['62-7=55'] Exploring Operation: 60-55=5, Resulting Numbers: [44, 5] Generated Node #0,4,5: 66:[44, 5] Operation: 60-55=5 Moving to Node #0,4,5 Current State: 66:[44, 5], Operations: ['62-7=55', '60-55=5'] Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,4,5 Current State: 66:[44, 5], Operations: ['62-7=55', '60-55=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0 Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 60-7=53, Resulting Numbers: [44, 62, 53] Generated Node #0,5: 66:[44, 62, 53] Operation: 60-7=53 Moving to Node #0,5 Current State: 66:[44, 62, 53], Operations: ['60-7=53'] Exploring Operation: 44+53=97, Resulting Numbers: [62, 97] Generated Node #0,5,0: 66:[62, 97] Operation: 44+53=97 Moving to Node #0,5,0 Current State: 66:[62, 97], Operations: ['60-7=53', '44+53=97'] Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,5 Current State: 66:[44, 62, 53], Operations: ['60-7=53'] Exploring Operation: 44+62=106, Resulting Numbers: [53, 106] Generated Node #0,5,1: 66:[53, 106] Operation: 44+62=106 Moving to Node #0,5,1 Current State: 66:[53, 106], Operations: ['60-7=53', '44+62=106'] Exploring Operation: 106-53=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,5,1 Current State: 66:[53, 106], Operations: ['60-7=53', '44+62=106'] Exploring Operation: 106/53=2, Resulting Numbers: [2] 2,66 unequal: No Solution Moving to Node #0,5 Current State: 66:[44, 62, 53], Operations: ['60-7=53'] Exploring Operation: 62-44=18, Resulting Numbers: [53, 18] Generated Node #0,5,2: 66:[53, 18] Operation: 62-44=18 Moving to Node #0,5,2 Current State: 66:[53, 18], Operations: ['60-7=53', '62-44=18'] Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,5,2 Current State: 66:[53, 18], Operations: ['60-7=53', '62-44=18'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,5 Current State: 66:[44, 62, 53], Operations: ['60-7=53'] Exploring Operation: 53-44=9, Resulting Numbers: [62, 9] Generated Node #0,5,3: 66:[62, 9] Operation: 53-44=9 Moving to Node #0,5,3 Current State: 66:[62, 9], Operations: ['60-7=53', '53-44=9'] Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,5,3 Current State: 66:[62, 9], Operations: ['60-7=53', '53-44=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,5 Current State: 66:[44, 62, 53], Operations: ['60-7=53'] Exploring Operation: 62+53=115, Resulting Numbers: [44, 115] Generated Node #0,5,4: 66:[44, 115] Operation: 62+53=115 Moving to Node #0,5,4 Current State: 66:[44, 115], Operations: ['60-7=53', '62+53=115'] Exploring Operation: 115-44=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,5 Current State: 66:[44, 62, 53], Operations: ['60-7=53'] Exploring Operation: 62-53=9, Resulting Numbers: [44, 9] Generated Node #0,5,5: 66:[44, 9] Operation: 62-53=9 Moving to Node #0,5,5 Current State: 66:[44, 9], Operations: ['60-7=53', '62-53=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,5,5 Current State: 66:[44, 9], Operations: ['60-7=53', '62-53=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0 Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 44+60=104, Resulting Numbers: [7, 62, 104] Generated Node #0,6: 66:[7, 62, 104] Operation: 44+60=104 Moving to Node #0,6 Current State: 66:[7, 62, 104], Operations: ['44+60=104'] Exploring Operation: 104-7=97, Resulting Numbers: [62, 97] Generated Node #0,6,0: 66:[62, 97] Operation: 104-7=97 Moving to Node #0,6,0 Current State: 66:[62, 97], Operations: ['44+60=104', '104-7=97'] Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,6 Current State: 66:[7, 62, 104], Operations: ['44+60=104'] Exploring Operation: 7+62=69, Resulting Numbers: [104, 69] Generated Node #0,6,1: 66:[104, 69] Operation: 7+62=69 Moving to Node #0,6,1 Current State: 66:[104, 69], Operations: ['44+60=104', '7+62=69'] Exploring Operation: 104-69=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,6 Current State: 66:[7, 62, 104], Operations: ['44+60=104'] Exploring Operation: 62-7=55, Resulting Numbers: [104, 55] Generated Node #0,6,2: 66:[104, 55] Operation: 62-7=55 Moving to Node #0,6,2 Current State: 66:[104, 55], Operations: ['44+60=104', '62-7=55'] Exploring Operation: 104-55=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,6 Current State: 66:[7, 62, 104], Operations: ['44+60=104'] Exploring Operation: 7+104=111, Resulting Numbers: [62, 111] Generated Node #0,6,3: 66:[62, 111] Operation: 7+104=111 Moving to Node #0,6,3 Current State: 66:[62, 111], Operations: ['44+60=104', '7+104=111'] Exploring Operation: 111-62=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,6 Current State: 66:[7, 62, 104], Operations: ['44+60=104'] Exploring Operation: 104-62=42, Resulting Numbers: [7, 42] Generated Node #0,6,4: 66:[7, 42] Operation: 104-62=42 Moving to Node #0,6,4 Current State: 66:[7, 42], Operations: ['44+60=104', '104-62=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,6,4 Current State: 66:[7, 42], Operations: ['44+60=104', '104-62=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,6,4 Current State: 66:[7, 42], Operations: ['44+60=104', '104-62=42'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,66 unequal: No Solution Moving to Node #0 Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 44+62=106, Resulting Numbers: [7, 60, 106] Generated Node #0,7: 66:[7, 60, 106] Operation: 44+62=106 Moving to Node #0,7 Current State: 66:[7, 60, 106], Operations: ['44+62=106'] Exploring Operation: 106-7=99, Resulting Numbers: [60, 99] Generated Node #0,7,0: 66:[60, 99] Operation: 106-7=99 Moving to Node #0,7,0 Current State: 66:[60, 99], Operations: ['44+62=106', '106-7=99'] Exploring Operation: 99-60=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,7 Current State: 66:[7, 60, 106], Operations: ['44+62=106'] Exploring Operation: 7+60=67, Resulting Numbers: [106, 67] Generated Node #0,7,1: 66:[106, 67] Operation: 7+60=67 Moving to Node #0,7,1 Current State: 66:[106, 67], Operations: ['44+62=106', '7+60=67'] Exploring Operation: 106-67=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,7 Current State: 66:[7, 60, 106], Operations: ['44+62=106'] Exploring Operation: 60-7=53, Resulting Numbers: [106, 53] Generated Node #0,7,2: 66:[106, 53] Operation: 60-7=53 Moving to Node #0,7,2 Current State: 66:[106, 53], Operations: ['44+62=106', '60-7=53'] Exploring Operation: 106-53=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,7,2 Current State: 66:[106, 53], Operations: ['44+62=106', '60-7=53'] Exploring Operation: 106/53=2, Resulting Numbers: [2] 2,66 unequal: No Solution Moving to Node #0,7 Current State: 66:[7, 60, 106], Operations: ['44+62=106'] Exploring Operation: 7+106=113, Resulting Numbers: [60, 113] Generated Node #0,7,3: 66:[60, 113] Operation: 7+106=113 Moving to Node #0,7,3 Current State: 66:[60, 113], Operations: ['44+62=106', '7+106=113'] Exploring Operation: 113-60=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,7 Current State: 66:[7, 60, 106], Operations: ['44+62=106'] Exploring Operation: 106-60=46, Resulting Numbers: [7, 46] Generated Node #0,7,4: 66:[7, 46] Operation: 106-60=46 Moving to Node #0,7,4 Current State: 66:[7, 46], Operations: ['44+62=106', '106-60=46'] Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,7,4 Current State: 66:[7, 46], Operations: ['44+62=106', '106-60=46'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0 Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 62-44=18, Resulting Numbers: [7, 60, 18] Generated Node #0,8: 66:[7, 60, 18] Operation: 62-44=18 Moving to Node #0,8 Current State: 66:[7, 60, 18], Operations: ['62-44=18'] Exploring Operation: 7+18=25, Resulting Numbers: [60, 25] Generated Node #0,8,0: 66:[60, 25] Operation: 7+18=25 Moving to Node #0,8,0 Current State: 66:[60, 25], Operations: ['62-44=18', '7+18=25'] Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,8,0 Current State: 66:[60, 25], Operations: ['62-44=18', '7+18=25'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,8 Current State: 66:[7, 60, 18], Operations: ['62-44=18'] Exploring Operation: 7+60=67, Resulting Numbers: [18, 67] Generated Node #0,8,1: 66:[18, 67] Operation: 7+60=67 Moving to Node #0,8,1 Current State: 66:[18, 67], Operations: ['62-44=18', '7+60=67'] Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,8,1 Current State: 66:[18, 67], Operations: ['62-44=18', '7+60=67'] Exploring Operation: 18+67=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,8 Current State: 66:[7, 60, 18], Operations: ['62-44=18'] Exploring Operation: 60-7=53, Resulting Numbers: [18, 53] Generated Node #0,8,2: 66:[18, 53] Operation: 60-7=53 Moving to Node #0,8,2 Current State: 66:[18, 53], Operations: ['62-44=18', '60-7=53'] Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,8,2 Current State: 66:[18, 53], Operations: ['62-44=18', '60-7=53'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,8 Current State: 66:[7, 60, 18], Operations: ['62-44=18'] Exploring Operation: 18-7=11, Resulting Numbers: [60, 11] Generated Node #0,8,3: 66:[60, 11] Operation: 18-7=11 Moving to Node #0,8,3 Current State: 66:[60, 11], Operations: ['62-44=18', '18-7=11'] Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,8,3 Current State: 66:[60, 11], Operations: ['62-44=18', '18-7=11'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,8 Current State: 66:[7, 60, 18], Operations: ['62-44=18'] Exploring Operation: 7*18=126, Resulting Numbers: [60, 126] Generated Node #0,8,4: 66:[60, 126] Operation: 7*18=126 Moving to Node #0,8,4 Current State: 66:[60, 126], Operations: ['62-44=18', '7*18=126'] Exploring Operation: 126-60=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.877604
dfs
Current State: 66:[44, 7, 62, 60], Operations: [] Exploring Operation: 62-44=18, Resulting Numbers: [7, 60, 18] Generated Node #2: [7, 60, 18] from Operation: 62-44=18 Current State: 66:[7, 60, 18], Operations: ['62-44=18'] Exploring Operation: 7*18=126, Resulting Numbers: [60, 126] Generated Node #3: [60, 126] from Operation: 7*18=126 Current State: 66:[60, 126], Operations: ['62-44=18', '7*18=126'] Exploring Operation: 126-60=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
sum_heuristic
[ { "content": "Make 66 with the numbers [44, 7, 62, 60] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 66:[44, 7, 62, 60], Operations: []\nExploring Operation: 44+7=51, Resulting Numbers: [62, 60, 51]\nGenerated Node #0,0: 66:[62, 60, 51] Operation: 44+7=51\nMoving to Node #0,0\nCurrent State: 66:[62, 60, 51], Operations: ['44+7=51']\nExploring Operation: 60+51=111, Resulting Numbers: [62, 111]\nGenerated Node #0,0,0: 66:[62, 111] Operation: 60+51=111\nMoving to Node #0,0,0\nCurrent State: 66:[62, 111], Operations: ['44+7=51', '60+51=111']\nExploring Operation: 111-62=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 66:[62, 60, 51], Operations: ['44+7=51']\nExploring Operation: 62+51=113, Resulting Numbers: [60, 113]\nGenerated Node #0,0,1: 66:[60, 113] Operation: 62+51=113\nMoving to Node #0,0,1\nCurrent State: 66:[60, 113], Operations: ['44+7=51', '62+51=113']\nExploring Operation: 113-60=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 66:[62, 60, 51], Operations: ['44+7=51']\nExploring Operation: 62-51=11, Resulting Numbers: [60, 11]\nGenerated Node #0,0,2: 66:[60, 11] Operation: 62-51=11\nMoving to Node #0,0,2\nCurrent State: 66:[60, 11], Operations: ['44+7=51', '62-51=11']\nExploring Operation: 60+11=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 66:[60, 11], Operations: ['44+7=51', '62-51=11']\nExploring Operation: 60-11=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 66:[62, 60, 51], Operations: ['44+7=51']\nExploring Operation: 60-51=9, Resulting Numbers: [62, 9]\nGenerated Node #0,0,3: 66:[62, 9] Operation: 60-51=9\nMoving to Node #0,0,3\nCurrent State: 66:[62, 9], Operations: ['44+7=51', '60-51=9']\nExploring Operation: 62+9=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 66:[62, 9], Operations: ['44+7=51', '60-51=9']\nExploring Operation: 62-9=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 66:[62, 60, 51], Operations: ['44+7=51']\nExploring Operation: 62+60=122, Resulting Numbers: [51, 122]\nGenerated Node #0,0,4: 66:[51, 122] Operation: 62+60=122\nMoving to Node #0,0,4\nCurrent State: 66:[51, 122], Operations: ['44+7=51', '62+60=122']\nExploring Operation: 122-51=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 66:[62, 60, 51], Operations: ['44+7=51']\nExploring Operation: 62-60=2, Resulting Numbers: [51, 2]\nGenerated Node #0,0,5: 66:[51, 2] Operation: 62-60=2\nMoving to Node #0,0,5\nCurrent State: 66:[51, 2], Operations: ['44+7=51', '62-60=2']\nExploring Operation: 51+2=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 66:[51, 2], Operations: ['44+7=51', '62-60=2']\nExploring Operation: 51-2=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 66:[51, 2], Operations: ['44+7=51', '62-60=2']\nExploring Operation: 51*2=102, Resulting Numbers: [102]\n102,66 unequal: No Solution\nMoving to Node #0\nCurrent State: 66:[44, 7, 62, 60], Operations: []\nExploring Operation: 7+60=67, Resulting Numbers: [44, 62, 67]\nGenerated Node #0,1: 66:[44, 62, 67] Operation: 7+60=67\nMoving to Node #0,1\nCurrent State: 66:[44, 62, 67], Operations: ['7+60=67']\nExploring Operation: 44+62=106, Resulting Numbers: [67, 106]\nGenerated Node #0,1,0: 66:[67, 106] Operation: 44+62=106\nMoving to Node #0,1,0\nCurrent State: 66:[67, 106], Operations: ['7+60=67', '44+62=106']\nExploring Operation: 106-67=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 66:[44, 62, 67], Operations: ['7+60=67']\nExploring Operation: 67-44=23, Resulting Numbers: [62, 23]\nGenerated Node #0,1,1: 66:[62, 23] Operation: 67-44=23\nMoving to Node #0,1,1\nCurrent State: 66:[62, 23], Operations: ['7+60=67', '67-44=23']\nExploring Operation: 62+23=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 66:[62, 23], Operations: ['7+60=67', '67-44=23']\nExploring Operation: 62-23=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 66:[44, 62, 67], Operations: ['7+60=67']\nExploring Operation: 62-44=18, Resulting Numbers: [67, 18]\nGenerated Node #0,1,2: 66:[67, 18] Operation: 62-44=18\nMoving to Node #0,1,2\nCurrent State: 66:[67, 18], Operations: ['7+60=67', '62-44=18']\nExploring Operation: 67-18=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 66:[67, 18], Operations: ['7+60=67', '62-44=18']\nExploring Operation: 67+18=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 66:[44, 62, 67], Operations: ['7+60=67']\nExploring Operation: 44+67=111, Resulting Numbers: [62, 111]\nGenerated Node #0,1,3: 66:[62, 111] Operation: 44+67=111\nMoving to Node #0,1,3\nCurrent State: 66:[62, 111], Operations: ['7+60=67', '44+67=111']\nExploring Operation: 111-62=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 66:[44, 62, 67], Operations: ['7+60=67']\nExploring Operation: 67-62=5, Resulting Numbers: [44, 5]\nGenerated Node #0,1,4: 66:[44, 5] Operation: 67-62=5\nMoving to Node #0,1,4\nCurrent State: 66:[44, 5], Operations: ['7+60=67', '67-62=5']\nExploring Operation: 44+5=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 66:[44, 5], Operations: ['7+60=67', '67-62=5']\nExploring Operation: 44-5=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 66:[44, 62, 67], Operations: ['7+60=67']\nExploring Operation: 62+67=129, Resulting Numbers: [44, 129]\nGenerated Node #0,1,5: 66:[44, 129] Operation: 62+67=129\nMoving to Node #0,1,5\nCurrent State: 66:[44, 129], Operations: ['7+60=67', '62+67=129']\nExploring Operation: 129-44=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0\nCurrent State: 66:[44, 7, 62, 60], Operations: []\nExploring Operation: 7+62=69, Resulting Numbers: [44, 60, 69]\nGenerated Node #0,2: 66:[44, 60, 69] Operation: 7+62=69\nMoving to Node #0,2\nCurrent State: 66:[44, 60, 69], Operations: ['7+62=69']\nExploring Operation: 44+60=104, Resulting Numbers: [69, 104]\nGenerated Node #0,2,0: 66:[69, 104] Operation: 44+60=104\nMoving to Node #0,2,0\nCurrent State: 66:[69, 104], Operations: ['7+62=69', '44+60=104']\nExploring Operation: 104-69=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 66:[44, 60, 69], Operations: ['7+62=69']\nExploring Operation: 69-44=25, Resulting Numbers: [60, 25]\nGenerated Node #0,2,1: 66:[60, 25] Operation: 69-44=25\nMoving to Node #0,2,1\nCurrent State: 66:[60, 25], Operations: ['7+62=69', '69-44=25']\nExploring Operation: 60+25=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 66:[60, 25], Operations: ['7+62=69', '69-44=25']\nExploring Operation: 60-25=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 66:[44, 60, 69], Operations: ['7+62=69']\nExploring Operation: 60-44=16, Resulting Numbers: [69, 16]\nGenerated Node #0,2,2: 66:[69, 16] Operation: 60-44=16\nMoving to Node #0,2,2\nCurrent State: 66:[69, 16], Operations: ['7+62=69', '60-44=16']\nExploring Operation: 69-16=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 66:[69, 16], Operations: ['7+62=69', '60-44=16']\nExploring Operation: 69+16=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 66:[44, 60, 69], Operations: ['7+62=69']\nExploring Operation: 44+69=113, Resulting Numbers: [60, 113]\nGenerated Node #0,2,3: 66:[60, 113] Operation: 44+69=113\nMoving to Node #0,2,3\nCurrent State: 66:[60, 113], Operations: ['7+62=69', '44+69=113']\nExploring Operation: 113-60=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 66:[44, 60, 69], Operations: ['7+62=69']\nExploring Operation: 69-60=9, Resulting Numbers: [44, 9]\nGenerated Node #0,2,4: 66:[44, 9] Operation: 69-60=9\nMoving to Node #0,2,4\nCurrent State: 66:[44, 9], Operations: ['7+62=69', '69-60=9']\nExploring Operation: 44+9=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 66:[44, 9], Operations: ['7+62=69', '69-60=9']\nExploring Operation: 44-9=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 66:[44, 60, 69], Operations: ['7+62=69']\nExploring Operation: 60+69=129, Resulting Numbers: [44, 129]\nGenerated Node #0,2,5: 66:[44, 129] Operation: 60+69=129\nMoving to Node #0,2,5\nCurrent State: 66:[44, 129], Operations: ['7+62=69', '60+69=129']\nExploring Operation: 129-44=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0\nCurrent State: 66:[44, 7, 62, 60], Operations: []\nExploring Operation: 44-7=37, Resulting Numbers: [62, 60, 37]\nGenerated Node #0,3: 66:[62, 60, 37] Operation: 44-7=37\nMoving to Node #0,3\nCurrent State: 66:[62, 60, 37], Operations: ['44-7=37']\nExploring Operation: 60+37=97, Resulting Numbers: [62, 97]\nGenerated Node #0,3,0: 66:[62, 97] Operation: 60+37=97\nMoving to Node #0,3,0\nCurrent State: 66:[62, 97], Operations: ['44-7=37', '60+37=97']\nExploring Operation: 97-62=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 66:[62, 60, 37], Operations: ['44-7=37']\nExploring Operation: 62+37=99, Resulting Numbers: [60, 99]\nGenerated Node #0,3,1: 66:[60, 99] Operation: 62+37=99\nMoving to Node #0,3,1\nCurrent State: 66:[60, 99], Operations: ['44-7=37', '62+37=99']\nExploring Operation: 99-60=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 66:[62, 60, 37], Operations: ['44-7=37']\nExploring Operation: 62-37=25, Resulting Numbers: [60, 25]\nGenerated Node #0,3,2: 66:[60, 25] Operation: 62-37=25\nMoving to Node #0,3,2\nCurrent State: 66:[60, 25], Operations: ['44-7=37', '62-37=25']\nExploring Operation: 60+25=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 66:[60, 25], Operations: ['44-7=37', '62-37=25']\nExploring Operation: 60-25=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 66:[62, 60, 37], Operations: ['44-7=37']\nExploring Operation: 60-37=23, Resulting Numbers: [62, 23]\nGenerated Node #0,3,3: 66:[62, 23] Operation: 60-37=23\nMoving to Node #0,3,3\nCurrent State: 66:[62, 23], Operations: ['44-7=37', '60-37=23']\nExploring Operation: 62+23=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 66:[62, 23], Operations: ['44-7=37', '60-37=23']\nExploring Operation: 62-23=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 66:[62, 60, 37], Operations: ['44-7=37']\nExploring Operation: 62+60=122, Resulting Numbers: [37, 122]\nGenerated Node #0,3,4: 66:[37, 122] Operation: 62+60=122\nMoving to Node #0,3,4\nCurrent State: 66:[37, 122], Operations: ['44-7=37', '62+60=122']\nExploring Operation: 122-37=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 66:[62, 60, 37], Operations: ['44-7=37']\nExploring Operation: 62-60=2, Resulting Numbers: [37, 2]\nGenerated Node #0,3,5: 66:[37, 2] Operation: 62-60=2\nMoving to Node #0,3,5\nCurrent State: 66:[37, 2], Operations: ['44-7=37', '62-60=2']\nExploring Operation: 37*2=74, Resulting Numbers: [74]\n74,66 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 66:[37, 2], Operations: ['44-7=37', '62-60=2']\nExploring Operation: 37+2=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 66:[37, 2], Operations: ['44-7=37', '62-60=2']\nExploring Operation: 37-2=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0\nCurrent State: 66:[44, 7, 62, 60], Operations: []\nExploring Operation: 62-7=55, Resulting Numbers: [44, 60, 55]\nGenerated Node #0,4: 66:[44, 60, 55] Operation: 62-7=55\nMoving to Node #0,4\nCurrent State: 66:[44, 60, 55], Operations: ['62-7=55']\nExploring Operation: 44+55=99, Resulting Numbers: [60, 99]\nGenerated Node #0,4,0: 66:[60, 99] Operation: 44+55=99\nMoving to Node #0,4,0\nCurrent State: 66:[60, 99], Operations: ['62-7=55', '44+55=99']\nExploring Operation: 99-60=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 66:[44, 60, 55], Operations: ['62-7=55']\nExploring Operation: 44+60=104, Resulting Numbers: [55, 104]\nGenerated Node #0,4,1: 66:[55, 104] Operation: 44+60=104\nMoving to Node #0,4,1\nCurrent State: 66:[55, 104], Operations: ['62-7=55', '44+60=104']\nExploring Operation: 104-55=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 66:[44, 60, 55], Operations: ['62-7=55']\nExploring Operation: 60-44=16, Resulting Numbers: [55, 16]\nGenerated Node #0,4,2: 66:[55, 16] Operation: 60-44=16\nMoving to Node #0,4,2\nCurrent State: 66:[55, 16], Operations: ['62-7=55', '60-44=16']\nExploring Operation: 55+16=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 66:[55, 16], Operations: ['62-7=55', '60-44=16']\nExploring Operation: 55-16=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 66:[44, 60, 55], Operations: ['62-7=55']\nExploring Operation: 55-44=11, Resulting Numbers: [60, 11]\nGenerated Node #0,4,3: 66:[60, 11] Operation: 55-44=11\nMoving to Node #0,4,3\nCurrent State: 66:[60, 11], Operations: ['62-7=55', '55-44=11']\nExploring Operation: 60+11=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 66:[60, 11], Operations: ['62-7=55', '55-44=11']\nExploring Operation: 60-11=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 66:[44, 60, 55], Operations: ['62-7=55']\nExploring Operation: 60+55=115, Resulting Numbers: [44, 115]\nGenerated Node #0,4,4: 66:[44, 115] Operation: 60+55=115\nMoving to Node #0,4,4\nCurrent State: 66:[44, 115], Operations: ['62-7=55', '60+55=115']\nExploring Operation: 115-44=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 66:[44, 60, 55], Operations: ['62-7=55']\nExploring Operation: 60-55=5, Resulting Numbers: [44, 5]\nGenerated Node #0,4,5: 66:[44, 5] Operation: 60-55=5\nMoving to Node #0,4,5\nCurrent State: 66:[44, 5], Operations: ['62-7=55', '60-55=5']\nExploring Operation: 44+5=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 66:[44, 5], Operations: ['62-7=55', '60-55=5']\nExploring Operation: 44-5=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0\nCurrent State: 66:[44, 7, 62, 60], Operations: []\nExploring Operation: 60-7=53, Resulting Numbers: [44, 62, 53]\nGenerated Node #0,5: 66:[44, 62, 53] Operation: 60-7=53\nMoving to Node #0,5\nCurrent State: 66:[44, 62, 53], Operations: ['60-7=53']\nExploring Operation: 44+53=97, Resulting Numbers: [62, 97]\nGenerated Node #0,5,0: 66:[62, 97] Operation: 44+53=97\nMoving to Node #0,5,0\nCurrent State: 66:[62, 97], Operations: ['60-7=53', '44+53=97']\nExploring Operation: 97-62=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 66:[44, 62, 53], Operations: ['60-7=53']\nExploring Operation: 44+62=106, Resulting Numbers: [53, 106]\nGenerated Node #0,5,1: 66:[53, 106] Operation: 44+62=106\nMoving to Node #0,5,1\nCurrent State: 66:[53, 106], Operations: ['60-7=53', '44+62=106']\nExploring Operation: 106-53=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 66:[53, 106], Operations: ['60-7=53', '44+62=106']\nExploring Operation: 106/53=2, Resulting Numbers: [2]\n2,66 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 66:[44, 62, 53], Operations: ['60-7=53']\nExploring Operation: 62-44=18, Resulting Numbers: [53, 18]\nGenerated Node #0,5,2: 66:[53, 18] Operation: 62-44=18\nMoving to Node #0,5,2\nCurrent State: 66:[53, 18], Operations: ['60-7=53', '62-44=18']\nExploring Operation: 53+18=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 66:[53, 18], Operations: ['60-7=53', '62-44=18']\nExploring Operation: 53-18=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 66:[44, 62, 53], Operations: ['60-7=53']\nExploring Operation: 53-44=9, Resulting Numbers: [62, 9]\nGenerated Node #0,5,3: 66:[62, 9] Operation: 53-44=9\nMoving to Node #0,5,3\nCurrent State: 66:[62, 9], Operations: ['60-7=53', '53-44=9']\nExploring Operation: 62+9=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 66:[62, 9], Operations: ['60-7=53', '53-44=9']\nExploring Operation: 62-9=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 66:[44, 62, 53], Operations: ['60-7=53']\nExploring Operation: 62+53=115, Resulting Numbers: [44, 115]\nGenerated Node #0,5,4: 66:[44, 115] Operation: 62+53=115\nMoving to Node #0,5,4\nCurrent State: 66:[44, 115], Operations: ['60-7=53', '62+53=115']\nExploring Operation: 115-44=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 66:[44, 62, 53], Operations: ['60-7=53']\nExploring Operation: 62-53=9, Resulting Numbers: [44, 9]\nGenerated Node #0,5,5: 66:[44, 9] Operation: 62-53=9\nMoving to Node #0,5,5\nCurrent State: 66:[44, 9], Operations: ['60-7=53', '62-53=9']\nExploring Operation: 44+9=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 66:[44, 9], Operations: ['60-7=53', '62-53=9']\nExploring Operation: 44-9=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0\nCurrent State: 66:[44, 7, 62, 60], Operations: []\nExploring Operation: 44+60=104, Resulting Numbers: [7, 62, 104]\nGenerated Node #0,6: 66:[7, 62, 104] Operation: 44+60=104\nMoving to Node #0,6\nCurrent State: 66:[7, 62, 104], Operations: ['44+60=104']\nExploring Operation: 104-7=97, Resulting Numbers: [62, 97]\nGenerated Node #0,6,0: 66:[62, 97] Operation: 104-7=97\nMoving to Node #0,6,0\nCurrent State: 66:[62, 97], Operations: ['44+60=104', '104-7=97']\nExploring Operation: 97-62=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 66:[7, 62, 104], Operations: ['44+60=104']\nExploring Operation: 7+62=69, Resulting Numbers: [104, 69]\nGenerated Node #0,6,1: 66:[104, 69] Operation: 7+62=69\nMoving to Node #0,6,1\nCurrent State: 66:[104, 69], Operations: ['44+60=104', '7+62=69']\nExploring Operation: 104-69=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 66:[7, 62, 104], Operations: ['44+60=104']\nExploring Operation: 62-7=55, Resulting Numbers: [104, 55]\nGenerated Node #0,6,2: 66:[104, 55] Operation: 62-7=55\nMoving to Node #0,6,2\nCurrent State: 66:[104, 55], Operations: ['44+60=104', '62-7=55']\nExploring Operation: 104-55=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 66:[7, 62, 104], Operations: ['44+60=104']\nExploring Operation: 7+104=111, Resulting Numbers: [62, 111]\nGenerated Node #0,6,3: 66:[62, 111] Operation: 7+104=111\nMoving to Node #0,6,3\nCurrent State: 66:[62, 111], Operations: ['44+60=104', '7+104=111']\nExploring Operation: 111-62=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 66:[7, 62, 104], Operations: ['44+60=104']\nExploring Operation: 104-62=42, Resulting Numbers: [7, 42]\nGenerated Node #0,6,4: 66:[7, 42] Operation: 104-62=42\nMoving to Node #0,6,4\nCurrent State: 66:[7, 42], Operations: ['44+60=104', '104-62=42']\nExploring Operation: 7+42=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 66:[7, 42], Operations: ['44+60=104', '104-62=42']\nExploring Operation: 42-7=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 66:[7, 42], Operations: ['44+60=104', '104-62=42']\nExploring Operation: 42/7=6, Resulting Numbers: [6]\n6,66 unequal: No Solution\nMoving to Node #0\nCurrent State: 66:[44, 7, 62, 60], Operations: []\nExploring Operation: 44+62=106, Resulting Numbers: [7, 60, 106]\nGenerated Node #0,7: 66:[7, 60, 106] Operation: 44+62=106\nMoving to Node #0,7\nCurrent State: 66:[7, 60, 106], Operations: ['44+62=106']\nExploring Operation: 106-7=99, Resulting Numbers: [60, 99]\nGenerated Node #0,7,0: 66:[60, 99] Operation: 106-7=99\nMoving to Node #0,7,0\nCurrent State: 66:[60, 99], Operations: ['44+62=106', '106-7=99']\nExploring Operation: 99-60=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 66:[7, 60, 106], Operations: ['44+62=106']\nExploring Operation: 7+60=67, Resulting Numbers: [106, 67]\nGenerated Node #0,7,1: 66:[106, 67] Operation: 7+60=67\nMoving to Node #0,7,1\nCurrent State: 66:[106, 67], Operations: ['44+62=106', '7+60=67']\nExploring Operation: 106-67=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 66:[7, 60, 106], Operations: ['44+62=106']\nExploring Operation: 60-7=53, Resulting Numbers: [106, 53]\nGenerated Node #0,7,2: 66:[106, 53] Operation: 60-7=53\nMoving to Node #0,7,2\nCurrent State: 66:[106, 53], Operations: ['44+62=106', '60-7=53']\nExploring Operation: 106-53=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 66:[106, 53], Operations: ['44+62=106', '60-7=53']\nExploring Operation: 106/53=2, Resulting Numbers: [2]\n2,66 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 66:[7, 60, 106], Operations: ['44+62=106']\nExploring Operation: 7+106=113, Resulting Numbers: [60, 113]\nGenerated Node #0,7,3: 66:[60, 113] Operation: 7+106=113\nMoving to Node #0,7,3\nCurrent State: 66:[60, 113], Operations: ['44+62=106', '7+106=113']\nExploring Operation: 113-60=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 66:[7, 60, 106], Operations: ['44+62=106']\nExploring Operation: 106-60=46, Resulting Numbers: [7, 46]\nGenerated Node #0,7,4: 66:[7, 46] Operation: 106-60=46\nMoving to Node #0,7,4\nCurrent State: 66:[7, 46], Operations: ['44+62=106', '106-60=46']\nExploring Operation: 7+46=53, Resulting Numbers: [53]\n53,66 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 66:[7, 46], Operations: ['44+62=106', '106-60=46']\nExploring Operation: 46-7=39, Resulting Numbers: [39]\n39,66 unequal: No Solution\nMoving to Node #0\nCurrent State: 66:[44, 7, 62, 60], Operations: []\nExploring Operation: 62-44=18, Resulting Numbers: [7, 60, 18]\nGenerated Node #0,8: 66:[7, 60, 18] Operation: 62-44=18\nMoving to Node #0,8\nCurrent State: 66:[7, 60, 18], Operations: ['62-44=18']\nExploring Operation: 7+18=25, Resulting Numbers: [60, 25]\nGenerated Node #0,8,0: 66:[60, 25] Operation: 7+18=25\nMoving to Node #0,8,0\nCurrent State: 66:[60, 25], Operations: ['62-44=18', '7+18=25']\nExploring Operation: 60+25=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 66:[60, 25], Operations: ['62-44=18', '7+18=25']\nExploring Operation: 60-25=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 66:[7, 60, 18], Operations: ['62-44=18']\nExploring Operation: 7+60=67, Resulting Numbers: [18, 67]\nGenerated Node #0,8,1: 66:[18, 67] Operation: 7+60=67\nMoving to Node #0,8,1\nCurrent State: 66:[18, 67], Operations: ['62-44=18', '7+60=67']\nExploring Operation: 67-18=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 66:[18, 67], Operations: ['62-44=18', '7+60=67']\nExploring Operation: 18+67=85, Resulting Numbers: [85]\n85,66 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 66:[7, 60, 18], Operations: ['62-44=18']\nExploring Operation: 60-7=53, Resulting Numbers: [18, 53]\nGenerated Node #0,8,2: 66:[18, 53] Operation: 60-7=53\nMoving to Node #0,8,2\nCurrent State: 66:[18, 53], Operations: ['62-44=18', '60-7=53']\nExploring Operation: 18+53=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 66:[18, 53], Operations: ['62-44=18', '60-7=53']\nExploring Operation: 53-18=35, Resulting Numbers: [35]\n35,66 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 66:[7, 60, 18], Operations: ['62-44=18']\nExploring Operation: 18-7=11, Resulting Numbers: [60, 11]\nGenerated Node #0,8,3: 66:[60, 11] Operation: 18-7=11\nMoving to Node #0,8,3\nCurrent State: 66:[60, 11], Operations: ['62-44=18', '18-7=11']\nExploring Operation: 60+11=71, Resulting Numbers: [71]\n71,66 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 66:[60, 11], Operations: ['62-44=18', '18-7=11']\nExploring Operation: 60-11=49, Resulting Numbers: [49]\n49,66 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 66:[7, 60, 18], Operations: ['62-44=18']\nExploring Operation: 7*18=126, Resulting Numbers: [60, 126]\nGenerated Node #0,8,4: 66:[60, 126] Operation: 7*18=126\nMoving to Node #0,8,4\nCurrent State: 66:[60, 126], Operations: ['62-44=18', '7*18=126']\nExploring Operation: 126-60=66, Resulting Numbers: [66]\n66,66 equal: Goal Reached\n", "role": "assistant" } ]
[ 62, 20, 12, 80 ]
72
[ "20-12=8", "80/8=10", "62+10=72" ]
Current State: 72:[62, 20, 12, 80], Operations: [] Exploring Operation: 80-62=18, Resulting Numbers: [20, 12, 18] Generated Node #0,0: 72:[20, 12, 18] Operation: 80-62=18 Moving to Node #0,0 Current State: 72:[20, 12, 18], Operations: ['80-62=18'] Exploring Operation: 20-12=8, Resulting Numbers: [18, 8] Generated Node #0,0,0: 72:[18, 8] Operation: 20-12=8 Moving to Node #0,0,0 Current State: 72:[18, 8], Operations: ['80-62=18', '20-12=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[18, 8], Operations: ['80-62=18', '20-12=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[18, 8], Operations: ['80-62=18', '20-12=8'] Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[20, 12, 18], Operations: ['80-62=18'] Exploring Operation: 20-18=2, Resulting Numbers: [12, 2] Generated Node #0,0,1: 72:[12, 2] Operation: 20-18=2 Moving to Node #0,0,1 Current State: 72:[12, 2], Operations: ['80-62=18', '20-18=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[12, 2], Operations: ['80-62=18', '20-18=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[12, 2], Operations: ['80-62=18', '20-18=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[12, 2], Operations: ['80-62=18', '20-18=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[20, 12, 18], Operations: ['80-62=18'] Exploring Operation: 20+18=38, Resulting Numbers: [12, 38] Generated Node #0,0,2: 72:[12, 38] Operation: 20+18=38 Moving to Node #0,0,2 Current State: 72:[12, 38], Operations: ['80-62=18', '20+18=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[12, 38], Operations: ['80-62=18', '20+18=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[20, 12, 18], Operations: ['80-62=18'] Exploring Operation: 18-12=6, Resulting Numbers: [20, 6] Generated Node #0,0,3: 72:[20, 6] Operation: 18-12=6 Moving to Node #0,0,3 Current State: 72:[20, 6], Operations: ['80-62=18', '18-12=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[20, 6], Operations: ['80-62=18', '18-12=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[20, 6], Operations: ['80-62=18', '18-12=6'] Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[20, 12, 18], Operations: ['80-62=18'] Exploring Operation: 20+12=32, Resulting Numbers: [18, 32] Generated Node #0,0,4: 72:[18, 32] Operation: 20+12=32 Moving to Node #0,0,4 Current State: 72:[18, 32], Operations: ['80-62=18', '20+12=32'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,0,4 Current State: 72:[18, 32], Operations: ['80-62=18', '20+12=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[20, 12, 18], Operations: ['80-62=18'] Exploring Operation: 12+18=30, Resulting Numbers: [20, 30] Generated Node #0,0,5: 72:[20, 30] Operation: 12+18=30 Moving to Node #0,0,5 Current State: 72:[20, 30], Operations: ['80-62=18', '12+18=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,0,5 Current State: 72:[20, 30], Operations: ['80-62=18', '12+18=30'] Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0 Current State: 72:[62, 20, 12, 80], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [62, 12, 4] Generated Node #0,1: 72:[62, 12, 4] Operation: 80/20=4 Moving to Node #0,1 Current State: 72:[62, 12, 4], Operations: ['80/20=4'] Exploring Operation: 62+12=74, Resulting Numbers: [4, 74] Generated Node #0,1,0: 72:[4, 74] Operation: 62+12=74 Moving to Node #0,1,0 Current State: 72:[4, 74], Operations: ['80/20=4', '62+12=74'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[4, 74], Operations: ['80/20=4', '62+12=74'] Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[62, 12, 4], Operations: ['80/20=4'] Exploring Operation: 62+4=66, Resulting Numbers: [12, 66] Generated Node #0,1,1: 72:[12, 66] Operation: 62+4=66 Moving to Node #0,1,1 Current State: 72:[12, 66], Operations: ['80/20=4', '62+4=66'] Exploring Operation: 12+66=78, Resulting Numbers: [78] 78,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[12, 66], Operations: ['80/20=4', '62+4=66'] Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[62, 12, 4], Operations: ['80/20=4'] Exploring Operation: 12-4=8, Resulting Numbers: [62, 8] Generated Node #0,1,2: 72:[62, 8] Operation: 12-4=8 Moving to Node #0,1,2 Current State: 72:[62, 8], Operations: ['80/20=4', '12-4=8'] Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[62, 8], Operations: ['80/20=4', '12-4=8'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[62, 12, 4], Operations: ['80/20=4'] Exploring Operation: 12/4=3, Resulting Numbers: [62, 3] Generated Node #0,1,3: 72:[62, 3] Operation: 12/4=3 Moving to Node #0,1,3 Current State: 72:[62, 3], Operations: ['80/20=4', '12/4=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[62, 3], Operations: ['80/20=4', '12/4=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[62, 12, 4], Operations: ['80/20=4'] Exploring Operation: 12+4=16, Resulting Numbers: [62, 16] Generated Node #0,1,4: 72:[62, 16] Operation: 12+4=16 Moving to Node #0,1,4 Current State: 72:[62, 16], Operations: ['80/20=4', '12+4=16'] Exploring Operation: 62+16=78, Resulting Numbers: [78] 78,72 unequal: No Solution Moving to Node #0,1,4 Current State: 72:[62, 16], Operations: ['80/20=4', '12+4=16'] Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[62, 12, 4], Operations: ['80/20=4'] Exploring Operation: 62-12=50, Resulting Numbers: [4, 50] Generated Node #0,1,5: 72:[4, 50] Operation: 62-12=50 Moving to Node #0,1,5 Current State: 72:[4, 50], Operations: ['80/20=4', '62-12=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,72 unequal: No Solution Moving to Node #0,1,5 Current State: 72:[4, 50], Operations: ['80/20=4', '62-12=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[62, 12, 4], Operations: ['80/20=4'] Exploring Operation: 62-4=58, Resulting Numbers: [12, 58] Generated Node #0,1,6: 72:[12, 58] Operation: 62-4=58 Moving to Node #0,1,6 Current State: 72:[12, 58], Operations: ['80/20=4', '62-4=58'] Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,72 unequal: No Solution Moving to Node #0,1,6 Current State: 72:[12, 58], Operations: ['80/20=4', '62-4=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[62, 12, 4], Operations: ['80/20=4'] Exploring Operation: 12*4=48, Resulting Numbers: [62, 48] Generated Node #0,1,7: 72:[62, 48] Operation: 12*4=48 Moving to Node #0,1,7 Current State: 72:[62, 48], Operations: ['80/20=4', '12*4=48'] Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,1,7 Current State: 72:[62, 48], Operations: ['80/20=4', '12*4=48'] Exploring Operation: 62+48=110, Resulting Numbers: [110] 110,72 unequal: No Solution Moving to Node #0 Current State: 72:[62, 20, 12, 80], Operations: [] Exploring Operation: 62+12=74, Resulting Numbers: [20, 80, 74] Generated Node #0,2: 72:[20, 80, 74] Operation: 62+12=74 Moving to Node #0,2 Current State: 72:[20, 80, 74], Operations: ['62+12=74'] Exploring Operation: 80/20=4, Resulting Numbers: [74, 4] Generated Node #0,2,0: 72:[74, 4] Operation: 80/20=4 Moving to Node #0,2,0 Current State: 72:[74, 4], Operations: ['62+12=74', '80/20=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[74, 4], Operations: ['62+12=74', '80/20=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[20, 80, 74], Operations: ['62+12=74'] Exploring Operation: 80-74=6, Resulting Numbers: [20, 6] Generated Node #0,2,1: 72:[20, 6] Operation: 80-74=6 Moving to Node #0,2,1 Current State: 72:[20, 6], Operations: ['62+12=74', '80-74=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[20, 6], Operations: ['62+12=74', '80-74=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[20, 6], Operations: ['62+12=74', '80-74=6'] Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[20, 80, 74], Operations: ['62+12=74'] Exploring Operation: 80-20=60, Resulting Numbers: [74, 60] Generated Node #0,2,2: 72:[74, 60] Operation: 80-20=60 Moving to Node #0,2,2 Current State: 72:[74, 60], Operations: ['62+12=74', '80-20=60'] Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[74, 60], Operations: ['62+12=74', '80-20=60'] Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[20, 80, 74], Operations: ['62+12=74'] Exploring Operation: 74-20=54, Resulting Numbers: [80, 54] Generated Node #0,2,3: 72:[80, 54] Operation: 74-20=54 Moving to Node #0,2,3 Current State: 72:[80, 54], Operations: ['62+12=74', '74-20=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[80, 54], Operations: ['62+12=74', '74-20=54'] Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[20, 80, 74], Operations: ['62+12=74'] Exploring Operation: 20+80=100, Resulting Numbers: [74, 100] Generated Node #0,2,4: 72:[74, 100] Operation: 20+80=100 Moving to Node #0,2,4 Current State: 72:[74, 100], Operations: ['62+12=74', '20+80=100'] Exploring Operation: 100-74=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[20, 80, 74], Operations: ['62+12=74'] Exploring Operation: 20+74=94, Resulting Numbers: [80, 94] Generated Node #0,2,5: 72:[80, 94] Operation: 20+74=94 Moving to Node #0,2,5 Current State: 72:[80, 94], Operations: ['62+12=74', '20+74=94'] Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0 Current State: 72:[62, 20, 12, 80], Operations: [] Exploring Operation: 62-20=42, Resulting Numbers: [12, 80, 42] Generated Node #0,3: 72:[12, 80, 42] Operation: 62-20=42 Moving to Node #0,3 Current State: 72:[12, 80, 42], Operations: ['62-20=42'] Exploring Operation: 80-42=38, Resulting Numbers: [12, 38] Generated Node #0,3,0: 72:[12, 38] Operation: 80-42=38 Moving to Node #0,3,0 Current State: 72:[12, 38], Operations: ['62-20=42', '80-42=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[12, 38], Operations: ['62-20=42', '80-42=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[12, 80, 42], Operations: ['62-20=42'] Exploring Operation: 80-12=68, Resulting Numbers: [42, 68] Generated Node #0,3,1: 72:[42, 68] Operation: 80-12=68 Moving to Node #0,3,1 Current State: 72:[42, 68], Operations: ['62-20=42', '80-12=68'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[42, 68], Operations: ['62-20=42', '80-12=68'] Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[12, 80, 42], Operations: ['62-20=42'] Exploring Operation: 42-12=30, Resulting Numbers: [80, 30] Generated Node #0,3,2: 72:[80, 30] Operation: 42-12=30 Moving to Node #0,3,2 Current State: 72:[80, 30], Operations: ['62-20=42', '42-12=30'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[80, 30], Operations: ['62-20=42', '42-12=30'] Exploring Operation: 80+30=110, Resulting Numbers: [110] 110,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[12, 80, 42], Operations: ['62-20=42'] Exploring Operation: 12+80=92, Resulting Numbers: [42, 92] Generated Node #0,3,3: 72:[42, 92] Operation: 12+80=92 Moving to Node #0,3,3 Current State: 72:[42, 92], Operations: ['62-20=42', '12+80=92'] Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[42, 92], Operations: ['62-20=42', '12+80=92'] Exploring Operation: 42+92=134, Resulting Numbers: [134] 134,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[12, 80, 42], Operations: ['62-20=42'] Exploring Operation: 12+42=54, Resulting Numbers: [80, 54] Generated Node #0,3,4: 72:[80, 54] Operation: 12+42=54 Moving to Node #0,3,4 Current State: 72:[80, 54], Operations: ['62-20=42', '12+42=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,3,4 Current State: 72:[80, 54], Operations: ['62-20=42', '12+42=54'] Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[12, 80, 42], Operations: ['62-20=42'] Exploring Operation: 80+42=122, Resulting Numbers: [12, 122] Generated Node #0,3,5: 72:[12, 122] Operation: 80+42=122 Moving to Node #0,3,5 Current State: 72:[12, 122], Operations: ['62-20=42', '80+42=122'] Exploring Operation: 122-12=110, Resulting Numbers: [110] 110,72 unequal: No Solution Moving to Node #0,3,5 Current State: 72:[12, 122], Operations: ['62-20=42', '80+42=122'] Exploring Operation: 12+122=134, Resulting Numbers: [134] 134,72 unequal: No Solution Moving to Node #0 Current State: 72:[62, 20, 12, 80], Operations: [] Exploring Operation: 80-12=68, Resulting Numbers: [62, 20, 68] Generated Node #0,4: 72:[62, 20, 68] Operation: 80-12=68 Moving to Node #0,4 Current State: 72:[62, 20, 68], Operations: ['80-12=68'] Exploring Operation: 68-62=6, Resulting Numbers: [20, 6] Generated Node #0,4,0: 72:[20, 6] Operation: 68-62=6 Moving to Node #0,4,0 Current State: 72:[20, 6], Operations: ['80-12=68', '68-62=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[20, 6], Operations: ['80-12=68', '68-62=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[20, 6], Operations: ['80-12=68', '68-62=6'] Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[62, 20, 68], Operations: ['80-12=68'] Exploring Operation: 62-20=42, Resulting Numbers: [68, 42] Generated Node #0,4,1: 72:[68, 42] Operation: 62-20=42 Moving to Node #0,4,1 Current State: 72:[68, 42], Operations: ['80-12=68', '62-20=42'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,4,1 Current State: 72:[68, 42], Operations: ['80-12=68', '62-20=42'] Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[62, 20, 68], Operations: ['80-12=68'] Exploring Operation: 62+20=82, Resulting Numbers: [68, 82] Generated Node #0,4,2: 72:[68, 82] Operation: 62+20=82 Moving to Node #0,4,2 Current State: 72:[68, 82], Operations: ['80-12=68', '62+20=82'] Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[62, 20, 68], Operations: ['80-12=68'] Exploring Operation: 68-20=48, Resulting Numbers: [62, 48] Generated Node #0,4,3: 72:[62, 48] Operation: 68-20=48 Moving to Node #0,4,3 Current State: 72:[62, 48], Operations: ['80-12=68', '68-20=48'] Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,4,3 Current State: 72:[62, 48], Operations: ['80-12=68', '68-20=48'] Exploring Operation: 62+48=110, Resulting Numbers: [110] 110,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[62, 20, 68], Operations: ['80-12=68'] Exploring Operation: 20+68=88, Resulting Numbers: [62, 88] Generated Node #0,4,4: 72:[62, 88] Operation: 20+68=88 Moving to Node #0,4,4 Current State: 72:[62, 88], Operations: ['80-12=68', '20+68=88'] Exploring Operation: 88-62=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[62, 20, 68], Operations: ['80-12=68'] Exploring Operation: 62+68=130, Resulting Numbers: [20, 130] Generated Node #0,4,5: 72:[20, 130] Operation: 62+68=130 Moving to Node #0,4,5 Current State: 72:[20, 130], Operations: ['80-12=68', '62+68=130'] Exploring Operation: 130-20=110, Resulting Numbers: [110] 110,72 unequal: No Solution Moving to Node #0 Current State: 72:[62, 20, 12, 80], Operations: [] Exploring Operation: 62+20=82, Resulting Numbers: [12, 80, 82] Generated Node #0,5: 72:[12, 80, 82] Operation: 62+20=82 Moving to Node #0,5 Current State: 72:[12, 80, 82], Operations: ['62+20=82'] Exploring Operation: 82-80=2, Resulting Numbers: [12, 2] Generated Node #0,5,0: 72:[12, 2] Operation: 82-80=2 Moving to Node #0,5,0 Current State: 72:[12, 2], Operations: ['62+20=82', '82-80=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,5,0 Current State: 72:[12, 2], Operations: ['62+20=82', '82-80=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,72 unequal: No Solution Moving to Node #0,5,0 Current State: 72:[12, 2], Operations: ['62+20=82', '82-80=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,5,0 Current State: 72:[12, 2], Operations: ['62+20=82', '82-80=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[12, 80, 82], Operations: ['62+20=82'] Exploring Operation: 82-12=70, Resulting Numbers: [80, 70] Generated Node #0,5,1: 72:[80, 70] Operation: 82-12=70 Moving to Node #0,5,1 Current State: 72:[80, 70], Operations: ['62+20=82', '82-12=70'] Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[12, 80, 82], Operations: ['62+20=82'] Exploring Operation: 80-12=68, Resulting Numbers: [82, 68] Generated Node #0,5,2: 72:[82, 68] Operation: 80-12=68 Moving to Node #0,5,2 Current State: 72:[82, 68], Operations: ['62+20=82', '80-12=68'] Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[12, 80, 82], Operations: ['62+20=82'] Exploring Operation: 12+80=92, Resulting Numbers: [82, 92] Generated Node #0,5,3: 72:[82, 92] Operation: 12+80=92 Moving to Node #0,5,3 Current State: 72:[82, 92], Operations: ['62+20=82', '12+80=92'] Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[12, 80, 82], Operations: ['62+20=82'] Exploring Operation: 12+82=94, Resulting Numbers: [80, 94] Generated Node #0,5,4: 72:[80, 94] Operation: 12+82=94 Moving to Node #0,5,4 Current State: 72:[80, 94], Operations: ['62+20=82', '12+82=94'] Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0 Current State: 72:[62, 20, 12, 80], Operations: [] Exploring Operation: 20-12=8, Resulting Numbers: [62, 80, 8] Generated Node #0,6: 72:[62, 80, 8] Operation: 20-12=8 Moving to Node #0,6 Current State: 72:[62, 80, 8], Operations: ['20-12=8'] Exploring Operation: 80-62=18, Resulting Numbers: [8, 18] Generated Node #0,6,0: 72:[8, 18] Operation: 80-62=18 Moving to Node #0,6,0 Current State: 72:[8, 18], Operations: ['20-12=8', '80-62=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,6,0 Current State: 72:[8, 18], Operations: ['20-12=8', '80-62=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,6,0 Current State: 72:[8, 18], Operations: ['20-12=8', '80-62=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,72 unequal: No Solution Moving to Node #0,6 Current State: 72:[62, 80, 8], Operations: ['20-12=8'] Exploring Operation: 62+8=70, Resulting Numbers: [80, 70] Generated Node #0,6,1: 72:[80, 70] Operation: 62+8=70 Moving to Node #0,6,1 Current State: 72:[80, 70], Operations: ['20-12=8', '62+8=70'] Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,6 Current State: 72:[62, 80, 8], Operations: ['20-12=8'] Exploring Operation: 80-8=72, Resulting Numbers: [62, 72] Generated Node #0,6,2: 72:[62, 72] Operation: 80-8=72 Moving to Node #0,6,2 Current State: 72:[62, 72], Operations: ['20-12=8', '80-8=72'] Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,6,2 Current State: 72:[62, 72], Operations: ['20-12=8', '80-8=72'] Exploring Operation: 62+72=134, Resulting Numbers: [134] 134,72 unequal: No Solution Moving to Node #0,6 Current State: 72:[62, 80, 8], Operations: ['20-12=8'] Exploring Operation: 80/8=10, Resulting Numbers: [62, 10] Generated Node #0,6,3: 72:[62, 10] Operation: 80/8=10 Moving to Node #0,6,3 Current State: 72:[62, 10], Operations: ['20-12=8', '80/8=10'] Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.888021
dfs
Current State: 72:[62, 20, 12, 80], Operations: [] Exploring Operation: 20-12=8, Resulting Numbers: [62, 80, 8] Generated Node #2: [62, 80, 8] from Operation: 20-12=8 Current State: 72:[62, 80, 8], Operations: ['20-12=8'] Exploring Operation: 80/8=10, Resulting Numbers: [62, 10] Generated Node #3: [62, 10] from Operation: 80/8=10 Current State: 72:[62, 10], Operations: ['20-12=8', '80/8=10'] Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
mult_heuristic
[ { "content": "Make 72 with the numbers [62, 20, 12, 80] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 72:[62, 20, 12, 80], Operations: []\nExploring Operation: 80-62=18, Resulting Numbers: [20, 12, 18]\nGenerated Node #0,0: 72:[20, 12, 18] Operation: 80-62=18\nMoving to Node #0,0\nCurrent State: 72:[20, 12, 18], Operations: ['80-62=18']\nExploring Operation: 20-12=8, Resulting Numbers: [18, 8]\nGenerated Node #0,0,0: 72:[18, 8] Operation: 20-12=8\nMoving to Node #0,0,0\nCurrent State: 72:[18, 8], Operations: ['80-62=18', '20-12=8']\nExploring Operation: 18-8=10, Resulting Numbers: [10]\n10,72 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 72:[18, 8], Operations: ['80-62=18', '20-12=8']\nExploring Operation: 18+8=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 72:[18, 8], Operations: ['80-62=18', '20-12=8']\nExploring Operation: 18*8=144, Resulting Numbers: [144]\n144,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[20, 12, 18], Operations: ['80-62=18']\nExploring Operation: 20-18=2, Resulting Numbers: [12, 2]\nGenerated Node #0,0,1: 72:[12, 2] Operation: 20-18=2\nMoving to Node #0,0,1\nCurrent State: 72:[12, 2], Operations: ['80-62=18', '20-18=2']\nExploring Operation: 12*2=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 72:[12, 2], Operations: ['80-62=18', '20-18=2']\nExploring Operation: 12/2=6, Resulting Numbers: [6]\n6,72 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 72:[12, 2], Operations: ['80-62=18', '20-18=2']\nExploring Operation: 12-2=10, Resulting Numbers: [10]\n10,72 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 72:[12, 2], Operations: ['80-62=18', '20-18=2']\nExploring Operation: 12+2=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[20, 12, 18], Operations: ['80-62=18']\nExploring Operation: 20+18=38, Resulting Numbers: [12, 38]\nGenerated Node #0,0,2: 72:[12, 38] Operation: 20+18=38\nMoving to Node #0,0,2\nCurrent State: 72:[12, 38], Operations: ['80-62=18', '20+18=38']\nExploring Operation: 38-12=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 72:[12, 38], Operations: ['80-62=18', '20+18=38']\nExploring Operation: 12+38=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[20, 12, 18], Operations: ['80-62=18']\nExploring Operation: 18-12=6, Resulting Numbers: [20, 6]\nGenerated Node #0,0,3: 72:[20, 6] Operation: 18-12=6\nMoving to Node #0,0,3\nCurrent State: 72:[20, 6], Operations: ['80-62=18', '18-12=6']\nExploring Operation: 20+6=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 72:[20, 6], Operations: ['80-62=18', '18-12=6']\nExploring Operation: 20-6=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 72:[20, 6], Operations: ['80-62=18', '18-12=6']\nExploring Operation: 20*6=120, Resulting Numbers: [120]\n120,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[20, 12, 18], Operations: ['80-62=18']\nExploring Operation: 20+12=32, Resulting Numbers: [18, 32]\nGenerated Node #0,0,4: 72:[18, 32] Operation: 20+12=32\nMoving to Node #0,0,4\nCurrent State: 72:[18, 32], Operations: ['80-62=18', '20+12=32']\nExploring Operation: 32-18=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 72:[18, 32], Operations: ['80-62=18', '20+12=32']\nExploring Operation: 18+32=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[20, 12, 18], Operations: ['80-62=18']\nExploring Operation: 12+18=30, Resulting Numbers: [20, 30]\nGenerated Node #0,0,5: 72:[20, 30] Operation: 12+18=30\nMoving to Node #0,0,5\nCurrent State: 72:[20, 30], Operations: ['80-62=18', '12+18=30']\nExploring Operation: 30-20=10, Resulting Numbers: [10]\n10,72 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 72:[20, 30], Operations: ['80-62=18', '12+18=30']\nExploring Operation: 20+30=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[62, 20, 12, 80], Operations: []\nExploring Operation: 80/20=4, Resulting Numbers: [62, 12, 4]\nGenerated Node #0,1: 72:[62, 12, 4] Operation: 80/20=4\nMoving to Node #0,1\nCurrent State: 72:[62, 12, 4], Operations: ['80/20=4']\nExploring Operation: 62+12=74, Resulting Numbers: [4, 74]\nGenerated Node #0,1,0: 72:[4, 74] Operation: 62+12=74\nMoving to Node #0,1,0\nCurrent State: 72:[4, 74], Operations: ['80/20=4', '62+12=74']\nExploring Operation: 74-4=70, Resulting Numbers: [70]\n70,72 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 72:[4, 74], Operations: ['80/20=4', '62+12=74']\nExploring Operation: 4+74=78, Resulting Numbers: [78]\n78,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[62, 12, 4], Operations: ['80/20=4']\nExploring Operation: 62+4=66, Resulting Numbers: [12, 66]\nGenerated Node #0,1,1: 72:[12, 66] Operation: 62+4=66\nMoving to Node #0,1,1\nCurrent State: 72:[12, 66], Operations: ['80/20=4', '62+4=66']\nExploring Operation: 12+66=78, Resulting Numbers: [78]\n78,72 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 72:[12, 66], Operations: ['80/20=4', '62+4=66']\nExploring Operation: 66-12=54, Resulting Numbers: [54]\n54,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[62, 12, 4], Operations: ['80/20=4']\nExploring Operation: 12-4=8, Resulting Numbers: [62, 8]\nGenerated Node #0,1,2: 72:[62, 8] Operation: 12-4=8\nMoving to Node #0,1,2\nCurrent State: 72:[62, 8], Operations: ['80/20=4', '12-4=8']\nExploring Operation: 62+8=70, Resulting Numbers: [70]\n70,72 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 72:[62, 8], Operations: ['80/20=4', '12-4=8']\nExploring Operation: 62-8=54, Resulting Numbers: [54]\n54,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[62, 12, 4], Operations: ['80/20=4']\nExploring Operation: 12/4=3, Resulting Numbers: [62, 3]\nGenerated Node #0,1,3: 72:[62, 3] Operation: 12/4=3\nMoving to Node #0,1,3\nCurrent State: 72:[62, 3], Operations: ['80/20=4', '12/4=3']\nExploring Operation: 62+3=65, Resulting Numbers: [65]\n65,72 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 72:[62, 3], Operations: ['80/20=4', '12/4=3']\nExploring Operation: 62-3=59, Resulting Numbers: [59]\n59,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[62, 12, 4], Operations: ['80/20=4']\nExploring Operation: 12+4=16, Resulting Numbers: [62, 16]\nGenerated Node #0,1,4: 72:[62, 16] Operation: 12+4=16\nMoving to Node #0,1,4\nCurrent State: 72:[62, 16], Operations: ['80/20=4', '12+4=16']\nExploring Operation: 62+16=78, Resulting Numbers: [78]\n78,72 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 72:[62, 16], Operations: ['80/20=4', '12+4=16']\nExploring Operation: 62-16=46, Resulting Numbers: [46]\n46,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[62, 12, 4], Operations: ['80/20=4']\nExploring Operation: 62-12=50, Resulting Numbers: [4, 50]\nGenerated Node #0,1,5: 72:[4, 50] Operation: 62-12=50\nMoving to Node #0,1,5\nCurrent State: 72:[4, 50], Operations: ['80/20=4', '62-12=50']\nExploring Operation: 50-4=46, Resulting Numbers: [46]\n46,72 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 72:[4, 50], Operations: ['80/20=4', '62-12=50']\nExploring Operation: 4+50=54, Resulting Numbers: [54]\n54,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[62, 12, 4], Operations: ['80/20=4']\nExploring Operation: 62-4=58, Resulting Numbers: [12, 58]\nGenerated Node #0,1,6: 72:[12, 58] Operation: 62-4=58\nMoving to Node #0,1,6\nCurrent State: 72:[12, 58], Operations: ['80/20=4', '62-4=58']\nExploring Operation: 12+58=70, Resulting Numbers: [70]\n70,72 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 72:[12, 58], Operations: ['80/20=4', '62-4=58']\nExploring Operation: 58-12=46, Resulting Numbers: [46]\n46,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[62, 12, 4], Operations: ['80/20=4']\nExploring Operation: 12*4=48, Resulting Numbers: [62, 48]\nGenerated Node #0,1,7: 72:[62, 48] Operation: 12*4=48\nMoving to Node #0,1,7\nCurrent State: 72:[62, 48], Operations: ['80/20=4', '12*4=48']\nExploring Operation: 62-48=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,1,7\nCurrent State: 72:[62, 48], Operations: ['80/20=4', '12*4=48']\nExploring Operation: 62+48=110, Resulting Numbers: [110]\n110,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[62, 20, 12, 80], Operations: []\nExploring Operation: 62+12=74, Resulting Numbers: [20, 80, 74]\nGenerated Node #0,2: 72:[20, 80, 74] Operation: 62+12=74\nMoving to Node #0,2\nCurrent State: 72:[20, 80, 74], Operations: ['62+12=74']\nExploring Operation: 80/20=4, Resulting Numbers: [74, 4]\nGenerated Node #0,2,0: 72:[74, 4] Operation: 80/20=4\nMoving to Node #0,2,0\nCurrent State: 72:[74, 4], Operations: ['62+12=74', '80/20=4']\nExploring Operation: 74-4=70, Resulting Numbers: [70]\n70,72 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 72:[74, 4], Operations: ['62+12=74', '80/20=4']\nExploring Operation: 74+4=78, Resulting Numbers: [78]\n78,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[20, 80, 74], Operations: ['62+12=74']\nExploring Operation: 80-74=6, Resulting Numbers: [20, 6]\nGenerated Node #0,2,1: 72:[20, 6] Operation: 80-74=6\nMoving to Node #0,2,1\nCurrent State: 72:[20, 6], Operations: ['62+12=74', '80-74=6']\nExploring Operation: 20+6=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 72:[20, 6], Operations: ['62+12=74', '80-74=6']\nExploring Operation: 20-6=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 72:[20, 6], Operations: ['62+12=74', '80-74=6']\nExploring Operation: 20*6=120, Resulting Numbers: [120]\n120,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[20, 80, 74], Operations: ['62+12=74']\nExploring Operation: 80-20=60, Resulting Numbers: [74, 60]\nGenerated Node #0,2,2: 72:[74, 60] Operation: 80-20=60\nMoving to Node #0,2,2\nCurrent State: 72:[74, 60], Operations: ['62+12=74', '80-20=60']\nExploring Operation: 74-60=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 72:[74, 60], Operations: ['62+12=74', '80-20=60']\nExploring Operation: 74+60=134, Resulting Numbers: [134]\n134,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[20, 80, 74], Operations: ['62+12=74']\nExploring Operation: 74-20=54, Resulting Numbers: [80, 54]\nGenerated Node #0,2,3: 72:[80, 54] Operation: 74-20=54\nMoving to Node #0,2,3\nCurrent State: 72:[80, 54], Operations: ['62+12=74', '74-20=54']\nExploring Operation: 80-54=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 72:[80, 54], Operations: ['62+12=74', '74-20=54']\nExploring Operation: 80+54=134, Resulting Numbers: [134]\n134,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[20, 80, 74], Operations: ['62+12=74']\nExploring Operation: 20+80=100, Resulting Numbers: [74, 100]\nGenerated Node #0,2,4: 72:[74, 100] Operation: 20+80=100\nMoving to Node #0,2,4\nCurrent State: 72:[74, 100], Operations: ['62+12=74', '20+80=100']\nExploring Operation: 100-74=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[20, 80, 74], Operations: ['62+12=74']\nExploring Operation: 20+74=94, Resulting Numbers: [80, 94]\nGenerated Node #0,2,5: 72:[80, 94] Operation: 20+74=94\nMoving to Node #0,2,5\nCurrent State: 72:[80, 94], Operations: ['62+12=74', '20+74=94']\nExploring Operation: 94-80=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[62, 20, 12, 80], Operations: []\nExploring Operation: 62-20=42, Resulting Numbers: [12, 80, 42]\nGenerated Node #0,3: 72:[12, 80, 42] Operation: 62-20=42\nMoving to Node #0,3\nCurrent State: 72:[12, 80, 42], Operations: ['62-20=42']\nExploring Operation: 80-42=38, Resulting Numbers: [12, 38]\nGenerated Node #0,3,0: 72:[12, 38] Operation: 80-42=38\nMoving to Node #0,3,0\nCurrent State: 72:[12, 38], Operations: ['62-20=42', '80-42=38']\nExploring Operation: 38-12=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 72:[12, 38], Operations: ['62-20=42', '80-42=38']\nExploring Operation: 12+38=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[12, 80, 42], Operations: ['62-20=42']\nExploring Operation: 80-12=68, Resulting Numbers: [42, 68]\nGenerated Node #0,3,1: 72:[42, 68] Operation: 80-12=68\nMoving to Node #0,3,1\nCurrent State: 72:[42, 68], Operations: ['62-20=42', '80-12=68']\nExploring Operation: 68-42=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 72:[42, 68], Operations: ['62-20=42', '80-12=68']\nExploring Operation: 42+68=110, Resulting Numbers: [110]\n110,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[12, 80, 42], Operations: ['62-20=42']\nExploring Operation: 42-12=30, Resulting Numbers: [80, 30]\nGenerated Node #0,3,2: 72:[80, 30] Operation: 42-12=30\nMoving to Node #0,3,2\nCurrent State: 72:[80, 30], Operations: ['62-20=42', '42-12=30']\nExploring Operation: 80-30=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 72:[80, 30], Operations: ['62-20=42', '42-12=30']\nExploring Operation: 80+30=110, Resulting Numbers: [110]\n110,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[12, 80, 42], Operations: ['62-20=42']\nExploring Operation: 12+80=92, Resulting Numbers: [42, 92]\nGenerated Node #0,3,3: 72:[42, 92] Operation: 12+80=92\nMoving to Node #0,3,3\nCurrent State: 72:[42, 92], Operations: ['62-20=42', '12+80=92']\nExploring Operation: 92-42=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 72:[42, 92], Operations: ['62-20=42', '12+80=92']\nExploring Operation: 42+92=134, Resulting Numbers: [134]\n134,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[12, 80, 42], Operations: ['62-20=42']\nExploring Operation: 12+42=54, Resulting Numbers: [80, 54]\nGenerated Node #0,3,4: 72:[80, 54] Operation: 12+42=54\nMoving to Node #0,3,4\nCurrent State: 72:[80, 54], Operations: ['62-20=42', '12+42=54']\nExploring Operation: 80-54=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 72:[80, 54], Operations: ['62-20=42', '12+42=54']\nExploring Operation: 80+54=134, Resulting Numbers: [134]\n134,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[12, 80, 42], Operations: ['62-20=42']\nExploring Operation: 80+42=122, Resulting Numbers: [12, 122]\nGenerated Node #0,3,5: 72:[12, 122] Operation: 80+42=122\nMoving to Node #0,3,5\nCurrent State: 72:[12, 122], Operations: ['62-20=42', '80+42=122']\nExploring Operation: 122-12=110, Resulting Numbers: [110]\n110,72 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 72:[12, 122], Operations: ['62-20=42', '80+42=122']\nExploring Operation: 12+122=134, Resulting Numbers: [134]\n134,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[62, 20, 12, 80], Operations: []\nExploring Operation: 80-12=68, Resulting Numbers: [62, 20, 68]\nGenerated Node #0,4: 72:[62, 20, 68] Operation: 80-12=68\nMoving to Node #0,4\nCurrent State: 72:[62, 20, 68], Operations: ['80-12=68']\nExploring Operation: 68-62=6, Resulting Numbers: [20, 6]\nGenerated Node #0,4,0: 72:[20, 6] Operation: 68-62=6\nMoving to Node #0,4,0\nCurrent State: 72:[20, 6], Operations: ['80-12=68', '68-62=6']\nExploring Operation: 20+6=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 72:[20, 6], Operations: ['80-12=68', '68-62=6']\nExploring Operation: 20-6=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 72:[20, 6], Operations: ['80-12=68', '68-62=6']\nExploring Operation: 20*6=120, Resulting Numbers: [120]\n120,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[62, 20, 68], Operations: ['80-12=68']\nExploring Operation: 62-20=42, Resulting Numbers: [68, 42]\nGenerated Node #0,4,1: 72:[68, 42] Operation: 62-20=42\nMoving to Node #0,4,1\nCurrent State: 72:[68, 42], Operations: ['80-12=68', '62-20=42']\nExploring Operation: 68-42=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 72:[68, 42], Operations: ['80-12=68', '62-20=42']\nExploring Operation: 68+42=110, Resulting Numbers: [110]\n110,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[62, 20, 68], Operations: ['80-12=68']\nExploring Operation: 62+20=82, Resulting Numbers: [68, 82]\nGenerated Node #0,4,2: 72:[68, 82] Operation: 62+20=82\nMoving to Node #0,4,2\nCurrent State: 72:[68, 82], Operations: ['80-12=68', '62+20=82']\nExploring Operation: 82-68=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[62, 20, 68], Operations: ['80-12=68']\nExploring Operation: 68-20=48, Resulting Numbers: [62, 48]\nGenerated Node #0,4,3: 72:[62, 48] Operation: 68-20=48\nMoving to Node #0,4,3\nCurrent State: 72:[62, 48], Operations: ['80-12=68', '68-20=48']\nExploring Operation: 62-48=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 72:[62, 48], Operations: ['80-12=68', '68-20=48']\nExploring Operation: 62+48=110, Resulting Numbers: [110]\n110,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[62, 20, 68], Operations: ['80-12=68']\nExploring Operation: 20+68=88, Resulting Numbers: [62, 88]\nGenerated Node #0,4,4: 72:[62, 88] Operation: 20+68=88\nMoving to Node #0,4,4\nCurrent State: 72:[62, 88], Operations: ['80-12=68', '20+68=88']\nExploring Operation: 88-62=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[62, 20, 68], Operations: ['80-12=68']\nExploring Operation: 62+68=130, Resulting Numbers: [20, 130]\nGenerated Node #0,4,5: 72:[20, 130] Operation: 62+68=130\nMoving to Node #0,4,5\nCurrent State: 72:[20, 130], Operations: ['80-12=68', '62+68=130']\nExploring Operation: 130-20=110, Resulting Numbers: [110]\n110,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[62, 20, 12, 80], Operations: []\nExploring Operation: 62+20=82, Resulting Numbers: [12, 80, 82]\nGenerated Node #0,5: 72:[12, 80, 82] Operation: 62+20=82\nMoving to Node #0,5\nCurrent State: 72:[12, 80, 82], Operations: ['62+20=82']\nExploring Operation: 82-80=2, Resulting Numbers: [12, 2]\nGenerated Node #0,5,0: 72:[12, 2] Operation: 82-80=2\nMoving to Node #0,5,0\nCurrent State: 72:[12, 2], Operations: ['62+20=82', '82-80=2']\nExploring Operation: 12*2=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 72:[12, 2], Operations: ['62+20=82', '82-80=2']\nExploring Operation: 12/2=6, Resulting Numbers: [6]\n6,72 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 72:[12, 2], Operations: ['62+20=82', '82-80=2']\nExploring Operation: 12-2=10, Resulting Numbers: [10]\n10,72 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 72:[12, 2], Operations: ['62+20=82', '82-80=2']\nExploring Operation: 12+2=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[12, 80, 82], Operations: ['62+20=82']\nExploring Operation: 82-12=70, Resulting Numbers: [80, 70]\nGenerated Node #0,5,1: 72:[80, 70] Operation: 82-12=70\nMoving to Node #0,5,1\nCurrent State: 72:[80, 70], Operations: ['62+20=82', '82-12=70']\nExploring Operation: 80-70=10, Resulting Numbers: [10]\n10,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[12, 80, 82], Operations: ['62+20=82']\nExploring Operation: 80-12=68, Resulting Numbers: [82, 68]\nGenerated Node #0,5,2: 72:[82, 68] Operation: 80-12=68\nMoving to Node #0,5,2\nCurrent State: 72:[82, 68], Operations: ['62+20=82', '80-12=68']\nExploring Operation: 82-68=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[12, 80, 82], Operations: ['62+20=82']\nExploring Operation: 12+80=92, Resulting Numbers: [82, 92]\nGenerated Node #0,5,3: 72:[82, 92] Operation: 12+80=92\nMoving to Node #0,5,3\nCurrent State: 72:[82, 92], Operations: ['62+20=82', '12+80=92']\nExploring Operation: 92-82=10, Resulting Numbers: [10]\n10,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[12, 80, 82], Operations: ['62+20=82']\nExploring Operation: 12+82=94, Resulting Numbers: [80, 94]\nGenerated Node #0,5,4: 72:[80, 94] Operation: 12+82=94\nMoving to Node #0,5,4\nCurrent State: 72:[80, 94], Operations: ['62+20=82', '12+82=94']\nExploring Operation: 94-80=14, Resulting Numbers: [14]\n14,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[62, 20, 12, 80], Operations: []\nExploring Operation: 20-12=8, Resulting Numbers: [62, 80, 8]\nGenerated Node #0,6: 72:[62, 80, 8] Operation: 20-12=8\nMoving to Node #0,6\nCurrent State: 72:[62, 80, 8], Operations: ['20-12=8']\nExploring Operation: 80-62=18, Resulting Numbers: [8, 18]\nGenerated Node #0,6,0: 72:[8, 18] Operation: 80-62=18\nMoving to Node #0,6,0\nCurrent State: 72:[8, 18], Operations: ['20-12=8', '80-62=18']\nExploring Operation: 18-8=10, Resulting Numbers: [10]\n10,72 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 72:[8, 18], Operations: ['20-12=8', '80-62=18']\nExploring Operation: 8+18=26, Resulting Numbers: [26]\n26,72 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 72:[8, 18], Operations: ['20-12=8', '80-62=18']\nExploring Operation: 8*18=144, Resulting Numbers: [144]\n144,72 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 72:[62, 80, 8], Operations: ['20-12=8']\nExploring Operation: 62+8=70, Resulting Numbers: [80, 70]\nGenerated Node #0,6,1: 72:[80, 70] Operation: 62+8=70\nMoving to Node #0,6,1\nCurrent State: 72:[80, 70], Operations: ['20-12=8', '62+8=70']\nExploring Operation: 80-70=10, Resulting Numbers: [10]\n10,72 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 72:[62, 80, 8], Operations: ['20-12=8']\nExploring Operation: 80-8=72, Resulting Numbers: [62, 72]\nGenerated Node #0,6,2: 72:[62, 72] Operation: 80-8=72\nMoving to Node #0,6,2\nCurrent State: 72:[62, 72], Operations: ['20-12=8', '80-8=72']\nExploring Operation: 72-62=10, Resulting Numbers: [10]\n10,72 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 72:[62, 72], Operations: ['20-12=8', '80-8=72']\nExploring Operation: 62+72=134, Resulting Numbers: [134]\n134,72 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 72:[62, 80, 8], Operations: ['20-12=8']\nExploring Operation: 80/8=10, Resulting Numbers: [62, 10]\nGenerated Node #0,6,3: 72:[62, 10] Operation: 80/8=10\nMoving to Node #0,6,3\nCurrent State: 72:[62, 10], Operations: ['20-12=8', '80/8=10']\nExploring Operation: 62+10=72, Resulting Numbers: [72]\n72,72 equal: Goal Reached\n", "role": "assistant" } ]
[ 35, 88, 46, 35 ]
64
[ "88-35=53", "46-35=11", "53+11=64" ]
Current State: 64:[35, 88, 46, 35], Operations: [] Exploring Operation: 35+35=70, Resulting Numbers: [88, 46, 70] Generated Node #0,0: 64:[88, 46, 70] Operation: 35+35=70 Exploring Operation: 88-35=53, Resulting Numbers: [46, 35, 53] Generated Node #0,1: 64:[46, 35, 53] Operation: 88-35=53 Moving to Node #0,0 Current State: 64:[88, 46, 70], Operations: ['35+35=70'] Exploring Operation: 88-70=18, Resulting Numbers: [46, 18] Generated Node #0,0,0: 64:[46, 18] Operation: 88-70=18 Exploring Operation: 88-46=42, Resulting Numbers: [70, 42] Generated Node #0,0,1: 64:[70, 42] Operation: 88-46=42 Moving to Node #0,1 Current State: 64:[46, 35, 53], Operations: ['88-35=53'] Exploring Operation: 46+35=81, Resulting Numbers: [53, 81] Generated Node #0,1,0: 64:[53, 81] Operation: 46+35=81 Exploring Operation: 35+53=88, Resulting Numbers: [46, 88] Generated Node #0,1,1: 64:[46, 88] Operation: 35+53=88 Moving to Node #0,0,1 Current State: 64:[70, 42], Operations: ['35+35=70', '88-46=42'] Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 70+42=112, Resulting Numbers: [112] 112,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[53, 81], Operations: ['88-35=53', '46+35=81'] Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 53+81=134, Resulting Numbers: [134] 134,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[46, 88], Operations: ['88-35=53', '35+53=88'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 46+88=134, Resulting Numbers: [134] 134,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[46, 18], Operations: ['35+35=70', '88-70=18'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.986979
bfs_2
Current State: 64:[35, 88, 46, 35], Operations: [] Exploring Operation: 88-35=53, Resulting Numbers: [46, 53] Generated Node #2: [46, 53] from Operation: 88-35=53 Current State: 64:[46, 53], Operations: ['88-35=53'] Exploring Operation: 46-35=11, Resulting Numbers: [53, 11] Generated Node #3: [53, 11] from Operation: 46-35=11 Current State: 64:[53, 11], Operations: ['88-35=53', '46-35=11'] Exploring Operation: 53+11=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
sum_heuristic
[ { "content": "Make 64 with the numbers [35, 88, 46, 35] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 64:[35, 88, 46, 35], Operations: []\nExploring Operation: 35+35=70, Resulting Numbers: [88, 46, 70]\nGenerated Node #0,0: 64:[88, 46, 70] Operation: 35+35=70\nExploring Operation: 88-35=53, Resulting Numbers: [46, 35, 53]\nGenerated Node #0,1: 64:[46, 35, 53] Operation: 88-35=53\nMoving to Node #0,0\nCurrent State: 64:[88, 46, 70], Operations: ['35+35=70']\nExploring Operation: 88-70=18, Resulting Numbers: [46, 18]\nGenerated Node #0,0,0: 64:[46, 18] Operation: 88-70=18\nExploring Operation: 88-46=42, Resulting Numbers: [70, 42]\nGenerated Node #0,0,1: 64:[70, 42] Operation: 88-46=42\nMoving to Node #0,1\nCurrent State: 64:[46, 35, 53], Operations: ['88-35=53']\nExploring Operation: 46+35=81, Resulting Numbers: [53, 81]\nGenerated Node #0,1,0: 64:[53, 81] Operation: 46+35=81\nExploring Operation: 35+53=88, Resulting Numbers: [46, 88]\nGenerated Node #0,1,1: 64:[46, 88] Operation: 35+53=88\nMoving to Node #0,0,1\nCurrent State: 64:[70, 42], Operations: ['35+35=70', '88-46=42']\nExploring Operation: 70-42=28, Resulting Numbers: [28]\n28,64 unequal: No Solution\nExploring Operation: 70+42=112, Resulting Numbers: [112]\n112,64 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 64:[53, 81], Operations: ['88-35=53', '46+35=81']\nExploring Operation: 81-53=28, Resulting Numbers: [28]\n28,64 unequal: No Solution\nExploring Operation: 53+81=134, Resulting Numbers: [134]\n134,64 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 64:[46, 88], Operations: ['88-35=53', '35+53=88']\nExploring Operation: 88-46=42, Resulting Numbers: [42]\n42,64 unequal: No Solution\nExploring Operation: 46+88=134, Resulting Numbers: [134]\n134,64 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 64:[46, 18], Operations: ['35+35=70', '88-70=18']\nExploring Operation: 46-18=28, Resulting Numbers: [28]\n28,64 unequal: No Solution\nExploring Operation: 46+18=64, Resulting Numbers: [64]\n64,64 equal: Goal Reached\n", "role": "assistant" } ]
[ 59, 7, 57, 4 ]
88
[ "59+57=116", "7*4=28", "116-28=88" ]
Current State: 88:[59, 7, 57, 4], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [7, 4, 2] Generated Node #0,0: 88:[7, 4, 2] Operation: 59-57=2 Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 7+4=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 88:[2, 11] Operation: 7+4=11 Moving to Node #0,0,0 Current State: 88:[2, 11], Operations: ['59-57=2', '7+4=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[2, 11], Operations: ['59-57=2', '7+4=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[2, 11], Operations: ['59-57=2', '7+4=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 7-4=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 88:[2, 3] Operation: 7-4=3 Moving to Node #0,0,1 Current State: 88:[2, 3], Operations: ['59-57=2', '7-4=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[2, 3], Operations: ['59-57=2', '7-4=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[2, 3], Operations: ['59-57=2', '7-4=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,88 unequal: No Solution Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 7+2=9, Resulting Numbers: [4, 9] Generated Node #0,0,2: 88:[4, 9] Operation: 7+2=9 Moving to Node #0,0,2 Current State: 88:[4, 9], Operations: ['59-57=2', '7+2=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[4, 9], Operations: ['59-57=2', '7+2=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[4, 9], Operations: ['59-57=2', '7+2=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,88 unequal: No Solution Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 7-2=5, Resulting Numbers: [4, 5] Generated Node #0,0,3: 88:[4, 5] Operation: 7-2=5 Moving to Node #0,0,3 Current State: 88:[4, 5], Operations: ['59-57=2', '7-2=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[4, 5], Operations: ['59-57=2', '7-2=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[4, 5], Operations: ['59-57=2', '7-2=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,88 unequal: No Solution Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 4*2=8, Resulting Numbers: [7, 8] Generated Node #0,0,4: 88:[7, 8] Operation: 4*2=8 Moving to Node #0,0,4 Current State: 88:[7, 8], Operations: ['59-57=2', '4*2=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,0,4 Current State: 88:[7, 8], Operations: ['59-57=2', '4*2=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,88 unequal: No Solution Moving to Node #0,0,4 Current State: 88:[7, 8], Operations: ['59-57=2', '4*2=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,88 unequal: No Solution Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 4-2=2, Resulting Numbers: [7, 2] Generated Node #0,0,5: 88:[7, 2] Operation: 4-2=2 Moving to Node #0,0,5 Current State: 88:[7, 2], Operations: ['59-57=2', '4-2=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,0,5 Current State: 88:[7, 2], Operations: ['59-57=2', '4-2=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,0,5 Current State: 88:[7, 2], Operations: ['59-57=2', '4-2=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,88 unequal: No Solution Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 4/2=2, Resulting Numbers: [7, 2] Generated Node #0,0,6: 88:[7, 2] Operation: 4/2=2 Moving to Node #0,0,6 Current State: 88:[7, 2], Operations: ['59-57=2', '4/2=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,0,6 Current State: 88:[7, 2], Operations: ['59-57=2', '4/2=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,0,6 Current State: 88:[7, 2], Operations: ['59-57=2', '4/2=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,88 unequal: No Solution Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 7*2=14, Resulting Numbers: [4, 14] Generated Node #0,0,7: 88:[4, 14] Operation: 7*2=14 Moving to Node #0,0,7 Current State: 88:[4, 14], Operations: ['59-57=2', '7*2=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,88 unequal: No Solution Moving to Node #0,0,7 Current State: 88:[4, 14], Operations: ['59-57=2', '7*2=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,88 unequal: No Solution Moving to Node #0,0,7 Current State: 88:[4, 14], Operations: ['59-57=2', '7*2=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,88 unequal: No Solution Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 4+2=6, Resulting Numbers: [7, 6] Generated Node #0,0,8: 88:[7, 6] Operation: 4+2=6 Moving to Node #0,0,8 Current State: 88:[7, 6], Operations: ['59-57=2', '4+2=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,0,8 Current State: 88:[7, 6], Operations: ['59-57=2', '4+2=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,0,8 Current State: 88:[7, 6], Operations: ['59-57=2', '4+2=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,88 unequal: No Solution Moving to Node #0,0 Current State: 88:[7, 4, 2], Operations: ['59-57=2'] Exploring Operation: 7*4=28, Resulting Numbers: [2, 28] Generated Node #0,0,9: 88:[2, 28] Operation: 7*4=28 Moving to Node #0,0,9 Current State: 88:[2, 28], Operations: ['59-57=2', '7*4=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,88 unequal: No Solution Moving to Node #0,0,9 Current State: 88:[2, 28], Operations: ['59-57=2', '7*4=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,88 unequal: No Solution Moving to Node #0,0,9 Current State: 88:[2, 28], Operations: ['59-57=2', '7*4=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,88 unequal: No Solution Moving to Node #0,0,9 Current State: 88:[2, 28], Operations: ['59-57=2', '7*4=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,88 unequal: No Solution Moving to Node #0 Current State: 88:[59, 7, 57, 4], Operations: [] Exploring Operation: 59-7=52, Resulting Numbers: [57, 4, 52] Generated Node #0,1: 88:[57, 4, 52] Operation: 59-7=52 Moving to Node #0,1 Current State: 88:[57, 4, 52], Operations: ['59-7=52'] Exploring Operation: 57-52=5, Resulting Numbers: [4, 5] Generated Node #0,1,0: 88:[4, 5] Operation: 57-52=5 Moving to Node #0,1,0 Current State: 88:[4, 5], Operations: ['59-7=52', '57-52=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[4, 5], Operations: ['59-7=52', '57-52=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[4, 5], Operations: ['59-7=52', '57-52=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,88 unequal: No Solution Moving to Node #0,1 Current State: 88:[57, 4, 52], Operations: ['59-7=52'] Exploring Operation: 52/4=13, Resulting Numbers: [57, 13] Generated Node #0,1,1: 88:[57, 13] Operation: 52/4=13 Moving to Node #0,1,1 Current State: 88:[57, 13], Operations: ['59-7=52', '52/4=13'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[57, 13], Operations: ['59-7=52', '52/4=13'] Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,88 unequal: No Solution Moving to Node #0,1 Current State: 88:[57, 4, 52], Operations: ['59-7=52'] Exploring Operation: 57-4=53, Resulting Numbers: [52, 53] Generated Node #0,1,2: 88:[52, 53] Operation: 57-4=53 Moving to Node #0,1,2 Current State: 88:[52, 53], Operations: ['59-7=52', '57-4=53'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[52, 53], Operations: ['59-7=52', '57-4=53'] Exploring Operation: 52+53=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,1 Current State: 88:[57, 4, 52], Operations: ['59-7=52'] Exploring Operation: 52-4=48, Resulting Numbers: [57, 48] Generated Node #0,1,3: 88:[57, 48] Operation: 52-4=48 Moving to Node #0,1,3 Current State: 88:[57, 48], Operations: ['59-7=52', '52-4=48'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[57, 48], Operations: ['59-7=52', '52-4=48'] Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,1 Current State: 88:[57, 4, 52], Operations: ['59-7=52'] Exploring Operation: 57+52=109, Resulting Numbers: [4, 109] Generated Node #0,1,4: 88:[4, 109] Operation: 57+52=109 Moving to Node #0,1,4 Current State: 88:[4, 109], Operations: ['59-7=52', '57+52=109'] Exploring Operation: 109-4=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[4, 109], Operations: ['59-7=52', '57+52=109'] Exploring Operation: 4+109=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0,1 Current State: 88:[57, 4, 52], Operations: ['59-7=52'] Exploring Operation: 57+4=61, Resulting Numbers: [52, 61] Generated Node #0,1,5: 88:[52, 61] Operation: 57+4=61 Moving to Node #0,1,5 Current State: 88:[52, 61], Operations: ['59-7=52', '57+4=61'] Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,1,5 Current State: 88:[52, 61], Operations: ['59-7=52', '57+4=61'] Exploring Operation: 52+61=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0,1 Current State: 88:[57, 4, 52], Operations: ['59-7=52'] Exploring Operation: 4+52=56, Resulting Numbers: [57, 56] Generated Node #0,1,6: 88:[57, 56] Operation: 4+52=56 Moving to Node #0,1,6 Current State: 88:[57, 56], Operations: ['59-7=52', '4+52=56'] Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,1,6 Current State: 88:[57, 56], Operations: ['59-7=52', '4+52=56'] Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0 Current State: 88:[59, 7, 57, 4], Operations: [] Exploring Operation: 57-7=50, Resulting Numbers: [59, 4, 50] Generated Node #0,2: 88:[59, 4, 50] Operation: 57-7=50 Moving to Node #0,2 Current State: 88:[59, 4, 50], Operations: ['57-7=50'] Exploring Operation: 59-50=9, Resulting Numbers: [4, 9] Generated Node #0,2,0: 88:[4, 9] Operation: 59-50=9 Moving to Node #0,2,0 Current State: 88:[4, 9], Operations: ['57-7=50', '59-50=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[4, 9], Operations: ['57-7=50', '59-50=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[4, 9], Operations: ['57-7=50', '59-50=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,88 unequal: No Solution Moving to Node #0,2 Current State: 88:[59, 4, 50], Operations: ['57-7=50'] Exploring Operation: 59-4=55, Resulting Numbers: [50, 55] Generated Node #0,2,1: 88:[50, 55] Operation: 59-4=55 Moving to Node #0,2,1 Current State: 88:[50, 55], Operations: ['57-7=50', '59-4=55'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[50, 55], Operations: ['57-7=50', '59-4=55'] Exploring Operation: 50+55=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,2 Current State: 88:[59, 4, 50], Operations: ['57-7=50'] Exploring Operation: 50-4=46, Resulting Numbers: [59, 46] Generated Node #0,2,2: 88:[59, 46] Operation: 50-4=46 Moving to Node #0,2,2 Current State: 88:[59, 46], Operations: ['57-7=50', '50-4=46'] Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[59, 46], Operations: ['57-7=50', '50-4=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,2 Current State: 88:[59, 4, 50], Operations: ['57-7=50'] Exploring Operation: 59+50=109, Resulting Numbers: [4, 109] Generated Node #0,2,3: 88:[4, 109] Operation: 59+50=109 Moving to Node #0,2,3 Current State: 88:[4, 109], Operations: ['57-7=50', '59+50=109'] Exploring Operation: 109-4=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[4, 109], Operations: ['57-7=50', '59+50=109'] Exploring Operation: 4+109=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0,2 Current State: 88:[59, 4, 50], Operations: ['57-7=50'] Exploring Operation: 59+4=63, Resulting Numbers: [50, 63] Generated Node #0,2,4: 88:[50, 63] Operation: 59+4=63 Moving to Node #0,2,4 Current State: 88:[50, 63], Operations: ['57-7=50', '59+4=63'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,2,4 Current State: 88:[50, 63], Operations: ['57-7=50', '59+4=63'] Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0,2 Current State: 88:[59, 4, 50], Operations: ['57-7=50'] Exploring Operation: 4+50=54, Resulting Numbers: [59, 54] Generated Node #0,2,5: 88:[59, 54] Operation: 4+50=54 Moving to Node #0,2,5 Current State: 88:[59, 54], Operations: ['57-7=50', '4+50=54'] Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,2,5 Current State: 88:[59, 54], Operations: ['57-7=50', '4+50=54'] Exploring Operation: 59+54=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0 Current State: 88:[59, 7, 57, 4], Operations: [] Exploring Operation: 59-4=55, Resulting Numbers: [7, 57, 55] Generated Node #0,3: 88:[7, 57, 55] Operation: 59-4=55 Moving to Node #0,3 Current State: 88:[7, 57, 55], Operations: ['59-4=55'] Exploring Operation: 57-55=2, Resulting Numbers: [7, 2] Generated Node #0,3,0: 88:[7, 2] Operation: 57-55=2 Moving to Node #0,3,0 Current State: 88:[7, 2], Operations: ['59-4=55', '57-55=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[7, 2], Operations: ['59-4=55', '57-55=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[7, 2], Operations: ['59-4=55', '57-55=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,88 unequal: No Solution Moving to Node #0,3 Current State: 88:[7, 57, 55], Operations: ['59-4=55'] Exploring Operation: 57-7=50, Resulting Numbers: [55, 50] Generated Node #0,3,1: 88:[55, 50] Operation: 57-7=50 Moving to Node #0,3,1 Current State: 88:[55, 50], Operations: ['59-4=55', '57-7=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[55, 50], Operations: ['59-4=55', '57-7=50'] Exploring Operation: 55+50=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,3 Current State: 88:[7, 57, 55], Operations: ['59-4=55'] Exploring Operation: 55-7=48, Resulting Numbers: [57, 48] Generated Node #0,3,2: 88:[57, 48] Operation: 55-7=48 Moving to Node #0,3,2 Current State: 88:[57, 48], Operations: ['59-4=55', '55-7=48'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[57, 48], Operations: ['59-4=55', '55-7=48'] Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,3 Current State: 88:[7, 57, 55], Operations: ['59-4=55'] Exploring Operation: 57+55=112, Resulting Numbers: [7, 112] Generated Node #0,3,3: 88:[7, 112] Operation: 57+55=112 Moving to Node #0,3,3 Current State: 88:[7, 112], Operations: ['59-4=55', '57+55=112'] Exploring Operation: 112/7=16, Resulting Numbers: [16] 16,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[7, 112], Operations: ['59-4=55', '57+55=112'] Exploring Operation: 112-7=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[7, 112], Operations: ['59-4=55', '57+55=112'] Exploring Operation: 7+112=119, Resulting Numbers: [119] 119,88 unequal: No Solution Moving to Node #0,3 Current State: 88:[7, 57, 55], Operations: ['59-4=55'] Exploring Operation: 7+57=64, Resulting Numbers: [55, 64] Generated Node #0,3,4: 88:[55, 64] Operation: 7+57=64 Moving to Node #0,3,4 Current State: 88:[55, 64], Operations: ['59-4=55', '7+57=64'] Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[55, 64], Operations: ['59-4=55', '7+57=64'] Exploring Operation: 55+64=119, Resulting Numbers: [119] 119,88 unequal: No Solution Moving to Node #0,3 Current State: 88:[7, 57, 55], Operations: ['59-4=55'] Exploring Operation: 7+55=62, Resulting Numbers: [57, 62] Generated Node #0,3,5: 88:[57, 62] Operation: 7+55=62 Moving to Node #0,3,5 Current State: 88:[57, 62], Operations: ['59-4=55', '7+55=62'] Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,3,5 Current State: 88:[57, 62], Operations: ['59-4=55', '7+55=62'] Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,88 unequal: No Solution Moving to Node #0 Current State: 88:[59, 7, 57, 4], Operations: [] Exploring Operation: 57-4=53, Resulting Numbers: [59, 7, 53] Generated Node #0,4: 88:[59, 7, 53] Operation: 57-4=53 Moving to Node #0,4 Current State: 88:[59, 7, 53], Operations: ['57-4=53'] Exploring Operation: 59-53=6, Resulting Numbers: [7, 6] Generated Node #0,4,0: 88:[7, 6] Operation: 59-53=6 Moving to Node #0,4,0 Current State: 88:[7, 6], Operations: ['57-4=53', '59-53=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,4,0 Current State: 88:[7, 6], Operations: ['57-4=53', '59-53=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,4,0 Current State: 88:[7, 6], Operations: ['57-4=53', '59-53=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,88 unequal: No Solution Moving to Node #0,4 Current State: 88:[59, 7, 53], Operations: ['57-4=53'] Exploring Operation: 59-7=52, Resulting Numbers: [53, 52] Generated Node #0,4,1: 88:[53, 52] Operation: 59-7=52 Moving to Node #0,4,1 Current State: 88:[53, 52], Operations: ['57-4=53', '59-7=52'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,4,1 Current State: 88:[53, 52], Operations: ['57-4=53', '59-7=52'] Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,4 Current State: 88:[59, 7, 53], Operations: ['57-4=53'] Exploring Operation: 53-7=46, Resulting Numbers: [59, 46] Generated Node #0,4,2: 88:[59, 46] Operation: 53-7=46 Moving to Node #0,4,2 Current State: 88:[59, 46], Operations: ['57-4=53', '53-7=46'] Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,4,2 Current State: 88:[59, 46], Operations: ['57-4=53', '53-7=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,4 Current State: 88:[59, 7, 53], Operations: ['57-4=53'] Exploring Operation: 59+53=112, Resulting Numbers: [7, 112] Generated Node #0,4,3: 88:[7, 112] Operation: 59+53=112 Moving to Node #0,4,3 Current State: 88:[7, 112], Operations: ['57-4=53', '59+53=112'] Exploring Operation: 112/7=16, Resulting Numbers: [16] 16,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[7, 112], Operations: ['57-4=53', '59+53=112'] Exploring Operation: 112-7=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[7, 112], Operations: ['57-4=53', '59+53=112'] Exploring Operation: 7+112=119, Resulting Numbers: [119] 119,88 unequal: No Solution Moving to Node #0,4 Current State: 88:[59, 7, 53], Operations: ['57-4=53'] Exploring Operation: 59+7=66, Resulting Numbers: [53, 66] Generated Node #0,4,4: 88:[53, 66] Operation: 59+7=66 Moving to Node #0,4,4 Current State: 88:[53, 66], Operations: ['57-4=53', '59+7=66'] Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,4,4 Current State: 88:[53, 66], Operations: ['57-4=53', '59+7=66'] Exploring Operation: 53+66=119, Resulting Numbers: [119] 119,88 unequal: No Solution Moving to Node #0,4 Current State: 88:[59, 7, 53], Operations: ['57-4=53'] Exploring Operation: 7+53=60, Resulting Numbers: [59, 60] Generated Node #0,4,5: 88:[59, 60] Operation: 7+53=60 Moving to Node #0,4,5 Current State: 88:[59, 60], Operations: ['57-4=53', '7+53=60'] Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,4,5 Current State: 88:[59, 60], Operations: ['57-4=53', '7+53=60'] Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,88 unequal: No Solution Moving to Node #0 Current State: 88:[59, 7, 57, 4], Operations: [] Exploring Operation: 7+4=11, Resulting Numbers: [59, 57, 11] Generated Node #0,5: 88:[59, 57, 11] Operation: 7+4=11 Moving to Node #0,5 Current State: 88:[59, 57, 11], Operations: ['7+4=11'] Exploring Operation: 59-57=2, Resulting Numbers: [11, 2] Generated Node #0,5,0: 88:[11, 2] Operation: 59-57=2 Moving to Node #0,5,0 Current State: 88:[11, 2], Operations: ['7+4=11', '59-57=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,88 unequal: No Solution Moving to Node #0,5,0 Current State: 88:[11, 2], Operations: ['7+4=11', '59-57=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,5,0 Current State: 88:[11, 2], Operations: ['7+4=11', '59-57=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,5 Current State: 88:[59, 57, 11], Operations: ['7+4=11'] Exploring Operation: 59-11=48, Resulting Numbers: [57, 48] Generated Node #0,5,1: 88:[57, 48] Operation: 59-11=48 Moving to Node #0,5,1 Current State: 88:[57, 48], Operations: ['7+4=11', '59-11=48'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,5,1 Current State: 88:[57, 48], Operations: ['7+4=11', '59-11=48'] Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,5 Current State: 88:[59, 57, 11], Operations: ['7+4=11'] Exploring Operation: 57-11=46, Resulting Numbers: [59, 46] Generated Node #0,5,2: 88:[59, 46] Operation: 57-11=46 Moving to Node #0,5,2 Current State: 88:[59, 46], Operations: ['7+4=11', '57-11=46'] Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,5,2 Current State: 88:[59, 46], Operations: ['7+4=11', '57-11=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,5 Current State: 88:[59, 57, 11], Operations: ['7+4=11'] Exploring Operation: 59+57=116, Resulting Numbers: [11, 116] Generated Node #0,5,3: 88:[11, 116] Operation: 59+57=116 Moving to Node #0,5,3 Current State: 88:[11, 116], Operations: ['7+4=11', '59+57=116'] Exploring Operation: 116-11=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,5,3 Current State: 88:[11, 116], Operations: ['7+4=11', '59+57=116'] Exploring Operation: 11+116=127, Resulting Numbers: [127] 127,88 unequal: No Solution Moving to Node #0,5 Current State: 88:[59, 57, 11], Operations: ['7+4=11'] Exploring Operation: 59+11=70, Resulting Numbers: [57, 70] Generated Node #0,5,4: 88:[57, 70] Operation: 59+11=70 Moving to Node #0,5,4 Current State: 88:[57, 70], Operations: ['7+4=11', '59+11=70'] Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,5,4 Current State: 88:[57, 70], Operations: ['7+4=11', '59+11=70'] Exploring Operation: 57+70=127, Resulting Numbers: [127] 127,88 unequal: No Solution Moving to Node #0,5 Current State: 88:[59, 57, 11], Operations: ['7+4=11'] Exploring Operation: 57+11=68, Resulting Numbers: [59, 68] Generated Node #0,5,5: 88:[59, 68] Operation: 57+11=68 Moving to Node #0,5,5 Current State: 88:[59, 68], Operations: ['7+4=11', '57+11=68'] Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,5,5 Current State: 88:[59, 68], Operations: ['7+4=11', '57+11=68'] Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,88 unequal: No Solution Moving to Node #0 Current State: 88:[59, 7, 57, 4], Operations: [] Exploring Operation: 59+57=116, Resulting Numbers: [7, 4, 116] Generated Node #0,6: 88:[7, 4, 116] Operation: 59+57=116 Moving to Node #0,6 Current State: 88:[7, 4, 116], Operations: ['59+57=116'] Exploring Operation: 116/4=29, Resulting Numbers: [7, 29] Generated Node #0,6,0: 88:[7, 29] Operation: 116/4=29 Moving to Node #0,6,0 Current State: 88:[7, 29], Operations: ['59+57=116', '116/4=29'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,88 unequal: No Solution Moving to Node #0,6,0 Current State: 88:[7, 29], Operations: ['59+57=116', '116/4=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,88 unequal: No Solution Moving to Node #0,6 Current State: 88:[7, 4, 116], Operations: ['59+57=116'] Exploring Operation: 116-7=109, Resulting Numbers: [4, 109] Generated Node #0,6,1: 88:[4, 109] Operation: 116-7=109 Moving to Node #0,6,1 Current State: 88:[4, 109], Operations: ['59+57=116', '116-7=109'] Exploring Operation: 109-4=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,6,1 Current State: 88:[4, 109], Operations: ['59+57=116', '116-7=109'] Exploring Operation: 4+109=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0,6 Current State: 88:[7, 4, 116], Operations: ['59+57=116'] Exploring Operation: 116-4=112, Resulting Numbers: [7, 112] Generated Node #0,6,2: 88:[7, 112] Operation: 116-4=112 Moving to Node #0,6,2 Current State: 88:[7, 112], Operations: ['59+57=116', '116-4=112'] Exploring Operation: 112/7=16, Resulting Numbers: [16] 16,88 unequal: No Solution Moving to Node #0,6,2 Current State: 88:[7, 112], Operations: ['59+57=116', '116-4=112'] Exploring Operation: 112-7=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,6,2 Current State: 88:[7, 112], Operations: ['59+57=116', '116-4=112'] Exploring Operation: 7+112=119, Resulting Numbers: [119] 119,88 unequal: No Solution Moving to Node #0,6 Current State: 88:[7, 4, 116], Operations: ['59+57=116'] Exploring Operation: 7+4=11, Resulting Numbers: [116, 11] Generated Node #0,6,3: 88:[116, 11] Operation: 7+4=11 Moving to Node #0,6,3 Current State: 88:[116, 11], Operations: ['59+57=116', '7+4=11'] Exploring Operation: 116-11=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,6,3 Current State: 88:[116, 11], Operations: ['59+57=116', '7+4=11'] Exploring Operation: 116+11=127, Resulting Numbers: [127] 127,88 unequal: No Solution Moving to Node #0,6 Current State: 88:[7, 4, 116], Operations: ['59+57=116'] Exploring Operation: 7-4=3, Resulting Numbers: [116, 3] Generated Node #0,6,4: 88:[116, 3] Operation: 7-4=3 Moving to Node #0,6,4 Current State: 88:[116, 3], Operations: ['59+57=116', '7-4=3'] Exploring Operation: 116-3=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0,6,4 Current State: 88:[116, 3], Operations: ['59+57=116', '7-4=3'] Exploring Operation: 116+3=119, Resulting Numbers: [119] 119,88 unequal: No Solution Moving to Node #0,6 Current State: 88:[7, 4, 116], Operations: ['59+57=116'] Exploring Operation: 4+116=120, Resulting Numbers: [7, 120] Generated Node #0,6,5: 88:[7, 120] Operation: 4+116=120 Moving to Node #0,6,5 Current State: 88:[7, 120], Operations: ['59+57=116', '4+116=120'] Exploring Operation: 120-7=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0,6,5 Current State: 88:[7, 120], Operations: ['59+57=116', '4+116=120'] Exploring Operation: 7+120=127, Resulting Numbers: [127] 127,88 unequal: No Solution Moving to Node #0,6 Current State: 88:[7, 4, 116], Operations: ['59+57=116'] Exploring Operation: 7*4=28, Resulting Numbers: [116, 28] Generated Node #0,6,6: 88:[116, 28] Operation: 7*4=28 Moving to Node #0,6,6 Current State: 88:[116, 28], Operations: ['59+57=116', '7*4=28'] Exploring Operation: 116-28=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.852431
dfs
Current State: 88:[59, 7, 57, 4], Operations: [] Exploring Operation: 59+57=116, Resulting Numbers: [7, 4, 116] Generated Node #2: [7, 4, 116] from Operation: 59+57=116 Current State: 88:[7, 4, 116], Operations: ['59+57=116'] Exploring Operation: 7*4=28, Resulting Numbers: [116, 28] Generated Node #3: [116, 28] from Operation: 7*4=28 Current State: 88:[116, 28], Operations: ['59+57=116', '7*4=28'] Exploring Operation: 116-28=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
mult_heuristic
[ { "content": "Make 88 with the numbers [59, 7, 57, 4] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 88:[59, 7, 57, 4], Operations: []\nExploring Operation: 59-57=2, Resulting Numbers: [7, 4, 2]\nGenerated Node #0,0: 88:[7, 4, 2] Operation: 59-57=2\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 7+4=11, Resulting Numbers: [2, 11]\nGenerated Node #0,0,0: 88:[2, 11] Operation: 7+4=11\nMoving to Node #0,0,0\nCurrent State: 88:[2, 11], Operations: ['59-57=2', '7+4=11']\nExploring Operation: 2*11=22, Resulting Numbers: [22]\n22,88 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 88:[2, 11], Operations: ['59-57=2', '7+4=11']\nExploring Operation: 11-2=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 88:[2, 11], Operations: ['59-57=2', '7+4=11']\nExploring Operation: 2+11=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 7-4=3, Resulting Numbers: [2, 3]\nGenerated Node #0,0,1: 88:[2, 3] Operation: 7-4=3\nMoving to Node #0,0,1\nCurrent State: 88:[2, 3], Operations: ['59-57=2', '7-4=3']\nExploring Operation: 2+3=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 88:[2, 3], Operations: ['59-57=2', '7-4=3']\nExploring Operation: 3-2=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 88:[2, 3], Operations: ['59-57=2', '7-4=3']\nExploring Operation: 2*3=6, Resulting Numbers: [6]\n6,88 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 7+2=9, Resulting Numbers: [4, 9]\nGenerated Node #0,0,2: 88:[4, 9] Operation: 7+2=9\nMoving to Node #0,0,2\nCurrent State: 88:[4, 9], Operations: ['59-57=2', '7+2=9']\nExploring Operation: 9-4=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 88:[4, 9], Operations: ['59-57=2', '7+2=9']\nExploring Operation: 4+9=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 88:[4, 9], Operations: ['59-57=2', '7+2=9']\nExploring Operation: 4*9=36, Resulting Numbers: [36]\n36,88 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 7-2=5, Resulting Numbers: [4, 5]\nGenerated Node #0,0,3: 88:[4, 5] Operation: 7-2=5\nMoving to Node #0,0,3\nCurrent State: 88:[4, 5], Operations: ['59-57=2', '7-2=5']\nExploring Operation: 4+5=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 88:[4, 5], Operations: ['59-57=2', '7-2=5']\nExploring Operation: 5-4=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 88:[4, 5], Operations: ['59-57=2', '7-2=5']\nExploring Operation: 4*5=20, Resulting Numbers: [20]\n20,88 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 4*2=8, Resulting Numbers: [7, 8]\nGenerated Node #0,0,4: 88:[7, 8] Operation: 4*2=8\nMoving to Node #0,0,4\nCurrent State: 88:[7, 8], Operations: ['59-57=2', '4*2=8']\nExploring Operation: 8-7=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 88:[7, 8], Operations: ['59-57=2', '4*2=8']\nExploring Operation: 7+8=15, Resulting Numbers: [15]\n15,88 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 88:[7, 8], Operations: ['59-57=2', '4*2=8']\nExploring Operation: 7*8=56, Resulting Numbers: [56]\n56,88 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 4-2=2, Resulting Numbers: [7, 2]\nGenerated Node #0,0,5: 88:[7, 2] Operation: 4-2=2\nMoving to Node #0,0,5\nCurrent State: 88:[7, 2], Operations: ['59-57=2', '4-2=2']\nExploring Operation: 7+2=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 88:[7, 2], Operations: ['59-57=2', '4-2=2']\nExploring Operation: 7-2=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 88:[7, 2], Operations: ['59-57=2', '4-2=2']\nExploring Operation: 7*2=14, Resulting Numbers: [14]\n14,88 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 4/2=2, Resulting Numbers: [7, 2]\nGenerated Node #0,0,6: 88:[7, 2] Operation: 4/2=2\nMoving to Node #0,0,6\nCurrent State: 88:[7, 2], Operations: ['59-57=2', '4/2=2']\nExploring Operation: 7+2=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 88:[7, 2], Operations: ['59-57=2', '4/2=2']\nExploring Operation: 7-2=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 88:[7, 2], Operations: ['59-57=2', '4/2=2']\nExploring Operation: 7*2=14, Resulting Numbers: [14]\n14,88 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 7*2=14, Resulting Numbers: [4, 14]\nGenerated Node #0,0,7: 88:[4, 14] Operation: 7*2=14\nMoving to Node #0,0,7\nCurrent State: 88:[4, 14], Operations: ['59-57=2', '7*2=14']\nExploring Operation: 14-4=10, Resulting Numbers: [10]\n10,88 unequal: No Solution\nMoving to Node #0,0,7\nCurrent State: 88:[4, 14], Operations: ['59-57=2', '7*2=14']\nExploring Operation: 4+14=18, Resulting Numbers: [18]\n18,88 unequal: No Solution\nMoving to Node #0,0,7\nCurrent State: 88:[4, 14], Operations: ['59-57=2', '7*2=14']\nExploring Operation: 4*14=56, Resulting Numbers: [56]\n56,88 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 4+2=6, Resulting Numbers: [7, 6]\nGenerated Node #0,0,8: 88:[7, 6] Operation: 4+2=6\nMoving to Node #0,0,8\nCurrent State: 88:[7, 6], Operations: ['59-57=2', '4+2=6']\nExploring Operation: 7-6=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,0,8\nCurrent State: 88:[7, 6], Operations: ['59-57=2', '4+2=6']\nExploring Operation: 7+6=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,0,8\nCurrent State: 88:[7, 6], Operations: ['59-57=2', '4+2=6']\nExploring Operation: 7*6=42, Resulting Numbers: [42]\n42,88 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 88:[7, 4, 2], Operations: ['59-57=2']\nExploring Operation: 7*4=28, Resulting Numbers: [2, 28]\nGenerated Node #0,0,9: 88:[2, 28] Operation: 7*4=28\nMoving to Node #0,0,9\nCurrent State: 88:[2, 28], Operations: ['59-57=2', '7*4=28']\nExploring Operation: 28/2=14, Resulting Numbers: [14]\n14,88 unequal: No Solution\nMoving to Node #0,0,9\nCurrent State: 88:[2, 28], Operations: ['59-57=2', '7*4=28']\nExploring Operation: 28-2=26, Resulting Numbers: [26]\n26,88 unequal: No Solution\nMoving to Node #0,0,9\nCurrent State: 88:[2, 28], Operations: ['59-57=2', '7*4=28']\nExploring Operation: 2+28=30, Resulting Numbers: [30]\n30,88 unequal: No Solution\nMoving to Node #0,0,9\nCurrent State: 88:[2, 28], Operations: ['59-57=2', '7*4=28']\nExploring Operation: 2*28=56, Resulting Numbers: [56]\n56,88 unequal: No Solution\nMoving to Node #0\nCurrent State: 88:[59, 7, 57, 4], Operations: []\nExploring Operation: 59-7=52, Resulting Numbers: [57, 4, 52]\nGenerated Node #0,1: 88:[57, 4, 52] Operation: 59-7=52\nMoving to Node #0,1\nCurrent State: 88:[57, 4, 52], Operations: ['59-7=52']\nExploring Operation: 57-52=5, Resulting Numbers: [4, 5]\nGenerated Node #0,1,0: 88:[4, 5] Operation: 57-52=5\nMoving to Node #0,1,0\nCurrent State: 88:[4, 5], Operations: ['59-7=52', '57-52=5']\nExploring Operation: 4+5=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 88:[4, 5], Operations: ['59-7=52', '57-52=5']\nExploring Operation: 5-4=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 88:[4, 5], Operations: ['59-7=52', '57-52=5']\nExploring Operation: 4*5=20, Resulting Numbers: [20]\n20,88 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 88:[57, 4, 52], Operations: ['59-7=52']\nExploring Operation: 52/4=13, Resulting Numbers: [57, 13]\nGenerated Node #0,1,1: 88:[57, 13] Operation: 52/4=13\nMoving to Node #0,1,1\nCurrent State: 88:[57, 13], Operations: ['59-7=52', '52/4=13']\nExploring Operation: 57-13=44, Resulting Numbers: [44]\n44,88 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 88:[57, 13], Operations: ['59-7=52', '52/4=13']\nExploring Operation: 57+13=70, Resulting Numbers: [70]\n70,88 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 88:[57, 4, 52], Operations: ['59-7=52']\nExploring Operation: 57-4=53, Resulting Numbers: [52, 53]\nGenerated Node #0,1,2: 88:[52, 53] Operation: 57-4=53\nMoving to Node #0,1,2\nCurrent State: 88:[52, 53], Operations: ['59-7=52', '57-4=53']\nExploring Operation: 53-52=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 88:[52, 53], Operations: ['59-7=52', '57-4=53']\nExploring Operation: 52+53=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 88:[57, 4, 52], Operations: ['59-7=52']\nExploring Operation: 52-4=48, Resulting Numbers: [57, 48]\nGenerated Node #0,1,3: 88:[57, 48] Operation: 52-4=48\nMoving to Node #0,1,3\nCurrent State: 88:[57, 48], Operations: ['59-7=52', '52-4=48']\nExploring Operation: 57-48=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 88:[57, 48], Operations: ['59-7=52', '52-4=48']\nExploring Operation: 57+48=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 88:[57, 4, 52], Operations: ['59-7=52']\nExploring Operation: 57+52=109, Resulting Numbers: [4, 109]\nGenerated Node #0,1,4: 88:[4, 109] Operation: 57+52=109\nMoving to Node #0,1,4\nCurrent State: 88:[4, 109], Operations: ['59-7=52', '57+52=109']\nExploring Operation: 109-4=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 88:[4, 109], Operations: ['59-7=52', '57+52=109']\nExploring Operation: 4+109=113, Resulting Numbers: [113]\n113,88 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 88:[57, 4, 52], Operations: ['59-7=52']\nExploring Operation: 57+4=61, Resulting Numbers: [52, 61]\nGenerated Node #0,1,5: 88:[52, 61] Operation: 57+4=61\nMoving to Node #0,1,5\nCurrent State: 88:[52, 61], Operations: ['59-7=52', '57+4=61']\nExploring Operation: 61-52=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 88:[52, 61], Operations: ['59-7=52', '57+4=61']\nExploring Operation: 52+61=113, Resulting Numbers: [113]\n113,88 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 88:[57, 4, 52], Operations: ['59-7=52']\nExploring Operation: 4+52=56, Resulting Numbers: [57, 56]\nGenerated Node #0,1,6: 88:[57, 56] Operation: 4+52=56\nMoving to Node #0,1,6\nCurrent State: 88:[57, 56], Operations: ['59-7=52', '4+52=56']\nExploring Operation: 57-56=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 88:[57, 56], Operations: ['59-7=52', '4+52=56']\nExploring Operation: 57+56=113, Resulting Numbers: [113]\n113,88 unequal: No Solution\nMoving to Node #0\nCurrent State: 88:[59, 7, 57, 4], Operations: []\nExploring Operation: 57-7=50, Resulting Numbers: [59, 4, 50]\nGenerated Node #0,2: 88:[59, 4, 50] Operation: 57-7=50\nMoving to Node #0,2\nCurrent State: 88:[59, 4, 50], Operations: ['57-7=50']\nExploring Operation: 59-50=9, Resulting Numbers: [4, 9]\nGenerated Node #0,2,0: 88:[4, 9] Operation: 59-50=9\nMoving to Node #0,2,0\nCurrent State: 88:[4, 9], Operations: ['57-7=50', '59-50=9']\nExploring Operation: 9-4=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 88:[4, 9], Operations: ['57-7=50', '59-50=9']\nExploring Operation: 4+9=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 88:[4, 9], Operations: ['57-7=50', '59-50=9']\nExploring Operation: 4*9=36, Resulting Numbers: [36]\n36,88 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 88:[59, 4, 50], Operations: ['57-7=50']\nExploring Operation: 59-4=55, Resulting Numbers: [50, 55]\nGenerated Node #0,2,1: 88:[50, 55] Operation: 59-4=55\nMoving to Node #0,2,1\nCurrent State: 88:[50, 55], Operations: ['57-7=50', '59-4=55']\nExploring Operation: 55-50=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 88:[50, 55], Operations: ['57-7=50', '59-4=55']\nExploring Operation: 50+55=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 88:[59, 4, 50], Operations: ['57-7=50']\nExploring Operation: 50-4=46, Resulting Numbers: [59, 46]\nGenerated Node #0,2,2: 88:[59, 46] Operation: 50-4=46\nMoving to Node #0,2,2\nCurrent State: 88:[59, 46], Operations: ['57-7=50', '50-4=46']\nExploring Operation: 59-46=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 88:[59, 46], Operations: ['57-7=50', '50-4=46']\nExploring Operation: 59+46=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 88:[59, 4, 50], Operations: ['57-7=50']\nExploring Operation: 59+50=109, Resulting Numbers: [4, 109]\nGenerated Node #0,2,3: 88:[4, 109] Operation: 59+50=109\nMoving to Node #0,2,3\nCurrent State: 88:[4, 109], Operations: ['57-7=50', '59+50=109']\nExploring Operation: 109-4=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 88:[4, 109], Operations: ['57-7=50', '59+50=109']\nExploring Operation: 4+109=113, Resulting Numbers: [113]\n113,88 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 88:[59, 4, 50], Operations: ['57-7=50']\nExploring Operation: 59+4=63, Resulting Numbers: [50, 63]\nGenerated Node #0,2,4: 88:[50, 63] Operation: 59+4=63\nMoving to Node #0,2,4\nCurrent State: 88:[50, 63], Operations: ['57-7=50', '59+4=63']\nExploring Operation: 63-50=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 88:[50, 63], Operations: ['57-7=50', '59+4=63']\nExploring Operation: 50+63=113, Resulting Numbers: [113]\n113,88 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 88:[59, 4, 50], Operations: ['57-7=50']\nExploring Operation: 4+50=54, Resulting Numbers: [59, 54]\nGenerated Node #0,2,5: 88:[59, 54] Operation: 4+50=54\nMoving to Node #0,2,5\nCurrent State: 88:[59, 54], Operations: ['57-7=50', '4+50=54']\nExploring Operation: 59-54=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 88:[59, 54], Operations: ['57-7=50', '4+50=54']\nExploring Operation: 59+54=113, Resulting Numbers: [113]\n113,88 unequal: No Solution\nMoving to Node #0\nCurrent State: 88:[59, 7, 57, 4], Operations: []\nExploring Operation: 59-4=55, Resulting Numbers: [7, 57, 55]\nGenerated Node #0,3: 88:[7, 57, 55] Operation: 59-4=55\nMoving to Node #0,3\nCurrent State: 88:[7, 57, 55], Operations: ['59-4=55']\nExploring Operation: 57-55=2, Resulting Numbers: [7, 2]\nGenerated Node #0,3,0: 88:[7, 2] Operation: 57-55=2\nMoving to Node #0,3,0\nCurrent State: 88:[7, 2], Operations: ['59-4=55', '57-55=2']\nExploring Operation: 7+2=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 88:[7, 2], Operations: ['59-4=55', '57-55=2']\nExploring Operation: 7-2=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 88:[7, 2], Operations: ['59-4=55', '57-55=2']\nExploring Operation: 7*2=14, Resulting Numbers: [14]\n14,88 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 88:[7, 57, 55], Operations: ['59-4=55']\nExploring Operation: 57-7=50, Resulting Numbers: [55, 50]\nGenerated Node #0,3,1: 88:[55, 50] Operation: 57-7=50\nMoving to Node #0,3,1\nCurrent State: 88:[55, 50], Operations: ['59-4=55', '57-7=50']\nExploring Operation: 55-50=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 88:[55, 50], Operations: ['59-4=55', '57-7=50']\nExploring Operation: 55+50=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 88:[7, 57, 55], Operations: ['59-4=55']\nExploring Operation: 55-7=48, Resulting Numbers: [57, 48]\nGenerated Node #0,3,2: 88:[57, 48] Operation: 55-7=48\nMoving to Node #0,3,2\nCurrent State: 88:[57, 48], Operations: ['59-4=55', '55-7=48']\nExploring Operation: 57-48=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 88:[57, 48], Operations: ['59-4=55', '55-7=48']\nExploring Operation: 57+48=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 88:[7, 57, 55], Operations: ['59-4=55']\nExploring Operation: 57+55=112, Resulting Numbers: [7, 112]\nGenerated Node #0,3,3: 88:[7, 112] Operation: 57+55=112\nMoving to Node #0,3,3\nCurrent State: 88:[7, 112], Operations: ['59-4=55', '57+55=112']\nExploring Operation: 112/7=16, Resulting Numbers: [16]\n16,88 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 88:[7, 112], Operations: ['59-4=55', '57+55=112']\nExploring Operation: 112-7=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 88:[7, 112], Operations: ['59-4=55', '57+55=112']\nExploring Operation: 7+112=119, Resulting Numbers: [119]\n119,88 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 88:[7, 57, 55], Operations: ['59-4=55']\nExploring Operation: 7+57=64, Resulting Numbers: [55, 64]\nGenerated Node #0,3,4: 88:[55, 64] Operation: 7+57=64\nMoving to Node #0,3,4\nCurrent State: 88:[55, 64], Operations: ['59-4=55', '7+57=64']\nExploring Operation: 64-55=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 88:[55, 64], Operations: ['59-4=55', '7+57=64']\nExploring Operation: 55+64=119, Resulting Numbers: [119]\n119,88 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 88:[7, 57, 55], Operations: ['59-4=55']\nExploring Operation: 7+55=62, Resulting Numbers: [57, 62]\nGenerated Node #0,3,5: 88:[57, 62] Operation: 7+55=62\nMoving to Node #0,3,5\nCurrent State: 88:[57, 62], Operations: ['59-4=55', '7+55=62']\nExploring Operation: 62-57=5, Resulting Numbers: [5]\n5,88 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 88:[57, 62], Operations: ['59-4=55', '7+55=62']\nExploring Operation: 57+62=119, Resulting Numbers: [119]\n119,88 unequal: No Solution\nMoving to Node #0\nCurrent State: 88:[59, 7, 57, 4], Operations: []\nExploring Operation: 57-4=53, Resulting Numbers: [59, 7, 53]\nGenerated Node #0,4: 88:[59, 7, 53] Operation: 57-4=53\nMoving to Node #0,4\nCurrent State: 88:[59, 7, 53], Operations: ['57-4=53']\nExploring Operation: 59-53=6, Resulting Numbers: [7, 6]\nGenerated Node #0,4,0: 88:[7, 6] Operation: 59-53=6\nMoving to Node #0,4,0\nCurrent State: 88:[7, 6], Operations: ['57-4=53', '59-53=6']\nExploring Operation: 7-6=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 88:[7, 6], Operations: ['57-4=53', '59-53=6']\nExploring Operation: 7+6=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 88:[7, 6], Operations: ['57-4=53', '59-53=6']\nExploring Operation: 7*6=42, Resulting Numbers: [42]\n42,88 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 88:[59, 7, 53], Operations: ['57-4=53']\nExploring Operation: 59-7=52, Resulting Numbers: [53, 52]\nGenerated Node #0,4,1: 88:[53, 52] Operation: 59-7=52\nMoving to Node #0,4,1\nCurrent State: 88:[53, 52], Operations: ['57-4=53', '59-7=52']\nExploring Operation: 53-52=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 88:[53, 52], Operations: ['57-4=53', '59-7=52']\nExploring Operation: 53+52=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 88:[59, 7, 53], Operations: ['57-4=53']\nExploring Operation: 53-7=46, Resulting Numbers: [59, 46]\nGenerated Node #0,4,2: 88:[59, 46] Operation: 53-7=46\nMoving to Node #0,4,2\nCurrent State: 88:[59, 46], Operations: ['57-4=53', '53-7=46']\nExploring Operation: 59-46=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 88:[59, 46], Operations: ['57-4=53', '53-7=46']\nExploring Operation: 59+46=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 88:[59, 7, 53], Operations: ['57-4=53']\nExploring Operation: 59+53=112, Resulting Numbers: [7, 112]\nGenerated Node #0,4,3: 88:[7, 112] Operation: 59+53=112\nMoving to Node #0,4,3\nCurrent State: 88:[7, 112], Operations: ['57-4=53', '59+53=112']\nExploring Operation: 112/7=16, Resulting Numbers: [16]\n16,88 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 88:[7, 112], Operations: ['57-4=53', '59+53=112']\nExploring Operation: 112-7=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 88:[7, 112], Operations: ['57-4=53', '59+53=112']\nExploring Operation: 7+112=119, Resulting Numbers: [119]\n119,88 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 88:[59, 7, 53], Operations: ['57-4=53']\nExploring Operation: 59+7=66, Resulting Numbers: [53, 66]\nGenerated Node #0,4,4: 88:[53, 66] Operation: 59+7=66\nMoving to Node #0,4,4\nCurrent State: 88:[53, 66], Operations: ['57-4=53', '59+7=66']\nExploring Operation: 66-53=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 88:[53, 66], Operations: ['57-4=53', '59+7=66']\nExploring Operation: 53+66=119, Resulting Numbers: [119]\n119,88 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 88:[59, 7, 53], Operations: ['57-4=53']\nExploring Operation: 7+53=60, Resulting Numbers: [59, 60]\nGenerated Node #0,4,5: 88:[59, 60] Operation: 7+53=60\nMoving to Node #0,4,5\nCurrent State: 88:[59, 60], Operations: ['57-4=53', '7+53=60']\nExploring Operation: 60-59=1, Resulting Numbers: [1]\n1,88 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 88:[59, 60], Operations: ['57-4=53', '7+53=60']\nExploring Operation: 59+60=119, Resulting Numbers: [119]\n119,88 unequal: No Solution\nMoving to Node #0\nCurrent State: 88:[59, 7, 57, 4], Operations: []\nExploring Operation: 7+4=11, Resulting Numbers: [59, 57, 11]\nGenerated Node #0,5: 88:[59, 57, 11] Operation: 7+4=11\nMoving to Node #0,5\nCurrent State: 88:[59, 57, 11], Operations: ['7+4=11']\nExploring Operation: 59-57=2, Resulting Numbers: [11, 2]\nGenerated Node #0,5,0: 88:[11, 2] Operation: 59-57=2\nMoving to Node #0,5,0\nCurrent State: 88:[11, 2], Operations: ['7+4=11', '59-57=2']\nExploring Operation: 11*2=22, Resulting Numbers: [22]\n22,88 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 88:[11, 2], Operations: ['7+4=11', '59-57=2']\nExploring Operation: 11-2=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 88:[11, 2], Operations: ['7+4=11', '59-57=2']\nExploring Operation: 11+2=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 88:[59, 57, 11], Operations: ['7+4=11']\nExploring Operation: 59-11=48, Resulting Numbers: [57, 48]\nGenerated Node #0,5,1: 88:[57, 48] Operation: 59-11=48\nMoving to Node #0,5,1\nCurrent State: 88:[57, 48], Operations: ['7+4=11', '59-11=48']\nExploring Operation: 57-48=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 88:[57, 48], Operations: ['7+4=11', '59-11=48']\nExploring Operation: 57+48=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 88:[59, 57, 11], Operations: ['7+4=11']\nExploring Operation: 57-11=46, Resulting Numbers: [59, 46]\nGenerated Node #0,5,2: 88:[59, 46] Operation: 57-11=46\nMoving to Node #0,5,2\nCurrent State: 88:[59, 46], Operations: ['7+4=11', '57-11=46']\nExploring Operation: 59-46=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 88:[59, 46], Operations: ['7+4=11', '57-11=46']\nExploring Operation: 59+46=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 88:[59, 57, 11], Operations: ['7+4=11']\nExploring Operation: 59+57=116, Resulting Numbers: [11, 116]\nGenerated Node #0,5,3: 88:[11, 116] Operation: 59+57=116\nMoving to Node #0,5,3\nCurrent State: 88:[11, 116], Operations: ['7+4=11', '59+57=116']\nExploring Operation: 116-11=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 88:[11, 116], Operations: ['7+4=11', '59+57=116']\nExploring Operation: 11+116=127, Resulting Numbers: [127]\n127,88 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 88:[59, 57, 11], Operations: ['7+4=11']\nExploring Operation: 59+11=70, Resulting Numbers: [57, 70]\nGenerated Node #0,5,4: 88:[57, 70] Operation: 59+11=70\nMoving to Node #0,5,4\nCurrent State: 88:[57, 70], Operations: ['7+4=11', '59+11=70']\nExploring Operation: 70-57=13, Resulting Numbers: [13]\n13,88 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 88:[57, 70], Operations: ['7+4=11', '59+11=70']\nExploring Operation: 57+70=127, Resulting Numbers: [127]\n127,88 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 88:[59, 57, 11], Operations: ['7+4=11']\nExploring Operation: 57+11=68, Resulting Numbers: [59, 68]\nGenerated Node #0,5,5: 88:[59, 68] Operation: 57+11=68\nMoving to Node #0,5,5\nCurrent State: 88:[59, 68], Operations: ['7+4=11', '57+11=68']\nExploring Operation: 68-59=9, Resulting Numbers: [9]\n9,88 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 88:[59, 68], Operations: ['7+4=11', '57+11=68']\nExploring Operation: 59+68=127, Resulting Numbers: [127]\n127,88 unequal: No Solution\nMoving to Node #0\nCurrent State: 88:[59, 7, 57, 4], Operations: []\nExploring Operation: 59+57=116, Resulting Numbers: [7, 4, 116]\nGenerated Node #0,6: 88:[7, 4, 116] Operation: 59+57=116\nMoving to Node #0,6\nCurrent State: 88:[7, 4, 116], Operations: ['59+57=116']\nExploring Operation: 116/4=29, Resulting Numbers: [7, 29]\nGenerated Node #0,6,0: 88:[7, 29] Operation: 116/4=29\nMoving to Node #0,6,0\nCurrent State: 88:[7, 29], Operations: ['59+57=116', '116/4=29']\nExploring Operation: 29-7=22, Resulting Numbers: [22]\n22,88 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 88:[7, 29], Operations: ['59+57=116', '116/4=29']\nExploring Operation: 7+29=36, Resulting Numbers: [36]\n36,88 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 88:[7, 4, 116], Operations: ['59+57=116']\nExploring Operation: 116-7=109, Resulting Numbers: [4, 109]\nGenerated Node #0,6,1: 88:[4, 109] Operation: 116-7=109\nMoving to Node #0,6,1\nCurrent State: 88:[4, 109], Operations: ['59+57=116', '116-7=109']\nExploring Operation: 109-4=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 88:[4, 109], Operations: ['59+57=116', '116-7=109']\nExploring Operation: 4+109=113, Resulting Numbers: [113]\n113,88 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 88:[7, 4, 116], Operations: ['59+57=116']\nExploring Operation: 116-4=112, Resulting Numbers: [7, 112]\nGenerated Node #0,6,2: 88:[7, 112] Operation: 116-4=112\nMoving to Node #0,6,2\nCurrent State: 88:[7, 112], Operations: ['59+57=116', '116-4=112']\nExploring Operation: 112/7=16, Resulting Numbers: [16]\n16,88 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 88:[7, 112], Operations: ['59+57=116', '116-4=112']\nExploring Operation: 112-7=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 88:[7, 112], Operations: ['59+57=116', '116-4=112']\nExploring Operation: 7+112=119, Resulting Numbers: [119]\n119,88 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 88:[7, 4, 116], Operations: ['59+57=116']\nExploring Operation: 7+4=11, Resulting Numbers: [116, 11]\nGenerated Node #0,6,3: 88:[116, 11] Operation: 7+4=11\nMoving to Node #0,6,3\nCurrent State: 88:[116, 11], Operations: ['59+57=116', '7+4=11']\nExploring Operation: 116-11=105, Resulting Numbers: [105]\n105,88 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 88:[116, 11], Operations: ['59+57=116', '7+4=11']\nExploring Operation: 116+11=127, Resulting Numbers: [127]\n127,88 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 88:[7, 4, 116], Operations: ['59+57=116']\nExploring Operation: 7-4=3, Resulting Numbers: [116, 3]\nGenerated Node #0,6,4: 88:[116, 3] Operation: 7-4=3\nMoving to Node #0,6,4\nCurrent State: 88:[116, 3], Operations: ['59+57=116', '7-4=3']\nExploring Operation: 116-3=113, Resulting Numbers: [113]\n113,88 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 88:[116, 3], Operations: ['59+57=116', '7-4=3']\nExploring Operation: 116+3=119, Resulting Numbers: [119]\n119,88 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 88:[7, 4, 116], Operations: ['59+57=116']\nExploring Operation: 4+116=120, Resulting Numbers: [7, 120]\nGenerated Node #0,6,5: 88:[7, 120] Operation: 4+116=120\nMoving to Node #0,6,5\nCurrent State: 88:[7, 120], Operations: ['59+57=116', '4+116=120']\nExploring Operation: 120-7=113, Resulting Numbers: [113]\n113,88 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 88:[7, 120], Operations: ['59+57=116', '4+116=120']\nExploring Operation: 7+120=127, Resulting Numbers: [127]\n127,88 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 88:[7, 4, 116], Operations: ['59+57=116']\nExploring Operation: 7*4=28, Resulting Numbers: [116, 28]\nGenerated Node #0,6,6: 88:[116, 28] Operation: 7*4=28\nMoving to Node #0,6,6\nCurrent State: 88:[116, 28], Operations: ['59+57=116', '7*4=28']\nExploring Operation: 116-28=88, Resulting Numbers: [88]\n88,88 equal: Goal Reached\n", "role": "assistant" } ]
[ 7, 28, 82, 5 ]
83
[ "28/7=4", "82+5=87", "87-4=83" ]
Current State: 83:[7, 28, 82, 5], Operations: [] Exploring Operation: 7*5=35, Resulting Numbers: [28, 82, 35] Generated Node #0,0: 83:[28, 82, 35] Operation: 7*5=35 Moving to Node #0,0 Current State: 83:[28, 82, 35], Operations: ['7*5=35'] Exploring Operation: 28+35=63, Resulting Numbers: [82, 63] Generated Node #0,0,0: 83:[82, 63] Operation: 28+35=63 Moving to Node #0,0,0 Current State: 83:[82, 63], Operations: ['7*5=35', '28+35=63'] Exploring Operation: 82+63=145, Resulting Numbers: [145] 145,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[82, 63], Operations: ['7*5=35', '28+35=63'] Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,83 unequal: No Solution Moving to Node #0,0 Current State: 83:[28, 82, 35], Operations: ['7*5=35'] Exploring Operation: 28+82=110, Resulting Numbers: [35, 110] Generated Node #0,0,1: 83:[35, 110] Operation: 28+82=110 Moving to Node #0,0,1 Current State: 83:[35, 110], Operations: ['7*5=35', '28+82=110'] Exploring Operation: 110-35=75, Resulting Numbers: [75] 75,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[35, 110], Operations: ['7*5=35', '28+82=110'] Exploring Operation: 35+110=145, Resulting Numbers: [145] 145,83 unequal: No Solution Moving to Node #0,0 Current State: 83:[28, 82, 35], Operations: ['7*5=35'] Exploring Operation: 82-28=54, Resulting Numbers: [35, 54] Generated Node #0,0,2: 83:[35, 54] Operation: 82-28=54 Moving to Node #0,0,2 Current State: 83:[35, 54], Operations: ['7*5=35', '82-28=54'] Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[35, 54], Operations: ['7*5=35', '82-28=54'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,83 unequal: No Solution Moving to Node #0,0 Current State: 83:[28, 82, 35], Operations: ['7*5=35'] Exploring Operation: 35-28=7, Resulting Numbers: [82, 7] Generated Node #0,0,3: 83:[82, 7] Operation: 35-28=7 Moving to Node #0,0,3 Current State: 83:[82, 7], Operations: ['7*5=35', '35-28=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[82, 7], Operations: ['7*5=35', '35-28=7'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,83 unequal: No Solution Moving to Node #0,0 Current State: 83:[28, 82, 35], Operations: ['7*5=35'] Exploring Operation: 82+35=117, Resulting Numbers: [28, 117] Generated Node #0,0,4: 83:[28, 117] Operation: 82+35=117 Moving to Node #0,0,4 Current State: 83:[28, 117], Operations: ['7*5=35', '82+35=117'] Exploring Operation: 117-28=89, Resulting Numbers: [89] 89,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[28, 117], Operations: ['7*5=35', '82+35=117'] Exploring Operation: 28+117=145, Resulting Numbers: [145] 145,83 unequal: No Solution Moving to Node #0,0 Current State: 83:[28, 82, 35], Operations: ['7*5=35'] Exploring Operation: 82-35=47, Resulting Numbers: [28, 47] Generated Node #0,0,5: 83:[28, 47] Operation: 82-35=47 Moving to Node #0,0,5 Current State: 83:[28, 47], Operations: ['7*5=35', '82-35=47'] Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,83 unequal: No Solution Moving to Node #0,0,5 Current State: 83:[28, 47], Operations: ['7*5=35', '82-35=47'] Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,83 unequal: No Solution Moving to Node #0 Current State: 83:[7, 28, 82, 5], Operations: [] Exploring Operation: 7+28=35, Resulting Numbers: [82, 5, 35] Generated Node #0,1: 83:[82, 5, 35] Operation: 7+28=35 Moving to Node #0,1 Current State: 83:[82, 5, 35], Operations: ['7+28=35'] Exploring Operation: 5+35=40, Resulting Numbers: [82, 40] Generated Node #0,1,0: 83:[82, 40] Operation: 5+35=40 Moving to Node #0,1,0 Current State: 83:[82, 40], Operations: ['7+28=35', '5+35=40'] Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[82, 40], Operations: ['7+28=35', '5+35=40'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,1 Current State: 83:[82, 5, 35], Operations: ['7+28=35'] Exploring Operation: 82+5=87, Resulting Numbers: [35, 87] Generated Node #0,1,1: 83:[35, 87] Operation: 82+5=87 Moving to Node #0,1,1 Current State: 83:[35, 87], Operations: ['7+28=35', '82+5=87'] Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[35, 87], Operations: ['7+28=35', '82+5=87'] Exploring Operation: 35+87=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,1 Current State: 83:[82, 5, 35], Operations: ['7+28=35'] Exploring Operation: 82-5=77, Resulting Numbers: [35, 77] Generated Node #0,1,2: 83:[35, 77] Operation: 82-5=77 Moving to Node #0,1,2 Current State: 83:[35, 77], Operations: ['7+28=35', '82-5=77'] Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[35, 77], Operations: ['7+28=35', '82-5=77'] Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,1 Current State: 83:[82, 5, 35], Operations: ['7+28=35'] Exploring Operation: 35-5=30, Resulting Numbers: [82, 30] Generated Node #0,1,3: 83:[82, 30] Operation: 35-5=30 Moving to Node #0,1,3 Current State: 83:[82, 30], Operations: ['7+28=35', '35-5=30'] Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[82, 30], Operations: ['7+28=35', '35-5=30'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,83 unequal: No Solution Moving to Node #0,1 Current State: 83:[82, 5, 35], Operations: ['7+28=35'] Exploring Operation: 35/5=7, Resulting Numbers: [82, 7] Generated Node #0,1,4: 83:[82, 7] Operation: 35/5=7 Moving to Node #0,1,4 Current State: 83:[82, 7], Operations: ['7+28=35', '35/5=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[82, 7], Operations: ['7+28=35', '35/5=7'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,83 unequal: No Solution Moving to Node #0,1 Current State: 83:[82, 5, 35], Operations: ['7+28=35'] Exploring Operation: 5*35=175, Resulting Numbers: [82, 175] Generated Node #0,1,5: 83:[82, 175] Operation: 5*35=175 Moving to Node #0,1,5 Current State: 83:[82, 175], Operations: ['7+28=35', '5*35=175'] Exploring Operation: 175-82=93, Resulting Numbers: [93] 93,83 unequal: No Solution Moving to Node #0,1 Current State: 83:[82, 5, 35], Operations: ['7+28=35'] Exploring Operation: 82+35=117, Resulting Numbers: [5, 117] Generated Node #0,1,6: 83:[5, 117] Operation: 82+35=117 Moving to Node #0,1,6 Current State: 83:[5, 117], Operations: ['7+28=35', '82+35=117'] Exploring Operation: 117-5=112, Resulting Numbers: [112] 112,83 unequal: No Solution Moving to Node #0,1,6 Current State: 83:[5, 117], Operations: ['7+28=35', '82+35=117'] Exploring Operation: 5+117=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,1 Current State: 83:[82, 5, 35], Operations: ['7+28=35'] Exploring Operation: 82-35=47, Resulting Numbers: [5, 47] Generated Node #0,1,7: 83:[5, 47] Operation: 82-35=47 Moving to Node #0,1,7 Current State: 83:[5, 47], Operations: ['7+28=35', '82-35=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,83 unequal: No Solution Moving to Node #0,1,7 Current State: 83:[5, 47], Operations: ['7+28=35', '82-35=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0 Current State: 83:[7, 28, 82, 5], Operations: [] Exploring Operation: 7+5=12, Resulting Numbers: [28, 82, 12] Generated Node #0,2: 83:[28, 82, 12] Operation: 7+5=12 Moving to Node #0,2 Current State: 83:[28, 82, 12], Operations: ['7+5=12'] Exploring Operation: 28+12=40, Resulting Numbers: [82, 40] Generated Node #0,2,0: 83:[82, 40] Operation: 28+12=40 Moving to Node #0,2,0 Current State: 83:[82, 40], Operations: ['7+5=12', '28+12=40'] Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[82, 40], Operations: ['7+5=12', '28+12=40'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,2 Current State: 83:[28, 82, 12], Operations: ['7+5=12'] Exploring Operation: 82+12=94, Resulting Numbers: [28, 94] Generated Node #0,2,1: 83:[28, 94] Operation: 82+12=94 Moving to Node #0,2,1 Current State: 83:[28, 94], Operations: ['7+5=12', '82+12=94'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[28, 94], Operations: ['7+5=12', '82+12=94'] Exploring Operation: 28+94=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,2 Current State: 83:[28, 82, 12], Operations: ['7+5=12'] Exploring Operation: 28-12=16, Resulting Numbers: [82, 16] Generated Node #0,2,2: 83:[82, 16] Operation: 28-12=16 Moving to Node #0,2,2 Current State: 83:[82, 16], Operations: ['7+5=12', '28-12=16'] Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[82, 16], Operations: ['7+5=12', '28-12=16'] Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,2 Current State: 83:[28, 82, 12], Operations: ['7+5=12'] Exploring Operation: 82-12=70, Resulting Numbers: [28, 70] Generated Node #0,2,3: 83:[28, 70] Operation: 82-12=70 Moving to Node #0,2,3 Current State: 83:[28, 70], Operations: ['7+5=12', '82-12=70'] Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[28, 70], Operations: ['7+5=12', '82-12=70'] Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,2 Current State: 83:[28, 82, 12], Operations: ['7+5=12'] Exploring Operation: 28+82=110, Resulting Numbers: [12, 110] Generated Node #0,2,4: 83:[12, 110] Operation: 28+82=110 Moving to Node #0,2,4 Current State: 83:[12, 110], Operations: ['7+5=12', '28+82=110'] Exploring Operation: 110-12=98, Resulting Numbers: [98] 98,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[12, 110], Operations: ['7+5=12', '28+82=110'] Exploring Operation: 12+110=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,2 Current State: 83:[28, 82, 12], Operations: ['7+5=12'] Exploring Operation: 82-28=54, Resulting Numbers: [12, 54] Generated Node #0,2,5: 83:[12, 54] Operation: 82-28=54 Moving to Node #0,2,5 Current State: 83:[12, 54], Operations: ['7+5=12', '82-28=54'] Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,2,5 Current State: 83:[12, 54], Operations: ['7+5=12', '82-28=54'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0 Current State: 83:[7, 28, 82, 5], Operations: [] Exploring Operation: 28+5=33, Resulting Numbers: [7, 82, 33] Generated Node #0,3: 83:[7, 82, 33] Operation: 28+5=33 Moving to Node #0,3 Current State: 83:[7, 82, 33], Operations: ['28+5=33'] Exploring Operation: 7+33=40, Resulting Numbers: [82, 40] Generated Node #0,3,0: 83:[82, 40] Operation: 7+33=40 Moving to Node #0,3,0 Current State: 83:[82, 40], Operations: ['28+5=33', '7+33=40'] Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[82, 40], Operations: ['28+5=33', '7+33=40'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,3 Current State: 83:[7, 82, 33], Operations: ['28+5=33'] Exploring Operation: 7+82=89, Resulting Numbers: [33, 89] Generated Node #0,3,1: 83:[33, 89] Operation: 7+82=89 Moving to Node #0,3,1 Current State: 83:[33, 89], Operations: ['28+5=33', '7+82=89'] Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[33, 89], Operations: ['28+5=33', '7+82=89'] Exploring Operation: 33+89=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,3 Current State: 83:[7, 82, 33], Operations: ['28+5=33'] Exploring Operation: 82-7=75, Resulting Numbers: [33, 75] Generated Node #0,3,2: 83:[33, 75] Operation: 82-7=75 Moving to Node #0,3,2 Current State: 83:[33, 75], Operations: ['28+5=33', '82-7=75'] Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[33, 75], Operations: ['28+5=33', '82-7=75'] Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,3 Current State: 83:[7, 82, 33], Operations: ['28+5=33'] Exploring Operation: 33-7=26, Resulting Numbers: [82, 26] Generated Node #0,3,3: 83:[82, 26] Operation: 33-7=26 Moving to Node #0,3,3 Current State: 83:[82, 26], Operations: ['28+5=33', '33-7=26'] Exploring Operation: 82+26=108, Resulting Numbers: [108] 108,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[82, 26], Operations: ['28+5=33', '33-7=26'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,83 unequal: No Solution Moving to Node #0,3 Current State: 83:[7, 82, 33], Operations: ['28+5=33'] Exploring Operation: 82+33=115, Resulting Numbers: [7, 115] Generated Node #0,3,4: 83:[7, 115] Operation: 82+33=115 Moving to Node #0,3,4 Current State: 83:[7, 115], Operations: ['28+5=33', '82+33=115'] Exploring Operation: 115-7=108, Resulting Numbers: [108] 108,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[7, 115], Operations: ['28+5=33', '82+33=115'] Exploring Operation: 7+115=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,3 Current State: 83:[7, 82, 33], Operations: ['28+5=33'] Exploring Operation: 82-33=49, Resulting Numbers: [7, 49] Generated Node #0,3,5: 83:[7, 49] Operation: 82-33=49 Moving to Node #0,3,5 Current State: 83:[7, 49], Operations: ['28+5=33', '82-33=49'] Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,83 unequal: No Solution Moving to Node #0,3,5 Current State: 83:[7, 49], Operations: ['28+5=33', '82-33=49'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,3,5 Current State: 83:[7, 49], Operations: ['28+5=33', '82-33=49'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,83 unequal: No Solution Moving to Node #0,3 Current State: 83:[7, 82, 33], Operations: ['28+5=33'] Exploring Operation: 7*33=231, Resulting Numbers: [82, 231] Generated Node #0,3,6: 83:[82, 231] Operation: 7*33=231 Moving to Node #0,3,6 Current State: 83:[82, 231], Operations: ['28+5=33', '7*33=231'] Exploring Operation: 231-82=149, Resulting Numbers: [149] 149,83 unequal: No Solution Moving to Node #0 Current State: 83:[7, 28, 82, 5], Operations: [] Exploring Operation: 28*5=140, Resulting Numbers: [7, 82, 140] Generated Node #0,4: 83:[7, 82, 140] Operation: 28*5=140 Moving to Node #0,4 Current State: 83:[7, 82, 140], Operations: ['28*5=140'] Exploring Operation: 140-7=133, Resulting Numbers: [82, 133] Generated Node #0,4,0: 83:[82, 133] Operation: 140-7=133 Moving to Node #0,4,0 Current State: 83:[82, 133], Operations: ['28*5=140', '140-7=133'] Exploring Operation: 133-82=51, Resulting Numbers: [51] 51,83 unequal: No Solution Moving to Node #0,4 Current State: 83:[7, 82, 140], Operations: ['28*5=140'] Exploring Operation: 7+82=89, Resulting Numbers: [140, 89] Generated Node #0,4,1: 83:[140, 89] Operation: 7+82=89 Moving to Node #0,4,1 Current State: 83:[140, 89], Operations: ['28*5=140', '7+82=89'] Exploring Operation: 140-89=51, Resulting Numbers: [51] 51,83 unequal: No Solution Moving to Node #0,4 Current State: 83:[7, 82, 140], Operations: ['28*5=140'] Exploring Operation: 140/7=20, Resulting Numbers: [82, 20] Generated Node #0,4,2: 83:[82, 20] Operation: 140/7=20 Moving to Node #0,4,2 Current State: 83:[82, 20], Operations: ['28*5=140', '140/7=20'] Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[82, 20], Operations: ['28*5=140', '140/7=20'] Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,83 unequal: No Solution Moving to Node #0,4 Current State: 83:[7, 82, 140], Operations: ['28*5=140'] Exploring Operation: 82-7=75, Resulting Numbers: [140, 75] Generated Node #0,4,3: 83:[140, 75] Operation: 82-7=75 Moving to Node #0,4,3 Current State: 83:[140, 75], Operations: ['28*5=140', '82-7=75'] Exploring Operation: 140-75=65, Resulting Numbers: [65] 65,83 unequal: No Solution Moving to Node #0,4 Current State: 83:[7, 82, 140], Operations: ['28*5=140'] Exploring Operation: 7+140=147, Resulting Numbers: [82, 147] Generated Node #0,4,4: 83:[82, 147] Operation: 7+140=147 Moving to Node #0,4,4 Current State: 83:[82, 147], Operations: ['28*5=140', '7+140=147'] Exploring Operation: 147-82=65, Resulting Numbers: [65] 65,83 unequal: No Solution Moving to Node #0,4 Current State: 83:[7, 82, 140], Operations: ['28*5=140'] Exploring Operation: 140-82=58, Resulting Numbers: [7, 58] Generated Node #0,4,5: 83:[7, 58] Operation: 140-82=58 Moving to Node #0,4,5 Current State: 83:[7, 58], Operations: ['28*5=140', '140-82=58'] Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,83 unequal: No Solution Moving to Node #0,4,5 Current State: 83:[7, 58], Operations: ['28*5=140', '140-82=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,83 unequal: No Solution Moving to Node #0 Current State: 83:[7, 28, 82, 5], Operations: [] Exploring Operation: 82+5=87, Resulting Numbers: [7, 28, 87] Generated Node #0,5: 83:[7, 28, 87] Operation: 82+5=87 Moving to Node #0,5 Current State: 83:[7, 28, 87], Operations: ['82+5=87'] Exploring Operation: 7+28=35, Resulting Numbers: [87, 35] Generated Node #0,5,0: 83:[87, 35] Operation: 7+28=35 Moving to Node #0,5,0 Current State: 83:[87, 35], Operations: ['82+5=87', '7+28=35'] Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,83 unequal: No Solution Moving to Node #0,5,0 Current State: 83:[87, 35], Operations: ['82+5=87', '7+28=35'] Exploring Operation: 87+35=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,5 Current State: 83:[7, 28, 87], Operations: ['82+5=87'] Exploring Operation: 87-7=80, Resulting Numbers: [28, 80] Generated Node #0,5,1: 83:[28, 80] Operation: 87-7=80 Moving to Node #0,5,1 Current State: 83:[28, 80], Operations: ['82+5=87', '87-7=80'] Exploring Operation: 28+80=108, Resulting Numbers: [108] 108,83 unequal: No Solution Moving to Node #0,5,1 Current State: 83:[28, 80], Operations: ['82+5=87', '87-7=80'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,83 unequal: No Solution Moving to Node #0,5 Current State: 83:[7, 28, 87], Operations: ['82+5=87'] Exploring Operation: 28-7=21, Resulting Numbers: [87, 21] Generated Node #0,5,2: 83:[87, 21] Operation: 28-7=21 Moving to Node #0,5,2 Current State: 83:[87, 21], Operations: ['82+5=87', '28-7=21'] Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,5,2 Current State: 83:[87, 21], Operations: ['82+5=87', '28-7=21'] Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,83 unequal: No Solution Moving to Node #0,5 Current State: 83:[7, 28, 87], Operations: ['82+5=87'] Exploring Operation: 7+87=94, Resulting Numbers: [28, 94] Generated Node #0,5,3: 83:[28, 94] Operation: 7+87=94 Moving to Node #0,5,3 Current State: 83:[28, 94], Operations: ['82+5=87', '7+87=94'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,5,3 Current State: 83:[28, 94], Operations: ['82+5=87', '7+87=94'] Exploring Operation: 28+94=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,5 Current State: 83:[7, 28, 87], Operations: ['82+5=87'] Exploring Operation: 28/7=4, Resulting Numbers: [87, 4] Generated Node #0,5,4: 83:[87, 4] Operation: 28/7=4 Moving to Node #0,5,4 Current State: 83:[87, 4], Operations: ['82+5=87', '28/7=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.900174
dfs
Current State: 83:[7, 28, 82, 5], Operations: [] Exploring Operation: 28/7=4, Resulting Numbers: [82, 5, 4] Generated Node #2: [82, 5, 4] from Operation: 28/7=4 Current State: 83:[82, 5, 4], Operations: ['28/7=4'] Exploring Operation: 82+5=87, Resulting Numbers: [4, 87] Generated Node #3: [4, 87] from Operation: 82+5=87 Current State: 83:[4, 87], Operations: ['28/7=4', '82+5=87'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
sum_heuristic
[ { "content": "Make 83 with the numbers [7, 28, 82, 5] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 83:[7, 28, 82, 5], Operations: []\nExploring Operation: 7*5=35, Resulting Numbers: [28, 82, 35]\nGenerated Node #0,0: 83:[28, 82, 35] Operation: 7*5=35\nMoving to Node #0,0\nCurrent State: 83:[28, 82, 35], Operations: ['7*5=35']\nExploring Operation: 28+35=63, Resulting Numbers: [82, 63]\nGenerated Node #0,0,0: 83:[82, 63] Operation: 28+35=63\nMoving to Node #0,0,0\nCurrent State: 83:[82, 63], Operations: ['7*5=35', '28+35=63']\nExploring Operation: 82+63=145, Resulting Numbers: [145]\n145,83 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 83:[82, 63], Operations: ['7*5=35', '28+35=63']\nExploring Operation: 82-63=19, Resulting Numbers: [19]\n19,83 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 83:[28, 82, 35], Operations: ['7*5=35']\nExploring Operation: 28+82=110, Resulting Numbers: [35, 110]\nGenerated Node #0,0,1: 83:[35, 110] Operation: 28+82=110\nMoving to Node #0,0,1\nCurrent State: 83:[35, 110], Operations: ['7*5=35', '28+82=110']\nExploring Operation: 110-35=75, Resulting Numbers: [75]\n75,83 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 83:[35, 110], Operations: ['7*5=35', '28+82=110']\nExploring Operation: 35+110=145, Resulting Numbers: [145]\n145,83 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 83:[28, 82, 35], Operations: ['7*5=35']\nExploring Operation: 82-28=54, Resulting Numbers: [35, 54]\nGenerated Node #0,0,2: 83:[35, 54] Operation: 82-28=54\nMoving to Node #0,0,2\nCurrent State: 83:[35, 54], Operations: ['7*5=35', '82-28=54']\nExploring Operation: 35+54=89, Resulting Numbers: [89]\n89,83 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 83:[35, 54], Operations: ['7*5=35', '82-28=54']\nExploring Operation: 54-35=19, Resulting Numbers: [19]\n19,83 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 83:[28, 82, 35], Operations: ['7*5=35']\nExploring Operation: 35-28=7, Resulting Numbers: [82, 7]\nGenerated Node #0,0,3: 83:[82, 7] Operation: 35-28=7\nMoving to Node #0,0,3\nCurrent State: 83:[82, 7], Operations: ['7*5=35', '35-28=7']\nExploring Operation: 82+7=89, Resulting Numbers: [89]\n89,83 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 83:[82, 7], Operations: ['7*5=35', '35-28=7']\nExploring Operation: 82-7=75, Resulting Numbers: [75]\n75,83 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 83:[28, 82, 35], Operations: ['7*5=35']\nExploring Operation: 82+35=117, Resulting Numbers: [28, 117]\nGenerated Node #0,0,4: 83:[28, 117] Operation: 82+35=117\nMoving to Node #0,0,4\nCurrent State: 83:[28, 117], Operations: ['7*5=35', '82+35=117']\nExploring Operation: 117-28=89, Resulting Numbers: [89]\n89,83 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 83:[28, 117], Operations: ['7*5=35', '82+35=117']\nExploring Operation: 28+117=145, Resulting Numbers: [145]\n145,83 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 83:[28, 82, 35], Operations: ['7*5=35']\nExploring Operation: 82-35=47, Resulting Numbers: [28, 47]\nGenerated Node #0,0,5: 83:[28, 47] Operation: 82-35=47\nMoving to Node #0,0,5\nCurrent State: 83:[28, 47], Operations: ['7*5=35', '82-35=47']\nExploring Operation: 28+47=75, Resulting Numbers: [75]\n75,83 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 83:[28, 47], Operations: ['7*5=35', '82-35=47']\nExploring Operation: 47-28=19, Resulting Numbers: [19]\n19,83 unequal: No Solution\nMoving to Node #0\nCurrent State: 83:[7, 28, 82, 5], Operations: []\nExploring Operation: 7+28=35, Resulting Numbers: [82, 5, 35]\nGenerated Node #0,1: 83:[82, 5, 35] Operation: 7+28=35\nMoving to Node #0,1\nCurrent State: 83:[82, 5, 35], Operations: ['7+28=35']\nExploring Operation: 5+35=40, Resulting Numbers: [82, 40]\nGenerated Node #0,1,0: 83:[82, 40] Operation: 5+35=40\nMoving to Node #0,1,0\nCurrent State: 83:[82, 40], Operations: ['7+28=35', '5+35=40']\nExploring Operation: 82+40=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 83:[82, 40], Operations: ['7+28=35', '5+35=40']\nExploring Operation: 82-40=42, Resulting Numbers: [42]\n42,83 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 83:[82, 5, 35], Operations: ['7+28=35']\nExploring Operation: 82+5=87, Resulting Numbers: [35, 87]\nGenerated Node #0,1,1: 83:[35, 87] Operation: 82+5=87\nMoving to Node #0,1,1\nCurrent State: 83:[35, 87], Operations: ['7+28=35', '82+5=87']\nExploring Operation: 87-35=52, Resulting Numbers: [52]\n52,83 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 83:[35, 87], Operations: ['7+28=35', '82+5=87']\nExploring Operation: 35+87=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 83:[82, 5, 35], Operations: ['7+28=35']\nExploring Operation: 82-5=77, Resulting Numbers: [35, 77]\nGenerated Node #0,1,2: 83:[35, 77] Operation: 82-5=77\nMoving to Node #0,1,2\nCurrent State: 83:[35, 77], Operations: ['7+28=35', '82-5=77']\nExploring Operation: 35+77=112, Resulting Numbers: [112]\n112,83 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 83:[35, 77], Operations: ['7+28=35', '82-5=77']\nExploring Operation: 77-35=42, Resulting Numbers: [42]\n42,83 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 83:[82, 5, 35], Operations: ['7+28=35']\nExploring Operation: 35-5=30, Resulting Numbers: [82, 30]\nGenerated Node #0,1,3: 83:[82, 30] Operation: 35-5=30\nMoving to Node #0,1,3\nCurrent State: 83:[82, 30], Operations: ['7+28=35', '35-5=30']\nExploring Operation: 82+30=112, Resulting Numbers: [112]\n112,83 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 83:[82, 30], Operations: ['7+28=35', '35-5=30']\nExploring Operation: 82-30=52, Resulting Numbers: [52]\n52,83 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 83:[82, 5, 35], Operations: ['7+28=35']\nExploring Operation: 35/5=7, Resulting Numbers: [82, 7]\nGenerated Node #0,1,4: 83:[82, 7] Operation: 35/5=7\nMoving to Node #0,1,4\nCurrent State: 83:[82, 7], Operations: ['7+28=35', '35/5=7']\nExploring Operation: 82+7=89, Resulting Numbers: [89]\n89,83 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 83:[82, 7], Operations: ['7+28=35', '35/5=7']\nExploring Operation: 82-7=75, Resulting Numbers: [75]\n75,83 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 83:[82, 5, 35], Operations: ['7+28=35']\nExploring Operation: 5*35=175, Resulting Numbers: [82, 175]\nGenerated Node #0,1,5: 83:[82, 175] Operation: 5*35=175\nMoving to Node #0,1,5\nCurrent State: 83:[82, 175], Operations: ['7+28=35', '5*35=175']\nExploring Operation: 175-82=93, Resulting Numbers: [93]\n93,83 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 83:[82, 5, 35], Operations: ['7+28=35']\nExploring Operation: 82+35=117, Resulting Numbers: [5, 117]\nGenerated Node #0,1,6: 83:[5, 117] Operation: 82+35=117\nMoving to Node #0,1,6\nCurrent State: 83:[5, 117], Operations: ['7+28=35', '82+35=117']\nExploring Operation: 117-5=112, Resulting Numbers: [112]\n112,83 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 83:[5, 117], Operations: ['7+28=35', '82+35=117']\nExploring Operation: 5+117=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 83:[82, 5, 35], Operations: ['7+28=35']\nExploring Operation: 82-35=47, Resulting Numbers: [5, 47]\nGenerated Node #0,1,7: 83:[5, 47] Operation: 82-35=47\nMoving to Node #0,1,7\nCurrent State: 83:[5, 47], Operations: ['7+28=35', '82-35=47']\nExploring Operation: 5+47=52, Resulting Numbers: [52]\n52,83 unequal: No Solution\nMoving to Node #0,1,7\nCurrent State: 83:[5, 47], Operations: ['7+28=35', '82-35=47']\nExploring Operation: 47-5=42, Resulting Numbers: [42]\n42,83 unequal: No Solution\nMoving to Node #0\nCurrent State: 83:[7, 28, 82, 5], Operations: []\nExploring Operation: 7+5=12, Resulting Numbers: [28, 82, 12]\nGenerated Node #0,2: 83:[28, 82, 12] Operation: 7+5=12\nMoving to Node #0,2\nCurrent State: 83:[28, 82, 12], Operations: ['7+5=12']\nExploring Operation: 28+12=40, Resulting Numbers: [82, 40]\nGenerated Node #0,2,0: 83:[82, 40] Operation: 28+12=40\nMoving to Node #0,2,0\nCurrent State: 83:[82, 40], Operations: ['7+5=12', '28+12=40']\nExploring Operation: 82+40=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 83:[82, 40], Operations: ['7+5=12', '28+12=40']\nExploring Operation: 82-40=42, Resulting Numbers: [42]\n42,83 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 83:[28, 82, 12], Operations: ['7+5=12']\nExploring Operation: 82+12=94, Resulting Numbers: [28, 94]\nGenerated Node #0,2,1: 83:[28, 94] Operation: 82+12=94\nMoving to Node #0,2,1\nCurrent State: 83:[28, 94], Operations: ['7+5=12', '82+12=94']\nExploring Operation: 94-28=66, Resulting Numbers: [66]\n66,83 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 83:[28, 94], Operations: ['7+5=12', '82+12=94']\nExploring Operation: 28+94=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 83:[28, 82, 12], Operations: ['7+5=12']\nExploring Operation: 28-12=16, Resulting Numbers: [82, 16]\nGenerated Node #0,2,2: 83:[82, 16] Operation: 28-12=16\nMoving to Node #0,2,2\nCurrent State: 83:[82, 16], Operations: ['7+5=12', '28-12=16']\nExploring Operation: 82+16=98, Resulting Numbers: [98]\n98,83 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 83:[82, 16], Operations: ['7+5=12', '28-12=16']\nExploring Operation: 82-16=66, Resulting Numbers: [66]\n66,83 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 83:[28, 82, 12], Operations: ['7+5=12']\nExploring Operation: 82-12=70, Resulting Numbers: [28, 70]\nGenerated Node #0,2,3: 83:[28, 70] Operation: 82-12=70\nMoving to Node #0,2,3\nCurrent State: 83:[28, 70], Operations: ['7+5=12', '82-12=70']\nExploring Operation: 28+70=98, Resulting Numbers: [98]\n98,83 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 83:[28, 70], Operations: ['7+5=12', '82-12=70']\nExploring Operation: 70-28=42, Resulting Numbers: [42]\n42,83 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 83:[28, 82, 12], Operations: ['7+5=12']\nExploring Operation: 28+82=110, Resulting Numbers: [12, 110]\nGenerated Node #0,2,4: 83:[12, 110] Operation: 28+82=110\nMoving to Node #0,2,4\nCurrent State: 83:[12, 110], Operations: ['7+5=12', '28+82=110']\nExploring Operation: 110-12=98, Resulting Numbers: [98]\n98,83 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 83:[12, 110], Operations: ['7+5=12', '28+82=110']\nExploring Operation: 12+110=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 83:[28, 82, 12], Operations: ['7+5=12']\nExploring Operation: 82-28=54, Resulting Numbers: [12, 54]\nGenerated Node #0,2,5: 83:[12, 54] Operation: 82-28=54\nMoving to Node #0,2,5\nCurrent State: 83:[12, 54], Operations: ['7+5=12', '82-28=54']\nExploring Operation: 12+54=66, Resulting Numbers: [66]\n66,83 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 83:[12, 54], Operations: ['7+5=12', '82-28=54']\nExploring Operation: 54-12=42, Resulting Numbers: [42]\n42,83 unequal: No Solution\nMoving to Node #0\nCurrent State: 83:[7, 28, 82, 5], Operations: []\nExploring Operation: 28+5=33, Resulting Numbers: [7, 82, 33]\nGenerated Node #0,3: 83:[7, 82, 33] Operation: 28+5=33\nMoving to Node #0,3\nCurrent State: 83:[7, 82, 33], Operations: ['28+5=33']\nExploring Operation: 7+33=40, Resulting Numbers: [82, 40]\nGenerated Node #0,3,0: 83:[82, 40] Operation: 7+33=40\nMoving to Node #0,3,0\nCurrent State: 83:[82, 40], Operations: ['28+5=33', '7+33=40']\nExploring Operation: 82+40=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 83:[82, 40], Operations: ['28+5=33', '7+33=40']\nExploring Operation: 82-40=42, Resulting Numbers: [42]\n42,83 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 83:[7, 82, 33], Operations: ['28+5=33']\nExploring Operation: 7+82=89, Resulting Numbers: [33, 89]\nGenerated Node #0,3,1: 83:[33, 89] Operation: 7+82=89\nMoving to Node #0,3,1\nCurrent State: 83:[33, 89], Operations: ['28+5=33', '7+82=89']\nExploring Operation: 89-33=56, Resulting Numbers: [56]\n56,83 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 83:[33, 89], Operations: ['28+5=33', '7+82=89']\nExploring Operation: 33+89=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 83:[7, 82, 33], Operations: ['28+5=33']\nExploring Operation: 82-7=75, Resulting Numbers: [33, 75]\nGenerated Node #0,3,2: 83:[33, 75] Operation: 82-7=75\nMoving to Node #0,3,2\nCurrent State: 83:[33, 75], Operations: ['28+5=33', '82-7=75']\nExploring Operation: 33+75=108, Resulting Numbers: [108]\n108,83 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 83:[33, 75], Operations: ['28+5=33', '82-7=75']\nExploring Operation: 75-33=42, Resulting Numbers: [42]\n42,83 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 83:[7, 82, 33], Operations: ['28+5=33']\nExploring Operation: 33-7=26, Resulting Numbers: [82, 26]\nGenerated Node #0,3,3: 83:[82, 26] Operation: 33-7=26\nMoving to Node #0,3,3\nCurrent State: 83:[82, 26], Operations: ['28+5=33', '33-7=26']\nExploring Operation: 82+26=108, Resulting Numbers: [108]\n108,83 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 83:[82, 26], Operations: ['28+5=33', '33-7=26']\nExploring Operation: 82-26=56, Resulting Numbers: [56]\n56,83 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 83:[7, 82, 33], Operations: ['28+5=33']\nExploring Operation: 82+33=115, Resulting Numbers: [7, 115]\nGenerated Node #0,3,4: 83:[7, 115] Operation: 82+33=115\nMoving to Node #0,3,4\nCurrent State: 83:[7, 115], Operations: ['28+5=33', '82+33=115']\nExploring Operation: 115-7=108, Resulting Numbers: [108]\n108,83 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 83:[7, 115], Operations: ['28+5=33', '82+33=115']\nExploring Operation: 7+115=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 83:[7, 82, 33], Operations: ['28+5=33']\nExploring Operation: 82-33=49, Resulting Numbers: [7, 49]\nGenerated Node #0,3,5: 83:[7, 49] Operation: 82-33=49\nMoving to Node #0,3,5\nCurrent State: 83:[7, 49], Operations: ['28+5=33', '82-33=49']\nExploring Operation: 7+49=56, Resulting Numbers: [56]\n56,83 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 83:[7, 49], Operations: ['28+5=33', '82-33=49']\nExploring Operation: 49-7=42, Resulting Numbers: [42]\n42,83 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 83:[7, 49], Operations: ['28+5=33', '82-33=49']\nExploring Operation: 49/7=7, Resulting Numbers: [7]\n7,83 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 83:[7, 82, 33], Operations: ['28+5=33']\nExploring Operation: 7*33=231, Resulting Numbers: [82, 231]\nGenerated Node #0,3,6: 83:[82, 231] Operation: 7*33=231\nMoving to Node #0,3,6\nCurrent State: 83:[82, 231], Operations: ['28+5=33', '7*33=231']\nExploring Operation: 231-82=149, Resulting Numbers: [149]\n149,83 unequal: No Solution\nMoving to Node #0\nCurrent State: 83:[7, 28, 82, 5], Operations: []\nExploring Operation: 28*5=140, Resulting Numbers: [7, 82, 140]\nGenerated Node #0,4: 83:[7, 82, 140] Operation: 28*5=140\nMoving to Node #0,4\nCurrent State: 83:[7, 82, 140], Operations: ['28*5=140']\nExploring Operation: 140-7=133, Resulting Numbers: [82, 133]\nGenerated Node #0,4,0: 83:[82, 133] Operation: 140-7=133\nMoving to Node #0,4,0\nCurrent State: 83:[82, 133], Operations: ['28*5=140', '140-7=133']\nExploring Operation: 133-82=51, Resulting Numbers: [51]\n51,83 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 83:[7, 82, 140], Operations: ['28*5=140']\nExploring Operation: 7+82=89, Resulting Numbers: [140, 89]\nGenerated Node #0,4,1: 83:[140, 89] Operation: 7+82=89\nMoving to Node #0,4,1\nCurrent State: 83:[140, 89], Operations: ['28*5=140', '7+82=89']\nExploring Operation: 140-89=51, Resulting Numbers: [51]\n51,83 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 83:[7, 82, 140], Operations: ['28*5=140']\nExploring Operation: 140/7=20, Resulting Numbers: [82, 20]\nGenerated Node #0,4,2: 83:[82, 20] Operation: 140/7=20\nMoving to Node #0,4,2\nCurrent State: 83:[82, 20], Operations: ['28*5=140', '140/7=20']\nExploring Operation: 82+20=102, Resulting Numbers: [102]\n102,83 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 83:[82, 20], Operations: ['28*5=140', '140/7=20']\nExploring Operation: 82-20=62, Resulting Numbers: [62]\n62,83 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 83:[7, 82, 140], Operations: ['28*5=140']\nExploring Operation: 82-7=75, Resulting Numbers: [140, 75]\nGenerated Node #0,4,3: 83:[140, 75] Operation: 82-7=75\nMoving to Node #0,4,3\nCurrent State: 83:[140, 75], Operations: ['28*5=140', '82-7=75']\nExploring Operation: 140-75=65, Resulting Numbers: [65]\n65,83 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 83:[7, 82, 140], Operations: ['28*5=140']\nExploring Operation: 7+140=147, Resulting Numbers: [82, 147]\nGenerated Node #0,4,4: 83:[82, 147] Operation: 7+140=147\nMoving to Node #0,4,4\nCurrent State: 83:[82, 147], Operations: ['28*5=140', '7+140=147']\nExploring Operation: 147-82=65, Resulting Numbers: [65]\n65,83 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 83:[7, 82, 140], Operations: ['28*5=140']\nExploring Operation: 140-82=58, Resulting Numbers: [7, 58]\nGenerated Node #0,4,5: 83:[7, 58] Operation: 140-82=58\nMoving to Node #0,4,5\nCurrent State: 83:[7, 58], Operations: ['28*5=140', '140-82=58']\nExploring Operation: 7+58=65, Resulting Numbers: [65]\n65,83 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 83:[7, 58], Operations: ['28*5=140', '140-82=58']\nExploring Operation: 58-7=51, Resulting Numbers: [51]\n51,83 unequal: No Solution\nMoving to Node #0\nCurrent State: 83:[7, 28, 82, 5], Operations: []\nExploring Operation: 82+5=87, Resulting Numbers: [7, 28, 87]\nGenerated Node #0,5: 83:[7, 28, 87] Operation: 82+5=87\nMoving to Node #0,5\nCurrent State: 83:[7, 28, 87], Operations: ['82+5=87']\nExploring Operation: 7+28=35, Resulting Numbers: [87, 35]\nGenerated Node #0,5,0: 83:[87, 35] Operation: 7+28=35\nMoving to Node #0,5,0\nCurrent State: 83:[87, 35], Operations: ['82+5=87', '7+28=35']\nExploring Operation: 87-35=52, Resulting Numbers: [52]\n52,83 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 83:[87, 35], Operations: ['82+5=87', '7+28=35']\nExploring Operation: 87+35=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 83:[7, 28, 87], Operations: ['82+5=87']\nExploring Operation: 87-7=80, Resulting Numbers: [28, 80]\nGenerated Node #0,5,1: 83:[28, 80] Operation: 87-7=80\nMoving to Node #0,5,1\nCurrent State: 83:[28, 80], Operations: ['82+5=87', '87-7=80']\nExploring Operation: 28+80=108, Resulting Numbers: [108]\n108,83 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 83:[28, 80], Operations: ['82+5=87', '87-7=80']\nExploring Operation: 80-28=52, Resulting Numbers: [52]\n52,83 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 83:[7, 28, 87], Operations: ['82+5=87']\nExploring Operation: 28-7=21, Resulting Numbers: [87, 21]\nGenerated Node #0,5,2: 83:[87, 21] Operation: 28-7=21\nMoving to Node #0,5,2\nCurrent State: 83:[87, 21], Operations: ['82+5=87', '28-7=21']\nExploring Operation: 87-21=66, Resulting Numbers: [66]\n66,83 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 83:[87, 21], Operations: ['82+5=87', '28-7=21']\nExploring Operation: 87+21=108, Resulting Numbers: [108]\n108,83 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 83:[7, 28, 87], Operations: ['82+5=87']\nExploring Operation: 7+87=94, Resulting Numbers: [28, 94]\nGenerated Node #0,5,3: 83:[28, 94] Operation: 7+87=94\nMoving to Node #0,5,3\nCurrent State: 83:[28, 94], Operations: ['82+5=87', '7+87=94']\nExploring Operation: 94-28=66, Resulting Numbers: [66]\n66,83 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 83:[28, 94], Operations: ['82+5=87', '7+87=94']\nExploring Operation: 28+94=122, Resulting Numbers: [122]\n122,83 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 83:[7, 28, 87], Operations: ['82+5=87']\nExploring Operation: 28/7=4, Resulting Numbers: [87, 4]\nGenerated Node #0,5,4: 83:[87, 4] Operation: 28/7=4\nMoving to Node #0,5,4\nCurrent State: 83:[87, 4], Operations: ['82+5=87', '28/7=4']\nExploring Operation: 87-4=83, Resulting Numbers: [83]\n83,83 equal: Goal Reached\n", "role": "assistant" } ]
[ 16, 68, 24, 17 ]
45
[ "68-16=52", "24-17=7", "52-7=45" ]
Current State: 45:[16, 68, 24, 17], Operations: [] Exploring Operation: 68-16=52, Resulting Numbers: [24, 17, 52] Generated Node #0,0: 45:[24, 17, 52] Operation: 68-16=52 Moving to Node #0,0 Current State: 45:[24, 17, 52], Operations: ['68-16=52'] Exploring Operation: 24+17=41, Resulting Numbers: [52, 41] Generated Node #0,0,0: 45:[52, 41] Operation: 24+17=41 Moving to Node #0,0,0 Current State: 45:[52, 41], Operations: ['68-16=52', '24+17=41'] Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,45 unequal: No Solution Moving to Node #0,0 Current State: 45:[24, 17, 52], Operations: ['68-16=52'] Exploring Operation: 52-17=35, Resulting Numbers: [24, 35] Generated Node #0,0,1: 45:[24, 35] Operation: 52-17=35 Moving to Node #0,0,1 Current State: 45:[24, 35], Operations: ['68-16=52', '52-17=35'] Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[24, 35], Operations: ['68-16=52', '52-17=35'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,45 unequal: No Solution Moving to Node #0,0 Current State: 45:[24, 17, 52], Operations: ['68-16=52'] Exploring Operation: 24-17=7, Resulting Numbers: [52, 7] Generated Node #0,0,2: 45:[52, 7] Operation: 24-17=7 Moving to Node #0,0,2 Current State: 45:[52, 7], Operations: ['68-16=52', '24-17=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.992188
dfs
Current State: 45:[16, 68, 24, 17], Operations: [] Exploring Operation: 68-16=52, Resulting Numbers: [24, 17, 52] Generated Node #2: [24, 17, 52] from Operation: 68-16=52 Current State: 45:[24, 17, 52], Operations: ['68-16=52'] Exploring Operation: 24-17=7, Resulting Numbers: [52, 7] Generated Node #3: [52, 7] from Operation: 24-17=7 Current State: 45:[52, 7], Operations: ['68-16=52', '24-17=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
sum_heuristic
[ { "content": "Make 45 with the numbers [16, 68, 24, 17] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 45:[16, 68, 24, 17], Operations: []\nExploring Operation: 68-16=52, Resulting Numbers: [24, 17, 52]\nGenerated Node #0,0: 45:[24, 17, 52] Operation: 68-16=52\nMoving to Node #0,0\nCurrent State: 45:[24, 17, 52], Operations: ['68-16=52']\nExploring Operation: 24+17=41, Resulting Numbers: [52, 41]\nGenerated Node #0,0,0: 45:[52, 41] Operation: 24+17=41\nMoving to Node #0,0,0\nCurrent State: 45:[52, 41], Operations: ['68-16=52', '24+17=41']\nExploring Operation: 52-41=11, Resulting Numbers: [11]\n11,45 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 45:[24, 17, 52], Operations: ['68-16=52']\nExploring Operation: 52-17=35, Resulting Numbers: [24, 35]\nGenerated Node #0,0,1: 45:[24, 35] Operation: 52-17=35\nMoving to Node #0,0,1\nCurrent State: 45:[24, 35], Operations: ['68-16=52', '52-17=35']\nExploring Operation: 24+35=59, Resulting Numbers: [59]\n59,45 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 45:[24, 35], Operations: ['68-16=52', '52-17=35']\nExploring Operation: 35-24=11, Resulting Numbers: [11]\n11,45 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 45:[24, 17, 52], Operations: ['68-16=52']\nExploring Operation: 24-17=7, Resulting Numbers: [52, 7]\nGenerated Node #0,0,2: 45:[52, 7] Operation: 24-17=7\nMoving to Node #0,0,2\nCurrent State: 45:[52, 7], Operations: ['68-16=52', '24-17=7']\nExploring Operation: 52-7=45, Resulting Numbers: [45]\n45,45 equal: Goal Reached\n", "role": "assistant" } ]
[ 96, 18, 44, 19 ]
50
[ "96+18=114", "114/19=6", "44+6=50" ]
Current State: 50:[96, 18, 44, 19], Operations: [] Exploring Operation: 96-18=78, Resulting Numbers: [44, 19, 78] Generated Node #0,0: 50:[44, 19, 78] Operation: 96-18=78 Moving to Node #0,0 Current State: 50:[44, 19, 78], Operations: ['96-18=78'] Exploring Operation: 78-19=59, Resulting Numbers: [44, 59] Generated Node #0,0,0: 50:[44, 59] Operation: 78-19=59 Moving to Node #0,0,0 Current State: 50:[44, 59], Operations: ['96-18=78', '78-19=59'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,0 Current State: 50:[44, 19, 78], Operations: ['96-18=78'] Exploring Operation: 44+19=63, Resulting Numbers: [78, 63] Generated Node #0,0,1: 50:[78, 63] Operation: 44+19=63 Moving to Node #0,0,1 Current State: 50:[78, 63], Operations: ['96-18=78', '44+19=63'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,0 Current State: 50:[44, 19, 78], Operations: ['96-18=78'] Exploring Operation: 78-44=34, Resulting Numbers: [19, 34] Generated Node #0,0,2: 50:[19, 34] Operation: 78-44=34 Moving to Node #0,0,2 Current State: 50:[19, 34], Operations: ['96-18=78', '78-44=34'] Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[19, 34], Operations: ['96-18=78', '78-44=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,0 Current State: 50:[44, 19, 78], Operations: ['96-18=78'] Exploring Operation: 44-19=25, Resulting Numbers: [78, 25] Generated Node #0,0,3: 50:[78, 25] Operation: 44-19=25 Moving to Node #0,0,3 Current State: 50:[78, 25], Operations: ['96-18=78', '44-19=25'] Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,0 Current State: 50:[44, 19, 78], Operations: ['96-18=78'] Exploring Operation: 19+78=97, Resulting Numbers: [44, 97] Generated Node #0,0,4: 50:[44, 97] Operation: 19+78=97 Moving to Node #0,0,4 Current State: 50:[44, 97], Operations: ['96-18=78', '19+78=97'] Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0 Current State: 50:[96, 18, 44, 19], Operations: [] Exploring Operation: 96-44=52, Resulting Numbers: [18, 19, 52] Generated Node #0,1: 50:[18, 19, 52] Operation: 96-44=52 Moving to Node #0,1 Current State: 50:[18, 19, 52], Operations: ['96-44=52'] Exploring Operation: 18+19=37, Resulting Numbers: [52, 37] Generated Node #0,1,0: 50:[52, 37] Operation: 18+19=37 Moving to Node #0,1,0 Current State: 50:[52, 37], Operations: ['96-44=52', '18+19=37'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[52, 37], Operations: ['96-44=52', '18+19=37'] Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,50 unequal: No Solution Moving to Node #0,1 Current State: 50:[18, 19, 52], Operations: ['96-44=52'] Exploring Operation: 52-18=34, Resulting Numbers: [19, 34] Generated Node #0,1,1: 50:[19, 34] Operation: 52-18=34 Moving to Node #0,1,1 Current State: 50:[19, 34], Operations: ['96-44=52', '52-18=34'] Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[19, 34], Operations: ['96-44=52', '52-18=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,1 Current State: 50:[18, 19, 52], Operations: ['96-44=52'] Exploring Operation: 52-19=33, Resulting Numbers: [18, 33] Generated Node #0,1,2: 50:[18, 33] Operation: 52-19=33 Moving to Node #0,1,2 Current State: 50:[18, 33], Operations: ['96-44=52', '52-19=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[18, 33], Operations: ['96-44=52', '52-19=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,1 Current State: 50:[18, 19, 52], Operations: ['96-44=52'] Exploring Operation: 19-18=1, Resulting Numbers: [52, 1] Generated Node #0,1,3: 50:[52, 1] Operation: 19-18=1 Moving to Node #0,1,3 Current State: 50:[52, 1], Operations: ['96-44=52', '19-18=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,1,3 Current State: 50:[52, 1], Operations: ['96-44=52', '19-18=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,50 unequal: No Solution Moving to Node #0,1,3 Current State: 50:[52, 1], Operations: ['96-44=52', '19-18=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,50 unequal: No Solution Moving to Node #0,1,3 Current State: 50:[52, 1], Operations: ['96-44=52', '19-18=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,1 Current State: 50:[18, 19, 52], Operations: ['96-44=52'] Exploring Operation: 18+52=70, Resulting Numbers: [19, 70] Generated Node #0,1,4: 50:[19, 70] Operation: 18+52=70 Moving to Node #0,1,4 Current State: 50:[19, 70], Operations: ['96-44=52', '18+52=70'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,1,4 Current State: 50:[19, 70], Operations: ['96-44=52', '18+52=70'] Exploring Operation: 19+70=89, Resulting Numbers: [89] 89,50 unequal: No Solution Moving to Node #0,1 Current State: 50:[18, 19, 52], Operations: ['96-44=52'] Exploring Operation: 19+52=71, Resulting Numbers: [18, 71] Generated Node #0,1,5: 50:[18, 71] Operation: 19+52=71 Moving to Node #0,1,5 Current State: 50:[18, 71], Operations: ['96-44=52', '19+52=71'] Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,1,5 Current State: 50:[18, 71], Operations: ['96-44=52', '19+52=71'] Exploring Operation: 18+71=89, Resulting Numbers: [89] 89,50 unequal: No Solution Moving to Node #0 Current State: 50:[96, 18, 44, 19], Operations: [] Exploring Operation: 96-19=77, Resulting Numbers: [18, 44, 77] Generated Node #0,2: 50:[18, 44, 77] Operation: 96-19=77 Moving to Node #0,2 Current State: 50:[18, 44, 77], Operations: ['96-19=77'] Exploring Operation: 77-18=59, Resulting Numbers: [44, 59] Generated Node #0,2,0: 50:[44, 59] Operation: 77-18=59 Moving to Node #0,2,0 Current State: 50:[44, 59], Operations: ['96-19=77', '77-18=59'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,2 Current State: 50:[18, 44, 77], Operations: ['96-19=77'] Exploring Operation: 18+44=62, Resulting Numbers: [77, 62] Generated Node #0,2,1: 50:[77, 62] Operation: 18+44=62 Moving to Node #0,2,1 Current State: 50:[77, 62], Operations: ['96-19=77', '18+44=62'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,2 Current State: 50:[18, 44, 77], Operations: ['96-19=77'] Exploring Operation: 77-44=33, Resulting Numbers: [18, 33] Generated Node #0,2,2: 50:[18, 33] Operation: 77-44=33 Moving to Node #0,2,2 Current State: 50:[18, 33], Operations: ['96-19=77', '77-44=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[18, 33], Operations: ['96-19=77', '77-44=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,2 Current State: 50:[18, 44, 77], Operations: ['96-19=77'] Exploring Operation: 44-18=26, Resulting Numbers: [77, 26] Generated Node #0,2,3: 50:[77, 26] Operation: 44-18=26 Moving to Node #0,2,3 Current State: 50:[77, 26], Operations: ['96-19=77', '44-18=26'] Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,2 Current State: 50:[18, 44, 77], Operations: ['96-19=77'] Exploring Operation: 18+77=95, Resulting Numbers: [44, 95] Generated Node #0,2,4: 50:[44, 95] Operation: 18+77=95 Moving to Node #0,2,4 Current State: 50:[44, 95], Operations: ['96-19=77', '18+77=95'] Exploring Operation: 95-44=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0 Current State: 50:[96, 18, 44, 19], Operations: [] Exploring Operation: 18+19=37, Resulting Numbers: [96, 44, 37] Generated Node #0,3: 50:[96, 44, 37] Operation: 18+19=37 Moving to Node #0,3 Current State: 50:[96, 44, 37], Operations: ['18+19=37'] Exploring Operation: 96-44=52, Resulting Numbers: [37, 52] Generated Node #0,3,0: 50:[37, 52] Operation: 96-44=52 Moving to Node #0,3,0 Current State: 50:[37, 52], Operations: ['18+19=37', '96-44=52'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[37, 52], Operations: ['18+19=37', '96-44=52'] Exploring Operation: 37+52=89, Resulting Numbers: [89] 89,50 unequal: No Solution Moving to Node #0,3 Current State: 50:[96, 44, 37], Operations: ['18+19=37'] Exploring Operation: 96-37=59, Resulting Numbers: [44, 59] Generated Node #0,3,1: 50:[44, 59] Operation: 96-37=59 Moving to Node #0,3,1 Current State: 50:[44, 59], Operations: ['18+19=37', '96-37=59'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,3 Current State: 50:[96, 44, 37], Operations: ['18+19=37'] Exploring Operation: 44+37=81, Resulting Numbers: [96, 81] Generated Node #0,3,2: 50:[96, 81] Operation: 44+37=81 Moving to Node #0,3,2 Current State: 50:[96, 81], Operations: ['18+19=37', '44+37=81'] Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,3 Current State: 50:[96, 44, 37], Operations: ['18+19=37'] Exploring Operation: 96+37=133, Resulting Numbers: [44, 133] Generated Node #0,3,3: 50:[44, 133] Operation: 96+37=133 Moving to Node #0,3,3 Current State: 50:[44, 133], Operations: ['18+19=37', '96+37=133'] Exploring Operation: 133-44=89, Resulting Numbers: [89] 89,50 unequal: No Solution Moving to Node #0,3 Current State: 50:[96, 44, 37], Operations: ['18+19=37'] Exploring Operation: 44-37=7, Resulting Numbers: [96, 7] Generated Node #0,3,4: 50:[96, 7] Operation: 44-37=7 Moving to Node #0,3,4 Current State: 50:[96, 7], Operations: ['18+19=37', '44-37=7'] Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,50 unequal: No Solution Moving to Node #0 Current State: 50:[96, 18, 44, 19], Operations: [] Exploring Operation: 18+44=62, Resulting Numbers: [96, 19, 62] Generated Node #0,4: 50:[96, 19, 62] Operation: 18+44=62 Moving to Node #0,4 Current State: 50:[96, 19, 62], Operations: ['18+44=62'] Exploring Operation: 96-19=77, Resulting Numbers: [62, 77] Generated Node #0,4,0: 50:[62, 77] Operation: 96-19=77 Moving to Node #0,4,0 Current State: 50:[62, 77], Operations: ['18+44=62', '96-19=77'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,4 Current State: 50:[96, 19, 62], Operations: ['18+44=62'] Exploring Operation: 96-62=34, Resulting Numbers: [19, 34] Generated Node #0,4,1: 50:[19, 34] Operation: 96-62=34 Moving to Node #0,4,1 Current State: 50:[19, 34], Operations: ['18+44=62', '96-62=34'] Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,4,1 Current State: 50:[19, 34], Operations: ['18+44=62', '96-62=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,4 Current State: 50:[96, 19, 62], Operations: ['18+44=62'] Exploring Operation: 62-19=43, Resulting Numbers: [96, 43] Generated Node #0,4,2: 50:[96, 43] Operation: 62-19=43 Moving to Node #0,4,2 Current State: 50:[96, 43], Operations: ['18+44=62', '62-19=43'] Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,4 Current State: 50:[96, 19, 62], Operations: ['18+44=62'] Exploring Operation: 96+19=115, Resulting Numbers: [62, 115] Generated Node #0,4,3: 50:[62, 115] Operation: 96+19=115 Moving to Node #0,4,3 Current State: 50:[62, 115], Operations: ['18+44=62', '96+19=115'] Exploring Operation: 115-62=53, Resulting Numbers: [53] 53,50 unequal: No Solution Moving to Node #0,4 Current State: 50:[96, 19, 62], Operations: ['18+44=62'] Exploring Operation: 19+62=81, Resulting Numbers: [96, 81] Generated Node #0,4,4: 50:[96, 81] Operation: 19+62=81 Moving to Node #0,4,4 Current State: 50:[96, 81], Operations: ['18+44=62', '19+62=81'] Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0 Current State: 50:[96, 18, 44, 19], Operations: [] Exploring Operation: 44+19=63, Resulting Numbers: [96, 18, 63] Generated Node #0,5: 50:[96, 18, 63] Operation: 44+19=63 Moving to Node #0,5 Current State: 50:[96, 18, 63], Operations: ['44+19=63'] Exploring Operation: 96-18=78, Resulting Numbers: [63, 78] Generated Node #0,5,0: 50:[63, 78] Operation: 96-18=78 Moving to Node #0,5,0 Current State: 50:[63, 78], Operations: ['44+19=63', '96-18=78'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,5 Current State: 50:[96, 18, 63], Operations: ['44+19=63'] Exploring Operation: 96-63=33, Resulting Numbers: [18, 33] Generated Node #0,5,1: 50:[18, 33] Operation: 96-63=33 Moving to Node #0,5,1 Current State: 50:[18, 33], Operations: ['44+19=63', '96-63=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,5,1 Current State: 50:[18, 33], Operations: ['44+19=63', '96-63=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,5 Current State: 50:[96, 18, 63], Operations: ['44+19=63'] Exploring Operation: 63-18=45, Resulting Numbers: [96, 45] Generated Node #0,5,2: 50:[96, 45] Operation: 63-18=45 Moving to Node #0,5,2 Current State: 50:[96, 45], Operations: ['44+19=63', '63-18=45'] Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,5 Current State: 50:[96, 18, 63], Operations: ['44+19=63'] Exploring Operation: 96+18=114, Resulting Numbers: [63, 114] Generated Node #0,5,3: 50:[63, 114] Operation: 96+18=114 Moving to Node #0,5,3 Current State: 50:[63, 114], Operations: ['44+19=63', '96+18=114'] Exploring Operation: 114-63=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,5 Current State: 50:[96, 18, 63], Operations: ['44+19=63'] Exploring Operation: 18+63=81, Resulting Numbers: [96, 81] Generated Node #0,5,4: 50:[96, 81] Operation: 18+63=81 Moving to Node #0,5,4 Current State: 50:[96, 81], Operations: ['44+19=63', '18+63=81'] Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0 Current State: 50:[96, 18, 44, 19], Operations: [] Exploring Operation: 96+18=114, Resulting Numbers: [44, 19, 114] Generated Node #0,6: 50:[44, 19, 114] Operation: 96+18=114 Moving to Node #0,6 Current State: 50:[44, 19, 114], Operations: ['96+18=114'] Exploring Operation: 114/19=6, Resulting Numbers: [44, 6] Generated Node #0,6,0: 50:[44, 6] Operation: 114/19=6 Moving to Node #0,6,0 Current State: 50:[44, 6], Operations: ['96+18=114', '114/19=6'] Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.926215
dfs
Current State: 50:[96, 18, 44, 19], Operations: [] Exploring Operation: 96+18=114, Resulting Numbers: [44, 19, 114] Generated Node #2: [44, 19, 114] from Operation: 96+18=114 Current State: 50:[44, 19, 114], Operations: ['96+18=114'] Exploring Operation: 114/19=6, Resulting Numbers: [44, 6] Generated Node #3: [44, 6] from Operation: 114/19=6 Current State: 50:[44, 6], Operations: ['96+18=114', '114/19=6'] Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
sum_heuristic
[ { "content": "Make 50 with the numbers [96, 18, 44, 19] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 50:[96, 18, 44, 19], Operations: []\nExploring Operation: 96-18=78, Resulting Numbers: [44, 19, 78]\nGenerated Node #0,0: 50:[44, 19, 78] Operation: 96-18=78\nMoving to Node #0,0\nCurrent State: 50:[44, 19, 78], Operations: ['96-18=78']\nExploring Operation: 78-19=59, Resulting Numbers: [44, 59]\nGenerated Node #0,0,0: 50:[44, 59] Operation: 78-19=59\nMoving to Node #0,0,0\nCurrent State: 50:[44, 59], Operations: ['96-18=78', '78-19=59']\nExploring Operation: 59-44=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 50:[44, 19, 78], Operations: ['96-18=78']\nExploring Operation: 44+19=63, Resulting Numbers: [78, 63]\nGenerated Node #0,0,1: 50:[78, 63] Operation: 44+19=63\nMoving to Node #0,0,1\nCurrent State: 50:[78, 63], Operations: ['96-18=78', '44+19=63']\nExploring Operation: 78-63=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 50:[44, 19, 78], Operations: ['96-18=78']\nExploring Operation: 78-44=34, Resulting Numbers: [19, 34]\nGenerated Node #0,0,2: 50:[19, 34] Operation: 78-44=34\nMoving to Node #0,0,2\nCurrent State: 50:[19, 34], Operations: ['96-18=78', '78-44=34']\nExploring Operation: 19+34=53, Resulting Numbers: [53]\n53,50 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 50:[19, 34], Operations: ['96-18=78', '78-44=34']\nExploring Operation: 34-19=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 50:[44, 19, 78], Operations: ['96-18=78']\nExploring Operation: 44-19=25, Resulting Numbers: [78, 25]\nGenerated Node #0,0,3: 50:[78, 25] Operation: 44-19=25\nMoving to Node #0,0,3\nCurrent State: 50:[78, 25], Operations: ['96-18=78', '44-19=25']\nExploring Operation: 78-25=53, Resulting Numbers: [53]\n53,50 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 50:[44, 19, 78], Operations: ['96-18=78']\nExploring Operation: 19+78=97, Resulting Numbers: [44, 97]\nGenerated Node #0,0,4: 50:[44, 97] Operation: 19+78=97\nMoving to Node #0,0,4\nCurrent State: 50:[44, 97], Operations: ['96-18=78', '19+78=97']\nExploring Operation: 97-44=53, Resulting Numbers: [53]\n53,50 unequal: No Solution\nMoving to Node #0\nCurrent State: 50:[96, 18, 44, 19], Operations: []\nExploring Operation: 96-44=52, Resulting Numbers: [18, 19, 52]\nGenerated Node #0,1: 50:[18, 19, 52] Operation: 96-44=52\nMoving to Node #0,1\nCurrent State: 50:[18, 19, 52], Operations: ['96-44=52']\nExploring Operation: 18+19=37, Resulting Numbers: [52, 37]\nGenerated Node #0,1,0: 50:[52, 37] Operation: 18+19=37\nMoving to Node #0,1,0\nCurrent State: 50:[52, 37], Operations: ['96-44=52', '18+19=37']\nExploring Operation: 52-37=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 50:[52, 37], Operations: ['96-44=52', '18+19=37']\nExploring Operation: 52+37=89, Resulting Numbers: [89]\n89,50 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 50:[18, 19, 52], Operations: ['96-44=52']\nExploring Operation: 52-18=34, Resulting Numbers: [19, 34]\nGenerated Node #0,1,1: 50:[19, 34] Operation: 52-18=34\nMoving to Node #0,1,1\nCurrent State: 50:[19, 34], Operations: ['96-44=52', '52-18=34']\nExploring Operation: 19+34=53, Resulting Numbers: [53]\n53,50 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 50:[19, 34], Operations: ['96-44=52', '52-18=34']\nExploring Operation: 34-19=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 50:[18, 19, 52], Operations: ['96-44=52']\nExploring Operation: 52-19=33, Resulting Numbers: [18, 33]\nGenerated Node #0,1,2: 50:[18, 33] Operation: 52-19=33\nMoving to Node #0,1,2\nCurrent State: 50:[18, 33], Operations: ['96-44=52', '52-19=33']\nExploring Operation: 18+33=51, Resulting Numbers: [51]\n51,50 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 50:[18, 33], Operations: ['96-44=52', '52-19=33']\nExploring Operation: 33-18=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 50:[18, 19, 52], Operations: ['96-44=52']\nExploring Operation: 19-18=1, Resulting Numbers: [52, 1]\nGenerated Node #0,1,3: 50:[52, 1] Operation: 19-18=1\nMoving to Node #0,1,3\nCurrent State: 50:[52, 1], Operations: ['96-44=52', '19-18=1']\nExploring Operation: 52-1=51, Resulting Numbers: [51]\n51,50 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 50:[52, 1], Operations: ['96-44=52', '19-18=1']\nExploring Operation: 52*1=52, Resulting Numbers: [52]\n52,50 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 50:[52, 1], Operations: ['96-44=52', '19-18=1']\nExploring Operation: 52/1=52, Resulting Numbers: [52]\n52,50 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 50:[52, 1], Operations: ['96-44=52', '19-18=1']\nExploring Operation: 52+1=53, Resulting Numbers: [53]\n53,50 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 50:[18, 19, 52], Operations: ['96-44=52']\nExploring Operation: 18+52=70, Resulting Numbers: [19, 70]\nGenerated Node #0,1,4: 50:[19, 70] Operation: 18+52=70\nMoving to Node #0,1,4\nCurrent State: 50:[19, 70], Operations: ['96-44=52', '18+52=70']\nExploring Operation: 70-19=51, Resulting Numbers: [51]\n51,50 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 50:[19, 70], Operations: ['96-44=52', '18+52=70']\nExploring Operation: 19+70=89, Resulting Numbers: [89]\n89,50 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 50:[18, 19, 52], Operations: ['96-44=52']\nExploring Operation: 19+52=71, Resulting Numbers: [18, 71]\nGenerated Node #0,1,5: 50:[18, 71] Operation: 19+52=71\nMoving to Node #0,1,5\nCurrent State: 50:[18, 71], Operations: ['96-44=52', '19+52=71']\nExploring Operation: 71-18=53, Resulting Numbers: [53]\n53,50 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 50:[18, 71], Operations: ['96-44=52', '19+52=71']\nExploring Operation: 18+71=89, Resulting Numbers: [89]\n89,50 unequal: No Solution\nMoving to Node #0\nCurrent State: 50:[96, 18, 44, 19], Operations: []\nExploring Operation: 96-19=77, Resulting Numbers: [18, 44, 77]\nGenerated Node #0,2: 50:[18, 44, 77] Operation: 96-19=77\nMoving to Node #0,2\nCurrent State: 50:[18, 44, 77], Operations: ['96-19=77']\nExploring Operation: 77-18=59, Resulting Numbers: [44, 59]\nGenerated Node #0,2,0: 50:[44, 59] Operation: 77-18=59\nMoving to Node #0,2,0\nCurrent State: 50:[44, 59], Operations: ['96-19=77', '77-18=59']\nExploring Operation: 59-44=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 50:[18, 44, 77], Operations: ['96-19=77']\nExploring Operation: 18+44=62, Resulting Numbers: [77, 62]\nGenerated Node #0,2,1: 50:[77, 62] Operation: 18+44=62\nMoving to Node #0,2,1\nCurrent State: 50:[77, 62], Operations: ['96-19=77', '18+44=62']\nExploring Operation: 77-62=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 50:[18, 44, 77], Operations: ['96-19=77']\nExploring Operation: 77-44=33, Resulting Numbers: [18, 33]\nGenerated Node #0,2,2: 50:[18, 33] Operation: 77-44=33\nMoving to Node #0,2,2\nCurrent State: 50:[18, 33], Operations: ['96-19=77', '77-44=33']\nExploring Operation: 18+33=51, Resulting Numbers: [51]\n51,50 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 50:[18, 33], Operations: ['96-19=77', '77-44=33']\nExploring Operation: 33-18=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 50:[18, 44, 77], Operations: ['96-19=77']\nExploring Operation: 44-18=26, Resulting Numbers: [77, 26]\nGenerated Node #0,2,3: 50:[77, 26] Operation: 44-18=26\nMoving to Node #0,2,3\nCurrent State: 50:[77, 26], Operations: ['96-19=77', '44-18=26']\nExploring Operation: 77-26=51, Resulting Numbers: [51]\n51,50 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 50:[18, 44, 77], Operations: ['96-19=77']\nExploring Operation: 18+77=95, Resulting Numbers: [44, 95]\nGenerated Node #0,2,4: 50:[44, 95] Operation: 18+77=95\nMoving to Node #0,2,4\nCurrent State: 50:[44, 95], Operations: ['96-19=77', '18+77=95']\nExploring Operation: 95-44=51, Resulting Numbers: [51]\n51,50 unequal: No Solution\nMoving to Node #0\nCurrent State: 50:[96, 18, 44, 19], Operations: []\nExploring Operation: 18+19=37, Resulting Numbers: [96, 44, 37]\nGenerated Node #0,3: 50:[96, 44, 37] Operation: 18+19=37\nMoving to Node #0,3\nCurrent State: 50:[96, 44, 37], Operations: ['18+19=37']\nExploring Operation: 96-44=52, Resulting Numbers: [37, 52]\nGenerated Node #0,3,0: 50:[37, 52] Operation: 96-44=52\nMoving to Node #0,3,0\nCurrent State: 50:[37, 52], Operations: ['18+19=37', '96-44=52']\nExploring Operation: 52-37=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 50:[37, 52], Operations: ['18+19=37', '96-44=52']\nExploring Operation: 37+52=89, Resulting Numbers: [89]\n89,50 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 50:[96, 44, 37], Operations: ['18+19=37']\nExploring Operation: 96-37=59, Resulting Numbers: [44, 59]\nGenerated Node #0,3,1: 50:[44, 59] Operation: 96-37=59\nMoving to Node #0,3,1\nCurrent State: 50:[44, 59], Operations: ['18+19=37', '96-37=59']\nExploring Operation: 59-44=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 50:[96, 44, 37], Operations: ['18+19=37']\nExploring Operation: 44+37=81, Resulting Numbers: [96, 81]\nGenerated Node #0,3,2: 50:[96, 81] Operation: 44+37=81\nMoving to Node #0,3,2\nCurrent State: 50:[96, 81], Operations: ['18+19=37', '44+37=81']\nExploring Operation: 96-81=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 50:[96, 44, 37], Operations: ['18+19=37']\nExploring Operation: 96+37=133, Resulting Numbers: [44, 133]\nGenerated Node #0,3,3: 50:[44, 133] Operation: 96+37=133\nMoving to Node #0,3,3\nCurrent State: 50:[44, 133], Operations: ['18+19=37', '96+37=133']\nExploring Operation: 133-44=89, Resulting Numbers: [89]\n89,50 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 50:[96, 44, 37], Operations: ['18+19=37']\nExploring Operation: 44-37=7, Resulting Numbers: [96, 7]\nGenerated Node #0,3,4: 50:[96, 7] Operation: 44-37=7\nMoving to Node #0,3,4\nCurrent State: 50:[96, 7], Operations: ['18+19=37', '44-37=7']\nExploring Operation: 96-7=89, Resulting Numbers: [89]\n89,50 unequal: No Solution\nMoving to Node #0\nCurrent State: 50:[96, 18, 44, 19], Operations: []\nExploring Operation: 18+44=62, Resulting Numbers: [96, 19, 62]\nGenerated Node #0,4: 50:[96, 19, 62] Operation: 18+44=62\nMoving to Node #0,4\nCurrent State: 50:[96, 19, 62], Operations: ['18+44=62']\nExploring Operation: 96-19=77, Resulting Numbers: [62, 77]\nGenerated Node #0,4,0: 50:[62, 77] Operation: 96-19=77\nMoving to Node #0,4,0\nCurrent State: 50:[62, 77], Operations: ['18+44=62', '96-19=77']\nExploring Operation: 77-62=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 50:[96, 19, 62], Operations: ['18+44=62']\nExploring Operation: 96-62=34, Resulting Numbers: [19, 34]\nGenerated Node #0,4,1: 50:[19, 34] Operation: 96-62=34\nMoving to Node #0,4,1\nCurrent State: 50:[19, 34], Operations: ['18+44=62', '96-62=34']\nExploring Operation: 19+34=53, Resulting Numbers: [53]\n53,50 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 50:[19, 34], Operations: ['18+44=62', '96-62=34']\nExploring Operation: 34-19=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 50:[96, 19, 62], Operations: ['18+44=62']\nExploring Operation: 62-19=43, Resulting Numbers: [96, 43]\nGenerated Node #0,4,2: 50:[96, 43] Operation: 62-19=43\nMoving to Node #0,4,2\nCurrent State: 50:[96, 43], Operations: ['18+44=62', '62-19=43']\nExploring Operation: 96-43=53, Resulting Numbers: [53]\n53,50 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 50:[96, 19, 62], Operations: ['18+44=62']\nExploring Operation: 96+19=115, Resulting Numbers: [62, 115]\nGenerated Node #0,4,3: 50:[62, 115] Operation: 96+19=115\nMoving to Node #0,4,3\nCurrent State: 50:[62, 115], Operations: ['18+44=62', '96+19=115']\nExploring Operation: 115-62=53, Resulting Numbers: [53]\n53,50 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 50:[96, 19, 62], Operations: ['18+44=62']\nExploring Operation: 19+62=81, Resulting Numbers: [96, 81]\nGenerated Node #0,4,4: 50:[96, 81] Operation: 19+62=81\nMoving to Node #0,4,4\nCurrent State: 50:[96, 81], Operations: ['18+44=62', '19+62=81']\nExploring Operation: 96-81=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0\nCurrent State: 50:[96, 18, 44, 19], Operations: []\nExploring Operation: 44+19=63, Resulting Numbers: [96, 18, 63]\nGenerated Node #0,5: 50:[96, 18, 63] Operation: 44+19=63\nMoving to Node #0,5\nCurrent State: 50:[96, 18, 63], Operations: ['44+19=63']\nExploring Operation: 96-18=78, Resulting Numbers: [63, 78]\nGenerated Node #0,5,0: 50:[63, 78] Operation: 96-18=78\nMoving to Node #0,5,0\nCurrent State: 50:[63, 78], Operations: ['44+19=63', '96-18=78']\nExploring Operation: 78-63=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 50:[96, 18, 63], Operations: ['44+19=63']\nExploring Operation: 96-63=33, Resulting Numbers: [18, 33]\nGenerated Node #0,5,1: 50:[18, 33] Operation: 96-63=33\nMoving to Node #0,5,1\nCurrent State: 50:[18, 33], Operations: ['44+19=63', '96-63=33']\nExploring Operation: 18+33=51, Resulting Numbers: [51]\n51,50 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 50:[18, 33], Operations: ['44+19=63', '96-63=33']\nExploring Operation: 33-18=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 50:[96, 18, 63], Operations: ['44+19=63']\nExploring Operation: 63-18=45, Resulting Numbers: [96, 45]\nGenerated Node #0,5,2: 50:[96, 45] Operation: 63-18=45\nMoving to Node #0,5,2\nCurrent State: 50:[96, 45], Operations: ['44+19=63', '63-18=45']\nExploring Operation: 96-45=51, Resulting Numbers: [51]\n51,50 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 50:[96, 18, 63], Operations: ['44+19=63']\nExploring Operation: 96+18=114, Resulting Numbers: [63, 114]\nGenerated Node #0,5,3: 50:[63, 114] Operation: 96+18=114\nMoving to Node #0,5,3\nCurrent State: 50:[63, 114], Operations: ['44+19=63', '96+18=114']\nExploring Operation: 114-63=51, Resulting Numbers: [51]\n51,50 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 50:[96, 18, 63], Operations: ['44+19=63']\nExploring Operation: 18+63=81, Resulting Numbers: [96, 81]\nGenerated Node #0,5,4: 50:[96, 81] Operation: 18+63=81\nMoving to Node #0,5,4\nCurrent State: 50:[96, 81], Operations: ['44+19=63', '18+63=81']\nExploring Operation: 96-81=15, Resulting Numbers: [15]\n15,50 unequal: No Solution\nMoving to Node #0\nCurrent State: 50:[96, 18, 44, 19], Operations: []\nExploring Operation: 96+18=114, Resulting Numbers: [44, 19, 114]\nGenerated Node #0,6: 50:[44, 19, 114] Operation: 96+18=114\nMoving to Node #0,6\nCurrent State: 50:[44, 19, 114], Operations: ['96+18=114']\nExploring Operation: 114/19=6, Resulting Numbers: [44, 6]\nGenerated Node #0,6,0: 50:[44, 6] Operation: 114/19=6\nMoving to Node #0,6,0\nCurrent State: 50:[44, 6], Operations: ['96+18=114', '114/19=6']\nExploring Operation: 44+6=50, Resulting Numbers: [50]\n50,50 equal: Goal Reached\n", "role": "assistant" } ]
[ 40, 15, 2, 52 ]
31
[ "40+52=92", "92/2=46", "46-15=31" ]
Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [40, 15, 26] Generated Node #0,0: 31:[40, 15, 26] Operation: 52/2=26 Moving to Node #0,0 Current State: 31:[40, 15, 26], Operations: ['52/2=26'] Exploring Operation: 40-15=25, Resulting Numbers: [26, 25] Generated Node #0,0,0: 31:[26, 25] Operation: 40-15=25 Moving to Node #0,0,0 Current State: 31:[26, 25], Operations: ['52/2=26', '40-15=25'] Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[26, 25], Operations: ['52/2=26', '40-15=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[40, 15, 26], Operations: ['52/2=26'] Exploring Operation: 15+26=41, Resulting Numbers: [40, 41] Generated Node #0,0,1: 31:[40, 41] Operation: 15+26=41 Moving to Node #0,0,1 Current State: 31:[40, 41], Operations: ['52/2=26', '15+26=41'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[40, 15, 26], Operations: ['52/2=26'] Exploring Operation: 40+15=55, Resulting Numbers: [26, 55] Generated Node #0,0,2: 31:[26, 55] Operation: 40+15=55 Moving to Node #0,0,2 Current State: 31:[26, 55], Operations: ['52/2=26', '40+15=55'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[40, 15, 26], Operations: ['52/2=26'] Exploring Operation: 26-15=11, Resulting Numbers: [40, 11] Generated Node #0,0,3: 31:[40, 11] Operation: 26-15=11 Moving to Node #0,0,3 Current State: 31:[40, 11], Operations: ['52/2=26', '26-15=11'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[40, 11], Operations: ['52/2=26', '26-15=11'] Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[40, 15, 26], Operations: ['52/2=26'] Exploring Operation: 40-26=14, Resulting Numbers: [15, 14] Generated Node #0,0,4: 31:[15, 14] Operation: 40-26=14 Moving to Node #0,0,4 Current State: 31:[15, 14], Operations: ['52/2=26', '40-26=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[15, 14], Operations: ['52/2=26', '40-26=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[40, 15, 26], Operations: ['52/2=26'] Exploring Operation: 40+26=66, Resulting Numbers: [15, 66] Generated Node #0,0,5: 31:[15, 66] Operation: 40+26=66 Moving to Node #0,0,5 Current State: 31:[15, 66], Operations: ['52/2=26', '40+26=66'] Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 15*2=30, Resulting Numbers: [40, 52, 30] Generated Node #0,1: 31:[40, 52, 30] Operation: 15*2=30 Moving to Node #0,1 Current State: 31:[40, 52, 30], Operations: ['15*2=30'] Exploring Operation: 52-30=22, Resulting Numbers: [40, 22] Generated Node #0,1,0: 31:[40, 22] Operation: 52-30=22 Moving to Node #0,1,0 Current State: 31:[40, 22], Operations: ['15*2=30', '52-30=22'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[40, 22], Operations: ['15*2=30', '52-30=22'] Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,31 unequal: No Solution Moving to Node #0,1 Current State: 31:[40, 52, 30], Operations: ['15*2=30'] Exploring Operation: 52-40=12, Resulting Numbers: [30, 12] Generated Node #0,1,1: 31:[30, 12] Operation: 52-40=12 Moving to Node #0,1,1 Current State: 31:[30, 12], Operations: ['15*2=30', '52-40=12'] Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[30, 12], Operations: ['15*2=30', '52-40=12'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,1 Current State: 31:[40, 52, 30], Operations: ['15*2=30'] Exploring Operation: 40-30=10, Resulting Numbers: [52, 10] Generated Node #0,1,2: 31:[52, 10] Operation: 40-30=10 Moving to Node #0,1,2 Current State: 31:[52, 10], Operations: ['15*2=30', '40-30=10'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[52, 10], Operations: ['15*2=30', '40-30=10'] Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,31 unequal: No Solution Moving to Node #0,1 Current State: 31:[40, 52, 30], Operations: ['15*2=30'] Exploring Operation: 40+30=70, Resulting Numbers: [52, 70] Generated Node #0,1,3: 31:[52, 70] Operation: 40+30=70 Moving to Node #0,1,3 Current State: 31:[52, 70], Operations: ['15*2=30', '40+30=70'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,1 Current State: 31:[40, 52, 30], Operations: ['15*2=30'] Exploring Operation: 52+30=82, Resulting Numbers: [40, 82] Generated Node #0,1,4: 31:[40, 82] Operation: 52+30=82 Moving to Node #0,1,4 Current State: 31:[40, 82], Operations: ['15*2=30', '52+30=82'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,31 unequal: No Solution Moving to Node #0,1 Current State: 31:[40, 52, 30], Operations: ['15*2=30'] Exploring Operation: 40+52=92, Resulting Numbers: [30, 92] Generated Node #0,1,5: 31:[30, 92] Operation: 40+52=92 Moving to Node #0,1,5 Current State: 31:[30, 92], Operations: ['15*2=30', '40+52=92'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 40-2=38, Resulting Numbers: [15, 52, 38] Generated Node #0,2: 31:[15, 52, 38] Operation: 40-2=38 Moving to Node #0,2 Current State: 31:[15, 52, 38], Operations: ['40-2=38'] Exploring Operation: 52-15=37, Resulting Numbers: [38, 37] Generated Node #0,2,0: 31:[38, 37] Operation: 52-15=37 Moving to Node #0,2,0 Current State: 31:[38, 37], Operations: ['40-2=38', '52-15=37'] Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,2 Current State: 31:[15, 52, 38], Operations: ['40-2=38'] Exploring Operation: 38-15=23, Resulting Numbers: [52, 23] Generated Node #0,2,1: 31:[52, 23] Operation: 38-15=23 Moving to Node #0,2,1 Current State: 31:[52, 23], Operations: ['40-2=38', '38-15=23'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,2 Current State: 31:[15, 52, 38], Operations: ['40-2=38'] Exploring Operation: 52-38=14, Resulting Numbers: [15, 14] Generated Node #0,2,2: 31:[15, 14] Operation: 52-38=14 Moving to Node #0,2,2 Current State: 31:[15, 14], Operations: ['40-2=38', '52-38=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[15, 14], Operations: ['40-2=38', '52-38=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,2 Current State: 31:[15, 52, 38], Operations: ['40-2=38'] Exploring Operation: 15+52=67, Resulting Numbers: [38, 67] Generated Node #0,2,3: 31:[38, 67] Operation: 15+52=67 Moving to Node #0,2,3 Current State: 31:[38, 67], Operations: ['40-2=38', '15+52=67'] Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,2 Current State: 31:[15, 52, 38], Operations: ['40-2=38'] Exploring Operation: 15+38=53, Resulting Numbers: [52, 53] Generated Node #0,2,4: 31:[52, 53] Operation: 15+38=53 Moving to Node #0,2,4 Current State: 31:[52, 53], Operations: ['40-2=38', '15+38=53'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 15+2=17, Resulting Numbers: [40, 52, 17] Generated Node #0,3: 31:[40, 52, 17] Operation: 15+2=17 Moving to Node #0,3 Current State: 31:[40, 52, 17], Operations: ['15+2=17'] Exploring Operation: 52-17=35, Resulting Numbers: [40, 35] Generated Node #0,3,0: 31:[40, 35] Operation: 52-17=35 Moving to Node #0,3,0 Current State: 31:[40, 35], Operations: ['15+2=17', '52-17=35'] Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,3 Current State: 31:[40, 52, 17], Operations: ['15+2=17'] Exploring Operation: 40-17=23, Resulting Numbers: [52, 23] Generated Node #0,3,1: 31:[52, 23] Operation: 40-17=23 Moving to Node #0,3,1 Current State: 31:[52, 23], Operations: ['15+2=17', '40-17=23'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,3 Current State: 31:[40, 52, 17], Operations: ['15+2=17'] Exploring Operation: 52-40=12, Resulting Numbers: [17, 12] Generated Node #0,3,2: 31:[17, 12] Operation: 52-40=12 Moving to Node #0,3,2 Current State: 31:[17, 12], Operations: ['15+2=17', '52-40=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[17, 12], Operations: ['15+2=17', '52-40=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,3 Current State: 31:[40, 52, 17], Operations: ['15+2=17'] Exploring Operation: 40+17=57, Resulting Numbers: [52, 57] Generated Node #0,3,3: 31:[52, 57] Operation: 40+17=57 Moving to Node #0,3,3 Current State: 31:[52, 57], Operations: ['15+2=17', '40+17=57'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,3 Current State: 31:[40, 52, 17], Operations: ['15+2=17'] Exploring Operation: 52+17=69, Resulting Numbers: [40, 69] Generated Node #0,3,4: 31:[40, 69] Operation: 52+17=69 Moving to Node #0,3,4 Current State: 31:[40, 69], Operations: ['15+2=17', '52+17=69'] Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 52-15=37, Resulting Numbers: [40, 2, 37] Generated Node #0,4: 31:[40, 2, 37] Operation: 52-15=37 Moving to Node #0,4 Current State: 31:[40, 2, 37], Operations: ['52-15=37'] Exploring Operation: 40-2=38, Resulting Numbers: [37, 38] Generated Node #0,4,0: 31:[37, 38] Operation: 40-2=38 Moving to Node #0,4,0 Current State: 31:[37, 38], Operations: ['52-15=37', '40-2=38'] Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,4 Current State: 31:[40, 2, 37], Operations: ['52-15=37'] Exploring Operation: 37-2=35, Resulting Numbers: [40, 35] Generated Node #0,4,1: 31:[40, 35] Operation: 37-2=35 Moving to Node #0,4,1 Current State: 31:[40, 35], Operations: ['52-15=37', '37-2=35'] Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,4 Current State: 31:[40, 2, 37], Operations: ['52-15=37'] Exploring Operation: 40+2=42, Resulting Numbers: [37, 42] Generated Node #0,4,2: 31:[37, 42] Operation: 40+2=42 Moving to Node #0,4,2 Current State: 31:[37, 42], Operations: ['52-15=37', '40+2=42'] Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,4 Current State: 31:[40, 2, 37], Operations: ['52-15=37'] Exploring Operation: 40/2=20, Resulting Numbers: [37, 20] Generated Node #0,4,3: 31:[37, 20] Operation: 40/2=20 Moving to Node #0,4,3 Current State: 31:[37, 20], Operations: ['52-15=37', '40/2=20'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,31 unequal: No Solution Moving to Node #0,4,3 Current State: 31:[37, 20], Operations: ['52-15=37', '40/2=20'] Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,31 unequal: No Solution Moving to Node #0,4 Current State: 31:[40, 2, 37], Operations: ['52-15=37'] Exploring Operation: 2+37=39, Resulting Numbers: [40, 39] Generated Node #0,4,4: 31:[40, 39] Operation: 2+37=39 Moving to Node #0,4,4 Current State: 31:[40, 39], Operations: ['52-15=37', '2+37=39'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,4 Current State: 31:[40, 2, 37], Operations: ['52-15=37'] Exploring Operation: 2*37=74, Resulting Numbers: [40, 74] Generated Node #0,4,5: 31:[40, 74] Operation: 2*37=74 Moving to Node #0,4,5 Current State: 31:[40, 74], Operations: ['52-15=37', '2*37=74'] Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,31 unequal: No Solution Moving to Node #0,4 Current State: 31:[40, 2, 37], Operations: ['52-15=37'] Exploring Operation: 40*2=80, Resulting Numbers: [37, 80] Generated Node #0,4,6: 31:[37, 80] Operation: 40*2=80 Moving to Node #0,4,6 Current State: 31:[37, 80], Operations: ['52-15=37', '40*2=80'] Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,31 unequal: No Solution Moving to Node #0,4 Current State: 31:[40, 2, 37], Operations: ['52-15=37'] Exploring Operation: 40-37=3, Resulting Numbers: [2, 3] Generated Node #0,4,7: 31:[2, 3] Operation: 40-37=3 Moving to Node #0,4,7 Current State: 31:[2, 3], Operations: ['52-15=37', '40-37=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,31 unequal: No Solution Moving to Node #0,4,7 Current State: 31:[2, 3], Operations: ['52-15=37', '40-37=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,4,7 Current State: 31:[2, 3], Operations: ['52-15=37', '40-37=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 52-2=50, Resulting Numbers: [40, 15, 50] Generated Node #0,5: 31:[40, 15, 50] Operation: 52-2=50 Moving to Node #0,5 Current State: 31:[40, 15, 50], Operations: ['52-2=50'] Exploring Operation: 50-15=35, Resulting Numbers: [40, 35] Generated Node #0,5,0: 31:[40, 35] Operation: 50-15=35 Moving to Node #0,5,0 Current State: 31:[40, 35], Operations: ['52-2=50', '50-15=35'] Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,5 Current State: 31:[40, 15, 50], Operations: ['52-2=50'] Exploring Operation: 40-15=25, Resulting Numbers: [50, 25] Generated Node #0,5,1: 31:[50, 25] Operation: 40-15=25 Moving to Node #0,5,1 Current State: 31:[50, 25], Operations: ['52-2=50', '40-15=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,5,1 Current State: 31:[50, 25], Operations: ['52-2=50', '40-15=25'] Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,5 Current State: 31:[40, 15, 50], Operations: ['52-2=50'] Exploring Operation: 50-40=10, Resulting Numbers: [15, 10] Generated Node #0,5,2: 31:[15, 10] Operation: 50-40=10 Moving to Node #0,5,2 Current State: 31:[15, 10], Operations: ['52-2=50', '50-40=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,5,2 Current State: 31:[15, 10], Operations: ['52-2=50', '50-40=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,5 Current State: 31:[40, 15, 50], Operations: ['52-2=50'] Exploring Operation: 40+15=55, Resulting Numbers: [50, 55] Generated Node #0,5,3: 31:[50, 55] Operation: 40+15=55 Moving to Node #0,5,3 Current State: 31:[50, 55], Operations: ['52-2=50', '40+15=55'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,5 Current State: 31:[40, 15, 50], Operations: ['52-2=50'] Exploring Operation: 15+50=65, Resulting Numbers: [40, 65] Generated Node #0,5,4: 31:[40, 65] Operation: 15+50=65 Moving to Node #0,5,4 Current State: 31:[40, 65], Operations: ['52-2=50', '15+50=65'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 40+2=42, Resulting Numbers: [15, 52, 42] Generated Node #0,6: 31:[15, 52, 42] Operation: 40+2=42 Moving to Node #0,6 Current State: 31:[15, 52, 42], Operations: ['40+2=42'] Exploring Operation: 52-15=37, Resulting Numbers: [42, 37] Generated Node #0,6,0: 31:[42, 37] Operation: 52-15=37 Moving to Node #0,6,0 Current State: 31:[42, 37], Operations: ['40+2=42', '52-15=37'] Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,6 Current State: 31:[15, 52, 42], Operations: ['40+2=42'] Exploring Operation: 42-15=27, Resulting Numbers: [52, 27] Generated Node #0,6,1: 31:[52, 27] Operation: 42-15=27 Moving to Node #0,6,1 Current State: 31:[52, 27], Operations: ['40+2=42', '42-15=27'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,6 Current State: 31:[15, 52, 42], Operations: ['40+2=42'] Exploring Operation: 52-42=10, Resulting Numbers: [15, 10] Generated Node #0,6,2: 31:[15, 10] Operation: 52-42=10 Moving to Node #0,6,2 Current State: 31:[15, 10], Operations: ['40+2=42', '52-42=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,6,2 Current State: 31:[15, 10], Operations: ['40+2=42', '52-42=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,6 Current State: 31:[15, 52, 42], Operations: ['40+2=42'] Exploring Operation: 15+52=67, Resulting Numbers: [42, 67] Generated Node #0,6,3: 31:[42, 67] Operation: 15+52=67 Moving to Node #0,6,3 Current State: 31:[42, 67], Operations: ['40+2=42', '15+52=67'] Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,6 Current State: 31:[15, 52, 42], Operations: ['40+2=42'] Exploring Operation: 15+42=57, Resulting Numbers: [52, 57] Generated Node #0,6,4: 31:[52, 57] Operation: 15+42=57 Moving to Node #0,6,4 Current State: 31:[52, 57], Operations: ['40+2=42', '15+42=57'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 40/2=20, Resulting Numbers: [15, 52, 20] Generated Node #0,7: 31:[15, 52, 20] Operation: 40/2=20 Moving to Node #0,7 Current State: 31:[15, 52, 20], Operations: ['40/2=20'] Exploring Operation: 52-15=37, Resulting Numbers: [20, 37] Generated Node #0,7,0: 31:[20, 37] Operation: 52-15=37 Moving to Node #0,7,0 Current State: 31:[20, 37], Operations: ['40/2=20', '52-15=37'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,31 unequal: No Solution Moving to Node #0,7,0 Current State: 31:[20, 37], Operations: ['40/2=20', '52-15=37'] Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,31 unequal: No Solution Moving to Node #0,7 Current State: 31:[15, 52, 20], Operations: ['40/2=20'] Exploring Operation: 52-20=32, Resulting Numbers: [15, 32] Generated Node #0,7,1: 31:[15, 32] Operation: 52-20=32 Moving to Node #0,7,1 Current State: 31:[15, 32], Operations: ['40/2=20', '52-20=32'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,31 unequal: No Solution Moving to Node #0,7,1 Current State: 31:[15, 32], Operations: ['40/2=20', '52-20=32'] Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,31 unequal: No Solution Moving to Node #0,7 Current State: 31:[15, 52, 20], Operations: ['40/2=20'] Exploring Operation: 15+20=35, Resulting Numbers: [52, 35] Generated Node #0,7,2: 31:[52, 35] Operation: 15+20=35 Moving to Node #0,7,2 Current State: 31:[52, 35], Operations: ['40/2=20', '15+20=35'] Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,31 unequal: No Solution Moving to Node #0,7 Current State: 31:[15, 52, 20], Operations: ['40/2=20'] Exploring Operation: 15+52=67, Resulting Numbers: [20, 67] Generated Node #0,7,3: 31:[20, 67] Operation: 15+52=67 Moving to Node #0,7,3 Current State: 31:[20, 67], Operations: ['40/2=20', '15+52=67'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,31 unequal: No Solution Moving to Node #0,7 Current State: 31:[15, 52, 20], Operations: ['40/2=20'] Exploring Operation: 20-15=5, Resulting Numbers: [52, 5] Generated Node #0,7,4: 31:[52, 5] Operation: 20-15=5 Moving to Node #0,7,4 Current State: 31:[52, 5], Operations: ['40/2=20', '20-15=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,31 unequal: No Solution Moving to Node #0,7,4 Current State: 31:[52, 5], Operations: ['40/2=20', '20-15=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,31 unequal: No Solution Moving to Node #0,7 Current State: 31:[15, 52, 20], Operations: ['40/2=20'] Exploring Operation: 52+20=72, Resulting Numbers: [15, 72] Generated Node #0,7,5: 31:[15, 72] Operation: 52+20=72 Moving to Node #0,7,5 Current State: 31:[15, 72], Operations: ['40/2=20', '52+20=72'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 15-2=13, Resulting Numbers: [40, 52, 13] Generated Node #0,8: 31:[40, 52, 13] Operation: 15-2=13 Moving to Node #0,8 Current State: 31:[40, 52, 13], Operations: ['15-2=13'] Exploring Operation: 52-13=39, Resulting Numbers: [40, 39] Generated Node #0,8,0: 31:[40, 39] Operation: 52-13=39 Moving to Node #0,8,0 Current State: 31:[40, 39], Operations: ['15-2=13', '52-13=39'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,8 Current State: 31:[40, 52, 13], Operations: ['15-2=13'] Exploring Operation: 40-13=27, Resulting Numbers: [52, 27] Generated Node #0,8,1: 31:[52, 27] Operation: 40-13=27 Moving to Node #0,8,1 Current State: 31:[52, 27], Operations: ['15-2=13', '40-13=27'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,8 Current State: 31:[40, 52, 13], Operations: ['15-2=13'] Exploring Operation: 52/13=4, Resulting Numbers: [40, 4] Generated Node #0,8,2: 31:[40, 4] Operation: 52/13=4 Moving to Node #0,8,2 Current State: 31:[40, 4], Operations: ['15-2=13', '52/13=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,8,2 Current State: 31:[40, 4], Operations: ['15-2=13', '52/13=4'] Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,8,2 Current State: 31:[40, 4], Operations: ['15-2=13', '52/13=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,31 unequal: No Solution Moving to Node #0,8 Current State: 31:[40, 52, 13], Operations: ['15-2=13'] Exploring Operation: 52-40=12, Resulting Numbers: [13, 12] Generated Node #0,8,3: 31:[13, 12] Operation: 52-40=12 Moving to Node #0,8,3 Current State: 31:[13, 12], Operations: ['15-2=13', '52-40=12'] Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,8,3 Current State: 31:[13, 12], Operations: ['15-2=13', '52-40=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,8 Current State: 31:[40, 52, 13], Operations: ['15-2=13'] Exploring Operation: 40+13=53, Resulting Numbers: [52, 53] Generated Node #0,8,4: 31:[52, 53] Operation: 40+13=53 Moving to Node #0,8,4 Current State: 31:[52, 53], Operations: ['15-2=13', '40+13=53'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,8 Current State: 31:[40, 52, 13], Operations: ['15-2=13'] Exploring Operation: 52+13=65, Resulting Numbers: [40, 65] Generated Node #0,8,5: 31:[40, 65] Operation: 52+13=65 Moving to Node #0,8,5 Current State: 31:[40, 65], Operations: ['15-2=13', '52+13=65'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 2+52=54, Resulting Numbers: [40, 15, 54] Generated Node #0,9: 31:[40, 15, 54] Operation: 2+52=54 Moving to Node #0,9 Current State: 31:[40, 15, 54], Operations: ['2+52=54'] Exploring Operation: 54-15=39, Resulting Numbers: [40, 39] Generated Node #0,9,0: 31:[40, 39] Operation: 54-15=39 Moving to Node #0,9,0 Current State: 31:[40, 39], Operations: ['2+52=54', '54-15=39'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,9 Current State: 31:[40, 15, 54], Operations: ['2+52=54'] Exploring Operation: 40-15=25, Resulting Numbers: [54, 25] Generated Node #0,9,1: 31:[54, 25] Operation: 40-15=25 Moving to Node #0,9,1 Current State: 31:[54, 25], Operations: ['2+52=54', '40-15=25'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,9 Current State: 31:[40, 15, 54], Operations: ['2+52=54'] Exploring Operation: 54-40=14, Resulting Numbers: [15, 14] Generated Node #0,9,2: 31:[15, 14] Operation: 54-40=14 Moving to Node #0,9,2 Current State: 31:[15, 14], Operations: ['2+52=54', '54-40=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,9,2 Current State: 31:[15, 14], Operations: ['2+52=54', '54-40=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,9 Current State: 31:[40, 15, 54], Operations: ['2+52=54'] Exploring Operation: 40+15=55, Resulting Numbers: [54, 55] Generated Node #0,9,3: 31:[54, 55] Operation: 40+15=55 Moving to Node #0,9,3 Current State: 31:[54, 55], Operations: ['2+52=54', '40+15=55'] Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,9 Current State: 31:[40, 15, 54], Operations: ['2+52=54'] Exploring Operation: 15+54=69, Resulting Numbers: [40, 69] Generated Node #0,9,4: 31:[40, 69] Operation: 15+54=69 Moving to Node #0,9,4 Current State: 31:[40, 69], Operations: ['2+52=54', '15+54=69'] Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [2, 52, 25] Generated Node #0,10: 31:[2, 52, 25] Operation: 40-15=25 Moving to Node #0,10 Current State: 31:[2, 52, 25], Operations: ['40-15=25'] Exploring Operation: 52/2=26, Resulting Numbers: [25, 26] Generated Node #0,10,0: 31:[25, 26] Operation: 52/2=26 Moving to Node #0,10,0 Current State: 31:[25, 26], Operations: ['40-15=25', '52/2=26'] Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,31 unequal: No Solution Moving to Node #0,10,0 Current State: 31:[25, 26], Operations: ['40-15=25', '52/2=26'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,10 Current State: 31:[2, 52, 25], Operations: ['40-15=25'] Exploring Operation: 52-2=50, Resulting Numbers: [25, 50] Generated Node #0,10,1: 31:[25, 50] Operation: 52-2=50 Moving to Node #0,10,1 Current State: 31:[25, 50], Operations: ['40-15=25', '52-2=50'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,10,1 Current State: 31:[25, 50], Operations: ['40-15=25', '52-2=50'] Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,10 Current State: 31:[2, 52, 25], Operations: ['40-15=25'] Exploring Operation: 2+25=27, Resulting Numbers: [52, 27] Generated Node #0,10,2: 31:[52, 27] Operation: 2+25=27 Moving to Node #0,10,2 Current State: 31:[52, 27], Operations: ['40-15=25', '2+25=27'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,10 Current State: 31:[2, 52, 25], Operations: ['40-15=25'] Exploring Operation: 2+52=54, Resulting Numbers: [25, 54] Generated Node #0,10,3: 31:[25, 54] Operation: 2+52=54 Moving to Node #0,10,3 Current State: 31:[25, 54], Operations: ['40-15=25', '2+52=54'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,10 Current State: 31:[2, 52, 25], Operations: ['40-15=25'] Exploring Operation: 25-2=23, Resulting Numbers: [52, 23] Generated Node #0,10,4: 31:[52, 23] Operation: 25-2=23 Moving to Node #0,10,4 Current State: 31:[52, 23], Operations: ['40-15=25', '25-2=23'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,10 Current State: 31:[2, 52, 25], Operations: ['40-15=25'] Exploring Operation: 52-25=27, Resulting Numbers: [2, 27] Generated Node #0,10,5: 31:[2, 27] Operation: 52-25=27 Moving to Node #0,10,5 Current State: 31:[2, 27], Operations: ['40-15=25', '52-25=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,10,5 Current State: 31:[2, 27], Operations: ['40-15=25', '52-25=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,10,5 Current State: 31:[2, 27], Operations: ['40-15=25', '52-25=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,31 unequal: No Solution Moving to Node #0,10 Current State: 31:[2, 52, 25], Operations: ['40-15=25'] Exploring Operation: 2*25=50, Resulting Numbers: [52, 50] Generated Node #0,10,6: 31:[52, 50] Operation: 2*25=50 Moving to Node #0,10,6 Current State: 31:[52, 50], Operations: ['40-15=25', '2*25=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 52-40=12, Resulting Numbers: [15, 2, 12] Generated Node #0,11: 31:[15, 2, 12] Operation: 52-40=12 Moving to Node #0,11 Current State: 31:[15, 2, 12], Operations: ['52-40=12'] Exploring Operation: 15*2=30, Resulting Numbers: [12, 30] Generated Node #0,11,0: 31:[12, 30] Operation: 15*2=30 Moving to Node #0,11,0 Current State: 31:[12, 30], Operations: ['52-40=12', '15*2=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,31 unequal: No Solution Moving to Node #0,11,0 Current State: 31:[12, 30], Operations: ['52-40=12', '15*2=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,11 Current State: 31:[15, 2, 12], Operations: ['52-40=12'] Exploring Operation: 2*12=24, Resulting Numbers: [15, 24] Generated Node #0,11,1: 31:[15, 24] Operation: 2*12=24 Moving to Node #0,11,1 Current State: 31:[15, 24], Operations: ['52-40=12', '2*12=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,31 unequal: No Solution Moving to Node #0,11,1 Current State: 31:[15, 24], Operations: ['52-40=12', '2*12=24'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,31 unequal: No Solution Moving to Node #0,11 Current State: 31:[15, 2, 12], Operations: ['52-40=12'] Exploring Operation: 15+2=17, Resulting Numbers: [12, 17] Generated Node #0,11,2: 31:[12, 17] Operation: 15+2=17 Moving to Node #0,11,2 Current State: 31:[12, 17], Operations: ['52-40=12', '15+2=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,11,2 Current State: 31:[12, 17], Operations: ['52-40=12', '15+2=17'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,11 Current State: 31:[15, 2, 12], Operations: ['52-40=12'] Exploring Operation: 15+12=27, Resulting Numbers: [2, 27] Generated Node #0,11,3: 31:[2, 27] Operation: 15+12=27 Moving to Node #0,11,3 Current State: 31:[2, 27], Operations: ['52-40=12', '15+12=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,11,3 Current State: 31:[2, 27], Operations: ['52-40=12', '15+12=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,11,3 Current State: 31:[2, 27], Operations: ['52-40=12', '15+12=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,31 unequal: No Solution Moving to Node #0,11 Current State: 31:[15, 2, 12], Operations: ['52-40=12'] Exploring Operation: 2+12=14, Resulting Numbers: [15, 14] Generated Node #0,11,4: 31:[15, 14] Operation: 2+12=14 Moving to Node #0,11,4 Current State: 31:[15, 14], Operations: ['52-40=12', '2+12=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,11,4 Current State: 31:[15, 14], Operations: ['52-40=12', '2+12=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,11 Current State: 31:[15, 2, 12], Operations: ['52-40=12'] Exploring Operation: 15-2=13, Resulting Numbers: [12, 13] Generated Node #0,11,5: 31:[12, 13] Operation: 15-2=13 Moving to Node #0,11,5 Current State: 31:[12, 13], Operations: ['52-40=12', '15-2=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,11,5 Current State: 31:[12, 13], Operations: ['52-40=12', '15-2=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,11 Current State: 31:[15, 2, 12], Operations: ['52-40=12'] Exploring Operation: 12-2=10, Resulting Numbers: [15, 10] Generated Node #0,11,6: 31:[15, 10] Operation: 12-2=10 Moving to Node #0,11,6 Current State: 31:[15, 10], Operations: ['52-40=12', '12-2=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,11,6 Current State: 31:[15, 10], Operations: ['52-40=12', '12-2=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,11 Current State: 31:[15, 2, 12], Operations: ['52-40=12'] Exploring Operation: 12/2=6, Resulting Numbers: [15, 6] Generated Node #0,11,7: 31:[15, 6] Operation: 12/2=6 Moving to Node #0,11,7 Current State: 31:[15, 6], Operations: ['52-40=12', '12/2=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,31 unequal: No Solution Moving to Node #0,11,7 Current State: 31:[15, 6], Operations: ['52-40=12', '12/2=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,31 unequal: No Solution Moving to Node #0,11 Current State: 31:[15, 2, 12], Operations: ['52-40=12'] Exploring Operation: 15-12=3, Resulting Numbers: [2, 3] Generated Node #0,11,8: 31:[2, 3] Operation: 15-12=3 Moving to Node #0,11,8 Current State: 31:[2, 3], Operations: ['52-40=12', '15-12=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,31 unequal: No Solution Moving to Node #0,11,8 Current State: 31:[2, 3], Operations: ['52-40=12', '15-12=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,11,8 Current State: 31:[2, 3], Operations: ['52-40=12', '15-12=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 40+15=55, Resulting Numbers: [2, 52, 55] Generated Node #0,12: 31:[2, 52, 55] Operation: 40+15=55 Moving to Node #0,12 Current State: 31:[2, 52, 55], Operations: ['40+15=55'] Exploring Operation: 52/2=26, Resulting Numbers: [55, 26] Generated Node #0,12,0: 31:[55, 26] Operation: 52/2=26 Moving to Node #0,12,0 Current State: 31:[55, 26], Operations: ['40+15=55', '52/2=26'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,12 Current State: 31:[2, 52, 55], Operations: ['40+15=55'] Exploring Operation: 52-2=50, Resulting Numbers: [55, 50] Generated Node #0,12,1: 31:[55, 50] Operation: 52-2=50 Moving to Node #0,12,1 Current State: 31:[55, 50], Operations: ['40+15=55', '52-2=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,12 Current State: 31:[2, 52, 55], Operations: ['40+15=55'] Exploring Operation: 55-2=53, Resulting Numbers: [52, 53] Generated Node #0,12,2: 31:[52, 53] Operation: 55-2=53 Moving to Node #0,12,2 Current State: 31:[52, 53], Operations: ['40+15=55', '55-2=53'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,12 Current State: 31:[2, 52, 55], Operations: ['40+15=55'] Exploring Operation: 2+52=54, Resulting Numbers: [55, 54] Generated Node #0,12,3: 31:[55, 54] Operation: 2+52=54 Moving to Node #0,12,3 Current State: 31:[55, 54], Operations: ['40+15=55', '2+52=54'] Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,12 Current State: 31:[2, 52, 55], Operations: ['40+15=55'] Exploring Operation: 2+55=57, Resulting Numbers: [52, 57] Generated Node #0,12,4: 31:[52, 57] Operation: 2+55=57 Moving to Node #0,12,4 Current State: 31:[52, 57], Operations: ['40+15=55', '2+55=57'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,12 Current State: 31:[2, 52, 55], Operations: ['40+15=55'] Exploring Operation: 55-52=3, Resulting Numbers: [2, 3] Generated Node #0,12,5: 31:[2, 3] Operation: 55-52=3 Moving to Node #0,12,5 Current State: 31:[2, 3], Operations: ['40+15=55', '55-52=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,31 unequal: No Solution Moving to Node #0,12,5 Current State: 31:[2, 3], Operations: ['40+15=55', '55-52=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,12,5 Current State: 31:[2, 3], Operations: ['40+15=55', '55-52=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 15+52=67, Resulting Numbers: [40, 2, 67] Generated Node #0,13: 31:[40, 2, 67] Operation: 15+52=67 Moving to Node #0,13 Current State: 31:[40, 2, 67], Operations: ['15+52=67'] Exploring Operation: 67-40=27, Resulting Numbers: [2, 27] Generated Node #0,13,0: 31:[2, 27] Operation: 67-40=27 Moving to Node #0,13,0 Current State: 31:[2, 27], Operations: ['15+52=67', '67-40=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,13,0 Current State: 31:[2, 27], Operations: ['15+52=67', '67-40=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,13,0 Current State: 31:[2, 27], Operations: ['15+52=67', '67-40=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,31 unequal: No Solution Moving to Node #0,13 Current State: 31:[40, 2, 67], Operations: ['15+52=67'] Exploring Operation: 40-2=38, Resulting Numbers: [67, 38] Generated Node #0,13,1: 31:[67, 38] Operation: 40-2=38 Moving to Node #0,13,1 Current State: 31:[67, 38], Operations: ['15+52=67', '40-2=38'] Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,13 Current State: 31:[40, 2, 67], Operations: ['15+52=67'] Exploring Operation: 67-2=65, Resulting Numbers: [40, 65] Generated Node #0,13,2: 31:[40, 65] Operation: 67-2=65 Moving to Node #0,13,2 Current State: 31:[40, 65], Operations: ['15+52=67', '67-2=65'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,13 Current State: 31:[40, 2, 67], Operations: ['15+52=67'] Exploring Operation: 40+2=42, Resulting Numbers: [67, 42] Generated Node #0,13,3: 31:[67, 42] Operation: 40+2=42 Moving to Node #0,13,3 Current State: 31:[67, 42], Operations: ['15+52=67', '40+2=42'] Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,13 Current State: 31:[40, 2, 67], Operations: ['15+52=67'] Exploring Operation: 40/2=20, Resulting Numbers: [67, 20] Generated Node #0,13,4: 31:[67, 20] Operation: 40/2=20 Moving to Node #0,13,4 Current State: 31:[67, 20], Operations: ['15+52=67', '40/2=20'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,31 unequal: No Solution Moving to Node #0,13 Current State: 31:[40, 2, 67], Operations: ['15+52=67'] Exploring Operation: 2+67=69, Resulting Numbers: [40, 69] Generated Node #0,13,5: 31:[40, 69] Operation: 2+67=69 Moving to Node #0,13,5 Current State: 31:[40, 69], Operations: ['15+52=67', '2+67=69'] Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0 Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 40*2=80, Resulting Numbers: [15, 52, 80] Generated Node #0,14: 31:[15, 52, 80] Operation: 40*2=80 Moving to Node #0,14 Current State: 31:[15, 52, 80], Operations: ['40*2=80'] Exploring Operation: 80-52=28, Resulting Numbers: [15, 28] Generated Node #0,14,0: 31:[15, 28] Operation: 80-52=28 Moving to Node #0,14,0 Current State: 31:[15, 28], Operations: ['40*2=80', '80-52=28'] Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,31 unequal: No Solution Moving to Node #0,14,0 Current State: 31:[15, 28], Operations: ['40*2=80', '80-52=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,31 unequal: No Solution Moving to Node #0,14 Current State: 31:[15, 52, 80], Operations: ['40*2=80'] Exploring Operation: 52-15=37, Resulting Numbers: [80, 37] Generated Node #0,14,1: 31:[80, 37] Operation: 52-15=37 Moving to Node #0,14,1 Current State: 31:[80, 37], Operations: ['40*2=80', '52-15=37'] Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,31 unequal: No Solution Moving to Node #0,14 Current State: 31:[15, 52, 80], Operations: ['40*2=80'] Exploring Operation: 80-15=65, Resulting Numbers: [52, 65] Generated Node #0,14,2: 31:[52, 65] Operation: 80-15=65 Moving to Node #0,14,2 Current State: 31:[52, 65], Operations: ['40*2=80', '80-15=65'] Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,31 unequal: No Solution
0
dfs
Current State: 31:[40, 15, 2, 52], Operations: [] Exploring Operation: 40+52=92, Resulting Numbers: [15, 2, 92] Generated Node #2: [15, 2, 92] from Operation: 40+52=92 Current State: 31:[15, 2, 92], Operations: ['40+52=92'] Exploring Operation: 92/2=46, Resulting Numbers: [15, 46] Generated Node #3: [15, 46] from Operation: 92/2=46 Current State: 31:[15, 46], Operations: ['40+52=92', '92/2=46'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
sum_heuristic
[ { "content": "Make 31 with the numbers [40, 15, 2, 52] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 52/2=26, Resulting Numbers: [40, 15, 26]\nGenerated Node #0,0: 31:[40, 15, 26] Operation: 52/2=26\nMoving to Node #0,0\nCurrent State: 31:[40, 15, 26], Operations: ['52/2=26']\nExploring Operation: 40-15=25, Resulting Numbers: [26, 25]\nGenerated Node #0,0,0: 31:[26, 25] Operation: 40-15=25\nMoving to Node #0,0,0\nCurrent State: 31:[26, 25], Operations: ['52/2=26', '40-15=25']\nExploring Operation: 26+25=51, Resulting Numbers: [51]\n51,31 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 31:[26, 25], Operations: ['52/2=26', '40-15=25']\nExploring Operation: 26-25=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 31:[40, 15, 26], Operations: ['52/2=26']\nExploring Operation: 15+26=41, Resulting Numbers: [40, 41]\nGenerated Node #0,0,1: 31:[40, 41] Operation: 15+26=41\nMoving to Node #0,0,1\nCurrent State: 31:[40, 41], Operations: ['52/2=26', '15+26=41']\nExploring Operation: 41-40=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 31:[40, 15, 26], Operations: ['52/2=26']\nExploring Operation: 40+15=55, Resulting Numbers: [26, 55]\nGenerated Node #0,0,2: 31:[26, 55] Operation: 40+15=55\nMoving to Node #0,0,2\nCurrent State: 31:[26, 55], Operations: ['52/2=26', '40+15=55']\nExploring Operation: 55-26=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 31:[40, 15, 26], Operations: ['52/2=26']\nExploring Operation: 26-15=11, Resulting Numbers: [40, 11]\nGenerated Node #0,0,3: 31:[40, 11] Operation: 26-15=11\nMoving to Node #0,0,3\nCurrent State: 31:[40, 11], Operations: ['52/2=26', '26-15=11']\nExploring Operation: 40-11=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 31:[40, 11], Operations: ['52/2=26', '26-15=11']\nExploring Operation: 40+11=51, Resulting Numbers: [51]\n51,31 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 31:[40, 15, 26], Operations: ['52/2=26']\nExploring Operation: 40-26=14, Resulting Numbers: [15, 14]\nGenerated Node #0,0,4: 31:[15, 14] Operation: 40-26=14\nMoving to Node #0,0,4\nCurrent State: 31:[15, 14], Operations: ['52/2=26', '40-26=14']\nExploring Operation: 15+14=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 31:[15, 14], Operations: ['52/2=26', '40-26=14']\nExploring Operation: 15-14=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 31:[40, 15, 26], Operations: ['52/2=26']\nExploring Operation: 40+26=66, Resulting Numbers: [15, 66]\nGenerated Node #0,0,5: 31:[15, 66] Operation: 40+26=66\nMoving to Node #0,0,5\nCurrent State: 31:[15, 66], Operations: ['52/2=26', '40+26=66']\nExploring Operation: 66-15=51, Resulting Numbers: [51]\n51,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 15*2=30, Resulting Numbers: [40, 52, 30]\nGenerated Node #0,1: 31:[40, 52, 30] Operation: 15*2=30\nMoving to Node #0,1\nCurrent State: 31:[40, 52, 30], Operations: ['15*2=30']\nExploring Operation: 52-30=22, Resulting Numbers: [40, 22]\nGenerated Node #0,1,0: 31:[40, 22] Operation: 52-30=22\nMoving to Node #0,1,0\nCurrent State: 31:[40, 22], Operations: ['15*2=30', '52-30=22']\nExploring Operation: 40-22=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 31:[40, 22], Operations: ['15*2=30', '52-30=22']\nExploring Operation: 40+22=62, Resulting Numbers: [62]\n62,31 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 31:[40, 52, 30], Operations: ['15*2=30']\nExploring Operation: 52-40=12, Resulting Numbers: [30, 12]\nGenerated Node #0,1,1: 31:[30, 12] Operation: 52-40=12\nMoving to Node #0,1,1\nCurrent State: 31:[30, 12], Operations: ['15*2=30', '52-40=12']\nExploring Operation: 30+12=42, Resulting Numbers: [42]\n42,31 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 31:[30, 12], Operations: ['15*2=30', '52-40=12']\nExploring Operation: 30-12=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 31:[40, 52, 30], Operations: ['15*2=30']\nExploring Operation: 40-30=10, Resulting Numbers: [52, 10]\nGenerated Node #0,1,2: 31:[52, 10] Operation: 40-30=10\nMoving to Node #0,1,2\nCurrent State: 31:[52, 10], Operations: ['15*2=30', '40-30=10']\nExploring Operation: 52-10=42, Resulting Numbers: [42]\n42,31 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 31:[52, 10], Operations: ['15*2=30', '40-30=10']\nExploring Operation: 52+10=62, Resulting Numbers: [62]\n62,31 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 31:[40, 52, 30], Operations: ['15*2=30']\nExploring Operation: 40+30=70, Resulting Numbers: [52, 70]\nGenerated Node #0,1,3: 31:[52, 70] Operation: 40+30=70\nMoving to Node #0,1,3\nCurrent State: 31:[52, 70], Operations: ['15*2=30', '40+30=70']\nExploring Operation: 70-52=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 31:[40, 52, 30], Operations: ['15*2=30']\nExploring Operation: 52+30=82, Resulting Numbers: [40, 82]\nGenerated Node #0,1,4: 31:[40, 82] Operation: 52+30=82\nMoving to Node #0,1,4\nCurrent State: 31:[40, 82], Operations: ['15*2=30', '52+30=82']\nExploring Operation: 82-40=42, Resulting Numbers: [42]\n42,31 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 31:[40, 52, 30], Operations: ['15*2=30']\nExploring Operation: 40+52=92, Resulting Numbers: [30, 92]\nGenerated Node #0,1,5: 31:[30, 92] Operation: 40+52=92\nMoving to Node #0,1,5\nCurrent State: 31:[30, 92], Operations: ['15*2=30', '40+52=92']\nExploring Operation: 92-30=62, Resulting Numbers: [62]\n62,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 40-2=38, Resulting Numbers: [15, 52, 38]\nGenerated Node #0,2: 31:[15, 52, 38] Operation: 40-2=38\nMoving to Node #0,2\nCurrent State: 31:[15, 52, 38], Operations: ['40-2=38']\nExploring Operation: 52-15=37, Resulting Numbers: [38, 37]\nGenerated Node #0,2,0: 31:[38, 37] Operation: 52-15=37\nMoving to Node #0,2,0\nCurrent State: 31:[38, 37], Operations: ['40-2=38', '52-15=37']\nExploring Operation: 38-37=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 31:[15, 52, 38], Operations: ['40-2=38']\nExploring Operation: 38-15=23, Resulting Numbers: [52, 23]\nGenerated Node #0,2,1: 31:[52, 23] Operation: 38-15=23\nMoving to Node #0,2,1\nCurrent State: 31:[52, 23], Operations: ['40-2=38', '38-15=23']\nExploring Operation: 52-23=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 31:[15, 52, 38], Operations: ['40-2=38']\nExploring Operation: 52-38=14, Resulting Numbers: [15, 14]\nGenerated Node #0,2,2: 31:[15, 14] Operation: 52-38=14\nMoving to Node #0,2,2\nCurrent State: 31:[15, 14], Operations: ['40-2=38', '52-38=14']\nExploring Operation: 15+14=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 31:[15, 14], Operations: ['40-2=38', '52-38=14']\nExploring Operation: 15-14=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 31:[15, 52, 38], Operations: ['40-2=38']\nExploring Operation: 15+52=67, Resulting Numbers: [38, 67]\nGenerated Node #0,2,3: 31:[38, 67] Operation: 15+52=67\nMoving to Node #0,2,3\nCurrent State: 31:[38, 67], Operations: ['40-2=38', '15+52=67']\nExploring Operation: 67-38=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 31:[15, 52, 38], Operations: ['40-2=38']\nExploring Operation: 15+38=53, Resulting Numbers: [52, 53]\nGenerated Node #0,2,4: 31:[52, 53] Operation: 15+38=53\nMoving to Node #0,2,4\nCurrent State: 31:[52, 53], Operations: ['40-2=38', '15+38=53']\nExploring Operation: 53-52=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 15+2=17, Resulting Numbers: [40, 52, 17]\nGenerated Node #0,3: 31:[40, 52, 17] Operation: 15+2=17\nMoving to Node #0,3\nCurrent State: 31:[40, 52, 17], Operations: ['15+2=17']\nExploring Operation: 52-17=35, Resulting Numbers: [40, 35]\nGenerated Node #0,3,0: 31:[40, 35] Operation: 52-17=35\nMoving to Node #0,3,0\nCurrent State: 31:[40, 35], Operations: ['15+2=17', '52-17=35']\nExploring Operation: 40-35=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 31:[40, 52, 17], Operations: ['15+2=17']\nExploring Operation: 40-17=23, Resulting Numbers: [52, 23]\nGenerated Node #0,3,1: 31:[52, 23] Operation: 40-17=23\nMoving to Node #0,3,1\nCurrent State: 31:[52, 23], Operations: ['15+2=17', '40-17=23']\nExploring Operation: 52-23=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 31:[40, 52, 17], Operations: ['15+2=17']\nExploring Operation: 52-40=12, Resulting Numbers: [17, 12]\nGenerated Node #0,3,2: 31:[17, 12] Operation: 52-40=12\nMoving to Node #0,3,2\nCurrent State: 31:[17, 12], Operations: ['15+2=17', '52-40=12']\nExploring Operation: 17+12=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 31:[17, 12], Operations: ['15+2=17', '52-40=12']\nExploring Operation: 17-12=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 31:[40, 52, 17], Operations: ['15+2=17']\nExploring Operation: 40+17=57, Resulting Numbers: [52, 57]\nGenerated Node #0,3,3: 31:[52, 57] Operation: 40+17=57\nMoving to Node #0,3,3\nCurrent State: 31:[52, 57], Operations: ['15+2=17', '40+17=57']\nExploring Operation: 57-52=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 31:[40, 52, 17], Operations: ['15+2=17']\nExploring Operation: 52+17=69, Resulting Numbers: [40, 69]\nGenerated Node #0,3,4: 31:[40, 69] Operation: 52+17=69\nMoving to Node #0,3,4\nCurrent State: 31:[40, 69], Operations: ['15+2=17', '52+17=69']\nExploring Operation: 69-40=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 52-15=37, Resulting Numbers: [40, 2, 37]\nGenerated Node #0,4: 31:[40, 2, 37] Operation: 52-15=37\nMoving to Node #0,4\nCurrent State: 31:[40, 2, 37], Operations: ['52-15=37']\nExploring Operation: 40-2=38, Resulting Numbers: [37, 38]\nGenerated Node #0,4,0: 31:[37, 38] Operation: 40-2=38\nMoving to Node #0,4,0\nCurrent State: 31:[37, 38], Operations: ['52-15=37', '40-2=38']\nExploring Operation: 38-37=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 31:[40, 2, 37], Operations: ['52-15=37']\nExploring Operation: 37-2=35, Resulting Numbers: [40, 35]\nGenerated Node #0,4,1: 31:[40, 35] Operation: 37-2=35\nMoving to Node #0,4,1\nCurrent State: 31:[40, 35], Operations: ['52-15=37', '37-2=35']\nExploring Operation: 40-35=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 31:[40, 2, 37], Operations: ['52-15=37']\nExploring Operation: 40+2=42, Resulting Numbers: [37, 42]\nGenerated Node #0,4,2: 31:[37, 42] Operation: 40+2=42\nMoving to Node #0,4,2\nCurrent State: 31:[37, 42], Operations: ['52-15=37', '40+2=42']\nExploring Operation: 42-37=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 31:[40, 2, 37], Operations: ['52-15=37']\nExploring Operation: 40/2=20, Resulting Numbers: [37, 20]\nGenerated Node #0,4,3: 31:[37, 20] Operation: 40/2=20\nMoving to Node #0,4,3\nCurrent State: 31:[37, 20], Operations: ['52-15=37', '40/2=20']\nExploring Operation: 37-20=17, Resulting Numbers: [17]\n17,31 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 31:[37, 20], Operations: ['52-15=37', '40/2=20']\nExploring Operation: 37+20=57, Resulting Numbers: [57]\n57,31 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 31:[40, 2, 37], Operations: ['52-15=37']\nExploring Operation: 2+37=39, Resulting Numbers: [40, 39]\nGenerated Node #0,4,4: 31:[40, 39] Operation: 2+37=39\nMoving to Node #0,4,4\nCurrent State: 31:[40, 39], Operations: ['52-15=37', '2+37=39']\nExploring Operation: 40-39=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 31:[40, 2, 37], Operations: ['52-15=37']\nExploring Operation: 2*37=74, Resulting Numbers: [40, 74]\nGenerated Node #0,4,5: 31:[40, 74] Operation: 2*37=74\nMoving to Node #0,4,5\nCurrent State: 31:[40, 74], Operations: ['52-15=37', '2*37=74']\nExploring Operation: 74-40=34, Resulting Numbers: [34]\n34,31 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 31:[40, 2, 37], Operations: ['52-15=37']\nExploring Operation: 40*2=80, Resulting Numbers: [37, 80]\nGenerated Node #0,4,6: 31:[37, 80] Operation: 40*2=80\nMoving to Node #0,4,6\nCurrent State: 31:[37, 80], Operations: ['52-15=37', '40*2=80']\nExploring Operation: 80-37=43, Resulting Numbers: [43]\n43,31 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 31:[40, 2, 37], Operations: ['52-15=37']\nExploring Operation: 40-37=3, Resulting Numbers: [2, 3]\nGenerated Node #0,4,7: 31:[2, 3] Operation: 40-37=3\nMoving to Node #0,4,7\nCurrent State: 31:[2, 3], Operations: ['52-15=37', '40-37=3']\nExploring Operation: 2*3=6, Resulting Numbers: [6]\n6,31 unequal: No Solution\nMoving to Node #0,4,7\nCurrent State: 31:[2, 3], Operations: ['52-15=37', '40-37=3']\nExploring Operation: 2+3=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,4,7\nCurrent State: 31:[2, 3], Operations: ['52-15=37', '40-37=3']\nExploring Operation: 3-2=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 52-2=50, Resulting Numbers: [40, 15, 50]\nGenerated Node #0,5: 31:[40, 15, 50] Operation: 52-2=50\nMoving to Node #0,5\nCurrent State: 31:[40, 15, 50], Operations: ['52-2=50']\nExploring Operation: 50-15=35, Resulting Numbers: [40, 35]\nGenerated Node #0,5,0: 31:[40, 35] Operation: 50-15=35\nMoving to Node #0,5,0\nCurrent State: 31:[40, 35], Operations: ['52-2=50', '50-15=35']\nExploring Operation: 40-35=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 31:[40, 15, 50], Operations: ['52-2=50']\nExploring Operation: 40-15=25, Resulting Numbers: [50, 25]\nGenerated Node #0,5,1: 31:[50, 25] Operation: 40-15=25\nMoving to Node #0,5,1\nCurrent State: 31:[50, 25], Operations: ['52-2=50', '40-15=25']\nExploring Operation: 50-25=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 31:[50, 25], Operations: ['52-2=50', '40-15=25']\nExploring Operation: 50/25=2, Resulting Numbers: [2]\n2,31 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 31:[40, 15, 50], Operations: ['52-2=50']\nExploring Operation: 50-40=10, Resulting Numbers: [15, 10]\nGenerated Node #0,5,2: 31:[15, 10] Operation: 50-40=10\nMoving to Node #0,5,2\nCurrent State: 31:[15, 10], Operations: ['52-2=50', '50-40=10']\nExploring Operation: 15+10=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 31:[15, 10], Operations: ['52-2=50', '50-40=10']\nExploring Operation: 15-10=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 31:[40, 15, 50], Operations: ['52-2=50']\nExploring Operation: 40+15=55, Resulting Numbers: [50, 55]\nGenerated Node #0,5,3: 31:[50, 55] Operation: 40+15=55\nMoving to Node #0,5,3\nCurrent State: 31:[50, 55], Operations: ['52-2=50', '40+15=55']\nExploring Operation: 55-50=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 31:[40, 15, 50], Operations: ['52-2=50']\nExploring Operation: 15+50=65, Resulting Numbers: [40, 65]\nGenerated Node #0,5,4: 31:[40, 65] Operation: 15+50=65\nMoving to Node #0,5,4\nCurrent State: 31:[40, 65], Operations: ['52-2=50', '15+50=65']\nExploring Operation: 65-40=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 40+2=42, Resulting Numbers: [15, 52, 42]\nGenerated Node #0,6: 31:[15, 52, 42] Operation: 40+2=42\nMoving to Node #0,6\nCurrent State: 31:[15, 52, 42], Operations: ['40+2=42']\nExploring Operation: 52-15=37, Resulting Numbers: [42, 37]\nGenerated Node #0,6,0: 31:[42, 37] Operation: 52-15=37\nMoving to Node #0,6,0\nCurrent State: 31:[42, 37], Operations: ['40+2=42', '52-15=37']\nExploring Operation: 42-37=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 31:[15, 52, 42], Operations: ['40+2=42']\nExploring Operation: 42-15=27, Resulting Numbers: [52, 27]\nGenerated Node #0,6,1: 31:[52, 27] Operation: 42-15=27\nMoving to Node #0,6,1\nCurrent State: 31:[52, 27], Operations: ['40+2=42', '42-15=27']\nExploring Operation: 52-27=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 31:[15, 52, 42], Operations: ['40+2=42']\nExploring Operation: 52-42=10, Resulting Numbers: [15, 10]\nGenerated Node #0,6,2: 31:[15, 10] Operation: 52-42=10\nMoving to Node #0,6,2\nCurrent State: 31:[15, 10], Operations: ['40+2=42', '52-42=10']\nExploring Operation: 15+10=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 31:[15, 10], Operations: ['40+2=42', '52-42=10']\nExploring Operation: 15-10=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 31:[15, 52, 42], Operations: ['40+2=42']\nExploring Operation: 15+52=67, Resulting Numbers: [42, 67]\nGenerated Node #0,6,3: 31:[42, 67] Operation: 15+52=67\nMoving to Node #0,6,3\nCurrent State: 31:[42, 67], Operations: ['40+2=42', '15+52=67']\nExploring Operation: 67-42=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 31:[15, 52, 42], Operations: ['40+2=42']\nExploring Operation: 15+42=57, Resulting Numbers: [52, 57]\nGenerated Node #0,6,4: 31:[52, 57] Operation: 15+42=57\nMoving to Node #0,6,4\nCurrent State: 31:[52, 57], Operations: ['40+2=42', '15+42=57']\nExploring Operation: 57-52=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 40/2=20, Resulting Numbers: [15, 52, 20]\nGenerated Node #0,7: 31:[15, 52, 20] Operation: 40/2=20\nMoving to Node #0,7\nCurrent State: 31:[15, 52, 20], Operations: ['40/2=20']\nExploring Operation: 52-15=37, Resulting Numbers: [20, 37]\nGenerated Node #0,7,0: 31:[20, 37] Operation: 52-15=37\nMoving to Node #0,7,0\nCurrent State: 31:[20, 37], Operations: ['40/2=20', '52-15=37']\nExploring Operation: 37-20=17, Resulting Numbers: [17]\n17,31 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 31:[20, 37], Operations: ['40/2=20', '52-15=37']\nExploring Operation: 20+37=57, Resulting Numbers: [57]\n57,31 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 31:[15, 52, 20], Operations: ['40/2=20']\nExploring Operation: 52-20=32, Resulting Numbers: [15, 32]\nGenerated Node #0,7,1: 31:[15, 32] Operation: 52-20=32\nMoving to Node #0,7,1\nCurrent State: 31:[15, 32], Operations: ['40/2=20', '52-20=32']\nExploring Operation: 32-15=17, Resulting Numbers: [17]\n17,31 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 31:[15, 32], Operations: ['40/2=20', '52-20=32']\nExploring Operation: 15+32=47, Resulting Numbers: [47]\n47,31 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 31:[15, 52, 20], Operations: ['40/2=20']\nExploring Operation: 15+20=35, Resulting Numbers: [52, 35]\nGenerated Node #0,7,2: 31:[52, 35] Operation: 15+20=35\nMoving to Node #0,7,2\nCurrent State: 31:[52, 35], Operations: ['40/2=20', '15+20=35']\nExploring Operation: 52-35=17, Resulting Numbers: [17]\n17,31 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 31:[15, 52, 20], Operations: ['40/2=20']\nExploring Operation: 15+52=67, Resulting Numbers: [20, 67]\nGenerated Node #0,7,3: 31:[20, 67] Operation: 15+52=67\nMoving to Node #0,7,3\nCurrent State: 31:[20, 67], Operations: ['40/2=20', '15+52=67']\nExploring Operation: 67-20=47, Resulting Numbers: [47]\n47,31 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 31:[15, 52, 20], Operations: ['40/2=20']\nExploring Operation: 20-15=5, Resulting Numbers: [52, 5]\nGenerated Node #0,7,4: 31:[52, 5] Operation: 20-15=5\nMoving to Node #0,7,4\nCurrent State: 31:[52, 5], Operations: ['40/2=20', '20-15=5']\nExploring Operation: 52-5=47, Resulting Numbers: [47]\n47,31 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 31:[52, 5], Operations: ['40/2=20', '20-15=5']\nExploring Operation: 52+5=57, Resulting Numbers: [57]\n57,31 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 31:[15, 52, 20], Operations: ['40/2=20']\nExploring Operation: 52+20=72, Resulting Numbers: [15, 72]\nGenerated Node #0,7,5: 31:[15, 72] Operation: 52+20=72\nMoving to Node #0,7,5\nCurrent State: 31:[15, 72], Operations: ['40/2=20', '52+20=72']\nExploring Operation: 72-15=57, Resulting Numbers: [57]\n57,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 15-2=13, Resulting Numbers: [40, 52, 13]\nGenerated Node #0,8: 31:[40, 52, 13] Operation: 15-2=13\nMoving to Node #0,8\nCurrent State: 31:[40, 52, 13], Operations: ['15-2=13']\nExploring Operation: 52-13=39, Resulting Numbers: [40, 39]\nGenerated Node #0,8,0: 31:[40, 39] Operation: 52-13=39\nMoving to Node #0,8,0\nCurrent State: 31:[40, 39], Operations: ['15-2=13', '52-13=39']\nExploring Operation: 40-39=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 31:[40, 52, 13], Operations: ['15-2=13']\nExploring Operation: 40-13=27, Resulting Numbers: [52, 27]\nGenerated Node #0,8,1: 31:[52, 27] Operation: 40-13=27\nMoving to Node #0,8,1\nCurrent State: 31:[52, 27], Operations: ['15-2=13', '40-13=27']\nExploring Operation: 52-27=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 31:[40, 52, 13], Operations: ['15-2=13']\nExploring Operation: 52/13=4, Resulting Numbers: [40, 4]\nGenerated Node #0,8,2: 31:[40, 4] Operation: 52/13=4\nMoving to Node #0,8,2\nCurrent State: 31:[40, 4], Operations: ['15-2=13', '52/13=4']\nExploring Operation: 40-4=36, Resulting Numbers: [36]\n36,31 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 31:[40, 4], Operations: ['15-2=13', '52/13=4']\nExploring Operation: 40+4=44, Resulting Numbers: [44]\n44,31 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 31:[40, 4], Operations: ['15-2=13', '52/13=4']\nExploring Operation: 40/4=10, Resulting Numbers: [10]\n10,31 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 31:[40, 52, 13], Operations: ['15-2=13']\nExploring Operation: 52-40=12, Resulting Numbers: [13, 12]\nGenerated Node #0,8,3: 31:[13, 12] Operation: 52-40=12\nMoving to Node #0,8,3\nCurrent State: 31:[13, 12], Operations: ['15-2=13', '52-40=12']\nExploring Operation: 13+12=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 31:[13, 12], Operations: ['15-2=13', '52-40=12']\nExploring Operation: 13-12=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 31:[40, 52, 13], Operations: ['15-2=13']\nExploring Operation: 40+13=53, Resulting Numbers: [52, 53]\nGenerated Node #0,8,4: 31:[52, 53] Operation: 40+13=53\nMoving to Node #0,8,4\nCurrent State: 31:[52, 53], Operations: ['15-2=13', '40+13=53']\nExploring Operation: 53-52=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 31:[40, 52, 13], Operations: ['15-2=13']\nExploring Operation: 52+13=65, Resulting Numbers: [40, 65]\nGenerated Node #0,8,5: 31:[40, 65] Operation: 52+13=65\nMoving to Node #0,8,5\nCurrent State: 31:[40, 65], Operations: ['15-2=13', '52+13=65']\nExploring Operation: 65-40=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 2+52=54, Resulting Numbers: [40, 15, 54]\nGenerated Node #0,9: 31:[40, 15, 54] Operation: 2+52=54\nMoving to Node #0,9\nCurrent State: 31:[40, 15, 54], Operations: ['2+52=54']\nExploring Operation: 54-15=39, Resulting Numbers: [40, 39]\nGenerated Node #0,9,0: 31:[40, 39] Operation: 54-15=39\nMoving to Node #0,9,0\nCurrent State: 31:[40, 39], Operations: ['2+52=54', '54-15=39']\nExploring Operation: 40-39=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 31:[40, 15, 54], Operations: ['2+52=54']\nExploring Operation: 40-15=25, Resulting Numbers: [54, 25]\nGenerated Node #0,9,1: 31:[54, 25] Operation: 40-15=25\nMoving to Node #0,9,1\nCurrent State: 31:[54, 25], Operations: ['2+52=54', '40-15=25']\nExploring Operation: 54-25=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 31:[40, 15, 54], Operations: ['2+52=54']\nExploring Operation: 54-40=14, Resulting Numbers: [15, 14]\nGenerated Node #0,9,2: 31:[15, 14] Operation: 54-40=14\nMoving to Node #0,9,2\nCurrent State: 31:[15, 14], Operations: ['2+52=54', '54-40=14']\nExploring Operation: 15+14=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 31:[15, 14], Operations: ['2+52=54', '54-40=14']\nExploring Operation: 15-14=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 31:[40, 15, 54], Operations: ['2+52=54']\nExploring Operation: 40+15=55, Resulting Numbers: [54, 55]\nGenerated Node #0,9,3: 31:[54, 55] Operation: 40+15=55\nMoving to Node #0,9,3\nCurrent State: 31:[54, 55], Operations: ['2+52=54', '40+15=55']\nExploring Operation: 55-54=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 31:[40, 15, 54], Operations: ['2+52=54']\nExploring Operation: 15+54=69, Resulting Numbers: [40, 69]\nGenerated Node #0,9,4: 31:[40, 69] Operation: 15+54=69\nMoving to Node #0,9,4\nCurrent State: 31:[40, 69], Operations: ['2+52=54', '15+54=69']\nExploring Operation: 69-40=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 40-15=25, Resulting Numbers: [2, 52, 25]\nGenerated Node #0,10: 31:[2, 52, 25] Operation: 40-15=25\nMoving to Node #0,10\nCurrent State: 31:[2, 52, 25], Operations: ['40-15=25']\nExploring Operation: 52/2=26, Resulting Numbers: [25, 26]\nGenerated Node #0,10,0: 31:[25, 26] Operation: 52/2=26\nMoving to Node #0,10,0\nCurrent State: 31:[25, 26], Operations: ['40-15=25', '52/2=26']\nExploring Operation: 25+26=51, Resulting Numbers: [51]\n51,31 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 31:[25, 26], Operations: ['40-15=25', '52/2=26']\nExploring Operation: 26-25=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 31:[2, 52, 25], Operations: ['40-15=25']\nExploring Operation: 52-2=50, Resulting Numbers: [25, 50]\nGenerated Node #0,10,1: 31:[25, 50] Operation: 52-2=50\nMoving to Node #0,10,1\nCurrent State: 31:[25, 50], Operations: ['40-15=25', '52-2=50']\nExploring Operation: 50-25=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 31:[25, 50], Operations: ['40-15=25', '52-2=50']\nExploring Operation: 50/25=2, Resulting Numbers: [2]\n2,31 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 31:[2, 52, 25], Operations: ['40-15=25']\nExploring Operation: 2+25=27, Resulting Numbers: [52, 27]\nGenerated Node #0,10,2: 31:[52, 27] Operation: 2+25=27\nMoving to Node #0,10,2\nCurrent State: 31:[52, 27], Operations: ['40-15=25', '2+25=27']\nExploring Operation: 52-27=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 31:[2, 52, 25], Operations: ['40-15=25']\nExploring Operation: 2+52=54, Resulting Numbers: [25, 54]\nGenerated Node #0,10,3: 31:[25, 54] Operation: 2+52=54\nMoving to Node #0,10,3\nCurrent State: 31:[25, 54], Operations: ['40-15=25', '2+52=54']\nExploring Operation: 54-25=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 31:[2, 52, 25], Operations: ['40-15=25']\nExploring Operation: 25-2=23, Resulting Numbers: [52, 23]\nGenerated Node #0,10,4: 31:[52, 23] Operation: 25-2=23\nMoving to Node #0,10,4\nCurrent State: 31:[52, 23], Operations: ['40-15=25', '25-2=23']\nExploring Operation: 52-23=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 31:[2, 52, 25], Operations: ['40-15=25']\nExploring Operation: 52-25=27, Resulting Numbers: [2, 27]\nGenerated Node #0,10,5: 31:[2, 27] Operation: 52-25=27\nMoving to Node #0,10,5\nCurrent State: 31:[2, 27], Operations: ['40-15=25', '52-25=27']\nExploring Operation: 2+27=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 31:[2, 27], Operations: ['40-15=25', '52-25=27']\nExploring Operation: 27-2=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 31:[2, 27], Operations: ['40-15=25', '52-25=27']\nExploring Operation: 2*27=54, Resulting Numbers: [54]\n54,31 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 31:[2, 52, 25], Operations: ['40-15=25']\nExploring Operation: 2*25=50, Resulting Numbers: [52, 50]\nGenerated Node #0,10,6: 31:[52, 50] Operation: 2*25=50\nMoving to Node #0,10,6\nCurrent State: 31:[52, 50], Operations: ['40-15=25', '2*25=50']\nExploring Operation: 52-50=2, Resulting Numbers: [2]\n2,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 52-40=12, Resulting Numbers: [15, 2, 12]\nGenerated Node #0,11: 31:[15, 2, 12] Operation: 52-40=12\nMoving to Node #0,11\nCurrent State: 31:[15, 2, 12], Operations: ['52-40=12']\nExploring Operation: 15*2=30, Resulting Numbers: [12, 30]\nGenerated Node #0,11,0: 31:[12, 30] Operation: 15*2=30\nMoving to Node #0,11,0\nCurrent State: 31:[12, 30], Operations: ['52-40=12', '15*2=30']\nExploring Operation: 12+30=42, Resulting Numbers: [42]\n42,31 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 31:[12, 30], Operations: ['52-40=12', '15*2=30']\nExploring Operation: 30-12=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 31:[15, 2, 12], Operations: ['52-40=12']\nExploring Operation: 2*12=24, Resulting Numbers: [15, 24]\nGenerated Node #0,11,1: 31:[15, 24] Operation: 2*12=24\nMoving to Node #0,11,1\nCurrent State: 31:[15, 24], Operations: ['52-40=12', '2*12=24']\nExploring Operation: 15+24=39, Resulting Numbers: [39]\n39,31 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 31:[15, 24], Operations: ['52-40=12', '2*12=24']\nExploring Operation: 24-15=9, Resulting Numbers: [9]\n9,31 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 31:[15, 2, 12], Operations: ['52-40=12']\nExploring Operation: 15+2=17, Resulting Numbers: [12, 17]\nGenerated Node #0,11,2: 31:[12, 17] Operation: 15+2=17\nMoving to Node #0,11,2\nCurrent State: 31:[12, 17], Operations: ['52-40=12', '15+2=17']\nExploring Operation: 12+17=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 31:[12, 17], Operations: ['52-40=12', '15+2=17']\nExploring Operation: 17-12=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 31:[15, 2, 12], Operations: ['52-40=12']\nExploring Operation: 15+12=27, Resulting Numbers: [2, 27]\nGenerated Node #0,11,3: 31:[2, 27] Operation: 15+12=27\nMoving to Node #0,11,3\nCurrent State: 31:[2, 27], Operations: ['52-40=12', '15+12=27']\nExploring Operation: 2+27=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,11,3\nCurrent State: 31:[2, 27], Operations: ['52-40=12', '15+12=27']\nExploring Operation: 27-2=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,11,3\nCurrent State: 31:[2, 27], Operations: ['52-40=12', '15+12=27']\nExploring Operation: 2*27=54, Resulting Numbers: [54]\n54,31 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 31:[15, 2, 12], Operations: ['52-40=12']\nExploring Operation: 2+12=14, Resulting Numbers: [15, 14]\nGenerated Node #0,11,4: 31:[15, 14] Operation: 2+12=14\nMoving to Node #0,11,4\nCurrent State: 31:[15, 14], Operations: ['52-40=12', '2+12=14']\nExploring Operation: 15+14=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 31:[15, 14], Operations: ['52-40=12', '2+12=14']\nExploring Operation: 15-14=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 31:[15, 2, 12], Operations: ['52-40=12']\nExploring Operation: 15-2=13, Resulting Numbers: [12, 13]\nGenerated Node #0,11,5: 31:[12, 13] Operation: 15-2=13\nMoving to Node #0,11,5\nCurrent State: 31:[12, 13], Operations: ['52-40=12', '15-2=13']\nExploring Operation: 12+13=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,11,5\nCurrent State: 31:[12, 13], Operations: ['52-40=12', '15-2=13']\nExploring Operation: 13-12=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 31:[15, 2, 12], Operations: ['52-40=12']\nExploring Operation: 12-2=10, Resulting Numbers: [15, 10]\nGenerated Node #0,11,6: 31:[15, 10] Operation: 12-2=10\nMoving to Node #0,11,6\nCurrent State: 31:[15, 10], Operations: ['52-40=12', '12-2=10']\nExploring Operation: 15+10=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,11,6\nCurrent State: 31:[15, 10], Operations: ['52-40=12', '12-2=10']\nExploring Operation: 15-10=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 31:[15, 2, 12], Operations: ['52-40=12']\nExploring Operation: 12/2=6, Resulting Numbers: [15, 6]\nGenerated Node #0,11,7: 31:[15, 6] Operation: 12/2=6\nMoving to Node #0,11,7\nCurrent State: 31:[15, 6], Operations: ['52-40=12', '12/2=6']\nExploring Operation: 15+6=21, Resulting Numbers: [21]\n21,31 unequal: No Solution\nMoving to Node #0,11,7\nCurrent State: 31:[15, 6], Operations: ['52-40=12', '12/2=6']\nExploring Operation: 15-6=9, Resulting Numbers: [9]\n9,31 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 31:[15, 2, 12], Operations: ['52-40=12']\nExploring Operation: 15-12=3, Resulting Numbers: [2, 3]\nGenerated Node #0,11,8: 31:[2, 3] Operation: 15-12=3\nMoving to Node #0,11,8\nCurrent State: 31:[2, 3], Operations: ['52-40=12', '15-12=3']\nExploring Operation: 2*3=6, Resulting Numbers: [6]\n6,31 unequal: No Solution\nMoving to Node #0,11,8\nCurrent State: 31:[2, 3], Operations: ['52-40=12', '15-12=3']\nExploring Operation: 2+3=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,11,8\nCurrent State: 31:[2, 3], Operations: ['52-40=12', '15-12=3']\nExploring Operation: 3-2=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 40+15=55, Resulting Numbers: [2, 52, 55]\nGenerated Node #0,12: 31:[2, 52, 55] Operation: 40+15=55\nMoving to Node #0,12\nCurrent State: 31:[2, 52, 55], Operations: ['40+15=55']\nExploring Operation: 52/2=26, Resulting Numbers: [55, 26]\nGenerated Node #0,12,0: 31:[55, 26] Operation: 52/2=26\nMoving to Node #0,12,0\nCurrent State: 31:[55, 26], Operations: ['40+15=55', '52/2=26']\nExploring Operation: 55-26=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 31:[2, 52, 55], Operations: ['40+15=55']\nExploring Operation: 52-2=50, Resulting Numbers: [55, 50]\nGenerated Node #0,12,1: 31:[55, 50] Operation: 52-2=50\nMoving to Node #0,12,1\nCurrent State: 31:[55, 50], Operations: ['40+15=55', '52-2=50']\nExploring Operation: 55-50=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 31:[2, 52, 55], Operations: ['40+15=55']\nExploring Operation: 55-2=53, Resulting Numbers: [52, 53]\nGenerated Node #0,12,2: 31:[52, 53] Operation: 55-2=53\nMoving to Node #0,12,2\nCurrent State: 31:[52, 53], Operations: ['40+15=55', '55-2=53']\nExploring Operation: 53-52=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 31:[2, 52, 55], Operations: ['40+15=55']\nExploring Operation: 2+52=54, Resulting Numbers: [55, 54]\nGenerated Node #0,12,3: 31:[55, 54] Operation: 2+52=54\nMoving to Node #0,12,3\nCurrent State: 31:[55, 54], Operations: ['40+15=55', '2+52=54']\nExploring Operation: 55-54=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 31:[2, 52, 55], Operations: ['40+15=55']\nExploring Operation: 2+55=57, Resulting Numbers: [52, 57]\nGenerated Node #0,12,4: 31:[52, 57] Operation: 2+55=57\nMoving to Node #0,12,4\nCurrent State: 31:[52, 57], Operations: ['40+15=55', '2+55=57']\nExploring Operation: 57-52=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 31:[2, 52, 55], Operations: ['40+15=55']\nExploring Operation: 55-52=3, Resulting Numbers: [2, 3]\nGenerated Node #0,12,5: 31:[2, 3] Operation: 55-52=3\nMoving to Node #0,12,5\nCurrent State: 31:[2, 3], Operations: ['40+15=55', '55-52=3']\nExploring Operation: 2*3=6, Resulting Numbers: [6]\n6,31 unequal: No Solution\nMoving to Node #0,12,5\nCurrent State: 31:[2, 3], Operations: ['40+15=55', '55-52=3']\nExploring Operation: 2+3=5, Resulting Numbers: [5]\n5,31 unequal: No Solution\nMoving to Node #0,12,5\nCurrent State: 31:[2, 3], Operations: ['40+15=55', '55-52=3']\nExploring Operation: 3-2=1, Resulting Numbers: [1]\n1,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 15+52=67, Resulting Numbers: [40, 2, 67]\nGenerated Node #0,13: 31:[40, 2, 67] Operation: 15+52=67\nMoving to Node #0,13\nCurrent State: 31:[40, 2, 67], Operations: ['15+52=67']\nExploring Operation: 67-40=27, Resulting Numbers: [2, 27]\nGenerated Node #0,13,0: 31:[2, 27] Operation: 67-40=27\nMoving to Node #0,13,0\nCurrent State: 31:[2, 27], Operations: ['15+52=67', '67-40=27']\nExploring Operation: 2+27=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,13,0\nCurrent State: 31:[2, 27], Operations: ['15+52=67', '67-40=27']\nExploring Operation: 27-2=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,13,0\nCurrent State: 31:[2, 27], Operations: ['15+52=67', '67-40=27']\nExploring Operation: 2*27=54, Resulting Numbers: [54]\n54,31 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 31:[40, 2, 67], Operations: ['15+52=67']\nExploring Operation: 40-2=38, Resulting Numbers: [67, 38]\nGenerated Node #0,13,1: 31:[67, 38] Operation: 40-2=38\nMoving to Node #0,13,1\nCurrent State: 31:[67, 38], Operations: ['15+52=67', '40-2=38']\nExploring Operation: 67-38=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 31:[40, 2, 67], Operations: ['15+52=67']\nExploring Operation: 67-2=65, Resulting Numbers: [40, 65]\nGenerated Node #0,13,2: 31:[40, 65] Operation: 67-2=65\nMoving to Node #0,13,2\nCurrent State: 31:[40, 65], Operations: ['15+52=67', '67-2=65']\nExploring Operation: 65-40=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 31:[40, 2, 67], Operations: ['15+52=67']\nExploring Operation: 40+2=42, Resulting Numbers: [67, 42]\nGenerated Node #0,13,3: 31:[67, 42] Operation: 40+2=42\nMoving to Node #0,13,3\nCurrent State: 31:[67, 42], Operations: ['15+52=67', '40+2=42']\nExploring Operation: 67-42=25, Resulting Numbers: [25]\n25,31 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 31:[40, 2, 67], Operations: ['15+52=67']\nExploring Operation: 40/2=20, Resulting Numbers: [67, 20]\nGenerated Node #0,13,4: 31:[67, 20] Operation: 40/2=20\nMoving to Node #0,13,4\nCurrent State: 31:[67, 20], Operations: ['15+52=67', '40/2=20']\nExploring Operation: 67-20=47, Resulting Numbers: [47]\n47,31 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 31:[40, 2, 67], Operations: ['15+52=67']\nExploring Operation: 2+67=69, Resulting Numbers: [40, 69]\nGenerated Node #0,13,5: 31:[40, 69] Operation: 2+67=69\nMoving to Node #0,13,5\nCurrent State: 31:[40, 69], Operations: ['15+52=67', '2+67=69']\nExploring Operation: 69-40=29, Resulting Numbers: [29]\n29,31 unequal: No Solution\nMoving to Node #0\nCurrent State: 31:[40, 15, 2, 52], Operations: []\nExploring Operation: 40*2=80, Resulting Numbers: [15, 52, 80]\nGenerated Node #0,14: 31:[15, 52, 80] Operation: 40*2=80\nMoving to Node #0,14\nCurrent State: 31:[15, 52, 80], Operations: ['40*2=80']\nExploring Operation: 80-52=28, Resulting Numbers: [15, 28]\nGenerated Node #0,14,0: 31:[15, 28] Operation: 80-52=28\nMoving to Node #0,14,0\nCurrent State: 31:[15, 28], Operations: ['40*2=80', '80-52=28']\nExploring Operation: 15+28=43, Resulting Numbers: [43]\n43,31 unequal: No Solution\nMoving to Node #0,14,0\nCurrent State: 31:[15, 28], Operations: ['40*2=80', '80-52=28']\nExploring Operation: 28-15=13, Resulting Numbers: [13]\n13,31 unequal: No Solution\nMoving to Node #0,14\nCurrent State: 31:[15, 52, 80], Operations: ['40*2=80']\nExploring Operation: 52-15=37, Resulting Numbers: [80, 37]\nGenerated Node #0,14,1: 31:[80, 37] Operation: 52-15=37\nMoving to Node #0,14,1\nCurrent State: 31:[80, 37], Operations: ['40*2=80', '52-15=37']\nExploring Operation: 80-37=43, Resulting Numbers: [43]\n43,31 unequal: No Solution\nMoving to Node #0,14\nCurrent State: 31:[15, 52, 80], Operations: ['40*2=80']\nExploring Operation: 80-15=65, Resulting Numbers: [52, 65]\nGenerated Node #0,14,2: 31:[52, 65] Operation: 80-15=65\nMoving to Node #0,14,2\nCurrent State: 31:[52, 65], Operations: ['40*2=80', '80-15=65']\nExploring Operation: 65-52=13, Resulting Numbers: [13]\n13,31 unequal: No Solution\n", "role": "assistant" } ]
[ 30, 43, 39, 11 ]
78
[ "43-30=13", "13-11=2", "39*2=78" ]
Current State: 78:[30, 43, 39, 11], Operations: [] Exploring Operation: 39-30=9, Resulting Numbers: [43, 11, 9] Generated Node #0,0: 78:[43, 11, 9] Operation: 39-30=9 Exploring Operation: 30+43=73, Resulting Numbers: [39, 11, 73] Generated Node #0,1: 78:[39, 11, 73] Operation: 30+43=73 Exploring Operation: 30+11=41, Resulting Numbers: [43, 39, 41] Generated Node #0,2: 78:[43, 39, 41] Operation: 30+11=41 Exploring Operation: 43-39=4, Resulting Numbers: [30, 11, 4] Generated Node #0,3: 78:[30, 11, 4] Operation: 43-39=4 Exploring Operation: 43-30=13, Resulting Numbers: [39, 11, 13] Generated Node #0,4: 78:[39, 11, 13] Operation: 43-30=13 Moving to Node #0,4 Current State: 78:[39, 11, 13], Operations: ['43-30=13'] Exploring Operation: 39/13=3, Resulting Numbers: [11, 3] Generated Node #0,4,0: 78:[11, 3] Operation: 39/13=3 Exploring Operation: 39-11=28, Resulting Numbers: [13, 28] Generated Node #0,4,1: 78:[13, 28] Operation: 39-11=28 Exploring Operation: 13-11=2, Resulting Numbers: [39, 2] Generated Node #0,4,2: 78:[39, 2] Operation: 13-11=2 Exploring Operation: 11+13=24, Resulting Numbers: [39, 24] Generated Node #0,4,3: 78:[39, 24] Operation: 11+13=24 Exploring Operation: 39-13=26, Resulting Numbers: [11, 26] Generated Node #0,4,4: 78:[11, 26] Operation: 39-13=26 Moving to Node #0,2 Current State: 78:[43, 39, 41], Operations: ['30+11=41'] Exploring Operation: 41-39=2, Resulting Numbers: [43, 2] Generated Node #0,2,0: 78:[43, 2] Operation: 41-39=2 Exploring Operation: 43+41=84, Resulting Numbers: [39, 84] Generated Node #0,2,1: 78:[39, 84] Operation: 43+41=84 Exploring Operation: 43+39=82, Resulting Numbers: [41, 82] Generated Node #0,2,2: 78:[41, 82] Operation: 43+39=82 Exploring Operation: 43-41=2, Resulting Numbers: [39, 2] Generated Node #0,2,3: 78:[39, 2] Operation: 43-41=2 Exploring Operation: 43-39=4, Resulting Numbers: [41, 4] Generated Node #0,2,4: 78:[41, 4] Operation: 43-39=4 Moving to Node #0,1 Current State: 78:[39, 11, 73], Operations: ['30+43=73'] Exploring Operation: 73-39=34, Resulting Numbers: [11, 34] Generated Node #0,1,0: 78:[11, 34] Operation: 73-39=34 Exploring Operation: 73-11=62, Resulting Numbers: [39, 62] Generated Node #0,1,1: 78:[39, 62] Operation: 73-11=62 Exploring Operation: 39-11=28, Resulting Numbers: [73, 28] Generated Node #0,1,2: 78:[73, 28] Operation: 39-11=28 Exploring Operation: 39+11=50, Resulting Numbers: [73, 50] Generated Node #0,1,3: 78:[73, 50] Operation: 39+11=50 Exploring Operation: 11+73=84, Resulting Numbers: [39, 84] Generated Node #0,1,4: 78:[39, 84] Operation: 11+73=84 Moving to Node #0,3 Current State: 78:[30, 11, 4], Operations: ['43-39=4'] Exploring Operation: 11-4=7, Resulting Numbers: [30, 7] Generated Node #0,3,0: 78:[30, 7] Operation: 11-4=7 Exploring Operation: 30-4=26, Resulting Numbers: [11, 26] Generated Node #0,3,1: 78:[11, 26] Operation: 30-4=26 Exploring Operation: 30-11=19, Resulting Numbers: [4, 19] Generated Node #0,3,2: 78:[4, 19] Operation: 30-11=19 Exploring Operation: 11+4=15, Resulting Numbers: [30, 15] Generated Node #0,3,3: 78:[30, 15] Operation: 11+4=15 Exploring Operation: 30+11=41, Resulting Numbers: [4, 41] Generated Node #0,3,4: 78:[4, 41] Operation: 30+11=41 Moving to Node #0,0 Current State: 78:[43, 11, 9], Operations: ['39-30=9'] Exploring Operation: 43-11=32, Resulting Numbers: [9, 32] Generated Node #0,0,0: 78:[9, 32] Operation: 43-11=32 Exploring Operation: 11+9=20, Resulting Numbers: [43, 20] Generated Node #0,0,1: 78:[43, 20] Operation: 11+9=20 Exploring Operation: 43-9=34, Resulting Numbers: [11, 34] Generated Node #0,0,2: 78:[11, 34] Operation: 43-9=34 Exploring Operation: 11-9=2, Resulting Numbers: [43, 2] Generated Node #0,0,3: 78:[43, 2] Operation: 11-9=2 Exploring Operation: 43+9=52, Resulting Numbers: [11, 52] Generated Node #0,0,4: 78:[11, 52] Operation: 43+9=52 Moving to Node #0,4,2 Current State: 78:[39, 2], Operations: ['43-30=13', '13-11=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.970486
bfs_5
Current State: 78:[30, 43, 39, 11], Operations: [] Exploring Operation: 43-30=13, Resulting Numbers: [39, 11, 13] Generated Node #2: [39, 11, 13] from Operation: 43-30=13 Current State: 78:[39, 11, 13], Operations: ['43-30=13'] Exploring Operation: 13-11=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 13-11=2 Current State: 78:[39, 2], Operations: ['43-30=13', '13-11=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
mult_heuristic
[ { "content": "Make 78 with the numbers [30, 43, 39, 11] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 78:[30, 43, 39, 11], Operations: []\nExploring Operation: 39-30=9, Resulting Numbers: [43, 11, 9]\nGenerated Node #0,0: 78:[43, 11, 9] Operation: 39-30=9\nExploring Operation: 30+43=73, Resulting Numbers: [39, 11, 73]\nGenerated Node #0,1: 78:[39, 11, 73] Operation: 30+43=73\nExploring Operation: 30+11=41, Resulting Numbers: [43, 39, 41]\nGenerated Node #0,2: 78:[43, 39, 41] Operation: 30+11=41\nExploring Operation: 43-39=4, Resulting Numbers: [30, 11, 4]\nGenerated Node #0,3: 78:[30, 11, 4] Operation: 43-39=4\nExploring Operation: 43-30=13, Resulting Numbers: [39, 11, 13]\nGenerated Node #0,4: 78:[39, 11, 13] Operation: 43-30=13\nMoving to Node #0,4\nCurrent State: 78:[39, 11, 13], Operations: ['43-30=13']\nExploring Operation: 39/13=3, Resulting Numbers: [11, 3]\nGenerated Node #0,4,0: 78:[11, 3] Operation: 39/13=3\nExploring Operation: 39-11=28, Resulting Numbers: [13, 28]\nGenerated Node #0,4,1: 78:[13, 28] Operation: 39-11=28\nExploring Operation: 13-11=2, Resulting Numbers: [39, 2]\nGenerated Node #0,4,2: 78:[39, 2] Operation: 13-11=2\nExploring Operation: 11+13=24, Resulting Numbers: [39, 24]\nGenerated Node #0,4,3: 78:[39, 24] Operation: 11+13=24\nExploring Operation: 39-13=26, Resulting Numbers: [11, 26]\nGenerated Node #0,4,4: 78:[11, 26] Operation: 39-13=26\nMoving to Node #0,2\nCurrent State: 78:[43, 39, 41], Operations: ['30+11=41']\nExploring Operation: 41-39=2, Resulting Numbers: [43, 2]\nGenerated Node #0,2,0: 78:[43, 2] Operation: 41-39=2\nExploring Operation: 43+41=84, Resulting Numbers: [39, 84]\nGenerated Node #0,2,1: 78:[39, 84] Operation: 43+41=84\nExploring Operation: 43+39=82, Resulting Numbers: [41, 82]\nGenerated Node #0,2,2: 78:[41, 82] Operation: 43+39=82\nExploring Operation: 43-41=2, Resulting Numbers: [39, 2]\nGenerated Node #0,2,3: 78:[39, 2] Operation: 43-41=2\nExploring Operation: 43-39=4, Resulting Numbers: [41, 4]\nGenerated Node #0,2,4: 78:[41, 4] Operation: 43-39=4\nMoving to Node #0,1\nCurrent State: 78:[39, 11, 73], Operations: ['30+43=73']\nExploring Operation: 73-39=34, Resulting Numbers: [11, 34]\nGenerated Node #0,1,0: 78:[11, 34] Operation: 73-39=34\nExploring Operation: 73-11=62, Resulting Numbers: [39, 62]\nGenerated Node #0,1,1: 78:[39, 62] Operation: 73-11=62\nExploring Operation: 39-11=28, Resulting Numbers: [73, 28]\nGenerated Node #0,1,2: 78:[73, 28] Operation: 39-11=28\nExploring Operation: 39+11=50, Resulting Numbers: [73, 50]\nGenerated Node #0,1,3: 78:[73, 50] Operation: 39+11=50\nExploring Operation: 11+73=84, Resulting Numbers: [39, 84]\nGenerated Node #0,1,4: 78:[39, 84] Operation: 11+73=84\nMoving to Node #0,3\nCurrent State: 78:[30, 11, 4], Operations: ['43-39=4']\nExploring Operation: 11-4=7, Resulting Numbers: [30, 7]\nGenerated Node #0,3,0: 78:[30, 7] Operation: 11-4=7\nExploring Operation: 30-4=26, Resulting Numbers: [11, 26]\nGenerated Node #0,3,1: 78:[11, 26] Operation: 30-4=26\nExploring Operation: 30-11=19, Resulting Numbers: [4, 19]\nGenerated Node #0,3,2: 78:[4, 19] Operation: 30-11=19\nExploring Operation: 11+4=15, Resulting Numbers: [30, 15]\nGenerated Node #0,3,3: 78:[30, 15] Operation: 11+4=15\nExploring Operation: 30+11=41, Resulting Numbers: [4, 41]\nGenerated Node #0,3,4: 78:[4, 41] Operation: 30+11=41\nMoving to Node #0,0\nCurrent State: 78:[43, 11, 9], Operations: ['39-30=9']\nExploring Operation: 43-11=32, Resulting Numbers: [9, 32]\nGenerated Node #0,0,0: 78:[9, 32] Operation: 43-11=32\nExploring Operation: 11+9=20, Resulting Numbers: [43, 20]\nGenerated Node #0,0,1: 78:[43, 20] Operation: 11+9=20\nExploring Operation: 43-9=34, Resulting Numbers: [11, 34]\nGenerated Node #0,0,2: 78:[11, 34] Operation: 43-9=34\nExploring Operation: 11-9=2, Resulting Numbers: [43, 2]\nGenerated Node #0,0,3: 78:[43, 2] Operation: 11-9=2\nExploring Operation: 43+9=52, Resulting Numbers: [11, 52]\nGenerated Node #0,0,4: 78:[11, 52] Operation: 43+9=52\nMoving to Node #0,4,2\nCurrent State: 78:[39, 2], Operations: ['43-30=13', '13-11=2']\nExploring Operation: 39+2=41, Resulting Numbers: [41]\n41,78 unequal: No Solution\nExploring Operation: 39-2=37, Resulting Numbers: [37]\n37,78 unequal: No Solution\nExploring Operation: 39*2=78, Resulting Numbers: [78]\n78,78 equal: Goal Reached\n", "role": "assistant" } ]
[ 20, 88, 52, 14 ]
68
[ "20*52=1040", "1040-88=952", "952/14=68" ]
Current State: 68:[20, 88, 52, 14], Operations: [] Exploring Operation: 88-20=68, Resulting Numbers: [52, 14, 68] Generated Node #0,0: 68:[52, 14, 68] Operation: 88-20=68 Exploring Operation: 20+14=34, Resulting Numbers: [88, 52, 34] Generated Node #0,1: 68:[88, 52, 34] Operation: 20+14=34 Moving to Node #0,0 Current State: 68:[52, 14, 68], Operations: ['88-20=68'] Exploring Operation: 52-14=38, Resulting Numbers: [68, 38] Generated Node #0,0,0: 68:[68, 38] Operation: 52-14=38 Exploring Operation: 52+14=66, Resulting Numbers: [68, 66] Generated Node #0,0,1: 68:[68, 66] Operation: 52+14=66 Moving to Node #0,1 Current State: 68:[88, 52, 34], Operations: ['20+14=34'] Exploring Operation: 52+34=86, Resulting Numbers: [88, 86] Generated Node #0,1,0: 68:[88, 86] Operation: 52+34=86 Exploring Operation: 88-34=54, Resulting Numbers: [52, 54] Generated Node #0,1,1: 68:[52, 54] Operation: 88-34=54 Moving to Node #0,0,1 Current State: 68:[68, 66], Operations: ['88-20=68', '52+14=66'] Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 68+66=134, Resulting Numbers: [134] 134,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[52, 54], Operations: ['20+14=34', '88-34=54'] Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 52+54=106, Resulting Numbers: [106] 106,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[68, 38], Operations: ['88-20=68', '52-14=38'] Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 68+38=106, Resulting Numbers: [106] 106,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[88, 86], Operations: ['20+14=34', '52+34=86'] Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 88+86=174, Resulting Numbers: [174] 174,68 unequal: No Solution Moving to Node #0,1,1,0 Current State: 68:[106], Operations: ['20+14=34', '88-34=54', '52+54=106'] Moving to Node #0,0,0,0 Current State: 68:[106], Operations: ['88-20=68', '52-14=38', '68+38=106'] Moving to Node #0,0,0,0 Current State: 68:[30], Operations: ['88-20=68', '52-14=38', '68-38=30'] Moving to Node #0,1,0,0 Current State: 68:[2], Operations: ['20+14=34', '52+34=86', '88-86=2'] Moving to Node #0,0,1,0 Current State: 68:[2], Operations: ['88-20=68', '52+14=66', '68-66=2'] Moving to Node #0,0,1,0 Current State: 68:[134], Operations: ['88-20=68', '52+14=66', '68+66=134'] Moving to Node #0,1,1,0 Current State: 68:[2], Operations: ['20+14=34', '88-34=54', '54-52=2'] Moving to Node #0,1,0,0 Current State: 68:[174], Operations: ['20+14=34', '52+34=86', '88+86=174'] No solution found.
0
bfs_2
Current State: 68:[20, 88, 52, 14], Operations: [] Exploring Operation: 20*52=1040, Resulting Numbers: [88, 14, 1040] Generated Node #2: [88, 14, 1040] from Operation: 20*52=1040 Current State: 68:[88, 14, 1040], Operations: ['20*52=1040'] Exploring Operation: 1040-88=952, Resulting Numbers: [14, 952] Generated Node #3: [14, 952] from Operation: 1040-88=952 Current State: 68:[14, 952], Operations: ['20*52=1040', '1040-88=952'] Exploring Operation: 952/14=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
sum_heuristic
[ { "content": "Make 68 with the numbers [20, 88, 52, 14] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 68:[20, 88, 52, 14], Operations: []\nExploring Operation: 88-20=68, Resulting Numbers: [52, 14, 68]\nGenerated Node #0,0: 68:[52, 14, 68] Operation: 88-20=68\nExploring Operation: 20+14=34, Resulting Numbers: [88, 52, 34]\nGenerated Node #0,1: 68:[88, 52, 34] Operation: 20+14=34\nMoving to Node #0,0\nCurrent State: 68:[52, 14, 68], Operations: ['88-20=68']\nExploring Operation: 52-14=38, Resulting Numbers: [68, 38]\nGenerated Node #0,0,0: 68:[68, 38] Operation: 52-14=38\nExploring Operation: 52+14=66, Resulting Numbers: [68, 66]\nGenerated Node #0,0,1: 68:[68, 66] Operation: 52+14=66\nMoving to Node #0,1\nCurrent State: 68:[88, 52, 34], Operations: ['20+14=34']\nExploring Operation: 52+34=86, Resulting Numbers: [88, 86]\nGenerated Node #0,1,0: 68:[88, 86] Operation: 52+34=86\nExploring Operation: 88-34=54, Resulting Numbers: [52, 54]\nGenerated Node #0,1,1: 68:[52, 54] Operation: 88-34=54\nMoving to Node #0,0,1\nCurrent State: 68:[68, 66], Operations: ['88-20=68', '52+14=66']\nExploring Operation: 68-66=2, Resulting Numbers: [2]\n2,68 unequal: No Solution\nExploring Operation: 68+66=134, Resulting Numbers: [134]\n134,68 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 68:[52, 54], Operations: ['20+14=34', '88-34=54']\nExploring Operation: 54-52=2, Resulting Numbers: [2]\n2,68 unequal: No Solution\nExploring Operation: 52+54=106, Resulting Numbers: [106]\n106,68 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 68:[68, 38], Operations: ['88-20=68', '52-14=38']\nExploring Operation: 68-38=30, Resulting Numbers: [30]\n30,68 unequal: No Solution\nExploring Operation: 68+38=106, Resulting Numbers: [106]\n106,68 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 68:[88, 86], Operations: ['20+14=34', '52+34=86']\nExploring Operation: 88-86=2, Resulting Numbers: [2]\n2,68 unequal: No Solution\nExploring Operation: 88+86=174, Resulting Numbers: [174]\n174,68 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 68:[106], Operations: ['20+14=34', '88-34=54', '52+54=106']\nMoving to Node #0,0,0,0\nCurrent State: 68:[106], Operations: ['88-20=68', '52-14=38', '68+38=106']\nMoving to Node #0,0,0,0\nCurrent State: 68:[30], Operations: ['88-20=68', '52-14=38', '68-38=30']\nMoving to Node #0,1,0,0\nCurrent State: 68:[2], Operations: ['20+14=34', '52+34=86', '88-86=2']\nMoving to Node #0,0,1,0\nCurrent State: 68:[2], Operations: ['88-20=68', '52+14=66', '68-66=2']\nMoving to Node #0,0,1,0\nCurrent State: 68:[134], Operations: ['88-20=68', '52+14=66', '68+66=134']\nMoving to Node #0,1,1,0\nCurrent State: 68:[2], Operations: ['20+14=34', '88-34=54', '54-52=2']\nMoving to Node #0,1,0,0\nCurrent State: 68:[174], Operations: ['20+14=34', '52+34=86', '88+86=174']\nNo solution found.", "role": "assistant" } ]
[ 4, 83, 30, 33 ]
29
[ "4+83=87", "33-30=3", "87/3=29" ]
Current State: 29:[4, 83, 30, 33], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [4, 30, 50] Generated Node #0,0: 29:[4, 30, 50] Operation: 83-33=50 Moving to Node #0,0 Current State: 29:[4, 30, 50], Operations: ['83-33=50'] Exploring Operation: 50-4=46, Resulting Numbers: [30, 46] Generated Node #0,0,0: 29:[30, 46] Operation: 50-4=46 Moving to Node #0,0,0 Current State: 29:[30, 46], Operations: ['83-33=50', '50-4=46'] Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,0 Current State: 29:[4, 30, 50], Operations: ['83-33=50'] Exploring Operation: 30-4=26, Resulting Numbers: [50, 26] Generated Node #0,0,1: 29:[50, 26] Operation: 30-4=26 Moving to Node #0,0,1 Current State: 29:[50, 26], Operations: ['83-33=50', '30-4=26'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,0 Current State: 29:[4, 30, 50], Operations: ['83-33=50'] Exploring Operation: 4+30=34, Resulting Numbers: [50, 34] Generated Node #0,0,2: 29:[50, 34] Operation: 4+30=34 Moving to Node #0,0,2 Current State: 29:[50, 34], Operations: ['83-33=50', '4+30=34'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,0 Current State: 29:[4, 30, 50], Operations: ['83-33=50'] Exploring Operation: 4+50=54, Resulting Numbers: [30, 54] Generated Node #0,0,3: 29:[30, 54] Operation: 4+50=54 Moving to Node #0,0,3 Current State: 29:[30, 54], Operations: ['83-33=50', '4+50=54'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,0 Current State: 29:[4, 30, 50], Operations: ['83-33=50'] Exploring Operation: 50-30=20, Resulting Numbers: [4, 20] Generated Node #0,0,4: 29:[4, 20] Operation: 50-30=20 Moving to Node #0,0,4 Current State: 29:[4, 20], Operations: ['83-33=50', '50-30=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[4, 20], Operations: ['83-33=50', '50-30=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[4, 20], Operations: ['83-33=50', '50-30=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,29 unequal: No Solution Moving to Node #0 Current State: 29:[4, 83, 30, 33], Operations: [] Exploring Operation: 83-30=53, Resulting Numbers: [4, 33, 53] Generated Node #0,1: 29:[4, 33, 53] Operation: 83-30=53 Moving to Node #0,1 Current State: 29:[4, 33, 53], Operations: ['83-30=53'] Exploring Operation: 33-4=29, Resulting Numbers: [53, 29] Generated Node #0,1,0: 29:[53, 29] Operation: 33-4=29 Moving to Node #0,1,0 Current State: 29:[53, 29], Operations: ['83-30=53', '33-4=29'] Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,1 Current State: 29:[4, 33, 53], Operations: ['83-30=53'] Exploring Operation: 53-4=49, Resulting Numbers: [33, 49] Generated Node #0,1,1: 29:[33, 49] Operation: 53-4=49 Moving to Node #0,1,1 Current State: 29:[33, 49], Operations: ['83-30=53', '53-4=49'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,1 Current State: 29:[4, 33, 53], Operations: ['83-30=53'] Exploring Operation: 4+33=37, Resulting Numbers: [53, 37] Generated Node #0,1,2: 29:[53, 37] Operation: 4+33=37 Moving to Node #0,1,2 Current State: 29:[53, 37], Operations: ['83-30=53', '4+33=37'] Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,1 Current State: 29:[4, 33, 53], Operations: ['83-30=53'] Exploring Operation: 4+53=57, Resulting Numbers: [33, 57] Generated Node #0,1,3: 29:[33, 57] Operation: 4+53=57 Moving to Node #0,1,3 Current State: 29:[33, 57], Operations: ['83-30=53', '4+53=57'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,1 Current State: 29:[4, 33, 53], Operations: ['83-30=53'] Exploring Operation: 53-33=20, Resulting Numbers: [4, 20] Generated Node #0,1,4: 29:[4, 20] Operation: 53-33=20 Moving to Node #0,1,4 Current State: 29:[4, 20], Operations: ['83-30=53', '53-33=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[4, 20], Operations: ['83-30=53', '53-33=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[4, 20], Operations: ['83-30=53', '53-33=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,29 unequal: No Solution Moving to Node #0 Current State: 29:[4, 83, 30, 33], Operations: [] Exploring Operation: 83-4=79, Resulting Numbers: [30, 33, 79] Generated Node #0,2: 29:[30, 33, 79] Operation: 83-4=79 Moving to Node #0,2 Current State: 29:[30, 33, 79], Operations: ['83-4=79'] Exploring Operation: 79-33=46, Resulting Numbers: [30, 46] Generated Node #0,2,0: 29:[30, 46] Operation: 79-33=46 Moving to Node #0,2,0 Current State: 29:[30, 46], Operations: ['83-4=79', '79-33=46'] Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,2 Current State: 29:[30, 33, 79], Operations: ['83-4=79'] Exploring Operation: 79-30=49, Resulting Numbers: [33, 49] Generated Node #0,2,1: 29:[33, 49] Operation: 79-30=49 Moving to Node #0,2,1 Current State: 29:[33, 49], Operations: ['83-4=79', '79-30=49'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0 Current State: 29:[4, 83, 30, 33], Operations: [] Exploring Operation: 33-4=29, Resulting Numbers: [83, 30, 29] Generated Node #0,3: 29:[83, 30, 29] Operation: 33-4=29 Moving to Node #0,3 Current State: 29:[83, 30, 29], Operations: ['33-4=29'] Exploring Operation: 83-30=53, Resulting Numbers: [29, 53] Generated Node #0,3,0: 29:[29, 53] Operation: 83-30=53 Moving to Node #0,3,0 Current State: 29:[29, 53], Operations: ['33-4=29', '83-30=53'] Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,3 Current State: 29:[83, 30, 29], Operations: ['33-4=29'] Exploring Operation: 83-29=54, Resulting Numbers: [30, 54] Generated Node #0,3,1: 29:[30, 54] Operation: 83-29=54 Moving to Node #0,3,1 Current State: 29:[30, 54], Operations: ['33-4=29', '83-29=54'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0 Current State: 29:[4, 83, 30, 33], Operations: [] Exploring Operation: 30-4=26, Resulting Numbers: [83, 33, 26] Generated Node #0,4: 29:[83, 33, 26] Operation: 30-4=26 Moving to Node #0,4 Current State: 29:[83, 33, 26], Operations: ['30-4=26'] Exploring Operation: 83-33=50, Resulting Numbers: [26, 50] Generated Node #0,4,0: 29:[26, 50] Operation: 83-33=50 Moving to Node #0,4,0 Current State: 29:[26, 50], Operations: ['30-4=26', '83-33=50'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,4 Current State: 29:[83, 33, 26], Operations: ['30-4=26'] Exploring Operation: 83-26=57, Resulting Numbers: [33, 57] Generated Node #0,4,1: 29:[33, 57] Operation: 83-26=57 Moving to Node #0,4,1 Current State: 29:[33, 57], Operations: ['30-4=26', '83-26=57'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0 Current State: 29:[4, 83, 30, 33], Operations: [] Exploring Operation: 4+83=87, Resulting Numbers: [30, 33, 87] Generated Node #0,5: 29:[30, 33, 87] Operation: 4+83=87 Moving to Node #0,5 Current State: 29:[30, 33, 87], Operations: ['4+83=87'] Exploring Operation: 87-33=54, Resulting Numbers: [30, 54] Generated Node #0,5,0: 29:[30, 54] Operation: 87-33=54 Moving to Node #0,5,0 Current State: 29:[30, 54], Operations: ['4+83=87', '87-33=54'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,5 Current State: 29:[30, 33, 87], Operations: ['4+83=87'] Exploring Operation: 87-30=57, Resulting Numbers: [33, 57] Generated Node #0,5,1: 29:[33, 57] Operation: 87-30=57 Moving to Node #0,5,1 Current State: 29:[33, 57], Operations: ['4+83=87', '87-30=57'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0 Current State: 29:[4, 83, 30, 33], Operations: [] Exploring Operation: 4+30=34, Resulting Numbers: [83, 33, 34] Generated Node #0,6: 29:[83, 33, 34] Operation: 4+30=34 Moving to Node #0,6 Current State: 29:[83, 33, 34], Operations: ['4+30=34'] Exploring Operation: 83-34=49, Resulting Numbers: [33, 49] Generated Node #0,6,0: 29:[33, 49] Operation: 83-34=49 Moving to Node #0,6,0 Current State: 29:[33, 49], Operations: ['4+30=34', '83-34=49'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,6 Current State: 29:[83, 33, 34], Operations: ['4+30=34'] Exploring Operation: 83-33=50, Resulting Numbers: [34, 50] Generated Node #0,6,1: 29:[34, 50] Operation: 83-33=50 Moving to Node #0,6,1 Current State: 29:[34, 50], Operations: ['4+30=34', '83-33=50'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0 Current State: 29:[4, 83, 30, 33], Operations: [] Exploring Operation: 4+33=37, Resulting Numbers: [83, 30, 37] Generated Node #0,7: 29:[83, 30, 37] Operation: 4+33=37 Moving to Node #0,7 Current State: 29:[83, 30, 37], Operations: ['4+33=37'] Exploring Operation: 83-37=46, Resulting Numbers: [30, 46] Generated Node #0,7,0: 29:[30, 46] Operation: 83-37=46 Moving to Node #0,7,0 Current State: 29:[30, 46], Operations: ['4+33=37', '83-37=46'] Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,7 Current State: 29:[83, 30, 37], Operations: ['4+33=37'] Exploring Operation: 83-30=53, Resulting Numbers: [37, 53] Generated Node #0,7,1: 29:[37, 53] Operation: 83-30=53 Moving to Node #0,7,1 Current State: 29:[37, 53], Operations: ['4+33=37', '83-30=53'] Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,29 unequal: No Solution
0
dfs
Current State: 29:[4, 83, 30, 33], Operations: [] Exploring Operation: 4+83=87, Resulting Numbers: [30, 33, 87] Generated Node #2: [30, 33, 87] from Operation: 4+83=87 Current State: 29:[30, 33, 87], Operations: ['4+83=87'] Exploring Operation: 33-30=3, Resulting Numbers: [87, 3] Generated Node #3: [87, 3] from Operation: 33-30=3 Current State: 29:[87, 3], Operations: ['4+83=87', '33-30=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
sum_heuristic
[ { "content": "Make 29 with the numbers [4, 83, 30, 33] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 29:[4, 83, 30, 33], Operations: []\nExploring Operation: 83-33=50, Resulting Numbers: [4, 30, 50]\nGenerated Node #0,0: 29:[4, 30, 50] Operation: 83-33=50\nMoving to Node #0,0\nCurrent State: 29:[4, 30, 50], Operations: ['83-33=50']\nExploring Operation: 50-4=46, Resulting Numbers: [30, 46]\nGenerated Node #0,0,0: 29:[30, 46] Operation: 50-4=46\nMoving to Node #0,0,0\nCurrent State: 29:[30, 46], Operations: ['83-33=50', '50-4=46']\nExploring Operation: 46-30=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 29:[4, 30, 50], Operations: ['83-33=50']\nExploring Operation: 30-4=26, Resulting Numbers: [50, 26]\nGenerated Node #0,0,1: 29:[50, 26] Operation: 30-4=26\nMoving to Node #0,0,1\nCurrent State: 29:[50, 26], Operations: ['83-33=50', '30-4=26']\nExploring Operation: 50-26=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 29:[4, 30, 50], Operations: ['83-33=50']\nExploring Operation: 4+30=34, Resulting Numbers: [50, 34]\nGenerated Node #0,0,2: 29:[50, 34] Operation: 4+30=34\nMoving to Node #0,0,2\nCurrent State: 29:[50, 34], Operations: ['83-33=50', '4+30=34']\nExploring Operation: 50-34=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 29:[4, 30, 50], Operations: ['83-33=50']\nExploring Operation: 4+50=54, Resulting Numbers: [30, 54]\nGenerated Node #0,0,3: 29:[30, 54] Operation: 4+50=54\nMoving to Node #0,0,3\nCurrent State: 29:[30, 54], Operations: ['83-33=50', '4+50=54']\nExploring Operation: 54-30=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 29:[4, 30, 50], Operations: ['83-33=50']\nExploring Operation: 50-30=20, Resulting Numbers: [4, 20]\nGenerated Node #0,0,4: 29:[4, 20] Operation: 50-30=20\nMoving to Node #0,0,4\nCurrent State: 29:[4, 20], Operations: ['83-33=50', '50-30=20']\nExploring Operation: 4+20=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 29:[4, 20], Operations: ['83-33=50', '50-30=20']\nExploring Operation: 20-4=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 29:[4, 20], Operations: ['83-33=50', '50-30=20']\nExploring Operation: 20/4=5, Resulting Numbers: [5]\n5,29 unequal: No Solution\nMoving to Node #0\nCurrent State: 29:[4, 83, 30, 33], Operations: []\nExploring Operation: 83-30=53, Resulting Numbers: [4, 33, 53]\nGenerated Node #0,1: 29:[4, 33, 53] Operation: 83-30=53\nMoving to Node #0,1\nCurrent State: 29:[4, 33, 53], Operations: ['83-30=53']\nExploring Operation: 33-4=29, Resulting Numbers: [53, 29]\nGenerated Node #0,1,0: 29:[53, 29] Operation: 33-4=29\nMoving to Node #0,1,0\nCurrent State: 29:[53, 29], Operations: ['83-30=53', '33-4=29']\nExploring Operation: 53-29=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 29:[4, 33, 53], Operations: ['83-30=53']\nExploring Operation: 53-4=49, Resulting Numbers: [33, 49]\nGenerated Node #0,1,1: 29:[33, 49] Operation: 53-4=49\nMoving to Node #0,1,1\nCurrent State: 29:[33, 49], Operations: ['83-30=53', '53-4=49']\nExploring Operation: 49-33=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 29:[4, 33, 53], Operations: ['83-30=53']\nExploring Operation: 4+33=37, Resulting Numbers: [53, 37]\nGenerated Node #0,1,2: 29:[53, 37] Operation: 4+33=37\nMoving to Node #0,1,2\nCurrent State: 29:[53, 37], Operations: ['83-30=53', '4+33=37']\nExploring Operation: 53-37=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 29:[4, 33, 53], Operations: ['83-30=53']\nExploring Operation: 4+53=57, Resulting Numbers: [33, 57]\nGenerated Node #0,1,3: 29:[33, 57] Operation: 4+53=57\nMoving to Node #0,1,3\nCurrent State: 29:[33, 57], Operations: ['83-30=53', '4+53=57']\nExploring Operation: 57-33=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 29:[4, 33, 53], Operations: ['83-30=53']\nExploring Operation: 53-33=20, Resulting Numbers: [4, 20]\nGenerated Node #0,1,4: 29:[4, 20] Operation: 53-33=20\nMoving to Node #0,1,4\nCurrent State: 29:[4, 20], Operations: ['83-30=53', '53-33=20']\nExploring Operation: 4+20=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 29:[4, 20], Operations: ['83-30=53', '53-33=20']\nExploring Operation: 20-4=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 29:[4, 20], Operations: ['83-30=53', '53-33=20']\nExploring Operation: 20/4=5, Resulting Numbers: [5]\n5,29 unequal: No Solution\nMoving to Node #0\nCurrent State: 29:[4, 83, 30, 33], Operations: []\nExploring Operation: 83-4=79, Resulting Numbers: [30, 33, 79]\nGenerated Node #0,2: 29:[30, 33, 79] Operation: 83-4=79\nMoving to Node #0,2\nCurrent State: 29:[30, 33, 79], Operations: ['83-4=79']\nExploring Operation: 79-33=46, Resulting Numbers: [30, 46]\nGenerated Node #0,2,0: 29:[30, 46] Operation: 79-33=46\nMoving to Node #0,2,0\nCurrent State: 29:[30, 46], Operations: ['83-4=79', '79-33=46']\nExploring Operation: 46-30=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 29:[30, 33, 79], Operations: ['83-4=79']\nExploring Operation: 79-30=49, Resulting Numbers: [33, 49]\nGenerated Node #0,2,1: 29:[33, 49] Operation: 79-30=49\nMoving to Node #0,2,1\nCurrent State: 29:[33, 49], Operations: ['83-4=79', '79-30=49']\nExploring Operation: 49-33=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0\nCurrent State: 29:[4, 83, 30, 33], Operations: []\nExploring Operation: 33-4=29, Resulting Numbers: [83, 30, 29]\nGenerated Node #0,3: 29:[83, 30, 29] Operation: 33-4=29\nMoving to Node #0,3\nCurrent State: 29:[83, 30, 29], Operations: ['33-4=29']\nExploring Operation: 83-30=53, Resulting Numbers: [29, 53]\nGenerated Node #0,3,0: 29:[29, 53] Operation: 83-30=53\nMoving to Node #0,3,0\nCurrent State: 29:[29, 53], Operations: ['33-4=29', '83-30=53']\nExploring Operation: 53-29=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 29:[83, 30, 29], Operations: ['33-4=29']\nExploring Operation: 83-29=54, Resulting Numbers: [30, 54]\nGenerated Node #0,3,1: 29:[30, 54] Operation: 83-29=54\nMoving to Node #0,3,1\nCurrent State: 29:[30, 54], Operations: ['33-4=29', '83-29=54']\nExploring Operation: 54-30=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0\nCurrent State: 29:[4, 83, 30, 33], Operations: []\nExploring Operation: 30-4=26, Resulting Numbers: [83, 33, 26]\nGenerated Node #0,4: 29:[83, 33, 26] Operation: 30-4=26\nMoving to Node #0,4\nCurrent State: 29:[83, 33, 26], Operations: ['30-4=26']\nExploring Operation: 83-33=50, Resulting Numbers: [26, 50]\nGenerated Node #0,4,0: 29:[26, 50] Operation: 83-33=50\nMoving to Node #0,4,0\nCurrent State: 29:[26, 50], Operations: ['30-4=26', '83-33=50']\nExploring Operation: 50-26=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 29:[83, 33, 26], Operations: ['30-4=26']\nExploring Operation: 83-26=57, Resulting Numbers: [33, 57]\nGenerated Node #0,4,1: 29:[33, 57] Operation: 83-26=57\nMoving to Node #0,4,1\nCurrent State: 29:[33, 57], Operations: ['30-4=26', '83-26=57']\nExploring Operation: 57-33=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0\nCurrent State: 29:[4, 83, 30, 33], Operations: []\nExploring Operation: 4+83=87, Resulting Numbers: [30, 33, 87]\nGenerated Node #0,5: 29:[30, 33, 87] Operation: 4+83=87\nMoving to Node #0,5\nCurrent State: 29:[30, 33, 87], Operations: ['4+83=87']\nExploring Operation: 87-33=54, Resulting Numbers: [30, 54]\nGenerated Node #0,5,0: 29:[30, 54] Operation: 87-33=54\nMoving to Node #0,5,0\nCurrent State: 29:[30, 54], Operations: ['4+83=87', '87-33=54']\nExploring Operation: 54-30=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 29:[30, 33, 87], Operations: ['4+83=87']\nExploring Operation: 87-30=57, Resulting Numbers: [33, 57]\nGenerated Node #0,5,1: 29:[33, 57] Operation: 87-30=57\nMoving to Node #0,5,1\nCurrent State: 29:[33, 57], Operations: ['4+83=87', '87-30=57']\nExploring Operation: 57-33=24, Resulting Numbers: [24]\n24,29 unequal: No Solution\nMoving to Node #0\nCurrent State: 29:[4, 83, 30, 33], Operations: []\nExploring Operation: 4+30=34, Resulting Numbers: [83, 33, 34]\nGenerated Node #0,6: 29:[83, 33, 34] Operation: 4+30=34\nMoving to Node #0,6\nCurrent State: 29:[83, 33, 34], Operations: ['4+30=34']\nExploring Operation: 83-34=49, Resulting Numbers: [33, 49]\nGenerated Node #0,6,0: 29:[33, 49] Operation: 83-34=49\nMoving to Node #0,6,0\nCurrent State: 29:[33, 49], Operations: ['4+30=34', '83-34=49']\nExploring Operation: 49-33=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 29:[83, 33, 34], Operations: ['4+30=34']\nExploring Operation: 83-33=50, Resulting Numbers: [34, 50]\nGenerated Node #0,6,1: 29:[34, 50] Operation: 83-33=50\nMoving to Node #0,6,1\nCurrent State: 29:[34, 50], Operations: ['4+30=34', '83-33=50']\nExploring Operation: 50-34=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0\nCurrent State: 29:[4, 83, 30, 33], Operations: []\nExploring Operation: 4+33=37, Resulting Numbers: [83, 30, 37]\nGenerated Node #0,7: 29:[83, 30, 37] Operation: 4+33=37\nMoving to Node #0,7\nCurrent State: 29:[83, 30, 37], Operations: ['4+33=37']\nExploring Operation: 83-37=46, Resulting Numbers: [30, 46]\nGenerated Node #0,7,0: 29:[30, 46] Operation: 83-37=46\nMoving to Node #0,7,0\nCurrent State: 29:[30, 46], Operations: ['4+33=37', '83-37=46']\nExploring Operation: 46-30=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 29:[83, 30, 37], Operations: ['4+33=37']\nExploring Operation: 83-30=53, Resulting Numbers: [37, 53]\nGenerated Node #0,7,1: 29:[37, 53] Operation: 83-30=53\nMoving to Node #0,7,1\nCurrent State: 29:[37, 53], Operations: ['4+33=37', '83-30=53']\nExploring Operation: 53-37=16, Resulting Numbers: [16]\n16,29 unequal: No Solution\n", "role": "assistant" } ]
[ 24, 6, 22, 9 ]
37
[ "22*9=198", "24+198=222", "222/6=37" ]
Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 6*9=54, Resulting Numbers: [24, 22, 54] Generated Node #0,0: 37:[24, 22, 54] Operation: 6*9=54 Moving to Node #0,0 Current State: 37:[24, 22, 54], Operations: ['6*9=54'] Exploring Operation: 54-22=32, Resulting Numbers: [24, 32] Generated Node #0,0,0: 37:[24, 32] Operation: 54-22=32 Moving to Node #0,0,0 Current State: 37:[24, 32], Operations: ['6*9=54', '54-22=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[24, 32], Operations: ['6*9=54', '54-22=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,0 Current State: 37:[24, 22, 54], Operations: ['6*9=54'] Exploring Operation: 54-24=30, Resulting Numbers: [22, 30] Generated Node #0,0,1: 37:[22, 30] Operation: 54-24=30 Moving to Node #0,0,1 Current State: 37:[22, 30], Operations: ['6*9=54', '54-24=30'] Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[22, 30], Operations: ['6*9=54', '54-24=30'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,0 Current State: 37:[24, 22, 54], Operations: ['6*9=54'] Exploring Operation: 24+22=46, Resulting Numbers: [54, 46] Generated Node #0,0,2: 37:[54, 46] Operation: 24+22=46 Moving to Node #0,0,2 Current State: 37:[54, 46], Operations: ['6*9=54', '24+22=46'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,0 Current State: 37:[24, 22, 54], Operations: ['6*9=54'] Exploring Operation: 24-22=2, Resulting Numbers: [54, 2] Generated Node #0,0,3: 37:[54, 2] Operation: 24-22=2 Moving to Node #0,0,3 Current State: 37:[54, 2], Operations: ['6*9=54', '24-22=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[54, 2], Operations: ['6*9=54', '24-22=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[54, 2], Operations: ['6*9=54', '24-22=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,37 unequal: No Solution Moving to Node #0,0 Current State: 37:[24, 22, 54], Operations: ['6*9=54'] Exploring Operation: 22+54=76, Resulting Numbers: [24, 76] Generated Node #0,0,4: 37:[24, 76] Operation: 22+54=76 Moving to Node #0,0,4 Current State: 37:[24, 76], Operations: ['6*9=54', '22+54=76'] Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,0 Current State: 37:[24, 22, 54], Operations: ['6*9=54'] Exploring Operation: 24+54=78, Resulting Numbers: [22, 78] Generated Node #0,0,5: 37:[22, 78] Operation: 24+54=78 Moving to Node #0,0,5 Current State: 37:[22, 78], Operations: ['6*9=54', '24+54=78'] Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 24+6=30, Resulting Numbers: [22, 9, 30] Generated Node #0,1: 37:[22, 9, 30] Operation: 24+6=30 Moving to Node #0,1 Current State: 37:[22, 9, 30], Operations: ['24+6=30'] Exploring Operation: 22+9=31, Resulting Numbers: [30, 31] Generated Node #0,1,0: 37:[30, 31] Operation: 22+9=31 Moving to Node #0,1,0 Current State: 37:[30, 31], Operations: ['24+6=30', '22+9=31'] Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[30, 31], Operations: ['24+6=30', '22+9=31'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,1 Current State: 37:[22, 9, 30], Operations: ['24+6=30'] Exploring Operation: 9+30=39, Resulting Numbers: [22, 39] Generated Node #0,1,1: 37:[22, 39] Operation: 9+30=39 Moving to Node #0,1,1 Current State: 37:[22, 39], Operations: ['24+6=30', '9+30=39'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[22, 39], Operations: ['24+6=30', '9+30=39'] Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,1 Current State: 37:[22, 9, 30], Operations: ['24+6=30'] Exploring Operation: 22-9=13, Resulting Numbers: [30, 13] Generated Node #0,1,2: 37:[30, 13] Operation: 22-9=13 Moving to Node #0,1,2 Current State: 37:[30, 13], Operations: ['24+6=30', '22-9=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[30, 13], Operations: ['24+6=30', '22-9=13'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,1 Current State: 37:[22, 9, 30], Operations: ['24+6=30'] Exploring Operation: 30-9=21, Resulting Numbers: [22, 21] Generated Node #0,1,3: 37:[22, 21] Operation: 30-9=21 Moving to Node #0,1,3 Current State: 37:[22, 21], Operations: ['24+6=30', '30-9=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[22, 21], Operations: ['24+6=30', '30-9=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,1 Current State: 37:[22, 9, 30], Operations: ['24+6=30'] Exploring Operation: 22+30=52, Resulting Numbers: [9, 52] Generated Node #0,1,4: 37:[9, 52] Operation: 22+30=52 Moving to Node #0,1,4 Current State: 37:[9, 52], Operations: ['24+6=30', '22+30=52'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[9, 52], Operations: ['24+6=30', '22+30=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,1 Current State: 37:[22, 9, 30], Operations: ['24+6=30'] Exploring Operation: 30-22=8, Resulting Numbers: [9, 8] Generated Node #0,1,5: 37:[9, 8] Operation: 30-22=8 Moving to Node #0,1,5 Current State: 37:[9, 8], Operations: ['24+6=30', '30-22=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,1,5 Current State: 37:[9, 8], Operations: ['24+6=30', '30-22=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,1,5 Current State: 37:[9, 8], Operations: ['24+6=30', '30-22=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 24+9=33, Resulting Numbers: [6, 22, 33] Generated Node #0,2: 37:[6, 22, 33] Operation: 24+9=33 Moving to Node #0,2 Current State: 37:[6, 22, 33], Operations: ['24+9=33'] Exploring Operation: 6+22=28, Resulting Numbers: [33, 28] Generated Node #0,2,0: 37:[33, 28] Operation: 6+22=28 Moving to Node #0,2,0 Current State: 37:[33, 28], Operations: ['24+9=33', '6+22=28'] Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[33, 28], Operations: ['24+9=33', '6+22=28'] Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,2 Current State: 37:[6, 22, 33], Operations: ['24+9=33'] Exploring Operation: 6+33=39, Resulting Numbers: [22, 39] Generated Node #0,2,1: 37:[22, 39] Operation: 6+33=39 Moving to Node #0,2,1 Current State: 37:[22, 39], Operations: ['24+9=33', '6+33=39'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[22, 39], Operations: ['24+9=33', '6+33=39'] Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,2 Current State: 37:[6, 22, 33], Operations: ['24+9=33'] Exploring Operation: 22-6=16, Resulting Numbers: [33, 16] Generated Node #0,2,2: 37:[33, 16] Operation: 22-6=16 Moving to Node #0,2,2 Current State: 37:[33, 16], Operations: ['24+9=33', '22-6=16'] Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[33, 16], Operations: ['24+9=33', '22-6=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,2 Current State: 37:[6, 22, 33], Operations: ['24+9=33'] Exploring Operation: 33-6=27, Resulting Numbers: [22, 27] Generated Node #0,2,3: 37:[22, 27] Operation: 33-6=27 Moving to Node #0,2,3 Current State: 37:[22, 27], Operations: ['24+9=33', '33-6=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[22, 27], Operations: ['24+9=33', '33-6=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,2 Current State: 37:[6, 22, 33], Operations: ['24+9=33'] Exploring Operation: 22+33=55, Resulting Numbers: [6, 55] Generated Node #0,2,4: 37:[6, 55] Operation: 22+33=55 Moving to Node #0,2,4 Current State: 37:[6, 55], Operations: ['24+9=33', '22+33=55'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,2,4 Current State: 37:[6, 55], Operations: ['24+9=33', '22+33=55'] Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,2 Current State: 37:[6, 22, 33], Operations: ['24+9=33'] Exploring Operation: 33-22=11, Resulting Numbers: [6, 11] Generated Node #0,2,5: 37:[6, 11] Operation: 33-22=11 Moving to Node #0,2,5 Current State: 37:[6, 11], Operations: ['24+9=33', '33-22=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,2,5 Current State: 37:[6, 11], Operations: ['24+9=33', '33-22=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,37 unequal: No Solution Moving to Node #0,2,5 Current State: 37:[6, 11], Operations: ['24+9=33', '33-22=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 6+22=28, Resulting Numbers: [24, 9, 28] Generated Node #0,3: 37:[24, 9, 28] Operation: 6+22=28 Moving to Node #0,3 Current State: 37:[24, 9, 28], Operations: ['6+22=28'] Exploring Operation: 24+9=33, Resulting Numbers: [28, 33] Generated Node #0,3,0: 37:[28, 33] Operation: 24+9=33 Moving to Node #0,3,0 Current State: 37:[28, 33], Operations: ['6+22=28', '24+9=33'] Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[28, 33], Operations: ['6+22=28', '24+9=33'] Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,3 Current State: 37:[24, 9, 28], Operations: ['6+22=28'] Exploring Operation: 9+28=37, Resulting Numbers: [24, 37] Generated Node #0,3,1: 37:[24, 37] Operation: 9+28=37 Moving to Node #0,3,1 Current State: 37:[24, 37], Operations: ['6+22=28', '9+28=37'] Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[24, 37], Operations: ['6+22=28', '9+28=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,3 Current State: 37:[24, 9, 28], Operations: ['6+22=28'] Exploring Operation: 24-9=15, Resulting Numbers: [28, 15] Generated Node #0,3,2: 37:[28, 15] Operation: 24-9=15 Moving to Node #0,3,2 Current State: 37:[28, 15], Operations: ['6+22=28', '24-9=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[28, 15], Operations: ['6+22=28', '24-9=15'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,3 Current State: 37:[24, 9, 28], Operations: ['6+22=28'] Exploring Operation: 28-9=19, Resulting Numbers: [24, 19] Generated Node #0,3,3: 37:[24, 19] Operation: 28-9=19 Moving to Node #0,3,3 Current State: 37:[24, 19], Operations: ['6+22=28', '28-9=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[24, 19], Operations: ['6+22=28', '28-9=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,3 Current State: 37:[24, 9, 28], Operations: ['6+22=28'] Exploring Operation: 24+28=52, Resulting Numbers: [9, 52] Generated Node #0,3,4: 37:[9, 52] Operation: 24+28=52 Moving to Node #0,3,4 Current State: 37:[9, 52], Operations: ['6+22=28', '24+28=52'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,3,4 Current State: 37:[9, 52], Operations: ['6+22=28', '24+28=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,3 Current State: 37:[24, 9, 28], Operations: ['6+22=28'] Exploring Operation: 28-24=4, Resulting Numbers: [9, 4] Generated Node #0,3,5: 37:[9, 4] Operation: 28-24=4 Moving to Node #0,3,5 Current State: 37:[9, 4], Operations: ['6+22=28', '28-24=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,37 unequal: No Solution Moving to Node #0,3,5 Current State: 37:[9, 4], Operations: ['6+22=28', '28-24=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,3,5 Current State: 37:[9, 4], Operations: ['6+22=28', '28-24=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 6+9=15, Resulting Numbers: [24, 22, 15] Generated Node #0,4: 37:[24, 22, 15] Operation: 6+9=15 Moving to Node #0,4 Current State: 37:[24, 22, 15], Operations: ['6+9=15'] Exploring Operation: 22+15=37, Resulting Numbers: [24, 37] Generated Node #0,4,0: 37:[24, 37] Operation: 22+15=37 Moving to Node #0,4,0 Current State: 37:[24, 37], Operations: ['6+9=15', '22+15=37'] Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[24, 37], Operations: ['6+9=15', '22+15=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,4 Current State: 37:[24, 22, 15], Operations: ['6+9=15'] Exploring Operation: 24+15=39, Resulting Numbers: [22, 39] Generated Node #0,4,1: 37:[22, 39] Operation: 24+15=39 Moving to Node #0,4,1 Current State: 37:[22, 39], Operations: ['6+9=15', '24+15=39'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[22, 39], Operations: ['6+9=15', '24+15=39'] Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,4 Current State: 37:[24, 22, 15], Operations: ['6+9=15'] Exploring Operation: 24+22=46, Resulting Numbers: [15, 46] Generated Node #0,4,2: 37:[15, 46] Operation: 24+22=46 Moving to Node #0,4,2 Current State: 37:[15, 46], Operations: ['6+9=15', '24+22=46'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[15, 46], Operations: ['6+9=15', '24+22=46'] Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,4 Current State: 37:[24, 22, 15], Operations: ['6+9=15'] Exploring Operation: 24-15=9, Resulting Numbers: [22, 9] Generated Node #0,4,3: 37:[22, 9] Operation: 24-15=9 Moving to Node #0,4,3 Current State: 37:[22, 9], Operations: ['6+9=15', '24-15=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[22, 9], Operations: ['6+9=15', '24-15=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,4 Current State: 37:[24, 22, 15], Operations: ['6+9=15'] Exploring Operation: 22-15=7, Resulting Numbers: [24, 7] Generated Node #0,4,4: 37:[24, 7] Operation: 22-15=7 Moving to Node #0,4,4 Current State: 37:[24, 7], Operations: ['6+9=15', '22-15=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[24, 7], Operations: ['6+9=15', '22-15=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,4 Current State: 37:[24, 22, 15], Operations: ['6+9=15'] Exploring Operation: 24-22=2, Resulting Numbers: [15, 2] Generated Node #0,4,5: 37:[15, 2] Operation: 24-22=2 Moving to Node #0,4,5 Current State: 37:[15, 2], Operations: ['6+9=15', '24-22=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,37 unequal: No Solution Moving to Node #0,4,5 Current State: 37:[15, 2], Operations: ['6+9=15', '24-22=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,4,5 Current State: 37:[15, 2], Operations: ['6+9=15', '24-22=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 22+9=31, Resulting Numbers: [24, 6, 31] Generated Node #0,5: 37:[24, 6, 31] Operation: 22+9=31 Moving to Node #0,5 Current State: 37:[24, 6, 31], Operations: ['22+9=31'] Exploring Operation: 24+6=30, Resulting Numbers: [31, 30] Generated Node #0,5,0: 37:[31, 30] Operation: 24+6=30 Moving to Node #0,5,0 Current State: 37:[31, 30], Operations: ['22+9=31', '24+6=30'] Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,5,0 Current State: 37:[31, 30], Operations: ['22+9=31', '24+6=30'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,5 Current State: 37:[24, 6, 31], Operations: ['22+9=31'] Exploring Operation: 6+31=37, Resulting Numbers: [24, 37] Generated Node #0,5,1: 37:[24, 37] Operation: 6+31=37 Moving to Node #0,5,1 Current State: 37:[24, 37], Operations: ['22+9=31', '6+31=37'] Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,5,1 Current State: 37:[24, 37], Operations: ['22+9=31', '6+31=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,5 Current State: 37:[24, 6, 31], Operations: ['22+9=31'] Exploring Operation: 24-6=18, Resulting Numbers: [31, 18] Generated Node #0,5,2: 37:[31, 18] Operation: 24-6=18 Moving to Node #0,5,2 Current State: 37:[31, 18], Operations: ['22+9=31', '24-6=18'] Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,5,2 Current State: 37:[31, 18], Operations: ['22+9=31', '24-6=18'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,5 Current State: 37:[24, 6, 31], Operations: ['22+9=31'] Exploring Operation: 31-6=25, Resulting Numbers: [24, 25] Generated Node #0,5,3: 37:[24, 25] Operation: 31-6=25 Moving to Node #0,5,3 Current State: 37:[24, 25], Operations: ['22+9=31', '31-6=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,5,3 Current State: 37:[24, 25], Operations: ['22+9=31', '31-6=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,5 Current State: 37:[24, 6, 31], Operations: ['22+9=31'] Exploring Operation: 24/6=4, Resulting Numbers: [31, 4] Generated Node #0,5,4: 37:[31, 4] Operation: 24/6=4 Moving to Node #0,5,4 Current State: 37:[31, 4], Operations: ['22+9=31', '24/6=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,37 unequal: No Solution Moving to Node #0,5,4 Current State: 37:[31, 4], Operations: ['22+9=31', '24/6=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,5 Current State: 37:[24, 6, 31], Operations: ['22+9=31'] Exploring Operation: 24+31=55, Resulting Numbers: [6, 55] Generated Node #0,5,5: 37:[6, 55] Operation: 24+31=55 Moving to Node #0,5,5 Current State: 37:[6, 55], Operations: ['22+9=31', '24+31=55'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,5,5 Current State: 37:[6, 55], Operations: ['22+9=31', '24+31=55'] Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,5 Current State: 37:[24, 6, 31], Operations: ['22+9=31'] Exploring Operation: 31-24=7, Resulting Numbers: [6, 7] Generated Node #0,5,6: 37:[6, 7] Operation: 31-24=7 Moving to Node #0,5,6 Current State: 37:[6, 7], Operations: ['22+9=31', '31-24=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,37 unequal: No Solution Moving to Node #0,5,6 Current State: 37:[6, 7], Operations: ['22+9=31', '31-24=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,5,6 Current State: 37:[6, 7], Operations: ['22+9=31', '31-24=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 24-6=18, Resulting Numbers: [22, 9, 18] Generated Node #0,6: 37:[22, 9, 18] Operation: 24-6=18 Moving to Node #0,6 Current State: 37:[22, 9, 18], Operations: ['24-6=18'] Exploring Operation: 22+9=31, Resulting Numbers: [18, 31] Generated Node #0,6,0: 37:[18, 31] Operation: 22+9=31 Moving to Node #0,6,0 Current State: 37:[18, 31], Operations: ['24-6=18', '22+9=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,6,0 Current State: 37:[18, 31], Operations: ['24-6=18', '22+9=31'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,6 Current State: 37:[22, 9, 18], Operations: ['24-6=18'] Exploring Operation: 9+18=27, Resulting Numbers: [22, 27] Generated Node #0,6,1: 37:[22, 27] Operation: 9+18=27 Moving to Node #0,6,1 Current State: 37:[22, 27], Operations: ['24-6=18', '9+18=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,6,1 Current State: 37:[22, 27], Operations: ['24-6=18', '9+18=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,6 Current State: 37:[22, 9, 18], Operations: ['24-6=18'] Exploring Operation: 22+18=40, Resulting Numbers: [9, 40] Generated Node #0,6,2: 37:[9, 40] Operation: 22+18=40 Moving to Node #0,6,2 Current State: 37:[9, 40], Operations: ['24-6=18', '22+18=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,6,2 Current State: 37:[9, 40], Operations: ['24-6=18', '22+18=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,6 Current State: 37:[22, 9, 18], Operations: ['24-6=18'] Exploring Operation: 22-9=13, Resulting Numbers: [18, 13] Generated Node #0,6,3: 37:[18, 13] Operation: 22-9=13 Moving to Node #0,6,3 Current State: 37:[18, 13], Operations: ['24-6=18', '22-9=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,6,3 Current State: 37:[18, 13], Operations: ['24-6=18', '22-9=13'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,6 Current State: 37:[22, 9, 18], Operations: ['24-6=18'] Exploring Operation: 18-9=9, Resulting Numbers: [22, 9] Generated Node #0,6,4: 37:[22, 9] Operation: 18-9=9 Moving to Node #0,6,4 Current State: 37:[22, 9], Operations: ['24-6=18', '18-9=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,6,4 Current State: 37:[22, 9], Operations: ['24-6=18', '18-9=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,6 Current State: 37:[22, 9, 18], Operations: ['24-6=18'] Exploring Operation: 18/9=2, Resulting Numbers: [22, 2] Generated Node #0,6,5: 37:[22, 2] Operation: 18/9=2 Moving to Node #0,6,5 Current State: 37:[22, 2], Operations: ['24-6=18', '18/9=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,37 unequal: No Solution Moving to Node #0,6,5 Current State: 37:[22, 2], Operations: ['24-6=18', '18/9=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,37 unequal: No Solution Moving to Node #0,6,5 Current State: 37:[22, 2], Operations: ['24-6=18', '18/9=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,37 unequal: No Solution Moving to Node #0,6,5 Current State: 37:[22, 2], Operations: ['24-6=18', '18/9=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,37 unequal: No Solution Moving to Node #0,6 Current State: 37:[22, 9, 18], Operations: ['24-6=18'] Exploring Operation: 22-18=4, Resulting Numbers: [9, 4] Generated Node #0,6,6: 37:[9, 4] Operation: 22-18=4 Moving to Node #0,6,6 Current State: 37:[9, 4], Operations: ['24-6=18', '22-18=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,37 unequal: No Solution Moving to Node #0,6,6 Current State: 37:[9, 4], Operations: ['24-6=18', '22-18=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,6,6 Current State: 37:[9, 4], Operations: ['24-6=18', '22-18=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 22-6=16, Resulting Numbers: [24, 9, 16] Generated Node #0,7: 37:[24, 9, 16] Operation: 22-6=16 Moving to Node #0,7 Current State: 37:[24, 9, 16], Operations: ['22-6=16'] Exploring Operation: 24+9=33, Resulting Numbers: [16, 33] Generated Node #0,7,0: 37:[16, 33] Operation: 24+9=33 Moving to Node #0,7,0 Current State: 37:[16, 33], Operations: ['22-6=16', '24+9=33'] Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,7,0 Current State: 37:[16, 33], Operations: ['22-6=16', '24+9=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,7 Current State: 37:[24, 9, 16], Operations: ['22-6=16'] Exploring Operation: 9+16=25, Resulting Numbers: [24, 25] Generated Node #0,7,1: 37:[24, 25] Operation: 9+16=25 Moving to Node #0,7,1 Current State: 37:[24, 25], Operations: ['22-6=16', '9+16=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,7,1 Current State: 37:[24, 25], Operations: ['22-6=16', '9+16=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,7 Current State: 37:[24, 9, 16], Operations: ['22-6=16'] Exploring Operation: 24+16=40, Resulting Numbers: [9, 40] Generated Node #0,7,2: 37:[9, 40] Operation: 24+16=40 Moving to Node #0,7,2 Current State: 37:[9, 40], Operations: ['22-6=16', '24+16=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,7,2 Current State: 37:[9, 40], Operations: ['22-6=16', '24+16=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,7 Current State: 37:[24, 9, 16], Operations: ['22-6=16'] Exploring Operation: 24-9=15, Resulting Numbers: [16, 15] Generated Node #0,7,3: 37:[16, 15] Operation: 24-9=15 Moving to Node #0,7,3 Current State: 37:[16, 15], Operations: ['22-6=16', '24-9=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,7,3 Current State: 37:[16, 15], Operations: ['22-6=16', '24-9=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,7 Current State: 37:[24, 9, 16], Operations: ['22-6=16'] Exploring Operation: 16-9=7, Resulting Numbers: [24, 7] Generated Node #0,7,4: 37:[24, 7] Operation: 16-9=7 Moving to Node #0,7,4 Current State: 37:[24, 7], Operations: ['22-6=16', '16-9=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,7,4 Current State: 37:[24, 7], Operations: ['22-6=16', '16-9=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,7 Current State: 37:[24, 9, 16], Operations: ['22-6=16'] Exploring Operation: 24-16=8, Resulting Numbers: [9, 8] Generated Node #0,7,5: 37:[9, 8] Operation: 24-16=8 Moving to Node #0,7,5 Current State: 37:[9, 8], Operations: ['22-6=16', '24-16=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,7,5 Current State: 37:[9, 8], Operations: ['22-6=16', '24-16=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,7,5 Current State: 37:[9, 8], Operations: ['22-6=16', '24-16=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 9-6=3, Resulting Numbers: [24, 22, 3] Generated Node #0,8: 37:[24, 22, 3] Operation: 9-6=3 Moving to Node #0,8 Current State: 37:[24, 22, 3], Operations: ['9-6=3'] Exploring Operation: 24+3=27, Resulting Numbers: [22, 27] Generated Node #0,8,0: 37:[22, 27] Operation: 24+3=27 Moving to Node #0,8,0 Current State: 37:[22, 27], Operations: ['9-6=3', '24+3=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,8,0 Current State: 37:[22, 27], Operations: ['9-6=3', '24+3=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,8 Current State: 37:[24, 22, 3], Operations: ['9-6=3'] Exploring Operation: 22+3=25, Resulting Numbers: [24, 25] Generated Node #0,8,1: 37:[24, 25] Operation: 22+3=25 Moving to Node #0,8,1 Current State: 37:[24, 25], Operations: ['9-6=3', '22+3=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,8,1 Current State: 37:[24, 25], Operations: ['9-6=3', '22+3=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,8 Current State: 37:[24, 22, 3], Operations: ['9-6=3'] Exploring Operation: 24-3=21, Resulting Numbers: [22, 21] Generated Node #0,8,2: 37:[22, 21] Operation: 24-3=21 Moving to Node #0,8,2 Current State: 37:[22, 21], Operations: ['9-6=3', '24-3=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,8,2 Current State: 37:[22, 21], Operations: ['9-6=3', '24-3=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,8 Current State: 37:[24, 22, 3], Operations: ['9-6=3'] Exploring Operation: 22-3=19, Resulting Numbers: [24, 19] Generated Node #0,8,3: 37:[24, 19] Operation: 22-3=19 Moving to Node #0,8,3 Current State: 37:[24, 19], Operations: ['9-6=3', '22-3=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,8,3 Current State: 37:[24, 19], Operations: ['9-6=3', '22-3=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,8 Current State: 37:[24, 22, 3], Operations: ['9-6=3'] Exploring Operation: 22*3=66, Resulting Numbers: [24, 66] Generated Node #0,8,4: 37:[24, 66] Operation: 22*3=66 Moving to Node #0,8,4 Current State: 37:[24, 66], Operations: ['9-6=3', '22*3=66'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,37 unequal: No Solution Moving to Node #0,8 Current State: 37:[24, 22, 3], Operations: ['9-6=3'] Exploring Operation: 24+22=46, Resulting Numbers: [3, 46] Generated Node #0,8,5: 37:[3, 46] Operation: 24+22=46 Moving to Node #0,8,5 Current State: 37:[3, 46], Operations: ['9-6=3', '24+22=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,8,5 Current State: 37:[3, 46], Operations: ['9-6=3', '24+22=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,8 Current State: 37:[24, 22, 3], Operations: ['9-6=3'] Exploring Operation: 24/3=8, Resulting Numbers: [22, 8] Generated Node #0,8,6: 37:[22, 8] Operation: 24/3=8 Moving to Node #0,8,6 Current State: 37:[22, 8], Operations: ['9-6=3', '24/3=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,37 unequal: No Solution Moving to Node #0,8,6 Current State: 37:[22, 8], Operations: ['9-6=3', '24/3=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,37 unequal: No Solution Moving to Node #0,8 Current State: 37:[24, 22, 3], Operations: ['9-6=3'] Exploring Operation: 24*3=72, Resulting Numbers: [22, 72] Generated Node #0,8,7: 37:[22, 72] Operation: 24*3=72 Moving to Node #0,8,7 Current State: 37:[22, 72], Operations: ['9-6=3', '24*3=72'] Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,37 unequal: No Solution Moving to Node #0,8 Current State: 37:[24, 22, 3], Operations: ['9-6=3'] Exploring Operation: 24-22=2, Resulting Numbers: [3, 2] Generated Node #0,8,8: 37:[3, 2] Operation: 24-22=2 Moving to Node #0,8,8 Current State: 37:[3, 2], Operations: ['9-6=3', '24-22=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,37 unequal: No Solution Moving to Node #0,8,8 Current State: 37:[3, 2], Operations: ['9-6=3', '24-22=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,8,8 Current State: 37:[3, 2], Operations: ['9-6=3', '24-22=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 24+22=46, Resulting Numbers: [6, 9, 46] Generated Node #0,9: 37:[6, 9, 46] Operation: 24+22=46 Moving to Node #0,9 Current State: 37:[6, 9, 46], Operations: ['24+22=46'] Exploring Operation: 6*9=54, Resulting Numbers: [46, 54] Generated Node #0,9,0: 37:[46, 54] Operation: 6*9=54 Moving to Node #0,9,0 Current State: 37:[46, 54], Operations: ['24+22=46', '6*9=54'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,9 Current State: 37:[6, 9, 46], Operations: ['24+22=46'] Exploring Operation: 6+9=15, Resulting Numbers: [46, 15] Generated Node #0,9,1: 37:[46, 15] Operation: 6+9=15 Moving to Node #0,9,1 Current State: 37:[46, 15], Operations: ['24+22=46', '6+9=15'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,9,1 Current State: 37:[46, 15], Operations: ['24+22=46', '6+9=15'] Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,9 Current State: 37:[6, 9, 46], Operations: ['24+22=46'] Exploring Operation: 46-6=40, Resulting Numbers: [9, 40] Generated Node #0,9,2: 37:[9, 40] Operation: 46-6=40 Moving to Node #0,9,2 Current State: 37:[9, 40], Operations: ['24+22=46', '46-6=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,9,2 Current State: 37:[9, 40], Operations: ['24+22=46', '46-6=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,9 Current State: 37:[6, 9, 46], Operations: ['24+22=46'] Exploring Operation: 46-9=37, Resulting Numbers: [6, 37] Generated Node #0,9,3: 37:[6, 37] Operation: 46-9=37 Moving to Node #0,9,3 Current State: 37:[6, 37], Operations: ['24+22=46', '46-9=37'] Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,9,3 Current State: 37:[6, 37], Operations: ['24+22=46', '46-9=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,9 Current State: 37:[6, 9, 46], Operations: ['24+22=46'] Exploring Operation: 9-6=3, Resulting Numbers: [46, 3] Generated Node #0,9,4: 37:[46, 3] Operation: 9-6=3 Moving to Node #0,9,4 Current State: 37:[46, 3], Operations: ['24+22=46', '9-6=3'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,9,4 Current State: 37:[46, 3], Operations: ['24+22=46', '9-6=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,9 Current State: 37:[6, 9, 46], Operations: ['24+22=46'] Exploring Operation: 6+46=52, Resulting Numbers: [9, 52] Generated Node #0,9,5: 37:[9, 52] Operation: 6+46=52 Moving to Node #0,9,5 Current State: 37:[9, 52], Operations: ['24+22=46', '6+46=52'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,9,5 Current State: 37:[9, 52], Operations: ['24+22=46', '6+46=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0,9 Current State: 37:[6, 9, 46], Operations: ['24+22=46'] Exploring Operation: 9+46=55, Resulting Numbers: [6, 55] Generated Node #0,9,6: 37:[6, 55] Operation: 9+46=55 Moving to Node #0,9,6 Current State: 37:[6, 55], Operations: ['24+22=46', '9+46=55'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,9,6 Current State: 37:[6, 55], Operations: ['24+22=46', '9+46=55'] Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 24-9=15, Resulting Numbers: [6, 22, 15] Generated Node #0,10: 37:[6, 22, 15] Operation: 24-9=15 Moving to Node #0,10 Current State: 37:[6, 22, 15], Operations: ['24-9=15'] Exploring Operation: 6+22=28, Resulting Numbers: [15, 28] Generated Node #0,10,0: 37:[15, 28] Operation: 6+22=28 Moving to Node #0,10,0 Current State: 37:[15, 28], Operations: ['24-9=15', '6+22=28'] Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,10,0 Current State: 37:[15, 28], Operations: ['24-9=15', '6+22=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,10 Current State: 37:[6, 22, 15], Operations: ['24-9=15'] Exploring Operation: 6+15=21, Resulting Numbers: [22, 21] Generated Node #0,10,1: 37:[22, 21] Operation: 6+15=21 Moving to Node #0,10,1 Current State: 37:[22, 21], Operations: ['24-9=15', '6+15=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,10,1 Current State: 37:[22, 21], Operations: ['24-9=15', '6+15=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,10 Current State: 37:[6, 22, 15], Operations: ['24-9=15'] Exploring Operation: 22+15=37, Resulting Numbers: [6, 37] Generated Node #0,10,2: 37:[6, 37] Operation: 22+15=37 Moving to Node #0,10,2 Current State: 37:[6, 37], Operations: ['24-9=15', '22+15=37'] Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,10,2 Current State: 37:[6, 37], Operations: ['24-9=15', '22+15=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,10 Current State: 37:[6, 22, 15], Operations: ['24-9=15'] Exploring Operation: 22-6=16, Resulting Numbers: [15, 16] Generated Node #0,10,3: 37:[15, 16] Operation: 22-6=16 Moving to Node #0,10,3 Current State: 37:[15, 16], Operations: ['24-9=15', '22-6=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,10,3 Current State: 37:[15, 16], Operations: ['24-9=15', '22-6=16'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,10 Current State: 37:[6, 22, 15], Operations: ['24-9=15'] Exploring Operation: 15-6=9, Resulting Numbers: [22, 9] Generated Node #0,10,4: 37:[22, 9] Operation: 15-6=9 Moving to Node #0,10,4 Current State: 37:[22, 9], Operations: ['24-9=15', '15-6=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,10,4 Current State: 37:[22, 9], Operations: ['24-9=15', '15-6=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,10 Current State: 37:[6, 22, 15], Operations: ['24-9=15'] Exploring Operation: 22-15=7, Resulting Numbers: [6, 7] Generated Node #0,10,5: 37:[6, 7] Operation: 22-15=7 Moving to Node #0,10,5 Current State: 37:[6, 7], Operations: ['24-9=15', '22-15=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,37 unequal: No Solution Moving to Node #0,10,5 Current State: 37:[6, 7], Operations: ['24-9=15', '22-15=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,10,5 Current State: 37:[6, 7], Operations: ['24-9=15', '22-15=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,10 Current State: 37:[6, 22, 15], Operations: ['24-9=15'] Exploring Operation: 6*15=90, Resulting Numbers: [22, 90] Generated Node #0,10,6: 37:[22, 90] Operation: 6*15=90 Moving to Node #0,10,6 Current State: 37:[22, 90], Operations: ['24-9=15', '6*15=90'] Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 22-9=13, Resulting Numbers: [24, 6, 13] Generated Node #0,11: 37:[24, 6, 13] Operation: 22-9=13 Moving to Node #0,11 Current State: 37:[24, 6, 13], Operations: ['22-9=13'] Exploring Operation: 24+6=30, Resulting Numbers: [13, 30] Generated Node #0,11,0: 37:[13, 30] Operation: 24+6=30 Moving to Node #0,11,0 Current State: 37:[13, 30], Operations: ['22-9=13', '24+6=30'] Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,11,0 Current State: 37:[13, 30], Operations: ['22-9=13', '24+6=30'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,11 Current State: 37:[24, 6, 13], Operations: ['22-9=13'] Exploring Operation: 24+13=37, Resulting Numbers: [6, 37] Generated Node #0,11,1: 37:[6, 37] Operation: 24+13=37 Moving to Node #0,11,1 Current State: 37:[6, 37], Operations: ['22-9=13', '24+13=37'] Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,11,1 Current State: 37:[6, 37], Operations: ['22-9=13', '24+13=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,11 Current State: 37:[24, 6, 13], Operations: ['22-9=13'] Exploring Operation: 6+13=19, Resulting Numbers: [24, 19] Generated Node #0,11,2: 37:[24, 19] Operation: 6+13=19 Moving to Node #0,11,2 Current State: 37:[24, 19], Operations: ['22-9=13', '6+13=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,11,2 Current State: 37:[24, 19], Operations: ['22-9=13', '6+13=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,11 Current State: 37:[24, 6, 13], Operations: ['22-9=13'] Exploring Operation: 24-6=18, Resulting Numbers: [13, 18] Generated Node #0,11,3: 37:[13, 18] Operation: 24-6=18 Moving to Node #0,11,3 Current State: 37:[13, 18], Operations: ['22-9=13', '24-6=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,11,3 Current State: 37:[13, 18], Operations: ['22-9=13', '24-6=18'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,11 Current State: 37:[24, 6, 13], Operations: ['22-9=13'] Exploring Operation: 13-6=7, Resulting Numbers: [24, 7] Generated Node #0,11,4: 37:[24, 7] Operation: 13-6=7 Moving to Node #0,11,4 Current State: 37:[24, 7], Operations: ['22-9=13', '13-6=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,11,4 Current State: 37:[24, 7], Operations: ['22-9=13', '13-6=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,11 Current State: 37:[24, 6, 13], Operations: ['22-9=13'] Exploring Operation: 6*13=78, Resulting Numbers: [24, 78] Generated Node #0,11,5: 37:[24, 78] Operation: 6*13=78 Moving to Node #0,11,5 Current State: 37:[24, 78], Operations: ['22-9=13', '6*13=78'] Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,37 unequal: No Solution Moving to Node #0,11 Current State: 37:[24, 6, 13], Operations: ['22-9=13'] Exploring Operation: 24/6=4, Resulting Numbers: [13, 4] Generated Node #0,11,6: 37:[13, 4] Operation: 24/6=4 Moving to Node #0,11,6 Current State: 37:[13, 4], Operations: ['22-9=13', '24/6=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,11,6 Current State: 37:[13, 4], Operations: ['22-9=13', '24/6=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,11,6 Current State: 37:[13, 4], Operations: ['22-9=13', '24/6=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,11 Current State: 37:[24, 6, 13], Operations: ['22-9=13'] Exploring Operation: 24-13=11, Resulting Numbers: [6, 11] Generated Node #0,11,7: 37:[6, 11] Operation: 24-13=11 Moving to Node #0,11,7 Current State: 37:[6, 11], Operations: ['22-9=13', '24-13=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,11,7 Current State: 37:[6, 11], Operations: ['22-9=13', '24-13=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,37 unequal: No Solution Moving to Node #0,11,7 Current State: 37:[6, 11], Operations: ['22-9=13', '24-13=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 24/6=4, Resulting Numbers: [22, 9, 4] Generated Node #0,12: 37:[22, 9, 4] Operation: 24/6=4 Moving to Node #0,12 Current State: 37:[22, 9, 4], Operations: ['24/6=4'] Exploring Operation: 9*4=36, Resulting Numbers: [22, 36] Generated Node #0,12,0: 37:[22, 36] Operation: 9*4=36 Moving to Node #0,12,0 Current State: 37:[22, 36], Operations: ['24/6=4', '9*4=36'] Exploring Operation: 22+36=58, Resulting Numbers: [58] 58,37 unequal: No Solution Moving to Node #0,12,0 Current State: 37:[22, 36], Operations: ['24/6=4', '9*4=36'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,37 unequal: No Solution Moving to Node #0,12 Current State: 37:[22, 9, 4], Operations: ['24/6=4'] Exploring Operation: 22+9=31, Resulting Numbers: [4, 31] Generated Node #0,12,1: 37:[4, 31] Operation: 22+9=31 Moving to Node #0,12,1 Current State: 37:[4, 31], Operations: ['24/6=4', '22+9=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,37 unequal: No Solution Moving to Node #0,12,1 Current State: 37:[4, 31], Operations: ['24/6=4', '22+9=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,12 Current State: 37:[22, 9, 4], Operations: ['24/6=4'] Exploring Operation: 22+4=26, Resulting Numbers: [9, 26] Generated Node #0,12,2: 37:[9, 26] Operation: 22+4=26 Moving to Node #0,12,2 Current State: 37:[9, 26], Operations: ['24/6=4', '22+4=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,37 unequal: No Solution Moving to Node #0,12,2 Current State: 37:[9, 26], Operations: ['24/6=4', '22+4=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,12 Current State: 37:[22, 9, 4], Operations: ['24/6=4'] Exploring Operation: 9+4=13, Resulting Numbers: [22, 13] Generated Node #0,12,3: 37:[22, 13] Operation: 9+4=13 Moving to Node #0,12,3 Current State: 37:[22, 13], Operations: ['24/6=4', '9+4=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,37 unequal: No Solution Moving to Node #0,12,3 Current State: 37:[22, 13], Operations: ['24/6=4', '9+4=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,12 Current State: 37:[22, 9, 4], Operations: ['24/6=4'] Exploring Operation: 22-4=18, Resulting Numbers: [9, 18] Generated Node #0,12,4: 37:[9, 18] Operation: 22-4=18 Moving to Node #0,12,4 Current State: 37:[9, 18], Operations: ['24/6=4', '22-4=18'] Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,12,4 Current State: 37:[9, 18], Operations: ['24/6=4', '22-4=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,12,4 Current State: 37:[9, 18], Operations: ['24/6=4', '22-4=18'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,12 Current State: 37:[22, 9, 4], Operations: ['24/6=4'] Exploring Operation: 9-4=5, Resulting Numbers: [22, 5] Generated Node #0,12,5: 37:[22, 5] Operation: 9-4=5 Moving to Node #0,12,5 Current State: 37:[22, 5], Operations: ['24/6=4', '9-4=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,12,5 Current State: 37:[22, 5], Operations: ['24/6=4', '9-4=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,12 Current State: 37:[22, 9, 4], Operations: ['24/6=4'] Exploring Operation: 22-9=13, Resulting Numbers: [4, 13] Generated Node #0,12,6: 37:[4, 13] Operation: 22-9=13 Moving to Node #0,12,6 Current State: 37:[4, 13], Operations: ['24/6=4', '22-9=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,12,6 Current State: 37:[4, 13], Operations: ['24/6=4', '22-9=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,12,6 Current State: 37:[4, 13], Operations: ['24/6=4', '22-9=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0 Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [6, 9, 2] Generated Node #0,13: 37:[6, 9, 2] Operation: 24-22=2 Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 9*2=18, Resulting Numbers: [6, 18] Generated Node #0,13,0: 37:[6, 18] Operation: 9*2=18 Moving to Node #0,13,0 Current State: 37:[6, 18], Operations: ['24-22=2', '9*2=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,37 unequal: No Solution Moving to Node #0,13,0 Current State: 37:[6, 18], Operations: ['24-22=2', '9*2=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,37 unequal: No Solution Moving to Node #0,13,0 Current State: 37:[6, 18], Operations: ['24-22=2', '9*2=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,37 unequal: No Solution Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 6*9=54, Resulting Numbers: [2, 54] Generated Node #0,13,1: 37:[2, 54] Operation: 6*9=54 Moving to Node #0,13,1 Current State: 37:[2, 54], Operations: ['24-22=2', '6*9=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,13,1 Current State: 37:[2, 54], Operations: ['24-22=2', '6*9=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,13,1 Current State: 37:[2, 54], Operations: ['24-22=2', '6*9=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,37 unequal: No Solution Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 6*2=12, Resulting Numbers: [9, 12] Generated Node #0,13,2: 37:[9, 12] Operation: 6*2=12 Moving to Node #0,13,2 Current State: 37:[9, 12], Operations: ['24-22=2', '6*2=12'] Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,37 unequal: No Solution Moving to Node #0,13,2 Current State: 37:[9, 12], Operations: ['24-22=2', '6*2=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,37 unequal: No Solution Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 6+9=15, Resulting Numbers: [2, 15] Generated Node #0,13,3: 37:[2, 15] Operation: 6+9=15 Moving to Node #0,13,3 Current State: 37:[2, 15], Operations: ['24-22=2', '6+9=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,37 unequal: No Solution Moving to Node #0,13,3 Current State: 37:[2, 15], Operations: ['24-22=2', '6+9=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,13,3 Current State: 37:[2, 15], Operations: ['24-22=2', '6+9=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 6+2=8, Resulting Numbers: [9, 8] Generated Node #0,13,4: 37:[9, 8] Operation: 6+2=8 Moving to Node #0,13,4 Current State: 37:[9, 8], Operations: ['24-22=2', '6+2=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,13,4 Current State: 37:[9, 8], Operations: ['24-22=2', '6+2=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,13,4 Current State: 37:[9, 8], Operations: ['24-22=2', '6+2=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 9+2=11, Resulting Numbers: [6, 11] Generated Node #0,13,5: 37:[6, 11] Operation: 9+2=11 Moving to Node #0,13,5 Current State: 37:[6, 11], Operations: ['24-22=2', '9+2=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,37 unequal: No Solution Moving to Node #0,13,5 Current State: 37:[6, 11], Operations: ['24-22=2', '9+2=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,37 unequal: No Solution Moving to Node #0,13,5 Current State: 37:[6, 11], Operations: ['24-22=2', '9+2=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 6-2=4, Resulting Numbers: [9, 4] Generated Node #0,13,6: 37:[9, 4] Operation: 6-2=4 Moving to Node #0,13,6 Current State: 37:[9, 4], Operations: ['24-22=2', '6-2=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,37 unequal: No Solution Moving to Node #0,13,6 Current State: 37:[9, 4], Operations: ['24-22=2', '6-2=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,13,6 Current State: 37:[9, 4], Operations: ['24-22=2', '6-2=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 9-2=7, Resulting Numbers: [6, 7] Generated Node #0,13,7: 37:[6, 7] Operation: 9-2=7 Moving to Node #0,13,7 Current State: 37:[6, 7], Operations: ['24-22=2', '9-2=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,37 unequal: No Solution Moving to Node #0,13,7 Current State: 37:[6, 7], Operations: ['24-22=2', '9-2=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,13,7 Current State: 37:[6, 7], Operations: ['24-22=2', '9-2=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 6/2=3, Resulting Numbers: [9, 3] Generated Node #0,13,8: 37:[9, 3] Operation: 6/2=3 Moving to Node #0,13,8 Current State: 37:[9, 3], Operations: ['24-22=2', '6/2=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,13,8 Current State: 37:[9, 3], Operations: ['24-22=2', '6/2=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,37 unequal: No Solution Moving to Node #0,13,8 Current State: 37:[9, 3], Operations: ['24-22=2', '6/2=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,37 unequal: No Solution Moving to Node #0,13,8 Current State: 37:[9, 3], Operations: ['24-22=2', '6/2=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,37 unequal: No Solution Moving to Node #0,13 Current State: 37:[6, 9, 2], Operations: ['24-22=2'] Exploring Operation: 9-6=3, Resulting Numbers: [2, 3] Generated Node #0,13,9: 37:[2, 3] Operation: 9-6=3 Moving to Node #0,13,9 Current State: 37:[2, 3], Operations: ['24-22=2', '9-6=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,37 unequal: No Solution Moving to Node #0,13,9 Current State: 37:[2, 3], Operations: ['24-22=2', '9-6=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,13,9 Current State: 37:[2, 3], Operations: ['24-22=2', '9-6=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,37 unequal: No Solution
0
dfs
Current State: 37:[24, 6, 22, 9], Operations: [] Exploring Operation: 22*9=198, Resulting Numbers: [24, 6, 198] Generated Node #2: [24, 6, 198] from Operation: 22*9=198 Current State: 37:[24, 6, 198], Operations: ['22*9=198'] Exploring Operation: 24+198=222, Resulting Numbers: [6, 222] Generated Node #3: [6, 222] from Operation: 24+198=222 Current State: 37:[6, 222], Operations: ['22*9=198', '24+198=222'] Exploring Operation: 222/6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
sum_heuristic
[ { "content": "Make 37 with the numbers [24, 6, 22, 9] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 6*9=54, Resulting Numbers: [24, 22, 54]\nGenerated Node #0,0: 37:[24, 22, 54] Operation: 6*9=54\nMoving to Node #0,0\nCurrent State: 37:[24, 22, 54], Operations: ['6*9=54']\nExploring Operation: 54-22=32, Resulting Numbers: [24, 32]\nGenerated Node #0,0,0: 37:[24, 32] Operation: 54-22=32\nMoving to Node #0,0,0\nCurrent State: 37:[24, 32], Operations: ['6*9=54', '54-22=32']\nExploring Operation: 24+32=56, Resulting Numbers: [56]\n56,37 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 37:[24, 32], Operations: ['6*9=54', '54-22=32']\nExploring Operation: 32-24=8, Resulting Numbers: [8]\n8,37 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 37:[24, 22, 54], Operations: ['6*9=54']\nExploring Operation: 54-24=30, Resulting Numbers: [22, 30]\nGenerated Node #0,0,1: 37:[22, 30] Operation: 54-24=30\nMoving to Node #0,0,1\nCurrent State: 37:[22, 30], Operations: ['6*9=54', '54-24=30']\nExploring Operation: 22+30=52, Resulting Numbers: [52]\n52,37 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 37:[22, 30], Operations: ['6*9=54', '54-24=30']\nExploring Operation: 30-22=8, Resulting Numbers: [8]\n8,37 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 37:[24, 22, 54], Operations: ['6*9=54']\nExploring Operation: 24+22=46, Resulting Numbers: [54, 46]\nGenerated Node #0,0,2: 37:[54, 46] Operation: 24+22=46\nMoving to Node #0,0,2\nCurrent State: 37:[54, 46], Operations: ['6*9=54', '24+22=46']\nExploring Operation: 54-46=8, Resulting Numbers: [8]\n8,37 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 37:[24, 22, 54], Operations: ['6*9=54']\nExploring Operation: 24-22=2, Resulting Numbers: [54, 2]\nGenerated Node #0,0,3: 37:[54, 2] Operation: 24-22=2\nMoving to Node #0,0,3\nCurrent State: 37:[54, 2], Operations: ['6*9=54', '24-22=2']\nExploring Operation: 54/2=27, Resulting Numbers: [27]\n27,37 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 37:[54, 2], Operations: ['6*9=54', '24-22=2']\nExploring Operation: 54-2=52, Resulting Numbers: [52]\n52,37 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 37:[54, 2], Operations: ['6*9=54', '24-22=2']\nExploring Operation: 54+2=56, Resulting Numbers: [56]\n56,37 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 37:[24, 22, 54], Operations: ['6*9=54']\nExploring Operation: 22+54=76, Resulting Numbers: [24, 76]\nGenerated Node #0,0,4: 37:[24, 76] Operation: 22+54=76\nMoving to Node #0,0,4\nCurrent State: 37:[24, 76], Operations: ['6*9=54', '22+54=76']\nExploring Operation: 76-24=52, Resulting Numbers: [52]\n52,37 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 37:[24, 22, 54], Operations: ['6*9=54']\nExploring Operation: 24+54=78, Resulting Numbers: [22, 78]\nGenerated Node #0,0,5: 37:[22, 78] Operation: 24+54=78\nMoving to Node #0,0,5\nCurrent State: 37:[22, 78], Operations: ['6*9=54', '24+54=78']\nExploring Operation: 78-22=56, Resulting Numbers: [56]\n56,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 24+6=30, Resulting Numbers: [22, 9, 30]\nGenerated Node #0,1: 37:[22, 9, 30] Operation: 24+6=30\nMoving to Node #0,1\nCurrent State: 37:[22, 9, 30], Operations: ['24+6=30']\nExploring Operation: 22+9=31, Resulting Numbers: [30, 31]\nGenerated Node #0,1,0: 37:[30, 31] Operation: 22+9=31\nMoving to Node #0,1,0\nCurrent State: 37:[30, 31], Operations: ['24+6=30', '22+9=31']\nExploring Operation: 30+31=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 37:[30, 31], Operations: ['24+6=30', '22+9=31']\nExploring Operation: 31-30=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 37:[22, 9, 30], Operations: ['24+6=30']\nExploring Operation: 9+30=39, Resulting Numbers: [22, 39]\nGenerated Node #0,1,1: 37:[22, 39] Operation: 9+30=39\nMoving to Node #0,1,1\nCurrent State: 37:[22, 39], Operations: ['24+6=30', '9+30=39']\nExploring Operation: 39-22=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 37:[22, 39], Operations: ['24+6=30', '9+30=39']\nExploring Operation: 22+39=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 37:[22, 9, 30], Operations: ['24+6=30']\nExploring Operation: 22-9=13, Resulting Numbers: [30, 13]\nGenerated Node #0,1,2: 37:[30, 13] Operation: 22-9=13\nMoving to Node #0,1,2\nCurrent State: 37:[30, 13], Operations: ['24+6=30', '22-9=13']\nExploring Operation: 30+13=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 37:[30, 13], Operations: ['24+6=30', '22-9=13']\nExploring Operation: 30-13=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 37:[22, 9, 30], Operations: ['24+6=30']\nExploring Operation: 30-9=21, Resulting Numbers: [22, 21]\nGenerated Node #0,1,3: 37:[22, 21] Operation: 30-9=21\nMoving to Node #0,1,3\nCurrent State: 37:[22, 21], Operations: ['24+6=30', '30-9=21']\nExploring Operation: 22+21=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 37:[22, 21], Operations: ['24+6=30', '30-9=21']\nExploring Operation: 22-21=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 37:[22, 9, 30], Operations: ['24+6=30']\nExploring Operation: 22+30=52, Resulting Numbers: [9, 52]\nGenerated Node #0,1,4: 37:[9, 52] Operation: 22+30=52\nMoving to Node #0,1,4\nCurrent State: 37:[9, 52], Operations: ['24+6=30', '22+30=52']\nExploring Operation: 52-9=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 37:[9, 52], Operations: ['24+6=30', '22+30=52']\nExploring Operation: 9+52=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 37:[22, 9, 30], Operations: ['24+6=30']\nExploring Operation: 30-22=8, Resulting Numbers: [9, 8]\nGenerated Node #0,1,5: 37:[9, 8] Operation: 30-22=8\nMoving to Node #0,1,5\nCurrent State: 37:[9, 8], Operations: ['24+6=30', '30-22=8']\nExploring Operation: 9+8=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 37:[9, 8], Operations: ['24+6=30', '30-22=8']\nExploring Operation: 9*8=72, Resulting Numbers: [72]\n72,37 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 37:[9, 8], Operations: ['24+6=30', '30-22=8']\nExploring Operation: 9-8=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 24+9=33, Resulting Numbers: [6, 22, 33]\nGenerated Node #0,2: 37:[6, 22, 33] Operation: 24+9=33\nMoving to Node #0,2\nCurrent State: 37:[6, 22, 33], Operations: ['24+9=33']\nExploring Operation: 6+22=28, Resulting Numbers: [33, 28]\nGenerated Node #0,2,0: 37:[33, 28] Operation: 6+22=28\nMoving to Node #0,2,0\nCurrent State: 37:[33, 28], Operations: ['24+9=33', '6+22=28']\nExploring Operation: 33+28=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 37:[33, 28], Operations: ['24+9=33', '6+22=28']\nExploring Operation: 33-28=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 37:[6, 22, 33], Operations: ['24+9=33']\nExploring Operation: 6+33=39, Resulting Numbers: [22, 39]\nGenerated Node #0,2,1: 37:[22, 39] Operation: 6+33=39\nMoving to Node #0,2,1\nCurrent State: 37:[22, 39], Operations: ['24+9=33', '6+33=39']\nExploring Operation: 39-22=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 37:[22, 39], Operations: ['24+9=33', '6+33=39']\nExploring Operation: 22+39=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 37:[6, 22, 33], Operations: ['24+9=33']\nExploring Operation: 22-6=16, Resulting Numbers: [33, 16]\nGenerated Node #0,2,2: 37:[33, 16] Operation: 22-6=16\nMoving to Node #0,2,2\nCurrent State: 37:[33, 16], Operations: ['24+9=33', '22-6=16']\nExploring Operation: 33+16=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 37:[33, 16], Operations: ['24+9=33', '22-6=16']\nExploring Operation: 33-16=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 37:[6, 22, 33], Operations: ['24+9=33']\nExploring Operation: 33-6=27, Resulting Numbers: [22, 27]\nGenerated Node #0,2,3: 37:[22, 27] Operation: 33-6=27\nMoving to Node #0,2,3\nCurrent State: 37:[22, 27], Operations: ['24+9=33', '33-6=27']\nExploring Operation: 22+27=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 37:[22, 27], Operations: ['24+9=33', '33-6=27']\nExploring Operation: 27-22=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 37:[6, 22, 33], Operations: ['24+9=33']\nExploring Operation: 22+33=55, Resulting Numbers: [6, 55]\nGenerated Node #0,2,4: 37:[6, 55] Operation: 22+33=55\nMoving to Node #0,2,4\nCurrent State: 37:[6, 55], Operations: ['24+9=33', '22+33=55']\nExploring Operation: 55-6=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 37:[6, 55], Operations: ['24+9=33', '22+33=55']\nExploring Operation: 6+55=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 37:[6, 22, 33], Operations: ['24+9=33']\nExploring Operation: 33-22=11, Resulting Numbers: [6, 11]\nGenerated Node #0,2,5: 37:[6, 11] Operation: 33-22=11\nMoving to Node #0,2,5\nCurrent State: 37:[6, 11], Operations: ['24+9=33', '33-22=11']\nExploring Operation: 6+11=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 37:[6, 11], Operations: ['24+9=33', '33-22=11']\nExploring Operation: 6*11=66, Resulting Numbers: [66]\n66,37 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 37:[6, 11], Operations: ['24+9=33', '33-22=11']\nExploring Operation: 11-6=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 6+22=28, Resulting Numbers: [24, 9, 28]\nGenerated Node #0,3: 37:[24, 9, 28] Operation: 6+22=28\nMoving to Node #0,3\nCurrent State: 37:[24, 9, 28], Operations: ['6+22=28']\nExploring Operation: 24+9=33, Resulting Numbers: [28, 33]\nGenerated Node #0,3,0: 37:[28, 33] Operation: 24+9=33\nMoving to Node #0,3,0\nCurrent State: 37:[28, 33], Operations: ['6+22=28', '24+9=33']\nExploring Operation: 28+33=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 37:[28, 33], Operations: ['6+22=28', '24+9=33']\nExploring Operation: 33-28=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 37:[24, 9, 28], Operations: ['6+22=28']\nExploring Operation: 9+28=37, Resulting Numbers: [24, 37]\nGenerated Node #0,3,1: 37:[24, 37] Operation: 9+28=37\nMoving to Node #0,3,1\nCurrent State: 37:[24, 37], Operations: ['6+22=28', '9+28=37']\nExploring Operation: 24+37=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 37:[24, 37], Operations: ['6+22=28', '9+28=37']\nExploring Operation: 37-24=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 37:[24, 9, 28], Operations: ['6+22=28']\nExploring Operation: 24-9=15, Resulting Numbers: [28, 15]\nGenerated Node #0,3,2: 37:[28, 15] Operation: 24-9=15\nMoving to Node #0,3,2\nCurrent State: 37:[28, 15], Operations: ['6+22=28', '24-9=15']\nExploring Operation: 28+15=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 37:[28, 15], Operations: ['6+22=28', '24-9=15']\nExploring Operation: 28-15=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 37:[24, 9, 28], Operations: ['6+22=28']\nExploring Operation: 28-9=19, Resulting Numbers: [24, 19]\nGenerated Node #0,3,3: 37:[24, 19] Operation: 28-9=19\nMoving to Node #0,3,3\nCurrent State: 37:[24, 19], Operations: ['6+22=28', '28-9=19']\nExploring Operation: 24+19=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 37:[24, 19], Operations: ['6+22=28', '28-9=19']\nExploring Operation: 24-19=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 37:[24, 9, 28], Operations: ['6+22=28']\nExploring Operation: 24+28=52, Resulting Numbers: [9, 52]\nGenerated Node #0,3,4: 37:[9, 52] Operation: 24+28=52\nMoving to Node #0,3,4\nCurrent State: 37:[9, 52], Operations: ['6+22=28', '24+28=52']\nExploring Operation: 52-9=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 37:[9, 52], Operations: ['6+22=28', '24+28=52']\nExploring Operation: 9+52=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 37:[24, 9, 28], Operations: ['6+22=28']\nExploring Operation: 28-24=4, Resulting Numbers: [9, 4]\nGenerated Node #0,3,5: 37:[9, 4] Operation: 28-24=4\nMoving to Node #0,3,5\nCurrent State: 37:[9, 4], Operations: ['6+22=28', '28-24=4']\nExploring Operation: 9*4=36, Resulting Numbers: [36]\n36,37 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 37:[9, 4], Operations: ['6+22=28', '28-24=4']\nExploring Operation: 9+4=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 37:[9, 4], Operations: ['6+22=28', '28-24=4']\nExploring Operation: 9-4=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 6+9=15, Resulting Numbers: [24, 22, 15]\nGenerated Node #0,4: 37:[24, 22, 15] Operation: 6+9=15\nMoving to Node #0,4\nCurrent State: 37:[24, 22, 15], Operations: ['6+9=15']\nExploring Operation: 22+15=37, Resulting Numbers: [24, 37]\nGenerated Node #0,4,0: 37:[24, 37] Operation: 22+15=37\nMoving to Node #0,4,0\nCurrent State: 37:[24, 37], Operations: ['6+9=15', '22+15=37']\nExploring Operation: 24+37=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 37:[24, 37], Operations: ['6+9=15', '22+15=37']\nExploring Operation: 37-24=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 37:[24, 22, 15], Operations: ['6+9=15']\nExploring Operation: 24+15=39, Resulting Numbers: [22, 39]\nGenerated Node #0,4,1: 37:[22, 39] Operation: 24+15=39\nMoving to Node #0,4,1\nCurrent State: 37:[22, 39], Operations: ['6+9=15', '24+15=39']\nExploring Operation: 39-22=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 37:[22, 39], Operations: ['6+9=15', '24+15=39']\nExploring Operation: 22+39=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 37:[24, 22, 15], Operations: ['6+9=15']\nExploring Operation: 24+22=46, Resulting Numbers: [15, 46]\nGenerated Node #0,4,2: 37:[15, 46] Operation: 24+22=46\nMoving to Node #0,4,2\nCurrent State: 37:[15, 46], Operations: ['6+9=15', '24+22=46']\nExploring Operation: 46-15=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 37:[15, 46], Operations: ['6+9=15', '24+22=46']\nExploring Operation: 15+46=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 37:[24, 22, 15], Operations: ['6+9=15']\nExploring Operation: 24-15=9, Resulting Numbers: [22, 9]\nGenerated Node #0,4,3: 37:[22, 9] Operation: 24-15=9\nMoving to Node #0,4,3\nCurrent State: 37:[22, 9], Operations: ['6+9=15', '24-15=9']\nExploring Operation: 22+9=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 37:[22, 9], Operations: ['6+9=15', '24-15=9']\nExploring Operation: 22-9=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 37:[24, 22, 15], Operations: ['6+9=15']\nExploring Operation: 22-15=7, Resulting Numbers: [24, 7]\nGenerated Node #0,4,4: 37:[24, 7] Operation: 22-15=7\nMoving to Node #0,4,4\nCurrent State: 37:[24, 7], Operations: ['6+9=15', '22-15=7']\nExploring Operation: 24+7=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 37:[24, 7], Operations: ['6+9=15', '22-15=7']\nExploring Operation: 24-7=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 37:[24, 22, 15], Operations: ['6+9=15']\nExploring Operation: 24-22=2, Resulting Numbers: [15, 2]\nGenerated Node #0,4,5: 37:[15, 2] Operation: 24-22=2\nMoving to Node #0,4,5\nCurrent State: 37:[15, 2], Operations: ['6+9=15', '24-22=2']\nExploring Operation: 15*2=30, Resulting Numbers: [30]\n30,37 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 37:[15, 2], Operations: ['6+9=15', '24-22=2']\nExploring Operation: 15+2=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 37:[15, 2], Operations: ['6+9=15', '24-22=2']\nExploring Operation: 15-2=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 22+9=31, Resulting Numbers: [24, 6, 31]\nGenerated Node #0,5: 37:[24, 6, 31] Operation: 22+9=31\nMoving to Node #0,5\nCurrent State: 37:[24, 6, 31], Operations: ['22+9=31']\nExploring Operation: 24+6=30, Resulting Numbers: [31, 30]\nGenerated Node #0,5,0: 37:[31, 30] Operation: 24+6=30\nMoving to Node #0,5,0\nCurrent State: 37:[31, 30], Operations: ['22+9=31', '24+6=30']\nExploring Operation: 31+30=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 37:[31, 30], Operations: ['22+9=31', '24+6=30']\nExploring Operation: 31-30=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 37:[24, 6, 31], Operations: ['22+9=31']\nExploring Operation: 6+31=37, Resulting Numbers: [24, 37]\nGenerated Node #0,5,1: 37:[24, 37] Operation: 6+31=37\nMoving to Node #0,5,1\nCurrent State: 37:[24, 37], Operations: ['22+9=31', '6+31=37']\nExploring Operation: 24+37=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 37:[24, 37], Operations: ['22+9=31', '6+31=37']\nExploring Operation: 37-24=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 37:[24, 6, 31], Operations: ['22+9=31']\nExploring Operation: 24-6=18, Resulting Numbers: [31, 18]\nGenerated Node #0,5,2: 37:[31, 18] Operation: 24-6=18\nMoving to Node #0,5,2\nCurrent State: 37:[31, 18], Operations: ['22+9=31', '24-6=18']\nExploring Operation: 31+18=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 37:[31, 18], Operations: ['22+9=31', '24-6=18']\nExploring Operation: 31-18=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 37:[24, 6, 31], Operations: ['22+9=31']\nExploring Operation: 31-6=25, Resulting Numbers: [24, 25]\nGenerated Node #0,5,3: 37:[24, 25] Operation: 31-6=25\nMoving to Node #0,5,3\nCurrent State: 37:[24, 25], Operations: ['22+9=31', '31-6=25']\nExploring Operation: 24+25=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 37:[24, 25], Operations: ['22+9=31', '31-6=25']\nExploring Operation: 25-24=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 37:[24, 6, 31], Operations: ['22+9=31']\nExploring Operation: 24/6=4, Resulting Numbers: [31, 4]\nGenerated Node #0,5,4: 37:[31, 4] Operation: 24/6=4\nMoving to Node #0,5,4\nCurrent State: 37:[31, 4], Operations: ['22+9=31', '24/6=4']\nExploring Operation: 31+4=35, Resulting Numbers: [35]\n35,37 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 37:[31, 4], Operations: ['22+9=31', '24/6=4']\nExploring Operation: 31-4=27, Resulting Numbers: [27]\n27,37 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 37:[24, 6, 31], Operations: ['22+9=31']\nExploring Operation: 24+31=55, Resulting Numbers: [6, 55]\nGenerated Node #0,5,5: 37:[6, 55] Operation: 24+31=55\nMoving to Node #0,5,5\nCurrent State: 37:[6, 55], Operations: ['22+9=31', '24+31=55']\nExploring Operation: 55-6=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 37:[6, 55], Operations: ['22+9=31', '24+31=55']\nExploring Operation: 6+55=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 37:[24, 6, 31], Operations: ['22+9=31']\nExploring Operation: 31-24=7, Resulting Numbers: [6, 7]\nGenerated Node #0,5,6: 37:[6, 7] Operation: 31-24=7\nMoving to Node #0,5,6\nCurrent State: 37:[6, 7], Operations: ['22+9=31', '31-24=7']\nExploring Operation: 6*7=42, Resulting Numbers: [42]\n42,37 unequal: No Solution\nMoving to Node #0,5,6\nCurrent State: 37:[6, 7], Operations: ['22+9=31', '31-24=7']\nExploring Operation: 6+7=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,5,6\nCurrent State: 37:[6, 7], Operations: ['22+9=31', '31-24=7']\nExploring Operation: 7-6=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 24-6=18, Resulting Numbers: [22, 9, 18]\nGenerated Node #0,6: 37:[22, 9, 18] Operation: 24-6=18\nMoving to Node #0,6\nCurrent State: 37:[22, 9, 18], Operations: ['24-6=18']\nExploring Operation: 22+9=31, Resulting Numbers: [18, 31]\nGenerated Node #0,6,0: 37:[18, 31] Operation: 22+9=31\nMoving to Node #0,6,0\nCurrent State: 37:[18, 31], Operations: ['24-6=18', '22+9=31']\nExploring Operation: 18+31=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 37:[18, 31], Operations: ['24-6=18', '22+9=31']\nExploring Operation: 31-18=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 37:[22, 9, 18], Operations: ['24-6=18']\nExploring Operation: 9+18=27, Resulting Numbers: [22, 27]\nGenerated Node #0,6,1: 37:[22, 27] Operation: 9+18=27\nMoving to Node #0,6,1\nCurrent State: 37:[22, 27], Operations: ['24-6=18', '9+18=27']\nExploring Operation: 22+27=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 37:[22, 27], Operations: ['24-6=18', '9+18=27']\nExploring Operation: 27-22=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 37:[22, 9, 18], Operations: ['24-6=18']\nExploring Operation: 22+18=40, Resulting Numbers: [9, 40]\nGenerated Node #0,6,2: 37:[9, 40] Operation: 22+18=40\nMoving to Node #0,6,2\nCurrent State: 37:[9, 40], Operations: ['24-6=18', '22+18=40']\nExploring Operation: 40-9=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 37:[9, 40], Operations: ['24-6=18', '22+18=40']\nExploring Operation: 9+40=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 37:[22, 9, 18], Operations: ['24-6=18']\nExploring Operation: 22-9=13, Resulting Numbers: [18, 13]\nGenerated Node #0,6,3: 37:[18, 13] Operation: 22-9=13\nMoving to Node #0,6,3\nCurrent State: 37:[18, 13], Operations: ['24-6=18', '22-9=13']\nExploring Operation: 18+13=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 37:[18, 13], Operations: ['24-6=18', '22-9=13']\nExploring Operation: 18-13=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 37:[22, 9, 18], Operations: ['24-6=18']\nExploring Operation: 18-9=9, Resulting Numbers: [22, 9]\nGenerated Node #0,6,4: 37:[22, 9] Operation: 18-9=9\nMoving to Node #0,6,4\nCurrent State: 37:[22, 9], Operations: ['24-6=18', '18-9=9']\nExploring Operation: 22+9=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 37:[22, 9], Operations: ['24-6=18', '18-9=9']\nExploring Operation: 22-9=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 37:[22, 9, 18], Operations: ['24-6=18']\nExploring Operation: 18/9=2, Resulting Numbers: [22, 2]\nGenerated Node #0,6,5: 37:[22, 2] Operation: 18/9=2\nMoving to Node #0,6,5\nCurrent State: 37:[22, 2], Operations: ['24-6=18', '18/9=2']\nExploring Operation: 22*2=44, Resulting Numbers: [44]\n44,37 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 37:[22, 2], Operations: ['24-6=18', '18/9=2']\nExploring Operation: 22+2=24, Resulting Numbers: [24]\n24,37 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 37:[22, 2], Operations: ['24-6=18', '18/9=2']\nExploring Operation: 22-2=20, Resulting Numbers: [20]\n20,37 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 37:[22, 2], Operations: ['24-6=18', '18/9=2']\nExploring Operation: 22/2=11, Resulting Numbers: [11]\n11,37 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 37:[22, 9, 18], Operations: ['24-6=18']\nExploring Operation: 22-18=4, Resulting Numbers: [9, 4]\nGenerated Node #0,6,6: 37:[9, 4] Operation: 22-18=4\nMoving to Node #0,6,6\nCurrent State: 37:[9, 4], Operations: ['24-6=18', '22-18=4']\nExploring Operation: 9*4=36, Resulting Numbers: [36]\n36,37 unequal: No Solution\nMoving to Node #0,6,6\nCurrent State: 37:[9, 4], Operations: ['24-6=18', '22-18=4']\nExploring Operation: 9+4=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,6,6\nCurrent State: 37:[9, 4], Operations: ['24-6=18', '22-18=4']\nExploring Operation: 9-4=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 22-6=16, Resulting Numbers: [24, 9, 16]\nGenerated Node #0,7: 37:[24, 9, 16] Operation: 22-6=16\nMoving to Node #0,7\nCurrent State: 37:[24, 9, 16], Operations: ['22-6=16']\nExploring Operation: 24+9=33, Resulting Numbers: [16, 33]\nGenerated Node #0,7,0: 37:[16, 33] Operation: 24+9=33\nMoving to Node #0,7,0\nCurrent State: 37:[16, 33], Operations: ['22-6=16', '24+9=33']\nExploring Operation: 16+33=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 37:[16, 33], Operations: ['22-6=16', '24+9=33']\nExploring Operation: 33-16=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 37:[24, 9, 16], Operations: ['22-6=16']\nExploring Operation: 9+16=25, Resulting Numbers: [24, 25]\nGenerated Node #0,7,1: 37:[24, 25] Operation: 9+16=25\nMoving to Node #0,7,1\nCurrent State: 37:[24, 25], Operations: ['22-6=16', '9+16=25']\nExploring Operation: 24+25=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 37:[24, 25], Operations: ['22-6=16', '9+16=25']\nExploring Operation: 25-24=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 37:[24, 9, 16], Operations: ['22-6=16']\nExploring Operation: 24+16=40, Resulting Numbers: [9, 40]\nGenerated Node #0,7,2: 37:[9, 40] Operation: 24+16=40\nMoving to Node #0,7,2\nCurrent State: 37:[9, 40], Operations: ['22-6=16', '24+16=40']\nExploring Operation: 40-9=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 37:[9, 40], Operations: ['22-6=16', '24+16=40']\nExploring Operation: 9+40=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 37:[24, 9, 16], Operations: ['22-6=16']\nExploring Operation: 24-9=15, Resulting Numbers: [16, 15]\nGenerated Node #0,7,3: 37:[16, 15] Operation: 24-9=15\nMoving to Node #0,7,3\nCurrent State: 37:[16, 15], Operations: ['22-6=16', '24-9=15']\nExploring Operation: 16+15=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 37:[16, 15], Operations: ['22-6=16', '24-9=15']\nExploring Operation: 16-15=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 37:[24, 9, 16], Operations: ['22-6=16']\nExploring Operation: 16-9=7, Resulting Numbers: [24, 7]\nGenerated Node #0,7,4: 37:[24, 7] Operation: 16-9=7\nMoving to Node #0,7,4\nCurrent State: 37:[24, 7], Operations: ['22-6=16', '16-9=7']\nExploring Operation: 24+7=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 37:[24, 7], Operations: ['22-6=16', '16-9=7']\nExploring Operation: 24-7=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 37:[24, 9, 16], Operations: ['22-6=16']\nExploring Operation: 24-16=8, Resulting Numbers: [9, 8]\nGenerated Node #0,7,5: 37:[9, 8] Operation: 24-16=8\nMoving to Node #0,7,5\nCurrent State: 37:[9, 8], Operations: ['22-6=16', '24-16=8']\nExploring Operation: 9+8=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 37:[9, 8], Operations: ['22-6=16', '24-16=8']\nExploring Operation: 9*8=72, Resulting Numbers: [72]\n72,37 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 37:[9, 8], Operations: ['22-6=16', '24-16=8']\nExploring Operation: 9-8=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 9-6=3, Resulting Numbers: [24, 22, 3]\nGenerated Node #0,8: 37:[24, 22, 3] Operation: 9-6=3\nMoving to Node #0,8\nCurrent State: 37:[24, 22, 3], Operations: ['9-6=3']\nExploring Operation: 24+3=27, Resulting Numbers: [22, 27]\nGenerated Node #0,8,0: 37:[22, 27] Operation: 24+3=27\nMoving to Node #0,8,0\nCurrent State: 37:[22, 27], Operations: ['9-6=3', '24+3=27']\nExploring Operation: 22+27=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 37:[22, 27], Operations: ['9-6=3', '24+3=27']\nExploring Operation: 27-22=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 37:[24, 22, 3], Operations: ['9-6=3']\nExploring Operation: 22+3=25, Resulting Numbers: [24, 25]\nGenerated Node #0,8,1: 37:[24, 25] Operation: 22+3=25\nMoving to Node #0,8,1\nCurrent State: 37:[24, 25], Operations: ['9-6=3', '22+3=25']\nExploring Operation: 24+25=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 37:[24, 25], Operations: ['9-6=3', '22+3=25']\nExploring Operation: 25-24=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 37:[24, 22, 3], Operations: ['9-6=3']\nExploring Operation: 24-3=21, Resulting Numbers: [22, 21]\nGenerated Node #0,8,2: 37:[22, 21] Operation: 24-3=21\nMoving to Node #0,8,2\nCurrent State: 37:[22, 21], Operations: ['9-6=3', '24-3=21']\nExploring Operation: 22+21=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 37:[22, 21], Operations: ['9-6=3', '24-3=21']\nExploring Operation: 22-21=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 37:[24, 22, 3], Operations: ['9-6=3']\nExploring Operation: 22-3=19, Resulting Numbers: [24, 19]\nGenerated Node #0,8,3: 37:[24, 19] Operation: 22-3=19\nMoving to Node #0,8,3\nCurrent State: 37:[24, 19], Operations: ['9-6=3', '22-3=19']\nExploring Operation: 24+19=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 37:[24, 19], Operations: ['9-6=3', '22-3=19']\nExploring Operation: 24-19=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 37:[24, 22, 3], Operations: ['9-6=3']\nExploring Operation: 22*3=66, Resulting Numbers: [24, 66]\nGenerated Node #0,8,4: 37:[24, 66] Operation: 22*3=66\nMoving to Node #0,8,4\nCurrent State: 37:[24, 66], Operations: ['9-6=3', '22*3=66']\nExploring Operation: 66-24=42, Resulting Numbers: [42]\n42,37 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 37:[24, 22, 3], Operations: ['9-6=3']\nExploring Operation: 24+22=46, Resulting Numbers: [3, 46]\nGenerated Node #0,8,5: 37:[3, 46] Operation: 24+22=46\nMoving to Node #0,8,5\nCurrent State: 37:[3, 46], Operations: ['9-6=3', '24+22=46']\nExploring Operation: 46-3=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 37:[3, 46], Operations: ['9-6=3', '24+22=46']\nExploring Operation: 3+46=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 37:[24, 22, 3], Operations: ['9-6=3']\nExploring Operation: 24/3=8, Resulting Numbers: [22, 8]\nGenerated Node #0,8,6: 37:[22, 8] Operation: 24/3=8\nMoving to Node #0,8,6\nCurrent State: 37:[22, 8], Operations: ['9-6=3', '24/3=8']\nExploring Operation: 22+8=30, Resulting Numbers: [30]\n30,37 unequal: No Solution\nMoving to Node #0,8,6\nCurrent State: 37:[22, 8], Operations: ['9-6=3', '24/3=8']\nExploring Operation: 22-8=14, Resulting Numbers: [14]\n14,37 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 37:[24, 22, 3], Operations: ['9-6=3']\nExploring Operation: 24*3=72, Resulting Numbers: [22, 72]\nGenerated Node #0,8,7: 37:[22, 72] Operation: 24*3=72\nMoving to Node #0,8,7\nCurrent State: 37:[22, 72], Operations: ['9-6=3', '24*3=72']\nExploring Operation: 72-22=50, Resulting Numbers: [50]\n50,37 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 37:[24, 22, 3], Operations: ['9-6=3']\nExploring Operation: 24-22=2, Resulting Numbers: [3, 2]\nGenerated Node #0,8,8: 37:[3, 2] Operation: 24-22=2\nMoving to Node #0,8,8\nCurrent State: 37:[3, 2], Operations: ['9-6=3', '24-22=2']\nExploring Operation: 3*2=6, Resulting Numbers: [6]\n6,37 unequal: No Solution\nMoving to Node #0,8,8\nCurrent State: 37:[3, 2], Operations: ['9-6=3', '24-22=2']\nExploring Operation: 3+2=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,8,8\nCurrent State: 37:[3, 2], Operations: ['9-6=3', '24-22=2']\nExploring Operation: 3-2=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 24+22=46, Resulting Numbers: [6, 9, 46]\nGenerated Node #0,9: 37:[6, 9, 46] Operation: 24+22=46\nMoving to Node #0,9\nCurrent State: 37:[6, 9, 46], Operations: ['24+22=46']\nExploring Operation: 6*9=54, Resulting Numbers: [46, 54]\nGenerated Node #0,9,0: 37:[46, 54] Operation: 6*9=54\nMoving to Node #0,9,0\nCurrent State: 37:[46, 54], Operations: ['24+22=46', '6*9=54']\nExploring Operation: 54-46=8, Resulting Numbers: [8]\n8,37 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 37:[6, 9, 46], Operations: ['24+22=46']\nExploring Operation: 6+9=15, Resulting Numbers: [46, 15]\nGenerated Node #0,9,1: 37:[46, 15] Operation: 6+9=15\nMoving to Node #0,9,1\nCurrent State: 37:[46, 15], Operations: ['24+22=46', '6+9=15']\nExploring Operation: 46-15=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 37:[46, 15], Operations: ['24+22=46', '6+9=15']\nExploring Operation: 46+15=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 37:[6, 9, 46], Operations: ['24+22=46']\nExploring Operation: 46-6=40, Resulting Numbers: [9, 40]\nGenerated Node #0,9,2: 37:[9, 40] Operation: 46-6=40\nMoving to Node #0,9,2\nCurrent State: 37:[9, 40], Operations: ['24+22=46', '46-6=40']\nExploring Operation: 40-9=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 37:[9, 40], Operations: ['24+22=46', '46-6=40']\nExploring Operation: 9+40=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 37:[6, 9, 46], Operations: ['24+22=46']\nExploring Operation: 46-9=37, Resulting Numbers: [6, 37]\nGenerated Node #0,9,3: 37:[6, 37] Operation: 46-9=37\nMoving to Node #0,9,3\nCurrent State: 37:[6, 37], Operations: ['24+22=46', '46-9=37']\nExploring Operation: 6+37=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 37:[6, 37], Operations: ['24+22=46', '46-9=37']\nExploring Operation: 37-6=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 37:[6, 9, 46], Operations: ['24+22=46']\nExploring Operation: 9-6=3, Resulting Numbers: [46, 3]\nGenerated Node #0,9,4: 37:[46, 3] Operation: 9-6=3\nMoving to Node #0,9,4\nCurrent State: 37:[46, 3], Operations: ['24+22=46', '9-6=3']\nExploring Operation: 46-3=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 37:[46, 3], Operations: ['24+22=46', '9-6=3']\nExploring Operation: 46+3=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 37:[6, 9, 46], Operations: ['24+22=46']\nExploring Operation: 6+46=52, Resulting Numbers: [9, 52]\nGenerated Node #0,9,5: 37:[9, 52] Operation: 6+46=52\nMoving to Node #0,9,5\nCurrent State: 37:[9, 52], Operations: ['24+22=46', '6+46=52']\nExploring Operation: 52-9=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,9,5\nCurrent State: 37:[9, 52], Operations: ['24+22=46', '6+46=52']\nExploring Operation: 9+52=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 37:[6, 9, 46], Operations: ['24+22=46']\nExploring Operation: 9+46=55, Resulting Numbers: [6, 55]\nGenerated Node #0,9,6: 37:[6, 55] Operation: 9+46=55\nMoving to Node #0,9,6\nCurrent State: 37:[6, 55], Operations: ['24+22=46', '9+46=55']\nExploring Operation: 55-6=49, Resulting Numbers: [49]\n49,37 unequal: No Solution\nMoving to Node #0,9,6\nCurrent State: 37:[6, 55], Operations: ['24+22=46', '9+46=55']\nExploring Operation: 6+55=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 24-9=15, Resulting Numbers: [6, 22, 15]\nGenerated Node #0,10: 37:[6, 22, 15] Operation: 24-9=15\nMoving to Node #0,10\nCurrent State: 37:[6, 22, 15], Operations: ['24-9=15']\nExploring Operation: 6+22=28, Resulting Numbers: [15, 28]\nGenerated Node #0,10,0: 37:[15, 28] Operation: 6+22=28\nMoving to Node #0,10,0\nCurrent State: 37:[15, 28], Operations: ['24-9=15', '6+22=28']\nExploring Operation: 15+28=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 37:[15, 28], Operations: ['24-9=15', '6+22=28']\nExploring Operation: 28-15=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 37:[6, 22, 15], Operations: ['24-9=15']\nExploring Operation: 6+15=21, Resulting Numbers: [22, 21]\nGenerated Node #0,10,1: 37:[22, 21] Operation: 6+15=21\nMoving to Node #0,10,1\nCurrent State: 37:[22, 21], Operations: ['24-9=15', '6+15=21']\nExploring Operation: 22+21=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 37:[22, 21], Operations: ['24-9=15', '6+15=21']\nExploring Operation: 22-21=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 37:[6, 22, 15], Operations: ['24-9=15']\nExploring Operation: 22+15=37, Resulting Numbers: [6, 37]\nGenerated Node #0,10,2: 37:[6, 37] Operation: 22+15=37\nMoving to Node #0,10,2\nCurrent State: 37:[6, 37], Operations: ['24-9=15', '22+15=37']\nExploring Operation: 6+37=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 37:[6, 37], Operations: ['24-9=15', '22+15=37']\nExploring Operation: 37-6=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 37:[6, 22, 15], Operations: ['24-9=15']\nExploring Operation: 22-6=16, Resulting Numbers: [15, 16]\nGenerated Node #0,10,3: 37:[15, 16] Operation: 22-6=16\nMoving to Node #0,10,3\nCurrent State: 37:[15, 16], Operations: ['24-9=15', '22-6=16']\nExploring Operation: 15+16=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 37:[15, 16], Operations: ['24-9=15', '22-6=16']\nExploring Operation: 16-15=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 37:[6, 22, 15], Operations: ['24-9=15']\nExploring Operation: 15-6=9, Resulting Numbers: [22, 9]\nGenerated Node #0,10,4: 37:[22, 9] Operation: 15-6=9\nMoving to Node #0,10,4\nCurrent State: 37:[22, 9], Operations: ['24-9=15', '15-6=9']\nExploring Operation: 22+9=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 37:[22, 9], Operations: ['24-9=15', '15-6=9']\nExploring Operation: 22-9=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 37:[6, 22, 15], Operations: ['24-9=15']\nExploring Operation: 22-15=7, Resulting Numbers: [6, 7]\nGenerated Node #0,10,5: 37:[6, 7] Operation: 22-15=7\nMoving to Node #0,10,5\nCurrent State: 37:[6, 7], Operations: ['24-9=15', '22-15=7']\nExploring Operation: 6*7=42, Resulting Numbers: [42]\n42,37 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 37:[6, 7], Operations: ['24-9=15', '22-15=7']\nExploring Operation: 6+7=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 37:[6, 7], Operations: ['24-9=15', '22-15=7']\nExploring Operation: 7-6=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 37:[6, 22, 15], Operations: ['24-9=15']\nExploring Operation: 6*15=90, Resulting Numbers: [22, 90]\nGenerated Node #0,10,6: 37:[22, 90] Operation: 6*15=90\nMoving to Node #0,10,6\nCurrent State: 37:[22, 90], Operations: ['24-9=15', '6*15=90']\nExploring Operation: 90-22=68, Resulting Numbers: [68]\n68,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 22-9=13, Resulting Numbers: [24, 6, 13]\nGenerated Node #0,11: 37:[24, 6, 13] Operation: 22-9=13\nMoving to Node #0,11\nCurrent State: 37:[24, 6, 13], Operations: ['22-9=13']\nExploring Operation: 24+6=30, Resulting Numbers: [13, 30]\nGenerated Node #0,11,0: 37:[13, 30] Operation: 24+6=30\nMoving to Node #0,11,0\nCurrent State: 37:[13, 30], Operations: ['22-9=13', '24+6=30']\nExploring Operation: 13+30=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 37:[13, 30], Operations: ['22-9=13', '24+6=30']\nExploring Operation: 30-13=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 37:[24, 6, 13], Operations: ['22-9=13']\nExploring Operation: 24+13=37, Resulting Numbers: [6, 37]\nGenerated Node #0,11,1: 37:[6, 37] Operation: 24+13=37\nMoving to Node #0,11,1\nCurrent State: 37:[6, 37], Operations: ['22-9=13', '24+13=37']\nExploring Operation: 6+37=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 37:[6, 37], Operations: ['22-9=13', '24+13=37']\nExploring Operation: 37-6=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 37:[24, 6, 13], Operations: ['22-9=13']\nExploring Operation: 6+13=19, Resulting Numbers: [24, 19]\nGenerated Node #0,11,2: 37:[24, 19] Operation: 6+13=19\nMoving to Node #0,11,2\nCurrent State: 37:[24, 19], Operations: ['22-9=13', '6+13=19']\nExploring Operation: 24+19=43, Resulting Numbers: [43]\n43,37 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 37:[24, 19], Operations: ['22-9=13', '6+13=19']\nExploring Operation: 24-19=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 37:[24, 6, 13], Operations: ['22-9=13']\nExploring Operation: 24-6=18, Resulting Numbers: [13, 18]\nGenerated Node #0,11,3: 37:[13, 18] Operation: 24-6=18\nMoving to Node #0,11,3\nCurrent State: 37:[13, 18], Operations: ['22-9=13', '24-6=18']\nExploring Operation: 13+18=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,11,3\nCurrent State: 37:[13, 18], Operations: ['22-9=13', '24-6=18']\nExploring Operation: 18-13=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 37:[24, 6, 13], Operations: ['22-9=13']\nExploring Operation: 13-6=7, Resulting Numbers: [24, 7]\nGenerated Node #0,11,4: 37:[24, 7] Operation: 13-6=7\nMoving to Node #0,11,4\nCurrent State: 37:[24, 7], Operations: ['22-9=13', '13-6=7']\nExploring Operation: 24+7=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 37:[24, 7], Operations: ['22-9=13', '13-6=7']\nExploring Operation: 24-7=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 37:[24, 6, 13], Operations: ['22-9=13']\nExploring Operation: 6*13=78, Resulting Numbers: [24, 78]\nGenerated Node #0,11,5: 37:[24, 78] Operation: 6*13=78\nMoving to Node #0,11,5\nCurrent State: 37:[24, 78], Operations: ['22-9=13', '6*13=78']\nExploring Operation: 78-24=54, Resulting Numbers: [54]\n54,37 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 37:[24, 6, 13], Operations: ['22-9=13']\nExploring Operation: 24/6=4, Resulting Numbers: [13, 4]\nGenerated Node #0,11,6: 37:[13, 4] Operation: 24/6=4\nMoving to Node #0,11,6\nCurrent State: 37:[13, 4], Operations: ['22-9=13', '24/6=4']\nExploring Operation: 13*4=52, Resulting Numbers: [52]\n52,37 unequal: No Solution\nMoving to Node #0,11,6\nCurrent State: 37:[13, 4], Operations: ['22-9=13', '24/6=4']\nExploring Operation: 13+4=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,11,6\nCurrent State: 37:[13, 4], Operations: ['22-9=13', '24/6=4']\nExploring Operation: 13-4=9, Resulting Numbers: [9]\n9,37 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 37:[24, 6, 13], Operations: ['22-9=13']\nExploring Operation: 24-13=11, Resulting Numbers: [6, 11]\nGenerated Node #0,11,7: 37:[6, 11] Operation: 24-13=11\nMoving to Node #0,11,7\nCurrent State: 37:[6, 11], Operations: ['22-9=13', '24-13=11']\nExploring Operation: 6+11=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,11,7\nCurrent State: 37:[6, 11], Operations: ['22-9=13', '24-13=11']\nExploring Operation: 6*11=66, Resulting Numbers: [66]\n66,37 unequal: No Solution\nMoving to Node #0,11,7\nCurrent State: 37:[6, 11], Operations: ['22-9=13', '24-13=11']\nExploring Operation: 11-6=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 24/6=4, Resulting Numbers: [22, 9, 4]\nGenerated Node #0,12: 37:[22, 9, 4] Operation: 24/6=4\nMoving to Node #0,12\nCurrent State: 37:[22, 9, 4], Operations: ['24/6=4']\nExploring Operation: 9*4=36, Resulting Numbers: [22, 36]\nGenerated Node #0,12,0: 37:[22, 36] Operation: 9*4=36\nMoving to Node #0,12,0\nCurrent State: 37:[22, 36], Operations: ['24/6=4', '9*4=36']\nExploring Operation: 22+36=58, Resulting Numbers: [58]\n58,37 unequal: No Solution\nMoving to Node #0,12,0\nCurrent State: 37:[22, 36], Operations: ['24/6=4', '9*4=36']\nExploring Operation: 36-22=14, Resulting Numbers: [14]\n14,37 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 37:[22, 9, 4], Operations: ['24/6=4']\nExploring Operation: 22+9=31, Resulting Numbers: [4, 31]\nGenerated Node #0,12,1: 37:[4, 31] Operation: 22+9=31\nMoving to Node #0,12,1\nCurrent State: 37:[4, 31], Operations: ['24/6=4', '22+9=31']\nExploring Operation: 4+31=35, Resulting Numbers: [35]\n35,37 unequal: No Solution\nMoving to Node #0,12,1\nCurrent State: 37:[4, 31], Operations: ['24/6=4', '22+9=31']\nExploring Operation: 31-4=27, Resulting Numbers: [27]\n27,37 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 37:[22, 9, 4], Operations: ['24/6=4']\nExploring Operation: 22+4=26, Resulting Numbers: [9, 26]\nGenerated Node #0,12,2: 37:[9, 26] Operation: 22+4=26\nMoving to Node #0,12,2\nCurrent State: 37:[9, 26], Operations: ['24/6=4', '22+4=26']\nExploring Operation: 9+26=35, Resulting Numbers: [35]\n35,37 unequal: No Solution\nMoving to Node #0,12,2\nCurrent State: 37:[9, 26], Operations: ['24/6=4', '22+4=26']\nExploring Operation: 26-9=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 37:[22, 9, 4], Operations: ['24/6=4']\nExploring Operation: 9+4=13, Resulting Numbers: [22, 13]\nGenerated Node #0,12,3: 37:[22, 13] Operation: 9+4=13\nMoving to Node #0,12,3\nCurrent State: 37:[22, 13], Operations: ['24/6=4', '9+4=13']\nExploring Operation: 22+13=35, Resulting Numbers: [35]\n35,37 unequal: No Solution\nMoving to Node #0,12,3\nCurrent State: 37:[22, 13], Operations: ['24/6=4', '9+4=13']\nExploring Operation: 22-13=9, Resulting Numbers: [9]\n9,37 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 37:[22, 9, 4], Operations: ['24/6=4']\nExploring Operation: 22-4=18, Resulting Numbers: [9, 18]\nGenerated Node #0,12,4: 37:[9, 18] Operation: 22-4=18\nMoving to Node #0,12,4\nCurrent State: 37:[9, 18], Operations: ['24/6=4', '22-4=18']\nExploring Operation: 9+18=27, Resulting Numbers: [27]\n27,37 unequal: No Solution\nMoving to Node #0,12,4\nCurrent State: 37:[9, 18], Operations: ['24/6=4', '22-4=18']\nExploring Operation: 18-9=9, Resulting Numbers: [9]\n9,37 unequal: No Solution\nMoving to Node #0,12,4\nCurrent State: 37:[9, 18], Operations: ['24/6=4', '22-4=18']\nExploring Operation: 18/9=2, Resulting Numbers: [2]\n2,37 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 37:[22, 9, 4], Operations: ['24/6=4']\nExploring Operation: 9-4=5, Resulting Numbers: [22, 5]\nGenerated Node #0,12,5: 37:[22, 5] Operation: 9-4=5\nMoving to Node #0,12,5\nCurrent State: 37:[22, 5], Operations: ['24/6=4', '9-4=5']\nExploring Operation: 22+5=27, Resulting Numbers: [27]\n27,37 unequal: No Solution\nMoving to Node #0,12,5\nCurrent State: 37:[22, 5], Operations: ['24/6=4', '9-4=5']\nExploring Operation: 22-5=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 37:[22, 9, 4], Operations: ['24/6=4']\nExploring Operation: 22-9=13, Resulting Numbers: [4, 13]\nGenerated Node #0,12,6: 37:[4, 13] Operation: 22-9=13\nMoving to Node #0,12,6\nCurrent State: 37:[4, 13], Operations: ['24/6=4', '22-9=13']\nExploring Operation: 4*13=52, Resulting Numbers: [52]\n52,37 unequal: No Solution\nMoving to Node #0,12,6\nCurrent State: 37:[4, 13], Operations: ['24/6=4', '22-9=13']\nExploring Operation: 4+13=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,12,6\nCurrent State: 37:[4, 13], Operations: ['24/6=4', '22-9=13']\nExploring Operation: 13-4=9, Resulting Numbers: [9]\n9,37 unequal: No Solution\nMoving to Node #0\nCurrent State: 37:[24, 6, 22, 9], Operations: []\nExploring Operation: 24-22=2, Resulting Numbers: [6, 9, 2]\nGenerated Node #0,13: 37:[6, 9, 2] Operation: 24-22=2\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 9*2=18, Resulting Numbers: [6, 18]\nGenerated Node #0,13,0: 37:[6, 18] Operation: 9*2=18\nMoving to Node #0,13,0\nCurrent State: 37:[6, 18], Operations: ['24-22=2', '9*2=18']\nExploring Operation: 6+18=24, Resulting Numbers: [24]\n24,37 unequal: No Solution\nMoving to Node #0,13,0\nCurrent State: 37:[6, 18], Operations: ['24-22=2', '9*2=18']\nExploring Operation: 18-6=12, Resulting Numbers: [12]\n12,37 unequal: No Solution\nMoving to Node #0,13,0\nCurrent State: 37:[6, 18], Operations: ['24-22=2', '9*2=18']\nExploring Operation: 18/6=3, Resulting Numbers: [3]\n3,37 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 6*9=54, Resulting Numbers: [2, 54]\nGenerated Node #0,13,1: 37:[2, 54] Operation: 6*9=54\nMoving to Node #0,13,1\nCurrent State: 37:[2, 54], Operations: ['24-22=2', '6*9=54']\nExploring Operation: 54/2=27, Resulting Numbers: [27]\n27,37 unequal: No Solution\nMoving to Node #0,13,1\nCurrent State: 37:[2, 54], Operations: ['24-22=2', '6*9=54']\nExploring Operation: 54-2=52, Resulting Numbers: [52]\n52,37 unequal: No Solution\nMoving to Node #0,13,1\nCurrent State: 37:[2, 54], Operations: ['24-22=2', '6*9=54']\nExploring Operation: 2+54=56, Resulting Numbers: [56]\n56,37 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 6*2=12, Resulting Numbers: [9, 12]\nGenerated Node #0,13,2: 37:[9, 12] Operation: 6*2=12\nMoving to Node #0,13,2\nCurrent State: 37:[9, 12], Operations: ['24-22=2', '6*2=12']\nExploring Operation: 9+12=21, Resulting Numbers: [21]\n21,37 unequal: No Solution\nMoving to Node #0,13,2\nCurrent State: 37:[9, 12], Operations: ['24-22=2', '6*2=12']\nExploring Operation: 12-9=3, Resulting Numbers: [3]\n3,37 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 6+9=15, Resulting Numbers: [2, 15]\nGenerated Node #0,13,3: 37:[2, 15] Operation: 6+9=15\nMoving to Node #0,13,3\nCurrent State: 37:[2, 15], Operations: ['24-22=2', '6+9=15']\nExploring Operation: 2*15=30, Resulting Numbers: [30]\n30,37 unequal: No Solution\nMoving to Node #0,13,3\nCurrent State: 37:[2, 15], Operations: ['24-22=2', '6+9=15']\nExploring Operation: 2+15=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,13,3\nCurrent State: 37:[2, 15], Operations: ['24-22=2', '6+9=15']\nExploring Operation: 15-2=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 6+2=8, Resulting Numbers: [9, 8]\nGenerated Node #0,13,4: 37:[9, 8] Operation: 6+2=8\nMoving to Node #0,13,4\nCurrent State: 37:[9, 8], Operations: ['24-22=2', '6+2=8']\nExploring Operation: 9+8=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,13,4\nCurrent State: 37:[9, 8], Operations: ['24-22=2', '6+2=8']\nExploring Operation: 9*8=72, Resulting Numbers: [72]\n72,37 unequal: No Solution\nMoving to Node #0,13,4\nCurrent State: 37:[9, 8], Operations: ['24-22=2', '6+2=8']\nExploring Operation: 9-8=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 9+2=11, Resulting Numbers: [6, 11]\nGenerated Node #0,13,5: 37:[6, 11] Operation: 9+2=11\nMoving to Node #0,13,5\nCurrent State: 37:[6, 11], Operations: ['24-22=2', '9+2=11']\nExploring Operation: 6+11=17, Resulting Numbers: [17]\n17,37 unequal: No Solution\nMoving to Node #0,13,5\nCurrent State: 37:[6, 11], Operations: ['24-22=2', '9+2=11']\nExploring Operation: 6*11=66, Resulting Numbers: [66]\n66,37 unequal: No Solution\nMoving to Node #0,13,5\nCurrent State: 37:[6, 11], Operations: ['24-22=2', '9+2=11']\nExploring Operation: 11-6=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 6-2=4, Resulting Numbers: [9, 4]\nGenerated Node #0,13,6: 37:[9, 4] Operation: 6-2=4\nMoving to Node #0,13,6\nCurrent State: 37:[9, 4], Operations: ['24-22=2', '6-2=4']\nExploring Operation: 9*4=36, Resulting Numbers: [36]\n36,37 unequal: No Solution\nMoving to Node #0,13,6\nCurrent State: 37:[9, 4], Operations: ['24-22=2', '6-2=4']\nExploring Operation: 9+4=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,13,6\nCurrent State: 37:[9, 4], Operations: ['24-22=2', '6-2=4']\nExploring Operation: 9-4=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 9-2=7, Resulting Numbers: [6, 7]\nGenerated Node #0,13,7: 37:[6, 7] Operation: 9-2=7\nMoving to Node #0,13,7\nCurrent State: 37:[6, 7], Operations: ['24-22=2', '9-2=7']\nExploring Operation: 6*7=42, Resulting Numbers: [42]\n42,37 unequal: No Solution\nMoving to Node #0,13,7\nCurrent State: 37:[6, 7], Operations: ['24-22=2', '9-2=7']\nExploring Operation: 6+7=13, Resulting Numbers: [13]\n13,37 unequal: No Solution\nMoving to Node #0,13,7\nCurrent State: 37:[6, 7], Operations: ['24-22=2', '9-2=7']\nExploring Operation: 7-6=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 6/2=3, Resulting Numbers: [9, 3]\nGenerated Node #0,13,8: 37:[9, 3] Operation: 6/2=3\nMoving to Node #0,13,8\nCurrent State: 37:[9, 3], Operations: ['24-22=2', '6/2=3']\nExploring Operation: 9*3=27, Resulting Numbers: [27]\n27,37 unequal: No Solution\nMoving to Node #0,13,8\nCurrent State: 37:[9, 3], Operations: ['24-22=2', '6/2=3']\nExploring Operation: 9+3=12, Resulting Numbers: [12]\n12,37 unequal: No Solution\nMoving to Node #0,13,8\nCurrent State: 37:[9, 3], Operations: ['24-22=2', '6/2=3']\nExploring Operation: 9-3=6, Resulting Numbers: [6]\n6,37 unequal: No Solution\nMoving to Node #0,13,8\nCurrent State: 37:[9, 3], Operations: ['24-22=2', '6/2=3']\nExploring Operation: 9/3=3, Resulting Numbers: [3]\n3,37 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 37:[6, 9, 2], Operations: ['24-22=2']\nExploring Operation: 9-6=3, Resulting Numbers: [2, 3]\nGenerated Node #0,13,9: 37:[2, 3] Operation: 9-6=3\nMoving to Node #0,13,9\nCurrent State: 37:[2, 3], Operations: ['24-22=2', '9-6=3']\nExploring Operation: 2*3=6, Resulting Numbers: [6]\n6,37 unequal: No Solution\nMoving to Node #0,13,9\nCurrent State: 37:[2, 3], Operations: ['24-22=2', '9-6=3']\nExploring Operation: 2+3=5, Resulting Numbers: [5]\n5,37 unequal: No Solution\nMoving to Node #0,13,9\nCurrent State: 37:[2, 3], Operations: ['24-22=2', '9-6=3']\nExploring Operation: 3-2=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\n", "role": "assistant" } ]