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
[ 2, 60, 39, 24 ]
21
[ "60-24=36", "36/2=18", "39-18=21" ]
Current State: 21:[2, 60, 39, 24], Operations: [] Exploring Operation: 60-39=21, Resulting Numbers: [2, 24, 21] Generated Node #0,0: 21:[2, 24, 21] Operation: 60-39=21 Moving to Node #0,0 Current State: 21:[2, 24, 21], Operations: ['60-39=21'] Exploring Operation: 24-2=22, Resulting Numbers: [21, 22] Generated Node #0,0,0: 21:[21, 22] Operation: 24-2=22 Moving to Node #0,0,0 Current State: 21:[21, 22], Operations: ['60-39=21', '24-2=22'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,0,0,0 Current State: 21:[1], Operations: ['60-39=21', '24-2=22', '22-21=1'] No solution found.
0
bfs_1
Current State: 21:[2, 60, 39, 24], Operations: [] Exploring Operation: 60-24=36, Resulting Numbers: [2, 39, 36] Generated Node #2: [2, 39, 36] from Operation: 60-24=36 Current State: 21:[2, 39, 36], Operations: ['60-24=36'] Exploring Operation: 36/2=18, Resulting Numbers: [39, 18] Generated Node #3: [39, 18] from Operation: 36/2=18 Current State: 21:[39, 18], Operations: ['60-24=36', '36/2=18'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
sum_heuristic
[ { "content": "Make 21 with the numbers [2, 60, 39, 24] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 21:[2, 60, 39, 24], Operations: []\nExploring Operation: 60-39=21, Resulting Numbers: [2, 24, 21]\nGenerated Node #0,0: 21:[2, 24, 21] Operation: 60-39=21\nMoving to Node #0,0\nCurrent State: 21:[2, 24, 21], Operations: ['60-39=21']\nExploring Operation: 24-2=22, Resulting Numbers: [21, 22]\nGenerated Node #0,0,0: 21:[21, 22] Operation: 24-2=22\nMoving to Node #0,0,0\nCurrent State: 21:[21, 22], Operations: ['60-39=21', '24-2=22']\nExploring Operation: 22-21=1, Resulting Numbers: [1]\n1,21 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 21:[1], Operations: ['60-39=21', '24-2=22', '22-21=1']\nNo solution found.", "role": "assistant" } ]
[ 84, 28, 69, 7 ]
61
[ "84-28=56", "56/7=8", "69-8=61" ]
Current State: 61:[84, 28, 69, 7], Operations: [] Exploring Operation: 84-7=77, Resulting Numbers: [28, 69, 77] Generated Node #0,0: 61:[28, 69, 77] Operation: 84-7=77 Moving to Node #0,0 Current State: 61:[28, 69, 77], Operations: ['84-7=77'] Exploring Operation: 77-28=49, Resulting Numbers: [69, 49] Generated Node #0,0,0: 61:[69, 49] Operation: 77-28=49 Moving to Node #0,0,0 Current State: 61:[69, 49], Operations: ['84-7=77', '77-28=49'] Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[69, 49], Operations: ['84-7=77', '77-28=49'] Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[28, 69, 77], Operations: ['84-7=77'] Exploring Operation: 69-28=41, Resulting Numbers: [77, 41] Generated Node #0,0,1: 61:[77, 41] Operation: 69-28=41 Moving to Node #0,0,1 Current State: 61:[77, 41], Operations: ['84-7=77', '69-28=41'] Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[77, 41], Operations: ['84-7=77', '69-28=41'] Exploring Operation: 77+41=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[28, 69, 77], Operations: ['84-7=77'] Exploring Operation: 28+69=97, Resulting Numbers: [77, 97] Generated Node #0,0,2: 61:[77, 97] Operation: 28+69=97 Moving to Node #0,0,2 Current State: 61:[77, 97], Operations: ['84-7=77', '28+69=97'] Exploring Operation: 97-77=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[28, 69, 77], Operations: ['84-7=77'] Exploring Operation: 28+77=105, Resulting Numbers: [69, 105] Generated Node #0,0,3: 61:[69, 105] Operation: 28+77=105 Moving to Node #0,0,3 Current State: 61:[69, 105], Operations: ['84-7=77', '28+77=105'] Exploring Operation: 105-69=36, Resulting Numbers: [36] 36,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[28, 69, 77], Operations: ['84-7=77'] Exploring Operation: 77-69=8, Resulting Numbers: [28, 8] Generated Node #0,0,4: 61:[28, 8] Operation: 77-69=8 Moving to Node #0,0,4 Current State: 61:[28, 8], Operations: ['84-7=77', '77-69=8'] Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[28, 8], Operations: ['84-7=77', '77-69=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[28, 69, 77], Operations: ['84-7=77'] Exploring Operation: 69+77=146, Resulting Numbers: [28, 146] Generated Node #0,0,5: 61:[28, 146] Operation: 69+77=146 Moving to Node #0,0,5 Current State: 61:[28, 146], Operations: ['84-7=77', '69+77=146'] Exploring Operation: 146-28=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0 Current State: 61:[84, 28, 69, 7], Operations: [] Exploring Operation: 28+7=35, Resulting Numbers: [84, 69, 35] Generated Node #0,1: 61:[84, 69, 35] Operation: 28+7=35 Moving to Node #0,1 Current State: 61:[84, 69, 35], Operations: ['28+7=35'] Exploring Operation: 84-35=49, Resulting Numbers: [69, 49] Generated Node #0,1,0: 61:[69, 49] Operation: 84-35=49 Moving to Node #0,1,0 Current State: 61:[69, 49], Operations: ['28+7=35', '84-35=49'] Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[69, 49], Operations: ['28+7=35', '84-35=49'] Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[84, 69, 35], Operations: ['28+7=35'] Exploring Operation: 69-35=34, Resulting Numbers: [84, 34] Generated Node #0,1,1: 61:[84, 34] Operation: 69-35=34 Moving to Node #0,1,1 Current State: 61:[84, 34], Operations: ['28+7=35', '69-35=34'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[84, 34], Operations: ['28+7=35', '69-35=34'] Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[84, 69, 35], Operations: ['28+7=35'] Exploring Operation: 84+35=119, Resulting Numbers: [69, 119] Generated Node #0,1,2: 61:[69, 119] Operation: 84+35=119 Moving to Node #0,1,2 Current State: 61:[69, 119], Operations: ['28+7=35', '84+35=119'] Exploring Operation: 119-69=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[84, 69, 35], Operations: ['28+7=35'] Exploring Operation: 69+35=104, Resulting Numbers: [84, 104] Generated Node #0,1,3: 61:[84, 104] Operation: 69+35=104 Moving to Node #0,1,3 Current State: 61:[84, 104], Operations: ['28+7=35', '69+35=104'] Exploring Operation: 104-84=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[84, 69, 35], Operations: ['28+7=35'] Exploring Operation: 84-69=15, Resulting Numbers: [35, 15] Generated Node #0,1,4: 61:[35, 15] Operation: 84-69=15 Moving to Node #0,1,4 Current State: 61:[35, 15], Operations: ['28+7=35', '84-69=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[35, 15], Operations: ['28+7=35', '84-69=15'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[84, 69, 35], Operations: ['28+7=35'] Exploring Operation: 84+69=153, Resulting Numbers: [35, 153] Generated Node #0,1,5: 61:[35, 153] Operation: 84+69=153 Moving to Node #0,1,5 Current State: 61:[35, 153], Operations: ['28+7=35', '84+69=153'] Exploring Operation: 153-35=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0 Current State: 61:[84, 28, 69, 7], Operations: [] Exploring Operation: 69-7=62, Resulting Numbers: [84, 28, 62] Generated Node #0,2: 61:[84, 28, 62] Operation: 69-7=62 Moving to Node #0,2 Current State: 61:[84, 28, 62], Operations: ['69-7=62'] Exploring Operation: 84-28=56, Resulting Numbers: [62, 56] Generated Node #0,2,0: 61:[62, 56] Operation: 84-28=56 Moving to Node #0,2,0 Current State: 61:[62, 56], Operations: ['69-7=62', '84-28=56'] Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[62, 56], Operations: ['69-7=62', '84-28=56'] Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[84, 28, 62], Operations: ['69-7=62'] Exploring Operation: 62-28=34, Resulting Numbers: [84, 34] Generated Node #0,2,1: 61:[84, 34] Operation: 62-28=34 Moving to Node #0,2,1 Current State: 61:[84, 34], Operations: ['69-7=62', '62-28=34'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[84, 34], Operations: ['69-7=62', '62-28=34'] Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[84, 28, 62], Operations: ['69-7=62'] Exploring Operation: 84+28=112, Resulting Numbers: [62, 112] Generated Node #0,2,2: 61:[62, 112] Operation: 84+28=112 Moving to Node #0,2,2 Current State: 61:[62, 112], Operations: ['69-7=62', '84+28=112'] Exploring Operation: 112-62=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[84, 28, 62], Operations: ['69-7=62'] Exploring Operation: 28+62=90, Resulting Numbers: [84, 90] Generated Node #0,2,3: 61:[84, 90] Operation: 28+62=90 Moving to Node #0,2,3 Current State: 61:[84, 90], Operations: ['69-7=62', '28+62=90'] Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[84, 28, 62], Operations: ['69-7=62'] Exploring Operation: 84/28=3, Resulting Numbers: [62, 3] Generated Node #0,2,4: 61:[62, 3] Operation: 84/28=3 Moving to Node #0,2,4 Current State: 61:[62, 3], Operations: ['69-7=62', '84/28=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[62, 3], Operations: ['69-7=62', '84/28=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[84, 28, 62], Operations: ['69-7=62'] Exploring Operation: 84-62=22, Resulting Numbers: [28, 22] Generated Node #0,2,5: 61:[28, 22] Operation: 84-62=22 Moving to Node #0,2,5 Current State: 61:[28, 22], Operations: ['69-7=62', '84-62=22'] Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,2,5 Current State: 61:[28, 22], Operations: ['69-7=62', '84-62=22'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[84, 28, 62], Operations: ['69-7=62'] Exploring Operation: 84+62=146, Resulting Numbers: [28, 146] Generated Node #0,2,6: 61:[28, 146] Operation: 84+62=146 Moving to Node #0,2,6 Current State: 61:[28, 146], Operations: ['69-7=62', '84+62=146'] Exploring Operation: 146-28=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0 Current State: 61:[84, 28, 69, 7], Operations: [] Exploring Operation: 84-28=56, Resulting Numbers: [69, 7, 56] Generated Node #0,3: 61:[69, 7, 56] Operation: 84-28=56 Moving to Node #0,3 Current State: 61:[69, 7, 56], Operations: ['84-28=56'] Exploring Operation: 69-7=62, Resulting Numbers: [56, 62] Generated Node #0,3,0: 61:[56, 62] Operation: 69-7=62 Moving to Node #0,3,0 Current State: 61:[56, 62], Operations: ['84-28=56', '69-7=62'] Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[56, 62], Operations: ['84-28=56', '69-7=62'] Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0,3 Current State: 61:[69, 7, 56], Operations: ['84-28=56'] Exploring Operation: 7+56=63, Resulting Numbers: [69, 63] Generated Node #0,3,1: 61:[69, 63] Operation: 7+56=63 Moving to Node #0,3,1 Current State: 61:[69, 63], Operations: ['84-28=56', '7+56=63'] Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,3 Current State: 61:[69, 7, 56], Operations: ['84-28=56'] Exploring Operation: 69+7=76, Resulting Numbers: [56, 76] Generated Node #0,3,2: 61:[56, 76] Operation: 69+7=76 Moving to Node #0,3,2 Current State: 61:[56, 76], Operations: ['84-28=56', '69+7=76'] Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,3 Current State: 61:[69, 7, 56], Operations: ['84-28=56'] Exploring Operation: 56-7=49, Resulting Numbers: [69, 49] Generated Node #0,3,3: 61:[69, 49] Operation: 56-7=49 Moving to Node #0,3,3 Current State: 61:[69, 49], Operations: ['84-28=56', '56-7=49'] Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[69, 49], Operations: ['84-28=56', '56-7=49'] Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,61 unequal: No Solution Moving to Node #0,3 Current State: 61:[69, 7, 56], Operations: ['84-28=56'] Exploring Operation: 56/7=8, Resulting Numbers: [69, 8] Generated Node #0,3,4: 61:[69, 8] Operation: 56/7=8 Moving to Node #0,3,4 Current State: 61:[69, 8], Operations: ['84-28=56', '56/7=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.943576
dfs
Current State: 61:[84, 28, 69, 7], Operations: [] Exploring Operation: 84-28=56, Resulting Numbers: [69, 7, 56] Generated Node #2: [69, 7, 56] from Operation: 84-28=56 Current State: 61:[69, 7, 56], Operations: ['84-28=56'] Exploring Operation: 56/7=8, Resulting Numbers: [69, 8] Generated Node #3: [69, 8] from Operation: 56/7=8 Current State: 61:[69, 8], Operations: ['84-28=56', '56/7=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
sum_heuristic
[ { "content": "Make 61 with the numbers [84, 28, 69, 7] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 61:[84, 28, 69, 7], Operations: []\nExploring Operation: 84-7=77, Resulting Numbers: [28, 69, 77]\nGenerated Node #0,0: 61:[28, 69, 77] Operation: 84-7=77\nMoving to Node #0,0\nCurrent State: 61:[28, 69, 77], Operations: ['84-7=77']\nExploring Operation: 77-28=49, Resulting Numbers: [69, 49]\nGenerated Node #0,0,0: 61:[69, 49] Operation: 77-28=49\nMoving to Node #0,0,0\nCurrent State: 61:[69, 49], Operations: ['84-7=77', '77-28=49']\nExploring Operation: 69-49=20, Resulting Numbers: [20]\n20,61 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 61:[69, 49], Operations: ['84-7=77', '77-28=49']\nExploring Operation: 69+49=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[28, 69, 77], Operations: ['84-7=77']\nExploring Operation: 69-28=41, Resulting Numbers: [77, 41]\nGenerated Node #0,0,1: 61:[77, 41] Operation: 69-28=41\nMoving to Node #0,0,1\nCurrent State: 61:[77, 41], Operations: ['84-7=77', '69-28=41']\nExploring Operation: 77-41=36, Resulting Numbers: [36]\n36,61 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 61:[77, 41], Operations: ['84-7=77', '69-28=41']\nExploring Operation: 77+41=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[28, 69, 77], Operations: ['84-7=77']\nExploring Operation: 28+69=97, Resulting Numbers: [77, 97]\nGenerated Node #0,0,2: 61:[77, 97] Operation: 28+69=97\nMoving to Node #0,0,2\nCurrent State: 61:[77, 97], Operations: ['84-7=77', '28+69=97']\nExploring Operation: 97-77=20, Resulting Numbers: [20]\n20,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[28, 69, 77], Operations: ['84-7=77']\nExploring Operation: 28+77=105, Resulting Numbers: [69, 105]\nGenerated Node #0,0,3: 61:[69, 105] Operation: 28+77=105\nMoving to Node #0,0,3\nCurrent State: 61:[69, 105], Operations: ['84-7=77', '28+77=105']\nExploring Operation: 105-69=36, Resulting Numbers: [36]\n36,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[28, 69, 77], Operations: ['84-7=77']\nExploring Operation: 77-69=8, Resulting Numbers: [28, 8]\nGenerated Node #0,0,4: 61:[28, 8] Operation: 77-69=8\nMoving to Node #0,0,4\nCurrent State: 61:[28, 8], Operations: ['84-7=77', '77-69=8']\nExploring Operation: 28+8=36, Resulting Numbers: [36]\n36,61 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 61:[28, 8], Operations: ['84-7=77', '77-69=8']\nExploring Operation: 28-8=20, Resulting Numbers: [20]\n20,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[28, 69, 77], Operations: ['84-7=77']\nExploring Operation: 69+77=146, Resulting Numbers: [28, 146]\nGenerated Node #0,0,5: 61:[28, 146] Operation: 69+77=146\nMoving to Node #0,0,5\nCurrent State: 61:[28, 146], Operations: ['84-7=77', '69+77=146']\nExploring Operation: 146-28=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0\nCurrent State: 61:[84, 28, 69, 7], Operations: []\nExploring Operation: 28+7=35, Resulting Numbers: [84, 69, 35]\nGenerated Node #0,1: 61:[84, 69, 35] Operation: 28+7=35\nMoving to Node #0,1\nCurrent State: 61:[84, 69, 35], Operations: ['28+7=35']\nExploring Operation: 84-35=49, Resulting Numbers: [69, 49]\nGenerated Node #0,1,0: 61:[69, 49] Operation: 84-35=49\nMoving to Node #0,1,0\nCurrent State: 61:[69, 49], Operations: ['28+7=35', '84-35=49']\nExploring Operation: 69-49=20, Resulting Numbers: [20]\n20,61 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 61:[69, 49], Operations: ['28+7=35', '84-35=49']\nExploring Operation: 69+49=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[84, 69, 35], Operations: ['28+7=35']\nExploring Operation: 69-35=34, Resulting Numbers: [84, 34]\nGenerated Node #0,1,1: 61:[84, 34] Operation: 69-35=34\nMoving to Node #0,1,1\nCurrent State: 61:[84, 34], Operations: ['28+7=35', '69-35=34']\nExploring Operation: 84-34=50, Resulting Numbers: [50]\n50,61 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 61:[84, 34], Operations: ['28+7=35', '69-35=34']\nExploring Operation: 84+34=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[84, 69, 35], Operations: ['28+7=35']\nExploring Operation: 84+35=119, Resulting Numbers: [69, 119]\nGenerated Node #0,1,2: 61:[69, 119] Operation: 84+35=119\nMoving to Node #0,1,2\nCurrent State: 61:[69, 119], Operations: ['28+7=35', '84+35=119']\nExploring Operation: 119-69=50, Resulting Numbers: [50]\n50,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[84, 69, 35], Operations: ['28+7=35']\nExploring Operation: 69+35=104, Resulting Numbers: [84, 104]\nGenerated Node #0,1,3: 61:[84, 104] Operation: 69+35=104\nMoving to Node #0,1,3\nCurrent State: 61:[84, 104], Operations: ['28+7=35', '69+35=104']\nExploring Operation: 104-84=20, Resulting Numbers: [20]\n20,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[84, 69, 35], Operations: ['28+7=35']\nExploring Operation: 84-69=15, Resulting Numbers: [35, 15]\nGenerated Node #0,1,4: 61:[35, 15] Operation: 84-69=15\nMoving to Node #0,1,4\nCurrent State: 61:[35, 15], Operations: ['28+7=35', '84-69=15']\nExploring Operation: 35+15=50, Resulting Numbers: [50]\n50,61 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 61:[35, 15], Operations: ['28+7=35', '84-69=15']\nExploring Operation: 35-15=20, Resulting Numbers: [20]\n20,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[84, 69, 35], Operations: ['28+7=35']\nExploring Operation: 84+69=153, Resulting Numbers: [35, 153]\nGenerated Node #0,1,5: 61:[35, 153] Operation: 84+69=153\nMoving to Node #0,1,5\nCurrent State: 61:[35, 153], Operations: ['28+7=35', '84+69=153']\nExploring Operation: 153-35=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0\nCurrent State: 61:[84, 28, 69, 7], Operations: []\nExploring Operation: 69-7=62, Resulting Numbers: [84, 28, 62]\nGenerated Node #0,2: 61:[84, 28, 62] Operation: 69-7=62\nMoving to Node #0,2\nCurrent State: 61:[84, 28, 62], Operations: ['69-7=62']\nExploring Operation: 84-28=56, Resulting Numbers: [62, 56]\nGenerated Node #0,2,0: 61:[62, 56] Operation: 84-28=56\nMoving to Node #0,2,0\nCurrent State: 61:[62, 56], Operations: ['69-7=62', '84-28=56']\nExploring Operation: 62-56=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 61:[62, 56], Operations: ['69-7=62', '84-28=56']\nExploring Operation: 62+56=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[84, 28, 62], Operations: ['69-7=62']\nExploring Operation: 62-28=34, Resulting Numbers: [84, 34]\nGenerated Node #0,2,1: 61:[84, 34] Operation: 62-28=34\nMoving to Node #0,2,1\nCurrent State: 61:[84, 34], Operations: ['69-7=62', '62-28=34']\nExploring Operation: 84-34=50, Resulting Numbers: [50]\n50,61 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 61:[84, 34], Operations: ['69-7=62', '62-28=34']\nExploring Operation: 84+34=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[84, 28, 62], Operations: ['69-7=62']\nExploring Operation: 84+28=112, Resulting Numbers: [62, 112]\nGenerated Node #0,2,2: 61:[62, 112] Operation: 84+28=112\nMoving to Node #0,2,2\nCurrent State: 61:[62, 112], Operations: ['69-7=62', '84+28=112']\nExploring Operation: 112-62=50, Resulting Numbers: [50]\n50,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[84, 28, 62], Operations: ['69-7=62']\nExploring Operation: 28+62=90, Resulting Numbers: [84, 90]\nGenerated Node #0,2,3: 61:[84, 90] Operation: 28+62=90\nMoving to Node #0,2,3\nCurrent State: 61:[84, 90], Operations: ['69-7=62', '28+62=90']\nExploring Operation: 90-84=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[84, 28, 62], Operations: ['69-7=62']\nExploring Operation: 84/28=3, Resulting Numbers: [62, 3]\nGenerated Node #0,2,4: 61:[62, 3] Operation: 84/28=3\nMoving to Node #0,2,4\nCurrent State: 61:[62, 3], Operations: ['69-7=62', '84/28=3']\nExploring Operation: 62-3=59, Resulting Numbers: [59]\n59,61 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 61:[62, 3], Operations: ['69-7=62', '84/28=3']\nExploring Operation: 62+3=65, Resulting Numbers: [65]\n65,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[84, 28, 62], Operations: ['69-7=62']\nExploring Operation: 84-62=22, Resulting Numbers: [28, 22]\nGenerated Node #0,2,5: 61:[28, 22] Operation: 84-62=22\nMoving to Node #0,2,5\nCurrent State: 61:[28, 22], Operations: ['69-7=62', '84-62=22']\nExploring Operation: 28+22=50, Resulting Numbers: [50]\n50,61 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 61:[28, 22], Operations: ['69-7=62', '84-62=22']\nExploring Operation: 28-22=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[84, 28, 62], Operations: ['69-7=62']\nExploring Operation: 84+62=146, Resulting Numbers: [28, 146]\nGenerated Node #0,2,6: 61:[28, 146] Operation: 84+62=146\nMoving to Node #0,2,6\nCurrent State: 61:[28, 146], Operations: ['69-7=62', '84+62=146']\nExploring Operation: 146-28=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0\nCurrent State: 61:[84, 28, 69, 7], Operations: []\nExploring Operation: 84-28=56, Resulting Numbers: [69, 7, 56]\nGenerated Node #0,3: 61:[69, 7, 56] Operation: 84-28=56\nMoving to Node #0,3\nCurrent State: 61:[69, 7, 56], Operations: ['84-28=56']\nExploring Operation: 69-7=62, Resulting Numbers: [56, 62]\nGenerated Node #0,3,0: 61:[56, 62] Operation: 69-7=62\nMoving to Node #0,3,0\nCurrent State: 61:[56, 62], Operations: ['84-28=56', '69-7=62']\nExploring Operation: 62-56=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 61:[56, 62], Operations: ['84-28=56', '69-7=62']\nExploring Operation: 56+62=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 61:[69, 7, 56], Operations: ['84-28=56']\nExploring Operation: 7+56=63, Resulting Numbers: [69, 63]\nGenerated Node #0,3,1: 61:[69, 63] Operation: 7+56=63\nMoving to Node #0,3,1\nCurrent State: 61:[69, 63], Operations: ['84-28=56', '7+56=63']\nExploring Operation: 69-63=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 61:[69, 7, 56], Operations: ['84-28=56']\nExploring Operation: 69+7=76, Resulting Numbers: [56, 76]\nGenerated Node #0,3,2: 61:[56, 76] Operation: 69+7=76\nMoving to Node #0,3,2\nCurrent State: 61:[56, 76], Operations: ['84-28=56', '69+7=76']\nExploring Operation: 76-56=20, Resulting Numbers: [20]\n20,61 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 61:[69, 7, 56], Operations: ['84-28=56']\nExploring Operation: 56-7=49, Resulting Numbers: [69, 49]\nGenerated Node #0,3,3: 61:[69, 49] Operation: 56-7=49\nMoving to Node #0,3,3\nCurrent State: 61:[69, 49], Operations: ['84-28=56', '56-7=49']\nExploring Operation: 69-49=20, Resulting Numbers: [20]\n20,61 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 61:[69, 49], Operations: ['84-28=56', '56-7=49']\nExploring Operation: 69+49=118, Resulting Numbers: [118]\n118,61 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 61:[69, 7, 56], Operations: ['84-28=56']\nExploring Operation: 56/7=8, Resulting Numbers: [69, 8]\nGenerated Node #0,3,4: 61:[69, 8] Operation: 56/7=8\nMoving to Node #0,3,4\nCurrent State: 61:[69, 8], Operations: ['84-28=56', '56/7=8']\nExploring Operation: 69-8=61, Resulting Numbers: [61]\n61,61 equal: Goal Reached\n", "role": "assistant" } ]
[ 25, 8, 12, 91 ]
44
[ "91-25=66", "8*66=528", "528/12=44" ]
Current State: 44:[25, 8, 12, 91], Operations: [] Exploring Operation: 12-8=4, Resulting Numbers: [25, 91, 4] Generated Node #0,0: 44:[25, 91, 4] Operation: 12-8=4 Exploring Operation: 91-12=79, Resulting Numbers: [25, 8, 79] Generated Node #0,1: 44:[25, 8, 79] Operation: 91-12=79 Exploring Operation: 91-25=66, Resulting Numbers: [8, 12, 66] Generated Node #0,2: 44:[8, 12, 66] Operation: 91-25=66 Exploring Operation: 91-8=83, Resulting Numbers: [25, 12, 83] Generated Node #0,3: 44:[25, 12, 83] Operation: 91-8=83 Moving to Node #0,2 Current State: 44:[8, 12, 66], Operations: ['91-25=66'] Exploring Operation: 12-8=4, Resulting Numbers: [66, 4] Generated Node #0,2,0: 44:[66, 4] Operation: 12-8=4 Exploring Operation: 8+12=20, Resulting Numbers: [66, 20] Generated Node #0,2,1: 44:[66, 20] Operation: 8+12=20 Exploring Operation: 66-12=54, Resulting Numbers: [8, 54] Generated Node #0,2,2: 44:[8, 54] Operation: 66-12=54 Exploring Operation: 66-8=58, Resulting Numbers: [12, 58] Generated Node #0,2,3: 44:[12, 58] Operation: 66-8=58 Moving to Node #0,1 Current State: 44:[25, 8, 79], Operations: ['91-12=79'] Exploring Operation: 79-25=54, Resulting Numbers: [8, 54] Generated Node #0,1,0: 44:[8, 54] Operation: 79-25=54 Exploring Operation: 25+8=33, Resulting Numbers: [79, 33] Generated Node #0,1,1: 44:[79, 33] Operation: 25+8=33 Exploring Operation: 79-8=71, Resulting Numbers: [25, 71] Generated Node #0,1,2: 44:[25, 71] Operation: 79-8=71 Exploring Operation: 25-8=17, Resulting Numbers: [79, 17] Generated Node #0,1,3: 44:[79, 17] Operation: 25-8=17 Moving to Node #0,3 Current State: 44:[25, 12, 83], Operations: ['91-8=83'] Exploring Operation: 83-25=58, Resulting Numbers: [12, 58] Generated Node #0,3,0: 44:[12, 58] Operation: 83-25=58 Exploring Operation: 83-12=71, Resulting Numbers: [25, 71] Generated Node #0,3,1: 44:[25, 71] Operation: 83-12=71 Exploring Operation: 25-12=13, Resulting Numbers: [83, 13] Generated Node #0,3,2: 44:[83, 13] Operation: 25-12=13 Exploring Operation: 25+12=37, Resulting Numbers: [83, 37] Generated Node #0,3,3: 44:[83, 37] Operation: 25+12=37 Moving to Node #0,0 Current State: 44:[25, 91, 4], Operations: ['12-8=4'] Exploring Operation: 25-4=21, Resulting Numbers: [91, 21] Generated Node #0,0,0: 44:[91, 21] Operation: 25-4=21 Exploring Operation: 91-4=87, Resulting Numbers: [25, 87] Generated Node #0,0,1: 44:[25, 87] Operation: 91-4=87 Exploring Operation: 25+4=29, Resulting Numbers: [91, 29] Generated Node #0,0,2: 44:[91, 29] Operation: 25+4=29 Exploring Operation: 91-25=66, Resulting Numbers: [4, 66] Generated Node #0,0,3: 44:[4, 66] Operation: 91-25=66 Moving to Node #0,2,2 Current State: 44:[8, 54], Operations: ['91-25=66', '66-12=54'] Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[8, 54], Operations: ['91-12=79', '79-25=54'] Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,44 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[12, 58], Operations: ['91-25=66', '66-8=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 12*58=696, Resulting Numbers: [696] 696,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[12, 58], Operations: ['91-8=83', '83-25=58'] Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 12*58=696, Resulting Numbers: [696] 696,44 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,44 unequal: No Solution Moving to Node #0,2,2,0 Current State: 44:[46], Operations: ['91-25=66', '66-12=54', '54-8=46'] Moving to Node #0,1,0,0 Current State: 44:[46], Operations: ['91-12=79', '79-25=54', '54-8=46'] Moving to Node #0,3,0,0 Current State: 44:[46], Operations: ['91-8=83', '83-25=58', '58-12=46'] Moving to Node #0,2,3,0 Current State: 44:[46], Operations: ['91-25=66', '66-8=58', '58-12=46'] Moving to Node #0,2,2,0 Current State: 44:[62], Operations: ['91-25=66', '66-12=54', '8+54=62'] Moving to Node #0,1,0,0 Current State: 44:[62], Operations: ['91-12=79', '79-25=54', '8+54=62'] Moving to Node #0,2,0 Current State: 44:[66, 4], Operations: ['91-25=66', '12-8=4'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,44 unequal: No Solution Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[4, 66], Operations: ['12-8=4', '91-25=66'] Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,44 unequal: No Solution Moving to Node #0,2,0,0 Current State: 44:[62], Operations: ['91-25=66', '12-8=4', '66-4=62'] Moving to Node #0,0,3,0 Current State: 44:[62], Operations: ['12-8=4', '91-25=66', '66-4=62'] Moving to Node #0,2,1 Current State: 44:[66, 20], Operations: ['91-25=66', '8+12=20'] Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,44 unequal: No Solution Moving to Node #0,3,0,0 Current State: 44:[70], Operations: ['91-8=83', '83-25=58', '12+58=70'] Moving to Node #0,2,1,0 Current State: 44:[46], Operations: ['91-25=66', '8+12=20', '66-20=46'] Moving to Node #0,0,3,0 Current State: 44:[70], Operations: ['12-8=4', '91-25=66', '4+66=70'] Moving to Node #0,2,3,0 Current State: 44:[70], Operations: ['91-25=66', '66-8=58', '12+58=70'] Moving to Node #0,2,0,0 Current State: 44:[70], Operations: ['91-25=66', '12-8=4', '66+4=70'] Moving to Node #0,1,2 Current State: 44:[25, 71], Operations: ['91-12=79', '79-8=71'] Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,44 unequal: No Solution Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[25, 71], Operations: ['91-8=83', '83-12=71'] Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,44 unequal: No Solution Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,44 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[79, 17], Operations: ['91-12=79', '25-8=17'] Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,44 unequal: No Solution Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[83, 13], Operations: ['91-8=83', '25-12=13'] Exploring Operation: 83*13=1079, Resulting Numbers: [1079] 1079,44 unequal: No Solution Exploring Operation: 83+13=96, Resulting Numbers: [96] 96,44 unequal: No Solution Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,44 unequal: No Solution Moving to Node #0,1,2,0 Current State: 44:[46], Operations: ['91-12=79', '79-8=71', '71-25=46'] Moving to Node #0,3,1,0 Current State: 44:[46], Operations: ['91-8=83', '83-12=71', '71-25=46'] Moving to Node #0,1,3,0 Current State: 44:[62], Operations: ['91-12=79', '25-8=17', '79-17=62'] Moving to Node #0,3,2,0 Current State: 44:[70], Operations: ['91-8=83', '25-12=13', '83-13=70'] Moving to Node #0,2,1,0 Current State: 44:[86], Operations: ['91-25=66', '8+12=20', '66+20=86'] Moving to Node #0,3,3 Current State: 44:[83, 37], Operations: ['91-8=83', '25+12=37'] Exploring Operation: 83-37=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 83*37=3071, Resulting Numbers: [3071] 3071,44 unequal: No Solution Exploring Operation: 83+37=120, Resulting Numbers: [120] 120,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[79, 33], Operations: ['91-12=79', '25+8=33'] Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,44 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[25, 87], Operations: ['12-8=4', '91-4=87'] Exploring Operation: 25*87=2175, Resulting Numbers: [2175] 2175,44 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 25+87=112, Resulting Numbers: [112] 112,44 unequal: No Solution Moving to Node #0,3,3,0 Current State: 44:[46], Operations: ['91-8=83', '25+12=37', '83-37=46'] Moving to Node #0,1,1,0 Current State: 44:[46], Operations: ['91-12=79', '25+8=33', '79-33=46'] Moving to Node #0,0,1,0 Current State: 44:[62], Operations: ['12-8=4', '91-4=87', '87-25=62'] Moving to Node #0,0,0 Current State: 44:[91, 21], Operations: ['12-8=4', '25-4=21'] Exploring Operation: 91*21=1911, Resulting Numbers: [1911] 1911,44 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 91+21=112, Resulting Numbers: [112] 112,44 unequal: No Solution Moving to Node #0,0,0,0 Current State: 44:[70], Operations: ['12-8=4', '25-4=21', '91-21=70'] Moving to Node #0,3,2,0 Current State: 44:[96], Operations: ['91-8=83', '25-12=13', '83+13=96'] Moving to Node #0,1,2,0 Current State: 44:[96], Operations: ['91-12=79', '79-8=71', '25+71=96'] Moving to Node #0,1,3,0 Current State: 44:[96], Operations: ['91-12=79', '25-8=17', '79+17=96'] Moving to Node #0,3,1,0 Current State: 44:[96], Operations: ['91-8=83', '83-12=71', '25+71=96'] Moving to Node #0,0,2 Current State: 44:[91, 29], Operations: ['12-8=4', '25+4=29'] Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 91+29=120, Resulting Numbers: [120] 120,44 unequal: No Solution Exploring Operation: 91*29=2639, Resulting Numbers: [2639] 2639,44 unequal: No Solution Moving to Node #0,0,1,0 Current State: 44:[112], Operations: ['12-8=4', '91-4=87', '25+87=112'] Moving to Node #0,0,0,0 Current State: 44:[112], Operations: ['12-8=4', '25-4=21', '91+21=112'] Moving to Node #0,0,2,0 Current State: 44:[62], Operations: ['12-8=4', '25+4=29', '91-29=62'] Moving to Node #0,1,1,0 Current State: 44:[112], Operations: ['91-12=79', '25+8=33', '79+33=112'] Moving to Node #0,3,3,0 Current State: 44:[120], Operations: ['91-8=83', '25+12=37', '83+37=120'] Moving to Node #0,0,2,0 Current State: 44:[120], Operations: ['12-8=4', '25+4=29', '91+29=120'] Moving to Node #0,2,0,0 Current State: 44:[264], Operations: ['91-25=66', '12-8=4', '66*4=264'] Moving to Node #0,0,3,0 Current State: 44:[264], Operations: ['12-8=4', '91-25=66', '4*66=264'] Moving to Node #0,1,0,0 Current State: 44:[432], Operations: ['91-12=79', '79-25=54', '8*54=432'] Moving to Node #0,2,2,0 Current State: 44:[432], Operations: ['91-25=66', '66-12=54', '8*54=432'] Moving to Node #0,3,0,0 Current State: 44:[696], Operations: ['91-8=83', '83-25=58', '12*58=696'] Moving to Node #0,2,3,0 Current State: 44:[696], Operations: ['91-25=66', '66-8=58', '12*58=696'] Moving to Node #0,3,2,0 Current State: 44:[1079], Operations: ['91-8=83', '25-12=13', '83*13=1079'] Moving to Node #0,2,1,0 Current State: 44:[1320], Operations: ['91-25=66', '8+12=20', '66*20=1320'] Moving to Node #0,1,3,0 Current State: 44:[1343], Operations: ['91-12=79', '25-8=17', '79*17=1343'] Moving to Node #0,3,1,0 Current State: 44:[1775], Operations: ['91-8=83', '83-12=71', '25*71=1775'] Moving to Node #0,1,2,0 Current State: 44:[1775], Operations: ['91-12=79', '79-8=71', '25*71=1775'] Moving to Node #0,0,0,0 Current State: 44:[1911], Operations: ['12-8=4', '25-4=21', '91*21=1911'] Moving to Node #0,0,1,0 Current State: 44:[2175], Operations: ['12-8=4', '91-4=87', '25*87=2175'] Moving to Node #0,1,1,0 Current State: 44:[2607], Operations: ['91-12=79', '25+8=33', '79*33=2607'] Moving to Node #0,0,2,0 Current State: 44:[2639], Operations: ['12-8=4', '25+4=29', '91*29=2639'] Moving to Node #0,3,3,0 Current State: 44:[3071], Operations: ['91-8=83', '25+12=37', '83*37=3071'] No solution found.
0
bfs_4
Current State: 44:[25, 8, 12, 91], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [8, 12, 66] Generated Node #2: [8, 12, 66] from Operation: 91-25=66 Current State: 44:[8, 12, 66], Operations: ['91-25=66'] Exploring Operation: 8*66=528, Resulting Numbers: [12, 528] Generated Node #3: [12, 528] from Operation: 8*66=528 Current State: 44:[12, 528], Operations: ['91-25=66', '8*66=528'] Exploring Operation: 528/12=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
mult_heuristic
[ { "content": "Make 44 with the numbers [25, 8, 12, 91] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 44:[25, 8, 12, 91], Operations: []\nExploring Operation: 12-8=4, Resulting Numbers: [25, 91, 4]\nGenerated Node #0,0: 44:[25, 91, 4] Operation: 12-8=4\nExploring Operation: 91-12=79, Resulting Numbers: [25, 8, 79]\nGenerated Node #0,1: 44:[25, 8, 79] Operation: 91-12=79\nExploring Operation: 91-25=66, Resulting Numbers: [8, 12, 66]\nGenerated Node #0,2: 44:[8, 12, 66] Operation: 91-25=66\nExploring Operation: 91-8=83, Resulting Numbers: [25, 12, 83]\nGenerated Node #0,3: 44:[25, 12, 83] Operation: 91-8=83\nMoving to Node #0,2\nCurrent State: 44:[8, 12, 66], Operations: ['91-25=66']\nExploring Operation: 12-8=4, Resulting Numbers: [66, 4]\nGenerated Node #0,2,0: 44:[66, 4] Operation: 12-8=4\nExploring Operation: 8+12=20, Resulting Numbers: [66, 20]\nGenerated Node #0,2,1: 44:[66, 20] Operation: 8+12=20\nExploring Operation: 66-12=54, Resulting Numbers: [8, 54]\nGenerated Node #0,2,2: 44:[8, 54] Operation: 66-12=54\nExploring Operation: 66-8=58, Resulting Numbers: [12, 58]\nGenerated Node #0,2,3: 44:[12, 58] Operation: 66-8=58\nMoving to Node #0,1\nCurrent State: 44:[25, 8, 79], Operations: ['91-12=79']\nExploring Operation: 79-25=54, Resulting Numbers: [8, 54]\nGenerated Node #0,1,0: 44:[8, 54] Operation: 79-25=54\nExploring Operation: 25+8=33, Resulting Numbers: [79, 33]\nGenerated Node #0,1,1: 44:[79, 33] Operation: 25+8=33\nExploring Operation: 79-8=71, Resulting Numbers: [25, 71]\nGenerated Node #0,1,2: 44:[25, 71] Operation: 79-8=71\nExploring Operation: 25-8=17, Resulting Numbers: [79, 17]\nGenerated Node #0,1,3: 44:[79, 17] Operation: 25-8=17\nMoving to Node #0,3\nCurrent State: 44:[25, 12, 83], Operations: ['91-8=83']\nExploring Operation: 83-25=58, Resulting Numbers: [12, 58]\nGenerated Node #0,3,0: 44:[12, 58] Operation: 83-25=58\nExploring Operation: 83-12=71, Resulting Numbers: [25, 71]\nGenerated Node #0,3,1: 44:[25, 71] Operation: 83-12=71\nExploring Operation: 25-12=13, Resulting Numbers: [83, 13]\nGenerated Node #0,3,2: 44:[83, 13] Operation: 25-12=13\nExploring Operation: 25+12=37, Resulting Numbers: [83, 37]\nGenerated Node #0,3,3: 44:[83, 37] Operation: 25+12=37\nMoving to Node #0,0\nCurrent State: 44:[25, 91, 4], Operations: ['12-8=4']\nExploring Operation: 25-4=21, Resulting Numbers: [91, 21]\nGenerated Node #0,0,0: 44:[91, 21] Operation: 25-4=21\nExploring Operation: 91-4=87, Resulting Numbers: [25, 87]\nGenerated Node #0,0,1: 44:[25, 87] Operation: 91-4=87\nExploring Operation: 25+4=29, Resulting Numbers: [91, 29]\nGenerated Node #0,0,2: 44:[91, 29] Operation: 25+4=29\nExploring Operation: 91-25=66, Resulting Numbers: [4, 66]\nGenerated Node #0,0,3: 44:[4, 66] Operation: 91-25=66\nMoving to Node #0,2,2\nCurrent State: 44:[8, 54], Operations: ['91-25=66', '66-12=54']\nExploring Operation: 8+54=62, Resulting Numbers: [62]\n62,44 unequal: No Solution\nExploring Operation: 54-8=46, Resulting Numbers: [46]\n46,44 unequal: No Solution\nExploring Operation: 8*54=432, Resulting Numbers: [432]\n432,44 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 44:[8, 54], Operations: ['91-12=79', '79-25=54']\nExploring Operation: 8*54=432, Resulting Numbers: [432]\n432,44 unequal: No Solution\nExploring Operation: 54-8=46, Resulting Numbers: [46]\n46,44 unequal: No Solution\nExploring Operation: 8+54=62, Resulting Numbers: [62]\n62,44 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 44:[12, 58], Operations: ['91-25=66', '66-8=58']\nExploring Operation: 58-12=46, Resulting Numbers: [46]\n46,44 unequal: No Solution\nExploring Operation: 12+58=70, Resulting Numbers: [70]\n70,44 unequal: No Solution\nExploring Operation: 12*58=696, Resulting Numbers: [696]\n696,44 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 44:[12, 58], Operations: ['91-8=83', '83-25=58']\nExploring Operation: 12+58=70, Resulting Numbers: [70]\n70,44 unequal: No Solution\nExploring Operation: 12*58=696, Resulting Numbers: [696]\n696,44 unequal: No Solution\nExploring Operation: 58-12=46, Resulting Numbers: [46]\n46,44 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 44:[46], Operations: ['91-25=66', '66-12=54', '54-8=46']\nMoving to Node #0,1,0,0\nCurrent State: 44:[46], Operations: ['91-12=79', '79-25=54', '54-8=46']\nMoving to Node #0,3,0,0\nCurrent State: 44:[46], Operations: ['91-8=83', '83-25=58', '58-12=46']\nMoving to Node #0,2,3,0\nCurrent State: 44:[46], Operations: ['91-25=66', '66-8=58', '58-12=46']\nMoving to Node #0,2,2,0\nCurrent State: 44:[62], Operations: ['91-25=66', '66-12=54', '8+54=62']\nMoving to Node #0,1,0,0\nCurrent State: 44:[62], Operations: ['91-12=79', '79-25=54', '8+54=62']\nMoving to Node #0,2,0\nCurrent State: 44:[66, 4], Operations: ['91-25=66', '12-8=4']\nExploring Operation: 66-4=62, Resulting Numbers: [62]\n62,44 unequal: No Solution\nExploring Operation: 66*4=264, Resulting Numbers: [264]\n264,44 unequal: No Solution\nExploring Operation: 66+4=70, Resulting Numbers: [70]\n70,44 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 44:[4, 66], Operations: ['12-8=4', '91-25=66']\nExploring Operation: 4+66=70, Resulting Numbers: [70]\n70,44 unequal: No Solution\nExploring Operation: 66-4=62, Resulting Numbers: [62]\n62,44 unequal: No Solution\nExploring Operation: 4*66=264, Resulting Numbers: [264]\n264,44 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 44:[62], Operations: ['91-25=66', '12-8=4', '66-4=62']\nMoving to Node #0,0,3,0\nCurrent State: 44:[62], Operations: ['12-8=4', '91-25=66', '66-4=62']\nMoving to Node #0,2,1\nCurrent State: 44:[66, 20], Operations: ['91-25=66', '8+12=20']\nExploring Operation: 66+20=86, Resulting Numbers: [86]\n86,44 unequal: No Solution\nExploring Operation: 66-20=46, Resulting Numbers: [46]\n46,44 unequal: No Solution\nExploring Operation: 66*20=1320, Resulting Numbers: [1320]\n1320,44 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 44:[70], Operations: ['91-8=83', '83-25=58', '12+58=70']\nMoving to Node #0,2,1,0\nCurrent State: 44:[46], Operations: ['91-25=66', '8+12=20', '66-20=46']\nMoving to Node #0,0,3,0\nCurrent State: 44:[70], Operations: ['12-8=4', '91-25=66', '4+66=70']\nMoving to Node #0,2,3,0\nCurrent State: 44:[70], Operations: ['91-25=66', '66-8=58', '12+58=70']\nMoving to Node #0,2,0,0\nCurrent State: 44:[70], Operations: ['91-25=66', '12-8=4', '66+4=70']\nMoving to Node #0,1,2\nCurrent State: 44:[25, 71], Operations: ['91-12=79', '79-8=71']\nExploring Operation: 71-25=46, Resulting Numbers: [46]\n46,44 unequal: No Solution\nExploring Operation: 25*71=1775, Resulting Numbers: [1775]\n1775,44 unequal: No Solution\nExploring Operation: 25+71=96, Resulting Numbers: [96]\n96,44 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 44:[25, 71], Operations: ['91-8=83', '83-12=71']\nExploring Operation: 25+71=96, Resulting Numbers: [96]\n96,44 unequal: No Solution\nExploring Operation: 25*71=1775, Resulting Numbers: [1775]\n1775,44 unequal: No Solution\nExploring Operation: 71-25=46, Resulting Numbers: [46]\n46,44 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 44:[79, 17], Operations: ['91-12=79', '25-8=17']\nExploring Operation: 79-17=62, Resulting Numbers: [62]\n62,44 unequal: No Solution\nExploring Operation: 79+17=96, Resulting Numbers: [96]\n96,44 unequal: No Solution\nExploring Operation: 79*17=1343, Resulting Numbers: [1343]\n1343,44 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 44:[83, 13], Operations: ['91-8=83', '25-12=13']\nExploring Operation: 83*13=1079, Resulting Numbers: [1079]\n1079,44 unequal: No Solution\nExploring Operation: 83+13=96, Resulting Numbers: [96]\n96,44 unequal: No Solution\nExploring Operation: 83-13=70, Resulting Numbers: [70]\n70,44 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 44:[46], Operations: ['91-12=79', '79-8=71', '71-25=46']\nMoving to Node #0,3,1,0\nCurrent State: 44:[46], Operations: ['91-8=83', '83-12=71', '71-25=46']\nMoving to Node #0,1,3,0\nCurrent State: 44:[62], Operations: ['91-12=79', '25-8=17', '79-17=62']\nMoving to Node #0,3,2,0\nCurrent State: 44:[70], Operations: ['91-8=83', '25-12=13', '83-13=70']\nMoving to Node #0,2,1,0\nCurrent State: 44:[86], Operations: ['91-25=66', '8+12=20', '66+20=86']\nMoving to Node #0,3,3\nCurrent State: 44:[83, 37], Operations: ['91-8=83', '25+12=37']\nExploring Operation: 83-37=46, Resulting Numbers: [46]\n46,44 unequal: No Solution\nExploring Operation: 83*37=3071, Resulting Numbers: [3071]\n3071,44 unequal: No Solution\nExploring Operation: 83+37=120, Resulting Numbers: [120]\n120,44 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 44:[79, 33], Operations: ['91-12=79', '25+8=33']\nExploring Operation: 79-33=46, Resulting Numbers: [46]\n46,44 unequal: No Solution\nExploring Operation: 79+33=112, Resulting Numbers: [112]\n112,44 unequal: No Solution\nExploring Operation: 79*33=2607, Resulting Numbers: [2607]\n2607,44 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 44:[25, 87], Operations: ['12-8=4', '91-4=87']\nExploring Operation: 25*87=2175, Resulting Numbers: [2175]\n2175,44 unequal: No Solution\nExploring Operation: 87-25=62, Resulting Numbers: [62]\n62,44 unequal: No Solution\nExploring Operation: 25+87=112, Resulting Numbers: [112]\n112,44 unequal: No Solution\nMoving to Node #0,3,3,0\nCurrent State: 44:[46], Operations: ['91-8=83', '25+12=37', '83-37=46']\nMoving to Node #0,1,1,0\nCurrent State: 44:[46], Operations: ['91-12=79', '25+8=33', '79-33=46']\nMoving to Node #0,0,1,0\nCurrent State: 44:[62], Operations: ['12-8=4', '91-4=87', '87-25=62']\nMoving to Node #0,0,0\nCurrent State: 44:[91, 21], Operations: ['12-8=4', '25-4=21']\nExploring Operation: 91*21=1911, Resulting Numbers: [1911]\n1911,44 unequal: No Solution\nExploring Operation: 91-21=70, Resulting Numbers: [70]\n70,44 unequal: No Solution\nExploring Operation: 91+21=112, Resulting Numbers: [112]\n112,44 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 44:[70], Operations: ['12-8=4', '25-4=21', '91-21=70']\nMoving to Node #0,3,2,0\nCurrent State: 44:[96], Operations: ['91-8=83', '25-12=13', '83+13=96']\nMoving to Node #0,1,2,0\nCurrent State: 44:[96], Operations: ['91-12=79', '79-8=71', '25+71=96']\nMoving to Node #0,1,3,0\nCurrent State: 44:[96], Operations: ['91-12=79', '25-8=17', '79+17=96']\nMoving to Node #0,3,1,0\nCurrent State: 44:[96], Operations: ['91-8=83', '83-12=71', '25+71=96']\nMoving to Node #0,0,2\nCurrent State: 44:[91, 29], Operations: ['12-8=4', '25+4=29']\nExploring Operation: 91-29=62, Resulting Numbers: [62]\n62,44 unequal: No Solution\nExploring Operation: 91+29=120, Resulting Numbers: [120]\n120,44 unequal: No Solution\nExploring Operation: 91*29=2639, Resulting Numbers: [2639]\n2639,44 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 44:[112], Operations: ['12-8=4', '91-4=87', '25+87=112']\nMoving to Node #0,0,0,0\nCurrent State: 44:[112], Operations: ['12-8=4', '25-4=21', '91+21=112']\nMoving to Node #0,0,2,0\nCurrent State: 44:[62], Operations: ['12-8=4', '25+4=29', '91-29=62']\nMoving to Node #0,1,1,0\nCurrent State: 44:[112], Operations: ['91-12=79', '25+8=33', '79+33=112']\nMoving to Node #0,3,3,0\nCurrent State: 44:[120], Operations: ['91-8=83', '25+12=37', '83+37=120']\nMoving to Node #0,0,2,0\nCurrent State: 44:[120], Operations: ['12-8=4', '25+4=29', '91+29=120']\nMoving to Node #0,2,0,0\nCurrent State: 44:[264], Operations: ['91-25=66', '12-8=4', '66*4=264']\nMoving to Node #0,0,3,0\nCurrent State: 44:[264], Operations: ['12-8=4', '91-25=66', '4*66=264']\nMoving to Node #0,1,0,0\nCurrent State: 44:[432], Operations: ['91-12=79', '79-25=54', '8*54=432']\nMoving to Node #0,2,2,0\nCurrent State: 44:[432], Operations: ['91-25=66', '66-12=54', '8*54=432']\nMoving to Node #0,3,0,0\nCurrent State: 44:[696], Operations: ['91-8=83', '83-25=58', '12*58=696']\nMoving to Node #0,2,3,0\nCurrent State: 44:[696], Operations: ['91-25=66', '66-8=58', '12*58=696']\nMoving to Node #0,3,2,0\nCurrent State: 44:[1079], Operations: ['91-8=83', '25-12=13', '83*13=1079']\nMoving to Node #0,2,1,0\nCurrent State: 44:[1320], Operations: ['91-25=66', '8+12=20', '66*20=1320']\nMoving to Node #0,1,3,0\nCurrent State: 44:[1343], Operations: ['91-12=79', '25-8=17', '79*17=1343']\nMoving to Node #0,3,1,0\nCurrent State: 44:[1775], Operations: ['91-8=83', '83-12=71', '25*71=1775']\nMoving to Node #0,1,2,0\nCurrent State: 44:[1775], Operations: ['91-12=79', '79-8=71', '25*71=1775']\nMoving to Node #0,0,0,0\nCurrent State: 44:[1911], Operations: ['12-8=4', '25-4=21', '91*21=1911']\nMoving to Node #0,0,1,0\nCurrent State: 44:[2175], Operations: ['12-8=4', '91-4=87', '25*87=2175']\nMoving to Node #0,1,1,0\nCurrent State: 44:[2607], Operations: ['91-12=79', '25+8=33', '79*33=2607']\nMoving to Node #0,0,2,0\nCurrent State: 44:[2639], Operations: ['12-8=4', '25+4=29', '91*29=2639']\nMoving to Node #0,3,3,0\nCurrent State: 44:[3071], Operations: ['91-8=83', '25+12=37', '83*37=3071']\nNo solution found.", "role": "assistant" } ]
[ 92, 94, 77, 31 ]
47
[ "77-31=46", "92/46=2", "94/2=47" ]
Current State: 47:[92, 94, 77, 31], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [77, 31, 2] Generated Node #0,0: 47:[77, 31, 2] Operation: 94-92=2 Moving to Node #0,0 Current State: 47:[77, 31, 2], Operations: ['94-92=2'] Exploring Operation: 77-2=75, Resulting Numbers: [31, 75] Generated Node #0,0,0: 47:[31, 75] Operation: 77-2=75 Moving to Node #0,0,0 Current State: 47:[31, 75], Operations: ['94-92=2', '77-2=75'] Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,47 unequal: No Solution Moving to Node #0,0,0,0 Current State: 47:[44], Operations: ['94-92=2', '77-2=75', '75-31=44'] No solution found.
0
bfs_1
Current State: 47:[92, 94, 77, 31], Operations: [] Exploring Operation: 77-31=46, Resulting Numbers: [92, 94, 46] Generated Node #2: [92, 94, 46] from Operation: 77-31=46 Current State: 47:[92, 94, 46], Operations: ['77-31=46'] Exploring Operation: 92/46=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 92/46=2 Current State: 47:[94, 2], Operations: ['77-31=46', '92/46=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
sum_heuristic
[ { "content": "Make 47 with the numbers [92, 94, 77, 31] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 47:[92, 94, 77, 31], Operations: []\nExploring Operation: 94-92=2, Resulting Numbers: [77, 31, 2]\nGenerated Node #0,0: 47:[77, 31, 2] Operation: 94-92=2\nMoving to Node #0,0\nCurrent State: 47:[77, 31, 2], Operations: ['94-92=2']\nExploring Operation: 77-2=75, Resulting Numbers: [31, 75]\nGenerated Node #0,0,0: 47:[31, 75] Operation: 77-2=75\nMoving to Node #0,0,0\nCurrent State: 47:[31, 75], Operations: ['94-92=2', '77-2=75']\nExploring Operation: 75-31=44, Resulting Numbers: [44]\n44,47 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 47:[44], Operations: ['94-92=2', '77-2=75', '75-31=44']\nNo solution found.", "role": "assistant" } ]
[ 46, 43, 75, 6 ]
66
[ "46-43=3", "75-6=69", "69-3=66" ]
Current State: 66:[46, 43, 75, 6], Operations: [] Exploring Operation: 46+6=52, Resulting Numbers: [43, 75, 52] Generated Node #0,0: 66:[43, 75, 52] Operation: 46+6=52 Moving to Node #0,0 Current State: 66:[43, 75, 52], Operations: ['46+6=52'] Exploring Operation: 43+52=95, Resulting Numbers: [75, 95] Generated Node #0,0,0: 66:[75, 95] Operation: 43+52=95 Moving to Node #0,0,0 Current State: 66:[75, 95], Operations: ['46+6=52', '43+52=95'] Exploring Operation: 95-75=20, Resulting Numbers: [20] 20,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[43, 75, 52], Operations: ['46+6=52'] Exploring Operation: 75-43=32, Resulting Numbers: [52, 32] Generated Node #0,0,1: 66:[52, 32] Operation: 75-43=32 Moving to Node #0,0,1 Current State: 66:[52, 32], Operations: ['46+6=52', '75-43=32'] Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[52, 32], Operations: ['46+6=52', '75-43=32'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[43, 75, 52], Operations: ['46+6=52'] Exploring Operation: 43+75=118, Resulting Numbers: [52, 118] Generated Node #0,0,2: 66:[52, 118] Operation: 43+75=118 Moving to Node #0,0,2 Current State: 66:[52, 118], Operations: ['46+6=52', '43+75=118'] Exploring Operation: 118-52=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.992188
dfs
Current State: 66:[46, 43, 75, 6], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [75, 6, 3] Generated Node #2: [75, 6, 3] from Operation: 46-43=3 Current State: 66:[75, 6, 3], Operations: ['46-43=3'] Exploring Operation: 75-6=69, Resulting Numbers: [3, 69] Generated Node #3: [3, 69] from Operation: 75-6=69 Current State: 66:[3, 69], Operations: ['46-43=3', '75-6=69'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
sum_heuristic
[ { "content": "Make 66 with the numbers [46, 43, 75, 6] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 66:[46, 43, 75, 6], Operations: []\nExploring Operation: 46+6=52, Resulting Numbers: [43, 75, 52]\nGenerated Node #0,0: 66:[43, 75, 52] Operation: 46+6=52\nMoving to Node #0,0\nCurrent State: 66:[43, 75, 52], Operations: ['46+6=52']\nExploring Operation: 43+52=95, Resulting Numbers: [75, 95]\nGenerated Node #0,0,0: 66:[75, 95] Operation: 43+52=95\nMoving to Node #0,0,0\nCurrent State: 66:[75, 95], Operations: ['46+6=52', '43+52=95']\nExploring Operation: 95-75=20, Resulting Numbers: [20]\n20,66 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 66:[43, 75, 52], Operations: ['46+6=52']\nExploring Operation: 75-43=32, Resulting Numbers: [52, 32]\nGenerated Node #0,0,1: 66:[52, 32] Operation: 75-43=32\nMoving to Node #0,0,1\nCurrent State: 66:[52, 32], Operations: ['46+6=52', '75-43=32']\nExploring Operation: 52+32=84, Resulting Numbers: [84]\n84,66 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 66:[52, 32], Operations: ['46+6=52', '75-43=32']\nExploring Operation: 52-32=20, Resulting Numbers: [20]\n20,66 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 66:[43, 75, 52], Operations: ['46+6=52']\nExploring Operation: 43+75=118, Resulting Numbers: [52, 118]\nGenerated Node #0,0,2: 66:[52, 118] Operation: 43+75=118\nMoving to Node #0,0,2\nCurrent State: 66:[52, 118], Operations: ['46+6=52', '43+75=118']\nExploring Operation: 118-52=66, Resulting Numbers: [66]\n66,66 equal: Goal Reached\n", "role": "assistant" } ]
[ 19, 33, 59, 26 ]
30
[ "19+59=78", "78/26=3", "33-3=30" ]
Current State: 30:[19, 33, 59, 26], Operations: [] Exploring Operation: 26-19=7, Resulting Numbers: [33, 59, 7] Generated Node #0,0: 30:[33, 59, 7] Operation: 26-19=7 Exploring Operation: 33-19=14, Resulting Numbers: [59, 26, 14] Generated Node #0,1: 30:[59, 26, 14] Operation: 33-19=14 Exploring Operation: 59-26=33, Resulting Numbers: [19, 33, 33] Generated Node #0,2: 30:[19, 33, 33] Operation: 59-26=33 Exploring Operation: 59-33=26, Resulting Numbers: [19, 26, 26] Generated Node #0,3: 30:[19, 26, 26] Operation: 59-33=26 Exploring Operation: 59-19=40, Resulting Numbers: [33, 26, 40] Generated Node #0,4: 30:[33, 26, 40] Operation: 59-19=40 Moving to Node #0,2 Current State: 30:[19, 33, 33], Operations: ['59-26=33'] Exploring Operation: 33/33=1, Resulting Numbers: [19, 1] Generated Node #0,2,0: 30:[19, 1] Operation: 33/33=1 Exploring Operation: 19+33=52, Resulting Numbers: [33, 52] Generated Node #0,2,1: 30:[33, 52] Operation: 19+33=52 Exploring Operation: 33-19=14, Resulting Numbers: [33, 14] Generated Node #0,2,2: 30:[33, 14] Operation: 33-19=14 Exploring Operation: 33-19=14, Resulting Numbers: [33, 14] Generated Node #0,2,3: 30:[33, 14] Operation: 33-19=14 Exploring Operation: 33-33=0, Resulting Numbers: [19, 0] Generated Node #0,2,4: 30:[19, 0] Operation: 33-33=0 Moving to Node #0,3 Current State: 30:[19, 26, 26], Operations: ['59-33=26'] Exploring Operation: 26-26=0, Resulting Numbers: [19, 0] Generated Node #0,3,0: 30:[19, 0] Operation: 26-26=0 Exploring Operation: 26-19=7, Resulting Numbers: [26, 7] Generated Node #0,3,1: 30:[26, 7] Operation: 26-19=7 Exploring Operation: 26/26=1, Resulting Numbers: [19, 1] Generated Node #0,3,2: 30:[19, 1] Operation: 26/26=1 Exploring Operation: 19+26=45, Resulting Numbers: [26, 45] Generated Node #0,3,3: 30:[26, 45] Operation: 19+26=45 Exploring Operation: 26-19=7, Resulting Numbers: [26, 7] Generated Node #0,3,4: 30:[26, 7] Operation: 26-19=7 Moving to Node #0,4 Current State: 30:[33, 26, 40], Operations: ['59-19=40'] Exploring Operation: 33-26=7, Resulting Numbers: [40, 7] Generated Node #0,4,0: 30:[40, 7] Operation: 33-26=7 Exploring Operation: 26+40=66, Resulting Numbers: [33, 66] Generated Node #0,4,1: 30:[33, 66] Operation: 26+40=66 Exploring Operation: 40-26=14, Resulting Numbers: [33, 14] Generated Node #0,4,2: 30:[33, 14] Operation: 40-26=14 Exploring Operation: 40-33=7, Resulting Numbers: [26, 7] Generated Node #0,4,3: 30:[26, 7] Operation: 40-33=7 Exploring Operation: 33+26=59, Resulting Numbers: [40, 59] Generated Node #0,4,4: 30:[40, 59] Operation: 33+26=59 Moving to Node #0,0 Current State: 30:[33, 59, 7], Operations: ['26-19=7'] Exploring Operation: 33+7=40, Resulting Numbers: [59, 40] Generated Node #0,0,0: 30:[59, 40] Operation: 33+7=40 Exploring Operation: 33-7=26, Resulting Numbers: [59, 26] Generated Node #0,0,1: 30:[59, 26] Operation: 33-7=26 Exploring Operation: 59+7=66, Resulting Numbers: [33, 66] Generated Node #0,0,2: 30:[33, 66] Operation: 59+7=66 Exploring Operation: 59-7=52, Resulting Numbers: [33, 52] Generated Node #0,0,3: 30:[33, 52] Operation: 59-7=52 Exploring Operation: 59-33=26, Resulting Numbers: [7, 26] Generated Node #0,0,4: 30:[7, 26] Operation: 59-33=26 Moving to Node #0,1 Current State: 30:[59, 26, 14], Operations: ['33-19=14'] Exploring Operation: 59-14=45, Resulting Numbers: [26, 45] Generated Node #0,1,0: 30:[26, 45] Operation: 59-14=45 Exploring Operation: 59+14=73, Resulting Numbers: [26, 73] Generated Node #0,1,1: 30:[26, 73] Operation: 59+14=73 Exploring Operation: 26+14=40, Resulting Numbers: [59, 40] Generated Node #0,1,2: 30:[59, 40] Operation: 26+14=40 Exploring Operation: 59-26=33, Resulting Numbers: [14, 33] Generated Node #0,1,3: 30:[14, 33] Operation: 59-26=33 Exploring Operation: 26-14=12, Resulting Numbers: [59, 12] Generated Node #0,1,4: 30:[59, 12] Operation: 26-14=12 Moving to Node #0,2,2 Current State: 30:[33, 14], Operations: ['59-26=33', '33-19=14'] Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,30 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,30 unequal: No Solution Moving to Node #0,2,3 Current State: 30:[33, 14], Operations: ['59-26=33', '33-19=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,30 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,30 unequal: No Solution Moving to Node #0,4,2 Current State: 30:[33, 14], Operations: ['59-19=40', '40-26=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[14, 33], Operations: ['33-19=14', '59-26=33'] Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,30 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[19, 1], Operations: ['59-26=33', '33/33=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,30 unequal: No Solution Moving to Node #0,2,0,0 Current State: 30:[18], Operations: ['59-26=33', '33/33=1', '19-1=18'] Moving to Node #0,2,3,0 Current State: 30:[19], Operations: ['59-26=33', '33-19=14', '33-14=19'] Moving to Node #0,1,3,0 Current State: 30:[19], Operations: ['33-19=14', '59-26=33', '33-14=19'] Moving to Node #0,4,2,0 Current State: 30:[19], Operations: ['59-19=40', '40-26=14', '33-14=19'] Moving to Node #0,2,2,0 Current State: 30:[19], Operations: ['59-26=33', '33-19=14', '33-14=19'] Moving to Node #0,2,0,0 Current State: 30:[19], Operations: ['59-26=33', '33/33=1', '19/1=19'] Moving to Node #0,2,0,0 Current State: 30:[19], Operations: ['59-26=33', '33/33=1', '19*1=19'] Moving to Node #0,3,1 Current State: 30:[26, 7], Operations: ['59-33=26', '26-19=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,30 unequal: No Solution Moving to Node #0,0,4 Current State: 30:[7, 26], Operations: ['26-19=7', '59-33=26'] Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,30 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,4,3 Current State: 30:[26, 7], Operations: ['59-19=40', '40-33=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,30 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,3,1,0 Current State: 30:[33], Operations: ['59-33=26', '26-19=7', '26+7=33'] Moving to Node #0,0,4,0 Current State: 30:[33], Operations: ['26-19=7', '59-33=26', '7+26=33'] Moving to Node #0,4,3,0 Current State: 30:[33], Operations: ['59-19=40', '40-33=7', '26+7=33'] Moving to Node #0,3,1,0 Current State: 30:[19], Operations: ['59-33=26', '26-19=7', '26-7=19'] Moving to Node #0,0,4,0 Current State: 30:[19], Operations: ['26-19=7', '59-33=26', '26-7=19'] Moving to Node #0,4,3,0 Current State: 30:[19], Operations: ['59-19=40', '40-33=7', '26-7=19'] Moving to Node #0,3,4 Current State: 30:[26, 7], Operations: ['59-33=26', '26-19=7'] Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,30 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,2,0,0 Current State: 30:[20], Operations: ['59-26=33', '33/33=1', '19+1=20'] Moving to Node #0,3,2 Current State: 30:[19, 1], Operations: ['59-33=26', '26/26=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[19, 0], Operations: ['59-33=26', '26-26=0'] Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,3,0,0 Current State: 30:[0], Operations: ['59-33=26', '26-26=0', '19*0=0'] Moving to Node #0,3,2,0 Current State: 30:[18], Operations: ['59-33=26', '26/26=1', '19-1=18'] Moving to Node #0,3,4,0 Current State: 30:[33], Operations: ['59-33=26', '26-19=7', '26+7=33'] Moving to Node #0,3,4,0 Current State: 30:[19], Operations: ['59-33=26', '26-19=7', '26-7=19'] Moving to Node #0,3,2,0 Current State: 30:[19], Operations: ['59-33=26', '26/26=1', '19*1=19'] Moving to Node #0,3,2,0 Current State: 30:[19], Operations: ['59-33=26', '26/26=1', '19/1=19'] Moving to Node #0,3,0,0 Current State: 30:[19], Operations: ['59-33=26', '26-26=0', '19+0=19'] Moving to Node #0,3,0,0 Current State: 30:[19], Operations: ['59-33=26', '26-26=0', '19-0=19'] Moving to Node #0,3,2,0 Current State: 30:[20], Operations: ['59-33=26', '26/26=1', '19+1=20'] Moving to Node #0,2,4 Current State: 30:[19, 0], Operations: ['59-26=33', '33-33=0'] Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,30 unequal: No Solution Moving to Node #0,2,4,0 Current State: 30:[0], Operations: ['59-26=33', '33-33=0', '19*0=0'] Moving to Node #0,2,4,0 Current State: 30:[19], Operations: ['59-26=33', '33-33=0', '19-0=19'] Moving to Node #0,2,4,0 Current State: 30:[19], Operations: ['59-26=33', '33-33=0', '19+0=19'] Moving to Node #0,4,0 Current State: 30:[40, 7], Operations: ['59-19=40', '33-26=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,30 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,30 unequal: No Solution Moving to Node #0,1,3,0 Current State: 30:[47], Operations: ['33-19=14', '59-26=33', '14+33=47'] Moving to Node #0,4,0,0 Current State: 30:[33], Operations: ['59-19=40', '33-26=7', '40-7=33'] Moving to Node #0,2,2,0 Current State: 30:[47], Operations: ['59-26=33', '33-19=14', '33+14=47'] Moving to Node #0,2,3,0 Current State: 30:[47], Operations: ['59-26=33', '33-19=14', '33+14=47'] Moving to Node #0,4,0,0 Current State: 30:[47], Operations: ['59-19=40', '33-26=7', '40+7=47'] Moving to Node #0,4,2,0 Current State: 30:[47], Operations: ['59-19=40', '40-26=14', '33+14=47'] Moving to Node #0,1,0 Current State: 30:[26, 45], Operations: ['33-19=14', '59-14=45'] Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,30 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[26, 45], Operations: ['59-33=26', '19+26=45'] Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[33, 52], Operations: ['26-19=7', '59-7=52'] Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 33*52=1716, Resulting Numbers: [1716] 1716,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[33, 52], Operations: ['59-26=33', '19+33=52'] Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 33*52=1716, Resulting Numbers: [1716] 1716,30 unequal: No Solution Moving to Node #0,1,4 Current State: 30:[59, 12], Operations: ['33-19=14', '26-14=12'] Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 59*12=708, Resulting Numbers: [708] 708,30 unequal: No Solution Moving to Node #0,1,0,0 Current State: 30:[19], Operations: ['33-19=14', '59-14=45', '45-26=19'] Moving to Node #0,2,1,0 Current State: 30:[19], Operations: ['59-26=33', '19+33=52', '52-33=19'] Moving to Node #0,3,3,0 Current State: 30:[19], Operations: ['59-33=26', '19+26=45', '45-26=19'] Moving to Node #0,0,3,0 Current State: 30:[19], Operations: ['26-19=7', '59-7=52', '52-33=19'] Moving to Node #0,1,4,0 Current State: 30:[47], Operations: ['33-19=14', '26-14=12', '59-12=47'] Moving to Node #0,0,1 Current State: 30:[59, 26], Operations: ['26-19=7', '33-7=26'] Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,30 unequal: No Solution Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,30 unequal: No Solution Moving to Node #0,4,4 Current State: 30:[40, 59], Operations: ['59-19=40', '33+26=59'] Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,30 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,30 unequal: No Solution Moving to Node #0,4,1 Current State: 30:[33, 66], Operations: ['59-19=40', '26+40=66'] Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 33+66=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 33*66=2178, Resulting Numbers: [2178] 2178,30 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[59, 40], Operations: ['33-19=14', '26+14=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,30 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[33, 66], Operations: ['26-19=7', '59+7=66'] Exploring Operation: 33*66=2178, Resulting Numbers: [2178] 2178,30 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 33+66=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,30 unequal: No Solution Moving to Node #0,4,1,0 Current State: 30:[2], Operations: ['59-19=40', '26+40=66', '66/33=2'] Moving to Node #0,0,2,0 Current State: 30:[2], Operations: ['26-19=7', '59+7=66', '66/33=2'] Moving to Node #0,0,1,0 Current State: 30:[33], Operations: ['26-19=7', '33-7=26', '59-26=33'] Moving to Node #0,4,1,0 Current State: 30:[33], Operations: ['59-19=40', '26+40=66', '66-33=33'] Moving to Node #0,0,2,0 Current State: 30:[33], Operations: ['26-19=7', '59+7=66', '66-33=33'] Moving to Node #0,4,4,0 Current State: 30:[19], Operations: ['59-19=40', '33+26=59', '59-40=19'] Moving to Node #0,1,2,0 Current State: 30:[19], Operations: ['33-19=14', '26+14=40', '59-40=19'] Moving to Node #0,0,0 Current State: 30:[59, 40], Operations: ['26-19=7', '33+7=40'] Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,30 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,1,4,0 Current State: 30:[71], Operations: ['33-19=14', '26-14=12', '59+12=71'] Moving to Node #0,3,3,0 Current State: 30:[71], Operations: ['59-33=26', '19+26=45', '26+45=71'] Moving to Node #0,0,0,0 Current State: 30:[19], Operations: ['26-19=7', '33+7=40', '59-40=19'] Moving to Node #0,1,0,0 Current State: 30:[71], Operations: ['33-19=14', '59-14=45', '26+45=71'] Moving to Node #0,1,1 Current State: 30:[26, 73], Operations: ['33-19=14', '59+14=73'] Exploring Operation: 26+73=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 26*73=1898, Resulting Numbers: [1898] 1898,30 unequal: No Solution Moving to Node #0,0,3,0 Current State: 30:[85], Operations: ['26-19=7', '59-7=52', '33+52=85'] Moving to Node #0,0,1,0 Current State: 30:[85], Operations: ['26-19=7', '33-7=26', '59+26=85'] Moving to Node #0,1,1,0 Current State: 30:[47], Operations: ['33-19=14', '59+14=73', '73-26=47'] Moving to Node #0,2,1,0 Current State: 30:[85], Operations: ['59-26=33', '19+33=52', '33+52=85'] Moving to Node #0,4,1,0 Current State: 30:[99], Operations: ['59-19=40', '26+40=66', '33+66=99'] Moving to Node #0,1,1,0 Current State: 30:[99], Operations: ['33-19=14', '59+14=73', '26+73=99'] Moving to Node #0,0,0,0 Current State: 30:[99], Operations: ['26-19=7', '33+7=40', '59+40=99'] Moving to Node #0,4,4,0 Current State: 30:[99], Operations: ['59-19=40', '33+26=59', '40+59=99'] Moving to Node #0,0,2,0 Current State: 30:[99], Operations: ['26-19=7', '59+7=66', '33+66=99'] Moving to Node #0,1,2,0 Current State: 30:[99], Operations: ['33-19=14', '26+14=40', '59+40=99'] Moving to Node #0,3,4,0 Current State: 30:[182], Operations: ['59-33=26', '26-19=7', '26*7=182'] Moving to Node #0,4,3,0 Current State: 30:[182], Operations: ['59-19=40', '40-33=7', '26*7=182'] Moving to Node #0,3,1,0 Current State: 30:[182], Operations: ['59-33=26', '26-19=7', '26*7=182'] Moving to Node #0,0,4,0 Current State: 30:[182], Operations: ['26-19=7', '59-33=26', '7*26=182'] Moving to Node #0,4,0,0 Current State: 30:[280], Operations: ['59-19=40', '33-26=7', '40*7=280'] Moving to Node #0,2,3,0 Current State: 30:[462], Operations: ['59-26=33', '33-19=14', '33*14=462'] Moving to Node #0,2,2,0 Current State: 30:[462], Operations: ['59-26=33', '33-19=14', '33*14=462'] Moving to Node #0,4,2,0 Current State: 30:[462], Operations: ['59-19=40', '40-26=14', '33*14=462'] Moving to Node #0,1,3,0 Current State: 30:[462], Operations: ['33-19=14', '59-26=33', '14*33=462'] Moving to Node #0,1,4,0 Current State: 30:[708], Operations: ['33-19=14', '26-14=12', '59*12=708'] Moving to Node #0,3,3,0 Current State: 30:[1170], Operations: ['59-33=26', '19+26=45', '26*45=1170'] Moving to Node #0,1,0,0 Current State: 30:[1170], Operations: ['33-19=14', '59-14=45', '26*45=1170'] Moving to Node #0,0,1,0 Current State: 30:[1534], Operations: ['26-19=7', '33-7=26', '59*26=1534'] Moving to Node #0,2,1,0 Current State: 30:[1716], Operations: ['59-26=33', '19+33=52', '33*52=1716'] Moving to Node #0,0,3,0 Current State: 30:[1716], Operations: ['26-19=7', '59-7=52', '33*52=1716'] Moving to Node #0,1,1,0 Current State: 30:[1898], Operations: ['33-19=14', '59+14=73', '26*73=1898'] Moving to Node #0,0,2,0 Current State: 30:[2178], Operations: ['26-19=7', '59+7=66', '33*66=2178'] Moving to Node #0,4,1,0 Current State: 30:[2178], Operations: ['59-19=40', '26+40=66', '33*66=2178'] Moving to Node #0,0,0,0 Current State: 30:[2360], Operations: ['26-19=7', '33+7=40', '59*40=2360'] Moving to Node #0,4,4,0 Current State: 30:[2360], Operations: ['59-19=40', '33+26=59', '40*59=2360'] Moving to Node #0,1,2,0 Current State: 30:[2360], Operations: ['33-19=14', '26+14=40', '59*40=2360'] No solution found.
0
bfs_5
Current State: 30:[19, 33, 59, 26], Operations: [] Exploring Operation: 19+59=78, Resulting Numbers: [33, 26, 78] Generated Node #2: [33, 26, 78] from Operation: 19+59=78 Current State: 30:[33, 26, 78], Operations: ['19+59=78'] Exploring Operation: 78/26=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 78/26=3 Current State: 30:[33, 3], Operations: ['19+59=78', '78/26=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
mult_heuristic
[ { "content": "Make 30 with the numbers [19, 33, 59, 26] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 30:[19, 33, 59, 26], Operations: []\nExploring Operation: 26-19=7, Resulting Numbers: [33, 59, 7]\nGenerated Node #0,0: 30:[33, 59, 7] Operation: 26-19=7\nExploring Operation: 33-19=14, Resulting Numbers: [59, 26, 14]\nGenerated Node #0,1: 30:[59, 26, 14] Operation: 33-19=14\nExploring Operation: 59-26=33, Resulting Numbers: [19, 33, 33]\nGenerated Node #0,2: 30:[19, 33, 33] Operation: 59-26=33\nExploring Operation: 59-33=26, Resulting Numbers: [19, 26, 26]\nGenerated Node #0,3: 30:[19, 26, 26] Operation: 59-33=26\nExploring Operation: 59-19=40, Resulting Numbers: [33, 26, 40]\nGenerated Node #0,4: 30:[33, 26, 40] Operation: 59-19=40\nMoving to Node #0,2\nCurrent State: 30:[19, 33, 33], Operations: ['59-26=33']\nExploring Operation: 33/33=1, Resulting Numbers: [19, 1]\nGenerated Node #0,2,0: 30:[19, 1] Operation: 33/33=1\nExploring Operation: 19+33=52, Resulting Numbers: [33, 52]\nGenerated Node #0,2,1: 30:[33, 52] Operation: 19+33=52\nExploring Operation: 33-19=14, Resulting Numbers: [33, 14]\nGenerated Node #0,2,2: 30:[33, 14] Operation: 33-19=14\nExploring Operation: 33-19=14, Resulting Numbers: [33, 14]\nGenerated Node #0,2,3: 30:[33, 14] Operation: 33-19=14\nExploring Operation: 33-33=0, Resulting Numbers: [19, 0]\nGenerated Node #0,2,4: 30:[19, 0] Operation: 33-33=0\nMoving to Node #0,3\nCurrent State: 30:[19, 26, 26], Operations: ['59-33=26']\nExploring Operation: 26-26=0, Resulting Numbers: [19, 0]\nGenerated Node #0,3,0: 30:[19, 0] Operation: 26-26=0\nExploring Operation: 26-19=7, Resulting Numbers: [26, 7]\nGenerated Node #0,3,1: 30:[26, 7] Operation: 26-19=7\nExploring Operation: 26/26=1, Resulting Numbers: [19, 1]\nGenerated Node #0,3,2: 30:[19, 1] Operation: 26/26=1\nExploring Operation: 19+26=45, Resulting Numbers: [26, 45]\nGenerated Node #0,3,3: 30:[26, 45] Operation: 19+26=45\nExploring Operation: 26-19=7, Resulting Numbers: [26, 7]\nGenerated Node #0,3,4: 30:[26, 7] Operation: 26-19=7\nMoving to Node #0,4\nCurrent State: 30:[33, 26, 40], Operations: ['59-19=40']\nExploring Operation: 33-26=7, Resulting Numbers: [40, 7]\nGenerated Node #0,4,0: 30:[40, 7] Operation: 33-26=7\nExploring Operation: 26+40=66, Resulting Numbers: [33, 66]\nGenerated Node #0,4,1: 30:[33, 66] Operation: 26+40=66\nExploring Operation: 40-26=14, Resulting Numbers: [33, 14]\nGenerated Node #0,4,2: 30:[33, 14] Operation: 40-26=14\nExploring Operation: 40-33=7, Resulting Numbers: [26, 7]\nGenerated Node #0,4,3: 30:[26, 7] Operation: 40-33=7\nExploring Operation: 33+26=59, Resulting Numbers: [40, 59]\nGenerated Node #0,4,4: 30:[40, 59] Operation: 33+26=59\nMoving to Node #0,0\nCurrent State: 30:[33, 59, 7], Operations: ['26-19=7']\nExploring Operation: 33+7=40, Resulting Numbers: [59, 40]\nGenerated Node #0,0,0: 30:[59, 40] Operation: 33+7=40\nExploring Operation: 33-7=26, Resulting Numbers: [59, 26]\nGenerated Node #0,0,1: 30:[59, 26] Operation: 33-7=26\nExploring Operation: 59+7=66, Resulting Numbers: [33, 66]\nGenerated Node #0,0,2: 30:[33, 66] Operation: 59+7=66\nExploring Operation: 59-7=52, Resulting Numbers: [33, 52]\nGenerated Node #0,0,3: 30:[33, 52] Operation: 59-7=52\nExploring Operation: 59-33=26, Resulting Numbers: [7, 26]\nGenerated Node #0,0,4: 30:[7, 26] Operation: 59-33=26\nMoving to Node #0,1\nCurrent State: 30:[59, 26, 14], Operations: ['33-19=14']\nExploring Operation: 59-14=45, Resulting Numbers: [26, 45]\nGenerated Node #0,1,0: 30:[26, 45] Operation: 59-14=45\nExploring Operation: 59+14=73, Resulting Numbers: [26, 73]\nGenerated Node #0,1,1: 30:[26, 73] Operation: 59+14=73\nExploring Operation: 26+14=40, Resulting Numbers: [59, 40]\nGenerated Node #0,1,2: 30:[59, 40] Operation: 26+14=40\nExploring Operation: 59-26=33, Resulting Numbers: [14, 33]\nGenerated Node #0,1,3: 30:[14, 33] Operation: 59-26=33\nExploring Operation: 26-14=12, Resulting Numbers: [59, 12]\nGenerated Node #0,1,4: 30:[59, 12] Operation: 26-14=12\nMoving to Node #0,2,2\nCurrent State: 30:[33, 14], Operations: ['59-26=33', '33-19=14']\nExploring Operation: 33*14=462, Resulting Numbers: [462]\n462,30 unequal: No Solution\nExploring Operation: 33-14=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 33+14=47, Resulting Numbers: [47]\n47,30 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 30:[33, 14], Operations: ['59-26=33', '33-19=14']\nExploring Operation: 33-14=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 33*14=462, Resulting Numbers: [462]\n462,30 unequal: No Solution\nExploring Operation: 33+14=47, Resulting Numbers: [47]\n47,30 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 30:[33, 14], Operations: ['59-19=40', '40-26=14']\nExploring Operation: 33-14=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 33+14=47, Resulting Numbers: [47]\n47,30 unequal: No Solution\nExploring Operation: 33*14=462, Resulting Numbers: [462]\n462,30 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 30:[14, 33], Operations: ['33-19=14', '59-26=33']\nExploring Operation: 14+33=47, Resulting Numbers: [47]\n47,30 unequal: No Solution\nExploring Operation: 14*33=462, Resulting Numbers: [462]\n462,30 unequal: No Solution\nExploring Operation: 33-14=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 30:[19, 1], Operations: ['59-26=33', '33/33=1']\nExploring Operation: 19/1=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 19+1=20, Resulting Numbers: [20]\n20,30 unequal: No Solution\nExploring Operation: 19*1=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 19-1=18, Resulting Numbers: [18]\n18,30 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 30:[18], Operations: ['59-26=33', '33/33=1', '19-1=18']\nMoving to Node #0,2,3,0\nCurrent State: 30:[19], Operations: ['59-26=33', '33-19=14', '33-14=19']\nMoving to Node #0,1,3,0\nCurrent State: 30:[19], Operations: ['33-19=14', '59-26=33', '33-14=19']\nMoving to Node #0,4,2,0\nCurrent State: 30:[19], Operations: ['59-19=40', '40-26=14', '33-14=19']\nMoving to Node #0,2,2,0\nCurrent State: 30:[19], Operations: ['59-26=33', '33-19=14', '33-14=19']\nMoving to Node #0,2,0,0\nCurrent State: 30:[19], Operations: ['59-26=33', '33/33=1', '19/1=19']\nMoving to Node #0,2,0,0\nCurrent State: 30:[19], Operations: ['59-26=33', '33/33=1', '19*1=19']\nMoving to Node #0,3,1\nCurrent State: 30:[26, 7], Operations: ['59-33=26', '26-19=7']\nExploring Operation: 26+7=33, Resulting Numbers: [33]\n33,30 unequal: No Solution\nExploring Operation: 26-7=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 26*7=182, Resulting Numbers: [182]\n182,30 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 30:[7, 26], Operations: ['26-19=7', '59-33=26']\nExploring Operation: 7*26=182, Resulting Numbers: [182]\n182,30 unequal: No Solution\nExploring Operation: 7+26=33, Resulting Numbers: [33]\n33,30 unequal: No Solution\nExploring Operation: 26-7=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 30:[26, 7], Operations: ['59-19=40', '40-33=7']\nExploring Operation: 26+7=33, Resulting Numbers: [33]\n33,30 unequal: No Solution\nExploring Operation: 26*7=182, Resulting Numbers: [182]\n182,30 unequal: No Solution\nExploring Operation: 26-7=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 30:[33], Operations: ['59-33=26', '26-19=7', '26+7=33']\nMoving to Node #0,0,4,0\nCurrent State: 30:[33], Operations: ['26-19=7', '59-33=26', '7+26=33']\nMoving to Node #0,4,3,0\nCurrent State: 30:[33], Operations: ['59-19=40', '40-33=7', '26+7=33']\nMoving to Node #0,3,1,0\nCurrent State: 30:[19], Operations: ['59-33=26', '26-19=7', '26-7=19']\nMoving to Node #0,0,4,0\nCurrent State: 30:[19], Operations: ['26-19=7', '59-33=26', '26-7=19']\nMoving to Node #0,4,3,0\nCurrent State: 30:[19], Operations: ['59-19=40', '40-33=7', '26-7=19']\nMoving to Node #0,3,4\nCurrent State: 30:[26, 7], Operations: ['59-33=26', '26-19=7']\nExploring Operation: 26*7=182, Resulting Numbers: [182]\n182,30 unequal: No Solution\nExploring Operation: 26+7=33, Resulting Numbers: [33]\n33,30 unequal: No Solution\nExploring Operation: 26-7=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 30:[20], Operations: ['59-26=33', '33/33=1', '19+1=20']\nMoving to Node #0,3,2\nCurrent State: 30:[19, 1], Operations: ['59-33=26', '26/26=1']\nExploring Operation: 19*1=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 19/1=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 19-1=18, Resulting Numbers: [18]\n18,30 unequal: No Solution\nExploring Operation: 19+1=20, Resulting Numbers: [20]\n20,30 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 30:[19, 0], Operations: ['59-33=26', '26-26=0']\nExploring Operation: 19+0=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 19*0=0, Resulting Numbers: [0]\n0,30 unequal: No Solution\nExploring Operation: 19-0=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 30:[0], Operations: ['59-33=26', '26-26=0', '19*0=0']\nMoving to Node #0,3,2,0\nCurrent State: 30:[18], Operations: ['59-33=26', '26/26=1', '19-1=18']\nMoving to Node #0,3,4,0\nCurrent State: 30:[33], Operations: ['59-33=26', '26-19=7', '26+7=33']\nMoving to Node #0,3,4,0\nCurrent State: 30:[19], Operations: ['59-33=26', '26-19=7', '26-7=19']\nMoving to Node #0,3,2,0\nCurrent State: 30:[19], Operations: ['59-33=26', '26/26=1', '19*1=19']\nMoving to Node #0,3,2,0\nCurrent State: 30:[19], Operations: ['59-33=26', '26/26=1', '19/1=19']\nMoving to Node #0,3,0,0\nCurrent State: 30:[19], Operations: ['59-33=26', '26-26=0', '19+0=19']\nMoving to Node #0,3,0,0\nCurrent State: 30:[19], Operations: ['59-33=26', '26-26=0', '19-0=19']\nMoving to Node #0,3,2,0\nCurrent State: 30:[20], Operations: ['59-33=26', '26/26=1', '19+1=20']\nMoving to Node #0,2,4\nCurrent State: 30:[19, 0], Operations: ['59-26=33', '33-33=0']\nExploring Operation: 19-0=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 19+0=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 19*0=0, Resulting Numbers: [0]\n0,30 unequal: No Solution\nMoving to Node #0,2,4,0\nCurrent State: 30:[0], Operations: ['59-26=33', '33-33=0', '19*0=0']\nMoving to Node #0,2,4,0\nCurrent State: 30:[19], Operations: ['59-26=33', '33-33=0', '19-0=19']\nMoving to Node #0,2,4,0\nCurrent State: 30:[19], Operations: ['59-26=33', '33-33=0', '19+0=19']\nMoving to Node #0,4,0\nCurrent State: 30:[40, 7], Operations: ['59-19=40', '33-26=7']\nExploring Operation: 40-7=33, Resulting Numbers: [33]\n33,30 unequal: No Solution\nExploring Operation: 40*7=280, Resulting Numbers: [280]\n280,30 unequal: No Solution\nExploring Operation: 40+7=47, Resulting Numbers: [47]\n47,30 unequal: No Solution\nMoving to Node #0,1,3,0\nCurrent State: 30:[47], Operations: ['33-19=14', '59-26=33', '14+33=47']\nMoving to Node #0,4,0,0\nCurrent State: 30:[33], Operations: ['59-19=40', '33-26=7', '40-7=33']\nMoving to Node #0,2,2,0\nCurrent State: 30:[47], Operations: ['59-26=33', '33-19=14', '33+14=47']\nMoving to Node #0,2,3,0\nCurrent State: 30:[47], Operations: ['59-26=33', '33-19=14', '33+14=47']\nMoving to Node #0,4,0,0\nCurrent State: 30:[47], Operations: ['59-19=40', '33-26=7', '40+7=47']\nMoving to Node #0,4,2,0\nCurrent State: 30:[47], Operations: ['59-19=40', '40-26=14', '33+14=47']\nMoving to Node #0,1,0\nCurrent State: 30:[26, 45], Operations: ['33-19=14', '59-14=45']\nExploring Operation: 45-26=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 26*45=1170, Resulting Numbers: [1170]\n1170,30 unequal: No Solution\nExploring Operation: 26+45=71, Resulting Numbers: [71]\n71,30 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 30:[26, 45], Operations: ['59-33=26', '19+26=45']\nExploring Operation: 26+45=71, Resulting Numbers: [71]\n71,30 unequal: No Solution\nExploring Operation: 45-26=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 26*45=1170, Resulting Numbers: [1170]\n1170,30 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 30:[33, 52], Operations: ['26-19=7', '59-7=52']\nExploring Operation: 52-33=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 33+52=85, Resulting Numbers: [85]\n85,30 unequal: No Solution\nExploring Operation: 33*52=1716, Resulting Numbers: [1716]\n1716,30 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 30:[33, 52], Operations: ['59-26=33', '19+33=52']\nExploring Operation: 52-33=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 33+52=85, Resulting Numbers: [85]\n85,30 unequal: No Solution\nExploring Operation: 33*52=1716, Resulting Numbers: [1716]\n1716,30 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 30:[59, 12], Operations: ['33-19=14', '26-14=12']\nExploring Operation: 59+12=71, Resulting Numbers: [71]\n71,30 unequal: No Solution\nExploring Operation: 59-12=47, Resulting Numbers: [47]\n47,30 unequal: No Solution\nExploring Operation: 59*12=708, Resulting Numbers: [708]\n708,30 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 30:[19], Operations: ['33-19=14', '59-14=45', '45-26=19']\nMoving to Node #0,2,1,0\nCurrent State: 30:[19], Operations: ['59-26=33', '19+33=52', '52-33=19']\nMoving to Node #0,3,3,0\nCurrent State: 30:[19], Operations: ['59-33=26', '19+26=45', '45-26=19']\nMoving to Node #0,0,3,0\nCurrent State: 30:[19], Operations: ['26-19=7', '59-7=52', '52-33=19']\nMoving to Node #0,1,4,0\nCurrent State: 30:[47], Operations: ['33-19=14', '26-14=12', '59-12=47']\nMoving to Node #0,0,1\nCurrent State: 30:[59, 26], Operations: ['26-19=7', '33-7=26']\nExploring Operation: 59*26=1534, Resulting Numbers: [1534]\n1534,30 unequal: No Solution\nExploring Operation: 59+26=85, Resulting Numbers: [85]\n85,30 unequal: No Solution\nExploring Operation: 59-26=33, Resulting Numbers: [33]\n33,30 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 30:[40, 59], Operations: ['59-19=40', '33+26=59']\nExploring Operation: 40*59=2360, Resulting Numbers: [2360]\n2360,30 unequal: No Solution\nExploring Operation: 59-40=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nExploring Operation: 40+59=99, Resulting Numbers: [99]\n99,30 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 30:[33, 66], Operations: ['59-19=40', '26+40=66']\nExploring Operation: 66/33=2, Resulting Numbers: [2]\n2,30 unequal: No Solution\nExploring Operation: 33+66=99, Resulting Numbers: [99]\n99,30 unequal: No Solution\nExploring Operation: 33*66=2178, Resulting Numbers: [2178]\n2178,30 unequal: No Solution\nExploring Operation: 66-33=33, Resulting Numbers: [33]\n33,30 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 30:[59, 40], Operations: ['33-19=14', '26+14=40']\nExploring Operation: 59+40=99, Resulting Numbers: [99]\n99,30 unequal: No Solution\nExploring Operation: 59*40=2360, Resulting Numbers: [2360]\n2360,30 unequal: No Solution\nExploring Operation: 59-40=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 30:[33, 66], Operations: ['26-19=7', '59+7=66']\nExploring Operation: 33*66=2178, Resulting Numbers: [2178]\n2178,30 unequal: No Solution\nExploring Operation: 66/33=2, Resulting Numbers: [2]\n2,30 unequal: No Solution\nExploring Operation: 33+66=99, Resulting Numbers: [99]\n99,30 unequal: No Solution\nExploring Operation: 66-33=33, Resulting Numbers: [33]\n33,30 unequal: No Solution\nMoving to Node #0,4,1,0\nCurrent State: 30:[2], Operations: ['59-19=40', '26+40=66', '66/33=2']\nMoving to Node #0,0,2,0\nCurrent State: 30:[2], Operations: ['26-19=7', '59+7=66', '66/33=2']\nMoving to Node #0,0,1,0\nCurrent State: 30:[33], Operations: ['26-19=7', '33-7=26', '59-26=33']\nMoving to Node #0,4,1,0\nCurrent State: 30:[33], Operations: ['59-19=40', '26+40=66', '66-33=33']\nMoving to Node #0,0,2,0\nCurrent State: 30:[33], Operations: ['26-19=7', '59+7=66', '66-33=33']\nMoving to Node #0,4,4,0\nCurrent State: 30:[19], Operations: ['59-19=40', '33+26=59', '59-40=19']\nMoving to Node #0,1,2,0\nCurrent State: 30:[19], Operations: ['33-19=14', '26+14=40', '59-40=19']\nMoving to Node #0,0,0\nCurrent State: 30:[59, 40], Operations: ['26-19=7', '33+7=40']\nExploring Operation: 59*40=2360, Resulting Numbers: [2360]\n2360,30 unequal: No Solution\nExploring Operation: 59+40=99, Resulting Numbers: [99]\n99,30 unequal: No Solution\nExploring Operation: 59-40=19, Resulting Numbers: [19]\n19,30 unequal: No Solution\nMoving to Node #0,1,4,0\nCurrent State: 30:[71], Operations: ['33-19=14', '26-14=12', '59+12=71']\nMoving to Node #0,3,3,0\nCurrent State: 30:[71], Operations: ['59-33=26', '19+26=45', '26+45=71']\nMoving to Node #0,0,0,0\nCurrent State: 30:[19], Operations: ['26-19=7', '33+7=40', '59-40=19']\nMoving to Node #0,1,0,0\nCurrent State: 30:[71], Operations: ['33-19=14', '59-14=45', '26+45=71']\nMoving to Node #0,1,1\nCurrent State: 30:[26, 73], Operations: ['33-19=14', '59+14=73']\nExploring Operation: 26+73=99, Resulting Numbers: [99]\n99,30 unequal: No Solution\nExploring Operation: 73-26=47, Resulting Numbers: [47]\n47,30 unequal: No Solution\nExploring Operation: 26*73=1898, Resulting Numbers: [1898]\n1898,30 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 30:[85], Operations: ['26-19=7', '59-7=52', '33+52=85']\nMoving to Node #0,0,1,0\nCurrent State: 30:[85], Operations: ['26-19=7', '33-7=26', '59+26=85']\nMoving to Node #0,1,1,0\nCurrent State: 30:[47], Operations: ['33-19=14', '59+14=73', '73-26=47']\nMoving to Node #0,2,1,0\nCurrent State: 30:[85], Operations: ['59-26=33', '19+33=52', '33+52=85']\nMoving to Node #0,4,1,0\nCurrent State: 30:[99], Operations: ['59-19=40', '26+40=66', '33+66=99']\nMoving to Node #0,1,1,0\nCurrent State: 30:[99], Operations: ['33-19=14', '59+14=73', '26+73=99']\nMoving to Node #0,0,0,0\nCurrent State: 30:[99], Operations: ['26-19=7', '33+7=40', '59+40=99']\nMoving to Node #0,4,4,0\nCurrent State: 30:[99], Operations: ['59-19=40', '33+26=59', '40+59=99']\nMoving to Node #0,0,2,0\nCurrent State: 30:[99], Operations: ['26-19=7', '59+7=66', '33+66=99']\nMoving to Node #0,1,2,0\nCurrent State: 30:[99], Operations: ['33-19=14', '26+14=40', '59+40=99']\nMoving to Node #0,3,4,0\nCurrent State: 30:[182], Operations: ['59-33=26', '26-19=7', '26*7=182']\nMoving to Node #0,4,3,0\nCurrent State: 30:[182], Operations: ['59-19=40', '40-33=7', '26*7=182']\nMoving to Node #0,3,1,0\nCurrent State: 30:[182], Operations: ['59-33=26', '26-19=7', '26*7=182']\nMoving to Node #0,0,4,0\nCurrent State: 30:[182], Operations: ['26-19=7', '59-33=26', '7*26=182']\nMoving to Node #0,4,0,0\nCurrent State: 30:[280], Operations: ['59-19=40', '33-26=7', '40*7=280']\nMoving to Node #0,2,3,0\nCurrent State: 30:[462], Operations: ['59-26=33', '33-19=14', '33*14=462']\nMoving to Node #0,2,2,0\nCurrent State: 30:[462], Operations: ['59-26=33', '33-19=14', '33*14=462']\nMoving to Node #0,4,2,0\nCurrent State: 30:[462], Operations: ['59-19=40', '40-26=14', '33*14=462']\nMoving to Node #0,1,3,0\nCurrent State: 30:[462], Operations: ['33-19=14', '59-26=33', '14*33=462']\nMoving to Node #0,1,4,0\nCurrent State: 30:[708], Operations: ['33-19=14', '26-14=12', '59*12=708']\nMoving to Node #0,3,3,0\nCurrent State: 30:[1170], Operations: ['59-33=26', '19+26=45', '26*45=1170']\nMoving to Node #0,1,0,0\nCurrent State: 30:[1170], Operations: ['33-19=14', '59-14=45', '26*45=1170']\nMoving to Node #0,0,1,0\nCurrent State: 30:[1534], Operations: ['26-19=7', '33-7=26', '59*26=1534']\nMoving to Node #0,2,1,0\nCurrent State: 30:[1716], Operations: ['59-26=33', '19+33=52', '33*52=1716']\nMoving to Node #0,0,3,0\nCurrent State: 30:[1716], Operations: ['26-19=7', '59-7=52', '33*52=1716']\nMoving to Node #0,1,1,0\nCurrent State: 30:[1898], Operations: ['33-19=14', '59+14=73', '26*73=1898']\nMoving to Node #0,0,2,0\nCurrent State: 30:[2178], Operations: ['26-19=7', '59+7=66', '33*66=2178']\nMoving to Node #0,4,1,0\nCurrent State: 30:[2178], Operations: ['59-19=40', '26+40=66', '33*66=2178']\nMoving to Node #0,0,0,0\nCurrent State: 30:[2360], Operations: ['26-19=7', '33+7=40', '59*40=2360']\nMoving to Node #0,4,4,0\nCurrent State: 30:[2360], Operations: ['59-19=40', '33+26=59', '40*59=2360']\nMoving to Node #0,1,2,0\nCurrent State: 30:[2360], Operations: ['33-19=14', '26+14=40', '59*40=2360']\nNo solution found.", "role": "assistant" } ]
[ 42, 88, 81, 85 ]
13
[ "81-42=39", "88-85=3", "39/3=13" ]
Current State: 13:[42, 88, 81, 85], Operations: [] Exploring Operation: 88-81=7, Resulting Numbers: [42, 85, 7] Generated Node #0,0: 13:[42, 85, 7] Operation: 88-81=7 Exploring Operation: 88-85=3, Resulting Numbers: [42, 81, 3] Generated Node #0,1: 13:[42, 81, 3] Operation: 88-85=3 Moving to Node #0,0 Current State: 13:[42, 85, 7], Operations: ['88-81=7'] Exploring Operation: 85-42=43, Resulting Numbers: [7, 43] Generated Node #0,0,0: 13:[7, 43] Operation: 85-42=43 Exploring Operation: 42/7=6, Resulting Numbers: [85, 6] Generated Node #0,0,1: 13:[85, 6] Operation: 42/7=6 Moving to Node #0,1 Current State: 13:[42, 81, 3], Operations: ['88-85=3'] Exploring Operation: 81/3=27, Resulting Numbers: [42, 27] Generated Node #0,1,0: 13:[42, 27] Operation: 81/3=27 Exploring Operation: 81-42=39, Resulting Numbers: [3, 39] Generated Node #0,1,1: 13:[3, 39] Operation: 81-42=39 Moving to Node #0,0,0 Current State: 13:[7, 43], Operations: ['88-81=7', '85-42=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[3, 39], Operations: ['88-85=3', '81-42=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.990451
bfs_2
Current State: 13:[42, 88, 81, 85], Operations: [] Exploring Operation: 81-42=39, Resulting Numbers: [88, 85, 39] Generated Node #2: [88, 85, 39] from Operation: 81-42=39 Current State: 13:[88, 85, 39], Operations: ['81-42=39'] Exploring Operation: 88-85=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 88-85=3 Current State: 13:[39, 3], Operations: ['81-42=39', '88-85=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
mult_heuristic
[ { "content": "Make 13 with the numbers [42, 88, 81, 85] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 13:[42, 88, 81, 85], Operations: []\nExploring Operation: 88-81=7, Resulting Numbers: [42, 85, 7]\nGenerated Node #0,0: 13:[42, 85, 7] Operation: 88-81=7\nExploring Operation: 88-85=3, Resulting Numbers: [42, 81, 3]\nGenerated Node #0,1: 13:[42, 81, 3] Operation: 88-85=3\nMoving to Node #0,0\nCurrent State: 13:[42, 85, 7], Operations: ['88-81=7']\nExploring Operation: 85-42=43, Resulting Numbers: [7, 43]\nGenerated Node #0,0,0: 13:[7, 43] Operation: 85-42=43\nExploring Operation: 42/7=6, Resulting Numbers: [85, 6]\nGenerated Node #0,0,1: 13:[85, 6] Operation: 42/7=6\nMoving to Node #0,1\nCurrent State: 13:[42, 81, 3], Operations: ['88-85=3']\nExploring Operation: 81/3=27, Resulting Numbers: [42, 27]\nGenerated Node #0,1,0: 13:[42, 27] Operation: 81/3=27\nExploring Operation: 81-42=39, Resulting Numbers: [3, 39]\nGenerated Node #0,1,1: 13:[3, 39] Operation: 81-42=39\nMoving to Node #0,0,0\nCurrent State: 13:[7, 43], Operations: ['88-81=7', '85-42=43']\nExploring Operation: 7+43=50, Resulting Numbers: [50]\n50,13 unequal: No Solution\nExploring Operation: 43-7=36, Resulting Numbers: [36]\n36,13 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 13:[3, 39], Operations: ['88-85=3', '81-42=39']\nExploring Operation: 39-3=36, Resulting Numbers: [36]\n36,13 unequal: No Solution\nExploring Operation: 39/3=13, Resulting Numbers: [13]\n13,13 equal: Goal Reached\n", "role": "assistant" } ]
[ 92, 26, 70, 89 ]
93
[ "92-26=66", "70+89=159", "159-66=93" ]
Current State: 93:[92, 26, 70, 89], Operations: [] Exploring Operation: 92+26=118, Resulting Numbers: [70, 89, 118] Generated Node #0,0: 93:[70, 89, 118] Operation: 92+26=118 Exploring Operation: 26+70=96, Resulting Numbers: [92, 89, 96] Generated Node #0,1: 93:[92, 89, 96] Operation: 26+70=96 Exploring Operation: 26+89=115, Resulting Numbers: [92, 70, 115] Generated Node #0,2: 93:[92, 70, 115] Operation: 26+89=115 Moving to Node #0,1 Current State: 93:[92, 89, 96], Operations: ['26+70=96'] Exploring Operation: 92+89=181, Resulting Numbers: [96, 181] Generated Node #0,1,0: 93:[96, 181] Operation: 92+89=181 Exploring Operation: 96-89=7, Resulting Numbers: [92, 7] Generated Node #0,1,1: 93:[92, 7] Operation: 96-89=7 Exploring Operation: 92-89=3, Resulting Numbers: [96, 3] Generated Node #0,1,2: 93:[96, 3] Operation: 92-89=3 Moving to Node #0,2 Current State: 93:[92, 70, 115], Operations: ['26+89=115'] Exploring Operation: 92+70=162, Resulting Numbers: [115, 162] Generated Node #0,2,0: 93:[115, 162] Operation: 92+70=162 Exploring Operation: 92-70=22, Resulting Numbers: [115, 22] Generated Node #0,2,1: 93:[115, 22] Operation: 92-70=22 Exploring Operation: 115-70=45, Resulting Numbers: [92, 45] Generated Node #0,2,2: 93:[92, 45] Operation: 115-70=45 Moving to Node #0,0 Current State: 93:[70, 89, 118], Operations: ['92+26=118'] Exploring Operation: 70+89=159, Resulting Numbers: [118, 159] Generated Node #0,0,0: 93:[118, 159] Operation: 70+89=159 Exploring Operation: 118-89=29, Resulting Numbers: [70, 29] Generated Node #0,0,1: 93:[70, 29] Operation: 118-89=29 Exploring Operation: 118-70=48, Resulting Numbers: [89, 48] Generated Node #0,0,2: 93:[89, 48] Operation: 118-70=48 Moving to Node #0,2,2 Current State: 93:[92, 45], Operations: ['26+89=115', '115-70=45'] Exploring Operation: 92*45=4140, Resulting Numbers: [4140] 4140,93 unequal: No Solution Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 92+45=137, Resulting Numbers: [137] 137,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[89, 48], Operations: ['92+26=118', '118-70=48'] Exploring Operation: 89+48=137, Resulting Numbers: [137] 137,93 unequal: No Solution Exploring Operation: 89*48=4272, Resulting Numbers: [4272] 4272,93 unequal: No Solution Exploring Operation: 89-48=41, Resulting Numbers: [41] 41,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[92, 7], Operations: ['26+70=96', '96-89=7'] Exploring Operation: 92*7=644, Resulting Numbers: [644] 644,93 unequal: No Solution Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,93 unequal: No Solution Moving to Node #0,1,1,0 Current State: 93:[99], Operations: ['26+70=96', '96-89=7', '92+7=99'] Moving to Node #0,1,1,0 Current State: 93:[85], Operations: ['26+70=96', '96-89=7', '92-7=85'] Moving to Node #0,0,1 Current State: 93:[70, 29], Operations: ['92+26=118', '118-89=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,93 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,93 unequal: No Solution Moving to Node #0,0,1,0 Current State: 93:[99], Operations: ['92+26=118', '118-89=29', '70+29=99'] Moving to Node #0,2,2,0 Current State: 93:[137], Operations: ['26+89=115', '115-70=45', '92+45=137'] Moving to Node #0,0,2,0 Current State: 93:[137], Operations: ['92+26=118', '118-70=48', '89+48=137'] Moving to Node #0,0,0 Current State: 93:[118, 159], Operations: ['92+26=118', '70+89=159'] Exploring Operation: 118+159=277, Resulting Numbers: [277] 277,93 unequal: No Solution Exploring Operation: 118*159=18762, Resulting Numbers: [18762] 18762,93 unequal: No Solution Exploring Operation: 159-118=41, Resulting Numbers: [41] 41,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[115, 162], Operations: ['26+89=115', '92+70=162'] Exploring Operation: 115+162=277, Resulting Numbers: [277] 277,93 unequal: No Solution Exploring Operation: 162-115=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 115*162=18630, Resulting Numbers: [18630] 18630,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[96, 181], Operations: ['26+70=96', '92+89=181'] Exploring Operation: 96*181=17376, Resulting Numbers: [17376] 17376,93 unequal: No Solution Exploring Operation: 181-96=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 96+181=277, Resulting Numbers: [277] 277,93 unequal: No Solution Moving to Node #0,1,0,0 Current State: 93:[85], Operations: ['26+70=96', '92+89=181', '181-96=85'] Moving to Node #0,2,0,0 Current State: 93:[47], Operations: ['26+89=115', '92+70=162', '162-115=47'] Moving to Node #0,2,2,0 Current State: 93:[47], Operations: ['26+89=115', '115-70=45', '92-45=47'] Moving to Node #0,2,1 Current State: 93:[115, 22], Operations: ['26+89=115', '92-70=22'] Exploring Operation: 115+22=137, Resulting Numbers: [137] 137,93 unequal: No Solution Exploring Operation: 115-22=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.96875
bfs_3
Current State: 93:[92, 26, 70, 89], Operations: [] Exploring Operation: 92-26=66, Resulting Numbers: [70, 89, 66] Generated Node #2: [70, 89, 66] from Operation: 92-26=66 Current State: 93:[70, 89, 66], Operations: ['92-26=66'] Exploring Operation: 70+89=159, Resulting Numbers: [66, 159] Generated Node #3: [66, 159] from Operation: 70+89=159 Current State: 93:[66, 159], Operations: ['92-26=66', '70+89=159'] Exploring Operation: 159-66=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
sum_heuristic
[ { "content": "Make 93 with the numbers [92, 26, 70, 89] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 93:[92, 26, 70, 89], Operations: []\nExploring Operation: 92+26=118, Resulting Numbers: [70, 89, 118]\nGenerated Node #0,0: 93:[70, 89, 118] Operation: 92+26=118\nExploring Operation: 26+70=96, Resulting Numbers: [92, 89, 96]\nGenerated Node #0,1: 93:[92, 89, 96] Operation: 26+70=96\nExploring Operation: 26+89=115, Resulting Numbers: [92, 70, 115]\nGenerated Node #0,2: 93:[92, 70, 115] Operation: 26+89=115\nMoving to Node #0,1\nCurrent State: 93:[92, 89, 96], Operations: ['26+70=96']\nExploring Operation: 92+89=181, Resulting Numbers: [96, 181]\nGenerated Node #0,1,0: 93:[96, 181] Operation: 92+89=181\nExploring Operation: 96-89=7, Resulting Numbers: [92, 7]\nGenerated Node #0,1,1: 93:[92, 7] Operation: 96-89=7\nExploring Operation: 92-89=3, Resulting Numbers: [96, 3]\nGenerated Node #0,1,2: 93:[96, 3] Operation: 92-89=3\nMoving to Node #0,2\nCurrent State: 93:[92, 70, 115], Operations: ['26+89=115']\nExploring Operation: 92+70=162, Resulting Numbers: [115, 162]\nGenerated Node #0,2,0: 93:[115, 162] Operation: 92+70=162\nExploring Operation: 92-70=22, Resulting Numbers: [115, 22]\nGenerated Node #0,2,1: 93:[115, 22] Operation: 92-70=22\nExploring Operation: 115-70=45, Resulting Numbers: [92, 45]\nGenerated Node #0,2,2: 93:[92, 45] Operation: 115-70=45\nMoving to Node #0,0\nCurrent State: 93:[70, 89, 118], Operations: ['92+26=118']\nExploring Operation: 70+89=159, Resulting Numbers: [118, 159]\nGenerated Node #0,0,0: 93:[118, 159] Operation: 70+89=159\nExploring Operation: 118-89=29, Resulting Numbers: [70, 29]\nGenerated Node #0,0,1: 93:[70, 29] Operation: 118-89=29\nExploring Operation: 118-70=48, Resulting Numbers: [89, 48]\nGenerated Node #0,0,2: 93:[89, 48] Operation: 118-70=48\nMoving to Node #0,2,2\nCurrent State: 93:[92, 45], Operations: ['26+89=115', '115-70=45']\nExploring Operation: 92*45=4140, Resulting Numbers: [4140]\n4140,93 unequal: No Solution\nExploring Operation: 92-45=47, Resulting Numbers: [47]\n47,93 unequal: No Solution\nExploring Operation: 92+45=137, Resulting Numbers: [137]\n137,93 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 93:[89, 48], Operations: ['92+26=118', '118-70=48']\nExploring Operation: 89+48=137, Resulting Numbers: [137]\n137,93 unequal: No Solution\nExploring Operation: 89*48=4272, Resulting Numbers: [4272]\n4272,93 unequal: No Solution\nExploring Operation: 89-48=41, Resulting Numbers: [41]\n41,93 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 93:[92, 7], Operations: ['26+70=96', '96-89=7']\nExploring Operation: 92*7=644, Resulting Numbers: [644]\n644,93 unequal: No Solution\nExploring Operation: 92+7=99, Resulting Numbers: [99]\n99,93 unequal: No Solution\nExploring Operation: 92-7=85, Resulting Numbers: [85]\n85,93 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 93:[99], Operations: ['26+70=96', '96-89=7', '92+7=99']\nMoving to Node #0,1,1,0\nCurrent State: 93:[85], Operations: ['26+70=96', '96-89=7', '92-7=85']\nMoving to Node #0,0,1\nCurrent State: 93:[70, 29], Operations: ['92+26=118', '118-89=29']\nExploring Operation: 70+29=99, Resulting Numbers: [99]\n99,93 unequal: No Solution\nExploring Operation: 70*29=2030, Resulting Numbers: [2030]\n2030,93 unequal: No Solution\nExploring Operation: 70-29=41, Resulting Numbers: [41]\n41,93 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 93:[99], Operations: ['92+26=118', '118-89=29', '70+29=99']\nMoving to Node #0,2,2,0\nCurrent State: 93:[137], Operations: ['26+89=115', '115-70=45', '92+45=137']\nMoving to Node #0,0,2,0\nCurrent State: 93:[137], Operations: ['92+26=118', '118-70=48', '89+48=137']\nMoving to Node #0,0,0\nCurrent State: 93:[118, 159], Operations: ['92+26=118', '70+89=159']\nExploring Operation: 118+159=277, Resulting Numbers: [277]\n277,93 unequal: No Solution\nExploring Operation: 118*159=18762, Resulting Numbers: [18762]\n18762,93 unequal: No Solution\nExploring Operation: 159-118=41, Resulting Numbers: [41]\n41,93 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 93:[115, 162], Operations: ['26+89=115', '92+70=162']\nExploring Operation: 115+162=277, Resulting Numbers: [277]\n277,93 unequal: No Solution\nExploring Operation: 162-115=47, Resulting Numbers: [47]\n47,93 unequal: No Solution\nExploring Operation: 115*162=18630, Resulting Numbers: [18630]\n18630,93 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 93:[96, 181], Operations: ['26+70=96', '92+89=181']\nExploring Operation: 96*181=17376, Resulting Numbers: [17376]\n17376,93 unequal: No Solution\nExploring Operation: 181-96=85, Resulting Numbers: [85]\n85,93 unequal: No Solution\nExploring Operation: 96+181=277, Resulting Numbers: [277]\n277,93 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 93:[85], Operations: ['26+70=96', '92+89=181', '181-96=85']\nMoving to Node #0,2,0,0\nCurrent State: 93:[47], Operations: ['26+89=115', '92+70=162', '162-115=47']\nMoving to Node #0,2,2,0\nCurrent State: 93:[47], Operations: ['26+89=115', '115-70=45', '92-45=47']\nMoving to Node #0,2,1\nCurrent State: 93:[115, 22], Operations: ['26+89=115', '92-70=22']\nExploring Operation: 115+22=137, Resulting Numbers: [137]\n137,93 unequal: No Solution\nExploring Operation: 115-22=93, Resulting Numbers: [93]\n93,93 equal: Goal Reached\n", "role": "assistant" } ]
[ 59, 26, 72, 32 ]
72
[ "59-26=33", "33-32=1", "72*1=72" ]
Current State: 72:[59, 26, 72, 32], Operations: [] Exploring Operation: 26+32=58, Resulting Numbers: [59, 72, 58] Generated Node #0,0: 72:[59, 72, 58] Operation: 26+32=58 Moving to Node #0,0 Current State: 72:[59, 72, 58], Operations: ['26+32=58'] Exploring Operation: 59+58=117, Resulting Numbers: [72, 117] Generated Node #0,0,0: 72:[72, 117] Operation: 59+58=117 Moving to Node #0,0,0 Current State: 72:[72, 117], Operations: ['26+32=58', '59+58=117'] Exploring Operation: 117-72=45, Resulting Numbers: [45] 45,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[59, 72, 58], Operations: ['26+32=58'] Exploring Operation: 59-58=1, Resulting Numbers: [72, 1] Generated Node #0,0,1: 72:[72, 1] Operation: 59-58=1 Moving to Node #0,0,1 Current State: 72:[72, 1], Operations: ['26+32=58', '59-58=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.994792
dfs
Current State: 72:[59, 26, 72, 32], Operations: [] Exploring Operation: 59-26=33, Resulting Numbers: [72, 32, 33] Generated Node #2: [72, 32, 33] from Operation: 59-26=33 Current State: 72:[72, 32, 33], Operations: ['59-26=33'] Exploring Operation: 33-32=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 33-32=1 Current State: 72:[72, 1], Operations: ['59-26=33', '33-32=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
sum_heuristic
[ { "content": "Make 72 with the numbers [59, 26, 72, 32] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 72:[59, 26, 72, 32], Operations: []\nExploring Operation: 26+32=58, Resulting Numbers: [59, 72, 58]\nGenerated Node #0,0: 72:[59, 72, 58] Operation: 26+32=58\nMoving to Node #0,0\nCurrent State: 72:[59, 72, 58], Operations: ['26+32=58']\nExploring Operation: 59+58=117, Resulting Numbers: [72, 117]\nGenerated Node #0,0,0: 72:[72, 117] Operation: 59+58=117\nMoving to Node #0,0,0\nCurrent State: 72:[72, 117], Operations: ['26+32=58', '59+58=117']\nExploring Operation: 117-72=45, Resulting Numbers: [45]\n45,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[59, 72, 58], Operations: ['26+32=58']\nExploring Operation: 59-58=1, Resulting Numbers: [72, 1]\nGenerated Node #0,0,1: 72:[72, 1] Operation: 59-58=1\nMoving to Node #0,0,1\nCurrent State: 72:[72, 1], Operations: ['26+32=58', '59-58=1']\nExploring Operation: 72*1=72, Resulting Numbers: [72]\n72,72 equal: Goal Reached\n", "role": "assistant" } ]
[ 68, 60, 18, 2 ]
85
[ "68-18=50", "50/2=25", "60+25=85" ]
Current State: 85:[68, 60, 18, 2], Operations: [] Exploring Operation: 68+2=70, Resulting Numbers: [60, 18, 70] Generated Node #0,0: 85:[60, 18, 70] Operation: 68+2=70 Exploring Operation: 60+2=62, Resulting Numbers: [68, 18, 62] Generated Node #0,1: 85:[68, 18, 62] Operation: 60+2=62 Exploring Operation: 60+18=78, Resulting Numbers: [68, 2, 78] Generated Node #0,2: 85:[68, 2, 78] Operation: 60+18=78 Exploring Operation: 18*2=36, Resulting Numbers: [68, 60, 36] Generated Node #0,3: 85:[68, 60, 36] Operation: 18*2=36 Moving to Node #0,3 Current State: 85:[68, 60, 36], Operations: ['18*2=36'] Exploring Operation: 60-36=24, Resulting Numbers: [68, 24] Generated Node #0,3,0: 85:[68, 24] Operation: 60-36=24 Exploring Operation: 68+36=104, Resulting Numbers: [60, 104] Generated Node #0,3,1: 85:[60, 104] Operation: 68+36=104 Exploring Operation: 68-36=32, Resulting Numbers: [60, 32] Generated Node #0,3,2: 85:[60, 32] Operation: 68-36=32 Exploring Operation: 60+36=96, Resulting Numbers: [68, 96] Generated Node #0,3,3: 85:[68, 96] Operation: 60+36=96 Moving to Node #0,1 Current State: 85:[68, 18, 62], Operations: ['60+2=62'] Exploring Operation: 68-18=50, Resulting Numbers: [62, 50] Generated Node #0,1,0: 85:[62, 50] Operation: 68-18=50 Exploring Operation: 62-18=44, Resulting Numbers: [68, 44] Generated Node #0,1,1: 85:[68, 44] Operation: 62-18=44 Exploring Operation: 18+62=80, Resulting Numbers: [68, 80] Generated Node #0,1,2: 85:[68, 80] Operation: 18+62=80 Exploring Operation: 68+18=86, Resulting Numbers: [62, 86] Generated Node #0,1,3: 85:[62, 86] Operation: 68+18=86 Moving to Node #0,0 Current State: 85:[60, 18, 70], Operations: ['68+2=70'] Exploring Operation: 60+18=78, Resulting Numbers: [70, 78] Generated Node #0,0,0: 85:[70, 78] Operation: 60+18=78 Exploring Operation: 70-18=52, Resulting Numbers: [60, 52] Generated Node #0,0,1: 85:[60, 52] Operation: 70-18=52 Exploring Operation: 18+70=88, Resulting Numbers: [60, 88] Generated Node #0,0,2: 85:[60, 88] Operation: 18+70=88 Exploring Operation: 60-18=42, Resulting Numbers: [70, 42] Generated Node #0,0,3: 85:[70, 42] Operation: 60-18=42 Moving to Node #0,2 Current State: 85:[68, 2, 78], Operations: ['60+18=78'] Exploring Operation: 68-2=66, Resulting Numbers: [78, 66] Generated Node #0,2,0: 85:[78, 66] Operation: 68-2=66 Exploring Operation: 2+78=80, Resulting Numbers: [68, 80] Generated Node #0,2,1: 85:[68, 80] Operation: 2+78=80 Exploring Operation: 68+2=70, Resulting Numbers: [78, 70] Generated Node #0,2,2: 85:[78, 70] Operation: 68+2=70 Exploring Operation: 78-2=76, Resulting Numbers: [68, 76] Generated Node #0,2,3: 85:[68, 76] Operation: 78-2=76 Moving to Node #0,1,2 Current State: 85:[68, 80], Operations: ['60+2=62', '18+62=80'] Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 68*80=5440, Resulting Numbers: [5440] 5440,85 unequal: No Solution Exploring Operation: 68+80=148, Resulting Numbers: [148] 148,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[68, 80], Operations: ['60+18=78', '2+78=80'] Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 68+80=148, Resulting Numbers: [148] 148,85 unequal: No Solution Exploring Operation: 68*80=5440, Resulting Numbers: [5440] 5440,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[78, 70], Operations: ['60+18=78', '68+2=70'] Exploring Operation: 78+70=148, Resulting Numbers: [148] 148,85 unequal: No Solution Exploring Operation: 78*70=5460, Resulting Numbers: [5460] 5460,85 unequal: No Solution Exploring Operation: 78-70=8, Resulting Numbers: [8] 8,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[70, 78], Operations: ['68+2=70', '60+18=78'] Exploring Operation: 78-70=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 70*78=5460, Resulting Numbers: [5460] 5460,85 unequal: No Solution Exploring Operation: 70+78=148, Resulting Numbers: [148] 148,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[62, 86], Operations: ['60+2=62', '68+18=86'] Exploring Operation: 62+86=148, Resulting Numbers: [148] 148,85 unequal: No Solution Exploring Operation: 86-62=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 62*86=5332, Resulting Numbers: [5332] 5332,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[78, 66], Operations: ['60+18=78', '68-2=66'] Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 78+66=144, Resulting Numbers: [144] 144,85 unequal: No Solution Exploring Operation: 78*66=5148, Resulting Numbers: [5148] 5148,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[68, 76], Operations: ['60+18=78', '78-2=76'] Exploring Operation: 68+76=144, Resulting Numbers: [144] 144,85 unequal: No Solution Exploring Operation: 76-68=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 68*76=5168, Resulting Numbers: [5168] 5168,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[60, 88], Operations: ['68+2=70', '18+70=88'] Exploring Operation: 60*88=5280, Resulting Numbers: [5280] 5280,85 unequal: No Solution Exploring Operation: 60+88=148, Resulting Numbers: [148] 148,85 unequal: No Solution Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[68, 96], Operations: ['18*2=36', '60+36=96'] Exploring Operation: 68*96=6528, Resulting Numbers: [6528] 6528,85 unequal: No Solution Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 68+96=164, Resulting Numbers: [164] 164,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[60, 104], Operations: ['18*2=36', '68+36=104'] Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,85 unequal: No Solution Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,85 unequal: No Solution Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[70, 42], Operations: ['68+2=70', '60-18=42'] Exploring Operation: 70+42=112, Resulting Numbers: [112] 112,85 unequal: No Solution Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 70*42=2940, Resulting Numbers: [2940] 2940,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[60, 52], Operations: ['68+2=70', '70-18=52'] Exploring Operation: 60*52=3120, Resulting Numbers: [3120] 3120,85 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,85 unequal: No Solution Moving to Node #0,0,3,0 Current State: 85:[112], Operations: ['68+2=70', '60-18=42', '70+42=112'] Moving to Node #0,0,1,0 Current State: 85:[112], Operations: ['68+2=70', '70-18=52', '60+52=112'] Moving to Node #0,1,1 Current State: 85:[68, 44], Operations: ['60+2=62', '62-18=44'] Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,85 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[62, 50], Operations: ['60+2=62', '68-18=50'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 62+50=112, Resulting Numbers: [112] 112,85 unequal: No Solution Exploring Operation: 62*50=3100, Resulting Numbers: [3100] 3100,85 unequal: No Solution Moving to Node #0,1,1,0 Current State: 85:[112], Operations: ['60+2=62', '62-18=44', '68+44=112'] Moving to Node #0,1,0,0 Current State: 85:[112], Operations: ['60+2=62', '68-18=50', '62+50=112'] Moving to Node #0,3,0 Current State: 85:[68, 24], Operations: ['18*2=36', '60-36=24'] Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,85 unequal: No Solution Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,85 unequal: No Solution Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[60, 32], Operations: ['18*2=36', '68-36=32'] Exploring Operation: 60+32=92, Resulting Numbers: [92] 92,85 unequal: No Solution Exploring Operation: 60*32=1920, Resulting Numbers: [1920] 1920,85 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,85 unequal: No Solution Moving to Node #0,3,0,0 Current State: 85:[92], Operations: ['18*2=36', '60-36=24', '68+24=92'] Moving to Node #0,3,2,0 Current State: 85:[92], Operations: ['18*2=36', '68-36=32', '60+32=92'] Moving to Node #0,3,1,0 Current State: 85:[44], Operations: ['18*2=36', '68+36=104', '104-60=44'] Moving to Node #0,3,0,0 Current State: 85:[44], Operations: ['18*2=36', '60-36=24', '68-24=44'] Moving to Node #0,0,2,0 Current State: 85:[28], Operations: ['68+2=70', '18+70=88', '88-60=28'] Moving to Node #0,3,3,0 Current State: 85:[28], Operations: ['18*2=36', '60+36=96', '96-68=28'] Moving to Node #0,3,2,0 Current State: 85:[28], Operations: ['18*2=36', '68-36=32', '60-32=28'] Moving to Node #0,0,3,0 Current State: 85:[28], Operations: ['68+2=70', '60-18=42', '70-42=28'] Moving to Node #0,2,3,0 Current State: 85:[144], Operations: ['60+18=78', '78-2=76', '68+76=144'] Moving to Node #0,2,0,0 Current State: 85:[144], Operations: ['60+18=78', '68-2=66', '78+66=144'] Moving to Node #0,1,3,0 Current State: 85:[24], Operations: ['60+2=62', '68+18=86', '86-62=24'] Moving to Node #0,1,1,0 Current State: 85:[24], Operations: ['60+2=62', '62-18=44', '68-44=24'] Moving to Node #0,0,2,0 Current State: 85:[148], Operations: ['68+2=70', '18+70=88', '60+88=148'] Moving to Node #0,1,2,0 Current State: 85:[148], Operations: ['60+2=62', '18+62=80', '68+80=148'] Moving to Node #0,1,3,0 Current State: 85:[148], Operations: ['60+2=62', '68+18=86', '62+86=148'] Moving to Node #0,0,0,0 Current State: 85:[148], Operations: ['68+2=70', '60+18=78', '70+78=148'] Moving to Node #0,2,2,0 Current State: 85:[148], Operations: ['60+18=78', '68+2=70', '78+70=148'] Moving to Node #0,2,1,0 Current State: 85:[148], Operations: ['60+18=78', '2+78=80', '68+80=148'] Moving to Node #0,1,2,0 Current State: 85:[12], Operations: ['60+2=62', '18+62=80', '80-68=12'] Moving to Node #0,2,0,0 Current State: 85:[12], Operations: ['60+18=78', '68-2=66', '78-66=12'] Moving to Node #0,1,0,0 Current State: 85:[12], Operations: ['60+2=62', '68-18=50', '62-50=12'] Moving to Node #0,2,1,0 Current State: 85:[12], Operations: ['60+18=78', '2+78=80', '80-68=12'] Moving to Node #0,2,3,0 Current State: 85:[8], Operations: ['60+18=78', '78-2=76', '76-68=8'] Moving to Node #0,0,1,0 Current State: 85:[8], Operations: ['68+2=70', '70-18=52', '60-52=8'] Moving to Node #0,2,2,0 Current State: 85:[8], Operations: ['60+18=78', '68+2=70', '78-70=8'] Moving to Node #0,0,0,0 Current State: 85:[8], Operations: ['68+2=70', '60+18=78', '78-70=8'] Moving to Node #0,3,3,0 Current State: 85:[164], Operations: ['18*2=36', '60+36=96', '68+96=164'] Moving to Node #0,3,1,0 Current State: 85:[164], Operations: ['18*2=36', '68+36=104', '60+104=164'] Moving to Node #0,3,0,0 Current State: 85:[1632], Operations: ['18*2=36', '60-36=24', '68*24=1632'] Moving to Node #0,3,2,0 Current State: 85:[1920], Operations: ['18*2=36', '68-36=32', '60*32=1920'] Moving to Node #0,0,3,0 Current State: 85:[2940], Operations: ['68+2=70', '60-18=42', '70*42=2940'] Moving to Node #0,1,1,0 Current State: 85:[2992], Operations: ['60+2=62', '62-18=44', '68*44=2992'] Moving to Node #0,1,0,0 Current State: 85:[3100], Operations: ['60+2=62', '68-18=50', '62*50=3100'] Moving to Node #0,0,1,0 Current State: 85:[3120], Operations: ['68+2=70', '70-18=52', '60*52=3120'] Moving to Node #0,2,0,0 Current State: 85:[5148], Operations: ['60+18=78', '68-2=66', '78*66=5148'] Moving to Node #0,2,3,0 Current State: 85:[5168], Operations: ['60+18=78', '78-2=76', '68*76=5168'] Moving to Node #0,0,2,0 Current State: 85:[5280], Operations: ['68+2=70', '18+70=88', '60*88=5280'] Moving to Node #0,1,3,0 Current State: 85:[5332], Operations: ['60+2=62', '68+18=86', '62*86=5332'] Moving to Node #0,2,1,0 Current State: 85:[5440], Operations: ['60+18=78', '2+78=80', '68*80=5440'] Moving to Node #0,1,2,0 Current State: 85:[5440], Operations: ['60+2=62', '18+62=80', '68*80=5440'] Moving to Node #0,0,0,0 Current State: 85:[5460], Operations: ['68+2=70', '60+18=78', '70*78=5460'] Moving to Node #0,2,2,0 Current State: 85:[5460], Operations: ['60+18=78', '68+2=70', '78*70=5460'] Moving to Node #0,3,1,0 Current State: 85:[6240], Operations: ['18*2=36', '68+36=104', '60*104=6240'] Moving to Node #0,3,3,0 Current State: 85:[6528], Operations: ['18*2=36', '60+36=96', '68*96=6528'] No solution found.
0
bfs_4
Current State: 85:[68, 60, 18, 2], Operations: [] Exploring Operation: 68-18=50, Resulting Numbers: [60, 2, 50] Generated Node #2: [60, 2, 50] from Operation: 68-18=50 Current State: 85:[60, 2, 50], Operations: ['68-18=50'] Exploring Operation: 50/2=25, Resulting Numbers: [60, 25] Generated Node #3: [60, 25] from Operation: 50/2=25 Current State: 85:[60, 25], Operations: ['68-18=50', '50/2=25'] Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
sum_heuristic
[ { "content": "Make 85 with the numbers [68, 60, 18, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 85:[68, 60, 18, 2], Operations: []\nExploring Operation: 68+2=70, Resulting Numbers: [60, 18, 70]\nGenerated Node #0,0: 85:[60, 18, 70] Operation: 68+2=70\nExploring Operation: 60+2=62, Resulting Numbers: [68, 18, 62]\nGenerated Node #0,1: 85:[68, 18, 62] Operation: 60+2=62\nExploring Operation: 60+18=78, Resulting Numbers: [68, 2, 78]\nGenerated Node #0,2: 85:[68, 2, 78] Operation: 60+18=78\nExploring Operation: 18*2=36, Resulting Numbers: [68, 60, 36]\nGenerated Node #0,3: 85:[68, 60, 36] Operation: 18*2=36\nMoving to Node #0,3\nCurrent State: 85:[68, 60, 36], Operations: ['18*2=36']\nExploring Operation: 60-36=24, Resulting Numbers: [68, 24]\nGenerated Node #0,3,0: 85:[68, 24] Operation: 60-36=24\nExploring Operation: 68+36=104, Resulting Numbers: [60, 104]\nGenerated Node #0,3,1: 85:[60, 104] Operation: 68+36=104\nExploring Operation: 68-36=32, Resulting Numbers: [60, 32]\nGenerated Node #0,3,2: 85:[60, 32] Operation: 68-36=32\nExploring Operation: 60+36=96, Resulting Numbers: [68, 96]\nGenerated Node #0,3,3: 85:[68, 96] Operation: 60+36=96\nMoving to Node #0,1\nCurrent State: 85:[68, 18, 62], Operations: ['60+2=62']\nExploring Operation: 68-18=50, Resulting Numbers: [62, 50]\nGenerated Node #0,1,0: 85:[62, 50] Operation: 68-18=50\nExploring Operation: 62-18=44, Resulting Numbers: [68, 44]\nGenerated Node #0,1,1: 85:[68, 44] Operation: 62-18=44\nExploring Operation: 18+62=80, Resulting Numbers: [68, 80]\nGenerated Node #0,1,2: 85:[68, 80] Operation: 18+62=80\nExploring Operation: 68+18=86, Resulting Numbers: [62, 86]\nGenerated Node #0,1,3: 85:[62, 86] Operation: 68+18=86\nMoving to Node #0,0\nCurrent State: 85:[60, 18, 70], Operations: ['68+2=70']\nExploring Operation: 60+18=78, Resulting Numbers: [70, 78]\nGenerated Node #0,0,0: 85:[70, 78] Operation: 60+18=78\nExploring Operation: 70-18=52, Resulting Numbers: [60, 52]\nGenerated Node #0,0,1: 85:[60, 52] Operation: 70-18=52\nExploring Operation: 18+70=88, Resulting Numbers: [60, 88]\nGenerated Node #0,0,2: 85:[60, 88] Operation: 18+70=88\nExploring Operation: 60-18=42, Resulting Numbers: [70, 42]\nGenerated Node #0,0,3: 85:[70, 42] Operation: 60-18=42\nMoving to Node #0,2\nCurrent State: 85:[68, 2, 78], Operations: ['60+18=78']\nExploring Operation: 68-2=66, Resulting Numbers: [78, 66]\nGenerated Node #0,2,0: 85:[78, 66] Operation: 68-2=66\nExploring Operation: 2+78=80, Resulting Numbers: [68, 80]\nGenerated Node #0,2,1: 85:[68, 80] Operation: 2+78=80\nExploring Operation: 68+2=70, Resulting Numbers: [78, 70]\nGenerated Node #0,2,2: 85:[78, 70] Operation: 68+2=70\nExploring Operation: 78-2=76, Resulting Numbers: [68, 76]\nGenerated Node #0,2,3: 85:[68, 76] Operation: 78-2=76\nMoving to Node #0,1,2\nCurrent State: 85:[68, 80], Operations: ['60+2=62', '18+62=80']\nExploring Operation: 80-68=12, Resulting Numbers: [12]\n12,85 unequal: No Solution\nExploring Operation: 68*80=5440, Resulting Numbers: [5440]\n5440,85 unequal: No Solution\nExploring Operation: 68+80=148, Resulting Numbers: [148]\n148,85 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 85:[68, 80], Operations: ['60+18=78', '2+78=80']\nExploring Operation: 80-68=12, Resulting Numbers: [12]\n12,85 unequal: No Solution\nExploring Operation: 68+80=148, Resulting Numbers: [148]\n148,85 unequal: No Solution\nExploring Operation: 68*80=5440, Resulting Numbers: [5440]\n5440,85 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 85:[78, 70], Operations: ['60+18=78', '68+2=70']\nExploring Operation: 78+70=148, Resulting Numbers: [148]\n148,85 unequal: No Solution\nExploring Operation: 78*70=5460, Resulting Numbers: [5460]\n5460,85 unequal: No Solution\nExploring Operation: 78-70=8, Resulting Numbers: [8]\n8,85 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 85:[70, 78], Operations: ['68+2=70', '60+18=78']\nExploring Operation: 78-70=8, Resulting Numbers: [8]\n8,85 unequal: No Solution\nExploring Operation: 70*78=5460, Resulting Numbers: [5460]\n5460,85 unequal: No Solution\nExploring Operation: 70+78=148, Resulting Numbers: [148]\n148,85 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 85:[62, 86], Operations: ['60+2=62', '68+18=86']\nExploring Operation: 62+86=148, Resulting Numbers: [148]\n148,85 unequal: No Solution\nExploring Operation: 86-62=24, Resulting Numbers: [24]\n24,85 unequal: No Solution\nExploring Operation: 62*86=5332, Resulting Numbers: [5332]\n5332,85 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 85:[78, 66], Operations: ['60+18=78', '68-2=66']\nExploring Operation: 78-66=12, Resulting Numbers: [12]\n12,85 unequal: No Solution\nExploring Operation: 78+66=144, Resulting Numbers: [144]\n144,85 unequal: No Solution\nExploring Operation: 78*66=5148, Resulting Numbers: [5148]\n5148,85 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 85:[68, 76], Operations: ['60+18=78', '78-2=76']\nExploring Operation: 68+76=144, Resulting Numbers: [144]\n144,85 unequal: No Solution\nExploring Operation: 76-68=8, Resulting Numbers: [8]\n8,85 unequal: No Solution\nExploring Operation: 68*76=5168, Resulting Numbers: [5168]\n5168,85 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 85:[60, 88], Operations: ['68+2=70', '18+70=88']\nExploring Operation: 60*88=5280, Resulting Numbers: [5280]\n5280,85 unequal: No Solution\nExploring Operation: 60+88=148, Resulting Numbers: [148]\n148,85 unequal: No Solution\nExploring Operation: 88-60=28, Resulting Numbers: [28]\n28,85 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 85:[68, 96], Operations: ['18*2=36', '60+36=96']\nExploring Operation: 68*96=6528, Resulting Numbers: [6528]\n6528,85 unequal: No Solution\nExploring Operation: 96-68=28, Resulting Numbers: [28]\n28,85 unequal: No Solution\nExploring Operation: 68+96=164, Resulting Numbers: [164]\n164,85 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 85:[60, 104], Operations: ['18*2=36', '68+36=104']\nExploring Operation: 60*104=6240, Resulting Numbers: [6240]\n6240,85 unequal: No Solution\nExploring Operation: 60+104=164, Resulting Numbers: [164]\n164,85 unequal: No Solution\nExploring Operation: 104-60=44, Resulting Numbers: [44]\n44,85 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 85:[70, 42], Operations: ['68+2=70', '60-18=42']\nExploring Operation: 70+42=112, Resulting Numbers: [112]\n112,85 unequal: No Solution\nExploring Operation: 70-42=28, Resulting Numbers: [28]\n28,85 unequal: No Solution\nExploring Operation: 70*42=2940, Resulting Numbers: [2940]\n2940,85 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 85:[60, 52], Operations: ['68+2=70', '70-18=52']\nExploring Operation: 60*52=3120, Resulting Numbers: [3120]\n3120,85 unequal: No Solution\nExploring Operation: 60-52=8, Resulting Numbers: [8]\n8,85 unequal: No Solution\nExploring Operation: 60+52=112, Resulting Numbers: [112]\n112,85 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 85:[112], Operations: ['68+2=70', '60-18=42', '70+42=112']\nMoving to Node #0,0,1,0\nCurrent State: 85:[112], Operations: ['68+2=70', '70-18=52', '60+52=112']\nMoving to Node #0,1,1\nCurrent State: 85:[68, 44], Operations: ['60+2=62', '62-18=44']\nExploring Operation: 68+44=112, Resulting Numbers: [112]\n112,85 unequal: No Solution\nExploring Operation: 68-44=24, Resulting Numbers: [24]\n24,85 unequal: No Solution\nExploring Operation: 68*44=2992, Resulting Numbers: [2992]\n2992,85 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 85:[62, 50], Operations: ['60+2=62', '68-18=50']\nExploring Operation: 62-50=12, Resulting Numbers: [12]\n12,85 unequal: No Solution\nExploring Operation: 62+50=112, Resulting Numbers: [112]\n112,85 unequal: No Solution\nExploring Operation: 62*50=3100, Resulting Numbers: [3100]\n3100,85 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 85:[112], Operations: ['60+2=62', '62-18=44', '68+44=112']\nMoving to Node #0,1,0,0\nCurrent State: 85:[112], Operations: ['60+2=62', '68-18=50', '62+50=112']\nMoving to Node #0,3,0\nCurrent State: 85:[68, 24], Operations: ['18*2=36', '60-36=24']\nExploring Operation: 68-24=44, Resulting Numbers: [44]\n44,85 unequal: No Solution\nExploring Operation: 68+24=92, Resulting Numbers: [92]\n92,85 unequal: No Solution\nExploring Operation: 68*24=1632, Resulting Numbers: [1632]\n1632,85 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 85:[60, 32], Operations: ['18*2=36', '68-36=32']\nExploring Operation: 60+32=92, Resulting Numbers: [92]\n92,85 unequal: No Solution\nExploring Operation: 60*32=1920, Resulting Numbers: [1920]\n1920,85 unequal: No Solution\nExploring Operation: 60-32=28, Resulting Numbers: [28]\n28,85 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 85:[92], Operations: ['18*2=36', '60-36=24', '68+24=92']\nMoving to Node #0,3,2,0\nCurrent State: 85:[92], Operations: ['18*2=36', '68-36=32', '60+32=92']\nMoving to Node #0,3,1,0\nCurrent State: 85:[44], Operations: ['18*2=36', '68+36=104', '104-60=44']\nMoving to Node #0,3,0,0\nCurrent State: 85:[44], Operations: ['18*2=36', '60-36=24', '68-24=44']\nMoving to Node #0,0,2,0\nCurrent State: 85:[28], Operations: ['68+2=70', '18+70=88', '88-60=28']\nMoving to Node #0,3,3,0\nCurrent State: 85:[28], Operations: ['18*2=36', '60+36=96', '96-68=28']\nMoving to Node #0,3,2,0\nCurrent State: 85:[28], Operations: ['18*2=36', '68-36=32', '60-32=28']\nMoving to Node #0,0,3,0\nCurrent State: 85:[28], Operations: ['68+2=70', '60-18=42', '70-42=28']\nMoving to Node #0,2,3,0\nCurrent State: 85:[144], Operations: ['60+18=78', '78-2=76', '68+76=144']\nMoving to Node #0,2,0,0\nCurrent State: 85:[144], Operations: ['60+18=78', '68-2=66', '78+66=144']\nMoving to Node #0,1,3,0\nCurrent State: 85:[24], Operations: ['60+2=62', '68+18=86', '86-62=24']\nMoving to Node #0,1,1,0\nCurrent State: 85:[24], Operations: ['60+2=62', '62-18=44', '68-44=24']\nMoving to Node #0,0,2,0\nCurrent State: 85:[148], Operations: ['68+2=70', '18+70=88', '60+88=148']\nMoving to Node #0,1,2,0\nCurrent State: 85:[148], Operations: ['60+2=62', '18+62=80', '68+80=148']\nMoving to Node #0,1,3,0\nCurrent State: 85:[148], Operations: ['60+2=62', '68+18=86', '62+86=148']\nMoving to Node #0,0,0,0\nCurrent State: 85:[148], Operations: ['68+2=70', '60+18=78', '70+78=148']\nMoving to Node #0,2,2,0\nCurrent State: 85:[148], Operations: ['60+18=78', '68+2=70', '78+70=148']\nMoving to Node #0,2,1,0\nCurrent State: 85:[148], Operations: ['60+18=78', '2+78=80', '68+80=148']\nMoving to Node #0,1,2,0\nCurrent State: 85:[12], Operations: ['60+2=62', '18+62=80', '80-68=12']\nMoving to Node #0,2,0,0\nCurrent State: 85:[12], Operations: ['60+18=78', '68-2=66', '78-66=12']\nMoving to Node #0,1,0,0\nCurrent State: 85:[12], Operations: ['60+2=62', '68-18=50', '62-50=12']\nMoving to Node #0,2,1,0\nCurrent State: 85:[12], Operations: ['60+18=78', '2+78=80', '80-68=12']\nMoving to Node #0,2,3,0\nCurrent State: 85:[8], Operations: ['60+18=78', '78-2=76', '76-68=8']\nMoving to Node #0,0,1,0\nCurrent State: 85:[8], Operations: ['68+2=70', '70-18=52', '60-52=8']\nMoving to Node #0,2,2,0\nCurrent State: 85:[8], Operations: ['60+18=78', '68+2=70', '78-70=8']\nMoving to Node #0,0,0,0\nCurrent State: 85:[8], Operations: ['68+2=70', '60+18=78', '78-70=8']\nMoving to Node #0,3,3,0\nCurrent State: 85:[164], Operations: ['18*2=36', '60+36=96', '68+96=164']\nMoving to Node #0,3,1,0\nCurrent State: 85:[164], Operations: ['18*2=36', '68+36=104', '60+104=164']\nMoving to Node #0,3,0,0\nCurrent State: 85:[1632], Operations: ['18*2=36', '60-36=24', '68*24=1632']\nMoving to Node #0,3,2,0\nCurrent State: 85:[1920], Operations: ['18*2=36', '68-36=32', '60*32=1920']\nMoving to Node #0,0,3,0\nCurrent State: 85:[2940], Operations: ['68+2=70', '60-18=42', '70*42=2940']\nMoving to Node #0,1,1,0\nCurrent State: 85:[2992], Operations: ['60+2=62', '62-18=44', '68*44=2992']\nMoving to Node #0,1,0,0\nCurrent State: 85:[3100], Operations: ['60+2=62', '68-18=50', '62*50=3100']\nMoving to Node #0,0,1,0\nCurrent State: 85:[3120], Operations: ['68+2=70', '70-18=52', '60*52=3120']\nMoving to Node #0,2,0,0\nCurrent State: 85:[5148], Operations: ['60+18=78', '68-2=66', '78*66=5148']\nMoving to Node #0,2,3,0\nCurrent State: 85:[5168], Operations: ['60+18=78', '78-2=76', '68*76=5168']\nMoving to Node #0,0,2,0\nCurrent State: 85:[5280], Operations: ['68+2=70', '18+70=88', '60*88=5280']\nMoving to Node #0,1,3,0\nCurrent State: 85:[5332], Operations: ['60+2=62', '68+18=86', '62*86=5332']\nMoving to Node #0,2,1,0\nCurrent State: 85:[5440], Operations: ['60+18=78', '2+78=80', '68*80=5440']\nMoving to Node #0,1,2,0\nCurrent State: 85:[5440], Operations: ['60+2=62', '18+62=80', '68*80=5440']\nMoving to Node #0,0,0,0\nCurrent State: 85:[5460], Operations: ['68+2=70', '60+18=78', '70*78=5460']\nMoving to Node #0,2,2,0\nCurrent State: 85:[5460], Operations: ['60+18=78', '68+2=70', '78*70=5460']\nMoving to Node #0,3,1,0\nCurrent State: 85:[6240], Operations: ['18*2=36', '68+36=104', '60*104=6240']\nMoving to Node #0,3,3,0\nCurrent State: 85:[6528], Operations: ['18*2=36', '60+36=96', '68*96=6528']\nNo solution found.", "role": "assistant" } ]
[ 22, 36, 1, 36 ]
23
[ "22+36=58", "36-1=35", "58-35=23" ]
Current State: 23:[22, 36, 1, 36], Operations: [] Exploring Operation: 22+1=23, Resulting Numbers: [36, 36, 23] Generated Node #0,0: 23:[36, 36, 23] Operation: 22+1=23 Moving to Node #0,0 Current State: 23:[36, 36, 23], Operations: ['22+1=23'] Exploring Operation: 36/36=1, Resulting Numbers: [23, 1] Generated Node #0,0,0: 23:[23, 1] Operation: 36/36=1 Moving to Node #0,0,0 Current State: 23:[23, 1], Operations: ['22+1=23', '36/36=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.996528
dfs
Current State: 23:[22, 36, 1, 36], Operations: [] Exploring Operation: 22+36=58, Resulting Numbers: [1, 58] Generated Node #2: [1, 58] from Operation: 22+36=58 Current State: 23:[1, 58], Operations: ['22+36=58'] Exploring Operation: 36-1=35, Resulting Numbers: [58, 35] Generated Node #3: [58, 35] from Operation: 36-1=35 Current State: 23:[58, 35], Operations: ['22+36=58', '36-1=35'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
sum_heuristic
[ { "content": "Make 23 with the numbers [22, 36, 1, 36] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 23:[22, 36, 1, 36], Operations: []\nExploring Operation: 22+1=23, Resulting Numbers: [36, 36, 23]\nGenerated Node #0,0: 23:[36, 36, 23] Operation: 22+1=23\nMoving to Node #0,0\nCurrent State: 23:[36, 36, 23], Operations: ['22+1=23']\nExploring Operation: 36/36=1, Resulting Numbers: [23, 1]\nGenerated Node #0,0,0: 23:[23, 1] Operation: 36/36=1\nMoving to Node #0,0,0\nCurrent State: 23:[23, 1], Operations: ['22+1=23', '36/36=1']\nExploring Operation: 23*1=23, Resulting Numbers: [23]\n23,23 equal: Goal Reached\n", "role": "assistant" } ]
[ 52, 60, 60, 56 ]
47
[ "60-56=4", "52/4=13", "60-13=47" ]
Current State: 47:[52, 60, 60, 56], Operations: [] Exploring Operation: 60/60=1, Resulting Numbers: [52, 56, 1] Generated Node #0,0: 47:[52, 56, 1] Operation: 60/60=1 Moving to Node #0,0 Current State: 47:[52, 56, 1], Operations: ['60/60=1'] Exploring Operation: 52-1=51, Resulting Numbers: [56, 51] Generated Node #0,0,0: 47:[56, 51] Operation: 52-1=51 Moving to Node #0,0,0 Current State: 47:[56, 51], Operations: ['60/60=1', '52-1=51'] Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,47 unequal: No Solution Moving to Node #0,0 Current State: 47:[52, 56, 1], Operations: ['60/60=1'] Exploring Operation: 56-1=55, Resulting Numbers: [52, 55] Generated Node #0,0,1: 47:[52, 55] Operation: 56-1=55 Moving to Node #0,0,1 Current State: 47:[52, 55], Operations: ['60/60=1', '56-1=55'] Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,47 unequal: No Solution Moving to Node #0,0 Current State: 47:[52, 56, 1], Operations: ['60/60=1'] Exploring Operation: 52*1=52, Resulting Numbers: [56, 52] Generated Node #0,0,2: 47:[56, 52] Operation: 52*1=52 Moving to Node #0,0,2 Current State: 47:[56, 52], Operations: ['60/60=1', '52*1=52'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,0 Current State: 47:[52, 56, 1], Operations: ['60/60=1'] Exploring Operation: 52/1=52, Resulting Numbers: [56, 52] Generated Node #0,0,3: 47:[56, 52] Operation: 52/1=52 Moving to Node #0,0,3 Current State: 47:[56, 52], Operations: ['60/60=1', '52/1=52'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,0 Current State: 47:[52, 56, 1], Operations: ['60/60=1'] Exploring Operation: 56*1=56, Resulting Numbers: [52, 56] Generated Node #0,0,4: 47:[52, 56] Operation: 56*1=56 Moving to Node #0,0,4 Current State: 47:[52, 56], Operations: ['60/60=1', '56*1=56'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,0 Current State: 47:[52, 56, 1], Operations: ['60/60=1'] Exploring Operation: 56/1=56, Resulting Numbers: [52, 56] Generated Node #0,0,5: 47:[52, 56] Operation: 56/1=56 Moving to Node #0,0,5 Current State: 47:[52, 56], Operations: ['60/60=1', '56/1=56'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,0 Current State: 47:[52, 56, 1], Operations: ['60/60=1'] Exploring Operation: 52+1=53, Resulting Numbers: [56, 53] Generated Node #0,0,6: 47:[56, 53] Operation: 52+1=53 Moving to Node #0,0,6 Current State: 47:[56, 53], Operations: ['60/60=1', '52+1=53'] Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,47 unequal: No Solution Moving to Node #0,0 Current State: 47:[52, 56, 1], Operations: ['60/60=1'] Exploring Operation: 56+1=57, Resulting Numbers: [52, 57] Generated Node #0,0,7: 47:[52, 57] Operation: 56+1=57 Moving to Node #0,0,7 Current State: 47:[52, 57], Operations: ['60/60=1', '56+1=57'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,47 unequal: No Solution Moving to Node #0,0 Current State: 47:[52, 56, 1], Operations: ['60/60=1'] Exploring Operation: 56-52=4, Resulting Numbers: [1, 4] Generated Node #0,0,8: 47:[1, 4] Operation: 56-52=4 Moving to Node #0,0,8 Current State: 47:[1, 4], Operations: ['60/60=1', '56-52=4'] Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,47 unequal: No Solution Moving to Node #0,0,8 Current State: 47:[1, 4], Operations: ['60/60=1', '56-52=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,0,8 Current State: 47:[1, 4], Operations: ['60/60=1', '56-52=4'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,0,8 Current State: 47:[1, 4], Operations: ['60/60=1', '56-52=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,47 unequal: No Solution Moving to Node #0 Current State: 47:[52, 60, 60, 56], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [60, 56, 8] Generated Node #0,1: 47:[60, 56, 8] Operation: 60-52=8 Moving to Node #0,1 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 60-8=52, Resulting Numbers: [56, 52] Generated Node #0,1,0: 47:[56, 52] Operation: 60-8=52 Moving to Node #0,1,0 Current State: 47:[56, 52], Operations: ['60-52=8', '60-8=52'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,1 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 56-8=48, Resulting Numbers: [60, 48] Generated Node #0,1,1: 47:[60, 48] Operation: 56-8=48 Moving to Node #0,1,1 Current State: 47:[60, 48], Operations: ['60-52=8', '56-8=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,1 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 60+8=68, Resulting Numbers: [56, 68] Generated Node #0,1,2: 47:[56, 68] Operation: 60+8=68 Moving to Node #0,1,2 Current State: 47:[56, 68], Operations: ['60-52=8', '60+8=68'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,1 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 56+8=64, Resulting Numbers: [60, 64] Generated Node #0,1,3: 47:[60, 64] Operation: 56+8=64 Moving to Node #0,1,3 Current State: 47:[60, 64], Operations: ['60-52=8', '56+8=64'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,1 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 56/8=7, Resulting Numbers: [60, 7] Generated Node #0,1,4: 47:[60, 7] Operation: 56/8=7 Moving to Node #0,1,4 Current State: 47:[60, 7], Operations: ['60-52=8', '56/8=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,47 unequal: No Solution Moving to Node #0,1,4 Current State: 47:[60, 7], Operations: ['60-52=8', '56/8=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,47 unequal: No Solution Moving to Node #0,1 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 60-56=4, Resulting Numbers: [8, 4] Generated Node #0,1,5: 47:[8, 4] Operation: 60-56=4 Moving to Node #0,1,5 Current State: 47:[8, 4], Operations: ['60-52=8', '60-56=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,47 unequal: No Solution Moving to Node #0,1,5 Current State: 47:[8, 4], Operations: ['60-52=8', '60-56=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,1,5 Current State: 47:[8, 4], Operations: ['60-52=8', '60-56=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,1,5 Current State: 47:[8, 4], Operations: ['60-52=8', '60-56=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,47 unequal: No Solution Moving to Node #0 Current State: 47:[52, 60, 60, 56], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [60, 56, 8] Generated Node #0,2: 47:[60, 56, 8] Operation: 60-52=8 Moving to Node #0,2 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 60-8=52, Resulting Numbers: [56, 52] Generated Node #0,2,0: 47:[56, 52] Operation: 60-8=52 Moving to Node #0,2,0 Current State: 47:[56, 52], Operations: ['60-52=8', '60-8=52'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,2 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 56-8=48, Resulting Numbers: [60, 48] Generated Node #0,2,1: 47:[60, 48] Operation: 56-8=48 Moving to Node #0,2,1 Current State: 47:[60, 48], Operations: ['60-52=8', '56-8=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,2 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 60+8=68, Resulting Numbers: [56, 68] Generated Node #0,2,2: 47:[56, 68] Operation: 60+8=68 Moving to Node #0,2,2 Current State: 47:[56, 68], Operations: ['60-52=8', '60+8=68'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,2 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 56+8=64, Resulting Numbers: [60, 64] Generated Node #0,2,3: 47:[60, 64] Operation: 56+8=64 Moving to Node #0,2,3 Current State: 47:[60, 64], Operations: ['60-52=8', '56+8=64'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,2 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 56/8=7, Resulting Numbers: [60, 7] Generated Node #0,2,4: 47:[60, 7] Operation: 56/8=7 Moving to Node #0,2,4 Current State: 47:[60, 7], Operations: ['60-52=8', '56/8=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,47 unequal: No Solution Moving to Node #0,2,4 Current State: 47:[60, 7], Operations: ['60-52=8', '56/8=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,47 unequal: No Solution Moving to Node #0,2 Current State: 47:[60, 56, 8], Operations: ['60-52=8'] Exploring Operation: 60-56=4, Resulting Numbers: [8, 4] Generated Node #0,2,5: 47:[8, 4] Operation: 60-56=4 Moving to Node #0,2,5 Current State: 47:[8, 4], Operations: ['60-52=8', '60-56=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,47 unequal: No Solution Moving to Node #0,2,5 Current State: 47:[8, 4], Operations: ['60-52=8', '60-56=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,2,5 Current State: 47:[8, 4], Operations: ['60-52=8', '60-56=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,2,5 Current State: 47:[8, 4], Operations: ['60-52=8', '60-56=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,47 unequal: No Solution Moving to Node #0 Current State: 47:[52, 60, 60, 56], Operations: [] Exploring Operation: 60-60=0, Resulting Numbers: [52, 56, 0] Generated Node #0,3: 47:[52, 56, 0] Operation: 60-60=0 Moving to Node #0,3 Current State: 47:[52, 56, 0], Operations: ['60-60=0'] Exploring Operation: 52+0=52, Resulting Numbers: [56, 52] Generated Node #0,3,0: 47:[56, 52] Operation: 52+0=52 Moving to Node #0,3,0 Current State: 47:[56, 52], Operations: ['60-60=0', '52+0=52'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,3 Current State: 47:[52, 56, 0], Operations: ['60-60=0'] Exploring Operation: 52-0=52, Resulting Numbers: [56, 52] Generated Node #0,3,1: 47:[56, 52] Operation: 52-0=52 Moving to Node #0,3,1 Current State: 47:[56, 52], Operations: ['60-60=0', '52-0=52'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,3 Current State: 47:[52, 56, 0], Operations: ['60-60=0'] Exploring Operation: 56+0=56, Resulting Numbers: [52, 56] Generated Node #0,3,2: 47:[52, 56] Operation: 56+0=56 Moving to Node #0,3,2 Current State: 47:[52, 56], Operations: ['60-60=0', '56+0=56'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,3 Current State: 47:[52, 56, 0], Operations: ['60-60=0'] Exploring Operation: 56-0=56, Resulting Numbers: [52, 56] Generated Node #0,3,3: 47:[52, 56] Operation: 56-0=56 Moving to Node #0,3,3 Current State: 47:[52, 56], Operations: ['60-60=0', '56-0=56'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,3 Current State: 47:[52, 56, 0], Operations: ['60-60=0'] Exploring Operation: 56*0=0, Resulting Numbers: [52, 0] Generated Node #0,3,4: 47:[52, 0] Operation: 56*0=0 Moving to Node #0,3,4 Current State: 47:[52, 0], Operations: ['60-60=0', '56*0=0'] Exploring Operation: 52+0=52, Resulting Numbers: [52] 52,47 unequal: No Solution Moving to Node #0,3,4 Current State: 47:[52, 0], Operations: ['60-60=0', '56*0=0'] Exploring Operation: 52-0=52, Resulting Numbers: [52] 52,47 unequal: No Solution Moving to Node #0,3,4 Current State: 47:[52, 0], Operations: ['60-60=0', '56*0=0'] Exploring Operation: 52*0=0, Resulting Numbers: [0] 0,47 unequal: No Solution Moving to Node #0,3 Current State: 47:[52, 56, 0], Operations: ['60-60=0'] Exploring Operation: 52*0=0, Resulting Numbers: [56, 0] Generated Node #0,3,5: 47:[56, 0] Operation: 52*0=0 Moving to Node #0,3,5 Current State: 47:[56, 0], Operations: ['60-60=0', '52*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,47 unequal: No Solution Moving to Node #0,3,5 Current State: 47:[56, 0], Operations: ['60-60=0', '52*0=0'] Exploring Operation: 56-0=56, Resulting Numbers: [56] 56,47 unequal: No Solution Moving to Node #0,3,5 Current State: 47:[56, 0], Operations: ['60-60=0', '52*0=0'] Exploring Operation: 56*0=0, Resulting Numbers: [0] 0,47 unequal: No Solution Moving to Node #0,3 Current State: 47:[52, 56, 0], Operations: ['60-60=0'] Exploring Operation: 56-52=4, Resulting Numbers: [0, 4] Generated Node #0,3,6: 47:[0, 4] Operation: 56-52=4 Moving to Node #0,3,6 Current State: 47:[0, 4], Operations: ['60-60=0', '56-52=4'] Exploring Operation: 0+4=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,3,6 Current State: 47:[0, 4], Operations: ['60-60=0', '56-52=4'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,3,6 Current State: 47:[0, 4], Operations: ['60-60=0', '56-52=4'] Exploring Operation: 0*4=0, Resulting Numbers: [0] 0,47 unequal: No Solution Moving to Node #0 Current State: 47:[52, 60, 60, 56], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [52, 60, 4] Generated Node #0,4: 47:[52, 60, 4] Operation: 60-56=4 Moving to Node #0,4 Current State: 47:[52, 60, 4], Operations: ['60-56=4'] Exploring Operation: 52-4=48, Resulting Numbers: [60, 48] Generated Node #0,4,0: 47:[60, 48] Operation: 52-4=48 Moving to Node #0,4,0 Current State: 47:[60, 48], Operations: ['60-56=4', '52-4=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,4 Current State: 47:[52, 60, 4], Operations: ['60-56=4'] Exploring Operation: 60-4=56, Resulting Numbers: [52, 56] Generated Node #0,4,1: 47:[52, 56] Operation: 60-4=56 Moving to Node #0,4,1 Current State: 47:[52, 56], Operations: ['60-56=4', '60-4=56'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,4 Current State: 47:[52, 60, 4], Operations: ['60-56=4'] Exploring Operation: 52+4=56, Resulting Numbers: [60, 56] Generated Node #0,4,2: 47:[60, 56] Operation: 52+4=56 Moving to Node #0,4,2 Current State: 47:[60, 56], Operations: ['60-56=4', '52+4=56'] Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,4 Current State: 47:[52, 60, 4], Operations: ['60-56=4'] Exploring Operation: 60+4=64, Resulting Numbers: [52, 64] Generated Node #0,4,3: 47:[52, 64] Operation: 60+4=64 Moving to Node #0,4,3 Current State: 47:[52, 64], Operations: ['60-56=4', '60+4=64'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,4 Current State: 47:[52, 60, 4], Operations: ['60-56=4'] Exploring Operation: 60/4=15, Resulting Numbers: [52, 15] Generated Node #0,4,4: 47:[52, 15] Operation: 60/4=15 Moving to Node #0,4,4 Current State: 47:[52, 15], Operations: ['60-56=4', '60/4=15'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,47 unequal: No Solution Moving to Node #0,4,4 Current State: 47:[52, 15], Operations: ['60-56=4', '60/4=15'] Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,47 unequal: No Solution Moving to Node #0,4 Current State: 47:[52, 60, 4], Operations: ['60-56=4'] Exploring Operation: 52/4=13, Resulting Numbers: [60, 13] Generated Node #0,4,5: 47:[60, 13] Operation: 52/4=13 Moving to Node #0,4,5 Current State: 47:[60, 13], Operations: ['60-56=4', '52/4=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.920139
dfs
Current State: 47:[52, 60, 60, 56], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [52, 4] Generated Node #2: [52, 4] from Operation: 60-56=4 Current State: 47:[52, 4], Operations: ['60-56=4'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,47 equal: Goal Reached Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
sum_heuristic
[ { "content": "Make 47 with the numbers [52, 60, 60, 56] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 47:[52, 60, 60, 56], Operations: []\nExploring Operation: 60/60=1, Resulting Numbers: [52, 56, 1]\nGenerated Node #0,0: 47:[52, 56, 1] Operation: 60/60=1\nMoving to Node #0,0\nCurrent State: 47:[52, 56, 1], Operations: ['60/60=1']\nExploring Operation: 52-1=51, Resulting Numbers: [56, 51]\nGenerated Node #0,0,0: 47:[56, 51] Operation: 52-1=51\nMoving to Node #0,0,0\nCurrent State: 47:[56, 51], Operations: ['60/60=1', '52-1=51']\nExploring Operation: 56-51=5, Resulting Numbers: [5]\n5,47 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 47:[52, 56, 1], Operations: ['60/60=1']\nExploring Operation: 56-1=55, Resulting Numbers: [52, 55]\nGenerated Node #0,0,1: 47:[52, 55] Operation: 56-1=55\nMoving to Node #0,0,1\nCurrent State: 47:[52, 55], Operations: ['60/60=1', '56-1=55']\nExploring Operation: 55-52=3, Resulting Numbers: [3]\n3,47 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 47:[52, 56, 1], Operations: ['60/60=1']\nExploring Operation: 52*1=52, Resulting Numbers: [56, 52]\nGenerated Node #0,0,2: 47:[56, 52] Operation: 52*1=52\nMoving to Node #0,0,2\nCurrent State: 47:[56, 52], Operations: ['60/60=1', '52*1=52']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 47:[52, 56, 1], Operations: ['60/60=1']\nExploring Operation: 52/1=52, Resulting Numbers: [56, 52]\nGenerated Node #0,0,3: 47:[56, 52] Operation: 52/1=52\nMoving to Node #0,0,3\nCurrent State: 47:[56, 52], Operations: ['60/60=1', '52/1=52']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 47:[52, 56, 1], Operations: ['60/60=1']\nExploring Operation: 56*1=56, Resulting Numbers: [52, 56]\nGenerated Node #0,0,4: 47:[52, 56] Operation: 56*1=56\nMoving to Node #0,0,4\nCurrent State: 47:[52, 56], Operations: ['60/60=1', '56*1=56']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 47:[52, 56, 1], Operations: ['60/60=1']\nExploring Operation: 56/1=56, Resulting Numbers: [52, 56]\nGenerated Node #0,0,5: 47:[52, 56] Operation: 56/1=56\nMoving to Node #0,0,5\nCurrent State: 47:[52, 56], Operations: ['60/60=1', '56/1=56']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 47:[52, 56, 1], Operations: ['60/60=1']\nExploring Operation: 52+1=53, Resulting Numbers: [56, 53]\nGenerated Node #0,0,6: 47:[56, 53] Operation: 52+1=53\nMoving to Node #0,0,6\nCurrent State: 47:[56, 53], Operations: ['60/60=1', '52+1=53']\nExploring Operation: 56-53=3, Resulting Numbers: [3]\n3,47 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 47:[52, 56, 1], Operations: ['60/60=1']\nExploring Operation: 56+1=57, Resulting Numbers: [52, 57]\nGenerated Node #0,0,7: 47:[52, 57] Operation: 56+1=57\nMoving to Node #0,0,7\nCurrent State: 47:[52, 57], Operations: ['60/60=1', '56+1=57']\nExploring Operation: 57-52=5, Resulting Numbers: [5]\n5,47 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 47:[52, 56, 1], Operations: ['60/60=1']\nExploring Operation: 56-52=4, Resulting Numbers: [1, 4]\nGenerated Node #0,0,8: 47:[1, 4] Operation: 56-52=4\nMoving to Node #0,0,8\nCurrent State: 47:[1, 4], Operations: ['60/60=1', '56-52=4']\nExploring Operation: 1+4=5, Resulting Numbers: [5]\n5,47 unequal: No Solution\nMoving to Node #0,0,8\nCurrent State: 47:[1, 4], Operations: ['60/60=1', '56-52=4']\nExploring Operation: 1*4=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,0,8\nCurrent State: 47:[1, 4], Operations: ['60/60=1', '56-52=4']\nExploring Operation: 4/1=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,0,8\nCurrent State: 47:[1, 4], Operations: ['60/60=1', '56-52=4']\nExploring Operation: 4-1=3, Resulting Numbers: [3]\n3,47 unequal: No Solution\nMoving to Node #0\nCurrent State: 47:[52, 60, 60, 56], Operations: []\nExploring Operation: 60-52=8, Resulting Numbers: [60, 56, 8]\nGenerated Node #0,1: 47:[60, 56, 8] Operation: 60-52=8\nMoving to Node #0,1\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 60-8=52, Resulting Numbers: [56, 52]\nGenerated Node #0,1,0: 47:[56, 52] Operation: 60-8=52\nMoving to Node #0,1,0\nCurrent State: 47:[56, 52], Operations: ['60-52=8', '60-8=52']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 56-8=48, Resulting Numbers: [60, 48]\nGenerated Node #0,1,1: 47:[60, 48] Operation: 56-8=48\nMoving to Node #0,1,1\nCurrent State: 47:[60, 48], Operations: ['60-52=8', '56-8=48']\nExploring Operation: 60-48=12, Resulting Numbers: [12]\n12,47 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 60+8=68, Resulting Numbers: [56, 68]\nGenerated Node #0,1,2: 47:[56, 68] Operation: 60+8=68\nMoving to Node #0,1,2\nCurrent State: 47:[56, 68], Operations: ['60-52=8', '60+8=68']\nExploring Operation: 68-56=12, Resulting Numbers: [12]\n12,47 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 56+8=64, Resulting Numbers: [60, 64]\nGenerated Node #0,1,3: 47:[60, 64] Operation: 56+8=64\nMoving to Node #0,1,3\nCurrent State: 47:[60, 64], Operations: ['60-52=8', '56+8=64']\nExploring Operation: 64-60=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 56/8=7, Resulting Numbers: [60, 7]\nGenerated Node #0,1,4: 47:[60, 7] Operation: 56/8=7\nMoving to Node #0,1,4\nCurrent State: 47:[60, 7], Operations: ['60-52=8', '56/8=7']\nExploring Operation: 60-7=53, Resulting Numbers: [53]\n53,47 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 47:[60, 7], Operations: ['60-52=8', '56/8=7']\nExploring Operation: 60+7=67, Resulting Numbers: [67]\n67,47 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 60-56=4, Resulting Numbers: [8, 4]\nGenerated Node #0,1,5: 47:[8, 4] Operation: 60-56=4\nMoving to Node #0,1,5\nCurrent State: 47:[8, 4], Operations: ['60-52=8', '60-56=4']\nExploring Operation: 8*4=32, Resulting Numbers: [32]\n32,47 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 47:[8, 4], Operations: ['60-52=8', '60-56=4']\nExploring Operation: 8+4=12, Resulting Numbers: [12]\n12,47 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 47:[8, 4], Operations: ['60-52=8', '60-56=4']\nExploring Operation: 8-4=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 47:[8, 4], Operations: ['60-52=8', '60-56=4']\nExploring Operation: 8/4=2, Resulting Numbers: [2]\n2,47 unequal: No Solution\nMoving to Node #0\nCurrent State: 47:[52, 60, 60, 56], Operations: []\nExploring Operation: 60-52=8, Resulting Numbers: [60, 56, 8]\nGenerated Node #0,2: 47:[60, 56, 8] Operation: 60-52=8\nMoving to Node #0,2\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 60-8=52, Resulting Numbers: [56, 52]\nGenerated Node #0,2,0: 47:[56, 52] Operation: 60-8=52\nMoving to Node #0,2,0\nCurrent State: 47:[56, 52], Operations: ['60-52=8', '60-8=52']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 56-8=48, Resulting Numbers: [60, 48]\nGenerated Node #0,2,1: 47:[60, 48] Operation: 56-8=48\nMoving to Node #0,2,1\nCurrent State: 47:[60, 48], Operations: ['60-52=8', '56-8=48']\nExploring Operation: 60-48=12, Resulting Numbers: [12]\n12,47 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 60+8=68, Resulting Numbers: [56, 68]\nGenerated Node #0,2,2: 47:[56, 68] Operation: 60+8=68\nMoving to Node #0,2,2\nCurrent State: 47:[56, 68], Operations: ['60-52=8', '60+8=68']\nExploring Operation: 68-56=12, Resulting Numbers: [12]\n12,47 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 56+8=64, Resulting Numbers: [60, 64]\nGenerated Node #0,2,3: 47:[60, 64] Operation: 56+8=64\nMoving to Node #0,2,3\nCurrent State: 47:[60, 64], Operations: ['60-52=8', '56+8=64']\nExploring Operation: 64-60=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 56/8=7, Resulting Numbers: [60, 7]\nGenerated Node #0,2,4: 47:[60, 7] Operation: 56/8=7\nMoving to Node #0,2,4\nCurrent State: 47:[60, 7], Operations: ['60-52=8', '56/8=7']\nExploring Operation: 60-7=53, Resulting Numbers: [53]\n53,47 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 47:[60, 7], Operations: ['60-52=8', '56/8=7']\nExploring Operation: 60+7=67, Resulting Numbers: [67]\n67,47 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 47:[60, 56, 8], Operations: ['60-52=8']\nExploring Operation: 60-56=4, Resulting Numbers: [8, 4]\nGenerated Node #0,2,5: 47:[8, 4] Operation: 60-56=4\nMoving to Node #0,2,5\nCurrent State: 47:[8, 4], Operations: ['60-52=8', '60-56=4']\nExploring Operation: 8*4=32, Resulting Numbers: [32]\n32,47 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 47:[8, 4], Operations: ['60-52=8', '60-56=4']\nExploring Operation: 8+4=12, Resulting Numbers: [12]\n12,47 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 47:[8, 4], Operations: ['60-52=8', '60-56=4']\nExploring Operation: 8-4=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 47:[8, 4], Operations: ['60-52=8', '60-56=4']\nExploring Operation: 8/4=2, Resulting Numbers: [2]\n2,47 unequal: No Solution\nMoving to Node #0\nCurrent State: 47:[52, 60, 60, 56], Operations: []\nExploring Operation: 60-60=0, Resulting Numbers: [52, 56, 0]\nGenerated Node #0,3: 47:[52, 56, 0] Operation: 60-60=0\nMoving to Node #0,3\nCurrent State: 47:[52, 56, 0], Operations: ['60-60=0']\nExploring Operation: 52+0=52, Resulting Numbers: [56, 52]\nGenerated Node #0,3,0: 47:[56, 52] Operation: 52+0=52\nMoving to Node #0,3,0\nCurrent State: 47:[56, 52], Operations: ['60-60=0', '52+0=52']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 47:[52, 56, 0], Operations: ['60-60=0']\nExploring Operation: 52-0=52, Resulting Numbers: [56, 52]\nGenerated Node #0,3,1: 47:[56, 52] Operation: 52-0=52\nMoving to Node #0,3,1\nCurrent State: 47:[56, 52], Operations: ['60-60=0', '52-0=52']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 47:[52, 56, 0], Operations: ['60-60=0']\nExploring Operation: 56+0=56, Resulting Numbers: [52, 56]\nGenerated Node #0,3,2: 47:[52, 56] Operation: 56+0=56\nMoving to Node #0,3,2\nCurrent State: 47:[52, 56], Operations: ['60-60=0', '56+0=56']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 47:[52, 56, 0], Operations: ['60-60=0']\nExploring Operation: 56-0=56, Resulting Numbers: [52, 56]\nGenerated Node #0,3,3: 47:[52, 56] Operation: 56-0=56\nMoving to Node #0,3,3\nCurrent State: 47:[52, 56], Operations: ['60-60=0', '56-0=56']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 47:[52, 56, 0], Operations: ['60-60=0']\nExploring Operation: 56*0=0, Resulting Numbers: [52, 0]\nGenerated Node #0,3,4: 47:[52, 0] Operation: 56*0=0\nMoving to Node #0,3,4\nCurrent State: 47:[52, 0], Operations: ['60-60=0', '56*0=0']\nExploring Operation: 52+0=52, Resulting Numbers: [52]\n52,47 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 47:[52, 0], Operations: ['60-60=0', '56*0=0']\nExploring Operation: 52-0=52, Resulting Numbers: [52]\n52,47 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 47:[52, 0], Operations: ['60-60=0', '56*0=0']\nExploring Operation: 52*0=0, Resulting Numbers: [0]\n0,47 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 47:[52, 56, 0], Operations: ['60-60=0']\nExploring Operation: 52*0=0, Resulting Numbers: [56, 0]\nGenerated Node #0,3,5: 47:[56, 0] Operation: 52*0=0\nMoving to Node #0,3,5\nCurrent State: 47:[56, 0], Operations: ['60-60=0', '52*0=0']\nExploring Operation: 56+0=56, Resulting Numbers: [56]\n56,47 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 47:[56, 0], Operations: ['60-60=0', '52*0=0']\nExploring Operation: 56-0=56, Resulting Numbers: [56]\n56,47 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 47:[56, 0], Operations: ['60-60=0', '52*0=0']\nExploring Operation: 56*0=0, Resulting Numbers: [0]\n0,47 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 47:[52, 56, 0], Operations: ['60-60=0']\nExploring Operation: 56-52=4, Resulting Numbers: [0, 4]\nGenerated Node #0,3,6: 47:[0, 4] Operation: 56-52=4\nMoving to Node #0,3,6\nCurrent State: 47:[0, 4], Operations: ['60-60=0', '56-52=4']\nExploring Operation: 0+4=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 47:[0, 4], Operations: ['60-60=0', '56-52=4']\nExploring Operation: 4-0=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 47:[0, 4], Operations: ['60-60=0', '56-52=4']\nExploring Operation: 0*4=0, Resulting Numbers: [0]\n0,47 unequal: No Solution\nMoving to Node #0\nCurrent State: 47:[52, 60, 60, 56], Operations: []\nExploring Operation: 60-56=4, Resulting Numbers: [52, 60, 4]\nGenerated Node #0,4: 47:[52, 60, 4] Operation: 60-56=4\nMoving to Node #0,4\nCurrent State: 47:[52, 60, 4], Operations: ['60-56=4']\nExploring Operation: 52-4=48, Resulting Numbers: [60, 48]\nGenerated Node #0,4,0: 47:[60, 48] Operation: 52-4=48\nMoving to Node #0,4,0\nCurrent State: 47:[60, 48], Operations: ['60-56=4', '52-4=48']\nExploring Operation: 60-48=12, Resulting Numbers: [12]\n12,47 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 47:[52, 60, 4], Operations: ['60-56=4']\nExploring Operation: 60-4=56, Resulting Numbers: [52, 56]\nGenerated Node #0,4,1: 47:[52, 56] Operation: 60-4=56\nMoving to Node #0,4,1\nCurrent State: 47:[52, 56], Operations: ['60-56=4', '60-4=56']\nExploring Operation: 56-52=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 47:[52, 60, 4], Operations: ['60-56=4']\nExploring Operation: 52+4=56, Resulting Numbers: [60, 56]\nGenerated Node #0,4,2: 47:[60, 56] Operation: 52+4=56\nMoving to Node #0,4,2\nCurrent State: 47:[60, 56], Operations: ['60-56=4', '52+4=56']\nExploring Operation: 60-56=4, Resulting Numbers: [4]\n4,47 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 47:[52, 60, 4], Operations: ['60-56=4']\nExploring Operation: 60+4=64, Resulting Numbers: [52, 64]\nGenerated Node #0,4,3: 47:[52, 64] Operation: 60+4=64\nMoving to Node #0,4,3\nCurrent State: 47:[52, 64], Operations: ['60-56=4', '60+4=64']\nExploring Operation: 64-52=12, Resulting Numbers: [12]\n12,47 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 47:[52, 60, 4], Operations: ['60-56=4']\nExploring Operation: 60/4=15, Resulting Numbers: [52, 15]\nGenerated Node #0,4,4: 47:[52, 15] Operation: 60/4=15\nMoving to Node #0,4,4\nCurrent State: 47:[52, 15], Operations: ['60-56=4', '60/4=15']\nExploring Operation: 52-15=37, Resulting Numbers: [37]\n37,47 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 47:[52, 15], Operations: ['60-56=4', '60/4=15']\nExploring Operation: 52+15=67, Resulting Numbers: [67]\n67,47 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 47:[52, 60, 4], Operations: ['60-56=4']\nExploring Operation: 52/4=13, Resulting Numbers: [60, 13]\nGenerated Node #0,4,5: 47:[60, 13] Operation: 52/4=13\nMoving to Node #0,4,5\nCurrent State: 47:[60, 13], Operations: ['60-56=4', '52/4=13']\nExploring Operation: 60-13=47, Resulting Numbers: [47]\n47,47 equal: Goal Reached\n", "role": "assistant" } ]
[ 89, 13, 80, 72 ]
76
[ "89-13=76", "80+72=152", "152-76=76" ]
Current State: 76:[89, 13, 80, 72], Operations: [] Exploring Operation: 89-13=76, Resulting Numbers: [80, 72, 76] Generated Node #0,0: 76:[80, 72, 76] Operation: 89-13=76 Moving to Node #0,0 Current State: 76:[80, 72, 76], Operations: ['89-13=76'] Exploring Operation: 80-72=8, Resulting Numbers: [76, 8] Generated Node #0,0,0: 76:[76, 8] Operation: 80-72=8 Moving to Node #0,0,0 Current State: 76:[76, 8], Operations: ['89-13=76', '80-72=8'] Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[76, 8], Operations: ['89-13=76', '80-72=8'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,76 unequal: No Solution Moving to Node #0,0 Current State: 76:[80, 72, 76], Operations: ['89-13=76'] Exploring Operation: 80+72=152, Resulting Numbers: [76, 152] Generated Node #0,0,1: 76:[76, 152] Operation: 80+72=152 Moving to Node #0,0,1 Current State: 76:[76, 152], Operations: ['89-13=76', '80+72=152'] Exploring Operation: 152-76=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.993924
dfs
Current State: 76:[89, 13, 80, 72], Operations: [] Exploring Operation: 89-13=76, Resulting Numbers: [80, 72, 76] Generated Node #2: [80, 72, 76] from Operation: 89-13=76 Current State: 76:[80, 72, 76], Operations: ['89-13=76'] Exploring Operation: 80+72=152, Resulting Numbers: [76, 152] Generated Node #3: [76, 152] from Operation: 80+72=152 Current State: 76:[76, 152], Operations: ['89-13=76', '80+72=152'] Exploring Operation: 152-76=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
sum_heuristic
[ { "content": "Make 76 with the numbers [89, 13, 80, 72] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 76:[89, 13, 80, 72], Operations: []\nExploring Operation: 89-13=76, Resulting Numbers: [80, 72, 76]\nGenerated Node #0,0: 76:[80, 72, 76] Operation: 89-13=76\nMoving to Node #0,0\nCurrent State: 76:[80, 72, 76], Operations: ['89-13=76']\nExploring Operation: 80-72=8, Resulting Numbers: [76, 8]\nGenerated Node #0,0,0: 76:[76, 8] Operation: 80-72=8\nMoving to Node #0,0,0\nCurrent State: 76:[76, 8], Operations: ['89-13=76', '80-72=8']\nExploring Operation: 76+8=84, Resulting Numbers: [84]\n84,76 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 76:[76, 8], Operations: ['89-13=76', '80-72=8']\nExploring Operation: 76-8=68, Resulting Numbers: [68]\n68,76 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 76:[80, 72, 76], Operations: ['89-13=76']\nExploring Operation: 80+72=152, Resulting Numbers: [76, 152]\nGenerated Node #0,0,1: 76:[76, 152] Operation: 80+72=152\nMoving to Node #0,0,1\nCurrent State: 76:[76, 152], Operations: ['89-13=76', '80+72=152']\nExploring Operation: 152-76=76, Resulting Numbers: [76]\n76,76 equal: Goal Reached\n", "role": "assistant" } ]
[ 40, 7, 25, 12 ]
100
[ "40-12=28", "28/7=4", "25*4=100" ]
Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 7*12=84, Resulting Numbers: [40, 25, 84] Generated Node #0,0: 100:[40, 25, 84] Operation: 7*12=84 Moving to Node #0,0 Current State: 100:[40, 25, 84], Operations: ['7*12=84'] Exploring Operation: 40+25=65, Resulting Numbers: [84, 65] Generated Node #0,0,0: 100:[84, 65] Operation: 40+25=65 Moving to Node #0,0,0 Current State: 100:[84, 65], Operations: ['7*12=84', '40+25=65'] Exploring Operation: 84+65=149, Resulting Numbers: [149] 149,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[84, 65], Operations: ['7*12=84', '40+25=65'] Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[40, 25, 84], Operations: ['7*12=84'] Exploring Operation: 25+84=109, Resulting Numbers: [40, 109] Generated Node #0,0,1: 100:[40, 109] Operation: 25+84=109 Moving to Node #0,0,1 Current State: 100:[40, 109], Operations: ['7*12=84', '25+84=109'] Exploring Operation: 109-40=69, Resulting Numbers: [69] 69,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[40, 109], Operations: ['7*12=84', '25+84=109'] Exploring Operation: 40+109=149, Resulting Numbers: [149] 149,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[40, 25, 84], Operations: ['7*12=84'] Exploring Operation: 40+84=124, Resulting Numbers: [25, 124] Generated Node #0,0,2: 100:[25, 124] Operation: 40+84=124 Moving to Node #0,0,2 Current State: 100:[25, 124], Operations: ['7*12=84', '40+84=124'] Exploring Operation: 124-25=99, Resulting Numbers: [99] 99,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[25, 124], Operations: ['7*12=84', '40+84=124'] Exploring Operation: 25+124=149, Resulting Numbers: [149] 149,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[40, 25, 84], Operations: ['7*12=84'] Exploring Operation: 40-25=15, Resulting Numbers: [84, 15] Generated Node #0,0,3: 100:[84, 15] Operation: 40-25=15 Moving to Node #0,0,3 Current State: 100:[84, 15], Operations: ['7*12=84', '40-25=15'] Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[84, 15], Operations: ['7*12=84', '40-25=15'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[40, 25, 84], Operations: ['7*12=84'] Exploring Operation: 84-25=59, Resulting Numbers: [40, 59] Generated Node #0,0,4: 100:[40, 59] Operation: 84-25=59 Moving to Node #0,0,4 Current State: 100:[40, 59], Operations: ['7*12=84', '84-25=59'] Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,100 unequal: No Solution Moving to Node #0,0,4 Current State: 100:[40, 59], Operations: ['7*12=84', '84-25=59'] Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,100 unequal: No Solution Moving to Node #0,0 Current State: 100:[40, 25, 84], Operations: ['7*12=84'] Exploring Operation: 84-40=44, Resulting Numbers: [25, 44] Generated Node #0,0,5: 100:[25, 44] Operation: 84-40=44 Moving to Node #0,0,5 Current State: 100:[25, 44], Operations: ['7*12=84', '84-40=44'] Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,100 unequal: No Solution Moving to Node #0,0,5 Current State: 100:[25, 44], Operations: ['7*12=84', '84-40=44'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 40+7=47, Resulting Numbers: [25, 12, 47] Generated Node #0,1: 100:[25, 12, 47] Operation: 40+7=47 Moving to Node #0,1 Current State: 100:[25, 12, 47], Operations: ['40+7=47'] Exploring Operation: 25+12=37, Resulting Numbers: [47, 37] Generated Node #0,1,0: 100:[47, 37] Operation: 25+12=37 Moving to Node #0,1,0 Current State: 100:[47, 37], Operations: ['40+7=47', '25+12=37'] Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[47, 37], Operations: ['40+7=47', '25+12=37'] Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[25, 12, 47], Operations: ['40+7=47'] Exploring Operation: 25+47=72, Resulting Numbers: [12, 72] Generated Node #0,1,1: 100:[12, 72] Operation: 25+47=72 Moving to Node #0,1,1 Current State: 100:[12, 72], Operations: ['40+7=47', '25+47=72'] Exploring Operation: 12+72=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[12, 72], Operations: ['40+7=47', '25+47=72'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[12, 72], Operations: ['40+7=47', '25+47=72'] Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[25, 12, 47], Operations: ['40+7=47'] Exploring Operation: 12+47=59, Resulting Numbers: [25, 59] Generated Node #0,1,2: 100:[25, 59] Operation: 12+47=59 Moving to Node #0,1,2 Current State: 100:[25, 59], Operations: ['40+7=47', '12+47=59'] Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[25, 59], Operations: ['40+7=47', '12+47=59'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[25, 12, 47], Operations: ['40+7=47'] Exploring Operation: 25-12=13, Resulting Numbers: [47, 13] Generated Node #0,1,3: 100:[47, 13] Operation: 25-12=13 Moving to Node #0,1,3 Current State: 100:[47, 13], Operations: ['40+7=47', '25-12=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[47, 13], Operations: ['40+7=47', '25-12=13'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[25, 12, 47], Operations: ['40+7=47'] Exploring Operation: 47-12=35, Resulting Numbers: [25, 35] Generated Node #0,1,4: 100:[25, 35] Operation: 47-12=35 Moving to Node #0,1,4 Current State: 100:[25, 35], Operations: ['40+7=47', '47-12=35'] Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,1,4 Current State: 100:[25, 35], Operations: ['40+7=47', '47-12=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,1 Current State: 100:[25, 12, 47], Operations: ['40+7=47'] Exploring Operation: 47-25=22, Resulting Numbers: [12, 22] Generated Node #0,1,5: 100:[12, 22] Operation: 47-25=22 Moving to Node #0,1,5 Current State: 100:[12, 22], Operations: ['40+7=47', '47-25=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,1,5 Current State: 100:[12, 22], Operations: ['40+7=47', '47-25=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 40+25=65, Resulting Numbers: [7, 12, 65] Generated Node #0,2: 100:[7, 12, 65] Operation: 40+25=65 Moving to Node #0,2 Current State: 100:[7, 12, 65], Operations: ['40+25=65'] Exploring Operation: 7*12=84, Resulting Numbers: [65, 84] Generated Node #0,2,0: 100:[65, 84] Operation: 7*12=84 Moving to Node #0,2,0 Current State: 100:[65, 84], Operations: ['40+25=65', '7*12=84'] Exploring Operation: 65+84=149, Resulting Numbers: [149] 149,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[65, 84], Operations: ['40+25=65', '7*12=84'] Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[7, 12, 65], Operations: ['40+25=65'] Exploring Operation: 7+12=19, Resulting Numbers: [65, 19] Generated Node #0,2,1: 100:[65, 19] Operation: 7+12=19 Moving to Node #0,2,1 Current State: 100:[65, 19], Operations: ['40+25=65', '7+12=19'] Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[65, 19], Operations: ['40+25=65', '7+12=19'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[7, 12, 65], Operations: ['40+25=65'] Exploring Operation: 7+65=72, Resulting Numbers: [12, 72] Generated Node #0,2,2: 100:[12, 72] Operation: 7+65=72 Moving to Node #0,2,2 Current State: 100:[12, 72], Operations: ['40+25=65', '7+65=72'] Exploring Operation: 12+72=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[12, 72], Operations: ['40+25=65', '7+65=72'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[12, 72], Operations: ['40+25=65', '7+65=72'] Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[7, 12, 65], Operations: ['40+25=65'] Exploring Operation: 12+65=77, Resulting Numbers: [7, 77] Generated Node #0,2,3: 100:[7, 77] Operation: 12+65=77 Moving to Node #0,2,3 Current State: 100:[7, 77], Operations: ['40+25=65', '12+65=77'] Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[7, 77], Operations: ['40+25=65', '12+65=77'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[7, 77], Operations: ['40+25=65', '12+65=77'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[7, 12, 65], Operations: ['40+25=65'] Exploring Operation: 12-7=5, Resulting Numbers: [65, 5] Generated Node #0,2,4: 100:[65, 5] Operation: 12-7=5 Moving to Node #0,2,4 Current State: 100:[65, 5], Operations: ['40+25=65', '12-7=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,2,4 Current State: 100:[65, 5], Operations: ['40+25=65', '12-7=5'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,2,4 Current State: 100:[65, 5], Operations: ['40+25=65', '12-7=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[7, 12, 65], Operations: ['40+25=65'] Exploring Operation: 65-7=58, Resulting Numbers: [12, 58] Generated Node #0,2,5: 100:[12, 58] Operation: 65-7=58 Moving to Node #0,2,5 Current State: 100:[12, 58], Operations: ['40+25=65', '65-7=58'] Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,2,5 Current State: 100:[12, 58], Operations: ['40+25=65', '65-7=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,2 Current State: 100:[7, 12, 65], Operations: ['40+25=65'] Exploring Operation: 65-12=53, Resulting Numbers: [7, 53] Generated Node #0,2,6: 100:[7, 53] Operation: 65-12=53 Moving to Node #0,2,6 Current State: 100:[7, 53], Operations: ['40+25=65', '65-12=53'] Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,2,6 Current State: 100:[7, 53], Operations: ['40+25=65', '65-12=53'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 40+12=52, Resulting Numbers: [7, 25, 52] Generated Node #0,3: 100:[7, 25, 52] Operation: 40+12=52 Moving to Node #0,3 Current State: 100:[7, 25, 52], Operations: ['40+12=52'] Exploring Operation: 7+25=32, Resulting Numbers: [52, 32] Generated Node #0,3,0: 100:[52, 32] Operation: 7+25=32 Moving to Node #0,3,0 Current State: 100:[52, 32], Operations: ['40+12=52', '7+25=32'] Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[52, 32], Operations: ['40+12=52', '7+25=32'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[7, 25, 52], Operations: ['40+12=52'] Exploring Operation: 7+52=59, Resulting Numbers: [25, 59] Generated Node #0,3,1: 100:[25, 59] Operation: 7+52=59 Moving to Node #0,3,1 Current State: 100:[25, 59], Operations: ['40+12=52', '7+52=59'] Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[25, 59], Operations: ['40+12=52', '7+52=59'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[7, 25, 52], Operations: ['40+12=52'] Exploring Operation: 25+52=77, Resulting Numbers: [7, 77] Generated Node #0,3,2: 100:[7, 77] Operation: 25+52=77 Moving to Node #0,3,2 Current State: 100:[7, 77], Operations: ['40+12=52', '25+52=77'] Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[7, 77], Operations: ['40+12=52', '25+52=77'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[7, 77], Operations: ['40+12=52', '25+52=77'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[7, 25, 52], Operations: ['40+12=52'] Exploring Operation: 7*25=175, Resulting Numbers: [52, 175] Generated Node #0,3,3: 100:[52, 175] Operation: 7*25=175 Moving to Node #0,3,3 Current State: 100:[52, 175], Operations: ['40+12=52', '7*25=175'] Exploring Operation: 175-52=123, Resulting Numbers: [123] 123,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[7, 25, 52], Operations: ['40+12=52'] Exploring Operation: 25-7=18, Resulting Numbers: [52, 18] Generated Node #0,3,4: 100:[52, 18] Operation: 25-7=18 Moving to Node #0,3,4 Current State: 100:[52, 18], Operations: ['40+12=52', '25-7=18'] Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[52, 18], Operations: ['40+12=52', '25-7=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[7, 25, 52], Operations: ['40+12=52'] Exploring Operation: 52-7=45, Resulting Numbers: [25, 45] Generated Node #0,3,5: 100:[25, 45] Operation: 52-7=45 Moving to Node #0,3,5 Current State: 100:[25, 45], Operations: ['40+12=52', '52-7=45'] Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,3,5 Current State: 100:[25, 45], Operations: ['40+12=52', '52-7=45'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,3 Current State: 100:[7, 25, 52], Operations: ['40+12=52'] Exploring Operation: 52-25=27, Resulting Numbers: [7, 27] Generated Node #0,3,6: 100:[7, 27] Operation: 52-25=27 Moving to Node #0,3,6 Current State: 100:[7, 27], Operations: ['40+12=52', '52-25=27'] Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,3,6 Current State: 100:[7, 27], Operations: ['40+12=52', '52-25=27'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,3,6 Current State: 100:[7, 27], Operations: ['40+12=52', '52-25=27'] Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 7+25=32, Resulting Numbers: [40, 12, 32] Generated Node #0,4: 100:[40, 12, 32] Operation: 7+25=32 Moving to Node #0,4 Current State: 100:[40, 12, 32], Operations: ['7+25=32'] Exploring Operation: 40+12=52, Resulting Numbers: [32, 52] Generated Node #0,4,0: 100:[32, 52] Operation: 40+12=52 Moving to Node #0,4,0 Current State: 100:[32, 52], Operations: ['7+25=32', '40+12=52'] Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,4,0 Current State: 100:[32, 52], Operations: ['7+25=32', '40+12=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[40, 12, 32], Operations: ['7+25=32'] Exploring Operation: 40+32=72, Resulting Numbers: [12, 72] Generated Node #0,4,1: 100:[12, 72] Operation: 40+32=72 Moving to Node #0,4,1 Current State: 100:[12, 72], Operations: ['7+25=32', '40+32=72'] Exploring Operation: 12+72=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,4,1 Current State: 100:[12, 72], Operations: ['7+25=32', '40+32=72'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,4,1 Current State: 100:[12, 72], Operations: ['7+25=32', '40+32=72'] Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[40, 12, 32], Operations: ['7+25=32'] Exploring Operation: 12+32=44, Resulting Numbers: [40, 44] Generated Node #0,4,2: 100:[40, 44] Operation: 12+32=44 Moving to Node #0,4,2 Current State: 100:[40, 44], Operations: ['7+25=32', '12+32=44'] Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,4,2 Current State: 100:[40, 44], Operations: ['7+25=32', '12+32=44'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[40, 12, 32], Operations: ['7+25=32'] Exploring Operation: 40-12=28, Resulting Numbers: [32, 28] Generated Node #0,4,3: 100:[32, 28] Operation: 40-12=28 Moving to Node #0,4,3 Current State: 100:[32, 28], Operations: ['7+25=32', '40-12=28'] Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,4,3 Current State: 100:[32, 28], Operations: ['7+25=32', '40-12=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[40, 12, 32], Operations: ['7+25=32'] Exploring Operation: 32-12=20, Resulting Numbers: [40, 20] Generated Node #0,4,4: 100:[40, 20] Operation: 32-12=20 Moving to Node #0,4,4 Current State: 100:[40, 20], Operations: ['7+25=32', '32-12=20'] Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,4,4 Current State: 100:[40, 20], Operations: ['7+25=32', '32-12=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,4,4 Current State: 100:[40, 20], Operations: ['7+25=32', '32-12=20'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,4 Current State: 100:[40, 12, 32], Operations: ['7+25=32'] Exploring Operation: 40-32=8, Resulting Numbers: [12, 8] Generated Node #0,4,5: 100:[12, 8] Operation: 40-32=8 Moving to Node #0,4,5 Current State: 100:[12, 8], Operations: ['7+25=32', '40-32=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,100 unequal: No Solution Moving to Node #0,4,5 Current State: 100:[12, 8], Operations: ['7+25=32', '40-32=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,4,5 Current State: 100:[12, 8], Operations: ['7+25=32', '40-32=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 7+12=19, Resulting Numbers: [40, 25, 19] Generated Node #0,5: 100:[40, 25, 19] Operation: 7+12=19 Moving to Node #0,5 Current State: 100:[40, 25, 19], Operations: ['7+12=19'] Exploring Operation: 40+25=65, Resulting Numbers: [19, 65] Generated Node #0,5,0: 100:[19, 65] Operation: 40+25=65 Moving to Node #0,5,0 Current State: 100:[19, 65], Operations: ['7+12=19', '40+25=65'] Exploring Operation: 19+65=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,5,0 Current State: 100:[19, 65], Operations: ['7+12=19', '40+25=65'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[40, 25, 19], Operations: ['7+12=19'] Exploring Operation: 40+19=59, Resulting Numbers: [25, 59] Generated Node #0,5,1: 100:[25, 59] Operation: 40+19=59 Moving to Node #0,5,1 Current State: 100:[25, 59], Operations: ['7+12=19', '40+19=59'] Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,5,1 Current State: 100:[25, 59], Operations: ['7+12=19', '40+19=59'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[40, 25, 19], Operations: ['7+12=19'] Exploring Operation: 25+19=44, Resulting Numbers: [40, 44] Generated Node #0,5,2: 100:[40, 44] Operation: 25+19=44 Moving to Node #0,5,2 Current State: 100:[40, 44], Operations: ['7+12=19', '25+19=44'] Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,5,2 Current State: 100:[40, 44], Operations: ['7+12=19', '25+19=44'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[40, 25, 19], Operations: ['7+12=19'] Exploring Operation: 40-19=21, Resulting Numbers: [25, 21] Generated Node #0,5,3: 100:[25, 21] Operation: 40-19=21 Moving to Node #0,5,3 Current State: 100:[25, 21], Operations: ['7+12=19', '40-19=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,5,3 Current State: 100:[25, 21], Operations: ['7+12=19', '40-19=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[40, 25, 19], Operations: ['7+12=19'] Exploring Operation: 25-19=6, Resulting Numbers: [40, 6] Generated Node #0,5,4: 100:[40, 6] Operation: 25-19=6 Moving to Node #0,5,4 Current State: 100:[40, 6], Operations: ['7+12=19', '25-19=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,5,4 Current State: 100:[40, 6], Operations: ['7+12=19', '25-19=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,5 Current State: 100:[40, 25, 19], Operations: ['7+12=19'] Exploring Operation: 40-25=15, Resulting Numbers: [19, 15] Generated Node #0,5,5: 100:[19, 15] Operation: 40-25=15 Moving to Node #0,5,5 Current State: 100:[19, 15], Operations: ['7+12=19', '40-25=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,5,5 Current State: 100:[19, 15], Operations: ['7+12=19', '40-25=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 25+12=37, Resulting Numbers: [40, 7, 37] Generated Node #0,6: 100:[40, 7, 37] Operation: 25+12=37 Moving to Node #0,6 Current State: 100:[40, 7, 37], Operations: ['25+12=37'] Exploring Operation: 40+7=47, Resulting Numbers: [37, 47] Generated Node #0,6,0: 100:[37, 47] Operation: 40+7=47 Moving to Node #0,6,0 Current State: 100:[37, 47], Operations: ['25+12=37', '40+7=47'] Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,6,0 Current State: 100:[37, 47], Operations: ['25+12=37', '40+7=47'] Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[40, 7, 37], Operations: ['25+12=37'] Exploring Operation: 40+37=77, Resulting Numbers: [7, 77] Generated Node #0,6,1: 100:[7, 77] Operation: 40+37=77 Moving to Node #0,6,1 Current State: 100:[7, 77], Operations: ['25+12=37', '40+37=77'] Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,6,1 Current State: 100:[7, 77], Operations: ['25+12=37', '40+37=77'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,6,1 Current State: 100:[7, 77], Operations: ['25+12=37', '40+37=77'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[40, 7, 37], Operations: ['25+12=37'] Exploring Operation: 7+37=44, Resulting Numbers: [40, 44] Generated Node #0,6,2: 100:[40, 44] Operation: 7+37=44 Moving to Node #0,6,2 Current State: 100:[40, 44], Operations: ['25+12=37', '7+37=44'] Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,6,2 Current State: 100:[40, 44], Operations: ['25+12=37', '7+37=44'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[40, 7, 37], Operations: ['25+12=37'] Exploring Operation: 40-7=33, Resulting Numbers: [37, 33] Generated Node #0,6,3: 100:[37, 33] Operation: 40-7=33 Moving to Node #0,6,3 Current State: 100:[37, 33], Operations: ['25+12=37', '40-7=33'] Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,6,3 Current State: 100:[37, 33], Operations: ['25+12=37', '40-7=33'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[40, 7, 37], Operations: ['25+12=37'] Exploring Operation: 37-7=30, Resulting Numbers: [40, 30] Generated Node #0,6,4: 100:[40, 30] Operation: 37-7=30 Moving to Node #0,6,4 Current State: 100:[40, 30], Operations: ['25+12=37', '37-7=30'] Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,6,4 Current State: 100:[40, 30], Operations: ['25+12=37', '37-7=30'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,6 Current State: 100:[40, 7, 37], Operations: ['25+12=37'] Exploring Operation: 40-37=3, Resulting Numbers: [7, 3] Generated Node #0,6,5: 100:[7, 3] Operation: 40-37=3 Moving to Node #0,6,5 Current State: 100:[7, 3], Operations: ['25+12=37', '40-37=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,100 unequal: No Solution Moving to Node #0,6,5 Current State: 100:[7, 3], Operations: ['25+12=37', '40-37=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,6,5 Current State: 100:[7, 3], Operations: ['25+12=37', '40-37=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 7*25=175, Resulting Numbers: [40, 12, 175] Generated Node #0,7: 100:[40, 12, 175] Operation: 7*25=175 Moving to Node #0,7 Current State: 100:[40, 12, 175], Operations: ['7*25=175'] Exploring Operation: 40+12=52, Resulting Numbers: [175, 52] Generated Node #0,7,0: 100:[175, 52] Operation: 40+12=52 Moving to Node #0,7,0 Current State: 100:[175, 52], Operations: ['7*25=175', '40+12=52'] Exploring Operation: 175-52=123, Resulting Numbers: [123] 123,100 unequal: No Solution Moving to Node #0,7 Current State: 100:[40, 12, 175], Operations: ['7*25=175'] Exploring Operation: 175-40=135, Resulting Numbers: [12, 135] Generated Node #0,7,1: 100:[12, 135] Operation: 175-40=135 Moving to Node #0,7,1 Current State: 100:[12, 135], Operations: ['7*25=175', '175-40=135'] Exploring Operation: 135-12=123, Resulting Numbers: [123] 123,100 unequal: No Solution Moving to Node #0,7,1 Current State: 100:[12, 135], Operations: ['7*25=175', '175-40=135'] Exploring Operation: 12+135=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,7 Current State: 100:[40, 12, 175], Operations: ['7*25=175'] Exploring Operation: 175-12=163, Resulting Numbers: [40, 163] Generated Node #0,7,2: 100:[40, 163] Operation: 175-12=163 Moving to Node #0,7,2 Current State: 100:[40, 163], Operations: ['7*25=175', '175-12=163'] Exploring Operation: 163-40=123, Resulting Numbers: [123] 123,100 unequal: No Solution Moving to Node #0,7 Current State: 100:[40, 12, 175], Operations: ['7*25=175'] Exploring Operation: 40-12=28, Resulting Numbers: [175, 28] Generated Node #0,7,3: 100:[175, 28] Operation: 40-12=28 Moving to Node #0,7,3 Current State: 100:[175, 28], Operations: ['7*25=175', '40-12=28'] Exploring Operation: 175-28=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,7 Current State: 100:[40, 12, 175], Operations: ['7*25=175'] Exploring Operation: 12+175=187, Resulting Numbers: [40, 187] Generated Node #0,7,4: 100:[40, 187] Operation: 12+175=187 Moving to Node #0,7,4 Current State: 100:[40, 187], Operations: ['7*25=175', '12+175=187'] Exploring Operation: 187-40=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 40-7=33, Resulting Numbers: [25, 12, 33] Generated Node #0,8: 100:[25, 12, 33] Operation: 40-7=33 Moving to Node #0,8 Current State: 100:[25, 12, 33], Operations: ['40-7=33'] Exploring Operation: 25+12=37, Resulting Numbers: [33, 37] Generated Node #0,8,0: 100:[33, 37] Operation: 25+12=37 Moving to Node #0,8,0 Current State: 100:[33, 37], Operations: ['40-7=33', '25+12=37'] Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,8,0 Current State: 100:[33, 37], Operations: ['40-7=33', '25+12=37'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[25, 12, 33], Operations: ['40-7=33'] Exploring Operation: 25+33=58, Resulting Numbers: [12, 58] Generated Node #0,8,1: 100:[12, 58] Operation: 25+33=58 Moving to Node #0,8,1 Current State: 100:[12, 58], Operations: ['40-7=33', '25+33=58'] Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,8,1 Current State: 100:[12, 58], Operations: ['40-7=33', '25+33=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[25, 12, 33], Operations: ['40-7=33'] Exploring Operation: 12+33=45, Resulting Numbers: [25, 45] Generated Node #0,8,2: 100:[25, 45] Operation: 12+33=45 Moving to Node #0,8,2 Current State: 100:[25, 45], Operations: ['40-7=33', '12+33=45'] Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,8,2 Current State: 100:[25, 45], Operations: ['40-7=33', '12+33=45'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[25, 12, 33], Operations: ['40-7=33'] Exploring Operation: 25-12=13, Resulting Numbers: [33, 13] Generated Node #0,8,3: 100:[33, 13] Operation: 25-12=13 Moving to Node #0,8,3 Current State: 100:[33, 13], Operations: ['40-7=33', '25-12=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,8,3 Current State: 100:[33, 13], Operations: ['40-7=33', '25-12=13'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[25, 12, 33], Operations: ['40-7=33'] Exploring Operation: 33-12=21, Resulting Numbers: [25, 21] Generated Node #0,8,4: 100:[25, 21] Operation: 33-12=21 Moving to Node #0,8,4 Current State: 100:[25, 21], Operations: ['40-7=33', '33-12=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,8,4 Current State: 100:[25, 21], Operations: ['40-7=33', '33-12=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,8 Current State: 100:[25, 12, 33], Operations: ['40-7=33'] Exploring Operation: 33-25=8, Resulting Numbers: [12, 8] Generated Node #0,8,5: 100:[12, 8] Operation: 33-25=8 Moving to Node #0,8,5 Current State: 100:[12, 8], Operations: ['40-7=33', '33-25=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,100 unequal: No Solution Moving to Node #0,8,5 Current State: 100:[12, 8], Operations: ['40-7=33', '33-25=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,8,5 Current State: 100:[12, 8], Operations: ['40-7=33', '33-25=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 25-7=18, Resulting Numbers: [40, 12, 18] Generated Node #0,9: 100:[40, 12, 18] Operation: 25-7=18 Moving to Node #0,9 Current State: 100:[40, 12, 18], Operations: ['25-7=18'] Exploring Operation: 40+12=52, Resulting Numbers: [18, 52] Generated Node #0,9,0: 100:[18, 52] Operation: 40+12=52 Moving to Node #0,9,0 Current State: 100:[18, 52], Operations: ['25-7=18', '40+12=52'] Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,9,0 Current State: 100:[18, 52], Operations: ['25-7=18', '40+12=52'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[40, 12, 18], Operations: ['25-7=18'] Exploring Operation: 40+18=58, Resulting Numbers: [12, 58] Generated Node #0,9,1: 100:[12, 58] Operation: 40+18=58 Moving to Node #0,9,1 Current State: 100:[12, 58], Operations: ['25-7=18', '40+18=58'] Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,9,1 Current State: 100:[12, 58], Operations: ['25-7=18', '40+18=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[40, 12, 18], Operations: ['25-7=18'] Exploring Operation: 12+18=30, Resulting Numbers: [40, 30] Generated Node #0,9,2: 100:[40, 30] Operation: 12+18=30 Moving to Node #0,9,2 Current State: 100:[40, 30], Operations: ['25-7=18', '12+18=30'] Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,9,2 Current State: 100:[40, 30], Operations: ['25-7=18', '12+18=30'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[40, 12, 18], Operations: ['25-7=18'] Exploring Operation: 40-12=28, Resulting Numbers: [18, 28] Generated Node #0,9,3: 100:[18, 28] Operation: 40-12=28 Moving to Node #0,9,3 Current State: 100:[18, 28], Operations: ['25-7=18', '40-12=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,9,3 Current State: 100:[18, 28], Operations: ['25-7=18', '40-12=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[40, 12, 18], Operations: ['25-7=18'] Exploring Operation: 18-12=6, Resulting Numbers: [40, 6] Generated Node #0,9,4: 100:[40, 6] Operation: 18-12=6 Moving to Node #0,9,4 Current State: 100:[40, 6], Operations: ['25-7=18', '18-12=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,9,4 Current State: 100:[40, 6], Operations: ['25-7=18', '18-12=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[40, 12, 18], Operations: ['25-7=18'] Exploring Operation: 40-18=22, Resulting Numbers: [12, 22] Generated Node #0,9,5: 100:[12, 22] Operation: 40-18=22 Moving to Node #0,9,5 Current State: 100:[12, 22], Operations: ['25-7=18', '40-18=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,9,5 Current State: 100:[12, 22], Operations: ['25-7=18', '40-18=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,9 Current State: 100:[40, 12, 18], Operations: ['25-7=18'] Exploring Operation: 12*18=216, Resulting Numbers: [40, 216] Generated Node #0,9,6: 100:[40, 216] Operation: 12*18=216 Moving to Node #0,9,6 Current State: 100:[40, 216], Operations: ['25-7=18', '12*18=216'] Exploring Operation: 216-40=176, Resulting Numbers: [176] 176,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 12-7=5, Resulting Numbers: [40, 25, 5] Generated Node #0,10: 100:[40, 25, 5] Operation: 12-7=5 Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 25*5=125, Resulting Numbers: [40, 125] Generated Node #0,10,0: 100:[40, 125] Operation: 25*5=125 Moving to Node #0,10,0 Current State: 100:[40, 125], Operations: ['12-7=5', '25*5=125'] Exploring Operation: 125-40=85, Resulting Numbers: [85] 85,100 unequal: No Solution Moving to Node #0,10,0 Current State: 100:[40, 125], Operations: ['12-7=5', '25*5=125'] Exploring Operation: 40+125=165, Resulting Numbers: [165] 165,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 40+25=65, Resulting Numbers: [5, 65] Generated Node #0,10,1: 100:[5, 65] Operation: 40+25=65 Moving to Node #0,10,1 Current State: 100:[5, 65], Operations: ['12-7=5', '40+25=65'] Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,10,1 Current State: 100:[5, 65], Operations: ['12-7=5', '40+25=65'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,10,1 Current State: 100:[5, 65], Operations: ['12-7=5', '40+25=65'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 40+5=45, Resulting Numbers: [25, 45] Generated Node #0,10,2: 100:[25, 45] Operation: 40+5=45 Moving to Node #0,10,2 Current State: 100:[25, 45], Operations: ['12-7=5', '40+5=45'] Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,10,2 Current State: 100:[25, 45], Operations: ['12-7=5', '40+5=45'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 25+5=30, Resulting Numbers: [40, 30] Generated Node #0,10,3: 100:[40, 30] Operation: 25+5=30 Moving to Node #0,10,3 Current State: 100:[40, 30], Operations: ['12-7=5', '25+5=30'] Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,10,3 Current State: 100:[40, 30], Operations: ['12-7=5', '25+5=30'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 40-5=35, Resulting Numbers: [25, 35] Generated Node #0,10,4: 100:[25, 35] Operation: 40-5=35 Moving to Node #0,10,4 Current State: 100:[25, 35], Operations: ['12-7=5', '40-5=35'] Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,10,4 Current State: 100:[25, 35], Operations: ['12-7=5', '40-5=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 25-5=20, Resulting Numbers: [40, 20] Generated Node #0,10,5: 100:[40, 20] Operation: 25-5=20 Moving to Node #0,10,5 Current State: 100:[40, 20], Operations: ['12-7=5', '25-5=20'] Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,10,5 Current State: 100:[40, 20], Operations: ['12-7=5', '25-5=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,10,5 Current State: 100:[40, 20], Operations: ['12-7=5', '25-5=20'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 25/5=5, Resulting Numbers: [40, 5] Generated Node #0,10,6: 100:[40, 5] Operation: 25/5=5 Moving to Node #0,10,6 Current State: 100:[40, 5], Operations: ['12-7=5', '25/5=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,100 unequal: No Solution Moving to Node #0,10,6 Current State: 100:[40, 5], Operations: ['12-7=5', '25/5=5'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,100 unequal: No Solution Moving to Node #0,10,6 Current State: 100:[40, 5], Operations: ['12-7=5', '25/5=5'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,100 unequal: No Solution Moving to Node #0,10,6 Current State: 100:[40, 5], Operations: ['12-7=5', '25/5=5'] Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 40/5=8, Resulting Numbers: [25, 8] Generated Node #0,10,7: 100:[25, 8] Operation: 40/5=8 Moving to Node #0,10,7 Current State: 100:[25, 8], Operations: ['12-7=5', '40/5=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,100 unequal: No Solution Moving to Node #0,10,7 Current State: 100:[25, 8], Operations: ['12-7=5', '40/5=8'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,100 unequal: No Solution Moving to Node #0,10,7 Current State: 100:[25, 8], Operations: ['12-7=5', '40/5=8'] Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 40*5=200, Resulting Numbers: [25, 200] Generated Node #0,10,8: 100:[25, 200] Operation: 40*5=200 Moving to Node #0,10,8 Current State: 100:[25, 200], Operations: ['12-7=5', '40*5=200'] Exploring Operation: 200-25=175, Resulting Numbers: [175] 175,100 unequal: No Solution Moving to Node #0,10,8 Current State: 100:[25, 200], Operations: ['12-7=5', '40*5=200'] Exploring Operation: 200/25=8, Resulting Numbers: [8] 8,100 unequal: No Solution Moving to Node #0,10 Current State: 100:[40, 25, 5], Operations: ['12-7=5'] Exploring Operation: 40-25=15, Resulting Numbers: [5, 15] Generated Node #0,10,9: 100:[5, 15] Operation: 40-25=15 Moving to Node #0,10,9 Current State: 100:[5, 15], Operations: ['12-7=5', '40-25=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,100 unequal: No Solution Moving to Node #0,10,9 Current State: 100:[5, 15], Operations: ['12-7=5', '40-25=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,10,9 Current State: 100:[5, 15], Operations: ['12-7=5', '40-25=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,10,9 Current State: 100:[5, 15], Operations: ['12-7=5', '40-25=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0 Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 40-12=28, Resulting Numbers: [7, 25, 28] Generated Node #0,11: 100:[7, 25, 28] Operation: 40-12=28 Moving to Node #0,11 Current State: 100:[7, 25, 28], Operations: ['40-12=28'] Exploring Operation: 7+25=32, Resulting Numbers: [28, 32] Generated Node #0,11,0: 100:[28, 32] Operation: 7+25=32 Moving to Node #0,11,0 Current State: 100:[28, 32], Operations: ['40-12=28', '7+25=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,11,0 Current State: 100:[28, 32], Operations: ['40-12=28', '7+25=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[7, 25, 28], Operations: ['40-12=28'] Exploring Operation: 7+28=35, Resulting Numbers: [25, 35] Generated Node #0,11,1: 100:[25, 35] Operation: 7+28=35 Moving to Node #0,11,1 Current State: 100:[25, 35], Operations: ['40-12=28', '7+28=35'] Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,11,1 Current State: 100:[25, 35], Operations: ['40-12=28', '7+28=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[7, 25, 28], Operations: ['40-12=28'] Exploring Operation: 25+28=53, Resulting Numbers: [7, 53] Generated Node #0,11,2: 100:[7, 53] Operation: 25+28=53 Moving to Node #0,11,2 Current State: 100:[7, 53], Operations: ['40-12=28', '25+28=53'] Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,11,2 Current State: 100:[7, 53], Operations: ['40-12=28', '25+28=53'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[7, 25, 28], Operations: ['40-12=28'] Exploring Operation: 7*25=175, Resulting Numbers: [28, 175] Generated Node #0,11,3: 100:[28, 175] Operation: 7*25=175 Moving to Node #0,11,3 Current State: 100:[28, 175], Operations: ['40-12=28', '7*25=175'] Exploring Operation: 175-28=147, Resulting Numbers: [147] 147,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[7, 25, 28], Operations: ['40-12=28'] Exploring Operation: 25-7=18, Resulting Numbers: [28, 18] Generated Node #0,11,4: 100:[28, 18] Operation: 25-7=18 Moving to Node #0,11,4 Current State: 100:[28, 18], Operations: ['40-12=28', '25-7=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,11,4 Current State: 100:[28, 18], Operations: ['40-12=28', '25-7=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[7, 25, 28], Operations: ['40-12=28'] Exploring Operation: 28-7=21, Resulting Numbers: [25, 21] Generated Node #0,11,5: 100:[25, 21] Operation: 28-7=21 Moving to Node #0,11,5 Current State: 100:[25, 21], Operations: ['40-12=28', '28-7=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,11,5 Current State: 100:[25, 21], Operations: ['40-12=28', '28-7=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[7, 25, 28], Operations: ['40-12=28'] Exploring Operation: 7*28=196, Resulting Numbers: [25, 196] Generated Node #0,11,6: 100:[25, 196] Operation: 7*28=196 Moving to Node #0,11,6 Current State: 100:[25, 196], Operations: ['40-12=28', '7*28=196'] Exploring Operation: 196-25=171, Resulting Numbers: [171] 171,100 unequal: No Solution Moving to Node #0,11 Current State: 100:[7, 25, 28], Operations: ['40-12=28'] Exploring Operation: 28/7=4, Resulting Numbers: [25, 4] Generated Node #0,11,7: 100:[25, 4] Operation: 28/7=4 Moving to Node #0,11,7 Current State: 100:[25, 4], Operations: ['40-12=28', '28/7=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.771701
dfs
Current State: 100:[40, 7, 25, 12], Operations: [] Exploring Operation: 40-12=28, Resulting Numbers: [7, 25, 28] Generated Node #2: [7, 25, 28] from Operation: 40-12=28 Current State: 100:[7, 25, 28], Operations: ['40-12=28'] Exploring Operation: 28/7=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 28/7=4 Current State: 100:[25, 4], Operations: ['40-12=28', '28/7=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
sum_heuristic
[ { "content": "Make 100 with the numbers [40, 7, 25, 12] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 7*12=84, Resulting Numbers: [40, 25, 84]\nGenerated Node #0,0: 100:[40, 25, 84] Operation: 7*12=84\nMoving to Node #0,0\nCurrent State: 100:[40, 25, 84], Operations: ['7*12=84']\nExploring Operation: 40+25=65, Resulting Numbers: [84, 65]\nGenerated Node #0,0,0: 100:[84, 65] Operation: 40+25=65\nMoving to Node #0,0,0\nCurrent State: 100:[84, 65], Operations: ['7*12=84', '40+25=65']\nExploring Operation: 84+65=149, Resulting Numbers: [149]\n149,100 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 100:[84, 65], Operations: ['7*12=84', '40+25=65']\nExploring Operation: 84-65=19, Resulting Numbers: [19]\n19,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[40, 25, 84], Operations: ['7*12=84']\nExploring Operation: 25+84=109, Resulting Numbers: [40, 109]\nGenerated Node #0,0,1: 100:[40, 109] Operation: 25+84=109\nMoving to Node #0,0,1\nCurrent State: 100:[40, 109], Operations: ['7*12=84', '25+84=109']\nExploring Operation: 109-40=69, Resulting Numbers: [69]\n69,100 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 100:[40, 109], Operations: ['7*12=84', '25+84=109']\nExploring Operation: 40+109=149, Resulting Numbers: [149]\n149,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[40, 25, 84], Operations: ['7*12=84']\nExploring Operation: 40+84=124, Resulting Numbers: [25, 124]\nGenerated Node #0,0,2: 100:[25, 124] Operation: 40+84=124\nMoving to Node #0,0,2\nCurrent State: 100:[25, 124], Operations: ['7*12=84', '40+84=124']\nExploring Operation: 124-25=99, Resulting Numbers: [99]\n99,100 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 100:[25, 124], Operations: ['7*12=84', '40+84=124']\nExploring Operation: 25+124=149, Resulting Numbers: [149]\n149,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[40, 25, 84], Operations: ['7*12=84']\nExploring Operation: 40-25=15, Resulting Numbers: [84, 15]\nGenerated Node #0,0,3: 100:[84, 15] Operation: 40-25=15\nMoving to Node #0,0,3\nCurrent State: 100:[84, 15], Operations: ['7*12=84', '40-25=15']\nExploring Operation: 84+15=99, Resulting Numbers: [99]\n99,100 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 100:[84, 15], Operations: ['7*12=84', '40-25=15']\nExploring Operation: 84-15=69, Resulting Numbers: [69]\n69,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[40, 25, 84], Operations: ['7*12=84']\nExploring Operation: 84-25=59, Resulting Numbers: [40, 59]\nGenerated Node #0,0,4: 100:[40, 59] Operation: 84-25=59\nMoving to Node #0,0,4\nCurrent State: 100:[40, 59], Operations: ['7*12=84', '84-25=59']\nExploring Operation: 40+59=99, Resulting Numbers: [99]\n99,100 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 100:[40, 59], Operations: ['7*12=84', '84-25=59']\nExploring Operation: 59-40=19, Resulting Numbers: [19]\n19,100 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 100:[40, 25, 84], Operations: ['7*12=84']\nExploring Operation: 84-40=44, Resulting Numbers: [25, 44]\nGenerated Node #0,0,5: 100:[25, 44] Operation: 84-40=44\nMoving to Node #0,0,5\nCurrent State: 100:[25, 44], Operations: ['7*12=84', '84-40=44']\nExploring Operation: 25+44=69, Resulting Numbers: [69]\n69,100 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 100:[25, 44], Operations: ['7*12=84', '84-40=44']\nExploring Operation: 44-25=19, Resulting Numbers: [19]\n19,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 40+7=47, Resulting Numbers: [25, 12, 47]\nGenerated Node #0,1: 100:[25, 12, 47] Operation: 40+7=47\nMoving to Node #0,1\nCurrent State: 100:[25, 12, 47], Operations: ['40+7=47']\nExploring Operation: 25+12=37, Resulting Numbers: [47, 37]\nGenerated Node #0,1,0: 100:[47, 37] Operation: 25+12=37\nMoving to Node #0,1,0\nCurrent State: 100:[47, 37], Operations: ['40+7=47', '25+12=37']\nExploring Operation: 47+37=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 100:[47, 37], Operations: ['40+7=47', '25+12=37']\nExploring Operation: 47-37=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[25, 12, 47], Operations: ['40+7=47']\nExploring Operation: 25+47=72, Resulting Numbers: [12, 72]\nGenerated Node #0,1,1: 100:[12, 72] Operation: 25+47=72\nMoving to Node #0,1,1\nCurrent State: 100:[12, 72], Operations: ['40+7=47', '25+47=72']\nExploring Operation: 12+72=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 100:[12, 72], Operations: ['40+7=47', '25+47=72']\nExploring Operation: 72-12=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 100:[12, 72], Operations: ['40+7=47', '25+47=72']\nExploring Operation: 72/12=6, Resulting Numbers: [6]\n6,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[25, 12, 47], Operations: ['40+7=47']\nExploring Operation: 12+47=59, Resulting Numbers: [25, 59]\nGenerated Node #0,1,2: 100:[25, 59] Operation: 12+47=59\nMoving to Node #0,1,2\nCurrent State: 100:[25, 59], Operations: ['40+7=47', '12+47=59']\nExploring Operation: 25+59=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 100:[25, 59], Operations: ['40+7=47', '12+47=59']\nExploring Operation: 59-25=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[25, 12, 47], Operations: ['40+7=47']\nExploring Operation: 25-12=13, Resulting Numbers: [47, 13]\nGenerated Node #0,1,3: 100:[47, 13] Operation: 25-12=13\nMoving to Node #0,1,3\nCurrent State: 100:[47, 13], Operations: ['40+7=47', '25-12=13']\nExploring Operation: 47+13=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 100:[47, 13], Operations: ['40+7=47', '25-12=13']\nExploring Operation: 47-13=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[25, 12, 47], Operations: ['40+7=47']\nExploring Operation: 47-12=35, Resulting Numbers: [25, 35]\nGenerated Node #0,1,4: 100:[25, 35] Operation: 47-12=35\nMoving to Node #0,1,4\nCurrent State: 100:[25, 35], Operations: ['40+7=47', '47-12=35']\nExploring Operation: 25+35=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 100:[25, 35], Operations: ['40+7=47', '47-12=35']\nExploring Operation: 35-25=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 100:[25, 12, 47], Operations: ['40+7=47']\nExploring Operation: 47-25=22, Resulting Numbers: [12, 22]\nGenerated Node #0,1,5: 100:[12, 22] Operation: 47-25=22\nMoving to Node #0,1,5\nCurrent State: 100:[12, 22], Operations: ['40+7=47', '47-25=22']\nExploring Operation: 12+22=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 100:[12, 22], Operations: ['40+7=47', '47-25=22']\nExploring Operation: 22-12=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 40+25=65, Resulting Numbers: [7, 12, 65]\nGenerated Node #0,2: 100:[7, 12, 65] Operation: 40+25=65\nMoving to Node #0,2\nCurrent State: 100:[7, 12, 65], Operations: ['40+25=65']\nExploring Operation: 7*12=84, Resulting Numbers: [65, 84]\nGenerated Node #0,2,0: 100:[65, 84] Operation: 7*12=84\nMoving to Node #0,2,0\nCurrent State: 100:[65, 84], Operations: ['40+25=65', '7*12=84']\nExploring Operation: 65+84=149, Resulting Numbers: [149]\n149,100 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 100:[65, 84], Operations: ['40+25=65', '7*12=84']\nExploring Operation: 84-65=19, Resulting Numbers: [19]\n19,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[7, 12, 65], Operations: ['40+25=65']\nExploring Operation: 7+12=19, Resulting Numbers: [65, 19]\nGenerated Node #0,2,1: 100:[65, 19] Operation: 7+12=19\nMoving to Node #0,2,1\nCurrent State: 100:[65, 19], Operations: ['40+25=65', '7+12=19']\nExploring Operation: 65+19=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 100:[65, 19], Operations: ['40+25=65', '7+12=19']\nExploring Operation: 65-19=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[7, 12, 65], Operations: ['40+25=65']\nExploring Operation: 7+65=72, Resulting Numbers: [12, 72]\nGenerated Node #0,2,2: 100:[12, 72] Operation: 7+65=72\nMoving to Node #0,2,2\nCurrent State: 100:[12, 72], Operations: ['40+25=65', '7+65=72']\nExploring Operation: 12+72=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 100:[12, 72], Operations: ['40+25=65', '7+65=72']\nExploring Operation: 72-12=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 100:[12, 72], Operations: ['40+25=65', '7+65=72']\nExploring Operation: 72/12=6, Resulting Numbers: [6]\n6,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[7, 12, 65], Operations: ['40+25=65']\nExploring Operation: 12+65=77, Resulting Numbers: [7, 77]\nGenerated Node #0,2,3: 100:[7, 77] Operation: 12+65=77\nMoving to Node #0,2,3\nCurrent State: 100:[7, 77], Operations: ['40+25=65', '12+65=77']\nExploring Operation: 7+77=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 100:[7, 77], Operations: ['40+25=65', '12+65=77']\nExploring Operation: 77-7=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 100:[7, 77], Operations: ['40+25=65', '12+65=77']\nExploring Operation: 77/7=11, Resulting Numbers: [11]\n11,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[7, 12, 65], Operations: ['40+25=65']\nExploring Operation: 12-7=5, Resulting Numbers: [65, 5]\nGenerated Node #0,2,4: 100:[65, 5] Operation: 12-7=5\nMoving to Node #0,2,4\nCurrent State: 100:[65, 5], Operations: ['40+25=65', '12-7=5']\nExploring Operation: 65+5=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 100:[65, 5], Operations: ['40+25=65', '12-7=5']\nExploring Operation: 65-5=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 100:[65, 5], Operations: ['40+25=65', '12-7=5']\nExploring Operation: 65/5=13, Resulting Numbers: [13]\n13,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[7, 12, 65], Operations: ['40+25=65']\nExploring Operation: 65-7=58, Resulting Numbers: [12, 58]\nGenerated Node #0,2,5: 100:[12, 58] Operation: 65-7=58\nMoving to Node #0,2,5\nCurrent State: 100:[12, 58], Operations: ['40+25=65', '65-7=58']\nExploring Operation: 12+58=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 100:[12, 58], Operations: ['40+25=65', '65-7=58']\nExploring Operation: 58-12=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 100:[7, 12, 65], Operations: ['40+25=65']\nExploring Operation: 65-12=53, Resulting Numbers: [7, 53]\nGenerated Node #0,2,6: 100:[7, 53] Operation: 65-12=53\nMoving to Node #0,2,6\nCurrent State: 100:[7, 53], Operations: ['40+25=65', '65-12=53']\nExploring Operation: 7+53=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,2,6\nCurrent State: 100:[7, 53], Operations: ['40+25=65', '65-12=53']\nExploring Operation: 53-7=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 40+12=52, Resulting Numbers: [7, 25, 52]\nGenerated Node #0,3: 100:[7, 25, 52] Operation: 40+12=52\nMoving to Node #0,3\nCurrent State: 100:[7, 25, 52], Operations: ['40+12=52']\nExploring Operation: 7+25=32, Resulting Numbers: [52, 32]\nGenerated Node #0,3,0: 100:[52, 32] Operation: 7+25=32\nMoving to Node #0,3,0\nCurrent State: 100:[52, 32], Operations: ['40+12=52', '7+25=32']\nExploring Operation: 52+32=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 100:[52, 32], Operations: ['40+12=52', '7+25=32']\nExploring Operation: 52-32=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[7, 25, 52], Operations: ['40+12=52']\nExploring Operation: 7+52=59, Resulting Numbers: [25, 59]\nGenerated Node #0,3,1: 100:[25, 59] Operation: 7+52=59\nMoving to Node #0,3,1\nCurrent State: 100:[25, 59], Operations: ['40+12=52', '7+52=59']\nExploring Operation: 25+59=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 100:[25, 59], Operations: ['40+12=52', '7+52=59']\nExploring Operation: 59-25=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[7, 25, 52], Operations: ['40+12=52']\nExploring Operation: 25+52=77, Resulting Numbers: [7, 77]\nGenerated Node #0,3,2: 100:[7, 77] Operation: 25+52=77\nMoving to Node #0,3,2\nCurrent State: 100:[7, 77], Operations: ['40+12=52', '25+52=77']\nExploring Operation: 7+77=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 100:[7, 77], Operations: ['40+12=52', '25+52=77']\nExploring Operation: 77-7=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 100:[7, 77], Operations: ['40+12=52', '25+52=77']\nExploring Operation: 77/7=11, Resulting Numbers: [11]\n11,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[7, 25, 52], Operations: ['40+12=52']\nExploring Operation: 7*25=175, Resulting Numbers: [52, 175]\nGenerated Node #0,3,3: 100:[52, 175] Operation: 7*25=175\nMoving to Node #0,3,3\nCurrent State: 100:[52, 175], Operations: ['40+12=52', '7*25=175']\nExploring Operation: 175-52=123, Resulting Numbers: [123]\n123,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[7, 25, 52], Operations: ['40+12=52']\nExploring Operation: 25-7=18, Resulting Numbers: [52, 18]\nGenerated Node #0,3,4: 100:[52, 18] Operation: 25-7=18\nMoving to Node #0,3,4\nCurrent State: 100:[52, 18], Operations: ['40+12=52', '25-7=18']\nExploring Operation: 52+18=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 100:[52, 18], Operations: ['40+12=52', '25-7=18']\nExploring Operation: 52-18=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[7, 25, 52], Operations: ['40+12=52']\nExploring Operation: 52-7=45, Resulting Numbers: [25, 45]\nGenerated Node #0,3,5: 100:[25, 45] Operation: 52-7=45\nMoving to Node #0,3,5\nCurrent State: 100:[25, 45], Operations: ['40+12=52', '52-7=45']\nExploring Operation: 25+45=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 100:[25, 45], Operations: ['40+12=52', '52-7=45']\nExploring Operation: 45-25=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 100:[7, 25, 52], Operations: ['40+12=52']\nExploring Operation: 52-25=27, Resulting Numbers: [7, 27]\nGenerated Node #0,3,6: 100:[7, 27] Operation: 52-25=27\nMoving to Node #0,3,6\nCurrent State: 100:[7, 27], Operations: ['40+12=52', '52-25=27']\nExploring Operation: 7+27=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 100:[7, 27], Operations: ['40+12=52', '52-25=27']\nExploring Operation: 27-7=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 100:[7, 27], Operations: ['40+12=52', '52-25=27']\nExploring Operation: 7*27=189, Resulting Numbers: [189]\n189,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 7+25=32, Resulting Numbers: [40, 12, 32]\nGenerated Node #0,4: 100:[40, 12, 32] Operation: 7+25=32\nMoving to Node #0,4\nCurrent State: 100:[40, 12, 32], Operations: ['7+25=32']\nExploring Operation: 40+12=52, Resulting Numbers: [32, 52]\nGenerated Node #0,4,0: 100:[32, 52] Operation: 40+12=52\nMoving to Node #0,4,0\nCurrent State: 100:[32, 52], Operations: ['7+25=32', '40+12=52']\nExploring Operation: 32+52=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 100:[32, 52], Operations: ['7+25=32', '40+12=52']\nExploring Operation: 52-32=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[40, 12, 32], Operations: ['7+25=32']\nExploring Operation: 40+32=72, Resulting Numbers: [12, 72]\nGenerated Node #0,4,1: 100:[12, 72] Operation: 40+32=72\nMoving to Node #0,4,1\nCurrent State: 100:[12, 72], Operations: ['7+25=32', '40+32=72']\nExploring Operation: 12+72=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 100:[12, 72], Operations: ['7+25=32', '40+32=72']\nExploring Operation: 72-12=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 100:[12, 72], Operations: ['7+25=32', '40+32=72']\nExploring Operation: 72/12=6, Resulting Numbers: [6]\n6,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[40, 12, 32], Operations: ['7+25=32']\nExploring Operation: 12+32=44, Resulting Numbers: [40, 44]\nGenerated Node #0,4,2: 100:[40, 44] Operation: 12+32=44\nMoving to Node #0,4,2\nCurrent State: 100:[40, 44], Operations: ['7+25=32', '12+32=44']\nExploring Operation: 40+44=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 100:[40, 44], Operations: ['7+25=32', '12+32=44']\nExploring Operation: 44-40=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[40, 12, 32], Operations: ['7+25=32']\nExploring Operation: 40-12=28, Resulting Numbers: [32, 28]\nGenerated Node #0,4,3: 100:[32, 28] Operation: 40-12=28\nMoving to Node #0,4,3\nCurrent State: 100:[32, 28], Operations: ['7+25=32', '40-12=28']\nExploring Operation: 32+28=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 100:[32, 28], Operations: ['7+25=32', '40-12=28']\nExploring Operation: 32-28=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[40, 12, 32], Operations: ['7+25=32']\nExploring Operation: 32-12=20, Resulting Numbers: [40, 20]\nGenerated Node #0,4,4: 100:[40, 20] Operation: 32-12=20\nMoving to Node #0,4,4\nCurrent State: 100:[40, 20], Operations: ['7+25=32', '32-12=20']\nExploring Operation: 40+20=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 100:[40, 20], Operations: ['7+25=32', '32-12=20']\nExploring Operation: 40-20=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 100:[40, 20], Operations: ['7+25=32', '32-12=20']\nExploring Operation: 40/20=2, Resulting Numbers: [2]\n2,100 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 100:[40, 12, 32], Operations: ['7+25=32']\nExploring Operation: 40-32=8, Resulting Numbers: [12, 8]\nGenerated Node #0,4,5: 100:[12, 8] Operation: 40-32=8\nMoving to Node #0,4,5\nCurrent State: 100:[12, 8], Operations: ['7+25=32', '40-32=8']\nExploring Operation: 12*8=96, Resulting Numbers: [96]\n96,100 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 100:[12, 8], Operations: ['7+25=32', '40-32=8']\nExploring Operation: 12+8=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 100:[12, 8], Operations: ['7+25=32', '40-32=8']\nExploring Operation: 12-8=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 7+12=19, Resulting Numbers: [40, 25, 19]\nGenerated Node #0,5: 100:[40, 25, 19] Operation: 7+12=19\nMoving to Node #0,5\nCurrent State: 100:[40, 25, 19], Operations: ['7+12=19']\nExploring Operation: 40+25=65, Resulting Numbers: [19, 65]\nGenerated Node #0,5,0: 100:[19, 65] Operation: 40+25=65\nMoving to Node #0,5,0\nCurrent State: 100:[19, 65], Operations: ['7+12=19', '40+25=65']\nExploring Operation: 19+65=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 100:[19, 65], Operations: ['7+12=19', '40+25=65']\nExploring Operation: 65-19=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[40, 25, 19], Operations: ['7+12=19']\nExploring Operation: 40+19=59, Resulting Numbers: [25, 59]\nGenerated Node #0,5,1: 100:[25, 59] Operation: 40+19=59\nMoving to Node #0,5,1\nCurrent State: 100:[25, 59], Operations: ['7+12=19', '40+19=59']\nExploring Operation: 25+59=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 100:[25, 59], Operations: ['7+12=19', '40+19=59']\nExploring Operation: 59-25=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[40, 25, 19], Operations: ['7+12=19']\nExploring Operation: 25+19=44, Resulting Numbers: [40, 44]\nGenerated Node #0,5,2: 100:[40, 44] Operation: 25+19=44\nMoving to Node #0,5,2\nCurrent State: 100:[40, 44], Operations: ['7+12=19', '25+19=44']\nExploring Operation: 40+44=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 100:[40, 44], Operations: ['7+12=19', '25+19=44']\nExploring Operation: 44-40=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[40, 25, 19], Operations: ['7+12=19']\nExploring Operation: 40-19=21, Resulting Numbers: [25, 21]\nGenerated Node #0,5,3: 100:[25, 21] Operation: 40-19=21\nMoving to Node #0,5,3\nCurrent State: 100:[25, 21], Operations: ['7+12=19', '40-19=21']\nExploring Operation: 25+21=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 100:[25, 21], Operations: ['7+12=19', '40-19=21']\nExploring Operation: 25-21=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[40, 25, 19], Operations: ['7+12=19']\nExploring Operation: 25-19=6, Resulting Numbers: [40, 6]\nGenerated Node #0,5,4: 100:[40, 6] Operation: 25-19=6\nMoving to Node #0,5,4\nCurrent State: 100:[40, 6], Operations: ['7+12=19', '25-19=6']\nExploring Operation: 40+6=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 100:[40, 6], Operations: ['7+12=19', '25-19=6']\nExploring Operation: 40-6=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 100:[40, 25, 19], Operations: ['7+12=19']\nExploring Operation: 40-25=15, Resulting Numbers: [19, 15]\nGenerated Node #0,5,5: 100:[19, 15] Operation: 40-25=15\nMoving to Node #0,5,5\nCurrent State: 100:[19, 15], Operations: ['7+12=19', '40-25=15']\nExploring Operation: 19+15=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 100:[19, 15], Operations: ['7+12=19', '40-25=15']\nExploring Operation: 19-15=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 25+12=37, Resulting Numbers: [40, 7, 37]\nGenerated Node #0,6: 100:[40, 7, 37] Operation: 25+12=37\nMoving to Node #0,6\nCurrent State: 100:[40, 7, 37], Operations: ['25+12=37']\nExploring Operation: 40+7=47, Resulting Numbers: [37, 47]\nGenerated Node #0,6,0: 100:[37, 47] Operation: 40+7=47\nMoving to Node #0,6,0\nCurrent State: 100:[37, 47], Operations: ['25+12=37', '40+7=47']\nExploring Operation: 37+47=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 100:[37, 47], Operations: ['25+12=37', '40+7=47']\nExploring Operation: 47-37=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[40, 7, 37], Operations: ['25+12=37']\nExploring Operation: 40+37=77, Resulting Numbers: [7, 77]\nGenerated Node #0,6,1: 100:[7, 77] Operation: 40+37=77\nMoving to Node #0,6,1\nCurrent State: 100:[7, 77], Operations: ['25+12=37', '40+37=77']\nExploring Operation: 7+77=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 100:[7, 77], Operations: ['25+12=37', '40+37=77']\nExploring Operation: 77-7=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 100:[7, 77], Operations: ['25+12=37', '40+37=77']\nExploring Operation: 77/7=11, Resulting Numbers: [11]\n11,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[40, 7, 37], Operations: ['25+12=37']\nExploring Operation: 7+37=44, Resulting Numbers: [40, 44]\nGenerated Node #0,6,2: 100:[40, 44] Operation: 7+37=44\nMoving to Node #0,6,2\nCurrent State: 100:[40, 44], Operations: ['25+12=37', '7+37=44']\nExploring Operation: 40+44=84, Resulting Numbers: [84]\n84,100 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 100:[40, 44], Operations: ['25+12=37', '7+37=44']\nExploring Operation: 44-40=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[40, 7, 37], Operations: ['25+12=37']\nExploring Operation: 40-7=33, Resulting Numbers: [37, 33]\nGenerated Node #0,6,3: 100:[37, 33] Operation: 40-7=33\nMoving to Node #0,6,3\nCurrent State: 100:[37, 33], Operations: ['25+12=37', '40-7=33']\nExploring Operation: 37+33=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 100:[37, 33], Operations: ['25+12=37', '40-7=33']\nExploring Operation: 37-33=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[40, 7, 37], Operations: ['25+12=37']\nExploring Operation: 37-7=30, Resulting Numbers: [40, 30]\nGenerated Node #0,6,4: 100:[40, 30] Operation: 37-7=30\nMoving to Node #0,6,4\nCurrent State: 100:[40, 30], Operations: ['25+12=37', '37-7=30']\nExploring Operation: 40+30=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 100:[40, 30], Operations: ['25+12=37', '37-7=30']\nExploring Operation: 40-30=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 100:[40, 7, 37], Operations: ['25+12=37']\nExploring Operation: 40-37=3, Resulting Numbers: [7, 3]\nGenerated Node #0,6,5: 100:[7, 3] Operation: 40-37=3\nMoving to Node #0,6,5\nCurrent State: 100:[7, 3], Operations: ['25+12=37', '40-37=3']\nExploring Operation: 7*3=21, Resulting Numbers: [21]\n21,100 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 100:[7, 3], Operations: ['25+12=37', '40-37=3']\nExploring Operation: 7+3=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 100:[7, 3], Operations: ['25+12=37', '40-37=3']\nExploring Operation: 7-3=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 7*25=175, Resulting Numbers: [40, 12, 175]\nGenerated Node #0,7: 100:[40, 12, 175] Operation: 7*25=175\nMoving to Node #0,7\nCurrent State: 100:[40, 12, 175], Operations: ['7*25=175']\nExploring Operation: 40+12=52, Resulting Numbers: [175, 52]\nGenerated Node #0,7,0: 100:[175, 52] Operation: 40+12=52\nMoving to Node #0,7,0\nCurrent State: 100:[175, 52], Operations: ['7*25=175', '40+12=52']\nExploring Operation: 175-52=123, Resulting Numbers: [123]\n123,100 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 100:[40, 12, 175], Operations: ['7*25=175']\nExploring Operation: 175-40=135, Resulting Numbers: [12, 135]\nGenerated Node #0,7,1: 100:[12, 135] Operation: 175-40=135\nMoving to Node #0,7,1\nCurrent State: 100:[12, 135], Operations: ['7*25=175', '175-40=135']\nExploring Operation: 135-12=123, Resulting Numbers: [123]\n123,100 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 100:[12, 135], Operations: ['7*25=175', '175-40=135']\nExploring Operation: 12+135=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 100:[40, 12, 175], Operations: ['7*25=175']\nExploring Operation: 175-12=163, Resulting Numbers: [40, 163]\nGenerated Node #0,7,2: 100:[40, 163] Operation: 175-12=163\nMoving to Node #0,7,2\nCurrent State: 100:[40, 163], Operations: ['7*25=175', '175-12=163']\nExploring Operation: 163-40=123, Resulting Numbers: [123]\n123,100 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 100:[40, 12, 175], Operations: ['7*25=175']\nExploring Operation: 40-12=28, Resulting Numbers: [175, 28]\nGenerated Node #0,7,3: 100:[175, 28] Operation: 40-12=28\nMoving to Node #0,7,3\nCurrent State: 100:[175, 28], Operations: ['7*25=175', '40-12=28']\nExploring Operation: 175-28=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 100:[40, 12, 175], Operations: ['7*25=175']\nExploring Operation: 12+175=187, Resulting Numbers: [40, 187]\nGenerated Node #0,7,4: 100:[40, 187] Operation: 12+175=187\nMoving to Node #0,7,4\nCurrent State: 100:[40, 187], Operations: ['7*25=175', '12+175=187']\nExploring Operation: 187-40=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 40-7=33, Resulting Numbers: [25, 12, 33]\nGenerated Node #0,8: 100:[25, 12, 33] Operation: 40-7=33\nMoving to Node #0,8\nCurrent State: 100:[25, 12, 33], Operations: ['40-7=33']\nExploring Operation: 25+12=37, Resulting Numbers: [33, 37]\nGenerated Node #0,8,0: 100:[33, 37] Operation: 25+12=37\nMoving to Node #0,8,0\nCurrent State: 100:[33, 37], Operations: ['40-7=33', '25+12=37']\nExploring Operation: 33+37=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 100:[33, 37], Operations: ['40-7=33', '25+12=37']\nExploring Operation: 37-33=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[25, 12, 33], Operations: ['40-7=33']\nExploring Operation: 25+33=58, Resulting Numbers: [12, 58]\nGenerated Node #0,8,1: 100:[12, 58] Operation: 25+33=58\nMoving to Node #0,8,1\nCurrent State: 100:[12, 58], Operations: ['40-7=33', '25+33=58']\nExploring Operation: 12+58=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 100:[12, 58], Operations: ['40-7=33', '25+33=58']\nExploring Operation: 58-12=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[25, 12, 33], Operations: ['40-7=33']\nExploring Operation: 12+33=45, Resulting Numbers: [25, 45]\nGenerated Node #0,8,2: 100:[25, 45] Operation: 12+33=45\nMoving to Node #0,8,2\nCurrent State: 100:[25, 45], Operations: ['40-7=33', '12+33=45']\nExploring Operation: 25+45=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 100:[25, 45], Operations: ['40-7=33', '12+33=45']\nExploring Operation: 45-25=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[25, 12, 33], Operations: ['40-7=33']\nExploring Operation: 25-12=13, Resulting Numbers: [33, 13]\nGenerated Node #0,8,3: 100:[33, 13] Operation: 25-12=13\nMoving to Node #0,8,3\nCurrent State: 100:[33, 13], Operations: ['40-7=33', '25-12=13']\nExploring Operation: 33+13=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 100:[33, 13], Operations: ['40-7=33', '25-12=13']\nExploring Operation: 33-13=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[25, 12, 33], Operations: ['40-7=33']\nExploring Operation: 33-12=21, Resulting Numbers: [25, 21]\nGenerated Node #0,8,4: 100:[25, 21] Operation: 33-12=21\nMoving to Node #0,8,4\nCurrent State: 100:[25, 21], Operations: ['40-7=33', '33-12=21']\nExploring Operation: 25+21=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 100:[25, 21], Operations: ['40-7=33', '33-12=21']\nExploring Operation: 25-21=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 100:[25, 12, 33], Operations: ['40-7=33']\nExploring Operation: 33-25=8, Resulting Numbers: [12, 8]\nGenerated Node #0,8,5: 100:[12, 8] Operation: 33-25=8\nMoving to Node #0,8,5\nCurrent State: 100:[12, 8], Operations: ['40-7=33', '33-25=8']\nExploring Operation: 12*8=96, Resulting Numbers: [96]\n96,100 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 100:[12, 8], Operations: ['40-7=33', '33-25=8']\nExploring Operation: 12+8=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 100:[12, 8], Operations: ['40-7=33', '33-25=8']\nExploring Operation: 12-8=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 25-7=18, Resulting Numbers: [40, 12, 18]\nGenerated Node #0,9: 100:[40, 12, 18] Operation: 25-7=18\nMoving to Node #0,9\nCurrent State: 100:[40, 12, 18], Operations: ['25-7=18']\nExploring Operation: 40+12=52, Resulting Numbers: [18, 52]\nGenerated Node #0,9,0: 100:[18, 52] Operation: 40+12=52\nMoving to Node #0,9,0\nCurrent State: 100:[18, 52], Operations: ['25-7=18', '40+12=52']\nExploring Operation: 18+52=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 100:[18, 52], Operations: ['25-7=18', '40+12=52']\nExploring Operation: 52-18=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[40, 12, 18], Operations: ['25-7=18']\nExploring Operation: 40+18=58, Resulting Numbers: [12, 58]\nGenerated Node #0,9,1: 100:[12, 58] Operation: 40+18=58\nMoving to Node #0,9,1\nCurrent State: 100:[12, 58], Operations: ['25-7=18', '40+18=58']\nExploring Operation: 12+58=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 100:[12, 58], Operations: ['25-7=18', '40+18=58']\nExploring Operation: 58-12=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[40, 12, 18], Operations: ['25-7=18']\nExploring Operation: 12+18=30, Resulting Numbers: [40, 30]\nGenerated Node #0,9,2: 100:[40, 30] Operation: 12+18=30\nMoving to Node #0,9,2\nCurrent State: 100:[40, 30], Operations: ['25-7=18', '12+18=30']\nExploring Operation: 40+30=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 100:[40, 30], Operations: ['25-7=18', '12+18=30']\nExploring Operation: 40-30=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[40, 12, 18], Operations: ['25-7=18']\nExploring Operation: 40-12=28, Resulting Numbers: [18, 28]\nGenerated Node #0,9,3: 100:[18, 28] Operation: 40-12=28\nMoving to Node #0,9,3\nCurrent State: 100:[18, 28], Operations: ['25-7=18', '40-12=28']\nExploring Operation: 18+28=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 100:[18, 28], Operations: ['25-7=18', '40-12=28']\nExploring Operation: 28-18=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[40, 12, 18], Operations: ['25-7=18']\nExploring Operation: 18-12=6, Resulting Numbers: [40, 6]\nGenerated Node #0,9,4: 100:[40, 6] Operation: 18-12=6\nMoving to Node #0,9,4\nCurrent State: 100:[40, 6], Operations: ['25-7=18', '18-12=6']\nExploring Operation: 40+6=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 100:[40, 6], Operations: ['25-7=18', '18-12=6']\nExploring Operation: 40-6=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[40, 12, 18], Operations: ['25-7=18']\nExploring Operation: 40-18=22, Resulting Numbers: [12, 22]\nGenerated Node #0,9,5: 100:[12, 22] Operation: 40-18=22\nMoving to Node #0,9,5\nCurrent State: 100:[12, 22], Operations: ['25-7=18', '40-18=22']\nExploring Operation: 12+22=34, Resulting Numbers: [34]\n34,100 unequal: No Solution\nMoving to Node #0,9,5\nCurrent State: 100:[12, 22], Operations: ['25-7=18', '40-18=22']\nExploring Operation: 22-12=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 100:[40, 12, 18], Operations: ['25-7=18']\nExploring Operation: 12*18=216, Resulting Numbers: [40, 216]\nGenerated Node #0,9,6: 100:[40, 216] Operation: 12*18=216\nMoving to Node #0,9,6\nCurrent State: 100:[40, 216], Operations: ['25-7=18', '12*18=216']\nExploring Operation: 216-40=176, Resulting Numbers: [176]\n176,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 12-7=5, Resulting Numbers: [40, 25, 5]\nGenerated Node #0,10: 100:[40, 25, 5] Operation: 12-7=5\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 25*5=125, Resulting Numbers: [40, 125]\nGenerated Node #0,10,0: 100:[40, 125] Operation: 25*5=125\nMoving to Node #0,10,0\nCurrent State: 100:[40, 125], Operations: ['12-7=5', '25*5=125']\nExploring Operation: 125-40=85, Resulting Numbers: [85]\n85,100 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 100:[40, 125], Operations: ['12-7=5', '25*5=125']\nExploring Operation: 40+125=165, Resulting Numbers: [165]\n165,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 40+25=65, Resulting Numbers: [5, 65]\nGenerated Node #0,10,1: 100:[5, 65] Operation: 40+25=65\nMoving to Node #0,10,1\nCurrent State: 100:[5, 65], Operations: ['12-7=5', '40+25=65']\nExploring Operation: 5+65=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 100:[5, 65], Operations: ['12-7=5', '40+25=65']\nExploring Operation: 65-5=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 100:[5, 65], Operations: ['12-7=5', '40+25=65']\nExploring Operation: 65/5=13, Resulting Numbers: [13]\n13,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 40+5=45, Resulting Numbers: [25, 45]\nGenerated Node #0,10,2: 100:[25, 45] Operation: 40+5=45\nMoving to Node #0,10,2\nCurrent State: 100:[25, 45], Operations: ['12-7=5', '40+5=45']\nExploring Operation: 25+45=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 100:[25, 45], Operations: ['12-7=5', '40+5=45']\nExploring Operation: 45-25=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 25+5=30, Resulting Numbers: [40, 30]\nGenerated Node #0,10,3: 100:[40, 30] Operation: 25+5=30\nMoving to Node #0,10,3\nCurrent State: 100:[40, 30], Operations: ['12-7=5', '25+5=30']\nExploring Operation: 40+30=70, Resulting Numbers: [70]\n70,100 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 100:[40, 30], Operations: ['12-7=5', '25+5=30']\nExploring Operation: 40-30=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 40-5=35, Resulting Numbers: [25, 35]\nGenerated Node #0,10,4: 100:[25, 35] Operation: 40-5=35\nMoving to Node #0,10,4\nCurrent State: 100:[25, 35], Operations: ['12-7=5', '40-5=35']\nExploring Operation: 25+35=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 100:[25, 35], Operations: ['12-7=5', '40-5=35']\nExploring Operation: 35-25=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 25-5=20, Resulting Numbers: [40, 20]\nGenerated Node #0,10,5: 100:[40, 20] Operation: 25-5=20\nMoving to Node #0,10,5\nCurrent State: 100:[40, 20], Operations: ['12-7=5', '25-5=20']\nExploring Operation: 40+20=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 100:[40, 20], Operations: ['12-7=5', '25-5=20']\nExploring Operation: 40-20=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 100:[40, 20], Operations: ['12-7=5', '25-5=20']\nExploring Operation: 40/20=2, Resulting Numbers: [2]\n2,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 25/5=5, Resulting Numbers: [40, 5]\nGenerated Node #0,10,6: 100:[40, 5] Operation: 25/5=5\nMoving to Node #0,10,6\nCurrent State: 100:[40, 5], Operations: ['12-7=5', '25/5=5']\nExploring Operation: 40+5=45, Resulting Numbers: [45]\n45,100 unequal: No Solution\nMoving to Node #0,10,6\nCurrent State: 100:[40, 5], Operations: ['12-7=5', '25/5=5']\nExploring Operation: 40-5=35, Resulting Numbers: [35]\n35,100 unequal: No Solution\nMoving to Node #0,10,6\nCurrent State: 100:[40, 5], Operations: ['12-7=5', '25/5=5']\nExploring Operation: 40/5=8, Resulting Numbers: [8]\n8,100 unequal: No Solution\nMoving to Node #0,10,6\nCurrent State: 100:[40, 5], Operations: ['12-7=5', '25/5=5']\nExploring Operation: 40*5=200, Resulting Numbers: [200]\n200,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 40/5=8, Resulting Numbers: [25, 8]\nGenerated Node #0,10,7: 100:[25, 8] Operation: 40/5=8\nMoving to Node #0,10,7\nCurrent State: 100:[25, 8], Operations: ['12-7=5', '40/5=8']\nExploring Operation: 25+8=33, Resulting Numbers: [33]\n33,100 unequal: No Solution\nMoving to Node #0,10,7\nCurrent State: 100:[25, 8], Operations: ['12-7=5', '40/5=8']\nExploring Operation: 25-8=17, Resulting Numbers: [17]\n17,100 unequal: No Solution\nMoving to Node #0,10,7\nCurrent State: 100:[25, 8], Operations: ['12-7=5', '40/5=8']\nExploring Operation: 25*8=200, Resulting Numbers: [200]\n200,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 40*5=200, Resulting Numbers: [25, 200]\nGenerated Node #0,10,8: 100:[25, 200] Operation: 40*5=200\nMoving to Node #0,10,8\nCurrent State: 100:[25, 200], Operations: ['12-7=5', '40*5=200']\nExploring Operation: 200-25=175, Resulting Numbers: [175]\n175,100 unequal: No Solution\nMoving to Node #0,10,8\nCurrent State: 100:[25, 200], Operations: ['12-7=5', '40*5=200']\nExploring Operation: 200/25=8, Resulting Numbers: [8]\n8,100 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 100:[40, 25, 5], Operations: ['12-7=5']\nExploring Operation: 40-25=15, Resulting Numbers: [5, 15]\nGenerated Node #0,10,9: 100:[5, 15] Operation: 40-25=15\nMoving to Node #0,10,9\nCurrent State: 100:[5, 15], Operations: ['12-7=5', '40-25=15']\nExploring Operation: 5*15=75, Resulting Numbers: [75]\n75,100 unequal: No Solution\nMoving to Node #0,10,9\nCurrent State: 100:[5, 15], Operations: ['12-7=5', '40-25=15']\nExploring Operation: 5+15=20, Resulting Numbers: [20]\n20,100 unequal: No Solution\nMoving to Node #0,10,9\nCurrent State: 100:[5, 15], Operations: ['12-7=5', '40-25=15']\nExploring Operation: 15-5=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,10,9\nCurrent State: 100:[5, 15], Operations: ['12-7=5', '40-25=15']\nExploring Operation: 15/5=3, Resulting Numbers: [3]\n3,100 unequal: No Solution\nMoving to Node #0\nCurrent State: 100:[40, 7, 25, 12], Operations: []\nExploring Operation: 40-12=28, Resulting Numbers: [7, 25, 28]\nGenerated Node #0,11: 100:[7, 25, 28] Operation: 40-12=28\nMoving to Node #0,11\nCurrent State: 100:[7, 25, 28], Operations: ['40-12=28']\nExploring Operation: 7+25=32, Resulting Numbers: [28, 32]\nGenerated Node #0,11,0: 100:[28, 32] Operation: 7+25=32\nMoving to Node #0,11,0\nCurrent State: 100:[28, 32], Operations: ['40-12=28', '7+25=32']\nExploring Operation: 28+32=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 100:[28, 32], Operations: ['40-12=28', '7+25=32']\nExploring Operation: 32-28=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[7, 25, 28], Operations: ['40-12=28']\nExploring Operation: 7+28=35, Resulting Numbers: [25, 35]\nGenerated Node #0,11,1: 100:[25, 35] Operation: 7+28=35\nMoving to Node #0,11,1\nCurrent State: 100:[25, 35], Operations: ['40-12=28', '7+28=35']\nExploring Operation: 25+35=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 100:[25, 35], Operations: ['40-12=28', '7+28=35']\nExploring Operation: 35-25=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[7, 25, 28], Operations: ['40-12=28']\nExploring Operation: 25+28=53, Resulting Numbers: [7, 53]\nGenerated Node #0,11,2: 100:[7, 53] Operation: 25+28=53\nMoving to Node #0,11,2\nCurrent State: 100:[7, 53], Operations: ['40-12=28', '25+28=53']\nExploring Operation: 7+53=60, Resulting Numbers: [60]\n60,100 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 100:[7, 53], Operations: ['40-12=28', '25+28=53']\nExploring Operation: 53-7=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[7, 25, 28], Operations: ['40-12=28']\nExploring Operation: 7*25=175, Resulting Numbers: [28, 175]\nGenerated Node #0,11,3: 100:[28, 175] Operation: 7*25=175\nMoving to Node #0,11,3\nCurrent State: 100:[28, 175], Operations: ['40-12=28', '7*25=175']\nExploring Operation: 175-28=147, Resulting Numbers: [147]\n147,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[7, 25, 28], Operations: ['40-12=28']\nExploring Operation: 25-7=18, Resulting Numbers: [28, 18]\nGenerated Node #0,11,4: 100:[28, 18] Operation: 25-7=18\nMoving to Node #0,11,4\nCurrent State: 100:[28, 18], Operations: ['40-12=28', '25-7=18']\nExploring Operation: 28+18=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 100:[28, 18], Operations: ['40-12=28', '25-7=18']\nExploring Operation: 28-18=10, Resulting Numbers: [10]\n10,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[7, 25, 28], Operations: ['40-12=28']\nExploring Operation: 28-7=21, Resulting Numbers: [25, 21]\nGenerated Node #0,11,5: 100:[25, 21] Operation: 28-7=21\nMoving to Node #0,11,5\nCurrent State: 100:[25, 21], Operations: ['40-12=28', '28-7=21']\nExploring Operation: 25+21=46, Resulting Numbers: [46]\n46,100 unequal: No Solution\nMoving to Node #0,11,5\nCurrent State: 100:[25, 21], Operations: ['40-12=28', '28-7=21']\nExploring Operation: 25-21=4, Resulting Numbers: [4]\n4,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[7, 25, 28], Operations: ['40-12=28']\nExploring Operation: 7*28=196, Resulting Numbers: [25, 196]\nGenerated Node #0,11,6: 100:[25, 196] Operation: 7*28=196\nMoving to Node #0,11,6\nCurrent State: 100:[25, 196], Operations: ['40-12=28', '7*28=196']\nExploring Operation: 196-25=171, Resulting Numbers: [171]\n171,100 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 100:[7, 25, 28], Operations: ['40-12=28']\nExploring Operation: 28/7=4, Resulting Numbers: [25, 4]\nGenerated Node #0,11,7: 100:[25, 4] Operation: 28/7=4\nMoving to Node #0,11,7\nCurrent State: 100:[25, 4], Operations: ['40-12=28', '28/7=4']\nExploring Operation: 25*4=100, Resulting Numbers: [100]\n100,100 equal: Goal Reached\n", "role": "assistant" } ]
[ 31, 66, 99, 82 ]
80
[ "31+66=97", "99-82=17", "97-17=80" ]
Current State: 80:[31, 66, 99, 82], Operations: [] Exploring Operation: 99-31=68, Resulting Numbers: [66, 82, 68] Generated Node #0,0: 80:[66, 82, 68] Operation: 99-31=68 Moving to Node #0,0 Current State: 80:[66, 82, 68], Operations: ['99-31=68'] Exploring Operation: 66+68=134, Resulting Numbers: [82, 134] Generated Node #0,0,0: 80:[82, 134] Operation: 66+68=134 Moving to Node #0,0,0 Current State: 80:[82, 134], Operations: ['99-31=68', '66+68=134'] Exploring Operation: 134-82=52, Resulting Numbers: [52] 52,80 unequal: No Solution Moving to Node #0,0 Current State: 80:[66, 82, 68], Operations: ['99-31=68'] Exploring Operation: 82-66=16, Resulting Numbers: [68, 16] Generated Node #0,0,1: 80:[68, 16] Operation: 82-66=16 Moving to Node #0,0,1 Current State: 80:[68, 16], Operations: ['99-31=68', '82-66=16'] Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[68, 16], Operations: ['99-31=68', '82-66=16'] Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,80 unequal: No Solution Moving to Node #0,0 Current State: 80:[66, 82, 68], Operations: ['99-31=68'] Exploring Operation: 66+82=148, Resulting Numbers: [68, 148] Generated Node #0,0,2: 80:[68, 148] Operation: 66+82=148 Moving to Node #0,0,2 Current State: 80:[68, 148], Operations: ['99-31=68', '66+82=148'] Exploring Operation: 148-68=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.992188
dfs
Current State: 80:[31, 66, 99, 82], Operations: [] Exploring Operation: 31+66=97, Resulting Numbers: [99, 82, 97] Generated Node #2: [99, 82, 97] from Operation: 31+66=97 Current State: 80:[99, 82, 97], Operations: ['31+66=97'] Exploring Operation: 99-82=17, Resulting Numbers: [97, 17] Generated Node #3: [97, 17] from Operation: 99-82=17 Current State: 80:[97, 17], Operations: ['31+66=97', '99-82=17'] Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
sum_heuristic
[ { "content": "Make 80 with the numbers [31, 66, 99, 82] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 80:[31, 66, 99, 82], Operations: []\nExploring Operation: 99-31=68, Resulting Numbers: [66, 82, 68]\nGenerated Node #0,0: 80:[66, 82, 68] Operation: 99-31=68\nMoving to Node #0,0\nCurrent State: 80:[66, 82, 68], Operations: ['99-31=68']\nExploring Operation: 66+68=134, Resulting Numbers: [82, 134]\nGenerated Node #0,0,0: 80:[82, 134] Operation: 66+68=134\nMoving to Node #0,0,0\nCurrent State: 80:[82, 134], Operations: ['99-31=68', '66+68=134']\nExploring Operation: 134-82=52, Resulting Numbers: [52]\n52,80 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 80:[66, 82, 68], Operations: ['99-31=68']\nExploring Operation: 82-66=16, Resulting Numbers: [68, 16]\nGenerated Node #0,0,1: 80:[68, 16] Operation: 82-66=16\nMoving to Node #0,0,1\nCurrent State: 80:[68, 16], Operations: ['99-31=68', '82-66=16']\nExploring Operation: 68+16=84, Resulting Numbers: [84]\n84,80 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 80:[68, 16], Operations: ['99-31=68', '82-66=16']\nExploring Operation: 68-16=52, Resulting Numbers: [52]\n52,80 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 80:[66, 82, 68], Operations: ['99-31=68']\nExploring Operation: 66+82=148, Resulting Numbers: [68, 148]\nGenerated Node #0,0,2: 80:[68, 148] Operation: 66+82=148\nMoving to Node #0,0,2\nCurrent State: 80:[68, 148], Operations: ['99-31=68', '66+82=148']\nExploring Operation: 148-68=80, Resulting Numbers: [80]\n80,80 equal: Goal Reached\n", "role": "assistant" } ]
[ 13, 32, 27, 62 ]
44
[ "13+32=45", "27+62=89", "89-45=44" ]
Current State: 44:[13, 32, 27, 62], Operations: [] Exploring Operation: 62-13=49, Resulting Numbers: [32, 27, 49] Generated Node #0,0: 44:[32, 27, 49] Operation: 62-13=49 Exploring Operation: 62-32=30, Resulting Numbers: [13, 27, 30] Generated Node #0,1: 44:[13, 27, 30] Operation: 62-32=30 Moving to Node #0,1 Current State: 44:[13, 27, 30], Operations: ['62-32=30'] Exploring Operation: 30-27=3, Resulting Numbers: [13, 3] Generated Node #0,1,0: 44:[13, 3] Operation: 30-27=3 Exploring Operation: 13+30=43, Resulting Numbers: [27, 43] Generated Node #0,1,1: 44:[27, 43] Operation: 13+30=43 Moving to Node #0,0 Current State: 44:[32, 27, 49], Operations: ['62-13=49'] Exploring Operation: 49-32=17, Resulting Numbers: [27, 17] Generated Node #0,0,0: 44:[27, 17] Operation: 49-32=17 Exploring Operation: 32-27=5, Resulting Numbers: [49, 5] Generated Node #0,0,1: 44:[49, 5] Operation: 32-27=5 Moving to Node #0,1,0 Current State: 44:[13, 3], Operations: ['62-32=30', '30-27=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[49, 5], Operations: ['62-13=49', '32-27=5'] Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,44 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.990451
bfs_2
Current State: 44:[13, 32, 27, 62], Operations: [] Exploring Operation: 13+32=45, Resulting Numbers: [27, 62, 45] Generated Node #2: [27, 62, 45] from Operation: 13+32=45 Current State: 44:[27, 62, 45], Operations: ['13+32=45'] Exploring Operation: 27+62=89, Resulting Numbers: [45, 89] Generated Node #3: [45, 89] from Operation: 27+62=89 Current State: 44:[45, 89], Operations: ['13+32=45', '27+62=89'] Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
mult_heuristic
[ { "content": "Make 44 with the numbers [13, 32, 27, 62] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 44:[13, 32, 27, 62], Operations: []\nExploring Operation: 62-13=49, Resulting Numbers: [32, 27, 49]\nGenerated Node #0,0: 44:[32, 27, 49] Operation: 62-13=49\nExploring Operation: 62-32=30, Resulting Numbers: [13, 27, 30]\nGenerated Node #0,1: 44:[13, 27, 30] Operation: 62-32=30\nMoving to Node #0,1\nCurrent State: 44:[13, 27, 30], Operations: ['62-32=30']\nExploring Operation: 30-27=3, Resulting Numbers: [13, 3]\nGenerated Node #0,1,0: 44:[13, 3] Operation: 30-27=3\nExploring Operation: 13+30=43, Resulting Numbers: [27, 43]\nGenerated Node #0,1,1: 44:[27, 43] Operation: 13+30=43\nMoving to Node #0,0\nCurrent State: 44:[32, 27, 49], Operations: ['62-13=49']\nExploring Operation: 49-32=17, Resulting Numbers: [27, 17]\nGenerated Node #0,0,0: 44:[27, 17] Operation: 49-32=17\nExploring Operation: 32-27=5, Resulting Numbers: [49, 5]\nGenerated Node #0,0,1: 44:[49, 5] Operation: 32-27=5\nMoving to Node #0,1,0\nCurrent State: 44:[13, 3], Operations: ['62-32=30', '30-27=3']\nExploring Operation: 13+3=16, Resulting Numbers: [16]\n16,44 unequal: No Solution\nExploring Operation: 13-3=10, Resulting Numbers: [10]\n10,44 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 44:[49, 5], Operations: ['62-13=49', '32-27=5']\nExploring Operation: 49+5=54, Resulting Numbers: [54]\n54,44 unequal: No Solution\nExploring Operation: 49-5=44, Resulting Numbers: [44]\n44,44 equal: Goal Reached\n", "role": "assistant" } ]
[ 64, 48, 23, 41 ]
49
[ "64-23=41", "41/41=1", "48+1=49" ]
Current State: 49:[64, 48, 23, 41], Operations: [] Exploring Operation: 41-23=18, Resulting Numbers: [64, 48, 18] Generated Node #0,0: 49:[64, 48, 18] Operation: 41-23=18 Exploring Operation: 48-41=7, Resulting Numbers: [64, 23, 7] Generated Node #0,1: 49:[64, 23, 7] Operation: 48-41=7 Exploring Operation: 23+41=64, Resulting Numbers: [64, 48, 64] Generated Node #0,2: 49:[64, 48, 64] Operation: 23+41=64 Exploring Operation: 64-23=41, Resulting Numbers: [48, 41, 41] Generated Node #0,3: 49:[48, 41, 41] Operation: 64-23=41 Moving to Node #0,3 Current State: 49:[48, 41, 41], Operations: ['64-23=41'] Exploring Operation: 48-41=7, Resulting Numbers: [41, 7] Generated Node #0,3,0: 49:[41, 7] Operation: 48-41=7 Exploring Operation: 41-41=0, Resulting Numbers: [48, 0] Generated Node #0,3,1: 49:[48, 0] Operation: 41-41=0 Exploring Operation: 48-41=7, Resulting Numbers: [41, 7] Generated Node #0,3,2: 49:[41, 7] Operation: 48-41=7 Exploring Operation: 41/41=1, Resulting Numbers: [48, 1] Generated Node #0,3,3: 49:[48, 1] Operation: 41/41=1 Moving to Node #0,0 Current State: 49:[64, 48, 18], Operations: ['41-23=18'] Exploring Operation: 48+18=66, Resulting Numbers: [64, 66] Generated Node #0,0,0: 49:[64, 66] Operation: 48+18=66 Exploring Operation: 64+18=82, Resulting Numbers: [48, 82] Generated Node #0,0,1: 49:[48, 82] Operation: 64+18=82 Exploring Operation: 64-48=16, Resulting Numbers: [18, 16] Generated Node #0,0,2: 49:[18, 16] Operation: 64-48=16 Exploring Operation: 64-18=46, Resulting Numbers: [48, 46] Generated Node #0,0,3: 49:[48, 46] Operation: 64-18=46 Moving to Node #0,2 Current State: 49:[64, 48, 64], Operations: ['23+41=64'] Exploring Operation: 64-48=16, Resulting Numbers: [64, 16] Generated Node #0,2,0: 49:[64, 16] Operation: 64-48=16 Exploring Operation: 64-64=0, Resulting Numbers: [48, 0] Generated Node #0,2,1: 49:[48, 0] Operation: 64-64=0 Exploring Operation: 64-48=16, Resulting Numbers: [64, 16] Generated Node #0,2,2: 49:[64, 16] Operation: 64-48=16 Exploring Operation: 64/64=1, Resulting Numbers: [48, 1] Generated Node #0,2,3: 49:[48, 1] Operation: 64/64=1 Moving to Node #0,1 Current State: 49:[64, 23, 7], Operations: ['48-41=7'] Exploring Operation: 23+7=30, Resulting Numbers: [64, 30] Generated Node #0,1,0: 49:[64, 30] Operation: 23+7=30 Exploring Operation: 64-7=57, Resulting Numbers: [23, 57] Generated Node #0,1,1: 49:[23, 57] Operation: 64-7=57 Exploring Operation: 23-7=16, Resulting Numbers: [64, 16] Generated Node #0,1,2: 49:[64, 16] Operation: 23-7=16 Exploring Operation: 64-23=41, Resulting Numbers: [7, 41] Generated Node #0,1,3: 49:[7, 41] Operation: 64-23=41 Moving to Node #0,0,3 Current State: 49:[48, 46], Operations: ['41-23=18', '64-18=46'] Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,49 unequal: No Solution Exploring Operation: 48*46=2208, Resulting Numbers: [2208] 2208,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[48, 1], Operations: ['64-23=41', '41/41=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.977431
bfs_4
Current State: 49:[64, 48, 23, 41], Operations: [] Exploring Operation: 64-23=41, Resulting Numbers: [48, 41, 41] Generated Node #2: [48, 41, 41] from Operation: 64-23=41 Current State: 49:[48, 41, 41], Operations: ['64-23=41'] Exploring Operation: 41/41=1, Resulting Numbers: [48, 1] Generated Node #3: [48, 1] from Operation: 41/41=1 Current State: 49:[48, 1], Operations: ['64-23=41', '41/41=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
mult_heuristic
[ { "content": "Make 49 with the numbers [64, 48, 23, 41] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 49:[64, 48, 23, 41], Operations: []\nExploring Operation: 41-23=18, Resulting Numbers: [64, 48, 18]\nGenerated Node #0,0: 49:[64, 48, 18] Operation: 41-23=18\nExploring Operation: 48-41=7, Resulting Numbers: [64, 23, 7]\nGenerated Node #0,1: 49:[64, 23, 7] Operation: 48-41=7\nExploring Operation: 23+41=64, Resulting Numbers: [64, 48, 64]\nGenerated Node #0,2: 49:[64, 48, 64] Operation: 23+41=64\nExploring Operation: 64-23=41, Resulting Numbers: [48, 41, 41]\nGenerated Node #0,3: 49:[48, 41, 41] Operation: 64-23=41\nMoving to Node #0,3\nCurrent State: 49:[48, 41, 41], Operations: ['64-23=41']\nExploring Operation: 48-41=7, Resulting Numbers: [41, 7]\nGenerated Node #0,3,0: 49:[41, 7] Operation: 48-41=7\nExploring Operation: 41-41=0, Resulting Numbers: [48, 0]\nGenerated Node #0,3,1: 49:[48, 0] Operation: 41-41=0\nExploring Operation: 48-41=7, Resulting Numbers: [41, 7]\nGenerated Node #0,3,2: 49:[41, 7] Operation: 48-41=7\nExploring Operation: 41/41=1, Resulting Numbers: [48, 1]\nGenerated Node #0,3,3: 49:[48, 1] Operation: 41/41=1\nMoving to Node #0,0\nCurrent State: 49:[64, 48, 18], Operations: ['41-23=18']\nExploring Operation: 48+18=66, Resulting Numbers: [64, 66]\nGenerated Node #0,0,0: 49:[64, 66] Operation: 48+18=66\nExploring Operation: 64+18=82, Resulting Numbers: [48, 82]\nGenerated Node #0,0,1: 49:[48, 82] Operation: 64+18=82\nExploring Operation: 64-48=16, Resulting Numbers: [18, 16]\nGenerated Node #0,0,2: 49:[18, 16] Operation: 64-48=16\nExploring Operation: 64-18=46, Resulting Numbers: [48, 46]\nGenerated Node #0,0,3: 49:[48, 46] Operation: 64-18=46\nMoving to Node #0,2\nCurrent State: 49:[64, 48, 64], Operations: ['23+41=64']\nExploring Operation: 64-48=16, Resulting Numbers: [64, 16]\nGenerated Node #0,2,0: 49:[64, 16] Operation: 64-48=16\nExploring Operation: 64-64=0, Resulting Numbers: [48, 0]\nGenerated Node #0,2,1: 49:[48, 0] Operation: 64-64=0\nExploring Operation: 64-48=16, Resulting Numbers: [64, 16]\nGenerated Node #0,2,2: 49:[64, 16] Operation: 64-48=16\nExploring Operation: 64/64=1, Resulting Numbers: [48, 1]\nGenerated Node #0,2,3: 49:[48, 1] Operation: 64/64=1\nMoving to Node #0,1\nCurrent State: 49:[64, 23, 7], Operations: ['48-41=7']\nExploring Operation: 23+7=30, Resulting Numbers: [64, 30]\nGenerated Node #0,1,0: 49:[64, 30] Operation: 23+7=30\nExploring Operation: 64-7=57, Resulting Numbers: [23, 57]\nGenerated Node #0,1,1: 49:[23, 57] Operation: 64-7=57\nExploring Operation: 23-7=16, Resulting Numbers: [64, 16]\nGenerated Node #0,1,2: 49:[64, 16] Operation: 23-7=16\nExploring Operation: 64-23=41, Resulting Numbers: [7, 41]\nGenerated Node #0,1,3: 49:[7, 41] Operation: 64-23=41\nMoving to Node #0,0,3\nCurrent State: 49:[48, 46], Operations: ['41-23=18', '64-18=46']\nExploring Operation: 48-46=2, Resulting Numbers: [2]\n2,49 unequal: No Solution\nExploring Operation: 48+46=94, Resulting Numbers: [94]\n94,49 unequal: No Solution\nExploring Operation: 48*46=2208, Resulting Numbers: [2208]\n2208,49 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 49:[48, 1], Operations: ['64-23=41', '41/41=1']\nExploring Operation: 48/1=48, Resulting Numbers: [48]\n48,49 unequal: No Solution\nExploring Operation: 48+1=49, Resulting Numbers: [49]\n49,49 equal: Goal Reached\n", "role": "assistant" } ]
[ 6, 69, 75, 2 ]
48
[ "6+2=8", "75-69=6", "8*6=48" ]
Current State: 48:[6, 69, 75, 2], Operations: [] Exploring Operation: 75-6=69, Resulting Numbers: [69, 2, 69] Generated Node #0,0: 48:[69, 2, 69] Operation: 75-6=69 Exploring Operation: 69-2=67, Resulting Numbers: [6, 75, 67] Generated Node #0,1: 48:[6, 75, 67] Operation: 69-2=67 Exploring Operation: 69-6=63, Resulting Numbers: [75, 2, 63] Generated Node #0,2: 48:[75, 2, 63] Operation: 69-6=63 Exploring Operation: 75-69=6, Resulting Numbers: [6, 2, 6] Generated Node #0,3: 48:[6, 2, 6] Operation: 75-69=6 Moving to Node #0,3 Current State: 48:[6, 2, 6], Operations: ['75-69=6'] Exploring Operation: 6-2=4, Resulting Numbers: [6, 4] Generated Node #0,3,0: 48:[6, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [6, 3] Generated Node #0,3,1: 48:[6, 3] Operation: 6/2=3 Exploring Operation: 6*2=12, Resulting Numbers: [6, 12] Generated Node #0,3,2: 48:[6, 12] Operation: 6*2=12 Exploring Operation: 6+2=8, Resulting Numbers: [6, 8] Generated Node #0,3,3: 48:[6, 8] Operation: 6+2=8 Moving to Node #0,2 Current State: 48:[75, 2, 63], Operations: ['69-6=63'] Exploring Operation: 75-2=73, Resulting Numbers: [63, 73] Generated Node #0,2,0: 48:[63, 73] Operation: 75-2=73 Exploring Operation: 63-2=61, Resulting Numbers: [75, 61] Generated Node #0,2,1: 48:[75, 61] Operation: 63-2=61 Exploring Operation: 75-63=12, Resulting Numbers: [2, 12] Generated Node #0,2,2: 48:[2, 12] Operation: 75-63=12 Exploring Operation: 75+2=77, Resulting Numbers: [63, 77] Generated Node #0,2,3: 48:[63, 77] Operation: 75+2=77 Moving to Node #0,0 Current State: 48:[69, 2, 69], Operations: ['75-6=69'] Exploring Operation: 69-2=67, Resulting Numbers: [69, 67] Generated Node #0,0,0: 48:[69, 67] Operation: 69-2=67 Exploring Operation: 69-2=67, Resulting Numbers: [69, 67] Generated Node #0,0,1: 48:[69, 67] Operation: 69-2=67 Exploring Operation: 69/69=1, Resulting Numbers: [2, 1] Generated Node #0,0,2: 48:[2, 1] Operation: 69/69=1 Exploring Operation: 69-69=0, Resulting Numbers: [2, 0] Generated Node #0,0,3: 48:[2, 0] Operation: 69-69=0 Moving to Node #0,1 Current State: 48:[6, 75, 67], Operations: ['69-2=67'] Exploring Operation: 75-67=8, Resulting Numbers: [6, 8] Generated Node #0,1,0: 48:[6, 8] Operation: 75-67=8 Exploring Operation: 6+75=81, Resulting Numbers: [67, 81] Generated Node #0,1,1: 48:[67, 81] Operation: 6+75=81 Exploring Operation: 67-6=61, Resulting Numbers: [75, 61] Generated Node #0,1,2: 48:[75, 61] Operation: 67-6=61 Exploring Operation: 75-6=69, Resulting Numbers: [67, 69] Generated Node #0,1,3: 48:[67, 69] Operation: 75-6=69 Moving to Node #0,3,0 Current State: 48:[6, 4], Operations: ['75-69=6', '6-2=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[6, 12], Operations: ['75-69=6', '6*2=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,48 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[6, 8], Operations: ['69-2=67', '75-67=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.973958
bfs_4
Current State: 48:[6, 69, 75, 2], Operations: [] Exploring Operation: 6+2=8, Resulting Numbers: [69, 75, 8] Generated Node #2: [69, 75, 8] from Operation: 6+2=8 Current State: 48:[69, 75, 8], Operations: ['6+2=8'] Exploring Operation: 75-69=6, Resulting Numbers: [8, 6] Generated Node #3: [8, 6] from Operation: 75-69=6 Current State: 48:[8, 6], Operations: ['6+2=8', '75-69=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
mult_heuristic
[ { "content": "Make 48 with the numbers [6, 69, 75, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 48:[6, 69, 75, 2], Operations: []\nExploring Operation: 75-6=69, Resulting Numbers: [69, 2, 69]\nGenerated Node #0,0: 48:[69, 2, 69] Operation: 75-6=69\nExploring Operation: 69-2=67, Resulting Numbers: [6, 75, 67]\nGenerated Node #0,1: 48:[6, 75, 67] Operation: 69-2=67\nExploring Operation: 69-6=63, Resulting Numbers: [75, 2, 63]\nGenerated Node #0,2: 48:[75, 2, 63] Operation: 69-6=63\nExploring Operation: 75-69=6, Resulting Numbers: [6, 2, 6]\nGenerated Node #0,3: 48:[6, 2, 6] Operation: 75-69=6\nMoving to Node #0,3\nCurrent State: 48:[6, 2, 6], Operations: ['75-69=6']\nExploring Operation: 6-2=4, Resulting Numbers: [6, 4]\nGenerated Node #0,3,0: 48:[6, 4] Operation: 6-2=4\nExploring Operation: 6/2=3, Resulting Numbers: [6, 3]\nGenerated Node #0,3,1: 48:[6, 3] Operation: 6/2=3\nExploring Operation: 6*2=12, Resulting Numbers: [6, 12]\nGenerated Node #0,3,2: 48:[6, 12] Operation: 6*2=12\nExploring Operation: 6+2=8, Resulting Numbers: [6, 8]\nGenerated Node #0,3,3: 48:[6, 8] Operation: 6+2=8\nMoving to Node #0,2\nCurrent State: 48:[75, 2, 63], Operations: ['69-6=63']\nExploring Operation: 75-2=73, Resulting Numbers: [63, 73]\nGenerated Node #0,2,0: 48:[63, 73] Operation: 75-2=73\nExploring Operation: 63-2=61, Resulting Numbers: [75, 61]\nGenerated Node #0,2,1: 48:[75, 61] Operation: 63-2=61\nExploring Operation: 75-63=12, Resulting Numbers: [2, 12]\nGenerated Node #0,2,2: 48:[2, 12] Operation: 75-63=12\nExploring Operation: 75+2=77, Resulting Numbers: [63, 77]\nGenerated Node #0,2,3: 48:[63, 77] Operation: 75+2=77\nMoving to Node #0,0\nCurrent State: 48:[69, 2, 69], Operations: ['75-6=69']\nExploring Operation: 69-2=67, Resulting Numbers: [69, 67]\nGenerated Node #0,0,0: 48:[69, 67] Operation: 69-2=67\nExploring Operation: 69-2=67, Resulting Numbers: [69, 67]\nGenerated Node #0,0,1: 48:[69, 67] Operation: 69-2=67\nExploring Operation: 69/69=1, Resulting Numbers: [2, 1]\nGenerated Node #0,0,2: 48:[2, 1] Operation: 69/69=1\nExploring Operation: 69-69=0, Resulting Numbers: [2, 0]\nGenerated Node #0,0,3: 48:[2, 0] Operation: 69-69=0\nMoving to Node #0,1\nCurrent State: 48:[6, 75, 67], Operations: ['69-2=67']\nExploring Operation: 75-67=8, Resulting Numbers: [6, 8]\nGenerated Node #0,1,0: 48:[6, 8] Operation: 75-67=8\nExploring Operation: 6+75=81, Resulting Numbers: [67, 81]\nGenerated Node #0,1,1: 48:[67, 81] Operation: 6+75=81\nExploring Operation: 67-6=61, Resulting Numbers: [75, 61]\nGenerated Node #0,1,2: 48:[75, 61] Operation: 67-6=61\nExploring Operation: 75-6=69, Resulting Numbers: [67, 69]\nGenerated Node #0,1,3: 48:[67, 69] Operation: 75-6=69\nMoving to Node #0,3,0\nCurrent State: 48:[6, 4], Operations: ['75-69=6', '6-2=4']\nExploring Operation: 6+4=10, Resulting Numbers: [10]\n10,48 unequal: No Solution\nExploring Operation: 6*4=24, Resulting Numbers: [24]\n24,48 unequal: No Solution\nExploring Operation: 6-4=2, Resulting Numbers: [2]\n2,48 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 48:[6, 12], Operations: ['75-69=6', '6*2=12']\nExploring Operation: 12-6=6, Resulting Numbers: [6]\n6,48 unequal: No Solution\nExploring Operation: 6*12=72, Resulting Numbers: [72]\n72,48 unequal: No Solution\nExploring Operation: 6+12=18, Resulting Numbers: [18]\n18,48 unequal: No Solution\nExploring Operation: 12/6=2, Resulting Numbers: [2]\n2,48 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 48:[6, 8], Operations: ['69-2=67', '75-67=8']\nExploring Operation: 6+8=14, Resulting Numbers: [14]\n14,48 unequal: No Solution\nExploring Operation: 6*8=48, Resulting Numbers: [48]\n48,48 equal: Goal Reached\n", "role": "assistant" } ]
[ 39, 87, 29, 18 ]
33
[ "87/29=3", "18/3=6", "39-6=33" ]
Current State: 33:[39, 87, 29, 18], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [39, 18, 3] Generated Node #0,0: 33:[39, 18, 3] Operation: 87/29=3 Exploring Operation: 29-18=11, Resulting Numbers: [39, 87, 11] Generated Node #0,1: 33:[39, 87, 11] Operation: 29-18=11 Exploring Operation: 87-39=48, Resulting Numbers: [29, 18, 48] Generated Node #0,2: 33:[29, 18, 48] Operation: 87-39=48 Exploring Operation: 87-18=69, Resulting Numbers: [39, 29, 69] Generated Node #0,3: 33:[39, 29, 69] Operation: 87-18=69 Exploring Operation: 87-29=58, Resulting Numbers: [39, 18, 58] Generated Node #0,4: 33:[39, 18, 58] Operation: 87-29=58 Moving to Node #0,0 Current State: 33:[39, 18, 3], Operations: ['87/29=3'] Exploring Operation: 39-18=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 33:[3, 21] Operation: 39-18=21 Exploring Operation: 18/3=6, Resulting Numbers: [39, 6] Generated Node #0,0,1: 33:[39, 6] Operation: 18/3=6 Exploring Operation: 18-3=15, Resulting Numbers: [39, 15] Generated Node #0,0,2: 33:[39, 15] Operation: 18-3=15 Exploring Operation: 39-3=36, Resulting Numbers: [18, 36] Generated Node #0,0,3: 33:[18, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [18, 13] Generated Node #0,0,4: 33:[18, 13] Operation: 39/3=13 Moving to Node #0,2 Current State: 33:[29, 18, 48], Operations: ['87-39=48'] Exploring Operation: 18+48=66, Resulting Numbers: [29, 66] Generated Node #0,2,0: 33:[29, 66] Operation: 18+48=66 Exploring Operation: 48-29=19, Resulting Numbers: [18, 19] Generated Node #0,2,1: 33:[18, 19] Operation: 48-29=19 Exploring Operation: 29+18=47, Resulting Numbers: [48, 47] Generated Node #0,2,2: 33:[48, 47] Operation: 29+18=47 Exploring Operation: 29-18=11, Resulting Numbers: [48, 11] Generated Node #0,2,3: 33:[48, 11] Operation: 29-18=11 Exploring Operation: 48-18=30, Resulting Numbers: [29, 30] Generated Node #0,2,4: 33:[29, 30] Operation: 48-18=30 Moving to Node #0,4 Current State: 33:[39, 18, 58], Operations: ['87-29=58'] Exploring Operation: 39-18=21, Resulting Numbers: [58, 21] Generated Node #0,4,0: 33:[58, 21] Operation: 39-18=21 Exploring Operation: 58-39=19, Resulting Numbers: [18, 19] Generated Node #0,4,1: 33:[18, 19] Operation: 58-39=19 Exploring Operation: 39+18=57, Resulting Numbers: [58, 57] Generated Node #0,4,2: 33:[58, 57] Operation: 39+18=57 Exploring Operation: 58-18=40, Resulting Numbers: [39, 40] Generated Node #0,4,3: 33:[39, 40] Operation: 58-18=40 Exploring Operation: 18+58=76, Resulting Numbers: [39, 76] Generated Node #0,4,4: 33:[39, 76] Operation: 18+58=76 Moving to Node #0,3 Current State: 33:[39, 29, 69], Operations: ['87-18=69'] Exploring Operation: 39+29=68, Resulting Numbers: [69, 68] Generated Node #0,3,0: 33:[69, 68] Operation: 39+29=68 Exploring Operation: 39-29=10, Resulting Numbers: [69, 10] Generated Node #0,3,1: 33:[69, 10] Operation: 39-29=10 Exploring Operation: 69-29=40, Resulting Numbers: [39, 40] Generated Node #0,3,2: 33:[39, 40] Operation: 69-29=40 Exploring Operation: 29+69=98, Resulting Numbers: [39, 98] Generated Node #0,3,3: 33:[39, 98] Operation: 29+69=98 Exploring Operation: 69-39=30, Resulting Numbers: [29, 30] Generated Node #0,3,4: 33:[29, 30] Operation: 69-39=30 Moving to Node #0,1 Current State: 33:[39, 87, 11], Operations: ['29-18=11'] Exploring Operation: 87+11=98, Resulting Numbers: [39, 98] Generated Node #0,1,0: 33:[39, 98] Operation: 87+11=98 Exploring Operation: 39+11=50, Resulting Numbers: [87, 50] Generated Node #0,1,1: 33:[87, 50] Operation: 39+11=50 Exploring Operation: 87-39=48, Resulting Numbers: [11, 48] Generated Node #0,1,2: 33:[11, 48] Operation: 87-39=48 Exploring Operation: 87-11=76, Resulting Numbers: [39, 76] Generated Node #0,1,3: 33:[39, 76] Operation: 87-11=76 Exploring Operation: 39-11=28, Resulting Numbers: [87, 28] Generated Node #0,1,4: 33:[87, 28] Operation: 39-11=28 Moving to Node #0,2,4 Current State: 33:[29, 30], Operations: ['87-39=48', '48-18=30'] Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,33 unequal: No Solution Moving to Node #0,3,4 Current State: 33:[29, 30], Operations: ['87-18=69', '69-39=30'] Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,33 unequal: No Solution Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[39, 6], Operations: ['87/29=3', '18/3=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.966146
bfs_5
Current State: 33:[39, 87, 29, 18], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [39, 18, 3] Generated Node #2: [39, 18, 3] from Operation: 87/29=3 Current State: 33:[39, 18, 3], Operations: ['87/29=3'] Exploring Operation: 18/3=6, Resulting Numbers: [39, 6] Generated Node #3: [39, 6] from Operation: 18/3=6 Current State: 33:[39, 6], Operations: ['87/29=3', '18/3=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
mult_heuristic
[ { "content": "Make 33 with the numbers [39, 87, 29, 18] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 33:[39, 87, 29, 18], Operations: []\nExploring Operation: 87/29=3, Resulting Numbers: [39, 18, 3]\nGenerated Node #0,0: 33:[39, 18, 3] Operation: 87/29=3\nExploring Operation: 29-18=11, Resulting Numbers: [39, 87, 11]\nGenerated Node #0,1: 33:[39, 87, 11] Operation: 29-18=11\nExploring Operation: 87-39=48, Resulting Numbers: [29, 18, 48]\nGenerated Node #0,2: 33:[29, 18, 48] Operation: 87-39=48\nExploring Operation: 87-18=69, Resulting Numbers: [39, 29, 69]\nGenerated Node #0,3: 33:[39, 29, 69] Operation: 87-18=69\nExploring Operation: 87-29=58, Resulting Numbers: [39, 18, 58]\nGenerated Node #0,4: 33:[39, 18, 58] Operation: 87-29=58\nMoving to Node #0,0\nCurrent State: 33:[39, 18, 3], Operations: ['87/29=3']\nExploring Operation: 39-18=21, Resulting Numbers: [3, 21]\nGenerated Node #0,0,0: 33:[3, 21] Operation: 39-18=21\nExploring Operation: 18/3=6, Resulting Numbers: [39, 6]\nGenerated Node #0,0,1: 33:[39, 6] Operation: 18/3=6\nExploring Operation: 18-3=15, Resulting Numbers: [39, 15]\nGenerated Node #0,0,2: 33:[39, 15] Operation: 18-3=15\nExploring Operation: 39-3=36, Resulting Numbers: [18, 36]\nGenerated Node #0,0,3: 33:[18, 36] Operation: 39-3=36\nExploring Operation: 39/3=13, Resulting Numbers: [18, 13]\nGenerated Node #0,0,4: 33:[18, 13] Operation: 39/3=13\nMoving to Node #0,2\nCurrent State: 33:[29, 18, 48], Operations: ['87-39=48']\nExploring Operation: 18+48=66, Resulting Numbers: [29, 66]\nGenerated Node #0,2,0: 33:[29, 66] Operation: 18+48=66\nExploring Operation: 48-29=19, Resulting Numbers: [18, 19]\nGenerated Node #0,2,1: 33:[18, 19] Operation: 48-29=19\nExploring Operation: 29+18=47, Resulting Numbers: [48, 47]\nGenerated Node #0,2,2: 33:[48, 47] Operation: 29+18=47\nExploring Operation: 29-18=11, Resulting Numbers: [48, 11]\nGenerated Node #0,2,3: 33:[48, 11] Operation: 29-18=11\nExploring Operation: 48-18=30, Resulting Numbers: [29, 30]\nGenerated Node #0,2,4: 33:[29, 30] Operation: 48-18=30\nMoving to Node #0,4\nCurrent State: 33:[39, 18, 58], Operations: ['87-29=58']\nExploring Operation: 39-18=21, Resulting Numbers: [58, 21]\nGenerated Node #0,4,0: 33:[58, 21] Operation: 39-18=21\nExploring Operation: 58-39=19, Resulting Numbers: [18, 19]\nGenerated Node #0,4,1: 33:[18, 19] Operation: 58-39=19\nExploring Operation: 39+18=57, Resulting Numbers: [58, 57]\nGenerated Node #0,4,2: 33:[58, 57] Operation: 39+18=57\nExploring Operation: 58-18=40, Resulting Numbers: [39, 40]\nGenerated Node #0,4,3: 33:[39, 40] Operation: 58-18=40\nExploring Operation: 18+58=76, Resulting Numbers: [39, 76]\nGenerated Node #0,4,4: 33:[39, 76] Operation: 18+58=76\nMoving to Node #0,3\nCurrent State: 33:[39, 29, 69], Operations: ['87-18=69']\nExploring Operation: 39+29=68, Resulting Numbers: [69, 68]\nGenerated Node #0,3,0: 33:[69, 68] Operation: 39+29=68\nExploring Operation: 39-29=10, Resulting Numbers: [69, 10]\nGenerated Node #0,3,1: 33:[69, 10] Operation: 39-29=10\nExploring Operation: 69-29=40, Resulting Numbers: [39, 40]\nGenerated Node #0,3,2: 33:[39, 40] Operation: 69-29=40\nExploring Operation: 29+69=98, Resulting Numbers: [39, 98]\nGenerated Node #0,3,3: 33:[39, 98] Operation: 29+69=98\nExploring Operation: 69-39=30, Resulting Numbers: [29, 30]\nGenerated Node #0,3,4: 33:[29, 30] Operation: 69-39=30\nMoving to Node #0,1\nCurrent State: 33:[39, 87, 11], Operations: ['29-18=11']\nExploring Operation: 87+11=98, Resulting Numbers: [39, 98]\nGenerated Node #0,1,0: 33:[39, 98] Operation: 87+11=98\nExploring Operation: 39+11=50, Resulting Numbers: [87, 50]\nGenerated Node #0,1,1: 33:[87, 50] Operation: 39+11=50\nExploring Operation: 87-39=48, Resulting Numbers: [11, 48]\nGenerated Node #0,1,2: 33:[11, 48] Operation: 87-39=48\nExploring Operation: 87-11=76, Resulting Numbers: [39, 76]\nGenerated Node #0,1,3: 33:[39, 76] Operation: 87-11=76\nExploring Operation: 39-11=28, Resulting Numbers: [87, 28]\nGenerated Node #0,1,4: 33:[87, 28] Operation: 39-11=28\nMoving to Node #0,2,4\nCurrent State: 33:[29, 30], Operations: ['87-39=48', '48-18=30']\nExploring Operation: 29+30=59, Resulting Numbers: [59]\n59,33 unequal: No Solution\nExploring Operation: 30-29=1, Resulting Numbers: [1]\n1,33 unequal: No Solution\nExploring Operation: 29*30=870, Resulting Numbers: [870]\n870,33 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 33:[29, 30], Operations: ['87-18=69', '69-39=30']\nExploring Operation: 29*30=870, Resulting Numbers: [870]\n870,33 unequal: No Solution\nExploring Operation: 29+30=59, Resulting Numbers: [59]\n59,33 unequal: No Solution\nExploring Operation: 30-29=1, Resulting Numbers: [1]\n1,33 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 33:[39, 6], Operations: ['87/29=3', '18/3=6']\nExploring Operation: 39+6=45, Resulting Numbers: [45]\n45,33 unequal: No Solution\nExploring Operation: 39-6=33, Resulting Numbers: [33]\n33,33 equal: Goal Reached\n", "role": "assistant" } ]
[ 37, 43, 29, 85 ]
36
[ "43*29=1247", "85+1247=1332", "1332/37=36" ]
Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [37, 29, 42] Generated Node #0,0: 36:[37, 29, 42] Operation: 85-43=42 Moving to Node #0,0 Current State: 36:[37, 29, 42], Operations: ['85-43=42'] Exploring Operation: 42-29=13, Resulting Numbers: [37, 13] Generated Node #0,0,0: 36:[37, 13] Operation: 42-29=13 Moving to Node #0,0,0 Current State: 36:[37, 13], Operations: ['85-43=42', '42-29=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[37, 13], Operations: ['85-43=42', '42-29=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[37, 29, 42], Operations: ['85-43=42'] Exploring Operation: 37-29=8, Resulting Numbers: [42, 8] Generated Node #0,0,1: 36:[42, 8] Operation: 37-29=8 Moving to Node #0,0,1 Current State: 36:[42, 8], Operations: ['85-43=42', '37-29=8'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[42, 8], Operations: ['85-43=42', '37-29=8'] Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[37, 29, 42], Operations: ['85-43=42'] Exploring Operation: 37+29=66, Resulting Numbers: [42, 66] Generated Node #0,0,2: 36:[42, 66] Operation: 37+29=66 Moving to Node #0,0,2 Current State: 36:[42, 66], Operations: ['85-43=42', '37+29=66'] Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[37, 29, 42], Operations: ['85-43=42'] Exploring Operation: 29+42=71, Resulting Numbers: [37, 71] Generated Node #0,0,3: 36:[37, 71] Operation: 29+42=71 Moving to Node #0,0,3 Current State: 36:[37, 71], Operations: ['85-43=42', '29+42=71'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[37, 29, 42], Operations: ['85-43=42'] Exploring Operation: 42-37=5, Resulting Numbers: [29, 5] Generated Node #0,0,4: 36:[29, 5] Operation: 42-37=5 Moving to Node #0,0,4 Current State: 36:[29, 5], Operations: ['85-43=42', '42-37=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[29, 5], Operations: ['85-43=42', '42-37=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[37, 29, 42], Operations: ['85-43=42'] Exploring Operation: 37+42=79, Resulting Numbers: [29, 79] Generated Node #0,0,5: 36:[29, 79] Operation: 37+42=79 Moving to Node #0,0,5 Current State: 36:[29, 79], Operations: ['85-43=42', '37+42=79'] Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 85-37=48, Resulting Numbers: [43, 29, 48] Generated Node #0,1: 36:[43, 29, 48] Operation: 85-37=48 Moving to Node #0,1 Current State: 36:[43, 29, 48], Operations: ['85-37=48'] Exploring Operation: 48-29=19, Resulting Numbers: [43, 19] Generated Node #0,1,0: 36:[43, 19] Operation: 48-29=19 Moving to Node #0,1,0 Current State: 36:[43, 19], Operations: ['85-37=48', '48-29=19'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[43, 19], Operations: ['85-37=48', '48-29=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[43, 29, 48], Operations: ['85-37=48'] Exploring Operation: 43-29=14, Resulting Numbers: [48, 14] Generated Node #0,1,1: 36:[48, 14] Operation: 43-29=14 Moving to Node #0,1,1 Current State: 36:[48, 14], Operations: ['85-37=48', '43-29=14'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[48, 14], Operations: ['85-37=48', '43-29=14'] Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[43, 29, 48], Operations: ['85-37=48'] Exploring Operation: 48-43=5, Resulting Numbers: [29, 5] Generated Node #0,1,2: 36:[29, 5] Operation: 48-43=5 Moving to Node #0,1,2 Current State: 36:[29, 5], Operations: ['85-37=48', '48-43=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[29, 5], Operations: ['85-37=48', '48-43=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[43, 29, 48], Operations: ['85-37=48'] Exploring Operation: 43+29=72, Resulting Numbers: [48, 72] Generated Node #0,1,3: 36:[48, 72] Operation: 43+29=72 Moving to Node #0,1,3 Current State: 36:[48, 72], Operations: ['85-37=48', '43+29=72'] Exploring Operation: 72-48=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[43, 29, 48], Operations: ['85-37=48'] Exploring Operation: 29+48=77, Resulting Numbers: [43, 77] Generated Node #0,1,4: 36:[43, 77] Operation: 29+48=77 Moving to Node #0,1,4 Current State: 36:[43, 77], Operations: ['85-37=48', '29+48=77'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[43, 29, 48], Operations: ['85-37=48'] Exploring Operation: 43+48=91, Resulting Numbers: [29, 91] Generated Node #0,1,5: 36:[29, 91] Operation: 43+48=91 Moving to Node #0,1,5 Current State: 36:[29, 91], Operations: ['85-37=48', '43+48=91'] Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [37, 43, 56] Generated Node #0,2: 36:[37, 43, 56] Operation: 85-29=56 Moving to Node #0,2 Current State: 36:[37, 43, 56], Operations: ['85-29=56'] Exploring Operation: 56-37=19, Resulting Numbers: [43, 19] Generated Node #0,2,0: 36:[43, 19] Operation: 56-37=19 Moving to Node #0,2,0 Current State: 36:[43, 19], Operations: ['85-29=56', '56-37=19'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[43, 19], Operations: ['85-29=56', '56-37=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[37, 43, 56], Operations: ['85-29=56'] Exploring Operation: 56-43=13, Resulting Numbers: [37, 13] Generated Node #0,2,1: 36:[37, 13] Operation: 56-43=13 Moving to Node #0,2,1 Current State: 36:[37, 13], Operations: ['85-29=56', '56-43=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[37, 13], Operations: ['85-29=56', '56-43=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[37, 43, 56], Operations: ['85-29=56'] Exploring Operation: 43-37=6, Resulting Numbers: [56, 6] Generated Node #0,2,2: 36:[56, 6] Operation: 43-37=6 Moving to Node #0,2,2 Current State: 36:[56, 6], Operations: ['85-29=56', '43-37=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[56, 6], Operations: ['85-29=56', '43-37=6'] Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[37, 43, 56], Operations: ['85-29=56'] Exploring Operation: 37+43=80, Resulting Numbers: [56, 80] Generated Node #0,2,3: 36:[56, 80] Operation: 37+43=80 Moving to Node #0,2,3 Current State: 36:[56, 80], Operations: ['85-29=56', '37+43=80'] Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[37, 43, 56], Operations: ['85-29=56'] Exploring Operation: 37+56=93, Resulting Numbers: [43, 93] Generated Node #0,2,4: 36:[43, 93] Operation: 37+56=93 Moving to Node #0,2,4 Current State: 36:[43, 93], Operations: ['85-29=56', '37+56=93'] Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[37, 43, 56], Operations: ['85-29=56'] Exploring Operation: 43+56=99, Resulting Numbers: [37, 99] Generated Node #0,2,5: 36:[37, 99] Operation: 43+56=99 Moving to Node #0,2,5 Current State: 36:[37, 99], Operations: ['85-29=56', '43+56=99'] Exploring Operation: 99-37=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 43-29=14, Resulting Numbers: [37, 85, 14] Generated Node #0,3: 36:[37, 85, 14] Operation: 43-29=14 Moving to Node #0,3 Current State: 36:[37, 85, 14], Operations: ['43-29=14'] Exploring Operation: 85-37=48, Resulting Numbers: [14, 48] Generated Node #0,3,0: 36:[14, 48] Operation: 85-37=48 Moving to Node #0,3,0 Current State: 36:[14, 48], Operations: ['43-29=14', '85-37=48'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[14, 48], Operations: ['43-29=14', '85-37=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,3 Current State: 36:[37, 85, 14], Operations: ['43-29=14'] Exploring Operation: 85-14=71, Resulting Numbers: [37, 71] Generated Node #0,3,1: 36:[37, 71] Operation: 85-14=71 Moving to Node #0,3,1 Current State: 36:[37, 71], Operations: ['43-29=14', '85-14=71'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,3 Current State: 36:[37, 85, 14], Operations: ['43-29=14'] Exploring Operation: 37-14=23, Resulting Numbers: [85, 23] Generated Node #0,3,2: 36:[85, 23] Operation: 37-14=23 Moving to Node #0,3,2 Current State: 36:[85, 23], Operations: ['43-29=14', '37-14=23'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,3 Current State: 36:[37, 85, 14], Operations: ['43-29=14'] Exploring Operation: 37+14=51, Resulting Numbers: [85, 51] Generated Node #0,3,3: 36:[85, 51] Operation: 37+14=51 Moving to Node #0,3,3 Current State: 36:[85, 51], Operations: ['43-29=14', '37+14=51'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,3 Current State: 36:[37, 85, 14], Operations: ['43-29=14'] Exploring Operation: 85+14=99, Resulting Numbers: [37, 99] Generated Node #0,3,4: 36:[37, 99] Operation: 85+14=99 Moving to Node #0,3,4 Current State: 36:[37, 99], Operations: ['43-29=14', '85+14=99'] Exploring Operation: 99-37=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 37-29=8, Resulting Numbers: [43, 85, 8] Generated Node #0,4: 36:[43, 85, 8] Operation: 37-29=8 Moving to Node #0,4 Current State: 36:[43, 85, 8], Operations: ['37-29=8'] Exploring Operation: 85-43=42, Resulting Numbers: [8, 42] Generated Node #0,4,0: 36:[8, 42] Operation: 85-43=42 Moving to Node #0,4,0 Current State: 36:[8, 42], Operations: ['37-29=8', '85-43=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,4,0 Current State: 36:[8, 42], Operations: ['37-29=8', '85-43=42'] Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,4 Current State: 36:[43, 85, 8], Operations: ['37-29=8'] Exploring Operation: 85-8=77, Resulting Numbers: [43, 77] Generated Node #0,4,1: 36:[43, 77] Operation: 85-8=77 Moving to Node #0,4,1 Current State: 36:[43, 77], Operations: ['37-29=8', '85-8=77'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,4 Current State: 36:[43, 85, 8], Operations: ['37-29=8'] Exploring Operation: 43-8=35, Resulting Numbers: [85, 35] Generated Node #0,4,2: 36:[85, 35] Operation: 43-8=35 Moving to Node #0,4,2 Current State: 36:[85, 35], Operations: ['37-29=8', '43-8=35'] Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,4 Current State: 36:[43, 85, 8], Operations: ['37-29=8'] Exploring Operation: 43+8=51, Resulting Numbers: [85, 51] Generated Node #0,4,3: 36:[85, 51] Operation: 43+8=51 Moving to Node #0,4,3 Current State: 36:[85, 51], Operations: ['37-29=8', '43+8=51'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,4 Current State: 36:[43, 85, 8], Operations: ['37-29=8'] Exploring Operation: 85+8=93, Resulting Numbers: [43, 93] Generated Node #0,4,4: 36:[43, 93] Operation: 85+8=93 Moving to Node #0,4,4 Current State: 36:[43, 93], Operations: ['37-29=8', '85+8=93'] Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 43-37=6, Resulting Numbers: [29, 85, 6] Generated Node #0,5: 36:[29, 85, 6] Operation: 43-37=6 Moving to Node #0,5 Current State: 36:[29, 85, 6], Operations: ['43-37=6'] Exploring Operation: 85-29=56, Resulting Numbers: [6, 56] Generated Node #0,5,0: 36:[6, 56] Operation: 85-29=56 Moving to Node #0,5,0 Current State: 36:[6, 56], Operations: ['43-37=6', '85-29=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,5,0 Current State: 36:[6, 56], Operations: ['43-37=6', '85-29=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,5 Current State: 36:[29, 85, 6], Operations: ['43-37=6'] Exploring Operation: 29+6=35, Resulting Numbers: [85, 35] Generated Node #0,5,1: 36:[85, 35] Operation: 29+6=35 Moving to Node #0,5,1 Current State: 36:[85, 35], Operations: ['43-37=6', '29+6=35'] Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,5 Current State: 36:[29, 85, 6], Operations: ['43-37=6'] Exploring Operation: 85-6=79, Resulting Numbers: [29, 79] Generated Node #0,5,2: 36:[29, 79] Operation: 85-6=79 Moving to Node #0,5,2 Current State: 36:[29, 79], Operations: ['43-37=6', '85-6=79'] Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,5 Current State: 36:[29, 85, 6], Operations: ['43-37=6'] Exploring Operation: 29-6=23, Resulting Numbers: [85, 23] Generated Node #0,5,3: 36:[85, 23] Operation: 29-6=23 Moving to Node #0,5,3 Current State: 36:[85, 23], Operations: ['43-37=6', '29-6=23'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,5 Current State: 36:[29, 85, 6], Operations: ['43-37=6'] Exploring Operation: 85+6=91, Resulting Numbers: [29, 91] Generated Node #0,5,4: 36:[29, 91] Operation: 85+6=91 Moving to Node #0,5,4 Current State: 36:[29, 91], Operations: ['43-37=6', '85+6=91'] Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 37+29=66, Resulting Numbers: [43, 85, 66] Generated Node #0,6: 36:[43, 85, 66] Operation: 37+29=66 Moving to Node #0,6 Current State: 36:[43, 85, 66], Operations: ['37+29=66'] Exploring Operation: 85-66=19, Resulting Numbers: [43, 19] Generated Node #0,6,0: 36:[43, 19] Operation: 85-66=19 Moving to Node #0,6,0 Current State: 36:[43, 19], Operations: ['37+29=66', '85-66=19'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,6,0 Current State: 36:[43, 19], Operations: ['37+29=66', '85-66=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,6 Current State: 36:[43, 85, 66], Operations: ['37+29=66'] Exploring Operation: 85-43=42, Resulting Numbers: [66, 42] Generated Node #0,6,1: 36:[66, 42] Operation: 85-43=42 Moving to Node #0,6,1 Current State: 36:[66, 42], Operations: ['37+29=66', '85-43=42'] Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,6 Current State: 36:[43, 85, 66], Operations: ['37+29=66'] Exploring Operation: 66-43=23, Resulting Numbers: [85, 23] Generated Node #0,6,2: 36:[85, 23] Operation: 66-43=23 Moving to Node #0,6,2 Current State: 36:[85, 23], Operations: ['37+29=66', '66-43=23'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 43+29=72, Resulting Numbers: [37, 85, 72] Generated Node #0,7: 36:[37, 85, 72] Operation: 43+29=72 Moving to Node #0,7 Current State: 36:[37, 85, 72], Operations: ['43+29=72'] Exploring Operation: 85-72=13, Resulting Numbers: [37, 13] Generated Node #0,7,0: 36:[37, 13] Operation: 85-72=13 Moving to Node #0,7,0 Current State: 36:[37, 13], Operations: ['43+29=72', '85-72=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,7,0 Current State: 36:[37, 13], Operations: ['43+29=72', '85-72=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,7 Current State: 36:[37, 85, 72], Operations: ['43+29=72'] Exploring Operation: 85-37=48, Resulting Numbers: [72, 48] Generated Node #0,7,1: 36:[72, 48] Operation: 85-37=48 Moving to Node #0,7,1 Current State: 36:[72, 48], Operations: ['43+29=72', '85-37=48'] Exploring Operation: 72-48=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,7 Current State: 36:[37, 85, 72], Operations: ['43+29=72'] Exploring Operation: 72-37=35, Resulting Numbers: [85, 35] Generated Node #0,7,2: 36:[85, 35] Operation: 72-37=35 Moving to Node #0,7,2 Current State: 36:[85, 35], Operations: ['43+29=72', '72-37=35'] Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 29+85=114, Resulting Numbers: [37, 43, 114] Generated Node #0,8: 36:[37, 43, 114] Operation: 29+85=114 Moving to Node #0,8 Current State: 36:[37, 43, 114], Operations: ['29+85=114'] Exploring Operation: 114-43=71, Resulting Numbers: [37, 71] Generated Node #0,8,0: 36:[37, 71] Operation: 114-43=71 Moving to Node #0,8,0 Current State: 36:[37, 71], Operations: ['29+85=114', '114-43=71'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,8 Current State: 36:[37, 43, 114], Operations: ['29+85=114'] Exploring Operation: 114-37=77, Resulting Numbers: [43, 77] Generated Node #0,8,1: 36:[43, 77] Operation: 114-37=77 Moving to Node #0,8,1 Current State: 36:[43, 77], Operations: ['29+85=114', '114-37=77'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 37+43=80, Resulting Numbers: [29, 85, 80] Generated Node #0,9: 36:[29, 85, 80] Operation: 37+43=80 Moving to Node #0,9 Current State: 36:[29, 85, 80], Operations: ['37+43=80'] Exploring Operation: 85-80=5, Resulting Numbers: [29, 5] Generated Node #0,9,0: 36:[29, 5] Operation: 85-80=5 Moving to Node #0,9,0 Current State: 36:[29, 5], Operations: ['37+43=80', '85-80=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,9,0 Current State: 36:[29, 5], Operations: ['37+43=80', '85-80=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,9 Current State: 36:[29, 85, 80], Operations: ['37+43=80'] Exploring Operation: 85-29=56, Resulting Numbers: [80, 56] Generated Node #0,9,1: 36:[80, 56] Operation: 85-29=56 Moving to Node #0,9,1 Current State: 36:[80, 56], Operations: ['37+43=80', '85-29=56'] Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,9 Current State: 36:[29, 85, 80], Operations: ['37+43=80'] Exploring Operation: 80-29=51, Resulting Numbers: [85, 51] Generated Node #0,9,2: 36:[85, 51] Operation: 80-29=51 Moving to Node #0,9,2 Current State: 36:[85, 51], Operations: ['37+43=80', '80-29=51'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 37+85=122, Resulting Numbers: [43, 29, 122] Generated Node #0,10: 36:[43, 29, 122] Operation: 37+85=122 Moving to Node #0,10 Current State: 36:[43, 29, 122], Operations: ['37+85=122'] Exploring Operation: 122-43=79, Resulting Numbers: [29, 79] Generated Node #0,10,0: 36:[29, 79] Operation: 122-43=79 Moving to Node #0,10,0 Current State: 36:[29, 79], Operations: ['37+85=122', '122-43=79'] Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,10 Current State: 36:[43, 29, 122], Operations: ['37+85=122'] Exploring Operation: 122-29=93, Resulting Numbers: [43, 93] Generated Node #0,10,1: 36:[43, 93] Operation: 122-29=93 Moving to Node #0,10,1 Current State: 36:[43, 93], Operations: ['37+85=122', '122-29=93'] Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0 Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 43+85=128, Resulting Numbers: [37, 29, 128] Generated Node #0,11: 36:[37, 29, 128] Operation: 43+85=128 Moving to Node #0,11 Current State: 36:[37, 29, 128], Operations: ['43+85=128'] Exploring Operation: 128-37=91, Resulting Numbers: [29, 91] Generated Node #0,11,0: 36:[29, 91] Operation: 128-37=91 Moving to Node #0,11,0 Current State: 36:[29, 91], Operations: ['43+85=128', '128-37=91'] Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,36 unequal: No Solution Moving to Node #0,11 Current State: 36:[37, 29, 128], Operations: ['43+85=128'] Exploring Operation: 128-29=99, Resulting Numbers: [37, 99] Generated Node #0,11,1: 36:[37, 99] Operation: 128-29=99 Moving to Node #0,11,1 Current State: 36:[37, 99], Operations: ['43+85=128', '128-29=99'] Exploring Operation: 99-37=62, Resulting Numbers: [62] 62,36 unequal: No Solution
0
dfs
Current State: 36:[37, 43, 29, 85], Operations: [] Exploring Operation: 43*29=1247, Resulting Numbers: [37, 85, 1247] Generated Node #2: [37, 85, 1247] from Operation: 43*29=1247 Current State: 36:[37, 85, 1247], Operations: ['43*29=1247'] Exploring Operation: 85+1247=1332, Resulting Numbers: [37, 1332] Generated Node #3: [37, 1332] from Operation: 85+1247=1332 Current State: 36:[37, 1332], Operations: ['43*29=1247', '85+1247=1332'] Exploring Operation: 1332/37=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
sum_heuristic
[ { "content": "Make 36 with the numbers [37, 43, 29, 85] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 85-43=42, Resulting Numbers: [37, 29, 42]\nGenerated Node #0,0: 36:[37, 29, 42] Operation: 85-43=42\nMoving to Node #0,0\nCurrent State: 36:[37, 29, 42], Operations: ['85-43=42']\nExploring Operation: 42-29=13, Resulting Numbers: [37, 13]\nGenerated Node #0,0,0: 36:[37, 13] Operation: 42-29=13\nMoving to Node #0,0,0\nCurrent State: 36:[37, 13], Operations: ['85-43=42', '42-29=13']\nExploring Operation: 37-13=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 36:[37, 13], Operations: ['85-43=42', '42-29=13']\nExploring Operation: 37+13=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 36:[37, 29, 42], Operations: ['85-43=42']\nExploring Operation: 37-29=8, Resulting Numbers: [42, 8]\nGenerated Node #0,0,1: 36:[42, 8] Operation: 37-29=8\nMoving to Node #0,0,1\nCurrent State: 36:[42, 8], Operations: ['85-43=42', '37-29=8']\nExploring Operation: 42-8=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 36:[42, 8], Operations: ['85-43=42', '37-29=8']\nExploring Operation: 42+8=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 36:[37, 29, 42], Operations: ['85-43=42']\nExploring Operation: 37+29=66, Resulting Numbers: [42, 66]\nGenerated Node #0,0,2: 36:[42, 66] Operation: 37+29=66\nMoving to Node #0,0,2\nCurrent State: 36:[42, 66], Operations: ['85-43=42', '37+29=66']\nExploring Operation: 66-42=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 36:[37, 29, 42], Operations: ['85-43=42']\nExploring Operation: 29+42=71, Resulting Numbers: [37, 71]\nGenerated Node #0,0,3: 36:[37, 71] Operation: 29+42=71\nMoving to Node #0,0,3\nCurrent State: 36:[37, 71], Operations: ['85-43=42', '29+42=71']\nExploring Operation: 71-37=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 36:[37, 29, 42], Operations: ['85-43=42']\nExploring Operation: 42-37=5, Resulting Numbers: [29, 5]\nGenerated Node #0,0,4: 36:[29, 5] Operation: 42-37=5\nMoving to Node #0,0,4\nCurrent State: 36:[29, 5], Operations: ['85-43=42', '42-37=5']\nExploring Operation: 29+5=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 36:[29, 5], Operations: ['85-43=42', '42-37=5']\nExploring Operation: 29-5=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 36:[37, 29, 42], Operations: ['85-43=42']\nExploring Operation: 37+42=79, Resulting Numbers: [29, 79]\nGenerated Node #0,0,5: 36:[29, 79] Operation: 37+42=79\nMoving to Node #0,0,5\nCurrent State: 36:[29, 79], Operations: ['85-43=42', '37+42=79']\nExploring Operation: 79-29=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 85-37=48, Resulting Numbers: [43, 29, 48]\nGenerated Node #0,1: 36:[43, 29, 48] Operation: 85-37=48\nMoving to Node #0,1\nCurrent State: 36:[43, 29, 48], Operations: ['85-37=48']\nExploring Operation: 48-29=19, Resulting Numbers: [43, 19]\nGenerated Node #0,1,0: 36:[43, 19] Operation: 48-29=19\nMoving to Node #0,1,0\nCurrent State: 36:[43, 19], Operations: ['85-37=48', '48-29=19']\nExploring Operation: 43-19=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 36:[43, 19], Operations: ['85-37=48', '48-29=19']\nExploring Operation: 43+19=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 36:[43, 29, 48], Operations: ['85-37=48']\nExploring Operation: 43-29=14, Resulting Numbers: [48, 14]\nGenerated Node #0,1,1: 36:[48, 14] Operation: 43-29=14\nMoving to Node #0,1,1\nCurrent State: 36:[48, 14], Operations: ['85-37=48', '43-29=14']\nExploring Operation: 48-14=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 36:[48, 14], Operations: ['85-37=48', '43-29=14']\nExploring Operation: 48+14=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 36:[43, 29, 48], Operations: ['85-37=48']\nExploring Operation: 48-43=5, Resulting Numbers: [29, 5]\nGenerated Node #0,1,2: 36:[29, 5] Operation: 48-43=5\nMoving to Node #0,1,2\nCurrent State: 36:[29, 5], Operations: ['85-37=48', '48-43=5']\nExploring Operation: 29+5=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 36:[29, 5], Operations: ['85-37=48', '48-43=5']\nExploring Operation: 29-5=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 36:[43, 29, 48], Operations: ['85-37=48']\nExploring Operation: 43+29=72, Resulting Numbers: [48, 72]\nGenerated Node #0,1,3: 36:[48, 72] Operation: 43+29=72\nMoving to Node #0,1,3\nCurrent State: 36:[48, 72], Operations: ['85-37=48', '43+29=72']\nExploring Operation: 72-48=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 36:[43, 29, 48], Operations: ['85-37=48']\nExploring Operation: 29+48=77, Resulting Numbers: [43, 77]\nGenerated Node #0,1,4: 36:[43, 77] Operation: 29+48=77\nMoving to Node #0,1,4\nCurrent State: 36:[43, 77], Operations: ['85-37=48', '29+48=77']\nExploring Operation: 77-43=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 36:[43, 29, 48], Operations: ['85-37=48']\nExploring Operation: 43+48=91, Resulting Numbers: [29, 91]\nGenerated Node #0,1,5: 36:[29, 91] Operation: 43+48=91\nMoving to Node #0,1,5\nCurrent State: 36:[29, 91], Operations: ['85-37=48', '43+48=91']\nExploring Operation: 91-29=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 85-29=56, Resulting Numbers: [37, 43, 56]\nGenerated Node #0,2: 36:[37, 43, 56] Operation: 85-29=56\nMoving to Node #0,2\nCurrent State: 36:[37, 43, 56], Operations: ['85-29=56']\nExploring Operation: 56-37=19, Resulting Numbers: [43, 19]\nGenerated Node #0,2,0: 36:[43, 19] Operation: 56-37=19\nMoving to Node #0,2,0\nCurrent State: 36:[43, 19], Operations: ['85-29=56', '56-37=19']\nExploring Operation: 43-19=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 36:[43, 19], Operations: ['85-29=56', '56-37=19']\nExploring Operation: 43+19=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 36:[37, 43, 56], Operations: ['85-29=56']\nExploring Operation: 56-43=13, Resulting Numbers: [37, 13]\nGenerated Node #0,2,1: 36:[37, 13] Operation: 56-43=13\nMoving to Node #0,2,1\nCurrent State: 36:[37, 13], Operations: ['85-29=56', '56-43=13']\nExploring Operation: 37-13=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 36:[37, 13], Operations: ['85-29=56', '56-43=13']\nExploring Operation: 37+13=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 36:[37, 43, 56], Operations: ['85-29=56']\nExploring Operation: 43-37=6, Resulting Numbers: [56, 6]\nGenerated Node #0,2,2: 36:[56, 6] Operation: 43-37=6\nMoving to Node #0,2,2\nCurrent State: 36:[56, 6], Operations: ['85-29=56', '43-37=6']\nExploring Operation: 56-6=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 36:[56, 6], Operations: ['85-29=56', '43-37=6']\nExploring Operation: 56+6=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 36:[37, 43, 56], Operations: ['85-29=56']\nExploring Operation: 37+43=80, Resulting Numbers: [56, 80]\nGenerated Node #0,2,3: 36:[56, 80] Operation: 37+43=80\nMoving to Node #0,2,3\nCurrent State: 36:[56, 80], Operations: ['85-29=56', '37+43=80']\nExploring Operation: 80-56=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 36:[37, 43, 56], Operations: ['85-29=56']\nExploring Operation: 37+56=93, Resulting Numbers: [43, 93]\nGenerated Node #0,2,4: 36:[43, 93] Operation: 37+56=93\nMoving to Node #0,2,4\nCurrent State: 36:[43, 93], Operations: ['85-29=56', '37+56=93']\nExploring Operation: 93-43=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 36:[37, 43, 56], Operations: ['85-29=56']\nExploring Operation: 43+56=99, Resulting Numbers: [37, 99]\nGenerated Node #0,2,5: 36:[37, 99] Operation: 43+56=99\nMoving to Node #0,2,5\nCurrent State: 36:[37, 99], Operations: ['85-29=56', '43+56=99']\nExploring Operation: 99-37=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 43-29=14, Resulting Numbers: [37, 85, 14]\nGenerated Node #0,3: 36:[37, 85, 14] Operation: 43-29=14\nMoving to Node #0,3\nCurrent State: 36:[37, 85, 14], Operations: ['43-29=14']\nExploring Operation: 85-37=48, Resulting Numbers: [14, 48]\nGenerated Node #0,3,0: 36:[14, 48] Operation: 85-37=48\nMoving to Node #0,3,0\nCurrent State: 36:[14, 48], Operations: ['43-29=14', '85-37=48']\nExploring Operation: 48-14=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 36:[14, 48], Operations: ['43-29=14', '85-37=48']\nExploring Operation: 14+48=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 36:[37, 85, 14], Operations: ['43-29=14']\nExploring Operation: 85-14=71, Resulting Numbers: [37, 71]\nGenerated Node #0,3,1: 36:[37, 71] Operation: 85-14=71\nMoving to Node #0,3,1\nCurrent State: 36:[37, 71], Operations: ['43-29=14', '85-14=71']\nExploring Operation: 71-37=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 36:[37, 85, 14], Operations: ['43-29=14']\nExploring Operation: 37-14=23, Resulting Numbers: [85, 23]\nGenerated Node #0,3,2: 36:[85, 23] Operation: 37-14=23\nMoving to Node #0,3,2\nCurrent State: 36:[85, 23], Operations: ['43-29=14', '37-14=23']\nExploring Operation: 85-23=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 36:[37, 85, 14], Operations: ['43-29=14']\nExploring Operation: 37+14=51, Resulting Numbers: [85, 51]\nGenerated Node #0,3,3: 36:[85, 51] Operation: 37+14=51\nMoving to Node #0,3,3\nCurrent State: 36:[85, 51], Operations: ['43-29=14', '37+14=51']\nExploring Operation: 85-51=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 36:[37, 85, 14], Operations: ['43-29=14']\nExploring Operation: 85+14=99, Resulting Numbers: [37, 99]\nGenerated Node #0,3,4: 36:[37, 99] Operation: 85+14=99\nMoving to Node #0,3,4\nCurrent State: 36:[37, 99], Operations: ['43-29=14', '85+14=99']\nExploring Operation: 99-37=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 37-29=8, Resulting Numbers: [43, 85, 8]\nGenerated Node #0,4: 36:[43, 85, 8] Operation: 37-29=8\nMoving to Node #0,4\nCurrent State: 36:[43, 85, 8], Operations: ['37-29=8']\nExploring Operation: 85-43=42, Resulting Numbers: [8, 42]\nGenerated Node #0,4,0: 36:[8, 42] Operation: 85-43=42\nMoving to Node #0,4,0\nCurrent State: 36:[8, 42], Operations: ['37-29=8', '85-43=42']\nExploring Operation: 42-8=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 36:[8, 42], Operations: ['37-29=8', '85-43=42']\nExploring Operation: 8+42=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 36:[43, 85, 8], Operations: ['37-29=8']\nExploring Operation: 85-8=77, Resulting Numbers: [43, 77]\nGenerated Node #0,4,1: 36:[43, 77] Operation: 85-8=77\nMoving to Node #0,4,1\nCurrent State: 36:[43, 77], Operations: ['37-29=8', '85-8=77']\nExploring Operation: 77-43=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 36:[43, 85, 8], Operations: ['37-29=8']\nExploring Operation: 43-8=35, Resulting Numbers: [85, 35]\nGenerated Node #0,4,2: 36:[85, 35] Operation: 43-8=35\nMoving to Node #0,4,2\nCurrent State: 36:[85, 35], Operations: ['37-29=8', '43-8=35']\nExploring Operation: 85-35=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 36:[43, 85, 8], Operations: ['37-29=8']\nExploring Operation: 43+8=51, Resulting Numbers: [85, 51]\nGenerated Node #0,4,3: 36:[85, 51] Operation: 43+8=51\nMoving to Node #0,4,3\nCurrent State: 36:[85, 51], Operations: ['37-29=8', '43+8=51']\nExploring Operation: 85-51=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 36:[43, 85, 8], Operations: ['37-29=8']\nExploring Operation: 85+8=93, Resulting Numbers: [43, 93]\nGenerated Node #0,4,4: 36:[43, 93] Operation: 85+8=93\nMoving to Node #0,4,4\nCurrent State: 36:[43, 93], Operations: ['37-29=8', '85+8=93']\nExploring Operation: 93-43=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 43-37=6, Resulting Numbers: [29, 85, 6]\nGenerated Node #0,5: 36:[29, 85, 6] Operation: 43-37=6\nMoving to Node #0,5\nCurrent State: 36:[29, 85, 6], Operations: ['43-37=6']\nExploring Operation: 85-29=56, Resulting Numbers: [6, 56]\nGenerated Node #0,5,0: 36:[6, 56] Operation: 85-29=56\nMoving to Node #0,5,0\nCurrent State: 36:[6, 56], Operations: ['43-37=6', '85-29=56']\nExploring Operation: 56-6=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 36:[6, 56], Operations: ['43-37=6', '85-29=56']\nExploring Operation: 6+56=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 36:[29, 85, 6], Operations: ['43-37=6']\nExploring Operation: 29+6=35, Resulting Numbers: [85, 35]\nGenerated Node #0,5,1: 36:[85, 35] Operation: 29+6=35\nMoving to Node #0,5,1\nCurrent State: 36:[85, 35], Operations: ['43-37=6', '29+6=35']\nExploring Operation: 85-35=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 36:[29, 85, 6], Operations: ['43-37=6']\nExploring Operation: 85-6=79, Resulting Numbers: [29, 79]\nGenerated Node #0,5,2: 36:[29, 79] Operation: 85-6=79\nMoving to Node #0,5,2\nCurrent State: 36:[29, 79], Operations: ['43-37=6', '85-6=79']\nExploring Operation: 79-29=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 36:[29, 85, 6], Operations: ['43-37=6']\nExploring Operation: 29-6=23, Resulting Numbers: [85, 23]\nGenerated Node #0,5,3: 36:[85, 23] Operation: 29-6=23\nMoving to Node #0,5,3\nCurrent State: 36:[85, 23], Operations: ['43-37=6', '29-6=23']\nExploring Operation: 85-23=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 36:[29, 85, 6], Operations: ['43-37=6']\nExploring Operation: 85+6=91, Resulting Numbers: [29, 91]\nGenerated Node #0,5,4: 36:[29, 91] Operation: 85+6=91\nMoving to Node #0,5,4\nCurrent State: 36:[29, 91], Operations: ['43-37=6', '85+6=91']\nExploring Operation: 91-29=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 37+29=66, Resulting Numbers: [43, 85, 66]\nGenerated Node #0,6: 36:[43, 85, 66] Operation: 37+29=66\nMoving to Node #0,6\nCurrent State: 36:[43, 85, 66], Operations: ['37+29=66']\nExploring Operation: 85-66=19, Resulting Numbers: [43, 19]\nGenerated Node #0,6,0: 36:[43, 19] Operation: 85-66=19\nMoving to Node #0,6,0\nCurrent State: 36:[43, 19], Operations: ['37+29=66', '85-66=19']\nExploring Operation: 43-19=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 36:[43, 19], Operations: ['37+29=66', '85-66=19']\nExploring Operation: 43+19=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 36:[43, 85, 66], Operations: ['37+29=66']\nExploring Operation: 85-43=42, Resulting Numbers: [66, 42]\nGenerated Node #0,6,1: 36:[66, 42] Operation: 85-43=42\nMoving to Node #0,6,1\nCurrent State: 36:[66, 42], Operations: ['37+29=66', '85-43=42']\nExploring Operation: 66-42=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 36:[43, 85, 66], Operations: ['37+29=66']\nExploring Operation: 66-43=23, Resulting Numbers: [85, 23]\nGenerated Node #0,6,2: 36:[85, 23] Operation: 66-43=23\nMoving to Node #0,6,2\nCurrent State: 36:[85, 23], Operations: ['37+29=66', '66-43=23']\nExploring Operation: 85-23=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 43+29=72, Resulting Numbers: [37, 85, 72]\nGenerated Node #0,7: 36:[37, 85, 72] Operation: 43+29=72\nMoving to Node #0,7\nCurrent State: 36:[37, 85, 72], Operations: ['43+29=72']\nExploring Operation: 85-72=13, Resulting Numbers: [37, 13]\nGenerated Node #0,7,0: 36:[37, 13] Operation: 85-72=13\nMoving to Node #0,7,0\nCurrent State: 36:[37, 13], Operations: ['43+29=72', '85-72=13']\nExploring Operation: 37-13=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 36:[37, 13], Operations: ['43+29=72', '85-72=13']\nExploring Operation: 37+13=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 36:[37, 85, 72], Operations: ['43+29=72']\nExploring Operation: 85-37=48, Resulting Numbers: [72, 48]\nGenerated Node #0,7,1: 36:[72, 48] Operation: 85-37=48\nMoving to Node #0,7,1\nCurrent State: 36:[72, 48], Operations: ['43+29=72', '85-37=48']\nExploring Operation: 72-48=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 36:[37, 85, 72], Operations: ['43+29=72']\nExploring Operation: 72-37=35, Resulting Numbers: [85, 35]\nGenerated Node #0,7,2: 36:[85, 35] Operation: 72-37=35\nMoving to Node #0,7,2\nCurrent State: 36:[85, 35], Operations: ['43+29=72', '72-37=35']\nExploring Operation: 85-35=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 29+85=114, Resulting Numbers: [37, 43, 114]\nGenerated Node #0,8: 36:[37, 43, 114] Operation: 29+85=114\nMoving to Node #0,8\nCurrent State: 36:[37, 43, 114], Operations: ['29+85=114']\nExploring Operation: 114-43=71, Resulting Numbers: [37, 71]\nGenerated Node #0,8,0: 36:[37, 71] Operation: 114-43=71\nMoving to Node #0,8,0\nCurrent State: 36:[37, 71], Operations: ['29+85=114', '114-43=71']\nExploring Operation: 71-37=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 36:[37, 43, 114], Operations: ['29+85=114']\nExploring Operation: 114-37=77, Resulting Numbers: [43, 77]\nGenerated Node #0,8,1: 36:[43, 77] Operation: 114-37=77\nMoving to Node #0,8,1\nCurrent State: 36:[43, 77], Operations: ['29+85=114', '114-37=77']\nExploring Operation: 77-43=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 37+43=80, Resulting Numbers: [29, 85, 80]\nGenerated Node #0,9: 36:[29, 85, 80] Operation: 37+43=80\nMoving to Node #0,9\nCurrent State: 36:[29, 85, 80], Operations: ['37+43=80']\nExploring Operation: 85-80=5, Resulting Numbers: [29, 5]\nGenerated Node #0,9,0: 36:[29, 5] Operation: 85-80=5\nMoving to Node #0,9,0\nCurrent State: 36:[29, 5], Operations: ['37+43=80', '85-80=5']\nExploring Operation: 29+5=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 36:[29, 5], Operations: ['37+43=80', '85-80=5']\nExploring Operation: 29-5=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 36:[29, 85, 80], Operations: ['37+43=80']\nExploring Operation: 85-29=56, Resulting Numbers: [80, 56]\nGenerated Node #0,9,1: 36:[80, 56] Operation: 85-29=56\nMoving to Node #0,9,1\nCurrent State: 36:[80, 56], Operations: ['37+43=80', '85-29=56']\nExploring Operation: 80-56=24, Resulting Numbers: [24]\n24,36 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 36:[29, 85, 80], Operations: ['37+43=80']\nExploring Operation: 80-29=51, Resulting Numbers: [85, 51]\nGenerated Node #0,9,2: 36:[85, 51] Operation: 80-29=51\nMoving to Node #0,9,2\nCurrent State: 36:[85, 51], Operations: ['37+43=80', '80-29=51']\nExploring Operation: 85-51=34, Resulting Numbers: [34]\n34,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 37+85=122, Resulting Numbers: [43, 29, 122]\nGenerated Node #0,10: 36:[43, 29, 122] Operation: 37+85=122\nMoving to Node #0,10\nCurrent State: 36:[43, 29, 122], Operations: ['37+85=122']\nExploring Operation: 122-43=79, Resulting Numbers: [29, 79]\nGenerated Node #0,10,0: 36:[29, 79] Operation: 122-43=79\nMoving to Node #0,10,0\nCurrent State: 36:[29, 79], Operations: ['37+85=122', '122-43=79']\nExploring Operation: 79-29=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 36:[43, 29, 122], Operations: ['37+85=122']\nExploring Operation: 122-29=93, Resulting Numbers: [43, 93]\nGenerated Node #0,10,1: 36:[43, 93] Operation: 122-29=93\nMoving to Node #0,10,1\nCurrent State: 36:[43, 93], Operations: ['37+85=122', '122-29=93']\nExploring Operation: 93-43=50, Resulting Numbers: [50]\n50,36 unequal: No Solution\nMoving to Node #0\nCurrent State: 36:[37, 43, 29, 85], Operations: []\nExploring Operation: 43+85=128, Resulting Numbers: [37, 29, 128]\nGenerated Node #0,11: 36:[37, 29, 128] Operation: 43+85=128\nMoving to Node #0,11\nCurrent State: 36:[37, 29, 128], Operations: ['43+85=128']\nExploring Operation: 128-37=91, Resulting Numbers: [29, 91]\nGenerated Node #0,11,0: 36:[29, 91] Operation: 128-37=91\nMoving to Node #0,11,0\nCurrent State: 36:[29, 91], Operations: ['43+85=128', '128-37=91']\nExploring Operation: 91-29=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 36:[37, 29, 128], Operations: ['43+85=128']\nExploring Operation: 128-29=99, Resulting Numbers: [37, 99]\nGenerated Node #0,11,1: 36:[37, 99] Operation: 128-29=99\nMoving to Node #0,11,1\nCurrent State: 36:[37, 99], Operations: ['43+85=128', '128-29=99']\nExploring Operation: 99-37=62, Resulting Numbers: [62]\n62,36 unequal: No Solution\n", "role": "assistant" } ]
[ 58, 23, 28, 80 ]
27
[ "58+23=81", "28+80=108", "108-81=27" ]
Current State: 27:[58, 23, 28, 80], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [23, 28, 22] Generated Node #0,0: 27:[23, 28, 22] Operation: 80-58=22 Moving to Node #0,0 Current State: 27:[23, 28, 22], Operations: ['80-58=22'] Exploring Operation: 23+22=45, Resulting Numbers: [28, 45] Generated Node #0,0,0: 27:[28, 45] Operation: 23+22=45 Moving to Node #0,0,0 Current State: 27:[28, 45], Operations: ['80-58=22', '23+22=45'] Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,27 unequal: No Solution Moving to Node #0,0 Current State: 27:[23, 28, 22], Operations: ['80-58=22'] Exploring Operation: 28-22=6, Resulting Numbers: [23, 6] Generated Node #0,0,1: 27:[23, 6] Operation: 28-22=6 Moving to Node #0,0,1 Current State: 27:[23, 6], Operations: ['80-58=22', '28-22=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[23, 6], Operations: ['80-58=22', '28-22=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,27 unequal: No Solution Moving to Node #0,0 Current State: 27:[23, 28, 22], Operations: ['80-58=22'] Exploring Operation: 28-23=5, Resulting Numbers: [22, 5] Generated Node #0,0,2: 27:[22, 5] Operation: 28-23=5 Moving to Node #0,0,2 Current State: 27:[22, 5], Operations: ['80-58=22', '28-23=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.992188
dfs
Current State: 27:[58, 23, 28, 80], Operations: [] Exploring Operation: 58+23=81, Resulting Numbers: [28, 80, 81] Generated Node #2: [28, 80, 81] from Operation: 58+23=81 Current State: 27:[28, 80, 81], Operations: ['58+23=81'] Exploring Operation: 28+80=108, Resulting Numbers: [81, 108] Generated Node #3: [81, 108] from Operation: 28+80=108 Current State: 27:[81, 108], Operations: ['58+23=81', '28+80=108'] Exploring Operation: 108-81=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
sum_heuristic
[ { "content": "Make 27 with the numbers [58, 23, 28, 80] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 27:[58, 23, 28, 80], Operations: []\nExploring Operation: 80-58=22, Resulting Numbers: [23, 28, 22]\nGenerated Node #0,0: 27:[23, 28, 22] Operation: 80-58=22\nMoving to Node #0,0\nCurrent State: 27:[23, 28, 22], Operations: ['80-58=22']\nExploring Operation: 23+22=45, Resulting Numbers: [28, 45]\nGenerated Node #0,0,0: 27:[28, 45] Operation: 23+22=45\nMoving to Node #0,0,0\nCurrent State: 27:[28, 45], Operations: ['80-58=22', '23+22=45']\nExploring Operation: 45-28=17, Resulting Numbers: [17]\n17,27 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 27:[23, 28, 22], Operations: ['80-58=22']\nExploring Operation: 28-22=6, Resulting Numbers: [23, 6]\nGenerated Node #0,0,1: 27:[23, 6] Operation: 28-22=6\nMoving to Node #0,0,1\nCurrent State: 27:[23, 6], Operations: ['80-58=22', '28-22=6']\nExploring Operation: 23+6=29, Resulting Numbers: [29]\n29,27 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 27:[23, 6], Operations: ['80-58=22', '28-22=6']\nExploring Operation: 23-6=17, Resulting Numbers: [17]\n17,27 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 27:[23, 28, 22], Operations: ['80-58=22']\nExploring Operation: 28-23=5, Resulting Numbers: [22, 5]\nGenerated Node #0,0,2: 27:[22, 5] Operation: 28-23=5\nMoving to Node #0,0,2\nCurrent State: 27:[22, 5], Operations: ['80-58=22', '28-23=5']\nExploring Operation: 22+5=27, Resulting Numbers: [27]\n27,27 equal: Goal Reached\n", "role": "assistant" } ]
[ 27, 70, 53, 5 ]
49
[ "27+70=97", "53-5=48", "97-48=49" ]
Current State: 49:[27, 70, 53, 5], Operations: [] Exploring Operation: 27+5=32, Resulting Numbers: [70, 53, 32] Generated Node #0,0: 49:[70, 53, 32] Operation: 27+5=32 Exploring Operation: 70-5=65, Resulting Numbers: [27, 53, 65] Generated Node #0,1: 49:[27, 53, 65] Operation: 70-5=65 Moving to Node #0,0 Current State: 49:[70, 53, 32], Operations: ['27+5=32'] Exploring Operation: 70-53=17, Resulting Numbers: [32, 17] Generated Node #0,0,0: 49:[32, 17] Operation: 70-53=17 Exploring Operation: 70-32=38, Resulting Numbers: [53, 38] Generated Node #0,0,1: 49:[53, 38] Operation: 70-32=38 Moving to Node #0,1 Current State: 49:[27, 53, 65], Operations: ['70-5=65'] Exploring Operation: 65-27=38, Resulting Numbers: [53, 38] Generated Node #0,1,0: 49:[53, 38] Operation: 65-27=38 Exploring Operation: 53-27=26, Resulting Numbers: [65, 26] Generated Node #0,1,1: 49:[65, 26] Operation: 53-27=26 Moving to Node #0,0,1 Current State: 49:[53, 38], Operations: ['27+5=32', '70-32=38'] Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 53+38=91, Resulting Numbers: [91] 91,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[53, 38], Operations: ['70-5=65', '65-27=38'] Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 53+38=91, Resulting Numbers: [91] 91,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[65, 26], Operations: ['70-5=65', '53-27=26'] Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[32, 17], Operations: ['27+5=32', '70-53=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.986979
bfs_2
Current State: 49:[27, 70, 53, 5], Operations: [] Exploring Operation: 27+70=97, Resulting Numbers: [53, 5, 97] Generated Node #2: [53, 5, 97] from Operation: 27+70=97 Current State: 49:[53, 5, 97], Operations: ['27+70=97'] Exploring Operation: 53-5=48, Resulting Numbers: [97, 48] Generated Node #3: [97, 48] from Operation: 53-5=48 Current State: 49:[97, 48], Operations: ['27+70=97', '53-5=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
sum_heuristic
[ { "content": "Make 49 with the numbers [27, 70, 53, 5] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 49:[27, 70, 53, 5], Operations: []\nExploring Operation: 27+5=32, Resulting Numbers: [70, 53, 32]\nGenerated Node #0,0: 49:[70, 53, 32] Operation: 27+5=32\nExploring Operation: 70-5=65, Resulting Numbers: [27, 53, 65]\nGenerated Node #0,1: 49:[27, 53, 65] Operation: 70-5=65\nMoving to Node #0,0\nCurrent State: 49:[70, 53, 32], Operations: ['27+5=32']\nExploring Operation: 70-53=17, Resulting Numbers: [32, 17]\nGenerated Node #0,0,0: 49:[32, 17] Operation: 70-53=17\nExploring Operation: 70-32=38, Resulting Numbers: [53, 38]\nGenerated Node #0,0,1: 49:[53, 38] Operation: 70-32=38\nMoving to Node #0,1\nCurrent State: 49:[27, 53, 65], Operations: ['70-5=65']\nExploring Operation: 65-27=38, Resulting Numbers: [53, 38]\nGenerated Node #0,1,0: 49:[53, 38] Operation: 65-27=38\nExploring Operation: 53-27=26, Resulting Numbers: [65, 26]\nGenerated Node #0,1,1: 49:[65, 26] Operation: 53-27=26\nMoving to Node #0,0,1\nCurrent State: 49:[53, 38], Operations: ['27+5=32', '70-32=38']\nExploring Operation: 53-38=15, Resulting Numbers: [15]\n15,49 unequal: No Solution\nExploring Operation: 53+38=91, Resulting Numbers: [91]\n91,49 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 49:[53, 38], Operations: ['70-5=65', '65-27=38']\nExploring Operation: 53-38=15, Resulting Numbers: [15]\n15,49 unequal: No Solution\nExploring Operation: 53+38=91, Resulting Numbers: [91]\n91,49 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 49:[65, 26], Operations: ['70-5=65', '53-27=26']\nExploring Operation: 65+26=91, Resulting Numbers: [91]\n91,49 unequal: No Solution\nExploring Operation: 65-26=39, Resulting Numbers: [39]\n39,49 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 49:[32, 17], Operations: ['27+5=32', '70-53=17']\nExploring Operation: 32-17=15, Resulting Numbers: [15]\n15,49 unequal: No Solution\nExploring Operation: 32+17=49, Resulting Numbers: [49]\n49,49 equal: Goal Reached\n", "role": "assistant" } ]
[ 24, 11, 10, 42 ]
65
[ "24-11=13", "10+42=52", "13+52=65" ]
Current State: 65:[24, 11, 10, 42], Operations: [] Exploring Operation: 24+42=66, Resulting Numbers: [11, 10, 66] Generated Node #0,0: 65:[11, 10, 66] Operation: 24+42=66 Moving to Node #0,0 Current State: 65:[11, 10, 66], Operations: ['24+42=66'] Exploring Operation: 66/11=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 65:[10, 6] Operation: 66/11=6 Moving to Node #0,0,0 Current State: 65:[10, 6], Operations: ['24+42=66', '66/11=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,65 unequal: No Solution Moving to Node #0,0,0,0 Current State: 65:[4], Operations: ['24+42=66', '66/11=6', '10-6=4'] No solution found.
0
bfs_1
Current State: 65:[24, 11, 10, 42], Operations: [] Exploring Operation: 24-11=13, Resulting Numbers: [10, 42, 13] Generated Node #2: [10, 42, 13] from Operation: 24-11=13 Current State: 65:[10, 42, 13], Operations: ['24-11=13'] Exploring Operation: 10+42=52, Resulting Numbers: [13, 52] Generated Node #3: [13, 52] from Operation: 10+42=52 Current State: 65:[13, 52], Operations: ['24-11=13', '10+42=52'] Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
mult_heuristic
[ { "content": "Make 65 with the numbers [24, 11, 10, 42] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 65:[24, 11, 10, 42], Operations: []\nExploring Operation: 24+42=66, Resulting Numbers: [11, 10, 66]\nGenerated Node #0,0: 65:[11, 10, 66] Operation: 24+42=66\nMoving to Node #0,0\nCurrent State: 65:[11, 10, 66], Operations: ['24+42=66']\nExploring Operation: 66/11=6, Resulting Numbers: [10, 6]\nGenerated Node #0,0,0: 65:[10, 6] Operation: 66/11=6\nMoving to Node #0,0,0\nCurrent State: 65:[10, 6], Operations: ['24+42=66', '66/11=6']\nExploring Operation: 10-6=4, Resulting Numbers: [4]\n4,65 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 65:[4], Operations: ['24+42=66', '66/11=6', '10-6=4']\nNo solution found.", "role": "assistant" } ]
[ 72, 52, 22, 85 ]
43
[ "72-52=20", "85-22=63", "63-20=43" ]
Current State: 43:[72, 52, 22, 85], Operations: [] Exploring Operation: 85-22=63, Resulting Numbers: [72, 52, 63] Generated Node #0,0: 43:[72, 52, 63] Operation: 85-22=63 Exploring Operation: 72-22=50, Resulting Numbers: [52, 85, 50] Generated Node #0,1: 43:[52, 85, 50] Operation: 72-22=50 Moving to Node #0,0 Current State: 43:[72, 52, 63], Operations: ['85-22=63'] Exploring Operation: 72-52=20, Resulting Numbers: [63, 20] Generated Node #0,0,0: 43:[63, 20] Operation: 72-52=20 Exploring Operation: 72-63=9, Resulting Numbers: [52, 9] Generated Node #0,0,1: 43:[52, 9] Operation: 72-63=9 Moving to Node #0,1 Current State: 43:[52, 85, 50], Operations: ['72-22=50'] Exploring Operation: 85-52=33, Resulting Numbers: [50, 33] Generated Node #0,1,0: 43:[50, 33] Operation: 85-52=33 Exploring Operation: 85-50=35, Resulting Numbers: [52, 35] Generated Node #0,1,1: 43:[52, 35] Operation: 85-50=35 Moving to Node #0,1,0 Current State: 43:[50, 33], Operations: ['72-22=50', '85-52=33'] Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[52, 35], Operations: ['72-22=50', '85-50=35'] Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,43 unequal: No Solution Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[52, 9], Operations: ['85-22=63', '72-63=9'] Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.988715
bfs_2
Current State: 43:[72, 52, 22, 85], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [22, 85, 20] Generated Node #2: [22, 85, 20] from Operation: 72-52=20 Current State: 43:[22, 85, 20], Operations: ['72-52=20'] Exploring Operation: 85-22=63, Resulting Numbers: [20, 63] Generated Node #3: [20, 63] from Operation: 85-22=63 Current State: 43:[20, 63], Operations: ['72-52=20', '85-22=63'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
sum_heuristic
[ { "content": "Make 43 with the numbers [72, 52, 22, 85] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 43:[72, 52, 22, 85], Operations: []\nExploring Operation: 85-22=63, Resulting Numbers: [72, 52, 63]\nGenerated Node #0,0: 43:[72, 52, 63] Operation: 85-22=63\nExploring Operation: 72-22=50, Resulting Numbers: [52, 85, 50]\nGenerated Node #0,1: 43:[52, 85, 50] Operation: 72-22=50\nMoving to Node #0,0\nCurrent State: 43:[72, 52, 63], Operations: ['85-22=63']\nExploring Operation: 72-52=20, Resulting Numbers: [63, 20]\nGenerated Node #0,0,0: 43:[63, 20] Operation: 72-52=20\nExploring Operation: 72-63=9, Resulting Numbers: [52, 9]\nGenerated Node #0,0,1: 43:[52, 9] Operation: 72-63=9\nMoving to Node #0,1\nCurrent State: 43:[52, 85, 50], Operations: ['72-22=50']\nExploring Operation: 85-52=33, Resulting Numbers: [50, 33]\nGenerated Node #0,1,0: 43:[50, 33] Operation: 85-52=33\nExploring Operation: 85-50=35, Resulting Numbers: [52, 35]\nGenerated Node #0,1,1: 43:[52, 35] Operation: 85-50=35\nMoving to Node #0,1,0\nCurrent State: 43:[50, 33], Operations: ['72-22=50', '85-52=33']\nExploring Operation: 50+33=83, Resulting Numbers: [83]\n83,43 unequal: No Solution\nExploring Operation: 50-33=17, Resulting Numbers: [17]\n17,43 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 43:[52, 35], Operations: ['72-22=50', '85-50=35']\nExploring Operation: 52-35=17, Resulting Numbers: [17]\n17,43 unequal: No Solution\nExploring Operation: 52+35=87, Resulting Numbers: [87]\n87,43 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 43:[52, 9], Operations: ['85-22=63', '72-63=9']\nExploring Operation: 52+9=61, Resulting Numbers: [61]\n61,43 unequal: No Solution\nExploring Operation: 52-9=43, Resulting Numbers: [43]\n43,43 equal: Goal Reached\n", "role": "assistant" } ]
[ 76, 9, 38, 57 ]
50
[ "76*9=684", "684/57=12", "38+12=50" ]
Current State: 50:[76, 9, 38, 57], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [9, 57, 2] Generated Node #0,0: 50:[9, 57, 2] Operation: 76/38=2 Moving to Node #0,0 Current State: 50:[9, 57, 2], Operations: ['76/38=2'] Exploring Operation: 57-9=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 50:[2, 48] Operation: 57-9=48 Moving to Node #0,0,0 Current State: 50:[2, 48], Operations: ['76/38=2', '57-9=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.996528
bfs_1
Current State: 50:[76, 9, 38, 57], Operations: [] Exploring Operation: 76*9=684, Resulting Numbers: [38, 57, 684] Generated Node #2: [38, 57, 684] from Operation: 76*9=684 Current State: 50:[38, 57, 684], Operations: ['76*9=684'] Exploring Operation: 684/57=12, Resulting Numbers: [38, 12] Generated Node #3: [38, 12] from Operation: 684/57=12 Current State: 50:[38, 12], Operations: ['76*9=684', '684/57=12'] Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
mult_heuristic
[ { "content": "Make 50 with the numbers [76, 9, 38, 57] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 50:[76, 9, 38, 57], Operations: []\nExploring Operation: 76/38=2, Resulting Numbers: [9, 57, 2]\nGenerated Node #0,0: 50:[9, 57, 2] Operation: 76/38=2\nMoving to Node #0,0\nCurrent State: 50:[9, 57, 2], Operations: ['76/38=2']\nExploring Operation: 57-9=48, Resulting Numbers: [2, 48]\nGenerated Node #0,0,0: 50:[2, 48] Operation: 57-9=48\nMoving to Node #0,0,0\nCurrent State: 50:[2, 48], Operations: ['76/38=2', '57-9=48']\nExploring Operation: 2+48=50, Resulting Numbers: [50]\n50,50 equal: Goal Reached\n", "role": "assistant" } ]
[ 28, 98, 10, 79 ]
37
[ "28+98=126", "10+79=89", "126-89=37" ]
Current State: 37:[28, 98, 10, 79], Operations: [] Exploring Operation: 98-79=19, Resulting Numbers: [28, 10, 19] Generated Node #0,0: 37:[28, 10, 19] Operation: 98-79=19 Moving to Node #0,0 Current State: 37:[28, 10, 19], Operations: ['98-79=19'] Exploring Operation: 10+19=29, Resulting Numbers: [28, 29] Generated Node #0,0,0: 37:[28, 29] Operation: 10+19=29 Moving to Node #0,0,0 Current State: 37:[28, 29], Operations: ['98-79=19', '10+19=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[28, 29], Operations: ['98-79=19', '10+19=29'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,0 Current State: 37:[28, 10, 19], Operations: ['98-79=19'] Exploring Operation: 28+10=38, Resulting Numbers: [19, 38] Generated Node #0,0,1: 37:[19, 38] Operation: 28+10=38 Moving to Node #0,0,1 Current State: 37:[19, 38], Operations: ['98-79=19', '28+10=38'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[19, 38], Operations: ['98-79=19', '28+10=38'] Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[19, 38], Operations: ['98-79=19', '28+10=38'] Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,0 Current State: 37:[28, 10, 19], Operations: ['98-79=19'] Exploring Operation: 28-10=18, Resulting Numbers: [19, 18] Generated Node #0,0,2: 37:[19, 18] Operation: 28-10=18 Moving to Node #0,0,2 Current State: 37:[19, 18], Operations: ['98-79=19', '28-10=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.990451
dfs
Current State: 37:[28, 98, 10, 79], Operations: [] Exploring Operation: 28+98=126, Resulting Numbers: [10, 79, 126] Generated Node #2: [10, 79, 126] from Operation: 28+98=126 Current State: 37:[10, 79, 126], Operations: ['28+98=126'] Exploring Operation: 10+79=89, Resulting Numbers: [126, 89] Generated Node #3: [126, 89] from Operation: 10+79=89 Current State: 37:[126, 89], Operations: ['28+98=126', '10+79=89'] Exploring Operation: 126-89=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
sum_heuristic
[ { "content": "Make 37 with the numbers [28, 98, 10, 79] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 37:[28, 98, 10, 79], Operations: []\nExploring Operation: 98-79=19, Resulting Numbers: [28, 10, 19]\nGenerated Node #0,0: 37:[28, 10, 19] Operation: 98-79=19\nMoving to Node #0,0\nCurrent State: 37:[28, 10, 19], Operations: ['98-79=19']\nExploring Operation: 10+19=29, Resulting Numbers: [28, 29]\nGenerated Node #0,0,0: 37:[28, 29] Operation: 10+19=29\nMoving to Node #0,0,0\nCurrent State: 37:[28, 29], Operations: ['98-79=19', '10+19=29']\nExploring Operation: 28+29=57, Resulting Numbers: [57]\n57,37 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 37:[28, 29], Operations: ['98-79=19', '10+19=29']\nExploring Operation: 29-28=1, Resulting Numbers: [1]\n1,37 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 37:[28, 10, 19], Operations: ['98-79=19']\nExploring Operation: 28+10=38, Resulting Numbers: [19, 38]\nGenerated Node #0,0,1: 37:[19, 38] Operation: 28+10=38\nMoving to Node #0,0,1\nCurrent State: 37:[19, 38], Operations: ['98-79=19', '28+10=38']\nExploring Operation: 38-19=19, Resulting Numbers: [19]\n19,37 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 37:[19, 38], Operations: ['98-79=19', '28+10=38']\nExploring Operation: 19+38=57, Resulting Numbers: [57]\n57,37 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 37:[19, 38], Operations: ['98-79=19', '28+10=38']\nExploring Operation: 38/19=2, Resulting Numbers: [2]\n2,37 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 37:[28, 10, 19], Operations: ['98-79=19']\nExploring Operation: 28-10=18, Resulting Numbers: [19, 18]\nGenerated Node #0,0,2: 37:[19, 18] Operation: 28-10=18\nMoving to Node #0,0,2\nCurrent State: 37:[19, 18], Operations: ['98-79=19', '28-10=18']\nExploring Operation: 19+18=37, Resulting Numbers: [37]\n37,37 equal: Goal Reached\n", "role": "assistant" } ]
[ 41, 50, 80, 37 ]
52
[ "50-41=9", "80-37=43", "9+43=52" ]
Current State: 52:[41, 50, 80, 37], Operations: [] Exploring Operation: 80-37=43, Resulting Numbers: [41, 50, 43] Generated Node #0,0: 52:[41, 50, 43] Operation: 80-37=43 Moving to Node #0,0 Current State: 52:[41, 50, 43], Operations: ['80-37=43'] Exploring Operation: 41+43=84, Resulting Numbers: [50, 84] Generated Node #0,0,0: 52:[50, 84] Operation: 41+43=84 Moving to Node #0,0,0 Current State: 52:[50, 84], Operations: ['80-37=43', '41+43=84'] Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[41, 50, 43], Operations: ['80-37=43'] Exploring Operation: 41+50=91, Resulting Numbers: [43, 91] Generated Node #0,0,1: 52:[43, 91] Operation: 41+50=91 Moving to Node #0,0,1 Current State: 52:[43, 91], Operations: ['80-37=43', '41+50=91'] Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[41, 50, 43], Operations: ['80-37=43'] Exploring Operation: 50-41=9, Resulting Numbers: [43, 9] Generated Node #0,0,2: 52:[43, 9] Operation: 50-41=9 Moving to Node #0,0,2 Current State: 52:[43, 9], Operations: ['80-37=43', '50-41=9'] Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.993056
dfs
Current State: 52:[41, 50, 80, 37], Operations: [] Exploring Operation: 50-41=9, Resulting Numbers: [80, 37, 9] Generated Node #2: [80, 37, 9] from Operation: 50-41=9 Current State: 52:[80, 37, 9], Operations: ['50-41=9'] Exploring Operation: 80-37=43, Resulting Numbers: [9, 43] Generated Node #3: [9, 43] from Operation: 80-37=43 Current State: 52:[9, 43], Operations: ['50-41=9', '80-37=43'] Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
sum_heuristic
[ { "content": "Make 52 with the numbers [41, 50, 80, 37] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 52:[41, 50, 80, 37], Operations: []\nExploring Operation: 80-37=43, Resulting Numbers: [41, 50, 43]\nGenerated Node #0,0: 52:[41, 50, 43] Operation: 80-37=43\nMoving to Node #0,0\nCurrent State: 52:[41, 50, 43], Operations: ['80-37=43']\nExploring Operation: 41+43=84, Resulting Numbers: [50, 84]\nGenerated Node #0,0,0: 52:[50, 84] Operation: 41+43=84\nMoving to Node #0,0,0\nCurrent State: 52:[50, 84], Operations: ['80-37=43', '41+43=84']\nExploring Operation: 84-50=34, Resulting Numbers: [34]\n34,52 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 52:[41, 50, 43], Operations: ['80-37=43']\nExploring Operation: 41+50=91, Resulting Numbers: [43, 91]\nGenerated Node #0,0,1: 52:[43, 91] Operation: 41+50=91\nMoving to Node #0,0,1\nCurrent State: 52:[43, 91], Operations: ['80-37=43', '41+50=91']\nExploring Operation: 91-43=48, Resulting Numbers: [48]\n48,52 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 52:[41, 50, 43], Operations: ['80-37=43']\nExploring Operation: 50-41=9, Resulting Numbers: [43, 9]\nGenerated Node #0,0,2: 52:[43, 9] Operation: 50-41=9\nMoving to Node #0,0,2\nCurrent State: 52:[43, 9], Operations: ['80-37=43', '50-41=9']\nExploring Operation: 43+9=52, Resulting Numbers: [52]\n52,52 equal: Goal Reached\n", "role": "assistant" } ]
[ 36, 2, 75, 94 ]
74
[ "94-75=19", "2*19=38", "36+38=74" ]
Current State: 74:[36, 2, 75, 94], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [36, 75, 47] Generated Node #0,0: 74:[36, 75, 47] Operation: 94/2=47 Moving to Node #0,0 Current State: 74:[36, 75, 47], Operations: ['94/2=47'] Exploring Operation: 36+47=83, Resulting Numbers: [75, 83] Generated Node #0,0,0: 74:[75, 83] Operation: 36+47=83 Moving to Node #0,0,0 Current State: 74:[75, 83], Operations: ['94/2=47', '36+47=83'] Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[36, 75, 47], Operations: ['94/2=47'] Exploring Operation: 47-36=11, Resulting Numbers: [75, 11] Generated Node #0,0,1: 74:[75, 11] Operation: 47-36=11 Moving to Node #0,0,1 Current State: 74:[75, 11], Operations: ['94/2=47', '47-36=11'] Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[75, 11], Operations: ['94/2=47', '47-36=11'] Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[36, 75, 47], Operations: ['94/2=47'] Exploring Operation: 75-47=28, Resulting Numbers: [36, 28] Generated Node #0,0,2: 74:[36, 28] Operation: 75-47=28 Moving to Node #0,0,2 Current State: 74:[36, 28], Operations: ['94/2=47', '75-47=28'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[36, 28], Operations: ['94/2=47', '75-47=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[36, 75, 47], Operations: ['94/2=47'] Exploring Operation: 75-36=39, Resulting Numbers: [47, 39] Generated Node #0,0,3: 74:[47, 39] Operation: 75-36=39 Moving to Node #0,0,3 Current State: 74:[47, 39], Operations: ['94/2=47', '75-36=39'] Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[47, 39], Operations: ['94/2=47', '75-36=39'] Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[36, 75, 47], Operations: ['94/2=47'] Exploring Operation: 36+75=111, Resulting Numbers: [47, 111] Generated Node #0,0,4: 74:[47, 111] Operation: 36+75=111 Moving to Node #0,0,4 Current State: 74:[47, 111], Operations: ['94/2=47', '36+75=111'] Exploring Operation: 111-47=64, Resulting Numbers: [64] 64,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[36, 75, 47], Operations: ['94/2=47'] Exploring Operation: 75+47=122, Resulting Numbers: [36, 122] Generated Node #0,0,5: 74:[36, 122] Operation: 75+47=122 Moving to Node #0,0,5 Current State: 74:[36, 122], Operations: ['94/2=47', '75+47=122'] Exploring Operation: 122-36=86, Resulting Numbers: [86] 86,74 unequal: No Solution Moving to Node #0 Current State: 74:[36, 2, 75, 94], Operations: [] Exploring Operation: 94-36=58, Resulting Numbers: [2, 75, 58] Generated Node #0,1: 74:[2, 75, 58] Operation: 94-36=58 Moving to Node #0,1 Current State: 74:[2, 75, 58], Operations: ['94-36=58'] Exploring Operation: 58/2=29, Resulting Numbers: [75, 29] Generated Node #0,1,0: 74:[75, 29] Operation: 58/2=29 Moving to Node #0,1,0 Current State: 74:[75, 29], Operations: ['94-36=58', '58/2=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[75, 29], Operations: ['94-36=58', '58/2=29'] Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[2, 75, 58], Operations: ['94-36=58'] Exploring Operation: 2+58=60, Resulting Numbers: [75, 60] Generated Node #0,1,1: 74:[75, 60] Operation: 2+58=60 Moving to Node #0,1,1 Current State: 74:[75, 60], Operations: ['94-36=58', '2+58=60'] Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[75, 60], Operations: ['94-36=58', '2+58=60'] Exploring Operation: 75+60=135, Resulting Numbers: [135] 135,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[2, 75, 58], Operations: ['94-36=58'] Exploring Operation: 75-58=17, Resulting Numbers: [2, 17] Generated Node #0,1,2: 74:[2, 17] Operation: 75-58=17 Moving to Node #0,1,2 Current State: 74:[2, 17], Operations: ['94-36=58', '75-58=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[2, 17], Operations: ['94-36=58', '75-58=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[2, 17], Operations: ['94-36=58', '75-58=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[2, 75, 58], Operations: ['94-36=58'] Exploring Operation: 75-2=73, Resulting Numbers: [58, 73] Generated Node #0,1,3: 74:[58, 73] Operation: 75-2=73 Moving to Node #0,1,3 Current State: 74:[58, 73], Operations: ['94-36=58', '75-2=73'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[58, 73], Operations: ['94-36=58', '75-2=73'] Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[2, 75, 58], Operations: ['94-36=58'] Exploring Operation: 2+75=77, Resulting Numbers: [58, 77] Generated Node #0,1,4: 74:[58, 77] Operation: 2+75=77 Moving to Node #0,1,4 Current State: 74:[58, 77], Operations: ['94-36=58', '2+75=77'] Exploring Operation: 77-58=19, Resulting Numbers: [19] 19,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[58, 77], Operations: ['94-36=58', '2+75=77'] Exploring Operation: 58+77=135, Resulting Numbers: [135] 135,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[2, 75, 58], Operations: ['94-36=58'] Exploring Operation: 58-2=56, Resulting Numbers: [75, 56] Generated Node #0,1,5: 74:[75, 56] Operation: 58-2=56 Moving to Node #0,1,5 Current State: 74:[75, 56], Operations: ['94-36=58', '58-2=56'] Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,74 unequal: No Solution Moving to Node #0,1,5 Current State: 74:[75, 56], Operations: ['94-36=58', '58-2=56'] Exploring Operation: 75+56=131, Resulting Numbers: [131] 131,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[2, 75, 58], Operations: ['94-36=58'] Exploring Operation: 2*58=116, Resulting Numbers: [75, 116] Generated Node #0,1,6: 74:[75, 116] Operation: 2*58=116 Moving to Node #0,1,6 Current State: 74:[75, 116], Operations: ['94-36=58', '2*58=116'] Exploring Operation: 116-75=41, Resulting Numbers: [41] 41,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[2, 75, 58], Operations: ['94-36=58'] Exploring Operation: 75+58=133, Resulting Numbers: [2, 133] Generated Node #0,1,7: 74:[2, 133] Operation: 75+58=133 Moving to Node #0,1,7 Current State: 74:[2, 133], Operations: ['94-36=58', '75+58=133'] Exploring Operation: 133-2=131, Resulting Numbers: [131] 131,74 unequal: No Solution Moving to Node #0,1,7 Current State: 74:[2, 133], Operations: ['94-36=58', '75+58=133'] Exploring Operation: 2+133=135, Resulting Numbers: [135] 135,74 unequal: No Solution Moving to Node #0 Current State: 74:[36, 2, 75, 94], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [36, 2, 19] Generated Node #0,2: 74:[36, 2, 19] Operation: 94-75=19 Moving to Node #0,2 Current State: 74:[36, 2, 19], Operations: ['94-75=19'] Exploring Operation: 2*19=38, Resulting Numbers: [36, 38] Generated Node #0,2,0: 74:[36, 38] Operation: 2*19=38 Moving to Node #0,2,0 Current State: 74:[36, 38], Operations: ['94-75=19', '2*19=38'] Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.960938
dfs
Current State: 74:[36, 2, 75, 94], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [36, 2, 19] Generated Node #2: [36, 2, 19] from Operation: 94-75=19 Current State: 74:[36, 2, 19], Operations: ['94-75=19'] Exploring Operation: 2*19=38, Resulting Numbers: [36, 38] Generated Node #3: [36, 38] from Operation: 2*19=38 Current State: 74:[36, 38], Operations: ['94-75=19', '2*19=38'] Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
mult_heuristic
[ { "content": "Make 74 with the numbers [36, 2, 75, 94] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 74:[36, 2, 75, 94], Operations: []\nExploring Operation: 94/2=47, Resulting Numbers: [36, 75, 47]\nGenerated Node #0,0: 74:[36, 75, 47] Operation: 94/2=47\nMoving to Node #0,0\nCurrent State: 74:[36, 75, 47], Operations: ['94/2=47']\nExploring Operation: 36+47=83, Resulting Numbers: [75, 83]\nGenerated Node #0,0,0: 74:[75, 83] Operation: 36+47=83\nMoving to Node #0,0,0\nCurrent State: 74:[75, 83], Operations: ['94/2=47', '36+47=83']\nExploring Operation: 83-75=8, Resulting Numbers: [8]\n8,74 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 74:[36, 75, 47], Operations: ['94/2=47']\nExploring Operation: 47-36=11, Resulting Numbers: [75, 11]\nGenerated Node #0,0,1: 74:[75, 11] Operation: 47-36=11\nMoving to Node #0,0,1\nCurrent State: 74:[75, 11], Operations: ['94/2=47', '47-36=11']\nExploring Operation: 75-11=64, Resulting Numbers: [64]\n64,74 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 74:[75, 11], Operations: ['94/2=47', '47-36=11']\nExploring Operation: 75+11=86, Resulting Numbers: [86]\n86,74 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 74:[36, 75, 47], Operations: ['94/2=47']\nExploring Operation: 75-47=28, Resulting Numbers: [36, 28]\nGenerated Node #0,0,2: 74:[36, 28] Operation: 75-47=28\nMoving to Node #0,0,2\nCurrent State: 74:[36, 28], Operations: ['94/2=47', '75-47=28']\nExploring Operation: 36-28=8, Resulting Numbers: [8]\n8,74 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 74:[36, 28], Operations: ['94/2=47', '75-47=28']\nExploring Operation: 36+28=64, Resulting Numbers: [64]\n64,74 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 74:[36, 75, 47], Operations: ['94/2=47']\nExploring Operation: 75-36=39, Resulting Numbers: [47, 39]\nGenerated Node #0,0,3: 74:[47, 39] Operation: 75-36=39\nMoving to Node #0,0,3\nCurrent State: 74:[47, 39], Operations: ['94/2=47', '75-36=39']\nExploring Operation: 47-39=8, Resulting Numbers: [8]\n8,74 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 74:[47, 39], Operations: ['94/2=47', '75-36=39']\nExploring Operation: 47+39=86, Resulting Numbers: [86]\n86,74 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 74:[36, 75, 47], Operations: ['94/2=47']\nExploring Operation: 36+75=111, Resulting Numbers: [47, 111]\nGenerated Node #0,0,4: 74:[47, 111] Operation: 36+75=111\nMoving to Node #0,0,4\nCurrent State: 74:[47, 111], Operations: ['94/2=47', '36+75=111']\nExploring Operation: 111-47=64, Resulting Numbers: [64]\n64,74 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 74:[36, 75, 47], Operations: ['94/2=47']\nExploring Operation: 75+47=122, Resulting Numbers: [36, 122]\nGenerated Node #0,0,5: 74:[36, 122] Operation: 75+47=122\nMoving to Node #0,0,5\nCurrent State: 74:[36, 122], Operations: ['94/2=47', '75+47=122']\nExploring Operation: 122-36=86, Resulting Numbers: [86]\n86,74 unequal: No Solution\nMoving to Node #0\nCurrent State: 74:[36, 2, 75, 94], Operations: []\nExploring Operation: 94-36=58, Resulting Numbers: [2, 75, 58]\nGenerated Node #0,1: 74:[2, 75, 58] Operation: 94-36=58\nMoving to Node #0,1\nCurrent State: 74:[2, 75, 58], Operations: ['94-36=58']\nExploring Operation: 58/2=29, Resulting Numbers: [75, 29]\nGenerated Node #0,1,0: 74:[75, 29] Operation: 58/2=29\nMoving to Node #0,1,0\nCurrent State: 74:[75, 29], Operations: ['94-36=58', '58/2=29']\nExploring Operation: 75-29=46, Resulting Numbers: [46]\n46,74 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 74:[75, 29], Operations: ['94-36=58', '58/2=29']\nExploring Operation: 75+29=104, Resulting Numbers: [104]\n104,74 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 74:[2, 75, 58], Operations: ['94-36=58']\nExploring Operation: 2+58=60, Resulting Numbers: [75, 60]\nGenerated Node #0,1,1: 74:[75, 60] Operation: 2+58=60\nMoving to Node #0,1,1\nCurrent State: 74:[75, 60], Operations: ['94-36=58', '2+58=60']\nExploring Operation: 75-60=15, Resulting Numbers: [15]\n15,74 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 74:[75, 60], Operations: ['94-36=58', '2+58=60']\nExploring Operation: 75+60=135, Resulting Numbers: [135]\n135,74 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 74:[2, 75, 58], Operations: ['94-36=58']\nExploring Operation: 75-58=17, Resulting Numbers: [2, 17]\nGenerated Node #0,1,2: 74:[2, 17] Operation: 75-58=17\nMoving to Node #0,1,2\nCurrent State: 74:[2, 17], Operations: ['94-36=58', '75-58=17']\nExploring Operation: 2*17=34, Resulting Numbers: [34]\n34,74 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 74:[2, 17], Operations: ['94-36=58', '75-58=17']\nExploring Operation: 17-2=15, Resulting Numbers: [15]\n15,74 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 74:[2, 17], Operations: ['94-36=58', '75-58=17']\nExploring Operation: 2+17=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 74:[2, 75, 58], Operations: ['94-36=58']\nExploring Operation: 75-2=73, Resulting Numbers: [58, 73]\nGenerated Node #0,1,3: 74:[58, 73] Operation: 75-2=73\nMoving to Node #0,1,3\nCurrent State: 74:[58, 73], Operations: ['94-36=58', '75-2=73']\nExploring Operation: 73-58=15, Resulting Numbers: [15]\n15,74 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 74:[58, 73], Operations: ['94-36=58', '75-2=73']\nExploring Operation: 58+73=131, Resulting Numbers: [131]\n131,74 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 74:[2, 75, 58], Operations: ['94-36=58']\nExploring Operation: 2+75=77, Resulting Numbers: [58, 77]\nGenerated Node #0,1,4: 74:[58, 77] Operation: 2+75=77\nMoving to Node #0,1,4\nCurrent State: 74:[58, 77], Operations: ['94-36=58', '2+75=77']\nExploring Operation: 77-58=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 74:[58, 77], Operations: ['94-36=58', '2+75=77']\nExploring Operation: 58+77=135, Resulting Numbers: [135]\n135,74 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 74:[2, 75, 58], Operations: ['94-36=58']\nExploring Operation: 58-2=56, Resulting Numbers: [75, 56]\nGenerated Node #0,1,5: 74:[75, 56] Operation: 58-2=56\nMoving to Node #0,1,5\nCurrent State: 74:[75, 56], Operations: ['94-36=58', '58-2=56']\nExploring Operation: 75-56=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 74:[75, 56], Operations: ['94-36=58', '58-2=56']\nExploring Operation: 75+56=131, Resulting Numbers: [131]\n131,74 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 74:[2, 75, 58], Operations: ['94-36=58']\nExploring Operation: 2*58=116, Resulting Numbers: [75, 116]\nGenerated Node #0,1,6: 74:[75, 116] Operation: 2*58=116\nMoving to Node #0,1,6\nCurrent State: 74:[75, 116], Operations: ['94-36=58', '2*58=116']\nExploring Operation: 116-75=41, Resulting Numbers: [41]\n41,74 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 74:[2, 75, 58], Operations: ['94-36=58']\nExploring Operation: 75+58=133, Resulting Numbers: [2, 133]\nGenerated Node #0,1,7: 74:[2, 133] Operation: 75+58=133\nMoving to Node #0,1,7\nCurrent State: 74:[2, 133], Operations: ['94-36=58', '75+58=133']\nExploring Operation: 133-2=131, Resulting Numbers: [131]\n131,74 unequal: No Solution\nMoving to Node #0,1,7\nCurrent State: 74:[2, 133], Operations: ['94-36=58', '75+58=133']\nExploring Operation: 2+133=135, Resulting Numbers: [135]\n135,74 unequal: No Solution\nMoving to Node #0\nCurrent State: 74:[36, 2, 75, 94], Operations: []\nExploring Operation: 94-75=19, Resulting Numbers: [36, 2, 19]\nGenerated Node #0,2: 74:[36, 2, 19] Operation: 94-75=19\nMoving to Node #0,2\nCurrent State: 74:[36, 2, 19], Operations: ['94-75=19']\nExploring Operation: 2*19=38, Resulting Numbers: [36, 38]\nGenerated Node #0,2,0: 74:[36, 38] Operation: 2*19=38\nMoving to Node #0,2,0\nCurrent State: 74:[36, 38], Operations: ['94-75=19', '2*19=38']\nExploring Operation: 36+38=74, Resulting Numbers: [74]\n74,74 equal: Goal Reached\n", "role": "assistant" } ]
[ 43, 89, 59, 77 ]
64
[ "89-43=46", "77-59=18", "46+18=64" ]
Current State: 64:[43, 89, 59, 77], Operations: [] Exploring Operation: 89-77=12, Resulting Numbers: [43, 59, 12] Generated Node #0,0: 64:[43, 59, 12] Operation: 89-77=12 Moving to Node #0,0 Current State: 64:[43, 59, 12], Operations: ['89-77=12'] Exploring Operation: 59-43=16, Resulting Numbers: [12, 16] Generated Node #0,0,0: 64:[12, 16] Operation: 59-43=16 Moving to Node #0,0,0 Current State: 64:[12, 16], Operations: ['89-77=12', '59-43=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,0,0,0 Current State: 64:[4], Operations: ['89-77=12', '59-43=16', '16-12=4'] No solution found.
0
bfs_1
Current State: 64:[43, 89, 59, 77], Operations: [] Exploring Operation: 89-43=46, Resulting Numbers: [59, 77, 46] Generated Node #2: [59, 77, 46] from Operation: 89-43=46 Current State: 64:[59, 77, 46], Operations: ['89-43=46'] Exploring Operation: 77-59=18, Resulting Numbers: [46, 18] Generated Node #3: [46, 18] from Operation: 77-59=18 Current State: 64:[46, 18], Operations: ['89-43=46', '77-59=18'] Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
mult_heuristic
[ { "content": "Make 64 with the numbers [43, 89, 59, 77] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 64:[43, 89, 59, 77], Operations: []\nExploring Operation: 89-77=12, Resulting Numbers: [43, 59, 12]\nGenerated Node #0,0: 64:[43, 59, 12] Operation: 89-77=12\nMoving to Node #0,0\nCurrent State: 64:[43, 59, 12], Operations: ['89-77=12']\nExploring Operation: 59-43=16, Resulting Numbers: [12, 16]\nGenerated Node #0,0,0: 64:[12, 16] Operation: 59-43=16\nMoving to Node #0,0,0\nCurrent State: 64:[12, 16], Operations: ['89-77=12', '59-43=16']\nExploring Operation: 16-12=4, Resulting Numbers: [4]\n4,64 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 64:[4], Operations: ['89-77=12', '59-43=16', '16-12=4']\nNo solution found.", "role": "assistant" } ]
[ 61, 95, 75, 2 ]
83
[ "61+95=156", "75-2=73", "156-73=83" ]
Current State: 83:[61, 95, 75, 2], Operations: [] Exploring Operation: 61+2=63, Resulting Numbers: [95, 75, 63] Generated Node #0,0: 83:[95, 75, 63] Operation: 61+2=63 Moving to Node #0,0 Current State: 83:[95, 75, 63], Operations: ['61+2=63'] Exploring Operation: 95-63=32, Resulting Numbers: [75, 32] Generated Node #0,0,0: 83:[75, 32] Operation: 95-63=32 Moving to Node #0,0,0 Current State: 83:[75, 32], Operations: ['61+2=63', '95-63=32'] Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[75, 32], Operations: ['61+2=63', '95-63=32'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,83 unequal: No Solution Moving to Node #0,0 Current State: 83:[95, 75, 63], Operations: ['61+2=63'] Exploring Operation: 75+63=138, Resulting Numbers: [95, 138] Generated Node #0,0,1: 83:[95, 138] Operation: 75+63=138 Moving to Node #0,0,1 Current State: 83:[95, 138], Operations: ['61+2=63', '75+63=138'] Exploring Operation: 138-95=43, Resulting Numbers: [43] 43,83 unequal: No Solution Moving to Node #0,0 Current State: 83:[95, 75, 63], Operations: ['61+2=63'] Exploring Operation: 95-75=20, Resulting Numbers: [63, 20] Generated Node #0,0,2: 83:[63, 20] Operation: 95-75=20 Moving to Node #0,0,2 Current State: 83:[63, 20], Operations: ['61+2=63', '95-75=20'] Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.992188
dfs
Current State: 83:[61, 95, 75, 2], Operations: [] Exploring Operation: 61+95=156, Resulting Numbers: [75, 2, 156] Generated Node #2: [75, 2, 156] from Operation: 61+95=156 Current State: 83:[75, 2, 156], Operations: ['61+95=156'] Exploring Operation: 75-2=73, Resulting Numbers: [156, 73] Generated Node #3: [156, 73] from Operation: 75-2=73 Current State: 83:[156, 73], Operations: ['61+95=156', '75-2=73'] Exploring Operation: 156-73=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
sum_heuristic
[ { "content": "Make 83 with the numbers [61, 95, 75, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 83:[61, 95, 75, 2], Operations: []\nExploring Operation: 61+2=63, Resulting Numbers: [95, 75, 63]\nGenerated Node #0,0: 83:[95, 75, 63] Operation: 61+2=63\nMoving to Node #0,0\nCurrent State: 83:[95, 75, 63], Operations: ['61+2=63']\nExploring Operation: 95-63=32, Resulting Numbers: [75, 32]\nGenerated Node #0,0,0: 83:[75, 32] Operation: 95-63=32\nMoving to Node #0,0,0\nCurrent State: 83:[75, 32], Operations: ['61+2=63', '95-63=32']\nExploring Operation: 75+32=107, Resulting Numbers: [107]\n107,83 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 83:[75, 32], Operations: ['61+2=63', '95-63=32']\nExploring Operation: 75-32=43, Resulting Numbers: [43]\n43,83 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 83:[95, 75, 63], Operations: ['61+2=63']\nExploring Operation: 75+63=138, Resulting Numbers: [95, 138]\nGenerated Node #0,0,1: 83:[95, 138] Operation: 75+63=138\nMoving to Node #0,0,1\nCurrent State: 83:[95, 138], Operations: ['61+2=63', '75+63=138']\nExploring Operation: 138-95=43, Resulting Numbers: [43]\n43,83 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 83:[95, 75, 63], Operations: ['61+2=63']\nExploring Operation: 95-75=20, Resulting Numbers: [63, 20]\nGenerated Node #0,0,2: 83:[63, 20] Operation: 95-75=20\nMoving to Node #0,0,2\nCurrent State: 83:[63, 20], Operations: ['61+2=63', '95-75=20']\nExploring Operation: 63+20=83, Resulting Numbers: [83]\n83,83 equal: Goal Reached\n", "role": "assistant" } ]
[ 62, 84, 59, 53 ]
61
[ "84-53=31", "62/31=2", "59+2=61" ]
Current State: 61:[62, 84, 59, 53], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [62, 59, 31] Generated Node #0,0: 61:[62, 59, 31] Operation: 84-53=31 Moving to Node #0,0 Current State: 61:[62, 59, 31], Operations: ['84-53=31'] Exploring Operation: 59+31=90, Resulting Numbers: [62, 90] Generated Node #0,0,0: 61:[62, 90] Operation: 59+31=90 Moving to Node #0,0,0 Current State: 61:[62, 90], Operations: ['84-53=31', '59+31=90'] Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[62, 59, 31], Operations: ['84-53=31'] Exploring Operation: 62-31=31, Resulting Numbers: [59, 31] Generated Node #0,0,1: 61:[59, 31] Operation: 62-31=31 Moving to Node #0,0,1 Current State: 61:[59, 31], Operations: ['84-53=31', '62-31=31'] Exploring Operation: 59+31=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[59, 31], Operations: ['84-53=31', '62-31=31'] Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[62, 59, 31], Operations: ['84-53=31'] Exploring Operation: 62+31=93, Resulting Numbers: [59, 93] Generated Node #0,0,2: 61:[59, 93] Operation: 62+31=93 Moving to Node #0,0,2 Current State: 61:[59, 93], Operations: ['84-53=31', '62+31=93'] Exploring Operation: 93-59=34, Resulting Numbers: [34] 34,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[62, 59, 31], Operations: ['84-53=31'] Exploring Operation: 59-31=28, Resulting Numbers: [62, 28] Generated Node #0,0,3: 61:[62, 28] Operation: 59-31=28 Moving to Node #0,0,3 Current State: 61:[62, 28], Operations: ['84-53=31', '59-31=28'] Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[62, 28], Operations: ['84-53=31', '59-31=28'] Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[62, 59, 31], Operations: ['84-53=31'] Exploring Operation: 62/31=2, Resulting Numbers: [59, 2] Generated Node #0,0,4: 61:[59, 2] Operation: 62/31=2 Moving to Node #0,0,4 Current State: 61:[59, 2], Operations: ['84-53=31', '62/31=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.987847
dfs
Current State: 61:[62, 84, 59, 53], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [62, 59, 31] Generated Node #2: [62, 59, 31] from Operation: 84-53=31 Current State: 61:[62, 59, 31], Operations: ['84-53=31'] Exploring Operation: 62/31=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 62/31=2 Current State: 61:[59, 2], Operations: ['84-53=31', '62/31=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
sum_heuristic
[ { "content": "Make 61 with the numbers [62, 84, 59, 53] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 61:[62, 84, 59, 53], Operations: []\nExploring Operation: 84-53=31, Resulting Numbers: [62, 59, 31]\nGenerated Node #0,0: 61:[62, 59, 31] Operation: 84-53=31\nMoving to Node #0,0\nCurrent State: 61:[62, 59, 31], Operations: ['84-53=31']\nExploring Operation: 59+31=90, Resulting Numbers: [62, 90]\nGenerated Node #0,0,0: 61:[62, 90] Operation: 59+31=90\nMoving to Node #0,0,0\nCurrent State: 61:[62, 90], Operations: ['84-53=31', '59+31=90']\nExploring Operation: 90-62=28, Resulting Numbers: [28]\n28,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[62, 59, 31], Operations: ['84-53=31']\nExploring Operation: 62-31=31, Resulting Numbers: [59, 31]\nGenerated Node #0,0,1: 61:[59, 31] Operation: 62-31=31\nMoving to Node #0,0,1\nCurrent State: 61:[59, 31], Operations: ['84-53=31', '62-31=31']\nExploring Operation: 59+31=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 61:[59, 31], Operations: ['84-53=31', '62-31=31']\nExploring Operation: 59-31=28, Resulting Numbers: [28]\n28,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[62, 59, 31], Operations: ['84-53=31']\nExploring Operation: 62+31=93, Resulting Numbers: [59, 93]\nGenerated Node #0,0,2: 61:[59, 93] Operation: 62+31=93\nMoving to Node #0,0,2\nCurrent State: 61:[59, 93], Operations: ['84-53=31', '62+31=93']\nExploring Operation: 93-59=34, Resulting Numbers: [34]\n34,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[62, 59, 31], Operations: ['84-53=31']\nExploring Operation: 59-31=28, Resulting Numbers: [62, 28]\nGenerated Node #0,0,3: 61:[62, 28] Operation: 59-31=28\nMoving to Node #0,0,3\nCurrent State: 61:[62, 28], Operations: ['84-53=31', '59-31=28']\nExploring Operation: 62-28=34, Resulting Numbers: [34]\n34,61 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 61:[62, 28], Operations: ['84-53=31', '59-31=28']\nExploring Operation: 62+28=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[62, 59, 31], Operations: ['84-53=31']\nExploring Operation: 62/31=2, Resulting Numbers: [59, 2]\nGenerated Node #0,0,4: 61:[59, 2] Operation: 62/31=2\nMoving to Node #0,0,4\nCurrent State: 61:[59, 2], Operations: ['84-53=31', '62/31=2']\nExploring Operation: 59+2=61, Resulting Numbers: [61]\n61,61 equal: Goal Reached\n", "role": "assistant" } ]
[ 76, 27, 74, 41 ]
16
[ "76-27=49", "74-41=33", "49-33=16" ]
Current State: 16:[76, 27, 74, 41], Operations: [] Exploring Operation: 76-27=49, Resulting Numbers: [74, 41, 49] Generated Node #0,0: 16:[74, 41, 49] Operation: 76-27=49 Exploring Operation: 76-41=35, Resulting Numbers: [27, 74, 35] Generated Node #0,1: 16:[27, 74, 35] Operation: 76-41=35 Exploring Operation: 74-41=33, Resulting Numbers: [76, 27, 33] Generated Node #0,2: 16:[76, 27, 33] Operation: 74-41=33 Exploring Operation: 76-74=2, Resulting Numbers: [27, 41, 2] Generated Node #0,3: 16:[27, 41, 2] Operation: 76-74=2 Moving to Node #0,3 Current State: 16:[27, 41, 2], Operations: ['76-74=2'] Exploring Operation: 27-2=25, Resulting Numbers: [41, 25] Generated Node #0,3,0: 16:[41, 25] Operation: 27-2=25 Exploring Operation: 41-27=14, Resulting Numbers: [2, 14] Generated Node #0,3,1: 16:[2, 14] Operation: 41-27=14 Exploring Operation: 27+2=29, Resulting Numbers: [41, 29] Generated Node #0,3,2: 16:[41, 29] Operation: 27+2=29 Exploring Operation: 41-2=39, Resulting Numbers: [27, 39] Generated Node #0,3,3: 16:[27, 39] Operation: 41-2=39 Moving to Node #0,2 Current State: 16:[76, 27, 33], Operations: ['74-41=33'] Exploring Operation: 76-33=43, Resulting Numbers: [27, 43] Generated Node #0,2,0: 16:[27, 43] Operation: 76-33=43 Exploring Operation: 33-27=6, Resulting Numbers: [76, 6] Generated Node #0,2,1: 16:[76, 6] Operation: 33-27=6 Exploring Operation: 76+27=103, Resulting Numbers: [33, 103] Generated Node #0,2,2: 16:[33, 103] Operation: 76+27=103 Exploring Operation: 76-27=49, Resulting Numbers: [33, 49] Generated Node #0,2,3: 16:[33, 49] Operation: 76-27=49 Moving to Node #0,1 Current State: 16:[27, 74, 35], Operations: ['76-41=35'] Exploring Operation: 27+74=101, Resulting Numbers: [35, 101] Generated Node #0,1,0: 16:[35, 101] Operation: 27+74=101 Exploring Operation: 74-35=39, Resulting Numbers: [27, 39] Generated Node #0,1,1: 16:[27, 39] Operation: 74-35=39 Exploring Operation: 74-27=47, Resulting Numbers: [35, 47] Generated Node #0,1,2: 16:[35, 47] Operation: 74-27=47 Exploring Operation: 35-27=8, Resulting Numbers: [74, 8] Generated Node #0,1,3: 16:[74, 8] Operation: 35-27=8 Moving to Node #0,0 Current State: 16:[74, 41, 49], Operations: ['76-27=49'] Exploring Operation: 49-41=8, Resulting Numbers: [74, 8] Generated Node #0,0,0: 16:[74, 8] Operation: 49-41=8 Exploring Operation: 74-41=33, Resulting Numbers: [49, 33] Generated Node #0,0,1: 16:[49, 33] Operation: 74-41=33 Exploring Operation: 74-49=25, Resulting Numbers: [41, 25] Generated Node #0,0,2: 16:[41, 25] Operation: 74-49=25 Exploring Operation: 74+41=115, Resulting Numbers: [49, 115] Generated Node #0,0,3: 16:[49, 115] Operation: 74+41=115 Moving to Node #0,3,1 Current State: 16:[2, 14], Operations: ['76-74=2', '41-27=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.979167
bfs_4
Current State: 16:[76, 27, 74, 41], Operations: [] Exploring Operation: 76-27=49, Resulting Numbers: [74, 41, 49] Generated Node #2: [74, 41, 49] from Operation: 76-27=49 Current State: 16:[74, 41, 49], Operations: ['76-27=49'] Exploring Operation: 74-41=33, Resulting Numbers: [49, 33] Generated Node #3: [49, 33] from Operation: 74-41=33 Current State: 16:[49, 33], Operations: ['76-27=49', '74-41=33'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
sum_heuristic
[ { "content": "Make 16 with the numbers [76, 27, 74, 41] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 16:[76, 27, 74, 41], Operations: []\nExploring Operation: 76-27=49, Resulting Numbers: [74, 41, 49]\nGenerated Node #0,0: 16:[74, 41, 49] Operation: 76-27=49\nExploring Operation: 76-41=35, Resulting Numbers: [27, 74, 35]\nGenerated Node #0,1: 16:[27, 74, 35] Operation: 76-41=35\nExploring Operation: 74-41=33, Resulting Numbers: [76, 27, 33]\nGenerated Node #0,2: 16:[76, 27, 33] Operation: 74-41=33\nExploring Operation: 76-74=2, Resulting Numbers: [27, 41, 2]\nGenerated Node #0,3: 16:[27, 41, 2] Operation: 76-74=2\nMoving to Node #0,3\nCurrent State: 16:[27, 41, 2], Operations: ['76-74=2']\nExploring Operation: 27-2=25, Resulting Numbers: [41, 25]\nGenerated Node #0,3,0: 16:[41, 25] Operation: 27-2=25\nExploring Operation: 41-27=14, Resulting Numbers: [2, 14]\nGenerated Node #0,3,1: 16:[2, 14] Operation: 41-27=14\nExploring Operation: 27+2=29, Resulting Numbers: [41, 29]\nGenerated Node #0,3,2: 16:[41, 29] Operation: 27+2=29\nExploring Operation: 41-2=39, Resulting Numbers: [27, 39]\nGenerated Node #0,3,3: 16:[27, 39] Operation: 41-2=39\nMoving to Node #0,2\nCurrent State: 16:[76, 27, 33], Operations: ['74-41=33']\nExploring Operation: 76-33=43, Resulting Numbers: [27, 43]\nGenerated Node #0,2,0: 16:[27, 43] Operation: 76-33=43\nExploring Operation: 33-27=6, Resulting Numbers: [76, 6]\nGenerated Node #0,2,1: 16:[76, 6] Operation: 33-27=6\nExploring Operation: 76+27=103, Resulting Numbers: [33, 103]\nGenerated Node #0,2,2: 16:[33, 103] Operation: 76+27=103\nExploring Operation: 76-27=49, Resulting Numbers: [33, 49]\nGenerated Node #0,2,3: 16:[33, 49] Operation: 76-27=49\nMoving to Node #0,1\nCurrent State: 16:[27, 74, 35], Operations: ['76-41=35']\nExploring Operation: 27+74=101, Resulting Numbers: [35, 101]\nGenerated Node #0,1,0: 16:[35, 101] Operation: 27+74=101\nExploring Operation: 74-35=39, Resulting Numbers: [27, 39]\nGenerated Node #0,1,1: 16:[27, 39] Operation: 74-35=39\nExploring Operation: 74-27=47, Resulting Numbers: [35, 47]\nGenerated Node #0,1,2: 16:[35, 47] Operation: 74-27=47\nExploring Operation: 35-27=8, Resulting Numbers: [74, 8]\nGenerated Node #0,1,3: 16:[74, 8] Operation: 35-27=8\nMoving to Node #0,0\nCurrent State: 16:[74, 41, 49], Operations: ['76-27=49']\nExploring Operation: 49-41=8, Resulting Numbers: [74, 8]\nGenerated Node #0,0,0: 16:[74, 8] Operation: 49-41=8\nExploring Operation: 74-41=33, Resulting Numbers: [49, 33]\nGenerated Node #0,0,1: 16:[49, 33] Operation: 74-41=33\nExploring Operation: 74-49=25, Resulting Numbers: [41, 25]\nGenerated Node #0,0,2: 16:[41, 25] Operation: 74-49=25\nExploring Operation: 74+41=115, Resulting Numbers: [49, 115]\nGenerated Node #0,0,3: 16:[49, 115] Operation: 74+41=115\nMoving to Node #0,3,1\nCurrent State: 16:[2, 14], Operations: ['76-74=2', '41-27=14']\nExploring Operation: 2*14=28, Resulting Numbers: [28]\n28,16 unequal: No Solution\nExploring Operation: 14-2=12, Resulting Numbers: [12]\n12,16 unequal: No Solution\nExploring Operation: 2+14=16, Resulting Numbers: [16]\n16,16 equal: Goal Reached\n", "role": "assistant" } ]
[ 14, 33, 45, 62 ]
31
[ "14+33=47", "47-45=2", "62/2=31" ]
Current State: 31:[14, 33, 45, 62], Operations: [] Exploring Operation: 62-14=48, Resulting Numbers: [33, 45, 48] Generated Node #0,0: 31:[33, 45, 48] Operation: 62-14=48 Exploring Operation: 45-14=31, Resulting Numbers: [33, 62, 31] Generated Node #0,1: 31:[33, 62, 31] Operation: 45-14=31 Moving to Node #0,0 Current State: 31:[33, 45, 48], Operations: ['62-14=48'] Exploring Operation: 48-45=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 31:[33, 3] Operation: 48-45=3 Exploring Operation: 48-33=15, Resulting Numbers: [45, 15] Generated Node #0,0,1: 31:[45, 15] Operation: 48-33=15 Moving to Node #0,1 Current State: 31:[33, 62, 31], Operations: ['45-14=31'] Exploring Operation: 62-31=31, Resulting Numbers: [33, 31] Generated Node #0,1,0: 31:[33, 31] Operation: 62-31=31 Exploring Operation: 62-33=29, Resulting Numbers: [31, 29] Generated Node #0,1,1: 31:[31, 29] Operation: 62-33=29 Moving to Node #0,1,0 Current State: 31:[33, 31], Operations: ['45-14=31', '62-31=31'] Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[31, 29], Operations: ['45-14=31', '62-33=29'] Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,1,0,0 Current State: 31:[2], Operations: ['45-14=31', '62-31=31', '33-31=2'] Moving to Node #0,1,1,0 Current State: 31:[2], Operations: ['45-14=31', '62-33=29', '31-29=2'] Moving to Node #0,1,1,0 Current State: 31:[60], Operations: ['45-14=31', '62-33=29', '31+29=60'] Moving to Node #0,0,1 Current State: 31:[45, 15], Operations: ['62-14=48', '48-33=15'] Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,0,1,0 Current State: 31:[30], Operations: ['62-14=48', '48-33=15', '45-15=30'] Moving to Node #0,0,1,0 Current State: 31:[3], Operations: ['62-14=48', '48-33=15', '45/15=3'] Moving to Node #0,0,0 Current State: 31:[33, 3], Operations: ['62-14=48', '48-45=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,1,0,0 Current State: 31:[64], Operations: ['45-14=31', '62-31=31', '33+31=64'] Moving to Node #0,0,0,0 Current State: 31:[30], Operations: ['62-14=48', '48-45=3', '33-3=30'] Moving to Node #0,0,0,0 Current State: 31:[36], Operations: ['62-14=48', '48-45=3', '33+3=36'] No solution found.
0
bfs_2
Current State: 31:[14, 33, 45, 62], Operations: [] Exploring Operation: 14+33=47, Resulting Numbers: [45, 62, 47] Generated Node #2: [45, 62, 47] from Operation: 14+33=47 Current State: 31:[45, 62, 47], Operations: ['14+33=47'] Exploring Operation: 47-45=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 47-45=2 Current State: 31:[62, 2], Operations: ['14+33=47', '47-45=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
mult_heuristic
[ { "content": "Make 31 with the numbers [14, 33, 45, 62] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 31:[14, 33, 45, 62], Operations: []\nExploring Operation: 62-14=48, Resulting Numbers: [33, 45, 48]\nGenerated Node #0,0: 31:[33, 45, 48] Operation: 62-14=48\nExploring Operation: 45-14=31, Resulting Numbers: [33, 62, 31]\nGenerated Node #0,1: 31:[33, 62, 31] Operation: 45-14=31\nMoving to Node #0,0\nCurrent State: 31:[33, 45, 48], Operations: ['62-14=48']\nExploring Operation: 48-45=3, Resulting Numbers: [33, 3]\nGenerated Node #0,0,0: 31:[33, 3] Operation: 48-45=3\nExploring Operation: 48-33=15, Resulting Numbers: [45, 15]\nGenerated Node #0,0,1: 31:[45, 15] Operation: 48-33=15\nMoving to Node #0,1\nCurrent State: 31:[33, 62, 31], Operations: ['45-14=31']\nExploring Operation: 62-31=31, Resulting Numbers: [33, 31]\nGenerated Node #0,1,0: 31:[33, 31] Operation: 62-31=31\nExploring Operation: 62-33=29, Resulting Numbers: [31, 29]\nGenerated Node #0,1,1: 31:[31, 29] Operation: 62-33=29\nMoving to Node #0,1,0\nCurrent State: 31:[33, 31], Operations: ['45-14=31', '62-31=31']\nExploring Operation: 33+31=64, Resulting Numbers: [64]\n64,31 unequal: No Solution\nExploring Operation: 33-31=2, Resulting Numbers: [2]\n2,31 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 31:[31, 29], Operations: ['45-14=31', '62-33=29']\nExploring Operation: 31+29=60, Resulting Numbers: [60]\n60,31 unequal: No Solution\nExploring Operation: 31-29=2, Resulting Numbers: [2]\n2,31 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 31:[2], Operations: ['45-14=31', '62-31=31', '33-31=2']\nMoving to Node #0,1,1,0\nCurrent State: 31:[2], Operations: ['45-14=31', '62-33=29', '31-29=2']\nMoving to Node #0,1,1,0\nCurrent State: 31:[60], Operations: ['45-14=31', '62-33=29', '31+29=60']\nMoving to Node #0,0,1\nCurrent State: 31:[45, 15], Operations: ['62-14=48', '48-33=15']\nExploring Operation: 45-15=30, Resulting Numbers: [30]\n30,31 unequal: No Solution\nExploring Operation: 45/15=3, Resulting Numbers: [3]\n3,31 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 31:[30], Operations: ['62-14=48', '48-33=15', '45-15=30']\nMoving to Node #0,0,1,0\nCurrent State: 31:[3], Operations: ['62-14=48', '48-33=15', '45/15=3']\nMoving to Node #0,0,0\nCurrent State: 31:[33, 3], Operations: ['62-14=48', '48-45=3']\nExploring Operation: 33+3=36, Resulting Numbers: [36]\n36,31 unequal: No Solution\nExploring Operation: 33-3=30, Resulting Numbers: [30]\n30,31 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 31:[64], Operations: ['45-14=31', '62-31=31', '33+31=64']\nMoving to Node #0,0,0,0\nCurrent State: 31:[30], Operations: ['62-14=48', '48-45=3', '33-3=30']\nMoving to Node #0,0,0,0\nCurrent State: 31:[36], Operations: ['62-14=48', '48-45=3', '33+3=36']\nNo solution found.", "role": "assistant" } ]
[ 79, 44, 55, 47 ]
27
[ "79-44=35", "55-47=8", "35-8=27" ]
Current State: 27:[79, 44, 55, 47], Operations: []
0
dfs
Current State: 27:[79, 44, 55, 47], Operations: [] Exploring Operation: 79-44=35, Resulting Numbers: [55, 47, 35] Generated Node #2: [55, 47, 35] from Operation: 79-44=35 Current State: 27:[55, 47, 35], Operations: ['79-44=35'] Exploring Operation: 55-47=8, Resulting Numbers: [35, 8] Generated Node #3: [35, 8] from Operation: 55-47=8 Current State: 27:[35, 8], Operations: ['79-44=35', '55-47=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
mult_heuristic
[ { "content": "Make 27 with the numbers [79, 44, 55, 47] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 27:[79, 44, 55, 47], Operations: []\n", "role": "assistant" } ]
[ 91, 11, 98, 5 ]
42
[ "98-91=7", "11-5=6", "7*6=42" ]
Current State: 42:[91, 11, 98, 5], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [11, 5, 7] Generated Node #0,0: 42:[11, 5, 7] Operation: 98-91=7 Exploring Operation: 91-11=80, Resulting Numbers: [98, 5, 80] Generated Node #0,1: 42:[98, 5, 80] Operation: 91-11=80 Exploring Operation: 91-5=86, Resulting Numbers: [11, 98, 86] Generated Node #0,2: 42:[11, 98, 86] Operation: 91-5=86 Exploring Operation: 98-11=87, Resulting Numbers: [91, 5, 87] Generated Node #0,3: 42:[91, 5, 87] Operation: 98-11=87 Moving to Node #0,0 Current State: 42:[11, 5, 7], Operations: ['98-91=7'] Exploring Operation: 11-7=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 42:[5, 4] Operation: 11-7=4 Exploring Operation: 7-5=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 42:[11, 2] Operation: 7-5=2 Exploring Operation: 11-5=6, Resulting Numbers: [7, 6] Generated Node #0,0,2: 42:[7, 6] Operation: 11-5=6 Exploring Operation: 11+5=16, Resulting Numbers: [7, 16] Generated Node #0,0,3: 42:[7, 16] Operation: 11+5=16 Moving to Node #0,3 Current State: 42:[91, 5, 87], Operations: ['98-11=87'] Exploring Operation: 91-87=4, Resulting Numbers: [5, 4] Generated Node #0,3,0: 42:[5, 4] Operation: 91-87=4 Exploring Operation: 87-5=82, Resulting Numbers: [91, 82] Generated Node #0,3,1: 42:[91, 82] Operation: 87-5=82 Exploring Operation: 91+5=96, Resulting Numbers: [87, 96] Generated Node #0,3,2: 42:[87, 96] Operation: 91+5=96 Exploring Operation: 91-5=86, Resulting Numbers: [87, 86] Generated Node #0,3,3: 42:[87, 86] Operation: 91-5=86 Moving to Node #0,1 Current State: 42:[98, 5, 80], Operations: ['91-11=80'] Exploring Operation: 80-5=75, Resulting Numbers: [98, 75] Generated Node #0,1,0: 42:[98, 75] Operation: 80-5=75 Exploring Operation: 98-5=93, Resulting Numbers: [80, 93] Generated Node #0,1,1: 42:[80, 93] Operation: 98-5=93 Exploring Operation: 80/5=16, Resulting Numbers: [98, 16] Generated Node #0,1,2: 42:[98, 16] Operation: 80/5=16 Exploring Operation: 98-80=18, Resulting Numbers: [5, 18] Generated Node #0,1,3: 42:[5, 18] Operation: 98-80=18 Moving to Node #0,2 Current State: 42:[11, 98, 86], Operations: ['91-5=86'] Exploring Operation: 11+98=109, Resulting Numbers: [86, 109] Generated Node #0,2,0: 42:[86, 109] Operation: 11+98=109 Exploring Operation: 86-11=75, Resulting Numbers: [98, 75] Generated Node #0,2,1: 42:[98, 75] Operation: 86-11=75 Exploring Operation: 98-86=12, Resulting Numbers: [11, 12] Generated Node #0,2,2: 42:[11, 12] Operation: 98-86=12 Exploring Operation: 98-11=87, Resulting Numbers: [86, 87] Generated Node #0,2,3: 42:[86, 87] Operation: 98-11=87 Moving to Node #0,0,2 Current State: 42:[7, 6], Operations: ['98-91=7', '11-5=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.980903
bfs_4
Current State: 42:[91, 11, 98, 5], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [11, 5, 7] Generated Node #2: [11, 5, 7] from Operation: 98-91=7 Current State: 42:[11, 5, 7], Operations: ['98-91=7'] Exploring Operation: 11-5=6, Resulting Numbers: [7, 6] Generated Node #3: [7, 6] from Operation: 11-5=6 Current State: 42:[7, 6], Operations: ['98-91=7', '11-5=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
mult_heuristic
[ { "content": "Make 42 with the numbers [91, 11, 98, 5] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 42:[91, 11, 98, 5], Operations: []\nExploring Operation: 98-91=7, Resulting Numbers: [11, 5, 7]\nGenerated Node #0,0: 42:[11, 5, 7] Operation: 98-91=7\nExploring Operation: 91-11=80, Resulting Numbers: [98, 5, 80]\nGenerated Node #0,1: 42:[98, 5, 80] Operation: 91-11=80\nExploring Operation: 91-5=86, Resulting Numbers: [11, 98, 86]\nGenerated Node #0,2: 42:[11, 98, 86] Operation: 91-5=86\nExploring Operation: 98-11=87, Resulting Numbers: [91, 5, 87]\nGenerated Node #0,3: 42:[91, 5, 87] Operation: 98-11=87\nMoving to Node #0,0\nCurrent State: 42:[11, 5, 7], Operations: ['98-91=7']\nExploring Operation: 11-7=4, Resulting Numbers: [5, 4]\nGenerated Node #0,0,0: 42:[5, 4] Operation: 11-7=4\nExploring Operation: 7-5=2, Resulting Numbers: [11, 2]\nGenerated Node #0,0,1: 42:[11, 2] Operation: 7-5=2\nExploring Operation: 11-5=6, Resulting Numbers: [7, 6]\nGenerated Node #0,0,2: 42:[7, 6] Operation: 11-5=6\nExploring Operation: 11+5=16, Resulting Numbers: [7, 16]\nGenerated Node #0,0,3: 42:[7, 16] Operation: 11+5=16\nMoving to Node #0,3\nCurrent State: 42:[91, 5, 87], Operations: ['98-11=87']\nExploring Operation: 91-87=4, Resulting Numbers: [5, 4]\nGenerated Node #0,3,0: 42:[5, 4] Operation: 91-87=4\nExploring Operation: 87-5=82, Resulting Numbers: [91, 82]\nGenerated Node #0,3,1: 42:[91, 82] Operation: 87-5=82\nExploring Operation: 91+5=96, Resulting Numbers: [87, 96]\nGenerated Node #0,3,2: 42:[87, 96] Operation: 91+5=96\nExploring Operation: 91-5=86, Resulting Numbers: [87, 86]\nGenerated Node #0,3,3: 42:[87, 86] Operation: 91-5=86\nMoving to Node #0,1\nCurrent State: 42:[98, 5, 80], Operations: ['91-11=80']\nExploring Operation: 80-5=75, Resulting Numbers: [98, 75]\nGenerated Node #0,1,0: 42:[98, 75] Operation: 80-5=75\nExploring Operation: 98-5=93, Resulting Numbers: [80, 93]\nGenerated Node #0,1,1: 42:[80, 93] Operation: 98-5=93\nExploring Operation: 80/5=16, Resulting Numbers: [98, 16]\nGenerated Node #0,1,2: 42:[98, 16] Operation: 80/5=16\nExploring Operation: 98-80=18, Resulting Numbers: [5, 18]\nGenerated Node #0,1,3: 42:[5, 18] Operation: 98-80=18\nMoving to Node #0,2\nCurrent State: 42:[11, 98, 86], Operations: ['91-5=86']\nExploring Operation: 11+98=109, Resulting Numbers: [86, 109]\nGenerated Node #0,2,0: 42:[86, 109] Operation: 11+98=109\nExploring Operation: 86-11=75, Resulting Numbers: [98, 75]\nGenerated Node #0,2,1: 42:[98, 75] Operation: 86-11=75\nExploring Operation: 98-86=12, Resulting Numbers: [11, 12]\nGenerated Node #0,2,2: 42:[11, 12] Operation: 98-86=12\nExploring Operation: 98-11=87, Resulting Numbers: [86, 87]\nGenerated Node #0,2,3: 42:[86, 87] Operation: 98-11=87\nMoving to Node #0,0,2\nCurrent State: 42:[7, 6], Operations: ['98-91=7', '11-5=6']\nExploring Operation: 7*6=42, Resulting Numbers: [42]\n42,42 equal: Goal Reached\n", "role": "assistant" } ]
[ 49, 1, 70, 3 ]
74
[ "49-1=48", "3*48=144", "144-70=74" ]
Current State: 74:[49, 1, 70, 3], Operations: [] Exploring Operation: 3-1=2, Resulting Numbers: [49, 70, 2] Generated Node #0,0: 74:[49, 70, 2] Operation: 3-1=2 Exploring Operation: 49-3=46, Resulting Numbers: [1, 70, 46] Generated Node #0,1: 74:[1, 70, 46] Operation: 49-3=46 Exploring Operation: 49-1=48, Resulting Numbers: [70, 3, 48] Generated Node #0,2: 74:[70, 3, 48] Operation: 49-1=48 Exploring Operation: 70+3=73, Resulting Numbers: [49, 1, 73] Generated Node #0,3: 74:[49, 1, 73] Operation: 70+3=73 Exploring Operation: 1+70=71, Resulting Numbers: [49, 3, 71] Generated Node #0,4: 74:[49, 3, 71] Operation: 1+70=71 Moving to Node #0,1 Current State: 74:[1, 70, 46], Operations: ['49-3=46'] Exploring Operation: 46-1=45, Resulting Numbers: [70, 45] Generated Node #0,1,0: 74:[70, 45] Operation: 46-1=45 Exploring Operation: 1+70=71, Resulting Numbers: [46, 71] Generated Node #0,1,1: 74:[46, 71] Operation: 1+70=71 Exploring Operation: 1*70=70, Resulting Numbers: [46, 70] Generated Node #0,1,2: 74:[46, 70] Operation: 1*70=70 Exploring Operation: 70/1=70, Resulting Numbers: [46, 70] Generated Node #0,1,3: 74:[46, 70] Operation: 70/1=70 Exploring Operation: 1*46=46, Resulting Numbers: [70, 46] Generated Node #0,1,4: 74:[70, 46] Operation: 1*46=46 Moving to Node #0,3 Current State: 74:[49, 1, 73], Operations: ['70+3=73'] Exploring Operation: 49/1=49, Resulting Numbers: [73, 49] Generated Node #0,3,0: 74:[73, 49] Operation: 49/1=49 Exploring Operation: 49-1=48, Resulting Numbers: [73, 48] Generated Node #0,3,1: 74:[73, 48] Operation: 49-1=48 Exploring Operation: 49*1=49, Resulting Numbers: [73, 49] Generated Node #0,3,2: 74:[73, 49] Operation: 49*1=49 Exploring Operation: 1+73=74, Resulting Numbers: [49, 74] Generated Node #0,3,3: 74:[49, 74] Operation: 1+73=74 Exploring Operation: 1*73=73, Resulting Numbers: [49, 73] Generated Node #0,3,4: 74:[49, 73] Operation: 1*73=73 Moving to Node #0,0 Current State: 74:[49, 70, 2], Operations: ['3-1=2'] Exploring Operation: 70/2=35, Resulting Numbers: [49, 35] Generated Node #0,0,0: 74:[49, 35] Operation: 70/2=35 Exploring Operation: 49-2=47, Resulting Numbers: [70, 47] Generated Node #0,0,1: 74:[70, 47] Operation: 49-2=47 Exploring Operation: 70+2=72, Resulting Numbers: [49, 72] Generated Node #0,0,2: 74:[49, 72] Operation: 70+2=72 Exploring Operation: 49+2=51, Resulting Numbers: [70, 51] Generated Node #0,0,3: 74:[70, 51] Operation: 49+2=51 Exploring Operation: 70-49=21, Resulting Numbers: [2, 21] Generated Node #0,0,4: 74:[2, 21] Operation: 70-49=21 Moving to Node #0,2 Current State: 74:[70, 3, 48], Operations: ['49-1=48'] Exploring Operation: 3+48=51, Resulting Numbers: [70, 51] Generated Node #0,2,0: 74:[70, 51] Operation: 3+48=51 Exploring Operation: 70-48=22, Resulting Numbers: [3, 22] Generated Node #0,2,1: 74:[3, 22] Operation: 70-48=22 Exploring Operation: 70+3=73, Resulting Numbers: [48, 73] Generated Node #0,2,2: 74:[48, 73] Operation: 70+3=73 Exploring Operation: 70-3=67, Resulting Numbers: [48, 67] Generated Node #0,2,3: 74:[48, 67] Operation: 70-3=67 Exploring Operation: 48-3=45, Resulting Numbers: [70, 45] Generated Node #0,2,4: 74:[70, 45] Operation: 48-3=45 Moving to Node #0,4 Current State: 74:[49, 3, 71], Operations: ['1+70=71'] Exploring Operation: 3+71=74, Resulting Numbers: [49, 74] Generated Node #0,4,0: 74:[49, 74] Operation: 3+71=74 Exploring Operation: 49-3=46, Resulting Numbers: [71, 46] Generated Node #0,4,1: 74:[71, 46] Operation: 49-3=46 Exploring Operation: 71-49=22, Resulting Numbers: [3, 22] Generated Node #0,4,2: 74:[3, 22] Operation: 71-49=22 Exploring Operation: 71-3=68, Resulting Numbers: [49, 68] Generated Node #0,4,3: 74:[49, 68] Operation: 71-3=68 Exploring Operation: 49+3=52, Resulting Numbers: [71, 52] Generated Node #0,4,4: 74:[71, 52] Operation: 49+3=52 Moving to Node #0,1,0 Current State: 74:[70, 45], Operations: ['49-3=46', '46-1=45'] Exploring Operation: 70+45=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 70*45=3150, Resulting Numbers: [3150] 3150,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[73, 48], Operations: ['70+3=73', '49-1=48'] Exploring Operation: 73*48=3504, Resulting Numbers: [3504] 3504,74 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 73+48=121, Resulting Numbers: [121] 121,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[49, 74], Operations: ['70+3=73', '1+73=74'] Exploring Operation: 49*74=3626, Resulting Numbers: [3626] 3626,74 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 49+74=123, Resulting Numbers: [123] 123,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[46, 71], Operations: ['49-3=46', '1+70=71'] Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 46+71=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 46*71=3266, Resulting Numbers: [3266] 3266,74 unequal: No Solution Moving to Node #0,4,0 Current State: 74:[49, 74], Operations: ['1+70=71', '3+71=74'] Exploring Operation: 49*74=3626, Resulting Numbers: [3626] 3626,74 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 49+74=123, Resulting Numbers: [123] 123,74 unequal: No Solution Moving to Node #0,4,1 Current State: 74:[71, 46], Operations: ['1+70=71', '49-3=46'] Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,74 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,74 unequal: No Solution Moving to Node #0,3,1,0 Current State: 74:[25], Operations: ['70+3=73', '49-1=48', '73-48=25'] Moving to Node #0,1,1,0 Current State: 74:[25], Operations: ['49-3=46', '1+70=71', '71-46=25'] Moving to Node #0,3,3,0 Current State: 74:[25], Operations: ['70+3=73', '1+73=74', '74-49=25'] Moving to Node #0,2,2 Current State: 74:[48, 73], Operations: ['49-1=48', '70+3=73'] Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,74 unequal: No Solution Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,74 unequal: No Solution Moving to Node #0,1,0,0 Current State: 74:[25], Operations: ['49-3=46', '46-1=45', '70-45=25'] Moving to Node #0,4,1,0 Current State: 74:[25], Operations: ['1+70=71', '49-3=46', '71-46=25'] Moving to Node #0,2,4 Current State: 74:[70, 45], Operations: ['49-1=48', '48-3=45'] Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 70+45=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 70*45=3150, Resulting Numbers: [3150] 3150,74 unequal: No Solution Moving to Node #0,4,0,0 Current State: 74:[25], Operations: ['1+70=71', '3+71=74', '74-49=25'] Moving to Node #0,2,2,0 Current State: 74:[25], Operations: ['49-1=48', '70+3=73', '73-48=25'] Moving to Node #0,2,4,0 Current State: 74:[25], Operations: ['49-1=48', '48-3=45', '70-45=25'] Moving to Node #0,3,0 Current State: 74:[73, 49], Operations: ['70+3=73', '49/1=49'] Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,74 unequal: No Solution Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[46, 70], Operations: ['49-3=46', '1*70=70'] Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,74 unequal: No Solution Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,74 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[49, 73], Operations: ['70+3=73', '1*73=73'] Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,74 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[70, 46], Operations: ['49-3=46', '1*46=46'] Exploring Operation: 70+46=116, Resulting Numbers: [116] 116,74 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 70*46=3220, Resulting Numbers: [3220] 3220,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[73, 49], Operations: ['70+3=73', '49*1=49'] Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,74 unequal: No Solution Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,74 unequal: No Solution Moving to Node #0,3,0,0 Current State: 74:[24], Operations: ['70+3=73', '49/1=49', '73-49=24'] Moving to Node #0,1,3 Current State: 74:[46, 70], Operations: ['49-3=46', '70/1=70'] Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,74 unequal: No Solution Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,74 unequal: No Solution Moving to Node #0,1,2,0 Current State: 74:[24], Operations: ['49-3=46', '1*70=70', '70-46=24'] Moving to Node #0,3,4,0 Current State: 74:[24], Operations: ['70+3=73', '1*73=73', '73-49=24'] Moving to Node #0,1,4,0 Current State: 74:[24], Operations: ['49-3=46', '1*46=46', '70-46=24'] Moving to Node #0,3,2,0 Current State: 74:[24], Operations: ['70+3=73', '49*1=49', '73-49=24'] Moving to Node #0,1,3,0 Current State: 74:[24], Operations: ['49-3=46', '70/1=70', '70-46=24'] Moving to Node #0,0,2 Current State: 74:[49, 72], Operations: ['3-1=2', '70+2=72'] Exploring Operation: 49+72=121, Resulting Numbers: [121] 121,74 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 49*72=3528, Resulting Numbers: [3528] 3528,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[70, 47], Operations: ['3-1=2', '49-2=47'] Exploring Operation: 70+47=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 70*47=3290, Resulting Numbers: [3290] 3290,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[49, 35], Operations: ['3-1=2', '70/2=35'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,74 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,74 unequal: No Solution Moving to Node #0,0,2,0 Current State: 74:[23], Operations: ['3-1=2', '70+2=72', '72-49=23'] Moving to Node #0,0,1,0 Current State: 74:[23], Operations: ['3-1=2', '49-2=47', '70-47=23'] Moving to Node #0,0,4 Current State: 74:[2, 21], Operations: ['3-1=2', '70-49=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[3, 22], Operations: ['49-1=48', '70-48=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,74 unequal: No Solution Moving to Node #0,0,4,0 Current State: 74:[42], Operations: ['3-1=2', '70-49=21', '2*21=42'] Moving to Node #0,2,1,0 Current State: 74:[66], Operations: ['49-1=48', '70-48=22', '3*22=66'] Moving to Node #0,0,0,0 Current State: 74:[84], Operations: ['3-1=2', '70/2=35', '49+35=84'] Moving to Node #0,0,0,0 Current State: 74:[14], Operations: ['3-1=2', '70/2=35', '49-35=14'] Moving to Node #0,2,1,0 Current State: 74:[25], Operations: ['49-1=48', '70-48=22', '3+22=25'] Moving to Node #0,0,4,0 Current State: 74:[23], Operations: ['3-1=2', '70-49=21', '2+21=23'] Moving to Node #0,4,2 Current State: 74:[3, 22], Operations: ['1+70=71', '71-49=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,74 unequal: No Solution Moving to Node #0,2,1,0 Current State: 74:[19], Operations: ['49-1=48', '70-48=22', '22-3=19'] Moving to Node #0,0,4,0 Current State: 74:[19], Operations: ['3-1=2', '70-49=21', '21-2=19'] Moving to Node #0,0,3 Current State: 74:[70, 51], Operations: ['3-1=2', '49+2=51'] Exploring Operation: 70+51=121, Resulting Numbers: [121] 121,74 unequal: No Solution Exploring Operation: 70*51=3570, Resulting Numbers: [3570] 3570,74 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,74 unequal: No Solution Moving to Node #0,4,2,0 Current State: 74:[66], Operations: ['1+70=71', '71-49=22', '3*22=66'] Moving to Node #0,4,2,0 Current State: 74:[25], Operations: ['1+70=71', '71-49=22', '3+22=25'] Moving to Node #0,4,2,0 Current State: 74:[19], Operations: ['1+70=71', '71-49=22', '22-3=19'] Moving to Node #0,0,3,0 Current State: 74:[19], Operations: ['3-1=2', '49+2=51', '70-51=19'] Moving to Node #0,4,3 Current State: 74:[49, 68], Operations: ['1+70=71', '71-3=68'] Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,74 unequal: No Solution Moving to Node #0,4,3,0 Current State: 74:[19], Operations: ['1+70=71', '71-3=68', '68-49=19'] Moving to Node #0,4,4 Current State: 74:[71, 52], Operations: ['1+70=71', '49+3=52'] Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 71*52=3692, Resulting Numbers: [3692] 3692,74 unequal: No Solution Exploring Operation: 71+52=123, Resulting Numbers: [123] 123,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[48, 67], Operations: ['49-1=48', '70-3=67'] Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 48*67=3216, Resulting Numbers: [3216] 3216,74 unequal: No Solution Exploring Operation: 48+67=115, Resulting Numbers: [115] 115,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[70, 51], Operations: ['49-1=48', '3+48=51'] Exploring Operation: 70+51=121, Resulting Numbers: [121] 121,74 unequal: No Solution Exploring Operation: 70*51=3570, Resulting Numbers: [3570] 3570,74 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,74 unequal: No Solution Moving to Node #0,1,0,0 Current State: 74:[115], Operations: ['49-3=46', '46-1=45', '70+45=115'] Moving to Node #0,4,4,0 Current State: 74:[19], Operations: ['1+70=71', '49+3=52', '71-52=19'] Moving to Node #0,2,3,0 Current State: 74:[19], Operations: ['49-1=48', '70-3=67', '67-48=19'] Moving to Node #0,2,0,0 Current State: 74:[19], Operations: ['49-1=48', '3+48=51', '70-51=19'] Moving to Node #0,2,4,0 Current State: 74:[115], Operations: ['49-1=48', '48-3=45', '70+45=115'] Moving to Node #0,2,3,0 Current State: 74:[115], Operations: ['49-1=48', '70-3=67', '48+67=115'] Moving to Node #0,1,4,0 Current State: 74:[116], Operations: ['49-3=46', '1*46=46', '70+46=116'] Moving to Node #0,1,3,0 Current State: 74:[116], Operations: ['49-3=46', '70/1=70', '46+70=116'] Moving to Node #0,1,2,0 Current State: 74:[116], Operations: ['49-3=46', '1*70=70', '46+70=116'] Moving to Node #0,4,1,0 Current State: 74:[117], Operations: ['1+70=71', '49-3=46', '71+46=117'] Moving to Node #0,0,1,0 Current State: 74:[117], Operations: ['3-1=2', '49-2=47', '70+47=117'] Moving to Node #0,4,3,0 Current State: 74:[117], Operations: ['1+70=71', '71-3=68', '49+68=117'] Moving to Node #0,1,1,0 Current State: 74:[117], Operations: ['49-3=46', '1+70=71', '46+71=117'] Moving to Node #0,3,1,0 Current State: 74:[121], Operations: ['70+3=73', '49-1=48', '73+48=121'] Moving to Node #0,2,0,0 Current State: 74:[121], Operations: ['49-1=48', '3+48=51', '70+51=121'] Moving to Node #0,0,3,0 Current State: 74:[121], Operations: ['3-1=2', '49+2=51', '70+51=121'] Moving to Node #0,0,2,0 Current State: 74:[121], Operations: ['3-1=2', '70+2=72', '49+72=121'] Moving to Node #0,2,2,0 Current State: 74:[121], Operations: ['49-1=48', '70+3=73', '48+73=121'] Moving to Node #0,3,0,0 Current State: 74:[122], Operations: ['70+3=73', '49/1=49', '73+49=122'] Moving to Node #0,3,2,0 Current State: 74:[122], Operations: ['70+3=73', '49*1=49', '73+49=122'] Moving to Node #0,3,4,0 Current State: 74:[122], Operations: ['70+3=73', '1*73=73', '49+73=122'] Moving to Node #0,3,3,0 Current State: 74:[123], Operations: ['70+3=73', '1+73=74', '49+74=123'] Moving to Node #0,4,0,0 Current State: 74:[123], Operations: ['1+70=71', '3+71=74', '49+74=123'] Moving to Node #0,4,4,0 Current State: 74:[123], Operations: ['1+70=71', '49+3=52', '71+52=123'] Moving to Node #0,0,0,0 Current State: 74:[1715], Operations: ['3-1=2', '70/2=35', '49*35=1715'] Moving to Node #0,2,4,0 Current State: 74:[3150], Operations: ['49-1=48', '48-3=45', '70*45=3150'] Moving to Node #0,1,0,0 Current State: 74:[3150], Operations: ['49-3=46', '46-1=45', '70*45=3150'] Moving to Node #0,2,3,0 Current State: 74:[3216], Operations: ['49-1=48', '70-3=67', '48*67=3216'] Moving to Node #0,1,4,0 Current State: 74:[3220], Operations: ['49-3=46', '1*46=46', '70*46=3220'] Moving to Node #0,1,3,0 Current State: 74:[3220], Operations: ['49-3=46', '70/1=70', '46*70=3220'] Moving to Node #0,1,2,0 Current State: 74:[3220], Operations: ['49-3=46', '1*70=70', '46*70=3220'] Moving to Node #0,1,1,0 Current State: 74:[3266], Operations: ['49-3=46', '1+70=71', '46*71=3266'] Moving to Node #0,4,1,0 Current State: 74:[3266], Operations: ['1+70=71', '49-3=46', '71*46=3266'] Moving to Node #0,0,1,0 Current State: 74:[3290], Operations: ['3-1=2', '49-2=47', '70*47=3290'] Moving to Node #0,4,3,0 Current State: 74:[3332], Operations: ['1+70=71', '71-3=68', '49*68=3332'] Moving to Node #0,3,1,0 Current State: 74:[3504], Operations: ['70+3=73', '49-1=48', '73*48=3504'] Moving to Node #0,2,2,0 Current State: 74:[3504], Operations: ['49-1=48', '70+3=73', '48*73=3504'] Moving to Node #0,0,2,0 Current State: 74:[3528], Operations: ['3-1=2', '70+2=72', '49*72=3528'] Moving to Node #0,0,3,0 Current State: 74:[3570], Operations: ['3-1=2', '49+2=51', '70*51=3570'] Moving to Node #0,2,0,0 Current State: 74:[3570], Operations: ['49-1=48', '3+48=51', '70*51=3570'] Moving to Node #0,3,2,0 Current State: 74:[3577], Operations: ['70+3=73', '49*1=49', '73*49=3577'] Moving to Node #0,3,4,0 Current State: 74:[3577], Operations: ['70+3=73', '1*73=73', '49*73=3577'] Moving to Node #0,3,0,0 Current State: 74:[3577], Operations: ['70+3=73', '49/1=49', '73*49=3577'] Moving to Node #0,4,0,0 Current State: 74:[3626], Operations: ['1+70=71', '3+71=74', '49*74=3626'] Moving to Node #0,3,3,0 Current State: 74:[3626], Operations: ['70+3=73', '1+73=74', '49*74=3626'] Moving to Node #0,4,4,0 Current State: 74:[3692], Operations: ['1+70=71', '49+3=52', '71*52=3692'] No solution found.
0
bfs_5
Current State: 74:[49, 1, 70, 3], Operations: [] Exploring Operation: 49-1=48, Resulting Numbers: [70, 3, 48] Generated Node #2: [70, 3, 48] from Operation: 49-1=48 Current State: 74:[70, 3, 48], Operations: ['49-1=48'] Exploring Operation: 3*48=144, Resulting Numbers: [70, 144] Generated Node #3: [70, 144] from Operation: 3*48=144 Current State: 74:[70, 144], Operations: ['49-1=48', '3*48=144'] Exploring Operation: 144-70=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
mult_heuristic
[ { "content": "Make 74 with the numbers [49, 1, 70, 3] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 74:[49, 1, 70, 3], Operations: []\nExploring Operation: 3-1=2, Resulting Numbers: [49, 70, 2]\nGenerated Node #0,0: 74:[49, 70, 2] Operation: 3-1=2\nExploring Operation: 49-3=46, Resulting Numbers: [1, 70, 46]\nGenerated Node #0,1: 74:[1, 70, 46] Operation: 49-3=46\nExploring Operation: 49-1=48, Resulting Numbers: [70, 3, 48]\nGenerated Node #0,2: 74:[70, 3, 48] Operation: 49-1=48\nExploring Operation: 70+3=73, Resulting Numbers: [49, 1, 73]\nGenerated Node #0,3: 74:[49, 1, 73] Operation: 70+3=73\nExploring Operation: 1+70=71, Resulting Numbers: [49, 3, 71]\nGenerated Node #0,4: 74:[49, 3, 71] Operation: 1+70=71\nMoving to Node #0,1\nCurrent State: 74:[1, 70, 46], Operations: ['49-3=46']\nExploring Operation: 46-1=45, Resulting Numbers: [70, 45]\nGenerated Node #0,1,0: 74:[70, 45] Operation: 46-1=45\nExploring Operation: 1+70=71, Resulting Numbers: [46, 71]\nGenerated Node #0,1,1: 74:[46, 71] Operation: 1+70=71\nExploring Operation: 1*70=70, Resulting Numbers: [46, 70]\nGenerated Node #0,1,2: 74:[46, 70] Operation: 1*70=70\nExploring Operation: 70/1=70, Resulting Numbers: [46, 70]\nGenerated Node #0,1,3: 74:[46, 70] Operation: 70/1=70\nExploring Operation: 1*46=46, Resulting Numbers: [70, 46]\nGenerated Node #0,1,4: 74:[70, 46] Operation: 1*46=46\nMoving to Node #0,3\nCurrent State: 74:[49, 1, 73], Operations: ['70+3=73']\nExploring Operation: 49/1=49, Resulting Numbers: [73, 49]\nGenerated Node #0,3,0: 74:[73, 49] Operation: 49/1=49\nExploring Operation: 49-1=48, Resulting Numbers: [73, 48]\nGenerated Node #0,3,1: 74:[73, 48] Operation: 49-1=48\nExploring Operation: 49*1=49, Resulting Numbers: [73, 49]\nGenerated Node #0,3,2: 74:[73, 49] Operation: 49*1=49\nExploring Operation: 1+73=74, Resulting Numbers: [49, 74]\nGenerated Node #0,3,3: 74:[49, 74] Operation: 1+73=74\nExploring Operation: 1*73=73, Resulting Numbers: [49, 73]\nGenerated Node #0,3,4: 74:[49, 73] Operation: 1*73=73\nMoving to Node #0,0\nCurrent State: 74:[49, 70, 2], Operations: ['3-1=2']\nExploring Operation: 70/2=35, Resulting Numbers: [49, 35]\nGenerated Node #0,0,0: 74:[49, 35] Operation: 70/2=35\nExploring Operation: 49-2=47, Resulting Numbers: [70, 47]\nGenerated Node #0,0,1: 74:[70, 47] Operation: 49-2=47\nExploring Operation: 70+2=72, Resulting Numbers: [49, 72]\nGenerated Node #0,0,2: 74:[49, 72] Operation: 70+2=72\nExploring Operation: 49+2=51, Resulting Numbers: [70, 51]\nGenerated Node #0,0,3: 74:[70, 51] Operation: 49+2=51\nExploring Operation: 70-49=21, Resulting Numbers: [2, 21]\nGenerated Node #0,0,4: 74:[2, 21] Operation: 70-49=21\nMoving to Node #0,2\nCurrent State: 74:[70, 3, 48], Operations: ['49-1=48']\nExploring Operation: 3+48=51, Resulting Numbers: [70, 51]\nGenerated Node #0,2,0: 74:[70, 51] Operation: 3+48=51\nExploring Operation: 70-48=22, Resulting Numbers: [3, 22]\nGenerated Node #0,2,1: 74:[3, 22] Operation: 70-48=22\nExploring Operation: 70+3=73, Resulting Numbers: [48, 73]\nGenerated Node #0,2,2: 74:[48, 73] Operation: 70+3=73\nExploring Operation: 70-3=67, Resulting Numbers: [48, 67]\nGenerated Node #0,2,3: 74:[48, 67] Operation: 70-3=67\nExploring Operation: 48-3=45, Resulting Numbers: [70, 45]\nGenerated Node #0,2,4: 74:[70, 45] Operation: 48-3=45\nMoving to Node #0,4\nCurrent State: 74:[49, 3, 71], Operations: ['1+70=71']\nExploring Operation: 3+71=74, Resulting Numbers: [49, 74]\nGenerated Node #0,4,0: 74:[49, 74] Operation: 3+71=74\nExploring Operation: 49-3=46, Resulting Numbers: [71, 46]\nGenerated Node #0,4,1: 74:[71, 46] Operation: 49-3=46\nExploring Operation: 71-49=22, Resulting Numbers: [3, 22]\nGenerated Node #0,4,2: 74:[3, 22] Operation: 71-49=22\nExploring Operation: 71-3=68, Resulting Numbers: [49, 68]\nGenerated Node #0,4,3: 74:[49, 68] Operation: 71-3=68\nExploring Operation: 49+3=52, Resulting Numbers: [71, 52]\nGenerated Node #0,4,4: 74:[71, 52] Operation: 49+3=52\nMoving to Node #0,1,0\nCurrent State: 74:[70, 45], Operations: ['49-3=46', '46-1=45']\nExploring Operation: 70+45=115, Resulting Numbers: [115]\n115,74 unequal: No Solution\nExploring Operation: 70-45=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nExploring Operation: 70*45=3150, Resulting Numbers: [3150]\n3150,74 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 74:[73, 48], Operations: ['70+3=73', '49-1=48']\nExploring Operation: 73*48=3504, Resulting Numbers: [3504]\n3504,74 unequal: No Solution\nExploring Operation: 73-48=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nExploring Operation: 73+48=121, Resulting Numbers: [121]\n121,74 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 74:[49, 74], Operations: ['70+3=73', '1+73=74']\nExploring Operation: 49*74=3626, Resulting Numbers: [3626]\n3626,74 unequal: No Solution\nExploring Operation: 74-49=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nExploring Operation: 49+74=123, Resulting Numbers: [123]\n123,74 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 74:[46, 71], Operations: ['49-3=46', '1+70=71']\nExploring Operation: 71-46=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nExploring Operation: 46+71=117, Resulting Numbers: [117]\n117,74 unequal: No Solution\nExploring Operation: 46*71=3266, Resulting Numbers: [3266]\n3266,74 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 74:[49, 74], Operations: ['1+70=71', '3+71=74']\nExploring Operation: 49*74=3626, Resulting Numbers: [3626]\n3626,74 unequal: No Solution\nExploring Operation: 74-49=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nExploring Operation: 49+74=123, Resulting Numbers: [123]\n123,74 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 74:[71, 46], Operations: ['1+70=71', '49-3=46']\nExploring Operation: 71+46=117, Resulting Numbers: [117]\n117,74 unequal: No Solution\nExploring Operation: 71*46=3266, Resulting Numbers: [3266]\n3266,74 unequal: No Solution\nExploring Operation: 71-46=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 74:[25], Operations: ['70+3=73', '49-1=48', '73-48=25']\nMoving to Node #0,1,1,0\nCurrent State: 74:[25], Operations: ['49-3=46', '1+70=71', '71-46=25']\nMoving to Node #0,3,3,0\nCurrent State: 74:[25], Operations: ['70+3=73', '1+73=74', '74-49=25']\nMoving to Node #0,2,2\nCurrent State: 74:[48, 73], Operations: ['49-1=48', '70+3=73']\nExploring Operation: 73-48=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nExploring Operation: 48*73=3504, Resulting Numbers: [3504]\n3504,74 unequal: No Solution\nExploring Operation: 48+73=121, Resulting Numbers: [121]\n121,74 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 74:[25], Operations: ['49-3=46', '46-1=45', '70-45=25']\nMoving to Node #0,4,1,0\nCurrent State: 74:[25], Operations: ['1+70=71', '49-3=46', '71-46=25']\nMoving to Node #0,2,4\nCurrent State: 74:[70, 45], Operations: ['49-1=48', '48-3=45']\nExploring Operation: 70-45=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nExploring Operation: 70+45=115, Resulting Numbers: [115]\n115,74 unequal: No Solution\nExploring Operation: 70*45=3150, Resulting Numbers: [3150]\n3150,74 unequal: No Solution\nMoving to Node #0,4,0,0\nCurrent State: 74:[25], Operations: ['1+70=71', '3+71=74', '74-49=25']\nMoving to Node #0,2,2,0\nCurrent State: 74:[25], Operations: ['49-1=48', '70+3=73', '73-48=25']\nMoving to Node #0,2,4,0\nCurrent State: 74:[25], Operations: ['49-1=48', '48-3=45', '70-45=25']\nMoving to Node #0,3,0\nCurrent State: 74:[73, 49], Operations: ['70+3=73', '49/1=49']\nExploring Operation: 73*49=3577, Resulting Numbers: [3577]\n3577,74 unequal: No Solution\nExploring Operation: 73+49=122, Resulting Numbers: [122]\n122,74 unequal: No Solution\nExploring Operation: 73-49=24, Resulting Numbers: [24]\n24,74 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 74:[46, 70], Operations: ['49-3=46', '1*70=70']\nExploring Operation: 46*70=3220, Resulting Numbers: [3220]\n3220,74 unequal: No Solution\nExploring Operation: 46+70=116, Resulting Numbers: [116]\n116,74 unequal: No Solution\nExploring Operation: 70-46=24, Resulting Numbers: [24]\n24,74 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 74:[49, 73], Operations: ['70+3=73', '1*73=73']\nExploring Operation: 49+73=122, Resulting Numbers: [122]\n122,74 unequal: No Solution\nExploring Operation: 49*73=3577, Resulting Numbers: [3577]\n3577,74 unequal: No Solution\nExploring Operation: 73-49=24, Resulting Numbers: [24]\n24,74 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 74:[70, 46], Operations: ['49-3=46', '1*46=46']\nExploring Operation: 70+46=116, Resulting Numbers: [116]\n116,74 unequal: No Solution\nExploring Operation: 70-46=24, Resulting Numbers: [24]\n24,74 unequal: No Solution\nExploring Operation: 70*46=3220, Resulting Numbers: [3220]\n3220,74 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 74:[73, 49], Operations: ['70+3=73', '49*1=49']\nExploring Operation: 73*49=3577, Resulting Numbers: [3577]\n3577,74 unequal: No Solution\nExploring Operation: 73+49=122, Resulting Numbers: [122]\n122,74 unequal: No Solution\nExploring Operation: 73-49=24, Resulting Numbers: [24]\n24,74 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 74:[24], Operations: ['70+3=73', '49/1=49', '73-49=24']\nMoving to Node #0,1,3\nCurrent State: 74:[46, 70], Operations: ['49-3=46', '70/1=70']\nExploring Operation: 70-46=24, Resulting Numbers: [24]\n24,74 unequal: No Solution\nExploring Operation: 46*70=3220, Resulting Numbers: [3220]\n3220,74 unequal: No Solution\nExploring Operation: 46+70=116, Resulting Numbers: [116]\n116,74 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 74:[24], Operations: ['49-3=46', '1*70=70', '70-46=24']\nMoving to Node #0,3,4,0\nCurrent State: 74:[24], Operations: ['70+3=73', '1*73=73', '73-49=24']\nMoving to Node #0,1,4,0\nCurrent State: 74:[24], Operations: ['49-3=46', '1*46=46', '70-46=24']\nMoving to Node #0,3,2,0\nCurrent State: 74:[24], Operations: ['70+3=73', '49*1=49', '73-49=24']\nMoving to Node #0,1,3,0\nCurrent State: 74:[24], Operations: ['49-3=46', '70/1=70', '70-46=24']\nMoving to Node #0,0,2\nCurrent State: 74:[49, 72], Operations: ['3-1=2', '70+2=72']\nExploring Operation: 49+72=121, Resulting Numbers: [121]\n121,74 unequal: No Solution\nExploring Operation: 72-49=23, Resulting Numbers: [23]\n23,74 unequal: No Solution\nExploring Operation: 49*72=3528, Resulting Numbers: [3528]\n3528,74 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 74:[70, 47], Operations: ['3-1=2', '49-2=47']\nExploring Operation: 70+47=117, Resulting Numbers: [117]\n117,74 unequal: No Solution\nExploring Operation: 70-47=23, Resulting Numbers: [23]\n23,74 unequal: No Solution\nExploring Operation: 70*47=3290, Resulting Numbers: [3290]\n3290,74 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 74:[49, 35], Operations: ['3-1=2', '70/2=35']\nExploring Operation: 49-35=14, Resulting Numbers: [14]\n14,74 unequal: No Solution\nExploring Operation: 49*35=1715, Resulting Numbers: [1715]\n1715,74 unequal: No Solution\nExploring Operation: 49+35=84, Resulting Numbers: [84]\n84,74 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 74:[23], Operations: ['3-1=2', '70+2=72', '72-49=23']\nMoving to Node #0,0,1,0\nCurrent State: 74:[23], Operations: ['3-1=2', '49-2=47', '70-47=23']\nMoving to Node #0,0,4\nCurrent State: 74:[2, 21], Operations: ['3-1=2', '70-49=21']\nExploring Operation: 2*21=42, Resulting Numbers: [42]\n42,74 unequal: No Solution\nExploring Operation: 2+21=23, Resulting Numbers: [23]\n23,74 unequal: No Solution\nExploring Operation: 21-2=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 74:[3, 22], Operations: ['49-1=48', '70-48=22']\nExploring Operation: 22-3=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nExploring Operation: 3*22=66, Resulting Numbers: [66]\n66,74 unequal: No Solution\nExploring Operation: 3+22=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nMoving to Node #0,0,4,0\nCurrent State: 74:[42], Operations: ['3-1=2', '70-49=21', '2*21=42']\nMoving to Node #0,2,1,0\nCurrent State: 74:[66], Operations: ['49-1=48', '70-48=22', '3*22=66']\nMoving to Node #0,0,0,0\nCurrent State: 74:[84], Operations: ['3-1=2', '70/2=35', '49+35=84']\nMoving to Node #0,0,0,0\nCurrent State: 74:[14], Operations: ['3-1=2', '70/2=35', '49-35=14']\nMoving to Node #0,2,1,0\nCurrent State: 74:[25], Operations: ['49-1=48', '70-48=22', '3+22=25']\nMoving to Node #0,0,4,0\nCurrent State: 74:[23], Operations: ['3-1=2', '70-49=21', '2+21=23']\nMoving to Node #0,4,2\nCurrent State: 74:[3, 22], Operations: ['1+70=71', '71-49=22']\nExploring Operation: 22-3=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nExploring Operation: 3*22=66, Resulting Numbers: [66]\n66,74 unequal: No Solution\nExploring Operation: 3+22=25, Resulting Numbers: [25]\n25,74 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 74:[19], Operations: ['49-1=48', '70-48=22', '22-3=19']\nMoving to Node #0,0,4,0\nCurrent State: 74:[19], Operations: ['3-1=2', '70-49=21', '21-2=19']\nMoving to Node #0,0,3\nCurrent State: 74:[70, 51], Operations: ['3-1=2', '49+2=51']\nExploring Operation: 70+51=121, Resulting Numbers: [121]\n121,74 unequal: No Solution\nExploring Operation: 70*51=3570, Resulting Numbers: [3570]\n3570,74 unequal: No Solution\nExploring Operation: 70-51=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nMoving to Node #0,4,2,0\nCurrent State: 74:[66], Operations: ['1+70=71', '71-49=22', '3*22=66']\nMoving to Node #0,4,2,0\nCurrent State: 74:[25], Operations: ['1+70=71', '71-49=22', '3+22=25']\nMoving to Node #0,4,2,0\nCurrent State: 74:[19], Operations: ['1+70=71', '71-49=22', '22-3=19']\nMoving to Node #0,0,3,0\nCurrent State: 74:[19], Operations: ['3-1=2', '49+2=51', '70-51=19']\nMoving to Node #0,4,3\nCurrent State: 74:[49, 68], Operations: ['1+70=71', '71-3=68']\nExploring Operation: 49+68=117, Resulting Numbers: [117]\n117,74 unequal: No Solution\nExploring Operation: 68-49=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nExploring Operation: 49*68=3332, Resulting Numbers: [3332]\n3332,74 unequal: No Solution\nMoving to Node #0,4,3,0\nCurrent State: 74:[19], Operations: ['1+70=71', '71-3=68', '68-49=19']\nMoving to Node #0,4,4\nCurrent State: 74:[71, 52], Operations: ['1+70=71', '49+3=52']\nExploring Operation: 71-52=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nExploring Operation: 71*52=3692, Resulting Numbers: [3692]\n3692,74 unequal: No Solution\nExploring Operation: 71+52=123, Resulting Numbers: [123]\n123,74 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 74:[48, 67], Operations: ['49-1=48', '70-3=67']\nExploring Operation: 67-48=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nExploring Operation: 48*67=3216, Resulting Numbers: [3216]\n3216,74 unequal: No Solution\nExploring Operation: 48+67=115, Resulting Numbers: [115]\n115,74 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 74:[70, 51], Operations: ['49-1=48', '3+48=51']\nExploring Operation: 70+51=121, Resulting Numbers: [121]\n121,74 unequal: No Solution\nExploring Operation: 70*51=3570, Resulting Numbers: [3570]\n3570,74 unequal: No Solution\nExploring Operation: 70-51=19, Resulting Numbers: [19]\n19,74 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 74:[115], Operations: ['49-3=46', '46-1=45', '70+45=115']\nMoving to Node #0,4,4,0\nCurrent State: 74:[19], Operations: ['1+70=71', '49+3=52', '71-52=19']\nMoving to Node #0,2,3,0\nCurrent State: 74:[19], Operations: ['49-1=48', '70-3=67', '67-48=19']\nMoving to Node #0,2,0,0\nCurrent State: 74:[19], Operations: ['49-1=48', '3+48=51', '70-51=19']\nMoving to Node #0,2,4,0\nCurrent State: 74:[115], Operations: ['49-1=48', '48-3=45', '70+45=115']\nMoving to Node #0,2,3,0\nCurrent State: 74:[115], Operations: ['49-1=48', '70-3=67', '48+67=115']\nMoving to Node #0,1,4,0\nCurrent State: 74:[116], Operations: ['49-3=46', '1*46=46', '70+46=116']\nMoving to Node #0,1,3,0\nCurrent State: 74:[116], Operations: ['49-3=46', '70/1=70', '46+70=116']\nMoving to Node #0,1,2,0\nCurrent State: 74:[116], Operations: ['49-3=46', '1*70=70', '46+70=116']\nMoving to Node #0,4,1,0\nCurrent State: 74:[117], Operations: ['1+70=71', '49-3=46', '71+46=117']\nMoving to Node #0,0,1,0\nCurrent State: 74:[117], Operations: ['3-1=2', '49-2=47', '70+47=117']\nMoving to Node #0,4,3,0\nCurrent State: 74:[117], Operations: ['1+70=71', '71-3=68', '49+68=117']\nMoving to Node #0,1,1,0\nCurrent State: 74:[117], Operations: ['49-3=46', '1+70=71', '46+71=117']\nMoving to Node #0,3,1,0\nCurrent State: 74:[121], Operations: ['70+3=73', '49-1=48', '73+48=121']\nMoving to Node #0,2,0,0\nCurrent State: 74:[121], Operations: ['49-1=48', '3+48=51', '70+51=121']\nMoving to Node #0,0,3,0\nCurrent State: 74:[121], Operations: ['3-1=2', '49+2=51', '70+51=121']\nMoving to Node #0,0,2,0\nCurrent State: 74:[121], Operations: ['3-1=2', '70+2=72', '49+72=121']\nMoving to Node #0,2,2,0\nCurrent State: 74:[121], Operations: ['49-1=48', '70+3=73', '48+73=121']\nMoving to Node #0,3,0,0\nCurrent State: 74:[122], Operations: ['70+3=73', '49/1=49', '73+49=122']\nMoving to Node #0,3,2,0\nCurrent State: 74:[122], Operations: ['70+3=73', '49*1=49', '73+49=122']\nMoving to Node #0,3,4,0\nCurrent State: 74:[122], Operations: ['70+3=73', '1*73=73', '49+73=122']\nMoving to Node #0,3,3,0\nCurrent State: 74:[123], Operations: ['70+3=73', '1+73=74', '49+74=123']\nMoving to Node #0,4,0,0\nCurrent State: 74:[123], Operations: ['1+70=71', '3+71=74', '49+74=123']\nMoving to Node #0,4,4,0\nCurrent State: 74:[123], Operations: ['1+70=71', '49+3=52', '71+52=123']\nMoving to Node #0,0,0,0\nCurrent State: 74:[1715], Operations: ['3-1=2', '70/2=35', '49*35=1715']\nMoving to Node #0,2,4,0\nCurrent State: 74:[3150], Operations: ['49-1=48', '48-3=45', '70*45=3150']\nMoving to Node #0,1,0,0\nCurrent State: 74:[3150], Operations: ['49-3=46', '46-1=45', '70*45=3150']\nMoving to Node #0,2,3,0\nCurrent State: 74:[3216], Operations: ['49-1=48', '70-3=67', '48*67=3216']\nMoving to Node #0,1,4,0\nCurrent State: 74:[3220], Operations: ['49-3=46', '1*46=46', '70*46=3220']\nMoving to Node #0,1,3,0\nCurrent State: 74:[3220], Operations: ['49-3=46', '70/1=70', '46*70=3220']\nMoving to Node #0,1,2,0\nCurrent State: 74:[3220], Operations: ['49-3=46', '1*70=70', '46*70=3220']\nMoving to Node #0,1,1,0\nCurrent State: 74:[3266], Operations: ['49-3=46', '1+70=71', '46*71=3266']\nMoving to Node #0,4,1,0\nCurrent State: 74:[3266], Operations: ['1+70=71', '49-3=46', '71*46=3266']\nMoving to Node #0,0,1,0\nCurrent State: 74:[3290], Operations: ['3-1=2', '49-2=47', '70*47=3290']\nMoving to Node #0,4,3,0\nCurrent State: 74:[3332], Operations: ['1+70=71', '71-3=68', '49*68=3332']\nMoving to Node #0,3,1,0\nCurrent State: 74:[3504], Operations: ['70+3=73', '49-1=48', '73*48=3504']\nMoving to Node #0,2,2,0\nCurrent State: 74:[3504], Operations: ['49-1=48', '70+3=73', '48*73=3504']\nMoving to Node #0,0,2,0\nCurrent State: 74:[3528], Operations: ['3-1=2', '70+2=72', '49*72=3528']\nMoving to Node #0,0,3,0\nCurrent State: 74:[3570], Operations: ['3-1=2', '49+2=51', '70*51=3570']\nMoving to Node #0,2,0,0\nCurrent State: 74:[3570], Operations: ['49-1=48', '3+48=51', '70*51=3570']\nMoving to Node #0,3,2,0\nCurrent State: 74:[3577], Operations: ['70+3=73', '49*1=49', '73*49=3577']\nMoving to Node #0,3,4,0\nCurrent State: 74:[3577], Operations: ['70+3=73', '1*73=73', '49*73=3577']\nMoving to Node #0,3,0,0\nCurrent State: 74:[3577], Operations: ['70+3=73', '49/1=49', '73*49=3577']\nMoving to Node #0,4,0,0\nCurrent State: 74:[3626], Operations: ['1+70=71', '3+71=74', '49*74=3626']\nMoving to Node #0,3,3,0\nCurrent State: 74:[3626], Operations: ['70+3=73', '1+73=74', '49*74=3626']\nMoving to Node #0,4,4,0\nCurrent State: 74:[3692], Operations: ['1+70=71', '49+3=52', '71*52=3692']\nNo solution found.", "role": "assistant" } ]
[ 91, 11, 13, 91 ]
23
[ "91/91=1", "11+13=24", "24-1=23" ]
Current State: 23:[91, 11, 13, 91], Operations: []
0
dfs
Current State: 23:[91, 11, 13, 91], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [11, 13, 1] Generated Node #2: [11, 13, 1] from Operation: 91/91=1 Current State: 23:[11, 13, 1], Operations: ['91/91=1'] Exploring Operation: 11+13=24, Resulting Numbers: [1, 24] Generated Node #3: [1, 24] from Operation: 11+13=24 Current State: 23:[1, 24], Operations: ['91/91=1', '11+13=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
mult_heuristic
[ { "content": "Make 23 with the numbers [91, 11, 13, 91] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 23:[91, 11, 13, 91], Operations: []\n", "role": "assistant" } ]
[ 84, 99, 30, 54 ]
36
[ "99*30=2970", "54+2970=3024", "3024/84=36" ]
Current State: 36:[84, 99, 30, 54], Operations: [] Exploring Operation: 84-30=54, Resulting Numbers: [99, 54, 54] Generated Node #0,0: 36:[99, 54, 54] Operation: 84-30=54 Exploring Operation: 99-54=45, Resulting Numbers: [84, 30, 45] Generated Node #0,1: 36:[84, 30, 45] Operation: 99-54=45 Exploring Operation: 84-54=30, Resulting Numbers: [99, 30, 30] Generated Node #0,2: 36:[99, 30, 30] Operation: 84-54=30 Exploring Operation: 99-84=15, Resulting Numbers: [30, 54, 15] Generated Node #0,3: 36:[30, 54, 15] Operation: 99-84=15 Moving to Node #0,3 Current State: 36:[30, 54, 15], Operations: ['99-84=15'] Exploring Operation: 54-30=24, Resulting Numbers: [15, 24] Generated Node #0,3,0: 36:[15, 24] Operation: 54-30=24 Exploring Operation: 30-15=15, Resulting Numbers: [54, 15] Generated Node #0,3,1: 36:[54, 15] Operation: 30-15=15 Exploring Operation: 54-15=39, Resulting Numbers: [30, 39] Generated Node #0,3,2: 36:[30, 39] Operation: 54-15=39 Exploring Operation: 30/15=2, Resulting Numbers: [54, 2] Generated Node #0,3,3: 36:[54, 2] Operation: 30/15=2 Moving to Node #0,1 Current State: 36:[84, 30, 45], Operations: ['99-54=45'] Exploring Operation: 45-30=15, Resulting Numbers: [84, 15] Generated Node #0,1,0: 36:[84, 15] Operation: 45-30=15 Exploring Operation: 84-45=39, Resulting Numbers: [30, 39] Generated Node #0,1,1: 36:[30, 39] Operation: 84-45=39 Exploring Operation: 84-30=54, Resulting Numbers: [45, 54] Generated Node #0,1,2: 36:[45, 54] Operation: 84-30=54 Exploring Operation: 84+30=114, Resulting Numbers: [45, 114] Generated Node #0,1,3: 36:[45, 114] Operation: 84+30=114 Moving to Node #0,2 Current State: 36:[99, 30, 30], Operations: ['84-54=30'] Exploring Operation: 99-30=69, Resulting Numbers: [30, 69] Generated Node #0,2,0: 36:[30, 69] Operation: 99-30=69 Exploring Operation: 30/30=1, Resulting Numbers: [99, 1] Generated Node #0,2,1: 36:[99, 1] Operation: 30/30=1 Exploring Operation: 99-30=69, Resulting Numbers: [30, 69] Generated Node #0,2,2: 36:[30, 69] Operation: 99-30=69 Exploring Operation: 30-30=0, Resulting Numbers: [99, 0] Generated Node #0,2,3: 36:[99, 0] Operation: 30-30=0 Moving to Node #0,0 Current State: 36:[99, 54, 54], Operations: ['84-30=54'] Exploring Operation: 99-54=45, Resulting Numbers: [54, 45] Generated Node #0,0,0: 36:[54, 45] Operation: 99-54=45 Exploring Operation: 54-54=0, Resulting Numbers: [99, 0] Generated Node #0,0,1: 36:[99, 0] Operation: 54-54=0 Exploring Operation: 54/54=1, Resulting Numbers: [99, 1] Generated Node #0,0,2: 36:[99, 1] Operation: 54/54=1 Exploring Operation: 99-54=45, Resulting Numbers: [54, 45] Generated Node #0,0,3: 36:[54, 45] Operation: 99-54=45 Moving to Node #0,3,0 Current State: 36:[15, 24], Operations: ['99-84=15', '54-30=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[30, 39], Operations: ['99-84=15', '54-15=39'] Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,36 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[30, 39], Operations: ['99-54=45', '84-45=39'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,36 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[54, 2], Operations: ['99-84=15', '30/15=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,36 unequal: No Solution Moving to Node #0,3,0,0 Current State: 36:[9], Operations: ['99-84=15', '54-30=24', '24-15=9'] Moving to Node #0,3,2,0 Current State: 36:[9], Operations: ['99-84=15', '54-15=39', '39-30=9'] Moving to Node #0,1,1,0 Current State: 36:[9], Operations: ['99-54=45', '84-45=39', '39-30=9'] Moving to Node #0,3,0,0 Current State: 36:[39], Operations: ['99-84=15', '54-30=24', '15+24=39'] Moving to Node #0,3,3,0 Current State: 36:[27], Operations: ['99-84=15', '30/15=2', '54/2=27'] Moving to Node #0,3,3,0 Current State: 36:[52], Operations: ['99-84=15', '30/15=2', '54-2=52'] Moving to Node #0,3,3,0 Current State: 36:[56], Operations: ['99-84=15', '30/15=2', '54+2=56'] Moving to Node #0,3,1 Current State: 36:[54, 15], Operations: ['99-84=15', '30-15=15'] Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,36 unequal: No Solution Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,36 unequal: No Solution Moving to Node #0,3,1,0 Current State: 36:[39], Operations: ['99-84=15', '30-15=15', '54-15=39'] Moving to Node #0,0,3 Current State: 36:[54, 45], Operations: ['84-30=54', '99-54=45'] Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 54*45=2430, Resulting Numbers: [2430] 2430,36 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[45, 54], Operations: ['99-54=45', '84-30=54'] Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 45*54=2430, Resulting Numbers: [2430] 2430,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[54, 45], Operations: ['84-30=54', '99-54=45'] Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 54*45=2430, Resulting Numbers: [2430] 2430,36 unequal: No Solution Moving to Node #0,0,3,0 Current State: 36:[9], Operations: ['84-30=54', '99-54=45', '54-45=9'] Moving to Node #0,1,2,0 Current State: 36:[9], Operations: ['99-54=45', '84-30=54', '54-45=9'] Moving to Node #0,0,0,0 Current State: 36:[9], Operations: ['84-30=54', '99-54=45', '54-45=9'] Moving to Node #0,1,1,0 Current State: 36:[69], Operations: ['99-54=45', '84-45=39', '30+39=69'] Moving to Node #0,3,2,0 Current State: 36:[69], Operations: ['99-84=15', '54-15=39', '30+39=69'] Moving to Node #0,3,1,0 Current State: 36:[69], Operations: ['99-84=15', '30-15=15', '54+15=69'] Moving to Node #0,2,2 Current State: 36:[30, 69], Operations: ['84-54=30', '99-30=69'] Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 30*69=2070, Resulting Numbers: [2070] 2070,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[30, 69], Operations: ['84-54=30', '99-30=69'] Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 30*69=2070, Resulting Numbers: [2070] 2070,36 unequal: No Solution Moving to Node #0,2,2,0 Current State: 36:[39], Operations: ['84-54=30', '99-30=69', '69-30=39'] Moving to Node #0,2,0,0 Current State: 36:[39], Operations: ['84-54=30', '99-30=69', '69-30=39'] Moving to Node #0,1,0 Current State: 36:[84, 15], Operations: ['99-54=45', '45-30=15'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,36 unequal: No Solution Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,36 unequal: No Solution Moving to Node #0,0,0,0 Current State: 36:[99], Operations: ['84-30=54', '99-54=45', '54+45=99'] Moving to Node #0,1,0,0 Current State: 36:[69], Operations: ['99-54=45', '45-30=15', '84-15=69'] Moving to Node #0,2,0,0 Current State: 36:[99], Operations: ['84-54=30', '99-30=69', '30+69=99'] Moving to Node #0,1,2,0 Current State: 36:[99], Operations: ['99-54=45', '84-30=54', '45+54=99'] Moving to Node #0,1,0,0 Current State: 36:[99], Operations: ['99-54=45', '45-30=15', '84+15=99'] Moving to Node #0,0,3,0 Current State: 36:[99], Operations: ['84-30=54', '99-54=45', '54+45=99'] Moving to Node #0,2,2,0 Current State: 36:[99], Operations: ['84-54=30', '99-30=69', '30+69=99'] Moving to Node #0,2,1 Current State: 36:[99, 1], Operations: ['84-54=30', '30/30=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,36 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[99, 1], Operations: ['84-30=54', '54/54=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,36 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,36 unequal: No Solution Moving to Node #0,2,1,0 Current State: 36:[98], Operations: ['84-54=30', '30/30=1', '99-1=98'] Moving to Node #0,0,2,0 Current State: 36:[98], Operations: ['84-30=54', '54/54=1', '99-1=98'] Moving to Node #0,0,2,0 Current State: 36:[99], Operations: ['84-30=54', '54/54=1', '99/1=99'] Moving to Node #0,0,2,0 Current State: 36:[99], Operations: ['84-30=54', '54/54=1', '99*1=99'] Moving to Node #0,2,1,0 Current State: 36:[99], Operations: ['84-54=30', '30/30=1', '99*1=99'] Moving to Node #0,2,1,0 Current State: 36:[99], Operations: ['84-54=30', '30/30=1', '99/1=99'] Moving to Node #0,0,2,0 Current State: 36:[100], Operations: ['84-30=54', '54/54=1', '99+1=100'] Moving to Node #0,2,1,0 Current State: 36:[100], Operations: ['84-54=30', '30/30=1', '99+1=100'] Moving to Node #0,2,3 Current State: 36:[99, 0], Operations: ['84-54=30', '30-30=0'] Exploring Operation: 99+0=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 99-0=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 99*0=0, Resulting Numbers: [0] 0,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[99, 0], Operations: ['84-30=54', '54-54=0'] Exploring Operation: 99*0=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 99+0=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 99-0=99, Resulting Numbers: [99] 99,36 unequal: No Solution Moving to Node #0,3,3,0 Current State: 36:[108], Operations: ['99-84=15', '30/15=2', '54*2=108'] Moving to Node #0,1,3 Current State: 36:[45, 114], Operations: ['99-54=45', '84+30=114'] Exploring Operation: 45+114=159, Resulting Numbers: [159] 159,36 unequal: No Solution Exploring Operation: 114-45=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 45*114=5130, Resulting Numbers: [5130] 5130,36 unequal: No Solution Moving to Node #0,2,3,0 Current State: 36:[0], Operations: ['84-54=30', '30-30=0', '99*0=0'] Moving to Node #0,0,1,0 Current State: 36:[0], Operations: ['84-30=54', '54-54=0', '99*0=0'] Moving to Node #0,1,3,0 Current State: 36:[69], Operations: ['99-54=45', '84+30=114', '114-45=69'] Moving to Node #0,2,3,0 Current State: 36:[99], Operations: ['84-54=30', '30-30=0', '99+0=99'] Moving to Node #0,0,1,0 Current State: 36:[99], Operations: ['84-30=54', '54-54=0', '99+0=99'] Moving to Node #0,2,3,0 Current State: 36:[99], Operations: ['84-54=30', '30-30=0', '99-0=99'] Moving to Node #0,0,1,0 Current State: 36:[99], Operations: ['84-30=54', '54-54=0', '99-0=99'] Moving to Node #0,1,3,0 Current State: 36:[159], Operations: ['99-54=45', '84+30=114', '45+114=159'] Moving to Node #0,3,0,0 Current State: 36:[360], Operations: ['99-84=15', '54-30=24', '15*24=360'] Moving to Node #0,3,1,0 Current State: 36:[810], Operations: ['99-84=15', '30-15=15', '54*15=810'] Moving to Node #0,1,1,0 Current State: 36:[1170], Operations: ['99-54=45', '84-45=39', '30*39=1170'] Moving to Node #0,3,2,0 Current State: 36:[1170], Operations: ['99-84=15', '54-15=39', '30*39=1170'] Moving to Node #0,1,0,0 Current State: 36:[1260], Operations: ['99-54=45', '45-30=15', '84*15=1260'] Moving to Node #0,2,0,0 Current State: 36:[2070], Operations: ['84-54=30', '99-30=69', '30*69=2070'] Moving to Node #0,2,2,0 Current State: 36:[2070], Operations: ['84-54=30', '99-30=69', '30*69=2070'] Moving to Node #0,0,3,0 Current State: 36:[2430], Operations: ['84-30=54', '99-54=45', '54*45=2430'] Moving to Node #0,1,2,0 Current State: 36:[2430], Operations: ['99-54=45', '84-30=54', '45*54=2430'] Moving to Node #0,0,0,0 Current State: 36:[2430], Operations: ['84-30=54', '99-54=45', '54*45=2430'] Moving to Node #0,1,3,0 Current State: 36:[5130], Operations: ['99-54=45', '84+30=114', '45*114=5130'] No solution found.
0
bfs_4
Current State: 36:[84, 99, 30, 54], Operations: [] Exploring Operation: 99*30=2970, Resulting Numbers: [84, 54, 2970] Generated Node #2: [84, 54, 2970] from Operation: 99*30=2970 Current State: 36:[84, 54, 2970], Operations: ['99*30=2970'] Exploring Operation: 54+2970=3024, Resulting Numbers: [84, 3024] Generated Node #3: [84, 3024] from Operation: 54+2970=3024 Current State: 36:[84, 3024], Operations: ['99*30=2970', '54+2970=3024'] Exploring Operation: 3024/84=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
mult_heuristic
[ { "content": "Make 36 with the numbers [84, 99, 30, 54] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 36:[84, 99, 30, 54], Operations: []\nExploring Operation: 84-30=54, Resulting Numbers: [99, 54, 54]\nGenerated Node #0,0: 36:[99, 54, 54] Operation: 84-30=54\nExploring Operation: 99-54=45, Resulting Numbers: [84, 30, 45]\nGenerated Node #0,1: 36:[84, 30, 45] Operation: 99-54=45\nExploring Operation: 84-54=30, Resulting Numbers: [99, 30, 30]\nGenerated Node #0,2: 36:[99, 30, 30] Operation: 84-54=30\nExploring Operation: 99-84=15, Resulting Numbers: [30, 54, 15]\nGenerated Node #0,3: 36:[30, 54, 15] Operation: 99-84=15\nMoving to Node #0,3\nCurrent State: 36:[30, 54, 15], Operations: ['99-84=15']\nExploring Operation: 54-30=24, Resulting Numbers: [15, 24]\nGenerated Node #0,3,0: 36:[15, 24] Operation: 54-30=24\nExploring Operation: 30-15=15, Resulting Numbers: [54, 15]\nGenerated Node #0,3,1: 36:[54, 15] Operation: 30-15=15\nExploring Operation: 54-15=39, Resulting Numbers: [30, 39]\nGenerated Node #0,3,2: 36:[30, 39] Operation: 54-15=39\nExploring Operation: 30/15=2, Resulting Numbers: [54, 2]\nGenerated Node #0,3,3: 36:[54, 2] Operation: 30/15=2\nMoving to Node #0,1\nCurrent State: 36:[84, 30, 45], Operations: ['99-54=45']\nExploring Operation: 45-30=15, Resulting Numbers: [84, 15]\nGenerated Node #0,1,0: 36:[84, 15] Operation: 45-30=15\nExploring Operation: 84-45=39, Resulting Numbers: [30, 39]\nGenerated Node #0,1,1: 36:[30, 39] Operation: 84-45=39\nExploring Operation: 84-30=54, Resulting Numbers: [45, 54]\nGenerated Node #0,1,2: 36:[45, 54] Operation: 84-30=54\nExploring Operation: 84+30=114, Resulting Numbers: [45, 114]\nGenerated Node #0,1,3: 36:[45, 114] Operation: 84+30=114\nMoving to Node #0,2\nCurrent State: 36:[99, 30, 30], Operations: ['84-54=30']\nExploring Operation: 99-30=69, Resulting Numbers: [30, 69]\nGenerated Node #0,2,0: 36:[30, 69] Operation: 99-30=69\nExploring Operation: 30/30=1, Resulting Numbers: [99, 1]\nGenerated Node #0,2,1: 36:[99, 1] Operation: 30/30=1\nExploring Operation: 99-30=69, Resulting Numbers: [30, 69]\nGenerated Node #0,2,2: 36:[30, 69] Operation: 99-30=69\nExploring Operation: 30-30=0, Resulting Numbers: [99, 0]\nGenerated Node #0,2,3: 36:[99, 0] Operation: 30-30=0\nMoving to Node #0,0\nCurrent State: 36:[99, 54, 54], Operations: ['84-30=54']\nExploring Operation: 99-54=45, Resulting Numbers: [54, 45]\nGenerated Node #0,0,0: 36:[54, 45] Operation: 99-54=45\nExploring Operation: 54-54=0, Resulting Numbers: [99, 0]\nGenerated Node #0,0,1: 36:[99, 0] Operation: 54-54=0\nExploring Operation: 54/54=1, Resulting Numbers: [99, 1]\nGenerated Node #0,0,2: 36:[99, 1] Operation: 54/54=1\nExploring Operation: 99-54=45, Resulting Numbers: [54, 45]\nGenerated Node #0,0,3: 36:[54, 45] Operation: 99-54=45\nMoving to Node #0,3,0\nCurrent State: 36:[15, 24], Operations: ['99-84=15', '54-30=24']\nExploring Operation: 15+24=39, Resulting Numbers: [39]\n39,36 unequal: No Solution\nExploring Operation: 24-15=9, Resulting Numbers: [9]\n9,36 unequal: No Solution\nExploring Operation: 15*24=360, Resulting Numbers: [360]\n360,36 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 36:[30, 39], Operations: ['99-84=15', '54-15=39']\nExploring Operation: 30*39=1170, Resulting Numbers: [1170]\n1170,36 unequal: No Solution\nExploring Operation: 39-30=9, Resulting Numbers: [9]\n9,36 unequal: No Solution\nExploring Operation: 30+39=69, Resulting Numbers: [69]\n69,36 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 36:[30, 39], Operations: ['99-54=45', '84-45=39']\nExploring Operation: 39-30=9, Resulting Numbers: [9]\n9,36 unequal: No Solution\nExploring Operation: 30*39=1170, Resulting Numbers: [1170]\n1170,36 unequal: No Solution\nExploring Operation: 30+39=69, Resulting Numbers: [69]\n69,36 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 36:[54, 2], Operations: ['99-84=15', '30/15=2']\nExploring Operation: 54-2=52, Resulting Numbers: [52]\n52,36 unequal: No Solution\nExploring Operation: 54/2=27, Resulting Numbers: [27]\n27,36 unequal: No Solution\nExploring Operation: 54+2=56, Resulting Numbers: [56]\n56,36 unequal: No Solution\nExploring Operation: 54*2=108, Resulting Numbers: [108]\n108,36 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 36:[9], Operations: ['99-84=15', '54-30=24', '24-15=9']\nMoving to Node #0,3,2,0\nCurrent State: 36:[9], Operations: ['99-84=15', '54-15=39', '39-30=9']\nMoving to Node #0,1,1,0\nCurrent State: 36:[9], Operations: ['99-54=45', '84-45=39', '39-30=9']\nMoving to Node #0,3,0,0\nCurrent State: 36:[39], Operations: ['99-84=15', '54-30=24', '15+24=39']\nMoving to Node #0,3,3,0\nCurrent State: 36:[27], Operations: ['99-84=15', '30/15=2', '54/2=27']\nMoving to Node #0,3,3,0\nCurrent State: 36:[52], Operations: ['99-84=15', '30/15=2', '54-2=52']\nMoving to Node #0,3,3,0\nCurrent State: 36:[56], Operations: ['99-84=15', '30/15=2', '54+2=56']\nMoving to Node #0,3,1\nCurrent State: 36:[54, 15], Operations: ['99-84=15', '30-15=15']\nExploring Operation: 54*15=810, Resulting Numbers: [810]\n810,36 unequal: No Solution\nExploring Operation: 54+15=69, Resulting Numbers: [69]\n69,36 unequal: No Solution\nExploring Operation: 54-15=39, Resulting Numbers: [39]\n39,36 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 36:[39], Operations: ['99-84=15', '30-15=15', '54-15=39']\nMoving to Node #0,0,3\nCurrent State: 36:[54, 45], Operations: ['84-30=54', '99-54=45']\nExploring Operation: 54+45=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 54*45=2430, Resulting Numbers: [2430]\n2430,36 unequal: No Solution\nExploring Operation: 54-45=9, Resulting Numbers: [9]\n9,36 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 36:[45, 54], Operations: ['99-54=45', '84-30=54']\nExploring Operation: 45+54=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 54-45=9, Resulting Numbers: [9]\n9,36 unequal: No Solution\nExploring Operation: 45*54=2430, Resulting Numbers: [2430]\n2430,36 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 36:[54, 45], Operations: ['84-30=54', '99-54=45']\nExploring Operation: 54+45=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 54-45=9, Resulting Numbers: [9]\n9,36 unequal: No Solution\nExploring Operation: 54*45=2430, Resulting Numbers: [2430]\n2430,36 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 36:[9], Operations: ['84-30=54', '99-54=45', '54-45=9']\nMoving to Node #0,1,2,0\nCurrent State: 36:[9], Operations: ['99-54=45', '84-30=54', '54-45=9']\nMoving to Node #0,0,0,0\nCurrent State: 36:[9], Operations: ['84-30=54', '99-54=45', '54-45=9']\nMoving to Node #0,1,1,0\nCurrent State: 36:[69], Operations: ['99-54=45', '84-45=39', '30+39=69']\nMoving to Node #0,3,2,0\nCurrent State: 36:[69], Operations: ['99-84=15', '54-15=39', '30+39=69']\nMoving to Node #0,3,1,0\nCurrent State: 36:[69], Operations: ['99-84=15', '30-15=15', '54+15=69']\nMoving to Node #0,2,2\nCurrent State: 36:[30, 69], Operations: ['84-54=30', '99-30=69']\nExploring Operation: 30+69=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 69-30=39, Resulting Numbers: [39]\n39,36 unequal: No Solution\nExploring Operation: 30*69=2070, Resulting Numbers: [2070]\n2070,36 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 36:[30, 69], Operations: ['84-54=30', '99-30=69']\nExploring Operation: 69-30=39, Resulting Numbers: [39]\n39,36 unequal: No Solution\nExploring Operation: 30+69=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 30*69=2070, Resulting Numbers: [2070]\n2070,36 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 36:[39], Operations: ['84-54=30', '99-30=69', '69-30=39']\nMoving to Node #0,2,0,0\nCurrent State: 36:[39], Operations: ['84-54=30', '99-30=69', '69-30=39']\nMoving to Node #0,1,0\nCurrent State: 36:[84, 15], Operations: ['99-54=45', '45-30=15']\nExploring Operation: 84-15=69, Resulting Numbers: [69]\n69,36 unequal: No Solution\nExploring Operation: 84*15=1260, Resulting Numbers: [1260]\n1260,36 unequal: No Solution\nExploring Operation: 84+15=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 36:[99], Operations: ['84-30=54', '99-54=45', '54+45=99']\nMoving to Node #0,1,0,0\nCurrent State: 36:[69], Operations: ['99-54=45', '45-30=15', '84-15=69']\nMoving to Node #0,2,0,0\nCurrent State: 36:[99], Operations: ['84-54=30', '99-30=69', '30+69=99']\nMoving to Node #0,1,2,0\nCurrent State: 36:[99], Operations: ['99-54=45', '84-30=54', '45+54=99']\nMoving to Node #0,1,0,0\nCurrent State: 36:[99], Operations: ['99-54=45', '45-30=15', '84+15=99']\nMoving to Node #0,0,3,0\nCurrent State: 36:[99], Operations: ['84-30=54', '99-54=45', '54+45=99']\nMoving to Node #0,2,2,0\nCurrent State: 36:[99], Operations: ['84-54=30', '99-30=69', '30+69=99']\nMoving to Node #0,2,1\nCurrent State: 36:[99, 1], Operations: ['84-54=30', '30/30=1']\nExploring Operation: 99+1=100, Resulting Numbers: [100]\n100,36 unequal: No Solution\nExploring Operation: 99-1=98, Resulting Numbers: [98]\n98,36 unequal: No Solution\nExploring Operation: 99*1=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 99/1=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 36:[99, 1], Operations: ['84-30=54', '54/54=1']\nExploring Operation: 99/1=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 99+1=100, Resulting Numbers: [100]\n100,36 unequal: No Solution\nExploring Operation: 99-1=98, Resulting Numbers: [98]\n98,36 unequal: No Solution\nExploring Operation: 99*1=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 36:[98], Operations: ['84-54=30', '30/30=1', '99-1=98']\nMoving to Node #0,0,2,0\nCurrent State: 36:[98], Operations: ['84-30=54', '54/54=1', '99-1=98']\nMoving to Node #0,0,2,0\nCurrent State: 36:[99], Operations: ['84-30=54', '54/54=1', '99/1=99']\nMoving to Node #0,0,2,0\nCurrent State: 36:[99], Operations: ['84-30=54', '54/54=1', '99*1=99']\nMoving to Node #0,2,1,0\nCurrent State: 36:[99], Operations: ['84-54=30', '30/30=1', '99*1=99']\nMoving to Node #0,2,1,0\nCurrent State: 36:[99], Operations: ['84-54=30', '30/30=1', '99/1=99']\nMoving to Node #0,0,2,0\nCurrent State: 36:[100], Operations: ['84-30=54', '54/54=1', '99+1=100']\nMoving to Node #0,2,1,0\nCurrent State: 36:[100], Operations: ['84-54=30', '30/30=1', '99+1=100']\nMoving to Node #0,2,3\nCurrent State: 36:[99, 0], Operations: ['84-54=30', '30-30=0']\nExploring Operation: 99+0=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 99-0=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 99*0=0, Resulting Numbers: [0]\n0,36 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 36:[99, 0], Operations: ['84-30=54', '54-54=0']\nExploring Operation: 99*0=0, Resulting Numbers: [0]\n0,36 unequal: No Solution\nExploring Operation: 99+0=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nExploring Operation: 99-0=99, Resulting Numbers: [99]\n99,36 unequal: No Solution\nMoving to Node #0,3,3,0\nCurrent State: 36:[108], Operations: ['99-84=15', '30/15=2', '54*2=108']\nMoving to Node #0,1,3\nCurrent State: 36:[45, 114], Operations: ['99-54=45', '84+30=114']\nExploring Operation: 45+114=159, Resulting Numbers: [159]\n159,36 unequal: No Solution\nExploring Operation: 114-45=69, Resulting Numbers: [69]\n69,36 unequal: No Solution\nExploring Operation: 45*114=5130, Resulting Numbers: [5130]\n5130,36 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 36:[0], Operations: ['84-54=30', '30-30=0', '99*0=0']\nMoving to Node #0,0,1,0\nCurrent State: 36:[0], Operations: ['84-30=54', '54-54=0', '99*0=0']\nMoving to Node #0,1,3,0\nCurrent State: 36:[69], Operations: ['99-54=45', '84+30=114', '114-45=69']\nMoving to Node #0,2,3,0\nCurrent State: 36:[99], Operations: ['84-54=30', '30-30=0', '99+0=99']\nMoving to Node #0,0,1,0\nCurrent State: 36:[99], Operations: ['84-30=54', '54-54=0', '99+0=99']\nMoving to Node #0,2,3,0\nCurrent State: 36:[99], Operations: ['84-54=30', '30-30=0', '99-0=99']\nMoving to Node #0,0,1,0\nCurrent State: 36:[99], Operations: ['84-30=54', '54-54=0', '99-0=99']\nMoving to Node #0,1,3,0\nCurrent State: 36:[159], Operations: ['99-54=45', '84+30=114', '45+114=159']\nMoving to Node #0,3,0,0\nCurrent State: 36:[360], Operations: ['99-84=15', '54-30=24', '15*24=360']\nMoving to Node #0,3,1,0\nCurrent State: 36:[810], Operations: ['99-84=15', '30-15=15', '54*15=810']\nMoving to Node #0,1,1,0\nCurrent State: 36:[1170], Operations: ['99-54=45', '84-45=39', '30*39=1170']\nMoving to Node #0,3,2,0\nCurrent State: 36:[1170], Operations: ['99-84=15', '54-15=39', '30*39=1170']\nMoving to Node #0,1,0,0\nCurrent State: 36:[1260], Operations: ['99-54=45', '45-30=15', '84*15=1260']\nMoving to Node #0,2,0,0\nCurrent State: 36:[2070], Operations: ['84-54=30', '99-30=69', '30*69=2070']\nMoving to Node #0,2,2,0\nCurrent State: 36:[2070], Operations: ['84-54=30', '99-30=69', '30*69=2070']\nMoving to Node #0,0,3,0\nCurrent State: 36:[2430], Operations: ['84-30=54', '99-54=45', '54*45=2430']\nMoving to Node #0,1,2,0\nCurrent State: 36:[2430], Operations: ['99-54=45', '84-30=54', '45*54=2430']\nMoving to Node #0,0,0,0\nCurrent State: 36:[2430], Operations: ['84-30=54', '99-54=45', '54*45=2430']\nMoving to Node #0,1,3,0\nCurrent State: 36:[5130], Operations: ['99-54=45', '84+30=114', '45*114=5130']\nNo solution found.", "role": "assistant" } ]
[ 78, 29, 4, 23 ]
80
[ "78+29=107", "4+23=27", "107-27=80" ]
Current State: 80:[78, 29, 4, 23], Operations: [] Exploring Operation: 29*4=116, Resulting Numbers: [78, 23, 116] Generated Node #0,0: 80:[78, 23, 116] Operation: 29*4=116 Exploring Operation: 4*23=92, Resulting Numbers: [78, 29, 92] Generated Node #0,1: 80:[78, 29, 92] Operation: 4*23=92 Exploring Operation: 29+4=33, Resulting Numbers: [78, 23, 33] Generated Node #0,2: 80:[78, 23, 33] Operation: 29+4=33 Moving to Node #0,1 Current State: 80:[78, 29, 92], Operations: ['4*23=92'] Exploring Operation: 78+29=107, Resulting Numbers: [92, 107] Generated Node #0,1,0: 80:[92, 107] Operation: 78+29=107 Exploring Operation: 92-29=63, Resulting Numbers: [78, 63] Generated Node #0,1,1: 80:[78, 63] Operation: 92-29=63 Exploring Operation: 78-29=49, Resulting Numbers: [92, 49] Generated Node #0,1,2: 80:[92, 49] Operation: 78-29=49 Moving to Node #0,0 Current State: 80:[78, 23, 116], Operations: ['29*4=116'] Exploring Operation: 116-23=93, Resulting Numbers: [78, 93] Generated Node #0,0,0: 80:[78, 93] Operation: 116-23=93 Exploring Operation: 78+23=101, Resulting Numbers: [116, 101] Generated Node #0,0,1: 80:[116, 101] Operation: 78+23=101 Exploring Operation: 78-23=55, Resulting Numbers: [116, 55] Generated Node #0,0,2: 80:[116, 55] Operation: 78-23=55 Moving to Node #0,2 Current State: 80:[78, 23, 33], Operations: ['29+4=33'] Exploring Operation: 78+23=101, Resulting Numbers: [33, 101] Generated Node #0,2,0: 80:[33, 101] Operation: 78+23=101 Exploring Operation: 78-23=55, Resulting Numbers: [33, 55] Generated Node #0,2,1: 80:[33, 55] Operation: 78-23=55 Exploring Operation: 23+33=56, Resulting Numbers: [78, 56] Generated Node #0,2,2: 80:[78, 56] Operation: 23+33=56 Moving to Node #0,0,0 Current State: 80:[78, 93], Operations: ['29*4=116', '116-23=93'] Exploring Operation: 78+93=171, Resulting Numbers: [171] 171,80 unequal: No Solution Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 78*93=7254, Resulting Numbers: [7254] 7254,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[78, 63], Operations: ['4*23=92', '92-29=63'] Exploring Operation: 78+63=141, Resulting Numbers: [141] 141,80 unequal: No Solution Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 78*63=4914, Resulting Numbers: [4914] 4914,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[78, 56], Operations: ['29+4=33', '23+33=56'] Exploring Operation: 78*56=4368, Resulting Numbers: [4368] 4368,80 unequal: No Solution Exploring Operation: 78+56=134, Resulting Numbers: [134] 134,80 unequal: No Solution Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[92, 107], Operations: ['4*23=92', '78+29=107'] Exploring Operation: 92*107=9844, Resulting Numbers: [9844] 9844,80 unequal: No Solution Exploring Operation: 107-92=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 92+107=199, Resulting Numbers: [199] 199,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[92, 49], Operations: ['4*23=92', '78-29=49'] Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,80 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,80 unequal: No Solution Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[116, 101], Operations: ['29*4=116', '78+23=101'] Exploring Operation: 116-101=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 116+101=217, Resulting Numbers: [217] 217,80 unequal: No Solution Exploring Operation: 116*101=11716, Resulting Numbers: [11716] 11716,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[116, 55], Operations: ['29*4=116', '78-23=55'] Exploring Operation: 116-55=61, Resulting Numbers: [61] 61,80 unequal: No Solution Exploring Operation: 116*55=6380, Resulting Numbers: [6380] 6380,80 unequal: No Solution Exploring Operation: 116+55=171, Resulting Numbers: [171] 171,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[33, 101], Operations: ['29+4=33', '78+23=101'] Exploring Operation: 33*101=3333, Resulting Numbers: [3333] 3333,80 unequal: No Solution Exploring Operation: 33+101=134, Resulting Numbers: [134] 134,80 unequal: No Solution Exploring Operation: 101-33=68, Resulting Numbers: [68] 68,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[33, 55], Operations: ['29+4=33', '78-23=55'] Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,80 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,80 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,80 unequal: No Solution Moving to Node #0,2,1,0 Current State: 80:[88], Operations: ['29+4=33', '78-23=55', '33+55=88'] Moving to Node #0,2,0,0 Current State: 80:[68], Operations: ['29+4=33', '78+23=101', '101-33=68'] Moving to Node #0,0,2,0 Current State: 80:[61], Operations: ['29*4=116', '78-23=55', '116-55=61'] Moving to Node #0,1,2,0 Current State: 80:[43], Operations: ['4*23=92', '78-29=49', '92-49=43'] Moving to Node #0,2,2,0 Current State: 80:[134], Operations: ['29+4=33', '23+33=56', '78+56=134'] Moving to Node #0,2,0,0 Current State: 80:[134], Operations: ['29+4=33', '78+23=101', '33+101=134'] Moving to Node #0,2,2,0 Current State: 80:[22], Operations: ['29+4=33', '23+33=56', '78-56=22'] Moving to Node #0,2,1,0 Current State: 80:[22], Operations: ['29+4=33', '78-23=55', '55-33=22'] Moving to Node #0,1,1,0 Current State: 80:[141], Operations: ['4*23=92', '92-29=63', '78+63=141'] Moving to Node #0,1,2,0 Current State: 80:[141], Operations: ['4*23=92', '78-29=49', '92+49=141'] Moving to Node #0,1,0,0 Current State: 80:[15], Operations: ['4*23=92', '78+29=107', '107-92=15'] Moving to Node #0,1,1,0 Current State: 80:[15], Operations: ['4*23=92', '92-29=63', '78-63=15'] Moving to Node #0,0,1,0 Current State: 80:[15], Operations: ['29*4=116', '78+23=101', '116-101=15'] Moving to Node #0,0,0,0 Current State: 80:[15], Operations: ['29*4=116', '116-23=93', '93-78=15'] Moving to Node #0,0,2,0 Current State: 80:[171], Operations: ['29*4=116', '78-23=55', '116+55=171'] Moving to Node #0,0,0,0 Current State: 80:[171], Operations: ['29*4=116', '116-23=93', '78+93=171'] Moving to Node #0,1,0,0 Current State: 80:[199], Operations: ['4*23=92', '78+29=107', '92+107=199'] Moving to Node #0,0,1,0 Current State: 80:[217], Operations: ['29*4=116', '78+23=101', '116+101=217'] Moving to Node #0,2,1,0 Current State: 80:[1815], Operations: ['29+4=33', '78-23=55', '33*55=1815'] Moving to Node #0,2,0,0 Current State: 80:[3333], Operations: ['29+4=33', '78+23=101', '33*101=3333'] Moving to Node #0,2,2,0 Current State: 80:[4368], Operations: ['29+4=33', '23+33=56', '78*56=4368'] Moving to Node #0,1,2,0 Current State: 80:[4508], Operations: ['4*23=92', '78-29=49', '92*49=4508'] Moving to Node #0,1,1,0 Current State: 80:[4914], Operations: ['4*23=92', '92-29=63', '78*63=4914'] Moving to Node #0,0,2,0 Current State: 80:[6380], Operations: ['29*4=116', '78-23=55', '116*55=6380'] Moving to Node #0,0,0,0 Current State: 80:[7254], Operations: ['29*4=116', '116-23=93', '78*93=7254'] Moving to Node #0,1,0,0 Current State: 80:[9844], Operations: ['4*23=92', '78+29=107', '92*107=9844'] Moving to Node #0,0,1,0 Current State: 80:[11716], Operations: ['29*4=116', '78+23=101', '116*101=11716'] No solution found.
0
bfs_3
Current State: 80:[78, 29, 4, 23], Operations: [] Exploring Operation: 78+29=107, Resulting Numbers: [4, 23, 107] Generated Node #2: [4, 23, 107] from Operation: 78+29=107 Current State: 80:[4, 23, 107], Operations: ['78+29=107'] Exploring Operation: 4+23=27, Resulting Numbers: [107, 27] Generated Node #3: [107, 27] from Operation: 4+23=27 Current State: 80:[107, 27], Operations: ['78+29=107', '4+23=27'] Exploring Operation: 107-27=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
sum_heuristic
[ { "content": "Make 80 with the numbers [78, 29, 4, 23] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 80:[78, 29, 4, 23], Operations: []\nExploring Operation: 29*4=116, Resulting Numbers: [78, 23, 116]\nGenerated Node #0,0: 80:[78, 23, 116] Operation: 29*4=116\nExploring Operation: 4*23=92, Resulting Numbers: [78, 29, 92]\nGenerated Node #0,1: 80:[78, 29, 92] Operation: 4*23=92\nExploring Operation: 29+4=33, Resulting Numbers: [78, 23, 33]\nGenerated Node #0,2: 80:[78, 23, 33] Operation: 29+4=33\nMoving to Node #0,1\nCurrent State: 80:[78, 29, 92], Operations: ['4*23=92']\nExploring Operation: 78+29=107, Resulting Numbers: [92, 107]\nGenerated Node #0,1,0: 80:[92, 107] Operation: 78+29=107\nExploring Operation: 92-29=63, Resulting Numbers: [78, 63]\nGenerated Node #0,1,1: 80:[78, 63] Operation: 92-29=63\nExploring Operation: 78-29=49, Resulting Numbers: [92, 49]\nGenerated Node #0,1,2: 80:[92, 49] Operation: 78-29=49\nMoving to Node #0,0\nCurrent State: 80:[78, 23, 116], Operations: ['29*4=116']\nExploring Operation: 116-23=93, Resulting Numbers: [78, 93]\nGenerated Node #0,0,0: 80:[78, 93] Operation: 116-23=93\nExploring Operation: 78+23=101, Resulting Numbers: [116, 101]\nGenerated Node #0,0,1: 80:[116, 101] Operation: 78+23=101\nExploring Operation: 78-23=55, Resulting Numbers: [116, 55]\nGenerated Node #0,0,2: 80:[116, 55] Operation: 78-23=55\nMoving to Node #0,2\nCurrent State: 80:[78, 23, 33], Operations: ['29+4=33']\nExploring Operation: 78+23=101, Resulting Numbers: [33, 101]\nGenerated Node #0,2,0: 80:[33, 101] Operation: 78+23=101\nExploring Operation: 78-23=55, Resulting Numbers: [33, 55]\nGenerated Node #0,2,1: 80:[33, 55] Operation: 78-23=55\nExploring Operation: 23+33=56, Resulting Numbers: [78, 56]\nGenerated Node #0,2,2: 80:[78, 56] Operation: 23+33=56\nMoving to Node #0,0,0\nCurrent State: 80:[78, 93], Operations: ['29*4=116', '116-23=93']\nExploring Operation: 78+93=171, Resulting Numbers: [171]\n171,80 unequal: No Solution\nExploring Operation: 93-78=15, Resulting Numbers: [15]\n15,80 unequal: No Solution\nExploring Operation: 78*93=7254, Resulting Numbers: [7254]\n7254,80 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 80:[78, 63], Operations: ['4*23=92', '92-29=63']\nExploring Operation: 78+63=141, Resulting Numbers: [141]\n141,80 unequal: No Solution\nExploring Operation: 78-63=15, Resulting Numbers: [15]\n15,80 unequal: No Solution\nExploring Operation: 78*63=4914, Resulting Numbers: [4914]\n4914,80 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 80:[78, 56], Operations: ['29+4=33', '23+33=56']\nExploring Operation: 78*56=4368, Resulting Numbers: [4368]\n4368,80 unequal: No Solution\nExploring Operation: 78+56=134, Resulting Numbers: [134]\n134,80 unequal: No Solution\nExploring Operation: 78-56=22, Resulting Numbers: [22]\n22,80 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 80:[92, 107], Operations: ['4*23=92', '78+29=107']\nExploring Operation: 92*107=9844, Resulting Numbers: [9844]\n9844,80 unequal: No Solution\nExploring Operation: 107-92=15, Resulting Numbers: [15]\n15,80 unequal: No Solution\nExploring Operation: 92+107=199, Resulting Numbers: [199]\n199,80 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 80:[92, 49], Operations: ['4*23=92', '78-29=49']\nExploring Operation: 92+49=141, Resulting Numbers: [141]\n141,80 unequal: No Solution\nExploring Operation: 92-49=43, Resulting Numbers: [43]\n43,80 unequal: No Solution\nExploring Operation: 92*49=4508, Resulting Numbers: [4508]\n4508,80 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 80:[116, 101], Operations: ['29*4=116', '78+23=101']\nExploring Operation: 116-101=15, Resulting Numbers: [15]\n15,80 unequal: No Solution\nExploring Operation: 116+101=217, Resulting Numbers: [217]\n217,80 unequal: No Solution\nExploring Operation: 116*101=11716, Resulting Numbers: [11716]\n11716,80 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 80:[116, 55], Operations: ['29*4=116', '78-23=55']\nExploring Operation: 116-55=61, Resulting Numbers: [61]\n61,80 unequal: No Solution\nExploring Operation: 116*55=6380, Resulting Numbers: [6380]\n6380,80 unequal: No Solution\nExploring Operation: 116+55=171, Resulting Numbers: [171]\n171,80 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 80:[33, 101], Operations: ['29+4=33', '78+23=101']\nExploring Operation: 33*101=3333, Resulting Numbers: [3333]\n3333,80 unequal: No Solution\nExploring Operation: 33+101=134, Resulting Numbers: [134]\n134,80 unequal: No Solution\nExploring Operation: 101-33=68, Resulting Numbers: [68]\n68,80 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 80:[33, 55], Operations: ['29+4=33', '78-23=55']\nExploring Operation: 33*55=1815, Resulting Numbers: [1815]\n1815,80 unequal: No Solution\nExploring Operation: 33+55=88, Resulting Numbers: [88]\n88,80 unequal: No Solution\nExploring Operation: 55-33=22, Resulting Numbers: [22]\n22,80 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 80:[88], Operations: ['29+4=33', '78-23=55', '33+55=88']\nMoving to Node #0,2,0,0\nCurrent State: 80:[68], Operations: ['29+4=33', '78+23=101', '101-33=68']\nMoving to Node #0,0,2,0\nCurrent State: 80:[61], Operations: ['29*4=116', '78-23=55', '116-55=61']\nMoving to Node #0,1,2,0\nCurrent State: 80:[43], Operations: ['4*23=92', '78-29=49', '92-49=43']\nMoving to Node #0,2,2,0\nCurrent State: 80:[134], Operations: ['29+4=33', '23+33=56', '78+56=134']\nMoving to Node #0,2,0,0\nCurrent State: 80:[134], Operations: ['29+4=33', '78+23=101', '33+101=134']\nMoving to Node #0,2,2,0\nCurrent State: 80:[22], Operations: ['29+4=33', '23+33=56', '78-56=22']\nMoving to Node #0,2,1,0\nCurrent State: 80:[22], Operations: ['29+4=33', '78-23=55', '55-33=22']\nMoving to Node #0,1,1,0\nCurrent State: 80:[141], Operations: ['4*23=92', '92-29=63', '78+63=141']\nMoving to Node #0,1,2,0\nCurrent State: 80:[141], Operations: ['4*23=92', '78-29=49', '92+49=141']\nMoving to Node #0,1,0,0\nCurrent State: 80:[15], Operations: ['4*23=92', '78+29=107', '107-92=15']\nMoving to Node #0,1,1,0\nCurrent State: 80:[15], Operations: ['4*23=92', '92-29=63', '78-63=15']\nMoving to Node #0,0,1,0\nCurrent State: 80:[15], Operations: ['29*4=116', '78+23=101', '116-101=15']\nMoving to Node #0,0,0,0\nCurrent State: 80:[15], Operations: ['29*4=116', '116-23=93', '93-78=15']\nMoving to Node #0,0,2,0\nCurrent State: 80:[171], Operations: ['29*4=116', '78-23=55', '116+55=171']\nMoving to Node #0,0,0,0\nCurrent State: 80:[171], Operations: ['29*4=116', '116-23=93', '78+93=171']\nMoving to Node #0,1,0,0\nCurrent State: 80:[199], Operations: ['4*23=92', '78+29=107', '92+107=199']\nMoving to Node #0,0,1,0\nCurrent State: 80:[217], Operations: ['29*4=116', '78+23=101', '116+101=217']\nMoving to Node #0,2,1,0\nCurrent State: 80:[1815], Operations: ['29+4=33', '78-23=55', '33*55=1815']\nMoving to Node #0,2,0,0\nCurrent State: 80:[3333], Operations: ['29+4=33', '78+23=101', '33*101=3333']\nMoving to Node #0,2,2,0\nCurrent State: 80:[4368], Operations: ['29+4=33', '23+33=56', '78*56=4368']\nMoving to Node #0,1,2,0\nCurrent State: 80:[4508], Operations: ['4*23=92', '78-29=49', '92*49=4508']\nMoving to Node #0,1,1,0\nCurrent State: 80:[4914], Operations: ['4*23=92', '92-29=63', '78*63=4914']\nMoving to Node #0,0,2,0\nCurrent State: 80:[6380], Operations: ['29*4=116', '78-23=55', '116*55=6380']\nMoving to Node #0,0,0,0\nCurrent State: 80:[7254], Operations: ['29*4=116', '116-23=93', '78*93=7254']\nMoving to Node #0,1,0,0\nCurrent State: 80:[9844], Operations: ['4*23=92', '78+29=107', '92*107=9844']\nMoving to Node #0,0,1,0\nCurrent State: 80:[11716], Operations: ['29*4=116', '78+23=101', '116*101=11716']\nNo solution found.", "role": "assistant" } ]
[ 34, 30, 52, 32 ]
16
[ "34-30=4", "52-32=20", "20-4=16" ]
Current State: 16:[34, 30, 52, 32], Operations: [] Exploring Operation: 52-32=20, Resulting Numbers: [34, 30, 20] Generated Node #0,0: 16:[34, 30, 20] Operation: 52-32=20 Exploring Operation: 34-32=2, Resulting Numbers: [30, 52, 2] Generated Node #0,1: 16:[30, 52, 2] Operation: 34-32=2 Exploring Operation: 52-30=22, Resulting Numbers: [34, 32, 22] Generated Node #0,2: 16:[34, 32, 22] Operation: 52-30=22 Exploring Operation: 34-30=4, Resulting Numbers: [52, 32, 4] Generated Node #0,3: 16:[52, 32, 4] Operation: 34-30=4 Exploring Operation: 52-34=18, Resulting Numbers: [30, 32, 18] Generated Node #0,4: 16:[30, 32, 18] Operation: 52-34=18 Moving to Node #0,4 Current State: 16:[30, 32, 18], Operations: ['52-34=18'] Exploring Operation: 30-18=12, Resulting Numbers: [32, 12] Generated Node #0,4,0: 16:[32, 12] Operation: 30-18=12 Exploring Operation: 30+18=48, Resulting Numbers: [32, 48] Generated Node #0,4,1: 16:[32, 48] Operation: 30+18=48 Exploring Operation: 30+32=62, Resulting Numbers: [18, 62] Generated Node #0,4,2: 16:[18, 62] Operation: 30+32=62 Exploring Operation: 32-30=2, Resulting Numbers: [18, 2] Generated Node #0,4,3: 16:[18, 2] Operation: 32-30=2 Exploring Operation: 32-18=14, Resulting Numbers: [30, 14] Generated Node #0,4,4: 16:[30, 14] Operation: 32-18=14 Moving to Node #0,0 Current State: 16:[34, 30, 20], Operations: ['52-32=20'] Exploring Operation: 34+30=64, Resulting Numbers: [20, 64] Generated Node #0,0,0: 16:[20, 64] Operation: 34+30=64 Exploring Operation: 34+20=54, Resulting Numbers: [30, 54] Generated Node #0,0,1: 16:[30, 54] Operation: 34+20=54 Exploring Operation: 30-20=10, Resulting Numbers: [34, 10] Generated Node #0,0,2: 16:[34, 10] Operation: 30-20=10 Exploring Operation: 34-30=4, Resulting Numbers: [20, 4] Generated Node #0,0,3: 16:[20, 4] Operation: 34-30=4 Exploring Operation: 34-20=14, Resulting Numbers: [30, 14] Generated Node #0,0,4: 16:[30, 14] Operation: 34-20=14 Moving to Node #0,2 Current State: 16:[34, 32, 22], Operations: ['52-30=22'] Exploring Operation: 32-22=10, Resulting Numbers: [34, 10] Generated Node #0,2,0: 16:[34, 10] Operation: 32-22=10 Exploring Operation: 34+22=56, Resulting Numbers: [32, 56] Generated Node #0,2,1: 16:[32, 56] Operation: 34+22=56 Exploring Operation: 34+32=66, Resulting Numbers: [22, 66] Generated Node #0,2,2: 16:[22, 66] Operation: 34+32=66 Exploring Operation: 34-22=12, Resulting Numbers: [32, 12] Generated Node #0,2,3: 16:[32, 12] Operation: 34-22=12 Exploring Operation: 34-32=2, Resulting Numbers: [22, 2] Generated Node #0,2,4: 16:[22, 2] Operation: 34-32=2 Moving to Node #0,1 Current State: 16:[30, 52, 2], Operations: ['34-32=2'] Exploring Operation: 30-2=28, Resulting Numbers: [52, 28] Generated Node #0,1,0: 16:[52, 28] Operation: 30-2=28 Exploring Operation: 52-2=50, Resulting Numbers: [30, 50] Generated Node #0,1,1: 16:[30, 50] Operation: 52-2=50 Exploring Operation: 52-30=22, Resulting Numbers: [2, 22] Generated Node #0,1,2: 16:[2, 22] Operation: 52-30=22 Exploring Operation: 30/2=15, Resulting Numbers: [52, 15] Generated Node #0,1,3: 16:[52, 15] Operation: 30/2=15 Exploring Operation: 52/2=26, Resulting Numbers: [30, 26] Generated Node #0,1,4: 16:[30, 26] Operation: 52/2=26 Moving to Node #0,3 Current State: 16:[52, 32, 4], Operations: ['34-30=4'] Exploring Operation: 52/4=13, Resulting Numbers: [32, 13] Generated Node #0,3,0: 16:[32, 13] Operation: 52/4=13 Exploring Operation: 32-4=28, Resulting Numbers: [52, 28] Generated Node #0,3,1: 16:[52, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [52, 8] Generated Node #0,3,2: 16:[52, 8] Operation: 32/4=8 Exploring Operation: 52-4=48, Resulting Numbers: [32, 48] Generated Node #0,3,3: 16:[32, 48] Operation: 52-4=48 Exploring Operation: 52-32=20, Resulting Numbers: [4, 20] Generated Node #0,3,4: 16:[4, 20] Operation: 52-32=20 Moving to Node #0,4,3 Current State: 16:[18, 2], Operations: ['52-34=18', '32-30=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.972222
bfs_5
Current State: 16:[34, 30, 52, 32], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [52, 32, 4] Generated Node #2: [52, 32, 4] from Operation: 34-30=4 Current State: 16:[52, 32, 4], Operations: ['34-30=4'] Exploring Operation: 52-32=20, Resulting Numbers: [4, 20] Generated Node #3: [4, 20] from Operation: 52-32=20 Current State: 16:[4, 20], Operations: ['34-30=4', '52-32=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
sum_heuristic
[ { "content": "Make 16 with the numbers [34, 30, 52, 32] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 16:[34, 30, 52, 32], Operations: []\nExploring Operation: 52-32=20, Resulting Numbers: [34, 30, 20]\nGenerated Node #0,0: 16:[34, 30, 20] Operation: 52-32=20\nExploring Operation: 34-32=2, Resulting Numbers: [30, 52, 2]\nGenerated Node #0,1: 16:[30, 52, 2] Operation: 34-32=2\nExploring Operation: 52-30=22, Resulting Numbers: [34, 32, 22]\nGenerated Node #0,2: 16:[34, 32, 22] Operation: 52-30=22\nExploring Operation: 34-30=4, Resulting Numbers: [52, 32, 4]\nGenerated Node #0,3: 16:[52, 32, 4] Operation: 34-30=4\nExploring Operation: 52-34=18, Resulting Numbers: [30, 32, 18]\nGenerated Node #0,4: 16:[30, 32, 18] Operation: 52-34=18\nMoving to Node #0,4\nCurrent State: 16:[30, 32, 18], Operations: ['52-34=18']\nExploring Operation: 30-18=12, Resulting Numbers: [32, 12]\nGenerated Node #0,4,0: 16:[32, 12] Operation: 30-18=12\nExploring Operation: 30+18=48, Resulting Numbers: [32, 48]\nGenerated Node #0,4,1: 16:[32, 48] Operation: 30+18=48\nExploring Operation: 30+32=62, Resulting Numbers: [18, 62]\nGenerated Node #0,4,2: 16:[18, 62] Operation: 30+32=62\nExploring Operation: 32-30=2, Resulting Numbers: [18, 2]\nGenerated Node #0,4,3: 16:[18, 2] Operation: 32-30=2\nExploring Operation: 32-18=14, Resulting Numbers: [30, 14]\nGenerated Node #0,4,4: 16:[30, 14] Operation: 32-18=14\nMoving to Node #0,0\nCurrent State: 16:[34, 30, 20], Operations: ['52-32=20']\nExploring Operation: 34+30=64, Resulting Numbers: [20, 64]\nGenerated Node #0,0,0: 16:[20, 64] Operation: 34+30=64\nExploring Operation: 34+20=54, Resulting Numbers: [30, 54]\nGenerated Node #0,0,1: 16:[30, 54] Operation: 34+20=54\nExploring Operation: 30-20=10, Resulting Numbers: [34, 10]\nGenerated Node #0,0,2: 16:[34, 10] Operation: 30-20=10\nExploring Operation: 34-30=4, Resulting Numbers: [20, 4]\nGenerated Node #0,0,3: 16:[20, 4] Operation: 34-30=4\nExploring Operation: 34-20=14, Resulting Numbers: [30, 14]\nGenerated Node #0,0,4: 16:[30, 14] Operation: 34-20=14\nMoving to Node #0,2\nCurrent State: 16:[34, 32, 22], Operations: ['52-30=22']\nExploring Operation: 32-22=10, Resulting Numbers: [34, 10]\nGenerated Node #0,2,0: 16:[34, 10] Operation: 32-22=10\nExploring Operation: 34+22=56, Resulting Numbers: [32, 56]\nGenerated Node #0,2,1: 16:[32, 56] Operation: 34+22=56\nExploring Operation: 34+32=66, Resulting Numbers: [22, 66]\nGenerated Node #0,2,2: 16:[22, 66] Operation: 34+32=66\nExploring Operation: 34-22=12, Resulting Numbers: [32, 12]\nGenerated Node #0,2,3: 16:[32, 12] Operation: 34-22=12\nExploring Operation: 34-32=2, Resulting Numbers: [22, 2]\nGenerated Node #0,2,4: 16:[22, 2] Operation: 34-32=2\nMoving to Node #0,1\nCurrent State: 16:[30, 52, 2], Operations: ['34-32=2']\nExploring Operation: 30-2=28, Resulting Numbers: [52, 28]\nGenerated Node #0,1,0: 16:[52, 28] Operation: 30-2=28\nExploring Operation: 52-2=50, Resulting Numbers: [30, 50]\nGenerated Node #0,1,1: 16:[30, 50] Operation: 52-2=50\nExploring Operation: 52-30=22, Resulting Numbers: [2, 22]\nGenerated Node #0,1,2: 16:[2, 22] Operation: 52-30=22\nExploring Operation: 30/2=15, Resulting Numbers: [52, 15]\nGenerated Node #0,1,3: 16:[52, 15] Operation: 30/2=15\nExploring Operation: 52/2=26, Resulting Numbers: [30, 26]\nGenerated Node #0,1,4: 16:[30, 26] Operation: 52/2=26\nMoving to Node #0,3\nCurrent State: 16:[52, 32, 4], Operations: ['34-30=4']\nExploring Operation: 52/4=13, Resulting Numbers: [32, 13]\nGenerated Node #0,3,0: 16:[32, 13] Operation: 52/4=13\nExploring Operation: 32-4=28, Resulting Numbers: [52, 28]\nGenerated Node #0,3,1: 16:[52, 28] Operation: 32-4=28\nExploring Operation: 32/4=8, Resulting Numbers: [52, 8]\nGenerated Node #0,3,2: 16:[52, 8] Operation: 32/4=8\nExploring Operation: 52-4=48, Resulting Numbers: [32, 48]\nGenerated Node #0,3,3: 16:[32, 48] Operation: 52-4=48\nExploring Operation: 52-32=20, Resulting Numbers: [4, 20]\nGenerated Node #0,3,4: 16:[4, 20] Operation: 52-32=20\nMoving to Node #0,4,3\nCurrent State: 16:[18, 2], Operations: ['52-34=18', '32-30=2']\nExploring Operation: 18-2=16, Resulting Numbers: [16]\n16,16 equal: Goal Reached\n", "role": "assistant" } ]
[ 7, 79, 84, 66 ]
31
[ "84-79=5", "7*5=35", "66-35=31" ]
Current State: 31:[7, 79, 84, 66], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [7, 66, 5] Generated Node #0,0: 31:[7, 66, 5] Operation: 84-79=5 Moving to Node #0,0 Current State: 31:[7, 66, 5], Operations: ['84-79=5'] Exploring Operation: 7*5=35, Resulting Numbers: [66, 35] Generated Node #0,0,0: 31:[66, 35] Operation: 7*5=35 Moving to Node #0,0,0 Current State: 31:[66, 35], Operations: ['84-79=5', '7*5=35'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.996528
bfs_1
Current State: 31:[7, 79, 84, 66], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [7, 66, 5] Generated Node #2: [7, 66, 5] from Operation: 84-79=5 Current State: 31:[7, 66, 5], Operations: ['84-79=5'] Exploring Operation: 7*5=35, Resulting Numbers: [66, 35] Generated Node #3: [66, 35] from Operation: 7*5=35 Current State: 31:[66, 35], Operations: ['84-79=5', '7*5=35'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
mult_heuristic
[ { "content": "Make 31 with the numbers [7, 79, 84, 66] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 31:[7, 79, 84, 66], Operations: []\nExploring Operation: 84-79=5, Resulting Numbers: [7, 66, 5]\nGenerated Node #0,0: 31:[7, 66, 5] Operation: 84-79=5\nMoving to Node #0,0\nCurrent State: 31:[7, 66, 5], Operations: ['84-79=5']\nExploring Operation: 7*5=35, Resulting Numbers: [66, 35]\nGenerated Node #0,0,0: 31:[66, 35] Operation: 7*5=35\nMoving to Node #0,0,0\nCurrent State: 31:[66, 35], Operations: ['84-79=5', '7*5=35']\nExploring Operation: 66-35=31, Resulting Numbers: [31]\n31,31 equal: Goal Reached\n", "role": "assistant" } ]
[ 15, 72, 96, 9 ]
24
[ "15*72=1080", "1080/9=120", "120-96=24" ]
Current State: 24:[15, 72, 96, 9], Operations: [] Exploring Operation: 15+9=24, Resulting Numbers: [72, 96, 24] Generated Node #0,0: 24:[72, 96, 24] Operation: 15+9=24 Exploring Operation: 72-15=57, Resulting Numbers: [96, 9, 57] Generated Node #0,1: 24:[96, 9, 57] Operation: 72-15=57 Exploring Operation: 72/9=8, Resulting Numbers: [15, 96, 8] Generated Node #0,2: 24:[15, 96, 8] Operation: 72/9=8 Exploring Operation: 96-72=24, Resulting Numbers: [15, 9, 24] Generated Node #0,3: 24:[15, 9, 24] Operation: 96-72=24 Exploring Operation: 96-15=81, Resulting Numbers: [72, 9, 81] Generated Node #0,4: 24:[72, 9, 81] Operation: 96-15=81 Moving to Node #0,3 Current State: 24:[15, 9, 24], Operations: ['96-72=24'] Exploring Operation: 9+24=33, Resulting Numbers: [15, 33] Generated Node #0,3,0: 24:[15, 33] Operation: 9+24=33 Exploring Operation: 15+9=24, Resulting Numbers: [24, 24] Generated Node #0,3,1: 24:[24, 24] Operation: 15+9=24 Exploring Operation: 24-9=15, Resulting Numbers: [15, 15] Generated Node #0,3,2: 24:[15, 15] Operation: 24-9=15 Exploring Operation: 15-9=6, Resulting Numbers: [24, 6] Generated Node #0,3,3: 24:[24, 6] Operation: 15-9=6 Exploring Operation: 15+24=39, Resulting Numbers: [9, 39] Generated Node #0,3,4: 24:[9, 39] Operation: 15+24=39 Moving to Node #0,2 Current State: 24:[15, 96, 8], Operations: ['72/9=8'] Exploring Operation: 96/8=12, Resulting Numbers: [15, 12] Generated Node #0,2,0: 24:[15, 12] Operation: 96/8=12 Exploring Operation: 96-8=88, Resulting Numbers: [15, 88] Generated Node #0,2,1: 24:[15, 88] Operation: 96-8=88 Exploring Operation: 96-15=81, Resulting Numbers: [8, 81] Generated Node #0,2,2: 24:[8, 81] Operation: 96-15=81 Exploring Operation: 15-8=7, Resulting Numbers: [96, 7] Generated Node #0,2,3: 24:[96, 7] Operation: 15-8=7 Exploring Operation: 15+8=23, Resulting Numbers: [96, 23] Generated Node #0,2,4: 24:[96, 23] Operation: 15+8=23 Moving to Node #0,0 Current State: 24:[72, 96, 24], Operations: ['15+9=24'] Exploring Operation: 72/24=3, Resulting Numbers: [96, 3] Generated Node #0,0,0: 24:[96, 3] Operation: 72/24=3 Exploring Operation: 96-72=24, Resulting Numbers: [24, 24] Generated Node #0,0,1: 24:[24, 24] Operation: 96-72=24 Exploring Operation: 96-24=72, Resulting Numbers: [72, 72] Generated Node #0,0,2: 24:[72, 72] Operation: 96-24=72 Exploring Operation: 72-24=48, Resulting Numbers: [96, 48] Generated Node #0,0,3: 24:[96, 48] Operation: 72-24=48 Exploring Operation: 96/24=4, Resulting Numbers: [72, 4] Generated Node #0,0,4: 24:[72, 4] Operation: 96/24=4 Moving to Node #0,1 Current State: 24:[96, 9, 57], Operations: ['72-15=57'] Exploring Operation: 57-9=48, Resulting Numbers: [96, 48] Generated Node #0,1,0: 24:[96, 48] Operation: 57-9=48 Exploring Operation: 96+9=105, Resulting Numbers: [57, 105] Generated Node #0,1,1: 24:[57, 105] Operation: 96+9=105 Exploring Operation: 9+57=66, Resulting Numbers: [96, 66] Generated Node #0,1,2: 24:[96, 66] Operation: 9+57=66 Exploring Operation: 96-9=87, Resulting Numbers: [57, 87] Generated Node #0,1,3: 24:[57, 87] Operation: 96-9=87 Exploring Operation: 96-57=39, Resulting Numbers: [9, 39] Generated Node #0,1,4: 24:[9, 39] Operation: 96-57=39 Moving to Node #0,4 Current State: 24:[72, 9, 81], Operations: ['96-15=81'] Exploring Operation: 81/9=9, Resulting Numbers: [72, 9] Generated Node #0,4,0: 24:[72, 9] Operation: 81/9=9 Exploring Operation: 81-9=72, Resulting Numbers: [72, 72] Generated Node #0,4,1: 24:[72, 72] Operation: 81-9=72 Exploring Operation: 72/9=8, Resulting Numbers: [81, 8] Generated Node #0,4,2: 24:[81, 8] Operation: 72/9=8 Exploring Operation: 72-9=63, Resulting Numbers: [81, 63] Generated Node #0,4,3: 24:[81, 63] Operation: 72-9=63 Exploring Operation: 81-72=9, Resulting Numbers: [9, 9] Generated Node #0,4,4: 24:[9, 9] Operation: 81-72=9 Moving to Node #0,3,1 Current State: 24:[24, 24], Operations: ['96-72=24', '15+9=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,24 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[24, 24], Operations: ['15+9=24', '96-72=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,24 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[15, 15], Operations: ['96-72=24', '24-9=15'] Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,24 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[15, 33], Operations: ['96-72=24', '9+24=33'] Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,24 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[24, 6], Operations: ['96-72=24', '15-9=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,24 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,24 unequal: No Solution Moving to Node #0,3,2,0 Current State: 24:[30], Operations: ['96-72=24', '24-9=15', '15+15=30'] Moving to Node #0,3,0,0 Current State: 24:[18], Operations: ['96-72=24', '9+24=33', '33-15=18'] Moving to Node #0,3,3,0 Current State: 24:[18], Operations: ['96-72=24', '15-9=6', '24-6=18'] Moving to Node #0,3,3,0 Current State: 24:[30], Operations: ['96-72=24', '15-9=6', '24+6=30'] Moving to Node #0,2,0 Current State: 24:[15, 12], Operations: ['72/9=8', '96/8=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,24 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,24 unequal: No Solution Moving to Node #0,2,0,0 Current State: 24:[27], Operations: ['72/9=8', '96/8=12', '15+12=27'] Moving to Node #0,4,4 Current State: 24:[9, 9], Operations: ['96-15=81', '81-72=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,3,4 Current State: 24:[9, 39], Operations: ['96-72=24', '15+24=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,24 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,24 unequal: No Solution Moving to Node #0,1,4 Current State: 24:[9, 39], Operations: ['72-15=57', '96-57=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,24 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,24 unequal: No Solution Moving to Node #0,3,3,0 Current State: 24:[4], Operations: ['96-72=24', '15-9=6', '24/6=4'] Moving to Node #0,4,4,0 Current State: 24:[18], Operations: ['96-15=81', '81-72=9', '9+9=18'] Moving to Node #0,3,4,0 Current State: 24:[30], Operations: ['96-72=24', '15+24=39', '39-9=30'] Moving to Node #0,1,4,0 Current State: 24:[30], Operations: ['72-15=57', '96-57=39', '39-9=30'] Moving to Node #0,2,0,0 Current State: 24:[3], Operations: ['72/9=8', '96/8=12', '15-12=3'] Moving to Node #0,0,1,0 Current State: 24:[1], Operations: ['15+9=24', '96-72=24', '24/24=1'] Moving to Node #0,3,2,0 Current State: 24:[1], Operations: ['96-72=24', '24-9=15', '15/15=1'] Moving to Node #0,3,1,0 Current State: 24:[1], Operations: ['96-72=24', '15+9=24', '24/24=1'] Moving to Node #0,4,4,0 Current State: 24:[1], Operations: ['96-15=81', '81-72=9', '9/9=1'] Moving to Node #0,3,2,0 Current State: 24:[0], Operations: ['96-72=24', '24-9=15', '15-15=0'] Moving to Node #0,0,1,0 Current State: 24:[0], Operations: ['15+9=24', '96-72=24', '24-24=0'] Moving to Node #0,0,1,0 Current State: 24:[48], Operations: ['15+9=24', '96-72=24', '24+24=48'] Moving to Node #0,3,1,0 Current State: 24:[0], Operations: ['96-72=24', '15+9=24', '24-24=0'] Moving to Node #0,3,1,0 Current State: 24:[48], Operations: ['96-72=24', '15+9=24', '24+24=48'] Moving to Node #0,1,4,0 Current State: 24:[48], Operations: ['72-15=57', '96-57=39', '9+39=48'] Moving to Node #0,3,4,0 Current State: 24:[48], Operations: ['96-72=24', '15+24=39', '9+39=48'] Moving to Node #0,3,0,0 Current State: 24:[48], Operations: ['96-72=24', '9+24=33', '15+33=48'] Moving to Node #0,4,4,0 Current State: 24:[0], Operations: ['96-15=81', '81-72=9', '9-9=0'] Moving to Node #0,4,0 Current State: 24:[72, 9], Operations: ['96-15=81', '81/9=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 72*9=648, Resulting Numbers: [648] 648,24 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,24 unequal: No Solution Moving to Node #0,0,4 Current State: 24:[72, 4], Operations: ['15+9=24', '96/24=4'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,24 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,24 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[15, 88], Operations: ['72/9=8', '96-8=88'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 15+88=103, Resulting Numbers: [103] 103,24 unequal: No Solution Exploring Operation: 15*88=1320, Resulting Numbers: [1320] 1320,24 unequal: No Solution Moving to Node #0,0,4,0 Current State: 24:[18], Operations: ['15+9=24', '96/24=4', '72/4=18'] Moving to Node #0,4,0,0 Current State: 24:[8], Operations: ['96-15=81', '81/9=9', '72/9=8'] Moving to Node #0,4,2 Current State: 24:[81, 8], Operations: ['96-15=81', '72/9=8'] Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,24 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,24 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,24 unequal: No Solution Moving to Node #0,2,4 Current State: 24:[96, 23], Operations: ['72/9=8', '15+8=23'] Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 96+23=119, Resulting Numbers: [119] 119,24 unequal: No Solution Exploring Operation: 96*23=2208, Resulting Numbers: [2208] 2208,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[8, 81], Operations: ['72/9=8', '96-15=81'] Exploring Operation: 8*81=648, Resulting Numbers: [648] 648,24 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 8+81=89, Resulting Numbers: [89] 89,24 unequal: No Solution Moving to Node #0,4,0,0 Current State: 24:[63], Operations: ['96-15=81', '81/9=9', '72-9=63'] Moving to Node #0,0,4,0 Current State: 24:[68], Operations: ['15+9=24', '96/24=4', '72-4=68'] Moving to Node #0,2,3 Current State: 24:[96, 7], Operations: ['72/9=8', '15-8=7'] Exploring Operation: 96+7=103, Resulting Numbers: [103] 103,24 unequal: No Solution Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,24 unequal: No Solution Exploring Operation: 96*7=672, Resulting Numbers: [672] 672,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[96, 3], Operations: ['15+9=24', '72/24=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,24 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,24 unequal: No Solution Moving to Node #0,4,1 Current State: 24:[72, 72], Operations: ['96-15=81', '81-9=72'] Exploring Operation: 72/72=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 72-72=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 72*72=5184, Resulting Numbers: [5184] 5184,24 unequal: No Solution Exploring Operation: 72+72=144, Resulting Numbers: [144] 144,24 unequal: No Solution Moving to Node #0,0,0,0 Current State: 24:[32], Operations: ['15+9=24', '72/24=3', '96/3=32'] Moving to Node #0,4,1,0 Current State: 24:[1], Operations: ['96-15=81', '81-9=72', '72/72=1'] Moving to Node #0,4,1,0 Current State: 24:[0], Operations: ['96-15=81', '81-9=72', '72-72=0'] Moving to Node #0,0,2 Current State: 24:[72, 72], Operations: ['15+9=24', '96-24=72'] Exploring Operation: 72/72=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 72+72=144, Resulting Numbers: [144] 144,24 unequal: No Solution Exploring Operation: 72*72=5184, Resulting Numbers: [5184] 5184,24 unequal: No Solution Exploring Operation: 72-72=0, Resulting Numbers: [0] 0,24 unequal: No Solution Moving to Node #0,4,3 Current State: 24:[81, 63], Operations: ['96-15=81', '72-9=63'] Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,24 unequal: No Solution Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,24 unequal: No Solution Moving to Node #0,4,3,0 Current State: 24:[18], Operations: ['96-15=81', '72-9=63', '81-63=18'] Moving to Node #0,0,2,0 Current State: 24:[1], Operations: ['15+9=24', '96-24=72', '72/72=1'] Moving to Node #0,0,2,0 Current State: 24:[0], Operations: ['15+9=24', '96-24=72', '72-72=0'] Moving to Node #0,1,3 Current State: 24:[57, 87], Operations: ['72-15=57', '96-9=87'] Exploring Operation: 87-57=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 57*87=4959, Resulting Numbers: [4959] 4959,24 unequal: No Solution Exploring Operation: 57+87=144, Resulting Numbers: [144] 144,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[96, 48], Operations: ['15+9=24', '72-24=48'] Exploring Operation: 96*48=4608, Resulting Numbers: [4608] 4608,24 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,24 unequal: No Solution Moving to Node #0,1,3,0 Current State: 24:[30], Operations: ['72-15=57', '96-9=87', '87-57=30'] Moving to Node #0,0,3,0 Current State: 24:[2], Operations: ['15+9=24', '72-24=48', '96/48=2'] Moving to Node #0,0,3,0 Current State: 24:[48], Operations: ['15+9=24', '72-24=48', '96-48=48'] Moving to Node #0,1,0 Current State: 24:[96, 48], Operations: ['72-15=57', '57-9=48'] Exploring Operation: 96*48=4608, Resulting Numbers: [4608] 4608,24 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,24 unequal: No Solution Moving to Node #0,4,2,0 Current State: 24:[73], Operations: ['96-15=81', '72/9=8', '81-8=73'] Moving to Node #0,1,0,0 Current State: 24:[2], Operations: ['72-15=57', '57-9=48', '96/48=2'] Moving to Node #0,1,0,0 Current State: 24:[48], Operations: ['72-15=57', '57-9=48', '96-48=48'] Moving to Node #0,2,1,0 Current State: 24:[73], Operations: ['72/9=8', '96-8=88', '88-15=73'] Moving to Node #0,2,2,0 Current State: 24:[73], Operations: ['72/9=8', '96-15=81', '81-8=73'] Moving to Node #0,2,4,0 Current State: 24:[73], Operations: ['72/9=8', '15+8=23', '96-23=73'] Moving to Node #0,0,4,0 Current State: 24:[76], Operations: ['15+9=24', '96/24=4', '72+4=76'] Moving to Node #0,4,0,0 Current State: 24:[81], Operations: ['96-15=81', '81/9=9', '72+9=81'] Moving to Node #0,1,2 Current State: 24:[96, 66], Operations: ['72-15=57', '9+57=66'] Exploring Operation: 96+66=162, Resulting Numbers: [162] 162,24 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 96*66=6336, Resulting Numbers: [6336] 6336,24 unequal: No Solution Moving to Node #0,4,4,0 Current State: 24:[81], Operations: ['96-15=81', '81-72=9', '9*9=81'] Moving to Node #0,1,1 Current State: 24:[57, 105], Operations: ['72-15=57', '96+9=105'] Exploring Operation: 57+105=162, Resulting Numbers: [162] 162,24 unequal: No Solution Exploring Operation: 57*105=5985, Resulting Numbers: [5985] 5985,24 unequal: No Solution Exploring Operation: 105-57=48, Resulting Numbers: [48] 48,24 unequal: No Solution Moving to Node #0,1,2,0 Current State: 24:[30], Operations: ['72-15=57', '9+57=66', '96-66=30'] Moving to Node #0,1,1,0 Current State: 24:[48], Operations: ['72-15=57', '96+9=105', '105-57=48'] Moving to Node #0,4,2,0 Current State: 24:[89], Operations: ['96-15=81', '72/9=8', '81+8=89'] Moving to Node #0,2,2,0 Current State: 24:[89], Operations: ['72/9=8', '96-15=81', '8+81=89'] Moving to Node #0,2,3,0 Current State: 24:[89], Operations: ['72/9=8', '15-8=7', '96-7=89'] Moving to Node #0,0,0,0 Current State: 24:[93], Operations: ['15+9=24', '72/24=3', '96-3=93'] Moving to Node #0,0,0,0 Current State: 24:[99], Operations: ['15+9=24', '72/24=3', '96+3=99'] Moving to Node #0,2,1,0 Current State: 24:[103], Operations: ['72/9=8', '96-8=88', '15+88=103'] Moving to Node #0,2,3,0 Current State: 24:[103], Operations: ['72/9=8', '15-8=7', '96+7=103'] Moving to Node #0,2,4,0 Current State: 24:[119], Operations: ['72/9=8', '15+8=23', '96+23=119'] Moving to Node #0,0,2,0 Current State: 24:[144], Operations: ['15+9=24', '96-24=72', '72+72=144'] Moving to Node #0,0,3,0 Current State: 24:[144], Operations: ['15+9=24', '72-24=48', '96+48=144'] Moving to Node #0,1,0,0 Current State: 24:[144], Operations: ['72-15=57', '57-9=48', '96+48=144'] Moving to Node #0,1,3,0 Current State: 24:[144], Operations: ['72-15=57', '96-9=87', '57+87=144'] Moving to Node #0,4,1,0 Current State: 24:[144], Operations: ['96-15=81', '81-9=72', '72+72=144'] Moving to Node #0,4,3,0 Current State: 24:[144], Operations: ['96-15=81', '72-9=63', '81+63=144'] Moving to Node #0,3,3,0 Current State: 24:[144], Operations: ['96-72=24', '15-9=6', '24*6=144'] Moving to Node #0,1,2,0 Current State: 24:[162], Operations: ['72-15=57', '9+57=66', '96+66=162'] Moving to Node #0,1,1,0 Current State: 24:[162], Operations: ['72-15=57', '96+9=105', '57+105=162'] Moving to Node #0,2,0,0 Current State: 24:[180], Operations: ['72/9=8', '96/8=12', '15*12=180'] Moving to Node #0,3,2,0 Current State: 24:[225], Operations: ['96-72=24', '24-9=15', '15*15=225'] Moving to Node #0,0,4,0 Current State: 24:[288], Operations: ['15+9=24', '96/24=4', '72*4=288'] Moving to Node #0,0,0,0 Current State: 24:[288], Operations: ['15+9=24', '72/24=3', '96*3=288'] Moving to Node #0,1,4,0 Current State: 24:[351], Operations: ['72-15=57', '96-57=39', '9*39=351'] Moving to Node #0,3,4,0 Current State: 24:[351], Operations: ['96-72=24', '15+24=39', '9*39=351'] Moving to Node #0,3,0,0 Current State: 24:[495], Operations: ['96-72=24', '9+24=33', '15*33=495'] Moving to Node #0,3,1,0 Current State: 24:[576], Operations: ['96-72=24', '15+9=24', '24*24=576'] Moving to Node #0,0,1,0 Current State: 24:[576], Operations: ['15+9=24', '96-72=24', '24*24=576'] Moving to Node #0,4,0,0 Current State: 24:[648], Operations: ['96-15=81', '81/9=9', '72*9=648'] Moving to Node #0,4,2,0 Current State: 24:[648], Operations: ['96-15=81', '72/9=8', '81*8=648'] Moving to Node #0,2,2,0 Current State: 24:[648], Operations: ['72/9=8', '96-15=81', '8*81=648'] Moving to Node #0,2,3,0 Current State: 24:[672], Operations: ['72/9=8', '15-8=7', '96*7=672'] Moving to Node #0,2,1,0 Current State: 24:[1320], Operations: ['72/9=8', '96-8=88', '15*88=1320'] Moving to Node #0,2,4,0 Current State: 24:[2208], Operations: ['72/9=8', '15+8=23', '96*23=2208'] Moving to Node #0,0,3,0 Current State: 24:[4608], Operations: ['15+9=24', '72-24=48', '96*48=4608'] Moving to Node #0,1,0,0 Current State: 24:[4608], Operations: ['72-15=57', '57-9=48', '96*48=4608'] Moving to Node #0,1,3,0 Current State: 24:[4959], Operations: ['72-15=57', '96-9=87', '57*87=4959'] Moving to Node #0,4,3,0 Current State: 24:[5103], Operations: ['96-15=81', '72-9=63', '81*63=5103'] Moving to Node #0,0,2,0 Current State: 24:[5184], Operations: ['15+9=24', '96-24=72', '72*72=5184'] Moving to Node #0,4,1,0 Current State: 24:[5184], Operations: ['96-15=81', '81-9=72', '72*72=5184'] Moving to Node #0,1,1,0 Current State: 24:[5985], Operations: ['72-15=57', '96+9=105', '57*105=5985'] Moving to Node #0,1,2,0 Current State: 24:[6336], Operations: ['72-15=57', '9+57=66', '96*66=6336'] No solution found.
0
bfs_5
Current State: 24:[15, 72, 96, 9], Operations: [] Exploring Operation: 15*72=1080, Resulting Numbers: [96, 9, 1080] Generated Node #2: [96, 9, 1080] from Operation: 15*72=1080 Current State: 24:[96, 9, 1080], Operations: ['15*72=1080'] Exploring Operation: 1080/9=120, Resulting Numbers: [96, 120] Generated Node #3: [96, 120] from Operation: 1080/9=120 Current State: 24:[96, 120], Operations: ['15*72=1080', '1080/9=120'] Exploring Operation: 120-96=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
sum_heuristic
[ { "content": "Make 24 with the numbers [15, 72, 96, 9] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 24:[15, 72, 96, 9], Operations: []\nExploring Operation: 15+9=24, Resulting Numbers: [72, 96, 24]\nGenerated Node #0,0: 24:[72, 96, 24] Operation: 15+9=24\nExploring Operation: 72-15=57, Resulting Numbers: [96, 9, 57]\nGenerated Node #0,1: 24:[96, 9, 57] Operation: 72-15=57\nExploring Operation: 72/9=8, Resulting Numbers: [15, 96, 8]\nGenerated Node #0,2: 24:[15, 96, 8] Operation: 72/9=8\nExploring Operation: 96-72=24, Resulting Numbers: [15, 9, 24]\nGenerated Node #0,3: 24:[15, 9, 24] Operation: 96-72=24\nExploring Operation: 96-15=81, Resulting Numbers: [72, 9, 81]\nGenerated Node #0,4: 24:[72, 9, 81] Operation: 96-15=81\nMoving to Node #0,3\nCurrent State: 24:[15, 9, 24], Operations: ['96-72=24']\nExploring Operation: 9+24=33, Resulting Numbers: [15, 33]\nGenerated Node #0,3,0: 24:[15, 33] Operation: 9+24=33\nExploring Operation: 15+9=24, Resulting Numbers: [24, 24]\nGenerated Node #0,3,1: 24:[24, 24] Operation: 15+9=24\nExploring Operation: 24-9=15, Resulting Numbers: [15, 15]\nGenerated Node #0,3,2: 24:[15, 15] Operation: 24-9=15\nExploring Operation: 15-9=6, Resulting Numbers: [24, 6]\nGenerated Node #0,3,3: 24:[24, 6] Operation: 15-9=6\nExploring Operation: 15+24=39, Resulting Numbers: [9, 39]\nGenerated Node #0,3,4: 24:[9, 39] Operation: 15+24=39\nMoving to Node #0,2\nCurrent State: 24:[15, 96, 8], Operations: ['72/9=8']\nExploring Operation: 96/8=12, Resulting Numbers: [15, 12]\nGenerated Node #0,2,0: 24:[15, 12] Operation: 96/8=12\nExploring Operation: 96-8=88, Resulting Numbers: [15, 88]\nGenerated Node #0,2,1: 24:[15, 88] Operation: 96-8=88\nExploring Operation: 96-15=81, Resulting Numbers: [8, 81]\nGenerated Node #0,2,2: 24:[8, 81] Operation: 96-15=81\nExploring Operation: 15-8=7, Resulting Numbers: [96, 7]\nGenerated Node #0,2,3: 24:[96, 7] Operation: 15-8=7\nExploring Operation: 15+8=23, Resulting Numbers: [96, 23]\nGenerated Node #0,2,4: 24:[96, 23] Operation: 15+8=23\nMoving to Node #0,0\nCurrent State: 24:[72, 96, 24], Operations: ['15+9=24']\nExploring Operation: 72/24=3, Resulting Numbers: [96, 3]\nGenerated Node #0,0,0: 24:[96, 3] Operation: 72/24=3\nExploring Operation: 96-72=24, Resulting Numbers: [24, 24]\nGenerated Node #0,0,1: 24:[24, 24] Operation: 96-72=24\nExploring Operation: 96-24=72, Resulting Numbers: [72, 72]\nGenerated Node #0,0,2: 24:[72, 72] Operation: 96-24=72\nExploring Operation: 72-24=48, Resulting Numbers: [96, 48]\nGenerated Node #0,0,3: 24:[96, 48] Operation: 72-24=48\nExploring Operation: 96/24=4, Resulting Numbers: [72, 4]\nGenerated Node #0,0,4: 24:[72, 4] Operation: 96/24=4\nMoving to Node #0,1\nCurrent State: 24:[96, 9, 57], Operations: ['72-15=57']\nExploring Operation: 57-9=48, Resulting Numbers: [96, 48]\nGenerated Node #0,1,0: 24:[96, 48] Operation: 57-9=48\nExploring Operation: 96+9=105, Resulting Numbers: [57, 105]\nGenerated Node #0,1,1: 24:[57, 105] Operation: 96+9=105\nExploring Operation: 9+57=66, Resulting Numbers: [96, 66]\nGenerated Node #0,1,2: 24:[96, 66] Operation: 9+57=66\nExploring Operation: 96-9=87, Resulting Numbers: [57, 87]\nGenerated Node #0,1,3: 24:[57, 87] Operation: 96-9=87\nExploring Operation: 96-57=39, Resulting Numbers: [9, 39]\nGenerated Node #0,1,4: 24:[9, 39] Operation: 96-57=39\nMoving to Node #0,4\nCurrent State: 24:[72, 9, 81], Operations: ['96-15=81']\nExploring Operation: 81/9=9, Resulting Numbers: [72, 9]\nGenerated Node #0,4,0: 24:[72, 9] Operation: 81/9=9\nExploring Operation: 81-9=72, Resulting Numbers: [72, 72]\nGenerated Node #0,4,1: 24:[72, 72] Operation: 81-9=72\nExploring Operation: 72/9=8, Resulting Numbers: [81, 8]\nGenerated Node #0,4,2: 24:[81, 8] Operation: 72/9=8\nExploring Operation: 72-9=63, Resulting Numbers: [81, 63]\nGenerated Node #0,4,3: 24:[81, 63] Operation: 72-9=63\nExploring Operation: 81-72=9, Resulting Numbers: [9, 9]\nGenerated Node #0,4,4: 24:[9, 9] Operation: 81-72=9\nMoving to Node #0,3,1\nCurrent State: 24:[24, 24], Operations: ['96-72=24', '15+9=24']\nExploring Operation: 24+24=48, Resulting Numbers: [48]\n48,24 unequal: No Solution\nExploring Operation: 24*24=576, Resulting Numbers: [576]\n576,24 unequal: No Solution\nExploring Operation: 24-24=0, Resulting Numbers: [0]\n0,24 unequal: No Solution\nExploring Operation: 24/24=1, Resulting Numbers: [1]\n1,24 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 24:[24, 24], Operations: ['15+9=24', '96-72=24']\nExploring Operation: 24*24=576, Resulting Numbers: [576]\n576,24 unequal: No Solution\nExploring Operation: 24-24=0, Resulting Numbers: [0]\n0,24 unequal: No Solution\nExploring Operation: 24+24=48, Resulting Numbers: [48]\n48,24 unequal: No Solution\nExploring Operation: 24/24=1, Resulting Numbers: [1]\n1,24 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 24:[15, 15], Operations: ['96-72=24', '24-9=15']\nExploring Operation: 15-15=0, Resulting Numbers: [0]\n0,24 unequal: No Solution\nExploring Operation: 15*15=225, Resulting Numbers: [225]\n225,24 unequal: No Solution\nExploring Operation: 15+15=30, Resulting Numbers: [30]\n30,24 unequal: No Solution\nExploring Operation: 15/15=1, Resulting Numbers: [1]\n1,24 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 24:[15, 33], Operations: ['96-72=24', '9+24=33']\nExploring Operation: 15*33=495, Resulting Numbers: [495]\n495,24 unequal: No Solution\nExploring Operation: 15+33=48, Resulting Numbers: [48]\n48,24 unequal: No Solution\nExploring Operation: 33-15=18, Resulting Numbers: [18]\n18,24 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 24:[24, 6], Operations: ['96-72=24', '15-9=6']\nExploring Operation: 24-6=18, Resulting Numbers: [18]\n18,24 unequal: No Solution\nExploring Operation: 24/6=4, Resulting Numbers: [4]\n4,24 unequal: No Solution\nExploring Operation: 24*6=144, Resulting Numbers: [144]\n144,24 unequal: No Solution\nExploring Operation: 24+6=30, Resulting Numbers: [30]\n30,24 unequal: No Solution\nMoving to Node #0,3,2,0\nCurrent State: 24:[30], Operations: ['96-72=24', '24-9=15', '15+15=30']\nMoving to Node #0,3,0,0\nCurrent State: 24:[18], Operations: ['96-72=24', '9+24=33', '33-15=18']\nMoving to Node #0,3,3,0\nCurrent State: 24:[18], Operations: ['96-72=24', '15-9=6', '24-6=18']\nMoving to Node #0,3,3,0\nCurrent State: 24:[30], Operations: ['96-72=24', '15-9=6', '24+6=30']\nMoving to Node #0,2,0\nCurrent State: 24:[15, 12], Operations: ['72/9=8', '96/8=12']\nExploring Operation: 15-12=3, Resulting Numbers: [3]\n3,24 unequal: No Solution\nExploring Operation: 15*12=180, Resulting Numbers: [180]\n180,24 unequal: No Solution\nExploring Operation: 15+12=27, Resulting Numbers: [27]\n27,24 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 24:[27], Operations: ['72/9=8', '96/8=12', '15+12=27']\nMoving to Node #0,4,4\nCurrent State: 24:[9, 9], Operations: ['96-15=81', '81-72=9']\nExploring Operation: 9+9=18, Resulting Numbers: [18]\n18,24 unequal: No Solution\nExploring Operation: 9-9=0, Resulting Numbers: [0]\n0,24 unequal: No Solution\nExploring Operation: 9*9=81, Resulting Numbers: [81]\n81,24 unequal: No Solution\nExploring Operation: 9/9=1, Resulting Numbers: [1]\n1,24 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 24:[9, 39], Operations: ['96-72=24', '15+24=39']\nExploring Operation: 39-9=30, Resulting Numbers: [30]\n30,24 unequal: No Solution\nExploring Operation: 9*39=351, Resulting Numbers: [351]\n351,24 unequal: No Solution\nExploring Operation: 9+39=48, Resulting Numbers: [48]\n48,24 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 24:[9, 39], Operations: ['72-15=57', '96-57=39']\nExploring Operation: 9+39=48, Resulting Numbers: [48]\n48,24 unequal: No Solution\nExploring Operation: 9*39=351, Resulting Numbers: [351]\n351,24 unequal: No Solution\nExploring Operation: 39-9=30, Resulting Numbers: [30]\n30,24 unequal: No Solution\nMoving to Node #0,3,3,0\nCurrent State: 24:[4], Operations: ['96-72=24', '15-9=6', '24/6=4']\nMoving to Node #0,4,4,0\nCurrent State: 24:[18], Operations: ['96-15=81', '81-72=9', '9+9=18']\nMoving to Node #0,3,4,0\nCurrent State: 24:[30], Operations: ['96-72=24', '15+24=39', '39-9=30']\nMoving to Node #0,1,4,0\nCurrent State: 24:[30], Operations: ['72-15=57', '96-57=39', '39-9=30']\nMoving to Node #0,2,0,0\nCurrent State: 24:[3], Operations: ['72/9=8', '96/8=12', '15-12=3']\nMoving to Node #0,0,1,0\nCurrent State: 24:[1], Operations: ['15+9=24', '96-72=24', '24/24=1']\nMoving to Node #0,3,2,0\nCurrent State: 24:[1], Operations: ['96-72=24', '24-9=15', '15/15=1']\nMoving to Node #0,3,1,0\nCurrent State: 24:[1], Operations: ['96-72=24', '15+9=24', '24/24=1']\nMoving to Node #0,4,4,0\nCurrent State: 24:[1], Operations: ['96-15=81', '81-72=9', '9/9=1']\nMoving to Node #0,3,2,0\nCurrent State: 24:[0], Operations: ['96-72=24', '24-9=15', '15-15=0']\nMoving to Node #0,0,1,0\nCurrent State: 24:[0], Operations: ['15+9=24', '96-72=24', '24-24=0']\nMoving to Node #0,0,1,0\nCurrent State: 24:[48], Operations: ['15+9=24', '96-72=24', '24+24=48']\nMoving to Node #0,3,1,0\nCurrent State: 24:[0], Operations: ['96-72=24', '15+9=24', '24-24=0']\nMoving to Node #0,3,1,0\nCurrent State: 24:[48], Operations: ['96-72=24', '15+9=24', '24+24=48']\nMoving to Node #0,1,4,0\nCurrent State: 24:[48], Operations: ['72-15=57', '96-57=39', '9+39=48']\nMoving to Node #0,3,4,0\nCurrent State: 24:[48], Operations: ['96-72=24', '15+24=39', '9+39=48']\nMoving to Node #0,3,0,0\nCurrent State: 24:[48], Operations: ['96-72=24', '9+24=33', '15+33=48']\nMoving to Node #0,4,4,0\nCurrent State: 24:[0], Operations: ['96-15=81', '81-72=9', '9-9=0']\nMoving to Node #0,4,0\nCurrent State: 24:[72, 9], Operations: ['96-15=81', '81/9=9']\nExploring Operation: 72+9=81, Resulting Numbers: [81]\n81,24 unequal: No Solution\nExploring Operation: 72/9=8, Resulting Numbers: [8]\n8,24 unequal: No Solution\nExploring Operation: 72*9=648, Resulting Numbers: [648]\n648,24 unequal: No Solution\nExploring Operation: 72-9=63, Resulting Numbers: [63]\n63,24 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 24:[72, 4], Operations: ['15+9=24', '96/24=4']\nExploring Operation: 72/4=18, Resulting Numbers: [18]\n18,24 unequal: No Solution\nExploring Operation: 72*4=288, Resulting Numbers: [288]\n288,24 unequal: No Solution\nExploring Operation: 72-4=68, Resulting Numbers: [68]\n68,24 unequal: No Solution\nExploring Operation: 72+4=76, Resulting Numbers: [76]\n76,24 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 24:[15, 88], Operations: ['72/9=8', '96-8=88']\nExploring Operation: 88-15=73, Resulting Numbers: [73]\n73,24 unequal: No Solution\nExploring Operation: 15+88=103, Resulting Numbers: [103]\n103,24 unequal: No Solution\nExploring Operation: 15*88=1320, Resulting Numbers: [1320]\n1320,24 unequal: No Solution\nMoving to Node #0,0,4,0\nCurrent State: 24:[18], Operations: ['15+9=24', '96/24=4', '72/4=18']\nMoving to Node #0,4,0,0\nCurrent State: 24:[8], Operations: ['96-15=81', '81/9=9', '72/9=8']\nMoving to Node #0,4,2\nCurrent State: 24:[81, 8], Operations: ['96-15=81', '72/9=8']\nExploring Operation: 81+8=89, Resulting Numbers: [89]\n89,24 unequal: No Solution\nExploring Operation: 81*8=648, Resulting Numbers: [648]\n648,24 unequal: No Solution\nExploring Operation: 81-8=73, Resulting Numbers: [73]\n73,24 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 24:[96, 23], Operations: ['72/9=8', '15+8=23']\nExploring Operation: 96-23=73, Resulting Numbers: [73]\n73,24 unequal: No Solution\nExploring Operation: 96+23=119, Resulting Numbers: [119]\n119,24 unequal: No Solution\nExploring Operation: 96*23=2208, Resulting Numbers: [2208]\n2208,24 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 24:[8, 81], Operations: ['72/9=8', '96-15=81']\nExploring Operation: 8*81=648, Resulting Numbers: [648]\n648,24 unequal: No Solution\nExploring Operation: 81-8=73, Resulting Numbers: [73]\n73,24 unequal: No Solution\nExploring Operation: 8+81=89, Resulting Numbers: [89]\n89,24 unequal: No Solution\nMoving to Node #0,4,0,0\nCurrent State: 24:[63], Operations: ['96-15=81', '81/9=9', '72-9=63']\nMoving to Node #0,0,4,0\nCurrent State: 24:[68], Operations: ['15+9=24', '96/24=4', '72-4=68']\nMoving to Node #0,2,3\nCurrent State: 24:[96, 7], Operations: ['72/9=8', '15-8=7']\nExploring Operation: 96+7=103, Resulting Numbers: [103]\n103,24 unequal: No Solution\nExploring Operation: 96-7=89, Resulting Numbers: [89]\n89,24 unequal: No Solution\nExploring Operation: 96*7=672, Resulting Numbers: [672]\n672,24 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 24:[96, 3], Operations: ['15+9=24', '72/24=3']\nExploring Operation: 96-3=93, Resulting Numbers: [93]\n93,24 unequal: No Solution\nExploring Operation: 96*3=288, Resulting Numbers: [288]\n288,24 unequal: No Solution\nExploring Operation: 96/3=32, Resulting Numbers: [32]\n32,24 unequal: No Solution\nExploring Operation: 96+3=99, Resulting Numbers: [99]\n99,24 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 24:[72, 72], Operations: ['96-15=81', '81-9=72']\nExploring Operation: 72/72=1, Resulting Numbers: [1]\n1,24 unequal: No Solution\nExploring Operation: 72-72=0, Resulting Numbers: [0]\n0,24 unequal: No Solution\nExploring Operation: 72*72=5184, Resulting Numbers: [5184]\n5184,24 unequal: No Solution\nExploring Operation: 72+72=144, Resulting Numbers: [144]\n144,24 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 24:[32], Operations: ['15+9=24', '72/24=3', '96/3=32']\nMoving to Node #0,4,1,0\nCurrent State: 24:[1], Operations: ['96-15=81', '81-9=72', '72/72=1']\nMoving to Node #0,4,1,0\nCurrent State: 24:[0], Operations: ['96-15=81', '81-9=72', '72-72=0']\nMoving to Node #0,0,2\nCurrent State: 24:[72, 72], Operations: ['15+9=24', '96-24=72']\nExploring Operation: 72/72=1, Resulting Numbers: [1]\n1,24 unequal: No Solution\nExploring Operation: 72+72=144, Resulting Numbers: [144]\n144,24 unequal: No Solution\nExploring Operation: 72*72=5184, Resulting Numbers: [5184]\n5184,24 unequal: No Solution\nExploring Operation: 72-72=0, Resulting Numbers: [0]\n0,24 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 24:[81, 63], Operations: ['96-15=81', '72-9=63']\nExploring Operation: 81-63=18, Resulting Numbers: [18]\n18,24 unequal: No Solution\nExploring Operation: 81*63=5103, Resulting Numbers: [5103]\n5103,24 unequal: No Solution\nExploring Operation: 81+63=144, Resulting Numbers: [144]\n144,24 unequal: No Solution\nMoving to Node #0,4,3,0\nCurrent State: 24:[18], Operations: ['96-15=81', '72-9=63', '81-63=18']\nMoving to Node #0,0,2,0\nCurrent State: 24:[1], Operations: ['15+9=24', '96-24=72', '72/72=1']\nMoving to Node #0,0,2,0\nCurrent State: 24:[0], Operations: ['15+9=24', '96-24=72', '72-72=0']\nMoving to Node #0,1,3\nCurrent State: 24:[57, 87], Operations: ['72-15=57', '96-9=87']\nExploring Operation: 87-57=30, Resulting Numbers: [30]\n30,24 unequal: No Solution\nExploring Operation: 57*87=4959, Resulting Numbers: [4959]\n4959,24 unequal: No Solution\nExploring Operation: 57+87=144, Resulting Numbers: [144]\n144,24 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 24:[96, 48], Operations: ['15+9=24', '72-24=48']\nExploring Operation: 96*48=4608, Resulting Numbers: [4608]\n4608,24 unequal: No Solution\nExploring Operation: 96/48=2, Resulting Numbers: [2]\n2,24 unequal: No Solution\nExploring Operation: 96-48=48, Resulting Numbers: [48]\n48,24 unequal: No Solution\nExploring Operation: 96+48=144, Resulting Numbers: [144]\n144,24 unequal: No Solution\nMoving to Node #0,1,3,0\nCurrent State: 24:[30], Operations: ['72-15=57', '96-9=87', '87-57=30']\nMoving to Node #0,0,3,0\nCurrent State: 24:[2], Operations: ['15+9=24', '72-24=48', '96/48=2']\nMoving to Node #0,0,3,0\nCurrent State: 24:[48], Operations: ['15+9=24', '72-24=48', '96-48=48']\nMoving to Node #0,1,0\nCurrent State: 24:[96, 48], Operations: ['72-15=57', '57-9=48']\nExploring Operation: 96*48=4608, Resulting Numbers: [4608]\n4608,24 unequal: No Solution\nExploring Operation: 96/48=2, Resulting Numbers: [2]\n2,24 unequal: No Solution\nExploring Operation: 96-48=48, Resulting Numbers: [48]\n48,24 unequal: No Solution\nExploring Operation: 96+48=144, Resulting Numbers: [144]\n144,24 unequal: No Solution\nMoving to Node #0,4,2,0\nCurrent State: 24:[73], Operations: ['96-15=81', '72/9=8', '81-8=73']\nMoving to Node #0,1,0,0\nCurrent State: 24:[2], Operations: ['72-15=57', '57-9=48', '96/48=2']\nMoving to Node #0,1,0,0\nCurrent State: 24:[48], Operations: ['72-15=57', '57-9=48', '96-48=48']\nMoving to Node #0,2,1,0\nCurrent State: 24:[73], Operations: ['72/9=8', '96-8=88', '88-15=73']\nMoving to Node #0,2,2,0\nCurrent State: 24:[73], Operations: ['72/9=8', '96-15=81', '81-8=73']\nMoving to Node #0,2,4,0\nCurrent State: 24:[73], Operations: ['72/9=8', '15+8=23', '96-23=73']\nMoving to Node #0,0,4,0\nCurrent State: 24:[76], Operations: ['15+9=24', '96/24=4', '72+4=76']\nMoving to Node #0,4,0,0\nCurrent State: 24:[81], Operations: ['96-15=81', '81/9=9', '72+9=81']\nMoving to Node #0,1,2\nCurrent State: 24:[96, 66], Operations: ['72-15=57', '9+57=66']\nExploring Operation: 96+66=162, Resulting Numbers: [162]\n162,24 unequal: No Solution\nExploring Operation: 96-66=30, Resulting Numbers: [30]\n30,24 unequal: No Solution\nExploring Operation: 96*66=6336, Resulting Numbers: [6336]\n6336,24 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 24:[81], Operations: ['96-15=81', '81-72=9', '9*9=81']\nMoving to Node #0,1,1\nCurrent State: 24:[57, 105], Operations: ['72-15=57', '96+9=105']\nExploring Operation: 57+105=162, Resulting Numbers: [162]\n162,24 unequal: No Solution\nExploring Operation: 57*105=5985, Resulting Numbers: [5985]\n5985,24 unequal: No Solution\nExploring Operation: 105-57=48, Resulting Numbers: [48]\n48,24 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 24:[30], Operations: ['72-15=57', '9+57=66', '96-66=30']\nMoving to Node #0,1,1,0\nCurrent State: 24:[48], Operations: ['72-15=57', '96+9=105', '105-57=48']\nMoving to Node #0,4,2,0\nCurrent State: 24:[89], Operations: ['96-15=81', '72/9=8', '81+8=89']\nMoving to Node #0,2,2,0\nCurrent State: 24:[89], Operations: ['72/9=8', '96-15=81', '8+81=89']\nMoving to Node #0,2,3,0\nCurrent State: 24:[89], Operations: ['72/9=8', '15-8=7', '96-7=89']\nMoving to Node #0,0,0,0\nCurrent State: 24:[93], Operations: ['15+9=24', '72/24=3', '96-3=93']\nMoving to Node #0,0,0,0\nCurrent State: 24:[99], Operations: ['15+9=24', '72/24=3', '96+3=99']\nMoving to Node #0,2,1,0\nCurrent State: 24:[103], Operations: ['72/9=8', '96-8=88', '15+88=103']\nMoving to Node #0,2,3,0\nCurrent State: 24:[103], Operations: ['72/9=8', '15-8=7', '96+7=103']\nMoving to Node #0,2,4,0\nCurrent State: 24:[119], Operations: ['72/9=8', '15+8=23', '96+23=119']\nMoving to Node #0,0,2,0\nCurrent State: 24:[144], Operations: ['15+9=24', '96-24=72', '72+72=144']\nMoving to Node #0,0,3,0\nCurrent State: 24:[144], Operations: ['15+9=24', '72-24=48', '96+48=144']\nMoving to Node #0,1,0,0\nCurrent State: 24:[144], Operations: ['72-15=57', '57-9=48', '96+48=144']\nMoving to Node #0,1,3,0\nCurrent State: 24:[144], Operations: ['72-15=57', '96-9=87', '57+87=144']\nMoving to Node #0,4,1,0\nCurrent State: 24:[144], Operations: ['96-15=81', '81-9=72', '72+72=144']\nMoving to Node #0,4,3,0\nCurrent State: 24:[144], Operations: ['96-15=81', '72-9=63', '81+63=144']\nMoving to Node #0,3,3,0\nCurrent State: 24:[144], Operations: ['96-72=24', '15-9=6', '24*6=144']\nMoving to Node #0,1,2,0\nCurrent State: 24:[162], Operations: ['72-15=57', '9+57=66', '96+66=162']\nMoving to Node #0,1,1,0\nCurrent State: 24:[162], Operations: ['72-15=57', '96+9=105', '57+105=162']\nMoving to Node #0,2,0,0\nCurrent State: 24:[180], Operations: ['72/9=8', '96/8=12', '15*12=180']\nMoving to Node #0,3,2,0\nCurrent State: 24:[225], Operations: ['96-72=24', '24-9=15', '15*15=225']\nMoving to Node #0,0,4,0\nCurrent State: 24:[288], Operations: ['15+9=24', '96/24=4', '72*4=288']\nMoving to Node #0,0,0,0\nCurrent State: 24:[288], Operations: ['15+9=24', '72/24=3', '96*3=288']\nMoving to Node #0,1,4,0\nCurrent State: 24:[351], Operations: ['72-15=57', '96-57=39', '9*39=351']\nMoving to Node #0,3,4,0\nCurrent State: 24:[351], Operations: ['96-72=24', '15+24=39', '9*39=351']\nMoving to Node #0,3,0,0\nCurrent State: 24:[495], Operations: ['96-72=24', '9+24=33', '15*33=495']\nMoving to Node #0,3,1,0\nCurrent State: 24:[576], Operations: ['96-72=24', '15+9=24', '24*24=576']\nMoving to Node #0,0,1,0\nCurrent State: 24:[576], Operations: ['15+9=24', '96-72=24', '24*24=576']\nMoving to Node #0,4,0,0\nCurrent State: 24:[648], Operations: ['96-15=81', '81/9=9', '72*9=648']\nMoving to Node #0,4,2,0\nCurrent State: 24:[648], Operations: ['96-15=81', '72/9=8', '81*8=648']\nMoving to Node #0,2,2,0\nCurrent State: 24:[648], Operations: ['72/9=8', '96-15=81', '8*81=648']\nMoving to Node #0,2,3,0\nCurrent State: 24:[672], Operations: ['72/9=8', '15-8=7', '96*7=672']\nMoving to Node #0,2,1,0\nCurrent State: 24:[1320], Operations: ['72/9=8', '96-8=88', '15*88=1320']\nMoving to Node #0,2,4,0\nCurrent State: 24:[2208], Operations: ['72/9=8', '15+8=23', '96*23=2208']\nMoving to Node #0,0,3,0\nCurrent State: 24:[4608], Operations: ['15+9=24', '72-24=48', '96*48=4608']\nMoving to Node #0,1,0,0\nCurrent State: 24:[4608], Operations: ['72-15=57', '57-9=48', '96*48=4608']\nMoving to Node #0,1,3,0\nCurrent State: 24:[4959], Operations: ['72-15=57', '96-9=87', '57*87=4959']\nMoving to Node #0,4,3,0\nCurrent State: 24:[5103], Operations: ['96-15=81', '72-9=63', '81*63=5103']\nMoving to Node #0,0,2,0\nCurrent State: 24:[5184], Operations: ['15+9=24', '96-24=72', '72*72=5184']\nMoving to Node #0,4,1,0\nCurrent State: 24:[5184], Operations: ['96-15=81', '81-9=72', '72*72=5184']\nMoving to Node #0,1,1,0\nCurrent State: 24:[5985], Operations: ['72-15=57', '96+9=105', '57*105=5985']\nMoving to Node #0,1,2,0\nCurrent State: 24:[6336], Operations: ['72-15=57', '9+57=66', '96*66=6336']\nNo solution found.", "role": "assistant" } ]
[ 37, 16, 18, 40 ]
31
[ "37+16=53", "40-18=22", "53-22=31" ]
Current State: 31:[37, 16, 18, 40], Operations: [] Exploring Operation: 16+18=34, Resulting Numbers: [37, 40, 34] Generated Node #0,0: 31:[37, 40, 34] Operation: 16+18=34 Moving to Node #0,0 Current State: 31:[37, 40, 34], Operations: ['16+18=34'] Exploring Operation: 40-37=3, Resulting Numbers: [34, 3] Generated Node #0,0,0: 31:[34, 3] Operation: 40-37=3 Moving to Node #0,0,0 Current State: 31:[34, 3], Operations: ['16+18=34', '40-37=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.996528
dfs
Current State: 31:[37, 16, 18, 40], Operations: [] Exploring Operation: 37+16=53, Resulting Numbers: [18, 40, 53] Generated Node #2: [18, 40, 53] from Operation: 37+16=53 Current State: 31:[18, 40, 53], Operations: ['37+16=53'] Exploring Operation: 40-18=22, Resulting Numbers: [53, 22] Generated Node #3: [53, 22] from Operation: 40-18=22 Current State: 31:[53, 22], Operations: ['37+16=53', '40-18=22'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
sum_heuristic
[ { "content": "Make 31 with the numbers [37, 16, 18, 40] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 31:[37, 16, 18, 40], Operations: []\nExploring Operation: 16+18=34, Resulting Numbers: [37, 40, 34]\nGenerated Node #0,0: 31:[37, 40, 34] Operation: 16+18=34\nMoving to Node #0,0\nCurrent State: 31:[37, 40, 34], Operations: ['16+18=34']\nExploring Operation: 40-37=3, Resulting Numbers: [34, 3]\nGenerated Node #0,0,0: 31:[34, 3] Operation: 40-37=3\nMoving to Node #0,0,0\nCurrent State: 31:[34, 3], Operations: ['16+18=34', '40-37=3']\nExploring Operation: 34-3=31, Resulting Numbers: [31]\n31,31 equal: Goal Reached\n", "role": "assistant" } ]
[ 43, 38, 80, 54 ]
38
[ "43-38=5", "80/5=16", "54-16=38" ]
Current State: 38:[43, 38, 80, 54], Operations: [] Exploring Operation: 80-54=26, Resulting Numbers: [43, 38, 26] Generated Node #0,0: 38:[43, 38, 26] Operation: 80-54=26 Moving to Node #0,0 Current State: 38:[43, 38, 26], Operations: ['80-54=26'] Exploring Operation: 43-26=17, Resulting Numbers: [38, 17] Generated Node #0,0,0: 38:[38, 17] Operation: 43-26=17 Moving to Node #0,0,0 Current State: 38:[38, 17], Operations: ['80-54=26', '43-26=17'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[38, 17], Operations: ['80-54=26', '43-26=17'] Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[43, 38, 26], Operations: ['80-54=26'] Exploring Operation: 43-38=5, Resulting Numbers: [26, 5] Generated Node #0,0,1: 38:[26, 5] Operation: 43-38=5 Moving to Node #0,0,1 Current State: 38:[26, 5], Operations: ['80-54=26', '43-38=5'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[26, 5], Operations: ['80-54=26', '43-38=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[43, 38, 26], Operations: ['80-54=26'] Exploring Operation: 38-26=12, Resulting Numbers: [43, 12] Generated Node #0,0,2: 38:[43, 12] Operation: 38-26=12 Moving to Node #0,0,2 Current State: 38:[43, 12], Operations: ['80-54=26', '38-26=12'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[43, 12], Operations: ['80-54=26', '38-26=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[43, 38, 26], Operations: ['80-54=26'] Exploring Operation: 43+26=69, Resulting Numbers: [38, 69] Generated Node #0,0,3: 38:[38, 69] Operation: 43+26=69 Moving to Node #0,0,3 Current State: 38:[38, 69], Operations: ['80-54=26', '43+26=69'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[43, 38, 26], Operations: ['80-54=26'] Exploring Operation: 38+26=64, Resulting Numbers: [43, 64] Generated Node #0,0,4: 38:[43, 64] Operation: 38+26=64 Moving to Node #0,0,4 Current State: 38:[43, 64], Operations: ['80-54=26', '38+26=64'] Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0 Current State: 38:[43, 38, 80, 54], Operations: [] Exploring Operation: 80-43=37, Resulting Numbers: [38, 54, 37] Generated Node #0,1: 38:[38, 54, 37] Operation: 80-43=37 Moving to Node #0,1 Current State: 38:[38, 54, 37], Operations: ['80-43=37'] Exploring Operation: 54-37=17, Resulting Numbers: [38, 17] Generated Node #0,1,0: 38:[38, 17] Operation: 54-37=17 Moving to Node #0,1,0 Current State: 38:[38, 17], Operations: ['80-43=37', '54-37=17'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[38, 17], Operations: ['80-43=37', '54-37=17'] Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[38, 54, 37], Operations: ['80-43=37'] Exploring Operation: 54-38=16, Resulting Numbers: [37, 16] Generated Node #0,1,1: 38:[37, 16] Operation: 54-38=16 Moving to Node #0,1,1 Current State: 38:[37, 16], Operations: ['80-43=37', '54-38=16'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[37, 16], Operations: ['80-43=37', '54-38=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[38, 54, 37], Operations: ['80-43=37'] Exploring Operation: 38-37=1, Resulting Numbers: [54, 1] Generated Node #0,1,2: 38:[54, 1] Operation: 38-37=1 Moving to Node #0,1,2 Current State: 38:[54, 1], Operations: ['80-43=37', '38-37=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[54, 1], Operations: ['80-43=37', '38-37=1'] Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[54, 1], Operations: ['80-43=37', '38-37=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[54, 1], Operations: ['80-43=37', '38-37=1'] Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,38 unequal: No Solution Moving to Node #0 Current State: 38:[43, 38, 80, 54], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [43, 54, 42] Generated Node #0,2: 38:[43, 54, 42] Operation: 80-38=42 Moving to Node #0,2 Current State: 38:[43, 54, 42], Operations: ['80-38=42'] Exploring Operation: 54-43=11, Resulting Numbers: [42, 11] Generated Node #0,2,0: 38:[42, 11] Operation: 54-43=11 Moving to Node #0,2,0 Current State: 38:[42, 11], Operations: ['80-38=42', '54-43=11'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[42, 11], Operations: ['80-38=42', '54-43=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[43, 54, 42], Operations: ['80-38=42'] Exploring Operation: 54-42=12, Resulting Numbers: [43, 12] Generated Node #0,2,1: 38:[43, 12] Operation: 54-42=12 Moving to Node #0,2,1 Current State: 38:[43, 12], Operations: ['80-38=42', '54-42=12'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[43, 12], Operations: ['80-38=42', '54-42=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[43, 54, 42], Operations: ['80-38=42'] Exploring Operation: 43-42=1, Resulting Numbers: [54, 1] Generated Node #0,2,2: 38:[54, 1] Operation: 43-42=1 Moving to Node #0,2,2 Current State: 38:[54, 1], Operations: ['80-38=42', '43-42=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[54, 1], Operations: ['80-38=42', '43-42=1'] Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[54, 1], Operations: ['80-38=42', '43-42=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[54, 1], Operations: ['80-38=42', '43-42=1'] Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,38 unequal: No Solution
0
dfs
Current State: 38:[43, 38, 80, 54], Operations: [] Exploring Operation: 43-38=5, Resulting Numbers: [80, 54, 5] Generated Node #2: [80, 54, 5] from Operation: 43-38=5 Current State: 38:[80, 54, 5], Operations: ['43-38=5'] Exploring Operation: 80/5=16, Resulting Numbers: [54, 16] Generated Node #3: [54, 16] from Operation: 80/5=16 Current State: 38:[54, 16], Operations: ['43-38=5', '80/5=16'] Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
mult_heuristic
[ { "content": "Make 38 with the numbers [43, 38, 80, 54] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 38:[43, 38, 80, 54], Operations: []\nExploring Operation: 80-54=26, Resulting Numbers: [43, 38, 26]\nGenerated Node #0,0: 38:[43, 38, 26] Operation: 80-54=26\nMoving to Node #0,0\nCurrent State: 38:[43, 38, 26], Operations: ['80-54=26']\nExploring Operation: 43-26=17, Resulting Numbers: [38, 17]\nGenerated Node #0,0,0: 38:[38, 17] Operation: 43-26=17\nMoving to Node #0,0,0\nCurrent State: 38:[38, 17], Operations: ['80-54=26', '43-26=17']\nExploring Operation: 38-17=21, Resulting Numbers: [21]\n21,38 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 38:[38, 17], Operations: ['80-54=26', '43-26=17']\nExploring Operation: 38+17=55, Resulting Numbers: [55]\n55,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[43, 38, 26], Operations: ['80-54=26']\nExploring Operation: 43-38=5, Resulting Numbers: [26, 5]\nGenerated Node #0,0,1: 38:[26, 5] Operation: 43-38=5\nMoving to Node #0,0,1\nCurrent State: 38:[26, 5], Operations: ['80-54=26', '43-38=5']\nExploring Operation: 26-5=21, Resulting Numbers: [21]\n21,38 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 38:[26, 5], Operations: ['80-54=26', '43-38=5']\nExploring Operation: 26+5=31, Resulting Numbers: [31]\n31,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[43, 38, 26], Operations: ['80-54=26']\nExploring Operation: 38-26=12, Resulting Numbers: [43, 12]\nGenerated Node #0,0,2: 38:[43, 12] Operation: 38-26=12\nMoving to Node #0,0,2\nCurrent State: 38:[43, 12], Operations: ['80-54=26', '38-26=12']\nExploring Operation: 43-12=31, Resulting Numbers: [31]\n31,38 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 38:[43, 12], Operations: ['80-54=26', '38-26=12']\nExploring Operation: 43+12=55, Resulting Numbers: [55]\n55,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[43, 38, 26], Operations: ['80-54=26']\nExploring Operation: 43+26=69, Resulting Numbers: [38, 69]\nGenerated Node #0,0,3: 38:[38, 69] Operation: 43+26=69\nMoving to Node #0,0,3\nCurrent State: 38:[38, 69], Operations: ['80-54=26', '43+26=69']\nExploring Operation: 69-38=31, Resulting Numbers: [31]\n31,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[43, 38, 26], Operations: ['80-54=26']\nExploring Operation: 38+26=64, Resulting Numbers: [43, 64]\nGenerated Node #0,0,4: 38:[43, 64] Operation: 38+26=64\nMoving to Node #0,0,4\nCurrent State: 38:[43, 64], Operations: ['80-54=26', '38+26=64']\nExploring Operation: 64-43=21, Resulting Numbers: [21]\n21,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[43, 38, 80, 54], Operations: []\nExploring Operation: 80-43=37, Resulting Numbers: [38, 54, 37]\nGenerated Node #0,1: 38:[38, 54, 37] Operation: 80-43=37\nMoving to Node #0,1\nCurrent State: 38:[38, 54, 37], Operations: ['80-43=37']\nExploring Operation: 54-37=17, Resulting Numbers: [38, 17]\nGenerated Node #0,1,0: 38:[38, 17] Operation: 54-37=17\nMoving to Node #0,1,0\nCurrent State: 38:[38, 17], Operations: ['80-43=37', '54-37=17']\nExploring Operation: 38-17=21, Resulting Numbers: [21]\n21,38 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 38:[38, 17], Operations: ['80-43=37', '54-37=17']\nExploring Operation: 38+17=55, Resulting Numbers: [55]\n55,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[38, 54, 37], Operations: ['80-43=37']\nExploring Operation: 54-38=16, Resulting Numbers: [37, 16]\nGenerated Node #0,1,1: 38:[37, 16] Operation: 54-38=16\nMoving to Node #0,1,1\nCurrent State: 38:[37, 16], Operations: ['80-43=37', '54-38=16']\nExploring Operation: 37-16=21, Resulting Numbers: [21]\n21,38 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 38:[37, 16], Operations: ['80-43=37', '54-38=16']\nExploring Operation: 37+16=53, Resulting Numbers: [53]\n53,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[38, 54, 37], Operations: ['80-43=37']\nExploring Operation: 38-37=1, Resulting Numbers: [54, 1]\nGenerated Node #0,1,2: 38:[54, 1] Operation: 38-37=1\nMoving to Node #0,1,2\nCurrent State: 38:[54, 1], Operations: ['80-43=37', '38-37=1']\nExploring Operation: 54-1=53, Resulting Numbers: [53]\n53,38 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 38:[54, 1], Operations: ['80-43=37', '38-37=1']\nExploring Operation: 54*1=54, Resulting Numbers: [54]\n54,38 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 38:[54, 1], Operations: ['80-43=37', '38-37=1']\nExploring Operation: 54/1=54, Resulting Numbers: [54]\n54,38 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 38:[54, 1], Operations: ['80-43=37', '38-37=1']\nExploring Operation: 54+1=55, Resulting Numbers: [55]\n55,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[43, 38, 80, 54], Operations: []\nExploring Operation: 80-38=42, Resulting Numbers: [43, 54, 42]\nGenerated Node #0,2: 38:[43, 54, 42] Operation: 80-38=42\nMoving to Node #0,2\nCurrent State: 38:[43, 54, 42], Operations: ['80-38=42']\nExploring Operation: 54-43=11, Resulting Numbers: [42, 11]\nGenerated Node #0,2,0: 38:[42, 11] Operation: 54-43=11\nMoving to Node #0,2,0\nCurrent State: 38:[42, 11], Operations: ['80-38=42', '54-43=11']\nExploring Operation: 42-11=31, Resulting Numbers: [31]\n31,38 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 38:[42, 11], Operations: ['80-38=42', '54-43=11']\nExploring Operation: 42+11=53, Resulting Numbers: [53]\n53,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[43, 54, 42], Operations: ['80-38=42']\nExploring Operation: 54-42=12, Resulting Numbers: [43, 12]\nGenerated Node #0,2,1: 38:[43, 12] Operation: 54-42=12\nMoving to Node #0,2,1\nCurrent State: 38:[43, 12], Operations: ['80-38=42', '54-42=12']\nExploring Operation: 43-12=31, Resulting Numbers: [31]\n31,38 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 38:[43, 12], Operations: ['80-38=42', '54-42=12']\nExploring Operation: 43+12=55, Resulting Numbers: [55]\n55,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[43, 54, 42], Operations: ['80-38=42']\nExploring Operation: 43-42=1, Resulting Numbers: [54, 1]\nGenerated Node #0,2,2: 38:[54, 1] Operation: 43-42=1\nMoving to Node #0,2,2\nCurrent State: 38:[54, 1], Operations: ['80-38=42', '43-42=1']\nExploring Operation: 54-1=53, Resulting Numbers: [53]\n53,38 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 38:[54, 1], Operations: ['80-38=42', '43-42=1']\nExploring Operation: 54*1=54, Resulting Numbers: [54]\n54,38 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 38:[54, 1], Operations: ['80-38=42', '43-42=1']\nExploring Operation: 54/1=54, Resulting Numbers: [54]\n54,38 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 38:[54, 1], Operations: ['80-38=42', '43-42=1']\nExploring Operation: 54+1=55, Resulting Numbers: [55]\n55,38 unequal: No Solution\n", "role": "assistant" } ]
[ 54, 39, 31, 36 ]
88
[ "54+39=93", "36-31=5", "93-5=88" ]
Current State: 88:[54, 39, 31, 36], Operations: [] Exploring Operation: 54-31=23, Resulting Numbers: [39, 36, 23] Generated Node #0,0: 88:[39, 36, 23] Operation: 54-31=23 Exploring Operation: 54-36=18, Resulting Numbers: [39, 31, 18] Generated Node #0,1: 88:[39, 31, 18] Operation: 54-36=18 Exploring Operation: 54+31=85, Resulting Numbers: [39, 36, 85] Generated Node #0,2: 88:[39, 36, 85] Operation: 54+31=85 Exploring Operation: 36-31=5, Resulting Numbers: [54, 39, 5] Generated Node #0,3: 88:[54, 39, 5] Operation: 36-31=5 Exploring Operation: 54+36=90, Resulting Numbers: [39, 31, 90] Generated Node #0,4: 88:[39, 31, 90] Operation: 54+36=90 Moving to Node #0,0 Current State: 88:[39, 36, 23], Operations: ['54-31=23'] Exploring Operation: 39-23=16, Resulting Numbers: [36, 16] Generated Node #0,0,0: 88:[36, 16] Operation: 39-23=16 Exploring Operation: 39+36=75, Resulting Numbers: [23, 75] Generated Node #0,0,1: 88:[23, 75] Operation: 39+36=75 Exploring Operation: 39-36=3, Resulting Numbers: [23, 3] Generated Node #0,0,2: 88:[23, 3] Operation: 39-36=3 Exploring Operation: 36-23=13, Resulting Numbers: [39, 13] Generated Node #0,0,3: 88:[39, 13] Operation: 36-23=13 Exploring Operation: 36+23=59, Resulting Numbers: [39, 59] Generated Node #0,0,4: 88:[39, 59] Operation: 36+23=59 Moving to Node #0,3 Current State: 88:[54, 39, 5], Operations: ['36-31=5'] Exploring Operation: 54+39=93, Resulting Numbers: [5, 93] Generated Node #0,3,0: 88:[5, 93] Operation: 54+39=93 Exploring Operation: 54-5=49, Resulting Numbers: [39, 49] Generated Node #0,3,1: 88:[39, 49] Operation: 54-5=49 Exploring Operation: 39+5=44, Resulting Numbers: [54, 44] Generated Node #0,3,2: 88:[54, 44] Operation: 39+5=44 Exploring Operation: 54-39=15, Resulting Numbers: [5, 15] Generated Node #0,3,3: 88:[5, 15] Operation: 54-39=15 Exploring Operation: 54+5=59, Resulting Numbers: [39, 59] Generated Node #0,3,4: 88:[39, 59] Operation: 54+5=59 Moving to Node #0,2 Current State: 88:[39, 36, 85], Operations: ['54+31=85'] Exploring Operation: 39+36=75, Resulting Numbers: [85, 75] Generated Node #0,2,0: 88:[85, 75] Operation: 39+36=75 Exploring Operation: 85-39=46, Resulting Numbers: [36, 46] Generated Node #0,2,1: 88:[36, 46] Operation: 85-39=46 Exploring Operation: 36+85=121, Resulting Numbers: [39, 121] Generated Node #0,2,2: 88:[39, 121] Operation: 36+85=121 Exploring Operation: 39-36=3, Resulting Numbers: [85, 3] Generated Node #0,2,3: 88:[85, 3] Operation: 39-36=3 Exploring Operation: 85-36=49, Resulting Numbers: [39, 49] Generated Node #0,2,4: 88:[39, 49] Operation: 85-36=49 Moving to Node #0,4 Current State: 88:[39, 31, 90], Operations: ['54+36=90'] Exploring Operation: 39+31=70, Resulting Numbers: [90, 70] Generated Node #0,4,0: 88:[90, 70] Operation: 39+31=70 Exploring Operation: 90-31=59, Resulting Numbers: [39, 59] Generated Node #0,4,1: 88:[39, 59] Operation: 90-31=59 Exploring Operation: 90-39=51, Resulting Numbers: [31, 51] Generated Node #0,4,2: 88:[31, 51] Operation: 90-39=51 Exploring Operation: 39-31=8, Resulting Numbers: [90, 8] Generated Node #0,4,3: 88:[90, 8] Operation: 39-31=8 Exploring Operation: 31+90=121, Resulting Numbers: [39, 121] Generated Node #0,4,4: 88:[39, 121] Operation: 31+90=121 Moving to Node #0,1 Current State: 88:[39, 31, 18], Operations: ['54-36=18'] Exploring Operation: 39+31=70, Resulting Numbers: [18, 70] Generated Node #0,1,0: 88:[18, 70] Operation: 39+31=70 Exploring Operation: 39-18=21, Resulting Numbers: [31, 21] Generated Node #0,1,1: 88:[31, 21] Operation: 39-18=21 Exploring Operation: 31+18=49, Resulting Numbers: [39, 49] Generated Node #0,1,2: 88:[39, 49] Operation: 31+18=49 Exploring Operation: 39-31=8, Resulting Numbers: [18, 8] Generated Node #0,1,3: 88:[18, 8] Operation: 39-31=8 Exploring Operation: 31-18=13, Resulting Numbers: [39, 13] Generated Node #0,1,4: 88:[39, 13] Operation: 31-18=13 Moving to Node #0,0,2 Current State: 88:[23, 3], Operations: ['54-31=23', '39-36=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,88 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[90, 8], Operations: ['54+36=90', '39-31=8'] Exploring Operation: 90+8=98, Resulting Numbers: [98] 98,88 unequal: No Solution Exploring Operation: 90*8=720, Resulting Numbers: [720] 720,88 unequal: No Solution Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[18, 8], Operations: ['54-36=18', '39-31=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[85, 3], Operations: ['54+31=85', '39-36=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.96441
bfs_5
Current State: 88:[54, 39, 31, 36], Operations: [] Exploring Operation: 54+39=93, Resulting Numbers: [31, 36, 93] Generated Node #2: [31, 36, 93] from Operation: 54+39=93 Current State: 88:[31, 36, 93], Operations: ['54+39=93'] Exploring Operation: 36-31=5, Resulting Numbers: [93, 5] Generated Node #3: [93, 5] from Operation: 36-31=5 Current State: 88:[93, 5], Operations: ['54+39=93', '36-31=5'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
mult_heuristic
[ { "content": "Make 88 with the numbers [54, 39, 31, 36] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 88:[54, 39, 31, 36], Operations: []\nExploring Operation: 54-31=23, Resulting Numbers: [39, 36, 23]\nGenerated Node #0,0: 88:[39, 36, 23] Operation: 54-31=23\nExploring Operation: 54-36=18, Resulting Numbers: [39, 31, 18]\nGenerated Node #0,1: 88:[39, 31, 18] Operation: 54-36=18\nExploring Operation: 54+31=85, Resulting Numbers: [39, 36, 85]\nGenerated Node #0,2: 88:[39, 36, 85] Operation: 54+31=85\nExploring Operation: 36-31=5, Resulting Numbers: [54, 39, 5]\nGenerated Node #0,3: 88:[54, 39, 5] Operation: 36-31=5\nExploring Operation: 54+36=90, Resulting Numbers: [39, 31, 90]\nGenerated Node #0,4: 88:[39, 31, 90] Operation: 54+36=90\nMoving to Node #0,0\nCurrent State: 88:[39, 36, 23], Operations: ['54-31=23']\nExploring Operation: 39-23=16, Resulting Numbers: [36, 16]\nGenerated Node #0,0,0: 88:[36, 16] Operation: 39-23=16\nExploring Operation: 39+36=75, Resulting Numbers: [23, 75]\nGenerated Node #0,0,1: 88:[23, 75] Operation: 39+36=75\nExploring Operation: 39-36=3, Resulting Numbers: [23, 3]\nGenerated Node #0,0,2: 88:[23, 3] Operation: 39-36=3\nExploring Operation: 36-23=13, Resulting Numbers: [39, 13]\nGenerated Node #0,0,3: 88:[39, 13] Operation: 36-23=13\nExploring Operation: 36+23=59, Resulting Numbers: [39, 59]\nGenerated Node #0,0,4: 88:[39, 59] Operation: 36+23=59\nMoving to Node #0,3\nCurrent State: 88:[54, 39, 5], Operations: ['36-31=5']\nExploring Operation: 54+39=93, Resulting Numbers: [5, 93]\nGenerated Node #0,3,0: 88:[5, 93] Operation: 54+39=93\nExploring Operation: 54-5=49, Resulting Numbers: [39, 49]\nGenerated Node #0,3,1: 88:[39, 49] Operation: 54-5=49\nExploring Operation: 39+5=44, Resulting Numbers: [54, 44]\nGenerated Node #0,3,2: 88:[54, 44] Operation: 39+5=44\nExploring Operation: 54-39=15, Resulting Numbers: [5, 15]\nGenerated Node #0,3,3: 88:[5, 15] Operation: 54-39=15\nExploring Operation: 54+5=59, Resulting Numbers: [39, 59]\nGenerated Node #0,3,4: 88:[39, 59] Operation: 54+5=59\nMoving to Node #0,2\nCurrent State: 88:[39, 36, 85], Operations: ['54+31=85']\nExploring Operation: 39+36=75, Resulting Numbers: [85, 75]\nGenerated Node #0,2,0: 88:[85, 75] Operation: 39+36=75\nExploring Operation: 85-39=46, Resulting Numbers: [36, 46]\nGenerated Node #0,2,1: 88:[36, 46] Operation: 85-39=46\nExploring Operation: 36+85=121, Resulting Numbers: [39, 121]\nGenerated Node #0,2,2: 88:[39, 121] Operation: 36+85=121\nExploring Operation: 39-36=3, Resulting Numbers: [85, 3]\nGenerated Node #0,2,3: 88:[85, 3] Operation: 39-36=3\nExploring Operation: 85-36=49, Resulting Numbers: [39, 49]\nGenerated Node #0,2,4: 88:[39, 49] Operation: 85-36=49\nMoving to Node #0,4\nCurrent State: 88:[39, 31, 90], Operations: ['54+36=90']\nExploring Operation: 39+31=70, Resulting Numbers: [90, 70]\nGenerated Node #0,4,0: 88:[90, 70] Operation: 39+31=70\nExploring Operation: 90-31=59, Resulting Numbers: [39, 59]\nGenerated Node #0,4,1: 88:[39, 59] Operation: 90-31=59\nExploring Operation: 90-39=51, Resulting Numbers: [31, 51]\nGenerated Node #0,4,2: 88:[31, 51] Operation: 90-39=51\nExploring Operation: 39-31=8, Resulting Numbers: [90, 8]\nGenerated Node #0,4,3: 88:[90, 8] Operation: 39-31=8\nExploring Operation: 31+90=121, Resulting Numbers: [39, 121]\nGenerated Node #0,4,4: 88:[39, 121] Operation: 31+90=121\nMoving to Node #0,1\nCurrent State: 88:[39, 31, 18], Operations: ['54-36=18']\nExploring Operation: 39+31=70, Resulting Numbers: [18, 70]\nGenerated Node #0,1,0: 88:[18, 70] Operation: 39+31=70\nExploring Operation: 39-18=21, Resulting Numbers: [31, 21]\nGenerated Node #0,1,1: 88:[31, 21] Operation: 39-18=21\nExploring Operation: 31+18=49, Resulting Numbers: [39, 49]\nGenerated Node #0,1,2: 88:[39, 49] Operation: 31+18=49\nExploring Operation: 39-31=8, Resulting Numbers: [18, 8]\nGenerated Node #0,1,3: 88:[18, 8] Operation: 39-31=8\nExploring Operation: 31-18=13, Resulting Numbers: [39, 13]\nGenerated Node #0,1,4: 88:[39, 13] Operation: 31-18=13\nMoving to Node #0,0,2\nCurrent State: 88:[23, 3], Operations: ['54-31=23', '39-36=3']\nExploring Operation: 23*3=69, Resulting Numbers: [69]\n69,88 unequal: No Solution\nExploring Operation: 23-3=20, Resulting Numbers: [20]\n20,88 unequal: No Solution\nExploring Operation: 23+3=26, Resulting Numbers: [26]\n26,88 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 88:[90, 8], Operations: ['54+36=90', '39-31=8']\nExploring Operation: 90+8=98, Resulting Numbers: [98]\n98,88 unequal: No Solution\nExploring Operation: 90*8=720, Resulting Numbers: [720]\n720,88 unequal: No Solution\nExploring Operation: 90-8=82, Resulting Numbers: [82]\n82,88 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 88:[18, 8], Operations: ['54-36=18', '39-31=8']\nExploring Operation: 18+8=26, Resulting Numbers: [26]\n26,88 unequal: No Solution\nExploring Operation: 18-8=10, Resulting Numbers: [10]\n10,88 unequal: No Solution\nExploring Operation: 18*8=144, Resulting Numbers: [144]\n144,88 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 88:[85, 3], Operations: ['54+31=85', '39-36=3']\nExploring Operation: 85+3=88, Resulting Numbers: [88]\n88,88 equal: Goal Reached\n", "role": "assistant" } ]
[ 9, 9, 11, 35 ]
64
[ "9+9=18", "11+35=46", "18+46=64" ]
Current State: 64:[9, 9, 11, 35], Operations: [] Exploring Operation: 9*9=81, Resulting Numbers: [11, 35, 81] Generated Node #0,0: 64:[11, 35, 81] Operation: 9*9=81 Moving to Node #0,0 Current State: 64:[11, 35, 81], Operations: ['9*9=81'] Exploring Operation: 11+35=46, Resulting Numbers: [81, 46] Generated Node #0,0,0: 64:[81, 46] Operation: 11+35=46 Moving to Node #0,0,0 Current State: 64:[81, 46], Operations: ['9*9=81', '11+35=46'] Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,64 unequal: No Solution Moving to Node #0,0,0,0 Current State: 64:[35], Operations: ['9*9=81', '11+35=46', '81-46=35'] No solution found.
0
bfs_1
Current State: 64:[9, 9, 11, 35], Operations: [] Exploring Operation: 9+9=18, Resulting Numbers: [11, 35, 18] Generated Node #2: [11, 35, 18] from Operation: 9+9=18 Current State: 64:[11, 35, 18], Operations: ['9+9=18'] Exploring Operation: 11+35=46, Resulting Numbers: [18, 46] Generated Node #3: [18, 46] from Operation: 11+35=46 Current State: 64:[18, 46], Operations: ['9+9=18', '11+35=46'] Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
sum_heuristic
[ { "content": "Make 64 with the numbers [9, 9, 11, 35] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 64:[9, 9, 11, 35], Operations: []\nExploring Operation: 9*9=81, Resulting Numbers: [11, 35, 81]\nGenerated Node #0,0: 64:[11, 35, 81] Operation: 9*9=81\nMoving to Node #0,0\nCurrent State: 64:[11, 35, 81], Operations: ['9*9=81']\nExploring Operation: 11+35=46, Resulting Numbers: [81, 46]\nGenerated Node #0,0,0: 64:[81, 46] Operation: 11+35=46\nMoving to Node #0,0,0\nCurrent State: 64:[81, 46], Operations: ['9*9=81', '11+35=46']\nExploring Operation: 81-46=35, Resulting Numbers: [35]\n35,64 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 64:[35], Operations: ['9*9=81', '11+35=46', '81-46=35']\nNo solution found.", "role": "assistant" } ]
[ 88, 58, 87, 37 ]
11
[ "87-58=29", "37-29=8", "88/8=11" ]
Current State: 11:[88, 58, 87, 37], Operations: []
0
dfs
Current State: 11:[88, 58, 87, 37], Operations: [] Exploring Operation: 87-58=29, Resulting Numbers: [88, 37, 29] Generated Node #2: [88, 37, 29] from Operation: 87-58=29 Current State: 11:[88, 37, 29], Operations: ['87-58=29'] Exploring Operation: 37-29=8, Resulting Numbers: [88, 8] Generated Node #3: [88, 8] from Operation: 37-29=8 Current State: 11:[88, 8], Operations: ['87-58=29', '37-29=8'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
sum_heuristic
[ { "content": "Make 11 with the numbers [88, 58, 87, 37] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 11:[88, 58, 87, 37], Operations: []\n", "role": "assistant" } ]
[ 97, 68, 54, 94 ]
86
[ "97-94=3", "54/3=18", "68+18=86" ]
Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 68+54=122, Resulting Numbers: [97, 94, 122] Generated Node #0,0: 86:[97, 94, 122] Operation: 68+54=122 Moving to Node #0,0 Current State: 86:[97, 94, 122], Operations: ['68+54=122'] Exploring Operation: 122-97=25, Resulting Numbers: [94, 25] Generated Node #0,0,0: 86:[94, 25] Operation: 122-97=25 Moving to Node #0,0,0 Current State: 86:[94, 25], Operations: ['68+54=122', '122-97=25'] Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[94, 25], Operations: ['68+54=122', '122-97=25'] Exploring Operation: 94+25=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[97, 94, 122], Operations: ['68+54=122'] Exploring Operation: 122-94=28, Resulting Numbers: [97, 28] Generated Node #0,0,1: 86:[97, 28] Operation: 122-94=28 Moving to Node #0,0,1 Current State: 86:[97, 28], Operations: ['68+54=122', '122-94=28'] Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[97, 28], Operations: ['68+54=122', '122-94=28'] Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[97, 94, 122], Operations: ['68+54=122'] Exploring Operation: 97-94=3, Resulting Numbers: [122, 3] Generated Node #0,0,2: 86:[122, 3] Operation: 97-94=3 Moving to Node #0,0,2 Current State: 86:[122, 3], Operations: ['68+54=122', '97-94=3'] Exploring Operation: 122-3=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[122, 3], Operations: ['68+54=122', '97-94=3'] Exploring Operation: 122+3=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[97, 94, 122], Operations: ['68+54=122'] Exploring Operation: 97+94=191, Resulting Numbers: [122, 191] Generated Node #0,0,3: 86:[122, 191] Operation: 97+94=191 Moving to Node #0,0,3 Current State: 86:[122, 191], Operations: ['68+54=122', '97+94=191'] Exploring Operation: 191-122=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[97, 94, 122], Operations: ['68+54=122'] Exploring Operation: 97+122=219, Resulting Numbers: [94, 219] Generated Node #0,0,4: 86:[94, 219] Operation: 97+122=219 Moving to Node #0,0,4 Current State: 86:[94, 219], Operations: ['68+54=122', '97+122=219'] Exploring Operation: 219-94=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[97, 94, 122], Operations: ['68+54=122'] Exploring Operation: 94+122=216, Resulting Numbers: [97, 216] Generated Node #0,0,5: 86:[97, 216] Operation: 94+122=216 Moving to Node #0,0,5 Current State: 86:[97, 216], Operations: ['68+54=122', '94+122=216'] Exploring Operation: 216-97=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [68, 94, 43] Generated Node #0,1: 86:[68, 94, 43] Operation: 97-54=43 Moving to Node #0,1 Current State: 86:[68, 94, 43], Operations: ['97-54=43'] Exploring Operation: 68+43=111, Resulting Numbers: [94, 111] Generated Node #0,1,0: 86:[94, 111] Operation: 68+43=111 Moving to Node #0,1,0 Current State: 86:[94, 111], Operations: ['97-54=43', '68+43=111'] Exploring Operation: 111-94=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[68, 94, 43], Operations: ['97-54=43'] Exploring Operation: 94-43=51, Resulting Numbers: [68, 51] Generated Node #0,1,1: 86:[68, 51] Operation: 94-43=51 Moving to Node #0,1,1 Current State: 86:[68, 51], Operations: ['97-54=43', '94-43=51'] Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[68, 51], Operations: ['97-54=43', '94-43=51'] Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[68, 94, 43], Operations: ['97-54=43'] Exploring Operation: 68-43=25, Resulting Numbers: [94, 25] Generated Node #0,1,2: 86:[94, 25] Operation: 68-43=25 Moving to Node #0,1,2 Current State: 86:[94, 25], Operations: ['97-54=43', '68-43=25'] Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[94, 25], Operations: ['97-54=43', '68-43=25'] Exploring Operation: 94+25=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[68, 94, 43], Operations: ['97-54=43'] Exploring Operation: 94+43=137, Resulting Numbers: [68, 137] Generated Node #0,1,3: 86:[68, 137] Operation: 94+43=137 Moving to Node #0,1,3 Current State: 86:[68, 137], Operations: ['97-54=43', '94+43=137'] Exploring Operation: 137-68=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[68, 94, 43], Operations: ['97-54=43'] Exploring Operation: 94-68=26, Resulting Numbers: [43, 26] Generated Node #0,1,4: 86:[43, 26] Operation: 94-68=26 Moving to Node #0,1,4 Current State: 86:[43, 26], Operations: ['97-54=43', '94-68=26'] Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,1,4 Current State: 86:[43, 26], Operations: ['97-54=43', '94-68=26'] Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[68, 94, 43], Operations: ['97-54=43'] Exploring Operation: 68+94=162, Resulting Numbers: [43, 162] Generated Node #0,1,5: 86:[43, 162] Operation: 68+94=162 Moving to Node #0,1,5 Current State: 86:[43, 162], Operations: ['97-54=43', '68+94=162'] Exploring Operation: 162-43=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 94-54=40, Resulting Numbers: [97, 68, 40] Generated Node #0,2: 86:[97, 68, 40] Operation: 94-54=40 Moving to Node #0,2 Current State: 86:[97, 68, 40], Operations: ['94-54=40'] Exploring Operation: 68+40=108, Resulting Numbers: [97, 108] Generated Node #0,2,0: 86:[97, 108] Operation: 68+40=108 Moving to Node #0,2,0 Current State: 86:[97, 108], Operations: ['94-54=40', '68+40=108'] Exploring Operation: 108-97=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[97, 68, 40], Operations: ['94-54=40'] Exploring Operation: 97-40=57, Resulting Numbers: [68, 57] Generated Node #0,2,1: 86:[68, 57] Operation: 97-40=57 Moving to Node #0,2,1 Current State: 86:[68, 57], Operations: ['94-54=40', '97-40=57'] Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[68, 57], Operations: ['94-54=40', '97-40=57'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[97, 68, 40], Operations: ['94-54=40'] Exploring Operation: 97+40=137, Resulting Numbers: [68, 137] Generated Node #0,2,2: 86:[68, 137] Operation: 97+40=137 Moving to Node #0,2,2 Current State: 86:[68, 137], Operations: ['94-54=40', '97+40=137'] Exploring Operation: 137-68=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[97, 68, 40], Operations: ['94-54=40'] Exploring Operation: 68-40=28, Resulting Numbers: [97, 28] Generated Node #0,2,3: 86:[97, 28] Operation: 68-40=28 Moving to Node #0,2,3 Current State: 86:[97, 28], Operations: ['94-54=40', '68-40=28'] Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[97, 28], Operations: ['94-54=40', '68-40=28'] Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[97, 68, 40], Operations: ['94-54=40'] Exploring Operation: 97-68=29, Resulting Numbers: [40, 29] Generated Node #0,2,4: 86:[40, 29] Operation: 97-68=29 Moving to Node #0,2,4 Current State: 86:[40, 29], Operations: ['94-54=40', '97-68=29'] Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,2,4 Current State: 86:[40, 29], Operations: ['94-54=40', '97-68=29'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[97, 68, 40], Operations: ['94-54=40'] Exploring Operation: 97+68=165, Resulting Numbers: [40, 165] Generated Node #0,2,5: 86:[40, 165] Operation: 97+68=165 Moving to Node #0,2,5 Current State: 86:[40, 165], Operations: ['94-54=40', '97+68=165'] Exploring Operation: 165-40=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 97+54=151, Resulting Numbers: [68, 94, 151] Generated Node #0,3: 86:[68, 94, 151] Operation: 97+54=151 Moving to Node #0,3 Current State: 86:[68, 94, 151], Operations: ['97+54=151'] Exploring Operation: 151-68=83, Resulting Numbers: [94, 83] Generated Node #0,3,0: 86:[94, 83] Operation: 151-68=83 Moving to Node #0,3,0 Current State: 86:[94, 83], Operations: ['97+54=151', '151-68=83'] Exploring Operation: 94-83=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[68, 94, 151], Operations: ['97+54=151'] Exploring Operation: 151-94=57, Resulting Numbers: [68, 57] Generated Node #0,3,1: 86:[68, 57] Operation: 151-94=57 Moving to Node #0,3,1 Current State: 86:[68, 57], Operations: ['97+54=151', '151-94=57'] Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[68, 57], Operations: ['97+54=151', '151-94=57'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[68, 94, 151], Operations: ['97+54=151'] Exploring Operation: 94-68=26, Resulting Numbers: [151, 26] Generated Node #0,3,2: 86:[151, 26] Operation: 94-68=26 Moving to Node #0,3,2 Current State: 86:[151, 26], Operations: ['97+54=151', '94-68=26'] Exploring Operation: 151-26=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[68, 94, 151], Operations: ['97+54=151'] Exploring Operation: 68+94=162, Resulting Numbers: [151, 162] Generated Node #0,3,3: 86:[151, 162] Operation: 68+94=162 Moving to Node #0,3,3 Current State: 86:[151, 162], Operations: ['97+54=151', '68+94=162'] Exploring Operation: 162-151=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[68, 94, 151], Operations: ['97+54=151'] Exploring Operation: 68+151=219, Resulting Numbers: [94, 219] Generated Node #0,3,4: 86:[94, 219] Operation: 68+151=219 Moving to Node #0,3,4 Current State: 86:[94, 219], Operations: ['97+54=151', '68+151=219'] Exploring Operation: 219-94=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 68-54=14, Resulting Numbers: [97, 94, 14] Generated Node #0,4: 86:[97, 94, 14] Operation: 68-54=14 Moving to Node #0,4 Current State: 86:[97, 94, 14], Operations: ['68-54=14'] Exploring Operation: 97-14=83, Resulting Numbers: [94, 83] Generated Node #0,4,0: 86:[94, 83] Operation: 97-14=83 Moving to Node #0,4,0 Current State: 86:[94, 83], Operations: ['68-54=14', '97-14=83'] Exploring Operation: 94-83=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[97, 94, 14], Operations: ['68-54=14'] Exploring Operation: 94-14=80, Resulting Numbers: [97, 80] Generated Node #0,4,1: 86:[97, 80] Operation: 94-14=80 Moving to Node #0,4,1 Current State: 86:[97, 80], Operations: ['68-54=14', '94-14=80'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[97, 94, 14], Operations: ['68-54=14'] Exploring Operation: 97+14=111, Resulting Numbers: [94, 111] Generated Node #0,4,2: 86:[94, 111] Operation: 97+14=111 Moving to Node #0,4,2 Current State: 86:[94, 111], Operations: ['68-54=14', '97+14=111'] Exploring Operation: 111-94=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[97, 94, 14], Operations: ['68-54=14'] Exploring Operation: 94+14=108, Resulting Numbers: [97, 108] Generated Node #0,4,3: 86:[97, 108] Operation: 94+14=108 Moving to Node #0,4,3 Current State: 86:[97, 108], Operations: ['68-54=14', '94+14=108'] Exploring Operation: 108-97=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[97, 94, 14], Operations: ['68-54=14'] Exploring Operation: 97-94=3, Resulting Numbers: [14, 3] Generated Node #0,4,4: 86:[14, 3] Operation: 97-94=3 Moving to Node #0,4,4 Current State: 86:[14, 3], Operations: ['68-54=14', '97-94=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,86 unequal: No Solution Moving to Node #0,4,4 Current State: 86:[14, 3], Operations: ['68-54=14', '97-94=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,4,4 Current State: 86:[14, 3], Operations: ['68-54=14', '97-94=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 54+94=148, Resulting Numbers: [97, 68, 148] Generated Node #0,5: 86:[97, 68, 148] Operation: 54+94=148 Moving to Node #0,5 Current State: 86:[97, 68, 148], Operations: ['54+94=148'] Exploring Operation: 148-68=80, Resulting Numbers: [97, 80] Generated Node #0,5,0: 86:[97, 80] Operation: 148-68=80 Moving to Node #0,5,0 Current State: 86:[97, 80], Operations: ['54+94=148', '148-68=80'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[97, 68, 148], Operations: ['54+94=148'] Exploring Operation: 148-97=51, Resulting Numbers: [68, 51] Generated Node #0,5,1: 86:[68, 51] Operation: 148-97=51 Moving to Node #0,5,1 Current State: 86:[68, 51], Operations: ['54+94=148', '148-97=51'] Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,5,1 Current State: 86:[68, 51], Operations: ['54+94=148', '148-97=51'] Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[97, 68, 148], Operations: ['54+94=148'] Exploring Operation: 97-68=29, Resulting Numbers: [148, 29] Generated Node #0,5,2: 86:[148, 29] Operation: 97-68=29 Moving to Node #0,5,2 Current State: 86:[148, 29], Operations: ['54+94=148', '97-68=29'] Exploring Operation: 148-29=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[97, 68, 148], Operations: ['54+94=148'] Exploring Operation: 97+68=165, Resulting Numbers: [148, 165] Generated Node #0,5,3: 86:[148, 165] Operation: 97+68=165 Moving to Node #0,5,3 Current State: 86:[148, 165], Operations: ['54+94=148', '97+68=165'] Exploring Operation: 165-148=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[97, 68, 148], Operations: ['54+94=148'] Exploring Operation: 68+148=216, Resulting Numbers: [97, 216] Generated Node #0,5,4: 86:[97, 216] Operation: 68+148=216 Moving to Node #0,5,4 Current State: 86:[97, 216], Operations: ['54+94=148', '68+148=216'] Exploring Operation: 216-97=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 97-68=29, Resulting Numbers: [54, 94, 29] Generated Node #0,6: 86:[54, 94, 29] Operation: 97-68=29 Moving to Node #0,6 Current State: 86:[54, 94, 29], Operations: ['97-68=29'] Exploring Operation: 54+29=83, Resulting Numbers: [94, 83] Generated Node #0,6,0: 86:[94, 83] Operation: 54+29=83 Moving to Node #0,6,0 Current State: 86:[94, 83], Operations: ['97-68=29', '54+29=83'] Exploring Operation: 94-83=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[54, 94, 29], Operations: ['97-68=29'] Exploring Operation: 94-29=65, Resulting Numbers: [54, 65] Generated Node #0,6,1: 86:[54, 65] Operation: 94-29=65 Moving to Node #0,6,1 Current State: 86:[54, 65], Operations: ['97-68=29', '94-29=65'] Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,6,1 Current State: 86:[54, 65], Operations: ['97-68=29', '94-29=65'] Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[54, 94, 29], Operations: ['97-68=29'] Exploring Operation: 54-29=25, Resulting Numbers: [94, 25] Generated Node #0,6,2: 86:[94, 25] Operation: 54-29=25 Moving to Node #0,6,2 Current State: 86:[94, 25], Operations: ['97-68=29', '54-29=25'] Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,6,2 Current State: 86:[94, 25], Operations: ['97-68=29', '54-29=25'] Exploring Operation: 94+25=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[54, 94, 29], Operations: ['97-68=29'] Exploring Operation: 94+29=123, Resulting Numbers: [54, 123] Generated Node #0,6,3: 86:[54, 123] Operation: 94+29=123 Moving to Node #0,6,3 Current State: 86:[54, 123], Operations: ['97-68=29', '94+29=123'] Exploring Operation: 123-54=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[54, 94, 29], Operations: ['97-68=29'] Exploring Operation: 94-54=40, Resulting Numbers: [29, 40] Generated Node #0,6,4: 86:[29, 40] Operation: 94-54=40 Moving to Node #0,6,4 Current State: 86:[29, 40], Operations: ['97-68=29', '94-54=40'] Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,6,4 Current State: 86:[29, 40], Operations: ['97-68=29', '94-54=40'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[54, 94, 29], Operations: ['97-68=29'] Exploring Operation: 54+94=148, Resulting Numbers: [29, 148] Generated Node #0,6,5: 86:[29, 148] Operation: 54+94=148 Moving to Node #0,6,5 Current State: 86:[29, 148], Operations: ['97-68=29', '54+94=148'] Exploring Operation: 148-29=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 94-68=26, Resulting Numbers: [97, 54, 26] Generated Node #0,7: 86:[97, 54, 26] Operation: 94-68=26 Moving to Node #0,7 Current State: 86:[97, 54, 26], Operations: ['94-68=26'] Exploring Operation: 54+26=80, Resulting Numbers: [97, 80] Generated Node #0,7,0: 86:[97, 80] Operation: 54+26=80 Moving to Node #0,7,0 Current State: 86:[97, 80], Operations: ['94-68=26', '54+26=80'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[97, 54, 26], Operations: ['94-68=26'] Exploring Operation: 97-26=71, Resulting Numbers: [54, 71] Generated Node #0,7,1: 86:[54, 71] Operation: 97-26=71 Moving to Node #0,7,1 Current State: 86:[54, 71], Operations: ['94-68=26', '97-26=71'] Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,7,1 Current State: 86:[54, 71], Operations: ['94-68=26', '97-26=71'] Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[97, 54, 26], Operations: ['94-68=26'] Exploring Operation: 97+26=123, Resulting Numbers: [54, 123] Generated Node #0,7,2: 86:[54, 123] Operation: 97+26=123 Moving to Node #0,7,2 Current State: 86:[54, 123], Operations: ['94-68=26', '97+26=123'] Exploring Operation: 123-54=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[97, 54, 26], Operations: ['94-68=26'] Exploring Operation: 54-26=28, Resulting Numbers: [97, 28] Generated Node #0,7,3: 86:[97, 28] Operation: 54-26=28 Moving to Node #0,7,3 Current State: 86:[97, 28], Operations: ['94-68=26', '54-26=28'] Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,7,3 Current State: 86:[97, 28], Operations: ['94-68=26', '54-26=28'] Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[97, 54, 26], Operations: ['94-68=26'] Exploring Operation: 97-54=43, Resulting Numbers: [26, 43] Generated Node #0,7,4: 86:[26, 43] Operation: 97-54=43 Moving to Node #0,7,4 Current State: 86:[26, 43], Operations: ['94-68=26', '97-54=43'] Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,7,4 Current State: 86:[26, 43], Operations: ['94-68=26', '97-54=43'] Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[97, 54, 26], Operations: ['94-68=26'] Exploring Operation: 97+54=151, Resulting Numbers: [26, 151] Generated Node #0,7,5: 86:[26, 151] Operation: 97+54=151 Moving to Node #0,7,5 Current State: 86:[26, 151], Operations: ['94-68=26', '97+54=151'] Exploring Operation: 151-26=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 97+68=165, Resulting Numbers: [54, 94, 165] Generated Node #0,8: 86:[54, 94, 165] Operation: 97+68=165 Moving to Node #0,8 Current State: 86:[54, 94, 165], Operations: ['97+68=165'] Exploring Operation: 165-54=111, Resulting Numbers: [94, 111] Generated Node #0,8,0: 86:[94, 111] Operation: 165-54=111 Moving to Node #0,8,0 Current State: 86:[94, 111], Operations: ['97+68=165', '165-54=111'] Exploring Operation: 111-94=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,8 Current State: 86:[54, 94, 165], Operations: ['97+68=165'] Exploring Operation: 165-94=71, Resulting Numbers: [54, 71] Generated Node #0,8,1: 86:[54, 71] Operation: 165-94=71 Moving to Node #0,8,1 Current State: 86:[54, 71], Operations: ['97+68=165', '165-94=71'] Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,8,1 Current State: 86:[54, 71], Operations: ['97+68=165', '165-94=71'] Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,8 Current State: 86:[54, 94, 165], Operations: ['97+68=165'] Exploring Operation: 94-54=40, Resulting Numbers: [165, 40] Generated Node #0,8,2: 86:[165, 40] Operation: 94-54=40 Moving to Node #0,8,2 Current State: 86:[165, 40], Operations: ['97+68=165', '94-54=40'] Exploring Operation: 165-40=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,8 Current State: 86:[54, 94, 165], Operations: ['97+68=165'] Exploring Operation: 54+94=148, Resulting Numbers: [165, 148] Generated Node #0,8,3: 86:[165, 148] Operation: 54+94=148 Moving to Node #0,8,3 Current State: 86:[165, 148], Operations: ['97+68=165', '54+94=148'] Exploring Operation: 165-148=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,8 Current State: 86:[54, 94, 165], Operations: ['97+68=165'] Exploring Operation: 54+165=219, Resulting Numbers: [94, 219] Generated Node #0,8,4: 86:[94, 219] Operation: 54+165=219 Moving to Node #0,8,4 Current State: 86:[94, 219], Operations: ['97+68=165', '54+165=219'] Exploring Operation: 219-94=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 68+94=162, Resulting Numbers: [97, 54, 162] Generated Node #0,9: 86:[97, 54, 162] Operation: 68+94=162 Moving to Node #0,9 Current State: 86:[97, 54, 162], Operations: ['68+94=162'] Exploring Operation: 162-54=108, Resulting Numbers: [97, 108] Generated Node #0,9,0: 86:[97, 108] Operation: 162-54=108 Moving to Node #0,9,0 Current State: 86:[97, 108], Operations: ['68+94=162', '162-54=108'] Exploring Operation: 108-97=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,9 Current State: 86:[97, 54, 162], Operations: ['68+94=162'] Exploring Operation: 162-97=65, Resulting Numbers: [54, 65] Generated Node #0,9,1: 86:[54, 65] Operation: 162-97=65 Moving to Node #0,9,1 Current State: 86:[54, 65], Operations: ['68+94=162', '162-97=65'] Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,9,1 Current State: 86:[54, 65], Operations: ['68+94=162', '162-97=65'] Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,9 Current State: 86:[97, 54, 162], Operations: ['68+94=162'] Exploring Operation: 162/54=3, Resulting Numbers: [97, 3] Generated Node #0,9,2: 86:[97, 3] Operation: 162/54=3 Moving to Node #0,9,2 Current State: 86:[97, 3], Operations: ['68+94=162', '162/54=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,86 unequal: No Solution Moving to Node #0,9,2 Current State: 86:[97, 3], Operations: ['68+94=162', '162/54=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,86 unequal: No Solution Moving to Node #0,9 Current State: 86:[97, 54, 162], Operations: ['68+94=162'] Exploring Operation: 97-54=43, Resulting Numbers: [162, 43] Generated Node #0,9,3: 86:[162, 43] Operation: 97-54=43 Moving to Node #0,9,3 Current State: 86:[162, 43], Operations: ['68+94=162', '97-54=43'] Exploring Operation: 162-43=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,9 Current State: 86:[97, 54, 162], Operations: ['68+94=162'] Exploring Operation: 97+54=151, Resulting Numbers: [162, 151] Generated Node #0,9,4: 86:[162, 151] Operation: 97+54=151 Moving to Node #0,9,4 Current State: 86:[162, 151], Operations: ['68+94=162', '97+54=151'] Exploring Operation: 162-151=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,9 Current State: 86:[97, 54, 162], Operations: ['68+94=162'] Exploring Operation: 54+162=216, Resulting Numbers: [97, 216] Generated Node #0,9,5: 86:[97, 216] Operation: 54+162=216 Moving to Node #0,9,5 Current State: 86:[97, 216], Operations: ['68+94=162', '54+162=216'] Exploring Operation: 216-97=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0 Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [68, 54, 3] Generated Node #0,10: 86:[68, 54, 3] Operation: 97-94=3 Moving to Node #0,10 Current State: 86:[68, 54, 3], Operations: ['97-94=3'] Exploring Operation: 68+3=71, Resulting Numbers: [54, 71] Generated Node #0,10,0: 86:[54, 71] Operation: 68+3=71 Moving to Node #0,10,0 Current State: 86:[54, 71], Operations: ['97-94=3', '68+3=71'] Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,10,0 Current State: 86:[54, 71], Operations: ['97-94=3', '68+3=71'] Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,10 Current State: 86:[68, 54, 3], Operations: ['97-94=3'] Exploring Operation: 54+3=57, Resulting Numbers: [68, 57] Generated Node #0,10,1: 86:[68, 57] Operation: 54+3=57 Moving to Node #0,10,1 Current State: 86:[68, 57], Operations: ['97-94=3', '54+3=57'] Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,10,1 Current State: 86:[68, 57], Operations: ['97-94=3', '54+3=57'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,10 Current State: 86:[68, 54, 3], Operations: ['97-94=3'] Exploring Operation: 68-3=65, Resulting Numbers: [54, 65] Generated Node #0,10,2: 86:[54, 65] Operation: 68-3=65 Moving to Node #0,10,2 Current State: 86:[54, 65], Operations: ['97-94=3', '68-3=65'] Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,10,2 Current State: 86:[54, 65], Operations: ['97-94=3', '68-3=65'] Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,10 Current State: 86:[68, 54, 3], Operations: ['97-94=3'] Exploring Operation: 54-3=51, Resulting Numbers: [68, 51] Generated Node #0,10,3: 86:[68, 51] Operation: 54-3=51 Moving to Node #0,10,3 Current State: 86:[68, 51], Operations: ['97-94=3', '54-3=51'] Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,86 unequal: No Solution Moving to Node #0,10,3 Current State: 86:[68, 51], Operations: ['97-94=3', '54-3=51'] Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,10 Current State: 86:[68, 54, 3], Operations: ['97-94=3'] Exploring Operation: 54/3=18, Resulting Numbers: [68, 18] Generated Node #0,10,4: 86:[68, 18] Operation: 54/3=18 Moving to Node #0,10,4 Current State: 86:[68, 18], Operations: ['97-94=3', '54/3=18'] Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.861111
dfs
Current State: 86:[97, 68, 54, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [68, 54, 3] Generated Node #2: [68, 54, 3] from Operation: 97-94=3 Current State: 86:[68, 54, 3], Operations: ['97-94=3'] Exploring Operation: 54/3=18, Resulting Numbers: [68, 18] Generated Node #3: [68, 18] from Operation: 54/3=18 Current State: 86:[68, 18], Operations: ['97-94=3', '54/3=18'] Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
sum_heuristic
[ { "content": "Make 86 with the numbers [97, 68, 54, 94] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 68+54=122, Resulting Numbers: [97, 94, 122]\nGenerated Node #0,0: 86:[97, 94, 122] Operation: 68+54=122\nMoving to Node #0,0\nCurrent State: 86:[97, 94, 122], Operations: ['68+54=122']\nExploring Operation: 122-97=25, Resulting Numbers: [94, 25]\nGenerated Node #0,0,0: 86:[94, 25] Operation: 122-97=25\nMoving to Node #0,0,0\nCurrent State: 86:[94, 25], Operations: ['68+54=122', '122-97=25']\nExploring Operation: 94-25=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 86:[94, 25], Operations: ['68+54=122', '122-97=25']\nExploring Operation: 94+25=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[97, 94, 122], Operations: ['68+54=122']\nExploring Operation: 122-94=28, Resulting Numbers: [97, 28]\nGenerated Node #0,0,1: 86:[97, 28] Operation: 122-94=28\nMoving to Node #0,0,1\nCurrent State: 86:[97, 28], Operations: ['68+54=122', '122-94=28']\nExploring Operation: 97-28=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 86:[97, 28], Operations: ['68+54=122', '122-94=28']\nExploring Operation: 97+28=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[97, 94, 122], Operations: ['68+54=122']\nExploring Operation: 97-94=3, Resulting Numbers: [122, 3]\nGenerated Node #0,0,2: 86:[122, 3] Operation: 97-94=3\nMoving to Node #0,0,2\nCurrent State: 86:[122, 3], Operations: ['68+54=122', '97-94=3']\nExploring Operation: 122-3=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 86:[122, 3], Operations: ['68+54=122', '97-94=3']\nExploring Operation: 122+3=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[97, 94, 122], Operations: ['68+54=122']\nExploring Operation: 97+94=191, Resulting Numbers: [122, 191]\nGenerated Node #0,0,3: 86:[122, 191] Operation: 97+94=191\nMoving to Node #0,0,3\nCurrent State: 86:[122, 191], Operations: ['68+54=122', '97+94=191']\nExploring Operation: 191-122=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[97, 94, 122], Operations: ['68+54=122']\nExploring Operation: 97+122=219, Resulting Numbers: [94, 219]\nGenerated Node #0,0,4: 86:[94, 219] Operation: 97+122=219\nMoving to Node #0,0,4\nCurrent State: 86:[94, 219], Operations: ['68+54=122', '97+122=219']\nExploring Operation: 219-94=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[97, 94, 122], Operations: ['68+54=122']\nExploring Operation: 94+122=216, Resulting Numbers: [97, 216]\nGenerated Node #0,0,5: 86:[97, 216] Operation: 94+122=216\nMoving to Node #0,0,5\nCurrent State: 86:[97, 216], Operations: ['68+54=122', '94+122=216']\nExploring Operation: 216-97=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 97-54=43, Resulting Numbers: [68, 94, 43]\nGenerated Node #0,1: 86:[68, 94, 43] Operation: 97-54=43\nMoving to Node #0,1\nCurrent State: 86:[68, 94, 43], Operations: ['97-54=43']\nExploring Operation: 68+43=111, Resulting Numbers: [94, 111]\nGenerated Node #0,1,0: 86:[94, 111] Operation: 68+43=111\nMoving to Node #0,1,0\nCurrent State: 86:[94, 111], Operations: ['97-54=43', '68+43=111']\nExploring Operation: 111-94=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[68, 94, 43], Operations: ['97-54=43']\nExploring Operation: 94-43=51, Resulting Numbers: [68, 51]\nGenerated Node #0,1,1: 86:[68, 51] Operation: 94-43=51\nMoving to Node #0,1,1\nCurrent State: 86:[68, 51], Operations: ['97-54=43', '94-43=51']\nExploring Operation: 68+51=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 86:[68, 51], Operations: ['97-54=43', '94-43=51']\nExploring Operation: 68-51=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[68, 94, 43], Operations: ['97-54=43']\nExploring Operation: 68-43=25, Resulting Numbers: [94, 25]\nGenerated Node #0,1,2: 86:[94, 25] Operation: 68-43=25\nMoving to Node #0,1,2\nCurrent State: 86:[94, 25], Operations: ['97-54=43', '68-43=25']\nExploring Operation: 94-25=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 86:[94, 25], Operations: ['97-54=43', '68-43=25']\nExploring Operation: 94+25=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[68, 94, 43], Operations: ['97-54=43']\nExploring Operation: 94+43=137, Resulting Numbers: [68, 137]\nGenerated Node #0,1,3: 86:[68, 137] Operation: 94+43=137\nMoving to Node #0,1,3\nCurrent State: 86:[68, 137], Operations: ['97-54=43', '94+43=137']\nExploring Operation: 137-68=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[68, 94, 43], Operations: ['97-54=43']\nExploring Operation: 94-68=26, Resulting Numbers: [43, 26]\nGenerated Node #0,1,4: 86:[43, 26] Operation: 94-68=26\nMoving to Node #0,1,4\nCurrent State: 86:[43, 26], Operations: ['97-54=43', '94-68=26']\nExploring Operation: 43+26=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 86:[43, 26], Operations: ['97-54=43', '94-68=26']\nExploring Operation: 43-26=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[68, 94, 43], Operations: ['97-54=43']\nExploring Operation: 68+94=162, Resulting Numbers: [43, 162]\nGenerated Node #0,1,5: 86:[43, 162] Operation: 68+94=162\nMoving to Node #0,1,5\nCurrent State: 86:[43, 162], Operations: ['97-54=43', '68+94=162']\nExploring Operation: 162-43=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 94-54=40, Resulting Numbers: [97, 68, 40]\nGenerated Node #0,2: 86:[97, 68, 40] Operation: 94-54=40\nMoving to Node #0,2\nCurrent State: 86:[97, 68, 40], Operations: ['94-54=40']\nExploring Operation: 68+40=108, Resulting Numbers: [97, 108]\nGenerated Node #0,2,0: 86:[97, 108] Operation: 68+40=108\nMoving to Node #0,2,0\nCurrent State: 86:[97, 108], Operations: ['94-54=40', '68+40=108']\nExploring Operation: 108-97=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[97, 68, 40], Operations: ['94-54=40']\nExploring Operation: 97-40=57, Resulting Numbers: [68, 57]\nGenerated Node #0,2,1: 86:[68, 57] Operation: 97-40=57\nMoving to Node #0,2,1\nCurrent State: 86:[68, 57], Operations: ['94-54=40', '97-40=57']\nExploring Operation: 68+57=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 86:[68, 57], Operations: ['94-54=40', '97-40=57']\nExploring Operation: 68-57=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[97, 68, 40], Operations: ['94-54=40']\nExploring Operation: 97+40=137, Resulting Numbers: [68, 137]\nGenerated Node #0,2,2: 86:[68, 137] Operation: 97+40=137\nMoving to Node #0,2,2\nCurrent State: 86:[68, 137], Operations: ['94-54=40', '97+40=137']\nExploring Operation: 137-68=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[97, 68, 40], Operations: ['94-54=40']\nExploring Operation: 68-40=28, Resulting Numbers: [97, 28]\nGenerated Node #0,2,3: 86:[97, 28] Operation: 68-40=28\nMoving to Node #0,2,3\nCurrent State: 86:[97, 28], Operations: ['94-54=40', '68-40=28']\nExploring Operation: 97-28=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 86:[97, 28], Operations: ['94-54=40', '68-40=28']\nExploring Operation: 97+28=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[97, 68, 40], Operations: ['94-54=40']\nExploring Operation: 97-68=29, Resulting Numbers: [40, 29]\nGenerated Node #0,2,4: 86:[40, 29] Operation: 97-68=29\nMoving to Node #0,2,4\nCurrent State: 86:[40, 29], Operations: ['94-54=40', '97-68=29']\nExploring Operation: 40+29=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 86:[40, 29], Operations: ['94-54=40', '97-68=29']\nExploring Operation: 40-29=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[97, 68, 40], Operations: ['94-54=40']\nExploring Operation: 97+68=165, Resulting Numbers: [40, 165]\nGenerated Node #0,2,5: 86:[40, 165] Operation: 97+68=165\nMoving to Node #0,2,5\nCurrent State: 86:[40, 165], Operations: ['94-54=40', '97+68=165']\nExploring Operation: 165-40=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 97+54=151, Resulting Numbers: [68, 94, 151]\nGenerated Node #0,3: 86:[68, 94, 151] Operation: 97+54=151\nMoving to Node #0,3\nCurrent State: 86:[68, 94, 151], Operations: ['97+54=151']\nExploring Operation: 151-68=83, Resulting Numbers: [94, 83]\nGenerated Node #0,3,0: 86:[94, 83] Operation: 151-68=83\nMoving to Node #0,3,0\nCurrent State: 86:[94, 83], Operations: ['97+54=151', '151-68=83']\nExploring Operation: 94-83=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 86:[68, 94, 151], Operations: ['97+54=151']\nExploring Operation: 151-94=57, Resulting Numbers: [68, 57]\nGenerated Node #0,3,1: 86:[68, 57] Operation: 151-94=57\nMoving to Node #0,3,1\nCurrent State: 86:[68, 57], Operations: ['97+54=151', '151-94=57']\nExploring Operation: 68+57=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 86:[68, 57], Operations: ['97+54=151', '151-94=57']\nExploring Operation: 68-57=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 86:[68, 94, 151], Operations: ['97+54=151']\nExploring Operation: 94-68=26, Resulting Numbers: [151, 26]\nGenerated Node #0,3,2: 86:[151, 26] Operation: 94-68=26\nMoving to Node #0,3,2\nCurrent State: 86:[151, 26], Operations: ['97+54=151', '94-68=26']\nExploring Operation: 151-26=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 86:[68, 94, 151], Operations: ['97+54=151']\nExploring Operation: 68+94=162, Resulting Numbers: [151, 162]\nGenerated Node #0,3,3: 86:[151, 162] Operation: 68+94=162\nMoving to Node #0,3,3\nCurrent State: 86:[151, 162], Operations: ['97+54=151', '68+94=162']\nExploring Operation: 162-151=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 86:[68, 94, 151], Operations: ['97+54=151']\nExploring Operation: 68+151=219, Resulting Numbers: [94, 219]\nGenerated Node #0,3,4: 86:[94, 219] Operation: 68+151=219\nMoving to Node #0,3,4\nCurrent State: 86:[94, 219], Operations: ['97+54=151', '68+151=219']\nExploring Operation: 219-94=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 68-54=14, Resulting Numbers: [97, 94, 14]\nGenerated Node #0,4: 86:[97, 94, 14] Operation: 68-54=14\nMoving to Node #0,4\nCurrent State: 86:[97, 94, 14], Operations: ['68-54=14']\nExploring Operation: 97-14=83, Resulting Numbers: [94, 83]\nGenerated Node #0,4,0: 86:[94, 83] Operation: 97-14=83\nMoving to Node #0,4,0\nCurrent State: 86:[94, 83], Operations: ['68-54=14', '97-14=83']\nExploring Operation: 94-83=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 86:[97, 94, 14], Operations: ['68-54=14']\nExploring Operation: 94-14=80, Resulting Numbers: [97, 80]\nGenerated Node #0,4,1: 86:[97, 80] Operation: 94-14=80\nMoving to Node #0,4,1\nCurrent State: 86:[97, 80], Operations: ['68-54=14', '94-14=80']\nExploring Operation: 97-80=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 86:[97, 94, 14], Operations: ['68-54=14']\nExploring Operation: 97+14=111, Resulting Numbers: [94, 111]\nGenerated Node #0,4,2: 86:[94, 111] Operation: 97+14=111\nMoving to Node #0,4,2\nCurrent State: 86:[94, 111], Operations: ['68-54=14', '97+14=111']\nExploring Operation: 111-94=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 86:[97, 94, 14], Operations: ['68-54=14']\nExploring Operation: 94+14=108, Resulting Numbers: [97, 108]\nGenerated Node #0,4,3: 86:[97, 108] Operation: 94+14=108\nMoving to Node #0,4,3\nCurrent State: 86:[97, 108], Operations: ['68-54=14', '94+14=108']\nExploring Operation: 108-97=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 86:[97, 94, 14], Operations: ['68-54=14']\nExploring Operation: 97-94=3, Resulting Numbers: [14, 3]\nGenerated Node #0,4,4: 86:[14, 3] Operation: 97-94=3\nMoving to Node #0,4,4\nCurrent State: 86:[14, 3], Operations: ['68-54=14', '97-94=3']\nExploring Operation: 14*3=42, Resulting Numbers: [42]\n42,86 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 86:[14, 3], Operations: ['68-54=14', '97-94=3']\nExploring Operation: 14+3=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 86:[14, 3], Operations: ['68-54=14', '97-94=3']\nExploring Operation: 14-3=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 54+94=148, Resulting Numbers: [97, 68, 148]\nGenerated Node #0,5: 86:[97, 68, 148] Operation: 54+94=148\nMoving to Node #0,5\nCurrent State: 86:[97, 68, 148], Operations: ['54+94=148']\nExploring Operation: 148-68=80, Resulting Numbers: [97, 80]\nGenerated Node #0,5,0: 86:[97, 80] Operation: 148-68=80\nMoving to Node #0,5,0\nCurrent State: 86:[97, 80], Operations: ['54+94=148', '148-68=80']\nExploring Operation: 97-80=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 86:[97, 68, 148], Operations: ['54+94=148']\nExploring Operation: 148-97=51, Resulting Numbers: [68, 51]\nGenerated Node #0,5,1: 86:[68, 51] Operation: 148-97=51\nMoving to Node #0,5,1\nCurrent State: 86:[68, 51], Operations: ['54+94=148', '148-97=51']\nExploring Operation: 68+51=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 86:[68, 51], Operations: ['54+94=148', '148-97=51']\nExploring Operation: 68-51=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 86:[97, 68, 148], Operations: ['54+94=148']\nExploring Operation: 97-68=29, Resulting Numbers: [148, 29]\nGenerated Node #0,5,2: 86:[148, 29] Operation: 97-68=29\nMoving to Node #0,5,2\nCurrent State: 86:[148, 29], Operations: ['54+94=148', '97-68=29']\nExploring Operation: 148-29=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 86:[97, 68, 148], Operations: ['54+94=148']\nExploring Operation: 97+68=165, Resulting Numbers: [148, 165]\nGenerated Node #0,5,3: 86:[148, 165] Operation: 97+68=165\nMoving to Node #0,5,3\nCurrent State: 86:[148, 165], Operations: ['54+94=148', '97+68=165']\nExploring Operation: 165-148=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 86:[97, 68, 148], Operations: ['54+94=148']\nExploring Operation: 68+148=216, Resulting Numbers: [97, 216]\nGenerated Node #0,5,4: 86:[97, 216] Operation: 68+148=216\nMoving to Node #0,5,4\nCurrent State: 86:[97, 216], Operations: ['54+94=148', '68+148=216']\nExploring Operation: 216-97=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 97-68=29, Resulting Numbers: [54, 94, 29]\nGenerated Node #0,6: 86:[54, 94, 29] Operation: 97-68=29\nMoving to Node #0,6\nCurrent State: 86:[54, 94, 29], Operations: ['97-68=29']\nExploring Operation: 54+29=83, Resulting Numbers: [94, 83]\nGenerated Node #0,6,0: 86:[94, 83] Operation: 54+29=83\nMoving to Node #0,6,0\nCurrent State: 86:[94, 83], Operations: ['97-68=29', '54+29=83']\nExploring Operation: 94-83=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[54, 94, 29], Operations: ['97-68=29']\nExploring Operation: 94-29=65, Resulting Numbers: [54, 65]\nGenerated Node #0,6,1: 86:[54, 65] Operation: 94-29=65\nMoving to Node #0,6,1\nCurrent State: 86:[54, 65], Operations: ['97-68=29', '94-29=65']\nExploring Operation: 54+65=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 86:[54, 65], Operations: ['97-68=29', '94-29=65']\nExploring Operation: 65-54=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[54, 94, 29], Operations: ['97-68=29']\nExploring Operation: 54-29=25, Resulting Numbers: [94, 25]\nGenerated Node #0,6,2: 86:[94, 25] Operation: 54-29=25\nMoving to Node #0,6,2\nCurrent State: 86:[94, 25], Operations: ['97-68=29', '54-29=25']\nExploring Operation: 94-25=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 86:[94, 25], Operations: ['97-68=29', '54-29=25']\nExploring Operation: 94+25=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[54, 94, 29], Operations: ['97-68=29']\nExploring Operation: 94+29=123, Resulting Numbers: [54, 123]\nGenerated Node #0,6,3: 86:[54, 123] Operation: 94+29=123\nMoving to Node #0,6,3\nCurrent State: 86:[54, 123], Operations: ['97-68=29', '94+29=123']\nExploring Operation: 123-54=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[54, 94, 29], Operations: ['97-68=29']\nExploring Operation: 94-54=40, Resulting Numbers: [29, 40]\nGenerated Node #0,6,4: 86:[29, 40] Operation: 94-54=40\nMoving to Node #0,6,4\nCurrent State: 86:[29, 40], Operations: ['97-68=29', '94-54=40']\nExploring Operation: 29+40=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 86:[29, 40], Operations: ['97-68=29', '94-54=40']\nExploring Operation: 40-29=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[54, 94, 29], Operations: ['97-68=29']\nExploring Operation: 54+94=148, Resulting Numbers: [29, 148]\nGenerated Node #0,6,5: 86:[29, 148] Operation: 54+94=148\nMoving to Node #0,6,5\nCurrent State: 86:[29, 148], Operations: ['97-68=29', '54+94=148']\nExploring Operation: 148-29=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 94-68=26, Resulting Numbers: [97, 54, 26]\nGenerated Node #0,7: 86:[97, 54, 26] Operation: 94-68=26\nMoving to Node #0,7\nCurrent State: 86:[97, 54, 26], Operations: ['94-68=26']\nExploring Operation: 54+26=80, Resulting Numbers: [97, 80]\nGenerated Node #0,7,0: 86:[97, 80] Operation: 54+26=80\nMoving to Node #0,7,0\nCurrent State: 86:[97, 80], Operations: ['94-68=26', '54+26=80']\nExploring Operation: 97-80=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[97, 54, 26], Operations: ['94-68=26']\nExploring Operation: 97-26=71, Resulting Numbers: [54, 71]\nGenerated Node #0,7,1: 86:[54, 71] Operation: 97-26=71\nMoving to Node #0,7,1\nCurrent State: 86:[54, 71], Operations: ['94-68=26', '97-26=71']\nExploring Operation: 54+71=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 86:[54, 71], Operations: ['94-68=26', '97-26=71']\nExploring Operation: 71-54=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[97, 54, 26], Operations: ['94-68=26']\nExploring Operation: 97+26=123, Resulting Numbers: [54, 123]\nGenerated Node #0,7,2: 86:[54, 123] Operation: 97+26=123\nMoving to Node #0,7,2\nCurrent State: 86:[54, 123], Operations: ['94-68=26', '97+26=123']\nExploring Operation: 123-54=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[97, 54, 26], Operations: ['94-68=26']\nExploring Operation: 54-26=28, Resulting Numbers: [97, 28]\nGenerated Node #0,7,3: 86:[97, 28] Operation: 54-26=28\nMoving to Node #0,7,3\nCurrent State: 86:[97, 28], Operations: ['94-68=26', '54-26=28']\nExploring Operation: 97-28=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 86:[97, 28], Operations: ['94-68=26', '54-26=28']\nExploring Operation: 97+28=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[97, 54, 26], Operations: ['94-68=26']\nExploring Operation: 97-54=43, Resulting Numbers: [26, 43]\nGenerated Node #0,7,4: 86:[26, 43] Operation: 97-54=43\nMoving to Node #0,7,4\nCurrent State: 86:[26, 43], Operations: ['94-68=26', '97-54=43']\nExploring Operation: 26+43=69, Resulting Numbers: [69]\n69,86 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 86:[26, 43], Operations: ['94-68=26', '97-54=43']\nExploring Operation: 43-26=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[97, 54, 26], Operations: ['94-68=26']\nExploring Operation: 97+54=151, Resulting Numbers: [26, 151]\nGenerated Node #0,7,5: 86:[26, 151] Operation: 97+54=151\nMoving to Node #0,7,5\nCurrent State: 86:[26, 151], Operations: ['94-68=26', '97+54=151']\nExploring Operation: 151-26=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 97+68=165, Resulting Numbers: [54, 94, 165]\nGenerated Node #0,8: 86:[54, 94, 165] Operation: 97+68=165\nMoving to Node #0,8\nCurrent State: 86:[54, 94, 165], Operations: ['97+68=165']\nExploring Operation: 165-54=111, Resulting Numbers: [94, 111]\nGenerated Node #0,8,0: 86:[94, 111] Operation: 165-54=111\nMoving to Node #0,8,0\nCurrent State: 86:[94, 111], Operations: ['97+68=165', '165-54=111']\nExploring Operation: 111-94=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 86:[54, 94, 165], Operations: ['97+68=165']\nExploring Operation: 165-94=71, Resulting Numbers: [54, 71]\nGenerated Node #0,8,1: 86:[54, 71] Operation: 165-94=71\nMoving to Node #0,8,1\nCurrent State: 86:[54, 71], Operations: ['97+68=165', '165-94=71']\nExploring Operation: 54+71=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 86:[54, 71], Operations: ['97+68=165', '165-94=71']\nExploring Operation: 71-54=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 86:[54, 94, 165], Operations: ['97+68=165']\nExploring Operation: 94-54=40, Resulting Numbers: [165, 40]\nGenerated Node #0,8,2: 86:[165, 40] Operation: 94-54=40\nMoving to Node #0,8,2\nCurrent State: 86:[165, 40], Operations: ['97+68=165', '94-54=40']\nExploring Operation: 165-40=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 86:[54, 94, 165], Operations: ['97+68=165']\nExploring Operation: 54+94=148, Resulting Numbers: [165, 148]\nGenerated Node #0,8,3: 86:[165, 148] Operation: 54+94=148\nMoving to Node #0,8,3\nCurrent State: 86:[165, 148], Operations: ['97+68=165', '54+94=148']\nExploring Operation: 165-148=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 86:[54, 94, 165], Operations: ['97+68=165']\nExploring Operation: 54+165=219, Resulting Numbers: [94, 219]\nGenerated Node #0,8,4: 86:[94, 219] Operation: 54+165=219\nMoving to Node #0,8,4\nCurrent State: 86:[94, 219], Operations: ['97+68=165', '54+165=219']\nExploring Operation: 219-94=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 68+94=162, Resulting Numbers: [97, 54, 162]\nGenerated Node #0,9: 86:[97, 54, 162] Operation: 68+94=162\nMoving to Node #0,9\nCurrent State: 86:[97, 54, 162], Operations: ['68+94=162']\nExploring Operation: 162-54=108, Resulting Numbers: [97, 108]\nGenerated Node #0,9,0: 86:[97, 108] Operation: 162-54=108\nMoving to Node #0,9,0\nCurrent State: 86:[97, 108], Operations: ['68+94=162', '162-54=108']\nExploring Operation: 108-97=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 86:[97, 54, 162], Operations: ['68+94=162']\nExploring Operation: 162-97=65, Resulting Numbers: [54, 65]\nGenerated Node #0,9,1: 86:[54, 65] Operation: 162-97=65\nMoving to Node #0,9,1\nCurrent State: 86:[54, 65], Operations: ['68+94=162', '162-97=65']\nExploring Operation: 54+65=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 86:[54, 65], Operations: ['68+94=162', '162-97=65']\nExploring Operation: 65-54=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 86:[97, 54, 162], Operations: ['68+94=162']\nExploring Operation: 162/54=3, Resulting Numbers: [97, 3]\nGenerated Node #0,9,2: 86:[97, 3] Operation: 162/54=3\nMoving to Node #0,9,2\nCurrent State: 86:[97, 3], Operations: ['68+94=162', '162/54=3']\nExploring Operation: 97-3=94, Resulting Numbers: [94]\n94,86 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 86:[97, 3], Operations: ['68+94=162', '162/54=3']\nExploring Operation: 97+3=100, Resulting Numbers: [100]\n100,86 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 86:[97, 54, 162], Operations: ['68+94=162']\nExploring Operation: 97-54=43, Resulting Numbers: [162, 43]\nGenerated Node #0,9,3: 86:[162, 43] Operation: 97-54=43\nMoving to Node #0,9,3\nCurrent State: 86:[162, 43], Operations: ['68+94=162', '97-54=43']\nExploring Operation: 162-43=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 86:[97, 54, 162], Operations: ['68+94=162']\nExploring Operation: 97+54=151, Resulting Numbers: [162, 151]\nGenerated Node #0,9,4: 86:[162, 151] Operation: 97+54=151\nMoving to Node #0,9,4\nCurrent State: 86:[162, 151], Operations: ['68+94=162', '97+54=151']\nExploring Operation: 162-151=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 86:[97, 54, 162], Operations: ['68+94=162']\nExploring Operation: 54+162=216, Resulting Numbers: [97, 216]\nGenerated Node #0,9,5: 86:[97, 216] Operation: 54+162=216\nMoving to Node #0,9,5\nCurrent State: 86:[97, 216], Operations: ['68+94=162', '54+162=216']\nExploring Operation: 216-97=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[97, 68, 54, 94], Operations: []\nExploring Operation: 97-94=3, Resulting Numbers: [68, 54, 3]\nGenerated Node #0,10: 86:[68, 54, 3] Operation: 97-94=3\nMoving to Node #0,10\nCurrent State: 86:[68, 54, 3], Operations: ['97-94=3']\nExploring Operation: 68+3=71, Resulting Numbers: [54, 71]\nGenerated Node #0,10,0: 86:[54, 71] Operation: 68+3=71\nMoving to Node #0,10,0\nCurrent State: 86:[54, 71], Operations: ['97-94=3', '68+3=71']\nExploring Operation: 54+71=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 86:[54, 71], Operations: ['97-94=3', '68+3=71']\nExploring Operation: 71-54=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 86:[68, 54, 3], Operations: ['97-94=3']\nExploring Operation: 54+3=57, Resulting Numbers: [68, 57]\nGenerated Node #0,10,1: 86:[68, 57] Operation: 54+3=57\nMoving to Node #0,10,1\nCurrent State: 86:[68, 57], Operations: ['97-94=3', '54+3=57']\nExploring Operation: 68+57=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 86:[68, 57], Operations: ['97-94=3', '54+3=57']\nExploring Operation: 68-57=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 86:[68, 54, 3], Operations: ['97-94=3']\nExploring Operation: 68-3=65, Resulting Numbers: [54, 65]\nGenerated Node #0,10,2: 86:[54, 65] Operation: 68-3=65\nMoving to Node #0,10,2\nCurrent State: 86:[54, 65], Operations: ['97-94=3', '68-3=65']\nExploring Operation: 54+65=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 86:[54, 65], Operations: ['97-94=3', '68-3=65']\nExploring Operation: 65-54=11, Resulting Numbers: [11]\n11,86 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 86:[68, 54, 3], Operations: ['97-94=3']\nExploring Operation: 54-3=51, Resulting Numbers: [68, 51]\nGenerated Node #0,10,3: 86:[68, 51] Operation: 54-3=51\nMoving to Node #0,10,3\nCurrent State: 86:[68, 51], Operations: ['97-94=3', '54-3=51']\nExploring Operation: 68+51=119, Resulting Numbers: [119]\n119,86 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 86:[68, 51], Operations: ['97-94=3', '54-3=51']\nExploring Operation: 68-51=17, Resulting Numbers: [17]\n17,86 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 86:[68, 54, 3], Operations: ['97-94=3']\nExploring Operation: 54/3=18, Resulting Numbers: [68, 18]\nGenerated Node #0,10,4: 86:[68, 18] Operation: 54/3=18\nMoving to Node #0,10,4\nCurrent State: 86:[68, 18], Operations: ['97-94=3', '54/3=18']\nExploring Operation: 68+18=86, Resulting Numbers: [86]\n86,86 equal: Goal Reached\n", "role": "assistant" } ]
[ 83, 2, 72, 56 ]
51
[ "72-56=16", "2*16=32", "83-32=51" ]
Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [83, 56, 36] Generated Node #0,0: 51:[83, 56, 36] Operation: 72/2=36 Moving to Node #0,0 Current State: 51:[83, 56, 36], Operations: ['72/2=36'] Exploring Operation: 83-36=47, Resulting Numbers: [56, 47] Generated Node #0,0,0: 51:[56, 47] Operation: 83-36=47 Moving to Node #0,0,0 Current State: 51:[56, 47], Operations: ['72/2=36', '83-36=47'] Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,0 Current State: 51:[83, 56, 36], Operations: ['72/2=36'] Exploring Operation: 83-56=27, Resulting Numbers: [36, 27] Generated Node #0,0,1: 51:[36, 27] Operation: 83-56=27 Moving to Node #0,0,1 Current State: 51:[36, 27], Operations: ['72/2=36', '83-56=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[36, 27], Operations: ['72/2=36', '83-56=27'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,0 Current State: 51:[83, 56, 36], Operations: ['72/2=36'] Exploring Operation: 56-36=20, Resulting Numbers: [83, 20] Generated Node #0,0,2: 51:[83, 20] Operation: 56-36=20 Moving to Node #0,0,2 Current State: 51:[83, 20], Operations: ['72/2=36', '56-36=20'] Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,51 unequal: No Solution Moving to Node #0,0 Current State: 51:[83, 56, 36], Operations: ['72/2=36'] Exploring Operation: 83+36=119, Resulting Numbers: [56, 119] Generated Node #0,0,3: 51:[56, 119] Operation: 83+36=119 Moving to Node #0,0,3 Current State: 51:[56, 119], Operations: ['72/2=36', '83+36=119'] Exploring Operation: 119-56=63, Resulting Numbers: [63] 63,51 unequal: No Solution Moving to Node #0,0 Current State: 51:[83, 56, 36], Operations: ['72/2=36'] Exploring Operation: 56+36=92, Resulting Numbers: [83, 92] Generated Node #0,0,4: 51:[83, 92] Operation: 56+36=92 Moving to Node #0,0,4 Current State: 51:[83, 92], Operations: ['72/2=36', '56+36=92'] Exploring Operation: 92-83=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 83-2=81, Resulting Numbers: [72, 56, 81] Generated Node #0,1: 51:[72, 56, 81] Operation: 83-2=81 Moving to Node #0,1 Current State: 51:[72, 56, 81], Operations: ['83-2=81'] Exploring Operation: 81-72=9, Resulting Numbers: [56, 9] Generated Node #0,1,0: 51:[56, 9] Operation: 81-72=9 Moving to Node #0,1,0 Current State: 51:[56, 9], Operations: ['83-2=81', '81-72=9'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[56, 9], Operations: ['83-2=81', '81-72=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,1 Current State: 51:[72, 56, 81], Operations: ['83-2=81'] Exploring Operation: 81-56=25, Resulting Numbers: [72, 25] Generated Node #0,1,1: 51:[72, 25] Operation: 81-56=25 Moving to Node #0,1,1 Current State: 51:[72, 25], Operations: ['83-2=81', '81-56=25'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[72, 25], Operations: ['83-2=81', '81-56=25'] Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,51 unequal: No Solution Moving to Node #0,1 Current State: 51:[72, 56, 81], Operations: ['83-2=81'] Exploring Operation: 72-56=16, Resulting Numbers: [81, 16] Generated Node #0,1,2: 51:[81, 16] Operation: 72-56=16 Moving to Node #0,1,2 Current State: 51:[81, 16], Operations: ['83-2=81', '72-56=16'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[81, 16], Operations: ['83-2=81', '72-56=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 72-2=70, Resulting Numbers: [83, 56, 70] Generated Node #0,2: 51:[83, 56, 70] Operation: 72-2=70 Moving to Node #0,2 Current State: 51:[83, 56, 70], Operations: ['72-2=70'] Exploring Operation: 83-56=27, Resulting Numbers: [70, 27] Generated Node #0,2,0: 51:[70, 27] Operation: 83-56=27 Moving to Node #0,2,0 Current State: 51:[70, 27], Operations: ['72-2=70', '83-56=27'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[70, 27], Operations: ['72-2=70', '83-56=27'] Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,51 unequal: No Solution Moving to Node #0,2 Current State: 51:[83, 56, 70], Operations: ['72-2=70'] Exploring Operation: 83-70=13, Resulting Numbers: [56, 13] Generated Node #0,2,1: 51:[56, 13] Operation: 83-70=13 Moving to Node #0,2,1 Current State: 51:[56, 13], Operations: ['72-2=70', '83-70=13'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[56, 13], Operations: ['72-2=70', '83-70=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,2 Current State: 51:[83, 56, 70], Operations: ['72-2=70'] Exploring Operation: 70-56=14, Resulting Numbers: [83, 14] Generated Node #0,2,2: 51:[83, 14] Operation: 70-56=14 Moving to Node #0,2,2 Current State: 51:[83, 14], Operations: ['72-2=70', '70-56=14'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[83, 14], Operations: ['72-2=70', '70-56=14'] Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 56-2=54, Resulting Numbers: [83, 72, 54] Generated Node #0,3: 51:[83, 72, 54] Operation: 56-2=54 Moving to Node #0,3 Current State: 51:[83, 72, 54], Operations: ['56-2=54'] Exploring Operation: 83-72=11, Resulting Numbers: [54, 11] Generated Node #0,3,0: 51:[54, 11] Operation: 83-72=11 Moving to Node #0,3,0 Current State: 51:[54, 11], Operations: ['56-2=54', '83-72=11'] Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[54, 11], Operations: ['56-2=54', '83-72=11'] Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,3 Current State: 51:[83, 72, 54], Operations: ['56-2=54'] Exploring Operation: 83-54=29, Resulting Numbers: [72, 29] Generated Node #0,3,1: 51:[72, 29] Operation: 83-54=29 Moving to Node #0,3,1 Current State: 51:[72, 29], Operations: ['56-2=54', '83-54=29'] Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[72, 29], Operations: ['56-2=54', '83-54=29'] Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0,3 Current State: 51:[83, 72, 54], Operations: ['56-2=54'] Exploring Operation: 72-54=18, Resulting Numbers: [83, 18] Generated Node #0,3,2: 51:[83, 18] Operation: 72-54=18 Moving to Node #0,3,2 Current State: 51:[83, 18], Operations: ['56-2=54', '72-54=18'] Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[83, 18], Operations: ['56-2=54', '72-54=18'] Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 83+2=85, Resulting Numbers: [72, 56, 85] Generated Node #0,4: 51:[72, 56, 85] Operation: 83+2=85 Moving to Node #0,4 Current State: 51:[72, 56, 85], Operations: ['83+2=85'] Exploring Operation: 85-72=13, Resulting Numbers: [56, 13] Generated Node #0,4,0: 51:[56, 13] Operation: 85-72=13 Moving to Node #0,4,0 Current State: 51:[56, 13], Operations: ['83+2=85', '85-72=13'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[56, 13], Operations: ['83+2=85', '85-72=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,4 Current State: 51:[72, 56, 85], Operations: ['83+2=85'] Exploring Operation: 85-56=29, Resulting Numbers: [72, 29] Generated Node #0,4,1: 51:[72, 29] Operation: 85-56=29 Moving to Node #0,4,1 Current State: 51:[72, 29], Operations: ['83+2=85', '85-56=29'] Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,4,1 Current State: 51:[72, 29], Operations: ['83+2=85', '85-56=29'] Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0,4 Current State: 51:[72, 56, 85], Operations: ['83+2=85'] Exploring Operation: 72-56=16, Resulting Numbers: [85, 16] Generated Node #0,4,2: 51:[85, 16] Operation: 72-56=16 Moving to Node #0,4,2 Current State: 51:[85, 16], Operations: ['83+2=85', '72-56=16'] Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[85, 16], Operations: ['83+2=85', '72-56=16'] Exploring Operation: 85+16=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 2+72=74, Resulting Numbers: [83, 56, 74] Generated Node #0,5: 51:[83, 56, 74] Operation: 2+72=74 Moving to Node #0,5 Current State: 51:[83, 56, 74], Operations: ['2+72=74'] Exploring Operation: 83-56=27, Resulting Numbers: [74, 27] Generated Node #0,5,0: 51:[74, 27] Operation: 83-56=27 Moving to Node #0,5,0 Current State: 51:[74, 27], Operations: ['2+72=74', '83-56=27'] Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,5,0 Current State: 51:[74, 27], Operations: ['2+72=74', '83-56=27'] Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0,5 Current State: 51:[83, 56, 74], Operations: ['2+72=74'] Exploring Operation: 83-74=9, Resulting Numbers: [56, 9] Generated Node #0,5,1: 51:[56, 9] Operation: 83-74=9 Moving to Node #0,5,1 Current State: 51:[56, 9], Operations: ['2+72=74', '83-74=9'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,5,1 Current State: 51:[56, 9], Operations: ['2+72=74', '83-74=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,5 Current State: 51:[83, 56, 74], Operations: ['2+72=74'] Exploring Operation: 74-56=18, Resulting Numbers: [83, 18] Generated Node #0,5,2: 51:[83, 18] Operation: 74-56=18 Moving to Node #0,5,2 Current State: 51:[83, 18], Operations: ['2+72=74', '74-56=18'] Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,5,2 Current State: 51:[83, 18], Operations: ['2+72=74', '74-56=18'] Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 2+56=58, Resulting Numbers: [83, 72, 58] Generated Node #0,6: 51:[83, 72, 58] Operation: 2+56=58 Moving to Node #0,6 Current State: 51:[83, 72, 58], Operations: ['2+56=58'] Exploring Operation: 83-72=11, Resulting Numbers: [58, 11] Generated Node #0,6,0: 51:[58, 11] Operation: 83-72=11 Moving to Node #0,6,0 Current State: 51:[58, 11], Operations: ['2+56=58', '83-72=11'] Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,6,0 Current State: 51:[58, 11], Operations: ['2+56=58', '83-72=11'] Exploring Operation: 58+11=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,6 Current State: 51:[83, 72, 58], Operations: ['2+56=58'] Exploring Operation: 83-58=25, Resulting Numbers: [72, 25] Generated Node #0,6,1: 51:[72, 25] Operation: 83-58=25 Moving to Node #0,6,1 Current State: 51:[72, 25], Operations: ['2+56=58', '83-58=25'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,6,1 Current State: 51:[72, 25], Operations: ['2+56=58', '83-58=25'] Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,51 unequal: No Solution Moving to Node #0,6 Current State: 51:[83, 72, 58], Operations: ['2+56=58'] Exploring Operation: 72-58=14, Resulting Numbers: [83, 14] Generated Node #0,6,2: 51:[83, 14] Operation: 72-58=14 Moving to Node #0,6,2 Current State: 51:[83, 14], Operations: ['2+56=58', '72-58=14'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,6,2 Current State: 51:[83, 14], Operations: ['2+56=58', '72-58=14'] Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [83, 72, 28] Generated Node #0,7: 51:[83, 72, 28] Operation: 56/2=28 Moving to Node #0,7 Current State: 51:[83, 72, 28], Operations: ['56/2=28'] Exploring Operation: 83-28=55, Resulting Numbers: [72, 55] Generated Node #0,7,0: 51:[72, 55] Operation: 83-28=55 Moving to Node #0,7,0 Current State: 51:[72, 55], Operations: ['56/2=28', '83-28=55'] Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,51 unequal: No Solution Moving to Node #0,7 Current State: 51:[83, 72, 28], Operations: ['56/2=28'] Exploring Operation: 72-28=44, Resulting Numbers: [83, 44] Generated Node #0,7,1: 51:[83, 44] Operation: 72-28=44 Moving to Node #0,7,1 Current State: 51:[83, 44], Operations: ['56/2=28', '72-28=44'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,51 unequal: No Solution Moving to Node #0,7 Current State: 51:[83, 72, 28], Operations: ['56/2=28'] Exploring Operation: 83-72=11, Resulting Numbers: [28, 11] Generated Node #0,7,2: 51:[28, 11] Operation: 83-72=11 Moving to Node #0,7,2 Current State: 51:[28, 11], Operations: ['56/2=28', '83-72=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,51 unequal: No Solution Moving to Node #0,7,2 Current State: 51:[28, 11], Operations: ['56/2=28', '83-72=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,51 unequal: No Solution Moving to Node #0,7 Current State: 51:[83, 72, 28], Operations: ['56/2=28'] Exploring Operation: 83+28=111, Resulting Numbers: [72, 111] Generated Node #0,7,3: 51:[72, 111] Operation: 83+28=111 Moving to Node #0,7,3 Current State: 51:[72, 111], Operations: ['56/2=28', '83+28=111'] Exploring Operation: 111-72=39, Resulting Numbers: [39] 39,51 unequal: No Solution Moving to Node #0,7 Current State: 51:[83, 72, 28], Operations: ['56/2=28'] Exploring Operation: 72+28=100, Resulting Numbers: [83, 100] Generated Node #0,7,4: 51:[83, 100] Operation: 72+28=100 Moving to Node #0,7,4 Current State: 51:[83, 100], Operations: ['56/2=28', '72+28=100'] Exploring Operation: 100-83=17, Resulting Numbers: [17] 17,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [2, 56, 11] Generated Node #0,8: 51:[2, 56, 11] Operation: 83-72=11 Moving to Node #0,8 Current State: 51:[2, 56, 11], Operations: ['83-72=11'] Exploring Operation: 2*11=22, Resulting Numbers: [56, 22] Generated Node #0,8,0: 51:[56, 22] Operation: 2*11=22 Moving to Node #0,8,0 Current State: 51:[56, 22], Operations: ['83-72=11', '2*11=22'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,51 unequal: No Solution Moving to Node #0,8,0 Current State: 51:[56, 22], Operations: ['83-72=11', '2*11=22'] Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,51 unequal: No Solution Moving to Node #0,8 Current State: 51:[2, 56, 11], Operations: ['83-72=11'] Exploring Operation: 56-2=54, Resulting Numbers: [11, 54] Generated Node #0,8,1: 51:[11, 54] Operation: 56-2=54 Moving to Node #0,8,1 Current State: 51:[11, 54], Operations: ['83-72=11', '56-2=54'] Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,8,1 Current State: 51:[11, 54], Operations: ['83-72=11', '56-2=54'] Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,8 Current State: 51:[2, 56, 11], Operations: ['83-72=11'] Exploring Operation: 2+11=13, Resulting Numbers: [56, 13] Generated Node #0,8,2: 51:[56, 13] Operation: 2+11=13 Moving to Node #0,8,2 Current State: 51:[56, 13], Operations: ['83-72=11', '2+11=13'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,8,2 Current State: 51:[56, 13], Operations: ['83-72=11', '2+11=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,8 Current State: 51:[2, 56, 11], Operations: ['83-72=11'] Exploring Operation: 2+56=58, Resulting Numbers: [11, 58] Generated Node #0,8,3: 51:[11, 58] Operation: 2+56=58 Moving to Node #0,8,3 Current State: 51:[11, 58], Operations: ['83-72=11', '2+56=58'] Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,8,3 Current State: 51:[11, 58], Operations: ['83-72=11', '2+56=58'] Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,8 Current State: 51:[2, 56, 11], Operations: ['83-72=11'] Exploring Operation: 11-2=9, Resulting Numbers: [56, 9] Generated Node #0,8,4: 51:[56, 9] Operation: 11-2=9 Moving to Node #0,8,4 Current State: 51:[56, 9], Operations: ['83-72=11', '11-2=9'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,8,4 Current State: 51:[56, 9], Operations: ['83-72=11', '11-2=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,8 Current State: 51:[2, 56, 11], Operations: ['83-72=11'] Exploring Operation: 56-11=45, Resulting Numbers: [2, 45] Generated Node #0,8,5: 51:[2, 45] Operation: 56-11=45 Moving to Node #0,8,5 Current State: 51:[2, 45], Operations: ['83-72=11', '56-11=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,8,5 Current State: 51:[2, 45], Operations: ['83-72=11', '56-11=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,8,5 Current State: 51:[2, 45], Operations: ['83-72=11', '56-11=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,51 unequal: No Solution Moving to Node #0,8 Current State: 51:[2, 56, 11], Operations: ['83-72=11'] Exploring Operation: 56/2=28, Resulting Numbers: [11, 28] Generated Node #0,8,6: 51:[11, 28] Operation: 56/2=28 Moving to Node #0,8,6 Current State: 51:[11, 28], Operations: ['83-72=11', '56/2=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,51 unequal: No Solution Moving to Node #0,8,6 Current State: 51:[11, 28], Operations: ['83-72=11', '56/2=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,51 unequal: No Solution Moving to Node #0,8 Current State: 51:[2, 56, 11], Operations: ['83-72=11'] Exploring Operation: 56+11=67, Resulting Numbers: [2, 67] Generated Node #0,8,7: 51:[2, 67] Operation: 56+11=67 Moving to Node #0,8,7 Current State: 51:[2, 67], Operations: ['83-72=11', '56+11=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,8,7 Current State: 51:[2, 67], Operations: ['83-72=11', '56+11=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,8 Current State: 51:[2, 56, 11], Operations: ['83-72=11'] Exploring Operation: 2*56=112, Resulting Numbers: [11, 112] Generated Node #0,8,8: 51:[11, 112] Operation: 2*56=112 Moving to Node #0,8,8 Current State: 51:[11, 112], Operations: ['83-72=11', '2*56=112'] Exploring Operation: 112-11=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [2, 72, 27] Generated Node #0,9: 51:[2, 72, 27] Operation: 83-56=27 Moving to Node #0,9 Current State: 51:[2, 72, 27], Operations: ['83-56=27'] Exploring Operation: 2*27=54, Resulting Numbers: [72, 54] Generated Node #0,9,0: 51:[72, 54] Operation: 2*27=54 Moving to Node #0,9,0 Current State: 51:[72, 54], Operations: ['83-56=27', '2*27=54'] Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,51 unequal: No Solution Moving to Node #0,9 Current State: 51:[2, 72, 27], Operations: ['83-56=27'] Exploring Operation: 72/2=36, Resulting Numbers: [27, 36] Generated Node #0,9,1: 51:[27, 36] Operation: 72/2=36 Moving to Node #0,9,1 Current State: 51:[27, 36], Operations: ['83-56=27', '72/2=36'] Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,51 unequal: No Solution Moving to Node #0,9,1 Current State: 51:[27, 36], Operations: ['83-56=27', '72/2=36'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,9 Current State: 51:[2, 72, 27], Operations: ['83-56=27'] Exploring Operation: 72-2=70, Resulting Numbers: [27, 70] Generated Node #0,9,2: 51:[27, 70] Operation: 72-2=70 Moving to Node #0,9,2 Current State: 51:[27, 70], Operations: ['83-56=27', '72-2=70'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,9,2 Current State: 51:[27, 70], Operations: ['83-56=27', '72-2=70'] Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,51 unequal: No Solution Moving to Node #0,9 Current State: 51:[2, 72, 27], Operations: ['83-56=27'] Exploring Operation: 2+27=29, Resulting Numbers: [72, 29] Generated Node #0,9,3: 51:[72, 29] Operation: 2+27=29 Moving to Node #0,9,3 Current State: 51:[72, 29], Operations: ['83-56=27', '2+27=29'] Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,9,3 Current State: 51:[72, 29], Operations: ['83-56=27', '2+27=29'] Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0,9 Current State: 51:[2, 72, 27], Operations: ['83-56=27'] Exploring Operation: 2+72=74, Resulting Numbers: [27, 74] Generated Node #0,9,4: 51:[27, 74] Operation: 2+72=74 Moving to Node #0,9,4 Current State: 51:[27, 74], Operations: ['83-56=27', '2+72=74'] Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,9,4 Current State: 51:[27, 74], Operations: ['83-56=27', '2+72=74'] Exploring Operation: 27+74=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0,9 Current State: 51:[2, 72, 27], Operations: ['83-56=27'] Exploring Operation: 27-2=25, Resulting Numbers: [72, 25] Generated Node #0,9,5: 51:[72, 25] Operation: 27-2=25 Moving to Node #0,9,5 Current State: 51:[72, 25], Operations: ['83-56=27', '27-2=25'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,9,5 Current State: 51:[72, 25], Operations: ['83-56=27', '27-2=25'] Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,51 unequal: No Solution Moving to Node #0,9 Current State: 51:[2, 72, 27], Operations: ['83-56=27'] Exploring Operation: 72-27=45, Resulting Numbers: [2, 45] Generated Node #0,9,6: 51:[2, 45] Operation: 72-27=45 Moving to Node #0,9,6 Current State: 51:[2, 45], Operations: ['83-56=27', '72-27=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,9,6 Current State: 51:[2, 45], Operations: ['83-56=27', '72-27=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,9,6 Current State: 51:[2, 45], Operations: ['83-56=27', '72-27=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,51 unequal: No Solution Moving to Node #0,9 Current State: 51:[2, 72, 27], Operations: ['83-56=27'] Exploring Operation: 72+27=99, Resulting Numbers: [2, 99] Generated Node #0,9,7: 51:[2, 99] Operation: 72+27=99 Moving to Node #0,9,7 Current State: 51:[2, 99], Operations: ['83-56=27', '72+27=99'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,51 unequal: No Solution Moving to Node #0,9,7 Current State: 51:[2, 99], Operations: ['83-56=27', '72+27=99'] Exploring Operation: 2+99=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 2*56=112, Resulting Numbers: [83, 72, 112] Generated Node #0,10: 51:[83, 72, 112] Operation: 2*56=112 Moving to Node #0,10 Current State: 51:[83, 72, 112], Operations: ['2*56=112'] Exploring Operation: 112-83=29, Resulting Numbers: [72, 29] Generated Node #0,10,0: 51:[72, 29] Operation: 112-83=29 Moving to Node #0,10,0 Current State: 51:[72, 29], Operations: ['2*56=112', '112-83=29'] Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,10,0 Current State: 51:[72, 29], Operations: ['2*56=112', '112-83=29'] Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0,10 Current State: 51:[83, 72, 112], Operations: ['2*56=112'] Exploring Operation: 112-72=40, Resulting Numbers: [83, 40] Generated Node #0,10,1: 51:[83, 40] Operation: 112-72=40 Moving to Node #0,10,1 Current State: 51:[83, 40], Operations: ['2*56=112', '112-72=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,10 Current State: 51:[83, 72, 112], Operations: ['2*56=112'] Exploring Operation: 83-72=11, Resulting Numbers: [112, 11] Generated Node #0,10,2: 51:[112, 11] Operation: 83-72=11 Moving to Node #0,10,2 Current State: 51:[112, 11], Operations: ['2*56=112', '83-72=11'] Exploring Operation: 112-11=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0 Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 72-56=16, Resulting Numbers: [83, 2, 16] Generated Node #0,11: 51:[83, 2, 16] Operation: 72-56=16 Moving to Node #0,11 Current State: 51:[83, 2, 16], Operations: ['72-56=16'] Exploring Operation: 2*16=32, Resulting Numbers: [83, 32] Generated Node #0,11,0: 51:[83, 32] Operation: 2*16=32 Moving to Node #0,11,0 Current State: 51:[83, 32], Operations: ['72-56=16', '2*16=32'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.87066
dfs
Current State: 51:[83, 2, 72, 56], Operations: [] Exploring Operation: 72-56=16, Resulting Numbers: [83, 2, 16] Generated Node #2: [83, 2, 16] from Operation: 72-56=16 Current State: 51:[83, 2, 16], Operations: ['72-56=16'] Exploring Operation: 2*16=32, Resulting Numbers: [83, 32] Generated Node #3: [83, 32] from Operation: 2*16=32 Current State: 51:[83, 32], Operations: ['72-56=16', '2*16=32'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
sum_heuristic
[ { "content": "Make 51 with the numbers [83, 2, 72, 56] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 72/2=36, Resulting Numbers: [83, 56, 36]\nGenerated Node #0,0: 51:[83, 56, 36] Operation: 72/2=36\nMoving to Node #0,0\nCurrent State: 51:[83, 56, 36], Operations: ['72/2=36']\nExploring Operation: 83-36=47, Resulting Numbers: [56, 47]\nGenerated Node #0,0,0: 51:[56, 47] Operation: 83-36=47\nMoving to Node #0,0,0\nCurrent State: 51:[56, 47], Operations: ['72/2=36', '83-36=47']\nExploring Operation: 56-47=9, Resulting Numbers: [9]\n9,51 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 51:[83, 56, 36], Operations: ['72/2=36']\nExploring Operation: 83-56=27, Resulting Numbers: [36, 27]\nGenerated Node #0,0,1: 51:[36, 27] Operation: 83-56=27\nMoving to Node #0,0,1\nCurrent State: 51:[36, 27], Operations: ['72/2=36', '83-56=27']\nExploring Operation: 36+27=63, Resulting Numbers: [63]\n63,51 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 51:[36, 27], Operations: ['72/2=36', '83-56=27']\nExploring Operation: 36-27=9, Resulting Numbers: [9]\n9,51 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 51:[83, 56, 36], Operations: ['72/2=36']\nExploring Operation: 56-36=20, Resulting Numbers: [83, 20]\nGenerated Node #0,0,2: 51:[83, 20] Operation: 56-36=20\nMoving to Node #0,0,2\nCurrent State: 51:[83, 20], Operations: ['72/2=36', '56-36=20']\nExploring Operation: 83-20=63, Resulting Numbers: [63]\n63,51 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 51:[83, 56, 36], Operations: ['72/2=36']\nExploring Operation: 83+36=119, Resulting Numbers: [56, 119]\nGenerated Node #0,0,3: 51:[56, 119] Operation: 83+36=119\nMoving to Node #0,0,3\nCurrent State: 51:[56, 119], Operations: ['72/2=36', '83+36=119']\nExploring Operation: 119-56=63, Resulting Numbers: [63]\n63,51 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 51:[83, 56, 36], Operations: ['72/2=36']\nExploring Operation: 56+36=92, Resulting Numbers: [83, 92]\nGenerated Node #0,0,4: 51:[83, 92] Operation: 56+36=92\nMoving to Node #0,0,4\nCurrent State: 51:[83, 92], Operations: ['72/2=36', '56+36=92']\nExploring Operation: 92-83=9, Resulting Numbers: [9]\n9,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 83-2=81, Resulting Numbers: [72, 56, 81]\nGenerated Node #0,1: 51:[72, 56, 81] Operation: 83-2=81\nMoving to Node #0,1\nCurrent State: 51:[72, 56, 81], Operations: ['83-2=81']\nExploring Operation: 81-72=9, Resulting Numbers: [56, 9]\nGenerated Node #0,1,0: 51:[56, 9] Operation: 81-72=9\nMoving to Node #0,1,0\nCurrent State: 51:[56, 9], Operations: ['83-2=81', '81-72=9']\nExploring Operation: 56-9=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 51:[56, 9], Operations: ['83-2=81', '81-72=9']\nExploring Operation: 56+9=65, Resulting Numbers: [65]\n65,51 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 51:[72, 56, 81], Operations: ['83-2=81']\nExploring Operation: 81-56=25, Resulting Numbers: [72, 25]\nGenerated Node #0,1,1: 51:[72, 25] Operation: 81-56=25\nMoving to Node #0,1,1\nCurrent State: 51:[72, 25], Operations: ['83-2=81', '81-56=25']\nExploring Operation: 72-25=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 51:[72, 25], Operations: ['83-2=81', '81-56=25']\nExploring Operation: 72+25=97, Resulting Numbers: [97]\n97,51 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 51:[72, 56, 81], Operations: ['83-2=81']\nExploring Operation: 72-56=16, Resulting Numbers: [81, 16]\nGenerated Node #0,1,2: 51:[81, 16] Operation: 72-56=16\nMoving to Node #0,1,2\nCurrent State: 51:[81, 16], Operations: ['83-2=81', '72-56=16']\nExploring Operation: 81-16=65, Resulting Numbers: [65]\n65,51 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 51:[81, 16], Operations: ['83-2=81', '72-56=16']\nExploring Operation: 81+16=97, Resulting Numbers: [97]\n97,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 72-2=70, Resulting Numbers: [83, 56, 70]\nGenerated Node #0,2: 51:[83, 56, 70] Operation: 72-2=70\nMoving to Node #0,2\nCurrent State: 51:[83, 56, 70], Operations: ['72-2=70']\nExploring Operation: 83-56=27, Resulting Numbers: [70, 27]\nGenerated Node #0,2,0: 51:[70, 27] Operation: 83-56=27\nMoving to Node #0,2,0\nCurrent State: 51:[70, 27], Operations: ['72-2=70', '83-56=27']\nExploring Operation: 70-27=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 51:[70, 27], Operations: ['72-2=70', '83-56=27']\nExploring Operation: 70+27=97, Resulting Numbers: [97]\n97,51 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 51:[83, 56, 70], Operations: ['72-2=70']\nExploring Operation: 83-70=13, Resulting Numbers: [56, 13]\nGenerated Node #0,2,1: 51:[56, 13] Operation: 83-70=13\nMoving to Node #0,2,1\nCurrent State: 51:[56, 13], Operations: ['72-2=70', '83-70=13']\nExploring Operation: 56-13=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 51:[56, 13], Operations: ['72-2=70', '83-70=13']\nExploring Operation: 56+13=69, Resulting Numbers: [69]\n69,51 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 51:[83, 56, 70], Operations: ['72-2=70']\nExploring Operation: 70-56=14, Resulting Numbers: [83, 14]\nGenerated Node #0,2,2: 51:[83, 14] Operation: 70-56=14\nMoving to Node #0,2,2\nCurrent State: 51:[83, 14], Operations: ['72-2=70', '70-56=14']\nExploring Operation: 83-14=69, Resulting Numbers: [69]\n69,51 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 51:[83, 14], Operations: ['72-2=70', '70-56=14']\nExploring Operation: 83+14=97, Resulting Numbers: [97]\n97,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 56-2=54, Resulting Numbers: [83, 72, 54]\nGenerated Node #0,3: 51:[83, 72, 54] Operation: 56-2=54\nMoving to Node #0,3\nCurrent State: 51:[83, 72, 54], Operations: ['56-2=54']\nExploring Operation: 83-72=11, Resulting Numbers: [54, 11]\nGenerated Node #0,3,0: 51:[54, 11] Operation: 83-72=11\nMoving to Node #0,3,0\nCurrent State: 51:[54, 11], Operations: ['56-2=54', '83-72=11']\nExploring Operation: 54-11=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 51:[54, 11], Operations: ['56-2=54', '83-72=11']\nExploring Operation: 54+11=65, Resulting Numbers: [65]\n65,51 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 51:[83, 72, 54], Operations: ['56-2=54']\nExploring Operation: 83-54=29, Resulting Numbers: [72, 29]\nGenerated Node #0,3,1: 51:[72, 29] Operation: 83-54=29\nMoving to Node #0,3,1\nCurrent State: 51:[72, 29], Operations: ['56-2=54', '83-54=29']\nExploring Operation: 72-29=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 51:[72, 29], Operations: ['56-2=54', '83-54=29']\nExploring Operation: 72+29=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 51:[83, 72, 54], Operations: ['56-2=54']\nExploring Operation: 72-54=18, Resulting Numbers: [83, 18]\nGenerated Node #0,3,2: 51:[83, 18] Operation: 72-54=18\nMoving to Node #0,3,2\nCurrent State: 51:[83, 18], Operations: ['56-2=54', '72-54=18']\nExploring Operation: 83-18=65, Resulting Numbers: [65]\n65,51 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 51:[83, 18], Operations: ['56-2=54', '72-54=18']\nExploring Operation: 83+18=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 83+2=85, Resulting Numbers: [72, 56, 85]\nGenerated Node #0,4: 51:[72, 56, 85] Operation: 83+2=85\nMoving to Node #0,4\nCurrent State: 51:[72, 56, 85], Operations: ['83+2=85']\nExploring Operation: 85-72=13, Resulting Numbers: [56, 13]\nGenerated Node #0,4,0: 51:[56, 13] Operation: 85-72=13\nMoving to Node #0,4,0\nCurrent State: 51:[56, 13], Operations: ['83+2=85', '85-72=13']\nExploring Operation: 56-13=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 51:[56, 13], Operations: ['83+2=85', '85-72=13']\nExploring Operation: 56+13=69, Resulting Numbers: [69]\n69,51 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 51:[72, 56, 85], Operations: ['83+2=85']\nExploring Operation: 85-56=29, Resulting Numbers: [72, 29]\nGenerated Node #0,4,1: 51:[72, 29] Operation: 85-56=29\nMoving to Node #0,4,1\nCurrent State: 51:[72, 29], Operations: ['83+2=85', '85-56=29']\nExploring Operation: 72-29=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 51:[72, 29], Operations: ['83+2=85', '85-56=29']\nExploring Operation: 72+29=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 51:[72, 56, 85], Operations: ['83+2=85']\nExploring Operation: 72-56=16, Resulting Numbers: [85, 16]\nGenerated Node #0,4,2: 51:[85, 16] Operation: 72-56=16\nMoving to Node #0,4,2\nCurrent State: 51:[85, 16], Operations: ['83+2=85', '72-56=16']\nExploring Operation: 85-16=69, Resulting Numbers: [69]\n69,51 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 51:[85, 16], Operations: ['83+2=85', '72-56=16']\nExploring Operation: 85+16=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 2+72=74, Resulting Numbers: [83, 56, 74]\nGenerated Node #0,5: 51:[83, 56, 74] Operation: 2+72=74\nMoving to Node #0,5\nCurrent State: 51:[83, 56, 74], Operations: ['2+72=74']\nExploring Operation: 83-56=27, Resulting Numbers: [74, 27]\nGenerated Node #0,5,0: 51:[74, 27] Operation: 83-56=27\nMoving to Node #0,5,0\nCurrent State: 51:[74, 27], Operations: ['2+72=74', '83-56=27']\nExploring Operation: 74-27=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 51:[74, 27], Operations: ['2+72=74', '83-56=27']\nExploring Operation: 74+27=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 51:[83, 56, 74], Operations: ['2+72=74']\nExploring Operation: 83-74=9, Resulting Numbers: [56, 9]\nGenerated Node #0,5,1: 51:[56, 9] Operation: 83-74=9\nMoving to Node #0,5,1\nCurrent State: 51:[56, 9], Operations: ['2+72=74', '83-74=9']\nExploring Operation: 56-9=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 51:[56, 9], Operations: ['2+72=74', '83-74=9']\nExploring Operation: 56+9=65, Resulting Numbers: [65]\n65,51 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 51:[83, 56, 74], Operations: ['2+72=74']\nExploring Operation: 74-56=18, Resulting Numbers: [83, 18]\nGenerated Node #0,5,2: 51:[83, 18] Operation: 74-56=18\nMoving to Node #0,5,2\nCurrent State: 51:[83, 18], Operations: ['2+72=74', '74-56=18']\nExploring Operation: 83-18=65, Resulting Numbers: [65]\n65,51 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 51:[83, 18], Operations: ['2+72=74', '74-56=18']\nExploring Operation: 83+18=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 2+56=58, Resulting Numbers: [83, 72, 58]\nGenerated Node #0,6: 51:[83, 72, 58] Operation: 2+56=58\nMoving to Node #0,6\nCurrent State: 51:[83, 72, 58], Operations: ['2+56=58']\nExploring Operation: 83-72=11, Resulting Numbers: [58, 11]\nGenerated Node #0,6,0: 51:[58, 11] Operation: 83-72=11\nMoving to Node #0,6,0\nCurrent State: 51:[58, 11], Operations: ['2+56=58', '83-72=11']\nExploring Operation: 58-11=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 51:[58, 11], Operations: ['2+56=58', '83-72=11']\nExploring Operation: 58+11=69, Resulting Numbers: [69]\n69,51 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 51:[83, 72, 58], Operations: ['2+56=58']\nExploring Operation: 83-58=25, Resulting Numbers: [72, 25]\nGenerated Node #0,6,1: 51:[72, 25] Operation: 83-58=25\nMoving to Node #0,6,1\nCurrent State: 51:[72, 25], Operations: ['2+56=58', '83-58=25']\nExploring Operation: 72-25=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 51:[72, 25], Operations: ['2+56=58', '83-58=25']\nExploring Operation: 72+25=97, Resulting Numbers: [97]\n97,51 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 51:[83, 72, 58], Operations: ['2+56=58']\nExploring Operation: 72-58=14, Resulting Numbers: [83, 14]\nGenerated Node #0,6,2: 51:[83, 14] Operation: 72-58=14\nMoving to Node #0,6,2\nCurrent State: 51:[83, 14], Operations: ['2+56=58', '72-58=14']\nExploring Operation: 83-14=69, Resulting Numbers: [69]\n69,51 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 51:[83, 14], Operations: ['2+56=58', '72-58=14']\nExploring Operation: 83+14=97, Resulting Numbers: [97]\n97,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 56/2=28, Resulting Numbers: [83, 72, 28]\nGenerated Node #0,7: 51:[83, 72, 28] Operation: 56/2=28\nMoving to Node #0,7\nCurrent State: 51:[83, 72, 28], Operations: ['56/2=28']\nExploring Operation: 83-28=55, Resulting Numbers: [72, 55]\nGenerated Node #0,7,0: 51:[72, 55] Operation: 83-28=55\nMoving to Node #0,7,0\nCurrent State: 51:[72, 55], Operations: ['56/2=28', '83-28=55']\nExploring Operation: 72-55=17, Resulting Numbers: [17]\n17,51 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 51:[83, 72, 28], Operations: ['56/2=28']\nExploring Operation: 72-28=44, Resulting Numbers: [83, 44]\nGenerated Node #0,7,1: 51:[83, 44] Operation: 72-28=44\nMoving to Node #0,7,1\nCurrent State: 51:[83, 44], Operations: ['56/2=28', '72-28=44']\nExploring Operation: 83-44=39, Resulting Numbers: [39]\n39,51 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 51:[83, 72, 28], Operations: ['56/2=28']\nExploring Operation: 83-72=11, Resulting Numbers: [28, 11]\nGenerated Node #0,7,2: 51:[28, 11] Operation: 83-72=11\nMoving to Node #0,7,2\nCurrent State: 51:[28, 11], Operations: ['56/2=28', '83-72=11']\nExploring Operation: 28+11=39, Resulting Numbers: [39]\n39,51 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 51:[28, 11], Operations: ['56/2=28', '83-72=11']\nExploring Operation: 28-11=17, Resulting Numbers: [17]\n17,51 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 51:[83, 72, 28], Operations: ['56/2=28']\nExploring Operation: 83+28=111, Resulting Numbers: [72, 111]\nGenerated Node #0,7,3: 51:[72, 111] Operation: 83+28=111\nMoving to Node #0,7,3\nCurrent State: 51:[72, 111], Operations: ['56/2=28', '83+28=111']\nExploring Operation: 111-72=39, Resulting Numbers: [39]\n39,51 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 51:[83, 72, 28], Operations: ['56/2=28']\nExploring Operation: 72+28=100, Resulting Numbers: [83, 100]\nGenerated Node #0,7,4: 51:[83, 100] Operation: 72+28=100\nMoving to Node #0,7,4\nCurrent State: 51:[83, 100], Operations: ['56/2=28', '72+28=100']\nExploring Operation: 100-83=17, Resulting Numbers: [17]\n17,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 83-72=11, Resulting Numbers: [2, 56, 11]\nGenerated Node #0,8: 51:[2, 56, 11] Operation: 83-72=11\nMoving to Node #0,8\nCurrent State: 51:[2, 56, 11], Operations: ['83-72=11']\nExploring Operation: 2*11=22, Resulting Numbers: [56, 22]\nGenerated Node #0,8,0: 51:[56, 22] Operation: 2*11=22\nMoving to Node #0,8,0\nCurrent State: 51:[56, 22], Operations: ['83-72=11', '2*11=22']\nExploring Operation: 56-22=34, Resulting Numbers: [34]\n34,51 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 51:[56, 22], Operations: ['83-72=11', '2*11=22']\nExploring Operation: 56+22=78, Resulting Numbers: [78]\n78,51 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 51:[2, 56, 11], Operations: ['83-72=11']\nExploring Operation: 56-2=54, Resulting Numbers: [11, 54]\nGenerated Node #0,8,1: 51:[11, 54] Operation: 56-2=54\nMoving to Node #0,8,1\nCurrent State: 51:[11, 54], Operations: ['83-72=11', '56-2=54']\nExploring Operation: 54-11=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 51:[11, 54], Operations: ['83-72=11', '56-2=54']\nExploring Operation: 11+54=65, Resulting Numbers: [65]\n65,51 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 51:[2, 56, 11], Operations: ['83-72=11']\nExploring Operation: 2+11=13, Resulting Numbers: [56, 13]\nGenerated Node #0,8,2: 51:[56, 13] Operation: 2+11=13\nMoving to Node #0,8,2\nCurrent State: 51:[56, 13], Operations: ['83-72=11', '2+11=13']\nExploring Operation: 56-13=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 51:[56, 13], Operations: ['83-72=11', '2+11=13']\nExploring Operation: 56+13=69, Resulting Numbers: [69]\n69,51 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 51:[2, 56, 11], Operations: ['83-72=11']\nExploring Operation: 2+56=58, Resulting Numbers: [11, 58]\nGenerated Node #0,8,3: 51:[11, 58] Operation: 2+56=58\nMoving to Node #0,8,3\nCurrent State: 51:[11, 58], Operations: ['83-72=11', '2+56=58']\nExploring Operation: 58-11=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 51:[11, 58], Operations: ['83-72=11', '2+56=58']\nExploring Operation: 11+58=69, Resulting Numbers: [69]\n69,51 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 51:[2, 56, 11], Operations: ['83-72=11']\nExploring Operation: 11-2=9, Resulting Numbers: [56, 9]\nGenerated Node #0,8,4: 51:[56, 9] Operation: 11-2=9\nMoving to Node #0,8,4\nCurrent State: 51:[56, 9], Operations: ['83-72=11', '11-2=9']\nExploring Operation: 56-9=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 51:[56, 9], Operations: ['83-72=11', '11-2=9']\nExploring Operation: 56+9=65, Resulting Numbers: [65]\n65,51 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 51:[2, 56, 11], Operations: ['83-72=11']\nExploring Operation: 56-11=45, Resulting Numbers: [2, 45]\nGenerated Node #0,8,5: 51:[2, 45] Operation: 56-11=45\nMoving to Node #0,8,5\nCurrent State: 51:[2, 45], Operations: ['83-72=11', '56-11=45']\nExploring Operation: 2+45=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 51:[2, 45], Operations: ['83-72=11', '56-11=45']\nExploring Operation: 45-2=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 51:[2, 45], Operations: ['83-72=11', '56-11=45']\nExploring Operation: 2*45=90, Resulting Numbers: [90]\n90,51 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 51:[2, 56, 11], Operations: ['83-72=11']\nExploring Operation: 56/2=28, Resulting Numbers: [11, 28]\nGenerated Node #0,8,6: 51:[11, 28] Operation: 56/2=28\nMoving to Node #0,8,6\nCurrent State: 51:[11, 28], Operations: ['83-72=11', '56/2=28']\nExploring Operation: 11+28=39, Resulting Numbers: [39]\n39,51 unequal: No Solution\nMoving to Node #0,8,6\nCurrent State: 51:[11, 28], Operations: ['83-72=11', '56/2=28']\nExploring Operation: 28-11=17, Resulting Numbers: [17]\n17,51 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 51:[2, 56, 11], Operations: ['83-72=11']\nExploring Operation: 56+11=67, Resulting Numbers: [2, 67]\nGenerated Node #0,8,7: 51:[2, 67] Operation: 56+11=67\nMoving to Node #0,8,7\nCurrent State: 51:[2, 67], Operations: ['83-72=11', '56+11=67']\nExploring Operation: 67-2=65, Resulting Numbers: [65]\n65,51 unequal: No Solution\nMoving to Node #0,8,7\nCurrent State: 51:[2, 67], Operations: ['83-72=11', '56+11=67']\nExploring Operation: 2+67=69, Resulting Numbers: [69]\n69,51 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 51:[2, 56, 11], Operations: ['83-72=11']\nExploring Operation: 2*56=112, Resulting Numbers: [11, 112]\nGenerated Node #0,8,8: 51:[11, 112] Operation: 2*56=112\nMoving to Node #0,8,8\nCurrent State: 51:[11, 112], Operations: ['83-72=11', '2*56=112']\nExploring Operation: 112-11=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 83-56=27, Resulting Numbers: [2, 72, 27]\nGenerated Node #0,9: 51:[2, 72, 27] Operation: 83-56=27\nMoving to Node #0,9\nCurrent State: 51:[2, 72, 27], Operations: ['83-56=27']\nExploring Operation: 2*27=54, Resulting Numbers: [72, 54]\nGenerated Node #0,9,0: 51:[72, 54] Operation: 2*27=54\nMoving to Node #0,9,0\nCurrent State: 51:[72, 54], Operations: ['83-56=27', '2*27=54']\nExploring Operation: 72-54=18, Resulting Numbers: [18]\n18,51 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 51:[2, 72, 27], Operations: ['83-56=27']\nExploring Operation: 72/2=36, Resulting Numbers: [27, 36]\nGenerated Node #0,9,1: 51:[27, 36] Operation: 72/2=36\nMoving to Node #0,9,1\nCurrent State: 51:[27, 36], Operations: ['83-56=27', '72/2=36']\nExploring Operation: 27+36=63, Resulting Numbers: [63]\n63,51 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 51:[27, 36], Operations: ['83-56=27', '72/2=36']\nExploring Operation: 36-27=9, Resulting Numbers: [9]\n9,51 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 51:[2, 72, 27], Operations: ['83-56=27']\nExploring Operation: 72-2=70, Resulting Numbers: [27, 70]\nGenerated Node #0,9,2: 51:[27, 70] Operation: 72-2=70\nMoving to Node #0,9,2\nCurrent State: 51:[27, 70], Operations: ['83-56=27', '72-2=70']\nExploring Operation: 70-27=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 51:[27, 70], Operations: ['83-56=27', '72-2=70']\nExploring Operation: 27+70=97, Resulting Numbers: [97]\n97,51 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 51:[2, 72, 27], Operations: ['83-56=27']\nExploring Operation: 2+27=29, Resulting Numbers: [72, 29]\nGenerated Node #0,9,3: 51:[72, 29] Operation: 2+27=29\nMoving to Node #0,9,3\nCurrent State: 51:[72, 29], Operations: ['83-56=27', '2+27=29']\nExploring Operation: 72-29=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 51:[72, 29], Operations: ['83-56=27', '2+27=29']\nExploring Operation: 72+29=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 51:[2, 72, 27], Operations: ['83-56=27']\nExploring Operation: 2+72=74, Resulting Numbers: [27, 74]\nGenerated Node #0,9,4: 51:[27, 74] Operation: 2+72=74\nMoving to Node #0,9,4\nCurrent State: 51:[27, 74], Operations: ['83-56=27', '2+72=74']\nExploring Operation: 74-27=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 51:[27, 74], Operations: ['83-56=27', '2+72=74']\nExploring Operation: 27+74=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 51:[2, 72, 27], Operations: ['83-56=27']\nExploring Operation: 27-2=25, Resulting Numbers: [72, 25]\nGenerated Node #0,9,5: 51:[72, 25] Operation: 27-2=25\nMoving to Node #0,9,5\nCurrent State: 51:[72, 25], Operations: ['83-56=27', '27-2=25']\nExploring Operation: 72-25=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,9,5\nCurrent State: 51:[72, 25], Operations: ['83-56=27', '27-2=25']\nExploring Operation: 72+25=97, Resulting Numbers: [97]\n97,51 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 51:[2, 72, 27], Operations: ['83-56=27']\nExploring Operation: 72-27=45, Resulting Numbers: [2, 45]\nGenerated Node #0,9,6: 51:[2, 45] Operation: 72-27=45\nMoving to Node #0,9,6\nCurrent State: 51:[2, 45], Operations: ['83-56=27', '72-27=45']\nExploring Operation: 2+45=47, Resulting Numbers: [47]\n47,51 unequal: No Solution\nMoving to Node #0,9,6\nCurrent State: 51:[2, 45], Operations: ['83-56=27', '72-27=45']\nExploring Operation: 45-2=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,9,6\nCurrent State: 51:[2, 45], Operations: ['83-56=27', '72-27=45']\nExploring Operation: 2*45=90, Resulting Numbers: [90]\n90,51 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 51:[2, 72, 27], Operations: ['83-56=27']\nExploring Operation: 72+27=99, Resulting Numbers: [2, 99]\nGenerated Node #0,9,7: 51:[2, 99] Operation: 72+27=99\nMoving to Node #0,9,7\nCurrent State: 51:[2, 99], Operations: ['83-56=27', '72+27=99']\nExploring Operation: 99-2=97, Resulting Numbers: [97]\n97,51 unequal: No Solution\nMoving to Node #0,9,7\nCurrent State: 51:[2, 99], Operations: ['83-56=27', '72+27=99']\nExploring Operation: 2+99=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 2*56=112, Resulting Numbers: [83, 72, 112]\nGenerated Node #0,10: 51:[83, 72, 112] Operation: 2*56=112\nMoving to Node #0,10\nCurrent State: 51:[83, 72, 112], Operations: ['2*56=112']\nExploring Operation: 112-83=29, Resulting Numbers: [72, 29]\nGenerated Node #0,10,0: 51:[72, 29] Operation: 112-83=29\nMoving to Node #0,10,0\nCurrent State: 51:[72, 29], Operations: ['2*56=112', '112-83=29']\nExploring Operation: 72-29=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 51:[72, 29], Operations: ['2*56=112', '112-83=29']\nExploring Operation: 72+29=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 51:[83, 72, 112], Operations: ['2*56=112']\nExploring Operation: 112-72=40, Resulting Numbers: [83, 40]\nGenerated Node #0,10,1: 51:[83, 40] Operation: 112-72=40\nMoving to Node #0,10,1\nCurrent State: 51:[83, 40], Operations: ['2*56=112', '112-72=40']\nExploring Operation: 83-40=43, Resulting Numbers: [43]\n43,51 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 51:[83, 72, 112], Operations: ['2*56=112']\nExploring Operation: 83-72=11, Resulting Numbers: [112, 11]\nGenerated Node #0,10,2: 51:[112, 11] Operation: 83-72=11\nMoving to Node #0,10,2\nCurrent State: 51:[112, 11], Operations: ['2*56=112', '83-72=11']\nExploring Operation: 112-11=101, Resulting Numbers: [101]\n101,51 unequal: No Solution\nMoving to Node #0\nCurrent State: 51:[83, 2, 72, 56], Operations: []\nExploring Operation: 72-56=16, Resulting Numbers: [83, 2, 16]\nGenerated Node #0,11: 51:[83, 2, 16] Operation: 72-56=16\nMoving to Node #0,11\nCurrent State: 51:[83, 2, 16], Operations: ['72-56=16']\nExploring Operation: 2*16=32, Resulting Numbers: [83, 32]\nGenerated Node #0,11,0: 51:[83, 32] Operation: 2*16=32\nMoving to Node #0,11,0\nCurrent State: 51:[83, 32], Operations: ['72-56=16', '2*16=32']\nExploring Operation: 83-32=51, Resulting Numbers: [51]\n51,51 equal: Goal Reached\n", "role": "assistant" } ]
[ 90, 47, 55, 67 ]
79
[ "90-47=43", "55+67=122", "122-43=79" ]
Current State: 79:[90, 47, 55, 67], Operations: [] Exploring Operation: 47+55=102, Resulting Numbers: [90, 67, 102] Generated Node #0,0: 79:[90, 67, 102] Operation: 47+55=102 Moving to Node #0,0 Current State: 79:[90, 67, 102], Operations: ['47+55=102'] Exploring Operation: 102-67=35, Resulting Numbers: [90, 35] Generated Node #0,0,0: 79:[90, 35] Operation: 102-67=35 Moving to Node #0,0,0 Current State: 79:[90, 35], Operations: ['47+55=102', '102-67=35'] Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[90, 35], Operations: ['47+55=102', '102-67=35'] Exploring Operation: 90+35=125, Resulting Numbers: [125] 125,79 unequal: No Solution Moving to Node #0,0 Current State: 79:[90, 67, 102], Operations: ['47+55=102'] Exploring Operation: 90-67=23, Resulting Numbers: [102, 23] Generated Node #0,0,1: 79:[102, 23] Operation: 90-67=23 Moving to Node #0,0,1 Current State: 79:[102, 23], Operations: ['47+55=102', '90-67=23'] Exploring Operation: 102-23=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.993924
dfs
Current State: 79:[90, 47, 55, 67], Operations: [] Exploring Operation: 90-47=43, Resulting Numbers: [55, 67, 43] Generated Node #2: [55, 67, 43] from Operation: 90-47=43 Current State: 79:[55, 67, 43], Operations: ['90-47=43'] Exploring Operation: 55+67=122, Resulting Numbers: [43, 122] Generated Node #3: [43, 122] from Operation: 55+67=122 Current State: 79:[43, 122], Operations: ['90-47=43', '55+67=122'] Exploring Operation: 122-43=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
sum_heuristic
[ { "content": "Make 79 with the numbers [90, 47, 55, 67] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 79:[90, 47, 55, 67], Operations: []\nExploring Operation: 47+55=102, Resulting Numbers: [90, 67, 102]\nGenerated Node #0,0: 79:[90, 67, 102] Operation: 47+55=102\nMoving to Node #0,0\nCurrent State: 79:[90, 67, 102], Operations: ['47+55=102']\nExploring Operation: 102-67=35, Resulting Numbers: [90, 35]\nGenerated Node #0,0,0: 79:[90, 35] Operation: 102-67=35\nMoving to Node #0,0,0\nCurrent State: 79:[90, 35], Operations: ['47+55=102', '102-67=35']\nExploring Operation: 90-35=55, Resulting Numbers: [55]\n55,79 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 79:[90, 35], Operations: ['47+55=102', '102-67=35']\nExploring Operation: 90+35=125, Resulting Numbers: [125]\n125,79 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 79:[90, 67, 102], Operations: ['47+55=102']\nExploring Operation: 90-67=23, Resulting Numbers: [102, 23]\nGenerated Node #0,0,1: 79:[102, 23] Operation: 90-67=23\nMoving to Node #0,0,1\nCurrent State: 79:[102, 23], Operations: ['47+55=102', '90-67=23']\nExploring Operation: 102-23=79, Resulting Numbers: [79]\n79,79 equal: Goal Reached\n", "role": "assistant" } ]
[ 50, 48, 58, 34 ]
61
[ "50-34=16", "48/16=3", "58+3=61" ]
Current State: 61:[50, 48, 58, 34], Operations: [] Exploring Operation: 48+34=82, Resulting Numbers: [50, 58, 82] Generated Node #0,0: 61:[50, 58, 82] Operation: 48+34=82 Moving to Node #0,0 Current State: 61:[50, 58, 82], Operations: ['48+34=82'] Exploring Operation: 82-50=32, Resulting Numbers: [58, 32] Generated Node #0,0,0: 61:[58, 32] Operation: 82-50=32 Moving to Node #0,0,0 Current State: 61:[58, 32], Operations: ['48+34=82', '82-50=32'] Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[58, 32], Operations: ['48+34=82', '82-50=32'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[50, 58, 82], Operations: ['48+34=82'] Exploring Operation: 82-58=24, Resulting Numbers: [50, 24] Generated Node #0,0,1: 61:[50, 24] Operation: 82-58=24 Moving to Node #0,0,1 Current State: 61:[50, 24], Operations: ['48+34=82', '82-58=24'] Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[50, 24], Operations: ['48+34=82', '82-58=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[50, 58, 82], Operations: ['48+34=82'] Exploring Operation: 50+58=108, Resulting Numbers: [82, 108] Generated Node #0,0,2: 61:[82, 108] Operation: 50+58=108 Moving to Node #0,0,2 Current State: 61:[82, 108], Operations: ['48+34=82', '50+58=108'] Exploring Operation: 108-82=26, Resulting Numbers: [26] 26,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[50, 58, 82], Operations: ['48+34=82'] Exploring Operation: 58-50=8, Resulting Numbers: [82, 8] Generated Node #0,0,3: 61:[82, 8] Operation: 58-50=8 Moving to Node #0,0,3 Current State: 61:[82, 8], Operations: ['48+34=82', '58-50=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[82, 8], Operations: ['48+34=82', '58-50=8'] Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[50, 58, 82], Operations: ['48+34=82'] Exploring Operation: 50+82=132, Resulting Numbers: [58, 132] Generated Node #0,0,4: 61:[58, 132] Operation: 50+82=132 Moving to Node #0,0,4 Current State: 61:[58, 132], Operations: ['48+34=82', '50+82=132'] Exploring Operation: 132-58=74, Resulting Numbers: [74] 74,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[50, 58, 82], Operations: ['48+34=82'] Exploring Operation: 58+82=140, Resulting Numbers: [50, 140] Generated Node #0,0,5: 61:[50, 140] Operation: 58+82=140 Moving to Node #0,0,5 Current State: 61:[50, 140], Operations: ['48+34=82', '58+82=140'] Exploring Operation: 140-50=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0 Current State: 61:[50, 48, 58, 34], Operations: [] Exploring Operation: 50+34=84, Resulting Numbers: [48, 58, 84] Generated Node #0,1: 61:[48, 58, 84] Operation: 50+34=84 Moving to Node #0,1 Current State: 61:[48, 58, 84], Operations: ['50+34=84'] Exploring Operation: 84-48=36, Resulting Numbers: [58, 36] Generated Node #0,1,0: 61:[58, 36] Operation: 84-48=36 Moving to Node #0,1,0 Current State: 61:[58, 36], Operations: ['50+34=84', '84-48=36'] Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[58, 36], Operations: ['50+34=84', '84-48=36'] Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[48, 58, 84], Operations: ['50+34=84'] Exploring Operation: 84-58=26, Resulting Numbers: [48, 26] Generated Node #0,1,1: 61:[48, 26] Operation: 84-58=26 Moving to Node #0,1,1 Current State: 61:[48, 26], Operations: ['50+34=84', '84-58=26'] Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[48, 26], Operations: ['50+34=84', '84-58=26'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[48, 58, 84], Operations: ['50+34=84'] Exploring Operation: 48+58=106, Resulting Numbers: [84, 106] Generated Node #0,1,2: 61:[84, 106] Operation: 48+58=106 Moving to Node #0,1,2 Current State: 61:[84, 106], Operations: ['50+34=84', '48+58=106'] Exploring Operation: 106-84=22, Resulting Numbers: [22] 22,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[48, 58, 84], Operations: ['50+34=84'] Exploring Operation: 58-48=10, Resulting Numbers: [84, 10] Generated Node #0,1,3: 61:[84, 10] Operation: 58-48=10 Moving to Node #0,1,3 Current State: 61:[84, 10], Operations: ['50+34=84', '58-48=10'] Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[84, 10], Operations: ['50+34=84', '58-48=10'] Exploring Operation: 84+10=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[48, 58, 84], Operations: ['50+34=84'] Exploring Operation: 48+84=132, Resulting Numbers: [58, 132] Generated Node #0,1,4: 61:[58, 132] Operation: 48+84=132 Moving to Node #0,1,4 Current State: 61:[58, 132], Operations: ['50+34=84', '48+84=132'] Exploring Operation: 132-58=74, Resulting Numbers: [74] 74,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[48, 58, 84], Operations: ['50+34=84'] Exploring Operation: 58+84=142, Resulting Numbers: [48, 142] Generated Node #0,1,5: 61:[48, 142] Operation: 58+84=142 Moving to Node #0,1,5 Current State: 61:[48, 142], Operations: ['50+34=84', '58+84=142'] Exploring Operation: 142-48=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0 Current State: 61:[50, 48, 58, 34], Operations: [] Exploring Operation: 58+34=92, Resulting Numbers: [50, 48, 92] Generated Node #0,2: 61:[50, 48, 92] Operation: 58+34=92 Moving to Node #0,2 Current State: 61:[50, 48, 92], Operations: ['58+34=92'] Exploring Operation: 92-48=44, Resulting Numbers: [50, 44] Generated Node #0,2,0: 61:[50, 44] Operation: 92-48=44 Moving to Node #0,2,0 Current State: 61:[50, 44], Operations: ['58+34=92', '92-48=44'] Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[50, 44], Operations: ['58+34=92', '92-48=44'] Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[50, 48, 92], Operations: ['58+34=92'] Exploring Operation: 92-50=42, Resulting Numbers: [48, 42] Generated Node #0,2,1: 61:[48, 42] Operation: 92-50=42 Moving to Node #0,2,1 Current State: 61:[48, 42], Operations: ['58+34=92', '92-50=42'] Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[48, 42], Operations: ['58+34=92', '92-50=42'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[50, 48, 92], Operations: ['58+34=92'] Exploring Operation: 50+48=98, Resulting Numbers: [92, 98] Generated Node #0,2,2: 61:[92, 98] Operation: 50+48=98 Moving to Node #0,2,2 Current State: 61:[92, 98], Operations: ['58+34=92', '50+48=98'] Exploring Operation: 98-92=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[50, 48, 92], Operations: ['58+34=92'] Exploring Operation: 50-48=2, Resulting Numbers: [92, 2] Generated Node #0,2,3: 61:[92, 2] Operation: 50-48=2 Moving to Node #0,2,3 Current State: 61:[92, 2], Operations: ['58+34=92', '50-48=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[92, 2], Operations: ['58+34=92', '50-48=2'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[92, 2], Operations: ['58+34=92', '50-48=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[50, 48, 92], Operations: ['58+34=92'] Exploring Operation: 48+92=140, Resulting Numbers: [50, 140] Generated Node #0,2,4: 61:[50, 140] Operation: 48+92=140 Moving to Node #0,2,4 Current State: 61:[50, 140], Operations: ['58+34=92', '48+92=140'] Exploring Operation: 140-50=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[50, 48, 92], Operations: ['58+34=92'] Exploring Operation: 50+92=142, Resulting Numbers: [48, 142] Generated Node #0,2,5: 61:[48, 142] Operation: 50+92=142 Moving to Node #0,2,5 Current State: 61:[48, 142], Operations: ['58+34=92', '50+92=142'] Exploring Operation: 142-48=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0 Current State: 61:[50, 48, 58, 34], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [48, 58, 16] Generated Node #0,3: 61:[48, 58, 16] Operation: 50-34=16 Moving to Node #0,3 Current State: 61:[48, 58, 16], Operations: ['50-34=16'] Exploring Operation: 48+16=64, Resulting Numbers: [58, 64] Generated Node #0,3,0: 61:[58, 64] Operation: 48+16=64 Moving to Node #0,3,0 Current State: 61:[58, 64], Operations: ['50-34=16', '48+16=64'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[58, 64], Operations: ['50-34=16', '48+16=64'] Exploring Operation: 58+64=122, Resulting Numbers: [122] 122,61 unequal: No Solution Moving to Node #0,3 Current State: 61:[48, 58, 16], Operations: ['50-34=16'] Exploring Operation: 58+16=74, Resulting Numbers: [48, 74] Generated Node #0,3,1: 61:[48, 74] Operation: 58+16=74 Moving to Node #0,3,1 Current State: 61:[48, 74], Operations: ['50-34=16', '58+16=74'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[48, 74], Operations: ['50-34=16', '58+16=74'] Exploring Operation: 48+74=122, Resulting Numbers: [122] 122,61 unequal: No Solution Moving to Node #0,3 Current State: 61:[48, 58, 16], Operations: ['50-34=16'] Exploring Operation: 48-16=32, Resulting Numbers: [58, 32] Generated Node #0,3,2: 61:[58, 32] Operation: 48-16=32 Moving to Node #0,3,2 Current State: 61:[58, 32], Operations: ['50-34=16', '48-16=32'] Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[58, 32], Operations: ['50-34=16', '48-16=32'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,61 unequal: No Solution Moving to Node #0,3 Current State: 61:[48, 58, 16], Operations: ['50-34=16'] Exploring Operation: 58-16=42, Resulting Numbers: [48, 42] Generated Node #0,3,3: 61:[48, 42] Operation: 58-16=42 Moving to Node #0,3,3 Current State: 61:[48, 42], Operations: ['50-34=16', '58-16=42'] Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[48, 42], Operations: ['50-34=16', '58-16=42'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,61 unequal: No Solution Moving to Node #0,3 Current State: 61:[48, 58, 16], Operations: ['50-34=16'] Exploring Operation: 48/16=3, Resulting Numbers: [58, 3] Generated Node #0,3,4: 61:[58, 3] Operation: 48/16=3 Moving to Node #0,3,4 Current State: 61:[58, 3], Operations: ['50-34=16', '48/16=3'] Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.943576
dfs
Current State: 61:[50, 48, 58, 34], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [48, 58, 16] Generated Node #2: [48, 58, 16] from Operation: 50-34=16 Current State: 61:[48, 58, 16], Operations: ['50-34=16'] Exploring Operation: 48/16=3, Resulting Numbers: [58, 3] Generated Node #3: [58, 3] from Operation: 48/16=3 Current State: 61:[58, 3], Operations: ['50-34=16', '48/16=3'] Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
sum_heuristic
[ { "content": "Make 61 with the numbers [50, 48, 58, 34] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 61:[50, 48, 58, 34], Operations: []\nExploring Operation: 48+34=82, Resulting Numbers: [50, 58, 82]\nGenerated Node #0,0: 61:[50, 58, 82] Operation: 48+34=82\nMoving to Node #0,0\nCurrent State: 61:[50, 58, 82], Operations: ['48+34=82']\nExploring Operation: 82-50=32, Resulting Numbers: [58, 32]\nGenerated Node #0,0,0: 61:[58, 32] Operation: 82-50=32\nMoving to Node #0,0,0\nCurrent State: 61:[58, 32], Operations: ['48+34=82', '82-50=32']\nExploring Operation: 58+32=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 61:[58, 32], Operations: ['48+34=82', '82-50=32']\nExploring Operation: 58-32=26, Resulting Numbers: [26]\n26,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[50, 58, 82], Operations: ['48+34=82']\nExploring Operation: 82-58=24, Resulting Numbers: [50, 24]\nGenerated Node #0,0,1: 61:[50, 24] Operation: 82-58=24\nMoving to Node #0,0,1\nCurrent State: 61:[50, 24], Operations: ['48+34=82', '82-58=24']\nExploring Operation: 50+24=74, Resulting Numbers: [74]\n74,61 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 61:[50, 24], Operations: ['48+34=82', '82-58=24']\nExploring Operation: 50-24=26, Resulting Numbers: [26]\n26,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[50, 58, 82], Operations: ['48+34=82']\nExploring Operation: 50+58=108, Resulting Numbers: [82, 108]\nGenerated Node #0,0,2: 61:[82, 108] Operation: 50+58=108\nMoving to Node #0,0,2\nCurrent State: 61:[82, 108], Operations: ['48+34=82', '50+58=108']\nExploring Operation: 108-82=26, Resulting Numbers: [26]\n26,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[50, 58, 82], Operations: ['48+34=82']\nExploring Operation: 58-50=8, Resulting Numbers: [82, 8]\nGenerated Node #0,0,3: 61:[82, 8] Operation: 58-50=8\nMoving to Node #0,0,3\nCurrent State: 61:[82, 8], Operations: ['48+34=82', '58-50=8']\nExploring Operation: 82-8=74, Resulting Numbers: [74]\n74,61 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 61:[82, 8], Operations: ['48+34=82', '58-50=8']\nExploring Operation: 82+8=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[50, 58, 82], Operations: ['48+34=82']\nExploring Operation: 50+82=132, Resulting Numbers: [58, 132]\nGenerated Node #0,0,4: 61:[58, 132] Operation: 50+82=132\nMoving to Node #0,0,4\nCurrent State: 61:[58, 132], Operations: ['48+34=82', '50+82=132']\nExploring Operation: 132-58=74, Resulting Numbers: [74]\n74,61 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 61:[50, 58, 82], Operations: ['48+34=82']\nExploring Operation: 58+82=140, Resulting Numbers: [50, 140]\nGenerated Node #0,0,5: 61:[50, 140] Operation: 58+82=140\nMoving to Node #0,0,5\nCurrent State: 61:[50, 140], Operations: ['48+34=82', '58+82=140']\nExploring Operation: 140-50=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0\nCurrent State: 61:[50, 48, 58, 34], Operations: []\nExploring Operation: 50+34=84, Resulting Numbers: [48, 58, 84]\nGenerated Node #0,1: 61:[48, 58, 84] Operation: 50+34=84\nMoving to Node #0,1\nCurrent State: 61:[48, 58, 84], Operations: ['50+34=84']\nExploring Operation: 84-48=36, Resulting Numbers: [58, 36]\nGenerated Node #0,1,0: 61:[58, 36] Operation: 84-48=36\nMoving to Node #0,1,0\nCurrent State: 61:[58, 36], Operations: ['50+34=84', '84-48=36']\nExploring Operation: 58+36=94, Resulting Numbers: [94]\n94,61 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 61:[58, 36], Operations: ['50+34=84', '84-48=36']\nExploring Operation: 58-36=22, Resulting Numbers: [22]\n22,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[48, 58, 84], Operations: ['50+34=84']\nExploring Operation: 84-58=26, Resulting Numbers: [48, 26]\nGenerated Node #0,1,1: 61:[48, 26] Operation: 84-58=26\nMoving to Node #0,1,1\nCurrent State: 61:[48, 26], Operations: ['50+34=84', '84-58=26']\nExploring Operation: 48+26=74, Resulting Numbers: [74]\n74,61 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 61:[48, 26], Operations: ['50+34=84', '84-58=26']\nExploring Operation: 48-26=22, Resulting Numbers: [22]\n22,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[48, 58, 84], Operations: ['50+34=84']\nExploring Operation: 48+58=106, Resulting Numbers: [84, 106]\nGenerated Node #0,1,2: 61:[84, 106] Operation: 48+58=106\nMoving to Node #0,1,2\nCurrent State: 61:[84, 106], Operations: ['50+34=84', '48+58=106']\nExploring Operation: 106-84=22, Resulting Numbers: [22]\n22,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[48, 58, 84], Operations: ['50+34=84']\nExploring Operation: 58-48=10, Resulting Numbers: [84, 10]\nGenerated Node #0,1,3: 61:[84, 10] Operation: 58-48=10\nMoving to Node #0,1,3\nCurrent State: 61:[84, 10], Operations: ['50+34=84', '58-48=10']\nExploring Operation: 84-10=74, Resulting Numbers: [74]\n74,61 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 61:[84, 10], Operations: ['50+34=84', '58-48=10']\nExploring Operation: 84+10=94, Resulting Numbers: [94]\n94,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[48, 58, 84], Operations: ['50+34=84']\nExploring Operation: 48+84=132, Resulting Numbers: [58, 132]\nGenerated Node #0,1,4: 61:[58, 132] Operation: 48+84=132\nMoving to Node #0,1,4\nCurrent State: 61:[58, 132], Operations: ['50+34=84', '48+84=132']\nExploring Operation: 132-58=74, Resulting Numbers: [74]\n74,61 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 61:[48, 58, 84], Operations: ['50+34=84']\nExploring Operation: 58+84=142, Resulting Numbers: [48, 142]\nGenerated Node #0,1,5: 61:[48, 142] Operation: 58+84=142\nMoving to Node #0,1,5\nCurrent State: 61:[48, 142], Operations: ['50+34=84', '58+84=142']\nExploring Operation: 142-48=94, Resulting Numbers: [94]\n94,61 unequal: No Solution\nMoving to Node #0\nCurrent State: 61:[50, 48, 58, 34], Operations: []\nExploring Operation: 58+34=92, Resulting Numbers: [50, 48, 92]\nGenerated Node #0,2: 61:[50, 48, 92] Operation: 58+34=92\nMoving to Node #0,2\nCurrent State: 61:[50, 48, 92], Operations: ['58+34=92']\nExploring Operation: 92-48=44, Resulting Numbers: [50, 44]\nGenerated Node #0,2,0: 61:[50, 44] Operation: 92-48=44\nMoving to Node #0,2,0\nCurrent State: 61:[50, 44], Operations: ['58+34=92', '92-48=44']\nExploring Operation: 50+44=94, Resulting Numbers: [94]\n94,61 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 61:[50, 44], Operations: ['58+34=92', '92-48=44']\nExploring Operation: 50-44=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[50, 48, 92], Operations: ['58+34=92']\nExploring Operation: 92-50=42, Resulting Numbers: [48, 42]\nGenerated Node #0,2,1: 61:[48, 42] Operation: 92-50=42\nMoving to Node #0,2,1\nCurrent State: 61:[48, 42], Operations: ['58+34=92', '92-50=42']\nExploring Operation: 48+42=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 61:[48, 42], Operations: ['58+34=92', '92-50=42']\nExploring Operation: 48-42=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[50, 48, 92], Operations: ['58+34=92']\nExploring Operation: 50+48=98, Resulting Numbers: [92, 98]\nGenerated Node #0,2,2: 61:[92, 98] Operation: 50+48=98\nMoving to Node #0,2,2\nCurrent State: 61:[92, 98], Operations: ['58+34=92', '50+48=98']\nExploring Operation: 98-92=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[50, 48, 92], Operations: ['58+34=92']\nExploring Operation: 50-48=2, Resulting Numbers: [92, 2]\nGenerated Node #0,2,3: 61:[92, 2] Operation: 50-48=2\nMoving to Node #0,2,3\nCurrent State: 61:[92, 2], Operations: ['58+34=92', '50-48=2']\nExploring Operation: 92/2=46, Resulting Numbers: [46]\n46,61 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 61:[92, 2], Operations: ['58+34=92', '50-48=2']\nExploring Operation: 92-2=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 61:[92, 2], Operations: ['58+34=92', '50-48=2']\nExploring Operation: 92+2=94, Resulting Numbers: [94]\n94,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[50, 48, 92], Operations: ['58+34=92']\nExploring Operation: 48+92=140, Resulting Numbers: [50, 140]\nGenerated Node #0,2,4: 61:[50, 140] Operation: 48+92=140\nMoving to Node #0,2,4\nCurrent State: 61:[50, 140], Operations: ['58+34=92', '48+92=140']\nExploring Operation: 140-50=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 61:[50, 48, 92], Operations: ['58+34=92']\nExploring Operation: 50+92=142, Resulting Numbers: [48, 142]\nGenerated Node #0,2,5: 61:[48, 142] Operation: 50+92=142\nMoving to Node #0,2,5\nCurrent State: 61:[48, 142], Operations: ['58+34=92', '50+92=142']\nExploring Operation: 142-48=94, Resulting Numbers: [94]\n94,61 unequal: No Solution\nMoving to Node #0\nCurrent State: 61:[50, 48, 58, 34], Operations: []\nExploring Operation: 50-34=16, Resulting Numbers: [48, 58, 16]\nGenerated Node #0,3: 61:[48, 58, 16] Operation: 50-34=16\nMoving to Node #0,3\nCurrent State: 61:[48, 58, 16], Operations: ['50-34=16']\nExploring Operation: 48+16=64, Resulting Numbers: [58, 64]\nGenerated Node #0,3,0: 61:[58, 64] Operation: 48+16=64\nMoving to Node #0,3,0\nCurrent State: 61:[58, 64], Operations: ['50-34=16', '48+16=64']\nExploring Operation: 64-58=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 61:[58, 64], Operations: ['50-34=16', '48+16=64']\nExploring Operation: 58+64=122, Resulting Numbers: [122]\n122,61 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 61:[48, 58, 16], Operations: ['50-34=16']\nExploring Operation: 58+16=74, Resulting Numbers: [48, 74]\nGenerated Node #0,3,1: 61:[48, 74] Operation: 58+16=74\nMoving to Node #0,3,1\nCurrent State: 61:[48, 74], Operations: ['50-34=16', '58+16=74']\nExploring Operation: 74-48=26, Resulting Numbers: [26]\n26,61 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 61:[48, 74], Operations: ['50-34=16', '58+16=74']\nExploring Operation: 48+74=122, Resulting Numbers: [122]\n122,61 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 61:[48, 58, 16], Operations: ['50-34=16']\nExploring Operation: 48-16=32, Resulting Numbers: [58, 32]\nGenerated Node #0,3,2: 61:[58, 32] Operation: 48-16=32\nMoving to Node #0,3,2\nCurrent State: 61:[58, 32], Operations: ['50-34=16', '48-16=32']\nExploring Operation: 58+32=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 61:[58, 32], Operations: ['50-34=16', '48-16=32']\nExploring Operation: 58-32=26, Resulting Numbers: [26]\n26,61 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 61:[48, 58, 16], Operations: ['50-34=16']\nExploring Operation: 58-16=42, Resulting Numbers: [48, 42]\nGenerated Node #0,3,3: 61:[48, 42] Operation: 58-16=42\nMoving to Node #0,3,3\nCurrent State: 61:[48, 42], Operations: ['50-34=16', '58-16=42']\nExploring Operation: 48+42=90, Resulting Numbers: [90]\n90,61 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 61:[48, 42], Operations: ['50-34=16', '58-16=42']\nExploring Operation: 48-42=6, Resulting Numbers: [6]\n6,61 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 61:[48, 58, 16], Operations: ['50-34=16']\nExploring Operation: 48/16=3, Resulting Numbers: [58, 3]\nGenerated Node #0,3,4: 61:[58, 3] Operation: 48/16=3\nMoving to Node #0,3,4\nCurrent State: 61:[58, 3], Operations: ['50-34=16', '48/16=3']\nExploring Operation: 58+3=61, Resulting Numbers: [61]\n61,61 equal: Goal Reached\n", "role": "assistant" } ]
[ 61, 42, 11, 42 ]
51
[ "61-11=50", "42/42=1", "50+1=51" ]
Current State: 51:[61, 42, 11, 42], Operations: [] Exploring Operation: 61+11=72, Resulting Numbers: [42, 42, 72] Generated Node #0,0: 51:[42, 42, 72] Operation: 61+11=72 Exploring Operation: 61-11=50, Resulting Numbers: [42, 42, 50] Generated Node #0,1: 51:[42, 42, 50] Operation: 61-11=50 Exploring Operation: 42+11=53, Resulting Numbers: [61, 42, 53] Generated Node #0,2: 51:[61, 42, 53] Operation: 42+11=53 Exploring Operation: 11+42=53, Resulting Numbers: [61, 42, 53] Generated Node #0,3: 51:[61, 42, 53] Operation: 11+42=53 Exploring Operation: 42-11=31, Resulting Numbers: [61, 42, 31] Generated Node #0,4: 51:[61, 42, 31] Operation: 42-11=31 Moving to Node #0,1 Current State: 51:[42, 42, 50], Operations: ['61-11=50'] Exploring Operation: 42+50=92, Resulting Numbers: [42, 92] Generated Node #0,1,0: 51:[42, 92] Operation: 42+50=92 Exploring Operation: 42/42=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 51:[50, 1] Operation: 42/42=1 Exploring Operation: 42-42=0, Resulting Numbers: [50, 0] Generated Node #0,1,2: 51:[50, 0] Operation: 42-42=0 Exploring Operation: 42+50=92, Resulting Numbers: [42, 92] Generated Node #0,1,3: 51:[42, 92] Operation: 42+50=92 Exploring Operation: 42+42=84, Resulting Numbers: [50, 84] Generated Node #0,1,4: 51:[50, 84] Operation: 42+42=84 Moving to Node #0,3 Current State: 51:[61, 42, 53], Operations: ['11+42=53'] Exploring Operation: 61-42=19, Resulting Numbers: [53, 19] Generated Node #0,3,0: 51:[53, 19] Operation: 61-42=19 Exploring Operation: 61+42=103, Resulting Numbers: [53, 103] Generated Node #0,3,1: 51:[53, 103] Operation: 61+42=103 Exploring Operation: 42+53=95, Resulting Numbers: [61, 95] Generated Node #0,3,2: 51:[61, 95] Operation: 42+53=95 Exploring Operation: 53-42=11, Resulting Numbers: [61, 11] Generated Node #0,3,3: 51:[61, 11] Operation: 53-42=11 Exploring Operation: 61-53=8, Resulting Numbers: [42, 8] Generated Node #0,3,4: 51:[42, 8] Operation: 61-53=8 Moving to Node #0,2 Current State: 51:[61, 42, 53], Operations: ['42+11=53'] Exploring Operation: 61+42=103, Resulting Numbers: [53, 103] Generated Node #0,2,0: 51:[53, 103] Operation: 61+42=103 Exploring Operation: 61-53=8, Resulting Numbers: [42, 8] Generated Node #0,2,1: 51:[42, 8] Operation: 61-53=8 Exploring Operation: 61-42=19, Resulting Numbers: [53, 19] Generated Node #0,2,2: 51:[53, 19] Operation: 61-42=19 Exploring Operation: 53-42=11, Resulting Numbers: [61, 11] Generated Node #0,2,3: 51:[61, 11] Operation: 53-42=11 Exploring Operation: 42+53=95, Resulting Numbers: [61, 95] Generated Node #0,2,4: 51:[61, 95] Operation: 42+53=95 Moving to Node #0,0 Current State: 51:[42, 42, 72], Operations: ['61+11=72'] Exploring Operation: 72-42=30, Resulting Numbers: [42, 30] Generated Node #0,0,0: 51:[42, 30] Operation: 72-42=30 Exploring Operation: 42+42=84, Resulting Numbers: [72, 84] Generated Node #0,0,1: 51:[72, 84] Operation: 42+42=84 Exploring Operation: 42-42=0, Resulting Numbers: [72, 0] Generated Node #0,0,2: 51:[72, 0] Operation: 42-42=0 Exploring Operation: 42/42=1, Resulting Numbers: [72, 1] Generated Node #0,0,3: 51:[72, 1] Operation: 42/42=1 Exploring Operation: 72-42=30, Resulting Numbers: [42, 30] Generated Node #0,0,4: 51:[42, 30] Operation: 72-42=30 Moving to Node #0,4 Current State: 51:[61, 42, 31], Operations: ['42-11=31'] Exploring Operation: 61+31=92, Resulting Numbers: [42, 92] Generated Node #0,4,0: 51:[42, 92] Operation: 61+31=92 Exploring Operation: 61-42=19, Resulting Numbers: [31, 19] Generated Node #0,4,1: 51:[31, 19] Operation: 61-42=19 Exploring Operation: 61-31=30, Resulting Numbers: [42, 30] Generated Node #0,4,2: 51:[42, 30] Operation: 61-31=30 Exploring Operation: 42-31=11, Resulting Numbers: [61, 11] Generated Node #0,4,3: 51:[61, 11] Operation: 42-31=11 Exploring Operation: 42+31=73, Resulting Numbers: [61, 73] Generated Node #0,4,4: 51:[61, 73] Operation: 42+31=73 Moving to Node #0,0,0 Current State: 51:[42, 30], Operations: ['61+11=72', '72-42=30'] Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,51 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,51 unequal: No Solution Moving to Node #0,0,4 Current State: 51:[42, 30], Operations: ['61+11=72', '72-42=30'] Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,51 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[42, 30], Operations: ['42-11=31', '61-31=30'] Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[61, 73], Operations: ['42-11=31', '42+31=73'] Exploring Operation: 61+73=134, Resulting Numbers: [134] 134,51 unequal: No Solution Exploring Operation: 61*73=4453, Resulting Numbers: [4453] 4453,51 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[53, 19], Operations: ['11+42=53', '61-42=19'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,51 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[50, 84], Operations: ['61-11=50', '42+42=84'] Exploring Operation: 50*84=4200, Resulting Numbers: [4200] 4200,51 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 50+84=134, Resulting Numbers: [134] 134,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[53, 19], Operations: ['42+11=53', '61-42=19'] Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,51 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,51 unequal: No Solution Moving to Node #0,3,0,0 Current State: 51:[34], Operations: ['11+42=53', '61-42=19', '53-19=34'] Moving to Node #0,0,4,0 Current State: 51:[72], Operations: ['61+11=72', '72-42=30', '42+30=72'] Moving to Node #0,4,2,0 Current State: 51:[72], Operations: ['42-11=31', '61-31=30', '42+30=72'] Moving to Node #0,1,4,0 Current State: 51:[34], Operations: ['61-11=50', '42+42=84', '84-50=34'] Moving to Node #0,2,2,0 Current State: 51:[34], Operations: ['42+11=53', '61-42=19', '53-19=34'] Moving to Node #0,0,0,0 Current State: 51:[72], Operations: ['61+11=72', '72-42=30', '42+30=72'] Moving to Node #0,3,0,0 Current State: 51:[72], Operations: ['11+42=53', '61-42=19', '53+19=72'] Moving to Node #0,2,2,0 Current State: 51:[72], Operations: ['42+11=53', '61-42=19', '53+19=72'] Moving to Node #0,3,3 Current State: 51:[61, 11], Operations: ['11+42=53', '53-42=11'] Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[42, 92], Operations: ['61-11=50', '42+50=92'] Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 42+92=134, Resulting Numbers: [134] 134,51 unequal: No Solution Exploring Operation: 42*92=3864, Resulting Numbers: [3864] 3864,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[61, 11], Operations: ['42+11=53', '53-42=11'] Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[61, 11], Operations: ['42-11=31', '42-31=11'] Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,51 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[42, 92], Operations: ['42-11=31', '61+31=92'] Exploring Operation: 42+92=134, Resulting Numbers: [134] 134,51 unequal: No Solution Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 42*92=3864, Resulting Numbers: [3864] 3864,51 unequal: No Solution Moving to Node #0,3,3,0 Current State: 51:[50], Operations: ['11+42=53', '53-42=11', '61-11=50'] Moving to Node #0,1,3,0 Current State: 51:[50], Operations: ['61-11=50', '42+50=92', '92-42=50'] Moving to Node #0,2,3,0 Current State: 51:[50], Operations: ['42+11=53', '53-42=11', '61-11=50'] Moving to Node #0,4,3,0 Current State: 51:[50], Operations: ['42-11=31', '42-31=11', '61-11=50'] Moving to Node #0,4,0,0 Current State: 51:[50], Operations: ['42-11=31', '61+31=92', '92-42=50'] Moving to Node #0,3,3,0 Current State: 51:[72], Operations: ['11+42=53', '53-42=11', '61+11=72'] Moving to Node #0,2,3,0 Current State: 51:[72], Operations: ['42+11=53', '53-42=11', '61+11=72'] Moving to Node #0,4,3,0 Current State: 51:[72], Operations: ['42-11=31', '42-31=11', '61+11=72'] Moving to Node #0,1,0 Current State: 51:[42, 92], Operations: ['61-11=50', '42+50=92'] Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 42*92=3864, Resulting Numbers: [3864] 3864,51 unequal: No Solution Exploring Operation: 42+92=134, Resulting Numbers: [134] 134,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[50, 1], Operations: ['61-11=50', '42/42=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.936632
bfs_5
Current State: 51:[61, 42, 11, 42], Operations: [] Exploring Operation: 61-11=50, Resulting Numbers: [42, 42, 50] Generated Node #2: [42, 42, 50] from Operation: 61-11=50 Current State: 51:[42, 42, 50], Operations: ['61-11=50'] Exploring Operation: 42/42=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 42/42=1 Current State: 51:[50, 1], Operations: ['61-11=50', '42/42=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
sum_heuristic
[ { "content": "Make 51 with the numbers [61, 42, 11, 42] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 51:[61, 42, 11, 42], Operations: []\nExploring Operation: 61+11=72, Resulting Numbers: [42, 42, 72]\nGenerated Node #0,0: 51:[42, 42, 72] Operation: 61+11=72\nExploring Operation: 61-11=50, Resulting Numbers: [42, 42, 50]\nGenerated Node #0,1: 51:[42, 42, 50] Operation: 61-11=50\nExploring Operation: 42+11=53, Resulting Numbers: [61, 42, 53]\nGenerated Node #0,2: 51:[61, 42, 53] Operation: 42+11=53\nExploring Operation: 11+42=53, Resulting Numbers: [61, 42, 53]\nGenerated Node #0,3: 51:[61, 42, 53] Operation: 11+42=53\nExploring Operation: 42-11=31, Resulting Numbers: [61, 42, 31]\nGenerated Node #0,4: 51:[61, 42, 31] Operation: 42-11=31\nMoving to Node #0,1\nCurrent State: 51:[42, 42, 50], Operations: ['61-11=50']\nExploring Operation: 42+50=92, Resulting Numbers: [42, 92]\nGenerated Node #0,1,0: 51:[42, 92] Operation: 42+50=92\nExploring Operation: 42/42=1, Resulting Numbers: [50, 1]\nGenerated Node #0,1,1: 51:[50, 1] Operation: 42/42=1\nExploring Operation: 42-42=0, Resulting Numbers: [50, 0]\nGenerated Node #0,1,2: 51:[50, 0] Operation: 42-42=0\nExploring Operation: 42+50=92, Resulting Numbers: [42, 92]\nGenerated Node #0,1,3: 51:[42, 92] Operation: 42+50=92\nExploring Operation: 42+42=84, Resulting Numbers: [50, 84]\nGenerated Node #0,1,4: 51:[50, 84] Operation: 42+42=84\nMoving to Node #0,3\nCurrent State: 51:[61, 42, 53], Operations: ['11+42=53']\nExploring Operation: 61-42=19, Resulting Numbers: [53, 19]\nGenerated Node #0,3,0: 51:[53, 19] Operation: 61-42=19\nExploring Operation: 61+42=103, Resulting Numbers: [53, 103]\nGenerated Node #0,3,1: 51:[53, 103] Operation: 61+42=103\nExploring Operation: 42+53=95, Resulting Numbers: [61, 95]\nGenerated Node #0,3,2: 51:[61, 95] Operation: 42+53=95\nExploring Operation: 53-42=11, Resulting Numbers: [61, 11]\nGenerated Node #0,3,3: 51:[61, 11] Operation: 53-42=11\nExploring Operation: 61-53=8, Resulting Numbers: [42, 8]\nGenerated Node #0,3,4: 51:[42, 8] Operation: 61-53=8\nMoving to Node #0,2\nCurrent State: 51:[61, 42, 53], Operations: ['42+11=53']\nExploring Operation: 61+42=103, Resulting Numbers: [53, 103]\nGenerated Node #0,2,0: 51:[53, 103] Operation: 61+42=103\nExploring Operation: 61-53=8, Resulting Numbers: [42, 8]\nGenerated Node #0,2,1: 51:[42, 8] Operation: 61-53=8\nExploring Operation: 61-42=19, Resulting Numbers: [53, 19]\nGenerated Node #0,2,2: 51:[53, 19] Operation: 61-42=19\nExploring Operation: 53-42=11, Resulting Numbers: [61, 11]\nGenerated Node #0,2,3: 51:[61, 11] Operation: 53-42=11\nExploring Operation: 42+53=95, Resulting Numbers: [61, 95]\nGenerated Node #0,2,4: 51:[61, 95] Operation: 42+53=95\nMoving to Node #0,0\nCurrent State: 51:[42, 42, 72], Operations: ['61+11=72']\nExploring Operation: 72-42=30, Resulting Numbers: [42, 30]\nGenerated Node #0,0,0: 51:[42, 30] Operation: 72-42=30\nExploring Operation: 42+42=84, Resulting Numbers: [72, 84]\nGenerated Node #0,0,1: 51:[72, 84] Operation: 42+42=84\nExploring Operation: 42-42=0, Resulting Numbers: [72, 0]\nGenerated Node #0,0,2: 51:[72, 0] Operation: 42-42=0\nExploring Operation: 42/42=1, Resulting Numbers: [72, 1]\nGenerated Node #0,0,3: 51:[72, 1] Operation: 42/42=1\nExploring Operation: 72-42=30, Resulting Numbers: [42, 30]\nGenerated Node #0,0,4: 51:[42, 30] Operation: 72-42=30\nMoving to Node #0,4\nCurrent State: 51:[61, 42, 31], Operations: ['42-11=31']\nExploring Operation: 61+31=92, Resulting Numbers: [42, 92]\nGenerated Node #0,4,0: 51:[42, 92] Operation: 61+31=92\nExploring Operation: 61-42=19, Resulting Numbers: [31, 19]\nGenerated Node #0,4,1: 51:[31, 19] Operation: 61-42=19\nExploring Operation: 61-31=30, Resulting Numbers: [42, 30]\nGenerated Node #0,4,2: 51:[42, 30] Operation: 61-31=30\nExploring Operation: 42-31=11, Resulting Numbers: [61, 11]\nGenerated Node #0,4,3: 51:[61, 11] Operation: 42-31=11\nExploring Operation: 42+31=73, Resulting Numbers: [61, 73]\nGenerated Node #0,4,4: 51:[61, 73] Operation: 42+31=73\nMoving to Node #0,0,0\nCurrent State: 51:[42, 30], Operations: ['61+11=72', '72-42=30']\nExploring Operation: 42*30=1260, Resulting Numbers: [1260]\n1260,51 unequal: No Solution\nExploring Operation: 42-30=12, Resulting Numbers: [12]\n12,51 unequal: No Solution\nExploring Operation: 42+30=72, Resulting Numbers: [72]\n72,51 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 51:[42, 30], Operations: ['61+11=72', '72-42=30']\nExploring Operation: 42*30=1260, Resulting Numbers: [1260]\n1260,51 unequal: No Solution\nExploring Operation: 42+30=72, Resulting Numbers: [72]\n72,51 unequal: No Solution\nExploring Operation: 42-30=12, Resulting Numbers: [12]\n12,51 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 51:[42, 30], Operations: ['42-11=31', '61-31=30']\nExploring Operation: 42+30=72, Resulting Numbers: [72]\n72,51 unequal: No Solution\nExploring Operation: 42-30=12, Resulting Numbers: [12]\n12,51 unequal: No Solution\nExploring Operation: 42*30=1260, Resulting Numbers: [1260]\n1260,51 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 51:[61, 73], Operations: ['42-11=31', '42+31=73']\nExploring Operation: 61+73=134, Resulting Numbers: [134]\n134,51 unequal: No Solution\nExploring Operation: 61*73=4453, Resulting Numbers: [4453]\n4453,51 unequal: No Solution\nExploring Operation: 73-61=12, Resulting Numbers: [12]\n12,51 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 51:[53, 19], Operations: ['11+42=53', '61-42=19']\nExploring Operation: 53-19=34, Resulting Numbers: [34]\n34,51 unequal: No Solution\nExploring Operation: 53*19=1007, Resulting Numbers: [1007]\n1007,51 unequal: No Solution\nExploring Operation: 53+19=72, Resulting Numbers: [72]\n72,51 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 51:[50, 84], Operations: ['61-11=50', '42+42=84']\nExploring Operation: 50*84=4200, Resulting Numbers: [4200]\n4200,51 unequal: No Solution\nExploring Operation: 84-50=34, Resulting Numbers: [34]\n34,51 unequal: No Solution\nExploring Operation: 50+84=134, Resulting Numbers: [134]\n134,51 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 51:[53, 19], Operations: ['42+11=53', '61-42=19']\nExploring Operation: 53*19=1007, Resulting Numbers: [1007]\n1007,51 unequal: No Solution\nExploring Operation: 53+19=72, Resulting Numbers: [72]\n72,51 unequal: No Solution\nExploring Operation: 53-19=34, Resulting Numbers: [34]\n34,51 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 51:[34], Operations: ['11+42=53', '61-42=19', '53-19=34']\nMoving to Node #0,0,4,0\nCurrent State: 51:[72], Operations: ['61+11=72', '72-42=30', '42+30=72']\nMoving to Node #0,4,2,0\nCurrent State: 51:[72], Operations: ['42-11=31', '61-31=30', '42+30=72']\nMoving to Node #0,1,4,0\nCurrent State: 51:[34], Operations: ['61-11=50', '42+42=84', '84-50=34']\nMoving to Node #0,2,2,0\nCurrent State: 51:[34], Operations: ['42+11=53', '61-42=19', '53-19=34']\nMoving to Node #0,0,0,0\nCurrent State: 51:[72], Operations: ['61+11=72', '72-42=30', '42+30=72']\nMoving to Node #0,3,0,0\nCurrent State: 51:[72], Operations: ['11+42=53', '61-42=19', '53+19=72']\nMoving to Node #0,2,2,0\nCurrent State: 51:[72], Operations: ['42+11=53', '61-42=19', '53+19=72']\nMoving to Node #0,3,3\nCurrent State: 51:[61, 11], Operations: ['11+42=53', '53-42=11']\nExploring Operation: 61-11=50, Resulting Numbers: [50]\n50,51 unequal: No Solution\nExploring Operation: 61+11=72, Resulting Numbers: [72]\n72,51 unequal: No Solution\nExploring Operation: 61*11=671, Resulting Numbers: [671]\n671,51 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 51:[42, 92], Operations: ['61-11=50', '42+50=92']\nExploring Operation: 92-42=50, Resulting Numbers: [50]\n50,51 unequal: No Solution\nExploring Operation: 42+92=134, Resulting Numbers: [134]\n134,51 unequal: No Solution\nExploring Operation: 42*92=3864, Resulting Numbers: [3864]\n3864,51 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 51:[61, 11], Operations: ['42+11=53', '53-42=11']\nExploring Operation: 61+11=72, Resulting Numbers: [72]\n72,51 unequal: No Solution\nExploring Operation: 61-11=50, Resulting Numbers: [50]\n50,51 unequal: No Solution\nExploring Operation: 61*11=671, Resulting Numbers: [671]\n671,51 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 51:[61, 11], Operations: ['42-11=31', '42-31=11']\nExploring Operation: 61*11=671, Resulting Numbers: [671]\n671,51 unequal: No Solution\nExploring Operation: 61-11=50, Resulting Numbers: [50]\n50,51 unequal: No Solution\nExploring Operation: 61+11=72, Resulting Numbers: [72]\n72,51 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 51:[42, 92], Operations: ['42-11=31', '61+31=92']\nExploring Operation: 42+92=134, Resulting Numbers: [134]\n134,51 unequal: No Solution\nExploring Operation: 92-42=50, Resulting Numbers: [50]\n50,51 unequal: No Solution\nExploring Operation: 42*92=3864, Resulting Numbers: [3864]\n3864,51 unequal: No Solution\nMoving to Node #0,3,3,0\nCurrent State: 51:[50], Operations: ['11+42=53', '53-42=11', '61-11=50']\nMoving to Node #0,1,3,0\nCurrent State: 51:[50], Operations: ['61-11=50', '42+50=92', '92-42=50']\nMoving to Node #0,2,3,0\nCurrent State: 51:[50], Operations: ['42+11=53', '53-42=11', '61-11=50']\nMoving to Node #0,4,3,0\nCurrent State: 51:[50], Operations: ['42-11=31', '42-31=11', '61-11=50']\nMoving to Node #0,4,0,0\nCurrent State: 51:[50], Operations: ['42-11=31', '61+31=92', '92-42=50']\nMoving to Node #0,3,3,0\nCurrent State: 51:[72], Operations: ['11+42=53', '53-42=11', '61+11=72']\nMoving to Node #0,2,3,0\nCurrent State: 51:[72], Operations: ['42+11=53', '53-42=11', '61+11=72']\nMoving to Node #0,4,3,0\nCurrent State: 51:[72], Operations: ['42-11=31', '42-31=11', '61+11=72']\nMoving to Node #0,1,0\nCurrent State: 51:[42, 92], Operations: ['61-11=50', '42+50=92']\nExploring Operation: 92-42=50, Resulting Numbers: [50]\n50,51 unequal: No Solution\nExploring Operation: 42*92=3864, Resulting Numbers: [3864]\n3864,51 unequal: No Solution\nExploring Operation: 42+92=134, Resulting Numbers: [134]\n134,51 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 51:[50, 1], Operations: ['61-11=50', '42/42=1']\nExploring Operation: 50-1=49, Resulting Numbers: [49]\n49,51 unequal: No Solution\nExploring Operation: 50*1=50, Resulting Numbers: [50]\n50,51 unequal: No Solution\nExploring Operation: 50+1=51, Resulting Numbers: [51]\n51,51 equal: Goal Reached\n", "role": "assistant" } ]
[ 2, 76, 24, 1 ]
98
[ "76-2=74", "24*1=24", "74+24=98" ]
Current State: 98:[2, 76, 24, 1], Operations: [] Exploring Operation: 76+24=100, Resulting Numbers: [2, 1, 100] Generated Node #0,0: 98:[2, 1, 100] Operation: 76+24=100 Exploring Operation: 2*24=48, Resulting Numbers: [76, 1, 48] Generated Node #0,1: 98:[76, 1, 48] Operation: 2*24=48 Exploring Operation: 76/2=38, Resulting Numbers: [24, 1, 38] Generated Node #0,2: 98:[24, 1, 38] Operation: 76/2=38 Exploring Operation: 76-24=52, Resulting Numbers: [2, 1, 52] Generated Node #0,3: 98:[2, 1, 52] Operation: 76-24=52 Exploring Operation: 24/2=12, Resulting Numbers: [76, 1, 12] Generated Node #0,4: 98:[76, 1, 12] Operation: 24/2=12 Moving to Node #0,0 Current State: 98:[2, 1, 100], Operations: ['76+24=100'] Exploring Operation: 2*1=2, Resulting Numbers: [100, 2] Generated Node #0,0,0: 98:[100, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [100, 2] Generated Node #0,0,1: 98:[100, 2] Operation: 2/1=2 Exploring Operation: 100-2=98, Resulting Numbers: [1, 98] Generated Node #0,0,2: 98:[1, 98] Operation: 100-2=98 Exploring Operation: 100-1=99, Resulting Numbers: [2, 99] Generated Node #0,0,3: 98:[2, 99] Operation: 100-1=99 Exploring Operation: 100/2=50, Resulting Numbers: [1, 50] Generated Node #0,0,4: 98:[1, 50] Operation: 100/2=50 Moving to Node #0,3 Current State: 98:[2, 1, 52], Operations: ['76-24=52'] Exploring Operation: 1*52=52, Resulting Numbers: [2, 52] Generated Node #0,3,0: 98:[2, 52] Operation: 1*52=52 Exploring Operation: 52-2=50, Resulting Numbers: [1, 50] Generated Node #0,3,1: 98:[1, 50] Operation: 52-2=50 Exploring Operation: 52-1=51, Resulting Numbers: [2, 51] Generated Node #0,3,2: 98:[2, 51] Operation: 52-1=51 Exploring Operation: 2*1=2, Resulting Numbers: [52, 2] Generated Node #0,3,3: 98:[52, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [52, 2] Generated Node #0,3,4: 98:[52, 2] Operation: 2/1=2 Moving to Node #0,2 Current State: 98:[24, 1, 38], Operations: ['76/2=38'] Exploring Operation: 24*1=24, Resulting Numbers: [38, 24] Generated Node #0,2,0: 98:[38, 24] Operation: 24*1=24 Exploring Operation: 24-1=23, Resulting Numbers: [38, 23] Generated Node #0,2,1: 98:[38, 23] Operation: 24-1=23 Exploring Operation: 38-24=14, Resulting Numbers: [1, 14] Generated Node #0,2,2: 98:[1, 14] Operation: 38-24=14 Exploring Operation: 1+38=39, Resulting Numbers: [24, 39] Generated Node #0,2,3: 98:[24, 39] Operation: 1+38=39 Exploring Operation: 24+38=62, Resulting Numbers: [1, 62] Generated Node #0,2,4: 98:[1, 62] Operation: 24+38=62 Moving to Node #0,1 Current State: 98:[76, 1, 48], Operations: ['2*24=48'] Exploring Operation: 1+48=49, Resulting Numbers: [76, 49] Generated Node #0,1,0: 98:[76, 49] Operation: 1+48=49 Exploring Operation: 76-48=28, Resulting Numbers: [1, 28] Generated Node #0,1,1: 98:[1, 28] Operation: 76-48=28 Exploring Operation: 76+1=77, Resulting Numbers: [48, 77] Generated Node #0,1,2: 98:[48, 77] Operation: 76+1=77 Exploring Operation: 76/1=76, Resulting Numbers: [48, 76] Generated Node #0,1,3: 98:[48, 76] Operation: 76/1=76 Exploring Operation: 76*1=76, Resulting Numbers: [48, 76] Generated Node #0,1,4: 98:[48, 76] Operation: 76*1=76 Moving to Node #0,4 Current State: 98:[76, 1, 12], Operations: ['24/2=12'] Exploring Operation: 76+12=88, Resulting Numbers: [1, 88] Generated Node #0,4,0: 98:[1, 88] Operation: 76+12=88 Exploring Operation: 76-12=64, Resulting Numbers: [1, 64] Generated Node #0,4,1: 98:[1, 64] Operation: 76-12=64 Exploring Operation: 1+12=13, Resulting Numbers: [76, 13] Generated Node #0,4,2: 98:[76, 13] Operation: 1+12=13 Exploring Operation: 76*1=76, Resulting Numbers: [12, 76] Generated Node #0,4,3: 98:[12, 76] Operation: 76*1=76 Exploring Operation: 76+1=77, Resulting Numbers: [12, 77] Generated Node #0,4,4: 98:[12, 77] Operation: 76+1=77 Moving to Node #0,0,2 Current State: 98:[1, 98], Operations: ['76+24=100', '100-2=98'] Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.972222
bfs_5
Current State: 98:[2, 76, 24, 1], Operations: [] Exploring Operation: 76-2=74, Resulting Numbers: [24, 1, 74] Generated Node #2: [24, 1, 74] from Operation: 76-2=74 Current State: 98:[24, 1, 74], Operations: ['76-2=74'] Exploring Operation: 24*1=24, Resulting Numbers: [74, 24] Generated Node #3: [74, 24] from Operation: 24*1=24 Current State: 98:[74, 24], Operations: ['76-2=74', '24*1=24'] Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
mult_heuristic
[ { "content": "Make 98 with the numbers [2, 76, 24, 1] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 98:[2, 76, 24, 1], Operations: []\nExploring Operation: 76+24=100, Resulting Numbers: [2, 1, 100]\nGenerated Node #0,0: 98:[2, 1, 100] Operation: 76+24=100\nExploring Operation: 2*24=48, Resulting Numbers: [76, 1, 48]\nGenerated Node #0,1: 98:[76, 1, 48] Operation: 2*24=48\nExploring Operation: 76/2=38, Resulting Numbers: [24, 1, 38]\nGenerated Node #0,2: 98:[24, 1, 38] Operation: 76/2=38\nExploring Operation: 76-24=52, Resulting Numbers: [2, 1, 52]\nGenerated Node #0,3: 98:[2, 1, 52] Operation: 76-24=52\nExploring Operation: 24/2=12, Resulting Numbers: [76, 1, 12]\nGenerated Node #0,4: 98:[76, 1, 12] Operation: 24/2=12\nMoving to Node #0,0\nCurrent State: 98:[2, 1, 100], Operations: ['76+24=100']\nExploring Operation: 2*1=2, Resulting Numbers: [100, 2]\nGenerated Node #0,0,0: 98:[100, 2] Operation: 2*1=2\nExploring Operation: 2/1=2, Resulting Numbers: [100, 2]\nGenerated Node #0,0,1: 98:[100, 2] Operation: 2/1=2\nExploring Operation: 100-2=98, Resulting Numbers: [1, 98]\nGenerated Node #0,0,2: 98:[1, 98] Operation: 100-2=98\nExploring Operation: 100-1=99, Resulting Numbers: [2, 99]\nGenerated Node #0,0,3: 98:[2, 99] Operation: 100-1=99\nExploring Operation: 100/2=50, Resulting Numbers: [1, 50]\nGenerated Node #0,0,4: 98:[1, 50] Operation: 100/2=50\nMoving to Node #0,3\nCurrent State: 98:[2, 1, 52], Operations: ['76-24=52']\nExploring Operation: 1*52=52, Resulting Numbers: [2, 52]\nGenerated Node #0,3,0: 98:[2, 52] Operation: 1*52=52\nExploring Operation: 52-2=50, Resulting Numbers: [1, 50]\nGenerated Node #0,3,1: 98:[1, 50] Operation: 52-2=50\nExploring Operation: 52-1=51, Resulting Numbers: [2, 51]\nGenerated Node #0,3,2: 98:[2, 51] Operation: 52-1=51\nExploring Operation: 2*1=2, Resulting Numbers: [52, 2]\nGenerated Node #0,3,3: 98:[52, 2] Operation: 2*1=2\nExploring Operation: 2/1=2, Resulting Numbers: [52, 2]\nGenerated Node #0,3,4: 98:[52, 2] Operation: 2/1=2\nMoving to Node #0,2\nCurrent State: 98:[24, 1, 38], Operations: ['76/2=38']\nExploring Operation: 24*1=24, Resulting Numbers: [38, 24]\nGenerated Node #0,2,0: 98:[38, 24] Operation: 24*1=24\nExploring Operation: 24-1=23, Resulting Numbers: [38, 23]\nGenerated Node #0,2,1: 98:[38, 23] Operation: 24-1=23\nExploring Operation: 38-24=14, Resulting Numbers: [1, 14]\nGenerated Node #0,2,2: 98:[1, 14] Operation: 38-24=14\nExploring Operation: 1+38=39, Resulting Numbers: [24, 39]\nGenerated Node #0,2,3: 98:[24, 39] Operation: 1+38=39\nExploring Operation: 24+38=62, Resulting Numbers: [1, 62]\nGenerated Node #0,2,4: 98:[1, 62] Operation: 24+38=62\nMoving to Node #0,1\nCurrent State: 98:[76, 1, 48], Operations: ['2*24=48']\nExploring Operation: 1+48=49, Resulting Numbers: [76, 49]\nGenerated Node #0,1,0: 98:[76, 49] Operation: 1+48=49\nExploring Operation: 76-48=28, Resulting Numbers: [1, 28]\nGenerated Node #0,1,1: 98:[1, 28] Operation: 76-48=28\nExploring Operation: 76+1=77, Resulting Numbers: [48, 77]\nGenerated Node #0,1,2: 98:[48, 77] Operation: 76+1=77\nExploring Operation: 76/1=76, Resulting Numbers: [48, 76]\nGenerated Node #0,1,3: 98:[48, 76] Operation: 76/1=76\nExploring Operation: 76*1=76, Resulting Numbers: [48, 76]\nGenerated Node #0,1,4: 98:[48, 76] Operation: 76*1=76\nMoving to Node #0,4\nCurrent State: 98:[76, 1, 12], Operations: ['24/2=12']\nExploring Operation: 76+12=88, Resulting Numbers: [1, 88]\nGenerated Node #0,4,0: 98:[1, 88] Operation: 76+12=88\nExploring Operation: 76-12=64, Resulting Numbers: [1, 64]\nGenerated Node #0,4,1: 98:[1, 64] Operation: 76-12=64\nExploring Operation: 1+12=13, Resulting Numbers: [76, 13]\nGenerated Node #0,4,2: 98:[76, 13] Operation: 1+12=13\nExploring Operation: 76*1=76, Resulting Numbers: [12, 76]\nGenerated Node #0,4,3: 98:[12, 76] Operation: 76*1=76\nExploring Operation: 76+1=77, Resulting Numbers: [12, 77]\nGenerated Node #0,4,4: 98:[12, 77] Operation: 76+1=77\nMoving to Node #0,0,2\nCurrent State: 98:[1, 98], Operations: ['76+24=100', '100-2=98']\nExploring Operation: 1*98=98, Resulting Numbers: [98]\n98,98 equal: Goal Reached\n", "role": "assistant" } ]
[ 27, 70, 65, 77 ]
58
[ "70-65=5", "27*5=135", "135-77=58" ]
Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 77-27=50, Resulting Numbers: [70, 65, 50] Generated Node #0,0: 58:[70, 65, 50] Operation: 77-27=50 Moving to Node #0,0 Current State: 58:[70, 65, 50], Operations: ['77-27=50'] Exploring Operation: 70-50=20, Resulting Numbers: [65, 20] Generated Node #0,0,0: 58:[65, 20] Operation: 70-50=20 Moving to Node #0,0,0 Current State: 58:[65, 20], Operations: ['77-27=50', '70-50=20'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[65, 20], Operations: ['77-27=50', '70-50=20'] Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,0 Current State: 58:[70, 65, 50], Operations: ['77-27=50'] Exploring Operation: 65-50=15, Resulting Numbers: [70, 15] Generated Node #0,0,1: 58:[70, 15] Operation: 65-50=15 Moving to Node #0,0,1 Current State: 58:[70, 15], Operations: ['77-27=50', '65-50=15'] Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[70, 15], Operations: ['77-27=50', '65-50=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,0 Current State: 58:[70, 65, 50], Operations: ['77-27=50'] Exploring Operation: 70-65=5, Resulting Numbers: [50, 5] Generated Node #0,0,2: 58:[50, 5] Operation: 70-65=5 Moving to Node #0,0,2 Current State: 58:[50, 5], Operations: ['77-27=50', '70-65=5'] Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[50, 5], Operations: ['77-27=50', '70-65=5'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[50, 5], Operations: ['77-27=50', '70-65=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,58 unequal: No Solution Moving to Node #0,0 Current State: 58:[70, 65, 50], Operations: ['77-27=50'] Exploring Operation: 70+50=120, Resulting Numbers: [65, 120] Generated Node #0,0,3: 58:[65, 120] Operation: 70+50=120 Moving to Node #0,0,3 Current State: 58:[65, 120], Operations: ['77-27=50', '70+50=120'] Exploring Operation: 120-65=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,0 Current State: 58:[70, 65, 50], Operations: ['77-27=50'] Exploring Operation: 65+50=115, Resulting Numbers: [70, 115] Generated Node #0,0,4: 58:[70, 115] Operation: 65+50=115 Moving to Node #0,0,4 Current State: 58:[70, 115], Operations: ['77-27=50', '65+50=115'] Exploring Operation: 115-70=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,0 Current State: 58:[70, 65, 50], Operations: ['77-27=50'] Exploring Operation: 70+65=135, Resulting Numbers: [50, 135] Generated Node #0,0,5: 58:[50, 135] Operation: 70+65=135 Moving to Node #0,0,5 Current State: 58:[50, 135], Operations: ['77-27=50', '70+65=135'] Exploring Operation: 135-50=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0 Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [65, 77, 43] Generated Node #0,1: 58:[65, 77, 43] Operation: 70-27=43 Moving to Node #0,1 Current State: 58:[65, 77, 43], Operations: ['70-27=43'] Exploring Operation: 77-43=34, Resulting Numbers: [65, 34] Generated Node #0,1,0: 58:[65, 34] Operation: 77-43=34 Moving to Node #0,1,0 Current State: 58:[65, 34], Operations: ['70-27=43', '77-43=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[65, 34], Operations: ['70-27=43', '77-43=34'] Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,1 Current State: 58:[65, 77, 43], Operations: ['70-27=43'] Exploring Operation: 65-43=22, Resulting Numbers: [77, 22] Generated Node #0,1,1: 58:[77, 22] Operation: 65-43=22 Moving to Node #0,1,1 Current State: 58:[77, 22], Operations: ['70-27=43', '65-43=22'] Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[77, 22], Operations: ['70-27=43', '65-43=22'] Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,1 Current State: 58:[65, 77, 43], Operations: ['70-27=43'] Exploring Operation: 77-65=12, Resulting Numbers: [43, 12] Generated Node #0,1,2: 58:[43, 12] Operation: 77-65=12 Moving to Node #0,1,2 Current State: 58:[43, 12], Operations: ['70-27=43', '77-65=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[43, 12], Operations: ['70-27=43', '77-65=12'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,1 Current State: 58:[65, 77, 43], Operations: ['70-27=43'] Exploring Operation: 65+43=108, Resulting Numbers: [77, 108] Generated Node #0,1,3: 58:[77, 108] Operation: 65+43=108 Moving to Node #0,1,3 Current State: 58:[77, 108], Operations: ['70-27=43', '65+43=108'] Exploring Operation: 108-77=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,1 Current State: 58:[65, 77, 43], Operations: ['70-27=43'] Exploring Operation: 77+43=120, Resulting Numbers: [65, 120] Generated Node #0,1,4: 58:[65, 120] Operation: 77+43=120 Moving to Node #0,1,4 Current State: 58:[65, 120], Operations: ['70-27=43', '77+43=120'] Exploring Operation: 120-65=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,1 Current State: 58:[65, 77, 43], Operations: ['70-27=43'] Exploring Operation: 65+77=142, Resulting Numbers: [43, 142] Generated Node #0,1,5: 58:[43, 142] Operation: 65+77=142 Moving to Node #0,1,5 Current State: 58:[43, 142], Operations: ['70-27=43', '65+77=142'] Exploring Operation: 142-43=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0 Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 65-27=38, Resulting Numbers: [70, 77, 38] Generated Node #0,2: 58:[70, 77, 38] Operation: 65-27=38 Moving to Node #0,2 Current State: 58:[70, 77, 38], Operations: ['65-27=38'] Exploring Operation: 77-38=39, Resulting Numbers: [70, 39] Generated Node #0,2,0: 58:[70, 39] Operation: 77-38=39 Moving to Node #0,2,0 Current State: 58:[70, 39], Operations: ['65-27=38', '77-38=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[70, 39], Operations: ['65-27=38', '77-38=39'] Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0,2 Current State: 58:[70, 77, 38], Operations: ['65-27=38'] Exploring Operation: 70-38=32, Resulting Numbers: [77, 32] Generated Node #0,2,1: 58:[77, 32] Operation: 70-38=32 Moving to Node #0,2,1 Current State: 58:[77, 32], Operations: ['65-27=38', '70-38=32'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[77, 32], Operations: ['65-27=38', '70-38=32'] Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0,2 Current State: 58:[70, 77, 38], Operations: ['65-27=38'] Exploring Operation: 70+38=108, Resulting Numbers: [77, 108] Generated Node #0,2,2: 58:[77, 108] Operation: 70+38=108 Moving to Node #0,2,2 Current State: 58:[77, 108], Operations: ['65-27=38', '70+38=108'] Exploring Operation: 108-77=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,2 Current State: 58:[70, 77, 38], Operations: ['65-27=38'] Exploring Operation: 77+38=115, Resulting Numbers: [70, 115] Generated Node #0,2,3: 58:[70, 115] Operation: 77+38=115 Moving to Node #0,2,3 Current State: 58:[70, 115], Operations: ['65-27=38', '77+38=115'] Exploring Operation: 115-70=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,2 Current State: 58:[70, 77, 38], Operations: ['65-27=38'] Exploring Operation: 77-70=7, Resulting Numbers: [38, 7] Generated Node #0,2,4: 58:[38, 7] Operation: 77-70=7 Moving to Node #0,2,4 Current State: 58:[38, 7], Operations: ['65-27=38', '77-70=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,2,4 Current State: 58:[38, 7], Operations: ['65-27=38', '77-70=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,2 Current State: 58:[70, 77, 38], Operations: ['65-27=38'] Exploring Operation: 70+77=147, Resulting Numbers: [38, 147] Generated Node #0,2,5: 58:[38, 147] Operation: 70+77=147 Moving to Node #0,2,5 Current State: 58:[38, 147], Operations: ['65-27=38', '70+77=147'] Exploring Operation: 147-38=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0 Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 27+70=97, Resulting Numbers: [65, 77, 97] Generated Node #0,3: 58:[65, 77, 97] Operation: 27+70=97 Moving to Node #0,3 Current State: 58:[65, 77, 97], Operations: ['27+70=97'] Exploring Operation: 97-65=32, Resulting Numbers: [77, 32] Generated Node #0,3,0: 58:[77, 32] Operation: 97-65=32 Moving to Node #0,3,0 Current State: 58:[77, 32], Operations: ['27+70=97', '97-65=32'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[77, 32], Operations: ['27+70=97', '97-65=32'] Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0,3 Current State: 58:[65, 77, 97], Operations: ['27+70=97'] Exploring Operation: 97-77=20, Resulting Numbers: [65, 20] Generated Node #0,3,1: 58:[65, 20] Operation: 97-77=20 Moving to Node #0,3,1 Current State: 58:[65, 20], Operations: ['27+70=97', '97-77=20'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[65, 20], Operations: ['27+70=97', '97-77=20'] Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,3 Current State: 58:[65, 77, 97], Operations: ['27+70=97'] Exploring Operation: 77-65=12, Resulting Numbers: [97, 12] Generated Node #0,3,2: 58:[97, 12] Operation: 77-65=12 Moving to Node #0,3,2 Current State: 58:[97, 12], Operations: ['27+70=97', '77-65=12'] Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[97, 12], Operations: ['27+70=97', '77-65=12'] Exploring Operation: 97+12=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0 Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 27+65=92, Resulting Numbers: [70, 77, 92] Generated Node #0,4: 58:[70, 77, 92] Operation: 27+65=92 Moving to Node #0,4 Current State: 58:[70, 77, 92], Operations: ['27+65=92'] Exploring Operation: 92-70=22, Resulting Numbers: [77, 22] Generated Node #0,4,0: 58:[77, 22] Operation: 92-70=22 Moving to Node #0,4,0 Current State: 58:[77, 22], Operations: ['27+65=92', '92-70=22'] Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,4,0 Current State: 58:[77, 22], Operations: ['27+65=92', '92-70=22'] Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,4 Current State: 58:[70, 77, 92], Operations: ['27+65=92'] Exploring Operation: 92-77=15, Resulting Numbers: [70, 15] Generated Node #0,4,1: 58:[70, 15] Operation: 92-77=15 Moving to Node #0,4,1 Current State: 58:[70, 15], Operations: ['27+65=92', '92-77=15'] Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,4,1 Current State: 58:[70, 15], Operations: ['27+65=92', '92-77=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,4 Current State: 58:[70, 77, 92], Operations: ['27+65=92'] Exploring Operation: 77-70=7, Resulting Numbers: [92, 7] Generated Node #0,4,2: 58:[92, 7] Operation: 77-70=7 Moving to Node #0,4,2 Current State: 58:[92, 7], Operations: ['27+65=92', '77-70=7'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,4,2 Current State: 58:[92, 7], Operations: ['27+65=92', '77-70=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0 Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 27+77=104, Resulting Numbers: [70, 65, 104] Generated Node #0,5: 58:[70, 65, 104] Operation: 27+77=104 Moving to Node #0,5 Current State: 58:[70, 65, 104], Operations: ['27+77=104'] Exploring Operation: 104-70=34, Resulting Numbers: [65, 34] Generated Node #0,5,0: 58:[65, 34] Operation: 104-70=34 Moving to Node #0,5,0 Current State: 58:[65, 34], Operations: ['27+77=104', '104-70=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,5,0 Current State: 58:[65, 34], Operations: ['27+77=104', '104-70=34'] Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,5 Current State: 58:[70, 65, 104], Operations: ['27+77=104'] Exploring Operation: 104-65=39, Resulting Numbers: [70, 39] Generated Node #0,5,1: 58:[70, 39] Operation: 104-65=39 Moving to Node #0,5,1 Current State: 58:[70, 39], Operations: ['27+77=104', '104-65=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,5,1 Current State: 58:[70, 39], Operations: ['27+77=104', '104-65=39'] Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0,5 Current State: 58:[70, 65, 104], Operations: ['27+77=104'] Exploring Operation: 70-65=5, Resulting Numbers: [104, 5] Generated Node #0,5,2: 58:[104, 5] Operation: 70-65=5 Moving to Node #0,5,2 Current State: 58:[104, 5], Operations: ['27+77=104', '70-65=5'] Exploring Operation: 104-5=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,5,2 Current State: 58:[104, 5], Operations: ['27+77=104', '70-65=5'] Exploring Operation: 104+5=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0 Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [27, 65, 7] Generated Node #0,6: 58:[27, 65, 7] Operation: 77-70=7 Moving to Node #0,6 Current State: 58:[27, 65, 7], Operations: ['77-70=7'] Exploring Operation: 27+7=34, Resulting Numbers: [65, 34] Generated Node #0,6,0: 58:[65, 34] Operation: 27+7=34 Moving to Node #0,6,0 Current State: 58:[65, 34], Operations: ['77-70=7', '27+7=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,6,0 Current State: 58:[65, 34], Operations: ['77-70=7', '27+7=34'] Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,6 Current State: 58:[27, 65, 7], Operations: ['77-70=7'] Exploring Operation: 65-7=58, Resulting Numbers: [27, 58] Generated Node #0,6,1: 58:[27, 58] Operation: 65-7=58 Moving to Node #0,6,1 Current State: 58:[27, 58], Operations: ['77-70=7', '65-7=58'] Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,6,1 Current State: 58:[27, 58], Operations: ['77-70=7', '65-7=58'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,6 Current State: 58:[27, 65, 7], Operations: ['77-70=7'] Exploring Operation: 27-7=20, Resulting Numbers: [65, 20] Generated Node #0,6,2: 58:[65, 20] Operation: 27-7=20 Moving to Node #0,6,2 Current State: 58:[65, 20], Operations: ['77-70=7', '27-7=20'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,6,2 Current State: 58:[65, 20], Operations: ['77-70=7', '27-7=20'] Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,6 Current State: 58:[27, 65, 7], Operations: ['77-70=7'] Exploring Operation: 65+7=72, Resulting Numbers: [27, 72] Generated Node #0,6,3: 58:[27, 72] Operation: 65+7=72 Moving to Node #0,6,3 Current State: 58:[27, 72], Operations: ['77-70=7', '65+7=72'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,6,3 Current State: 58:[27, 72], Operations: ['77-70=7', '65+7=72'] Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,6 Current State: 58:[27, 65, 7], Operations: ['77-70=7'] Exploring Operation: 65-27=38, Resulting Numbers: [7, 38] Generated Node #0,6,4: 58:[7, 38] Operation: 65-27=38 Moving to Node #0,6,4 Current State: 58:[7, 38], Operations: ['77-70=7', '65-27=38'] Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,6,4 Current State: 58:[7, 38], Operations: ['77-70=7', '65-27=38'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,6 Current State: 58:[27, 65, 7], Operations: ['77-70=7'] Exploring Operation: 27+65=92, Resulting Numbers: [7, 92] Generated Node #0,6,5: 58:[7, 92] Operation: 27+65=92 Moving to Node #0,6,5 Current State: 58:[7, 92], Operations: ['77-70=7', '27+65=92'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,6,5 Current State: 58:[7, 92], Operations: ['77-70=7', '27+65=92'] Exploring Operation: 7+92=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0 Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [27, 70, 12] Generated Node #0,7: 58:[27, 70, 12] Operation: 77-65=12 Moving to Node #0,7 Current State: 58:[27, 70, 12], Operations: ['77-65=12'] Exploring Operation: 27+12=39, Resulting Numbers: [70, 39] Generated Node #0,7,0: 58:[70, 39] Operation: 27+12=39 Moving to Node #0,7,0 Current State: 58:[70, 39], Operations: ['77-65=12', '27+12=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,7,0 Current State: 58:[70, 39], Operations: ['77-65=12', '27+12=39'] Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0,7 Current State: 58:[27, 70, 12], Operations: ['77-65=12'] Exploring Operation: 70-12=58, Resulting Numbers: [27, 58] Generated Node #0,7,1: 58:[27, 58] Operation: 70-12=58 Moving to Node #0,7,1 Current State: 58:[27, 58], Operations: ['77-65=12', '70-12=58'] Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,7,1 Current State: 58:[27, 58], Operations: ['77-65=12', '70-12=58'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,7 Current State: 58:[27, 70, 12], Operations: ['77-65=12'] Exploring Operation: 27-12=15, Resulting Numbers: [70, 15] Generated Node #0,7,2: 58:[70, 15] Operation: 27-12=15 Moving to Node #0,7,2 Current State: 58:[70, 15], Operations: ['77-65=12', '27-12=15'] Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,7,2 Current State: 58:[70, 15], Operations: ['77-65=12', '27-12=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,7 Current State: 58:[27, 70, 12], Operations: ['77-65=12'] Exploring Operation: 70+12=82, Resulting Numbers: [27, 82] Generated Node #0,7,3: 58:[27, 82] Operation: 70+12=82 Moving to Node #0,7,3 Current State: 58:[27, 82], Operations: ['77-65=12', '70+12=82'] Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,7,3 Current State: 58:[27, 82], Operations: ['77-65=12', '70+12=82'] Exploring Operation: 27+82=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0,7 Current State: 58:[27, 70, 12], Operations: ['77-65=12'] Exploring Operation: 70-27=43, Resulting Numbers: [12, 43] Generated Node #0,7,4: 58:[12, 43] Operation: 70-27=43 Moving to Node #0,7,4 Current State: 58:[12, 43], Operations: ['77-65=12', '70-27=43'] Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,7,4 Current State: 58:[12, 43], Operations: ['77-65=12', '70-27=43'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,7 Current State: 58:[27, 70, 12], Operations: ['77-65=12'] Exploring Operation: 27+70=97, Resulting Numbers: [12, 97] Generated Node #0,7,5: 58:[12, 97] Operation: 27+70=97 Moving to Node #0,7,5 Current State: 58:[12, 97], Operations: ['77-65=12', '27+70=97'] Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,58 unequal: No Solution Moving to Node #0,7,5 Current State: 58:[12, 97], Operations: ['77-65=12', '27+70=97'] Exploring Operation: 12+97=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0 Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [27, 77, 5] Generated Node #0,8: 58:[27, 77, 5] Operation: 70-65=5 Moving to Node #0,8 Current State: 58:[27, 77, 5], Operations: ['70-65=5'] Exploring Operation: 27+5=32, Resulting Numbers: [77, 32] Generated Node #0,8,0: 58:[77, 32] Operation: 27+5=32 Moving to Node #0,8,0 Current State: 58:[77, 32], Operations: ['70-65=5', '27+5=32'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,8,0 Current State: 58:[77, 32], Operations: ['70-65=5', '27+5=32'] Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0,8 Current State: 58:[27, 77, 5], Operations: ['70-65=5'] Exploring Operation: 77-5=72, Resulting Numbers: [27, 72] Generated Node #0,8,1: 58:[27, 72] Operation: 77-5=72 Moving to Node #0,8,1 Current State: 58:[27, 72], Operations: ['70-65=5', '77-5=72'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,8,1 Current State: 58:[27, 72], Operations: ['70-65=5', '77-5=72'] Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,8 Current State: 58:[27, 77, 5], Operations: ['70-65=5'] Exploring Operation: 27-5=22, Resulting Numbers: [77, 22] Generated Node #0,8,2: 58:[77, 22] Operation: 27-5=22 Moving to Node #0,8,2 Current State: 58:[77, 22], Operations: ['70-65=5', '27-5=22'] Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,8,2 Current State: 58:[77, 22], Operations: ['70-65=5', '27-5=22'] Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,8 Current State: 58:[27, 77, 5], Operations: ['70-65=5'] Exploring Operation: 77+5=82, Resulting Numbers: [27, 82] Generated Node #0,8,3: 58:[27, 82] Operation: 77+5=82 Moving to Node #0,8,3 Current State: 58:[27, 82], Operations: ['70-65=5', '77+5=82'] Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,8,3 Current State: 58:[27, 82], Operations: ['70-65=5', '77+5=82'] Exploring Operation: 27+82=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0,8 Current State: 58:[27, 77, 5], Operations: ['70-65=5'] Exploring Operation: 77-27=50, Resulting Numbers: [5, 50] Generated Node #0,8,4: 58:[5, 50] Operation: 77-27=50 Moving to Node #0,8,4 Current State: 58:[5, 50], Operations: ['70-65=5', '77-27=50'] Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,8,4 Current State: 58:[5, 50], Operations: ['70-65=5', '77-27=50'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,8,4 Current State: 58:[5, 50], Operations: ['70-65=5', '77-27=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,58 unequal: No Solution Moving to Node #0,8 Current State: 58:[27, 77, 5], Operations: ['70-65=5'] Exploring Operation: 27*5=135, Resulting Numbers: [77, 135] Generated Node #0,8,5: 58:[77, 135] Operation: 27*5=135 Moving to Node #0,8,5 Current State: 58:[77, 135], Operations: ['70-65=5', '27*5=135'] Exploring Operation: 135-77=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.881076
dfs
Current State: 58:[27, 70, 65, 77], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [27, 77, 5] Generated Node #2: [27, 77, 5] from Operation: 70-65=5 Current State: 58:[27, 77, 5], Operations: ['70-65=5'] Exploring Operation: 27*5=135, Resulting Numbers: [77, 135] Generated Node #3: [77, 135] from Operation: 27*5=135 Current State: 58:[77, 135], Operations: ['70-65=5', '27*5=135'] Exploring Operation: 135-77=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
sum_heuristic
[ { "content": "Make 58 with the numbers [27, 70, 65, 77] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 58:[27, 70, 65, 77], Operations: []\nExploring Operation: 77-27=50, Resulting Numbers: [70, 65, 50]\nGenerated Node #0,0: 58:[70, 65, 50] Operation: 77-27=50\nMoving to Node #0,0\nCurrent State: 58:[70, 65, 50], Operations: ['77-27=50']\nExploring Operation: 70-50=20, Resulting Numbers: [65, 20]\nGenerated Node #0,0,0: 58:[65, 20] Operation: 70-50=20\nMoving to Node #0,0,0\nCurrent State: 58:[65, 20], Operations: ['77-27=50', '70-50=20']\nExploring Operation: 65-20=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 58:[65, 20], Operations: ['77-27=50', '70-50=20']\nExploring Operation: 65+20=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 58:[70, 65, 50], Operations: ['77-27=50']\nExploring Operation: 65-50=15, Resulting Numbers: [70, 15]\nGenerated Node #0,0,1: 58:[70, 15] Operation: 65-50=15\nMoving to Node #0,0,1\nCurrent State: 58:[70, 15], Operations: ['77-27=50', '65-50=15']\nExploring Operation: 70-15=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 58:[70, 15], Operations: ['77-27=50', '65-50=15']\nExploring Operation: 70+15=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 58:[70, 65, 50], Operations: ['77-27=50']\nExploring Operation: 70-65=5, Resulting Numbers: [50, 5]\nGenerated Node #0,0,2: 58:[50, 5] Operation: 70-65=5\nMoving to Node #0,0,2\nCurrent State: 58:[50, 5], Operations: ['77-27=50', '70-65=5']\nExploring Operation: 50+5=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 58:[50, 5], Operations: ['77-27=50', '70-65=5']\nExploring Operation: 50-5=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 58:[50, 5], Operations: ['77-27=50', '70-65=5']\nExploring Operation: 50/5=10, Resulting Numbers: [10]\n10,58 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 58:[70, 65, 50], Operations: ['77-27=50']\nExploring Operation: 70+50=120, Resulting Numbers: [65, 120]\nGenerated Node #0,0,3: 58:[65, 120] Operation: 70+50=120\nMoving to Node #0,0,3\nCurrent State: 58:[65, 120], Operations: ['77-27=50', '70+50=120']\nExploring Operation: 120-65=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 58:[70, 65, 50], Operations: ['77-27=50']\nExploring Operation: 65+50=115, Resulting Numbers: [70, 115]\nGenerated Node #0,0,4: 58:[70, 115] Operation: 65+50=115\nMoving to Node #0,0,4\nCurrent State: 58:[70, 115], Operations: ['77-27=50', '65+50=115']\nExploring Operation: 115-70=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 58:[70, 65, 50], Operations: ['77-27=50']\nExploring Operation: 70+65=135, Resulting Numbers: [50, 135]\nGenerated Node #0,0,5: 58:[50, 135] Operation: 70+65=135\nMoving to Node #0,0,5\nCurrent State: 58:[50, 135], Operations: ['77-27=50', '70+65=135']\nExploring Operation: 135-50=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0\nCurrent State: 58:[27, 70, 65, 77], Operations: []\nExploring Operation: 70-27=43, Resulting Numbers: [65, 77, 43]\nGenerated Node #0,1: 58:[65, 77, 43] Operation: 70-27=43\nMoving to Node #0,1\nCurrent State: 58:[65, 77, 43], Operations: ['70-27=43']\nExploring Operation: 77-43=34, Resulting Numbers: [65, 34]\nGenerated Node #0,1,0: 58:[65, 34] Operation: 77-43=34\nMoving to Node #0,1,0\nCurrent State: 58:[65, 34], Operations: ['70-27=43', '77-43=34']\nExploring Operation: 65-34=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 58:[65, 34], Operations: ['70-27=43', '77-43=34']\nExploring Operation: 65+34=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 58:[65, 77, 43], Operations: ['70-27=43']\nExploring Operation: 65-43=22, Resulting Numbers: [77, 22]\nGenerated Node #0,1,1: 58:[77, 22] Operation: 65-43=22\nMoving to Node #0,1,1\nCurrent State: 58:[77, 22], Operations: ['70-27=43', '65-43=22']\nExploring Operation: 77-22=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 58:[77, 22], Operations: ['70-27=43', '65-43=22']\nExploring Operation: 77+22=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 58:[65, 77, 43], Operations: ['70-27=43']\nExploring Operation: 77-65=12, Resulting Numbers: [43, 12]\nGenerated Node #0,1,2: 58:[43, 12] Operation: 77-65=12\nMoving to Node #0,1,2\nCurrent State: 58:[43, 12], Operations: ['70-27=43', '77-65=12']\nExploring Operation: 43+12=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 58:[43, 12], Operations: ['70-27=43', '77-65=12']\nExploring Operation: 43-12=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 58:[65, 77, 43], Operations: ['70-27=43']\nExploring Operation: 65+43=108, Resulting Numbers: [77, 108]\nGenerated Node #0,1,3: 58:[77, 108] Operation: 65+43=108\nMoving to Node #0,1,3\nCurrent State: 58:[77, 108], Operations: ['70-27=43', '65+43=108']\nExploring Operation: 108-77=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 58:[65, 77, 43], Operations: ['70-27=43']\nExploring Operation: 77+43=120, Resulting Numbers: [65, 120]\nGenerated Node #0,1,4: 58:[65, 120] Operation: 77+43=120\nMoving to Node #0,1,4\nCurrent State: 58:[65, 120], Operations: ['70-27=43', '77+43=120']\nExploring Operation: 120-65=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 58:[65, 77, 43], Operations: ['70-27=43']\nExploring Operation: 65+77=142, Resulting Numbers: [43, 142]\nGenerated Node #0,1,5: 58:[43, 142] Operation: 65+77=142\nMoving to Node #0,1,5\nCurrent State: 58:[43, 142], Operations: ['70-27=43', '65+77=142']\nExploring Operation: 142-43=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0\nCurrent State: 58:[27, 70, 65, 77], Operations: []\nExploring Operation: 65-27=38, Resulting Numbers: [70, 77, 38]\nGenerated Node #0,2: 58:[70, 77, 38] Operation: 65-27=38\nMoving to Node #0,2\nCurrent State: 58:[70, 77, 38], Operations: ['65-27=38']\nExploring Operation: 77-38=39, Resulting Numbers: [70, 39]\nGenerated Node #0,2,0: 58:[70, 39] Operation: 77-38=39\nMoving to Node #0,2,0\nCurrent State: 58:[70, 39], Operations: ['65-27=38', '77-38=39']\nExploring Operation: 70-39=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 58:[70, 39], Operations: ['65-27=38', '77-38=39']\nExploring Operation: 70+39=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 58:[70, 77, 38], Operations: ['65-27=38']\nExploring Operation: 70-38=32, Resulting Numbers: [77, 32]\nGenerated Node #0,2,1: 58:[77, 32] Operation: 70-38=32\nMoving to Node #0,2,1\nCurrent State: 58:[77, 32], Operations: ['65-27=38', '70-38=32']\nExploring Operation: 77-32=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 58:[77, 32], Operations: ['65-27=38', '70-38=32']\nExploring Operation: 77+32=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 58:[70, 77, 38], Operations: ['65-27=38']\nExploring Operation: 70+38=108, Resulting Numbers: [77, 108]\nGenerated Node #0,2,2: 58:[77, 108] Operation: 70+38=108\nMoving to Node #0,2,2\nCurrent State: 58:[77, 108], Operations: ['65-27=38', '70+38=108']\nExploring Operation: 108-77=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 58:[70, 77, 38], Operations: ['65-27=38']\nExploring Operation: 77+38=115, Resulting Numbers: [70, 115]\nGenerated Node #0,2,3: 58:[70, 115] Operation: 77+38=115\nMoving to Node #0,2,3\nCurrent State: 58:[70, 115], Operations: ['65-27=38', '77+38=115']\nExploring Operation: 115-70=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 58:[70, 77, 38], Operations: ['65-27=38']\nExploring Operation: 77-70=7, Resulting Numbers: [38, 7]\nGenerated Node #0,2,4: 58:[38, 7] Operation: 77-70=7\nMoving to Node #0,2,4\nCurrent State: 58:[38, 7], Operations: ['65-27=38', '77-70=7']\nExploring Operation: 38+7=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 58:[38, 7], Operations: ['65-27=38', '77-70=7']\nExploring Operation: 38-7=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 58:[70, 77, 38], Operations: ['65-27=38']\nExploring Operation: 70+77=147, Resulting Numbers: [38, 147]\nGenerated Node #0,2,5: 58:[38, 147] Operation: 70+77=147\nMoving to Node #0,2,5\nCurrent State: 58:[38, 147], Operations: ['65-27=38', '70+77=147']\nExploring Operation: 147-38=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0\nCurrent State: 58:[27, 70, 65, 77], Operations: []\nExploring Operation: 27+70=97, Resulting Numbers: [65, 77, 97]\nGenerated Node #0,3: 58:[65, 77, 97] Operation: 27+70=97\nMoving to Node #0,3\nCurrent State: 58:[65, 77, 97], Operations: ['27+70=97']\nExploring Operation: 97-65=32, Resulting Numbers: [77, 32]\nGenerated Node #0,3,0: 58:[77, 32] Operation: 97-65=32\nMoving to Node #0,3,0\nCurrent State: 58:[77, 32], Operations: ['27+70=97', '97-65=32']\nExploring Operation: 77-32=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 58:[77, 32], Operations: ['27+70=97', '97-65=32']\nExploring Operation: 77+32=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 58:[65, 77, 97], Operations: ['27+70=97']\nExploring Operation: 97-77=20, Resulting Numbers: [65, 20]\nGenerated Node #0,3,1: 58:[65, 20] Operation: 97-77=20\nMoving to Node #0,3,1\nCurrent State: 58:[65, 20], Operations: ['27+70=97', '97-77=20']\nExploring Operation: 65-20=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 58:[65, 20], Operations: ['27+70=97', '97-77=20']\nExploring Operation: 65+20=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 58:[65, 77, 97], Operations: ['27+70=97']\nExploring Operation: 77-65=12, Resulting Numbers: [97, 12]\nGenerated Node #0,3,2: 58:[97, 12] Operation: 77-65=12\nMoving to Node #0,3,2\nCurrent State: 58:[97, 12], Operations: ['27+70=97', '77-65=12']\nExploring Operation: 97-12=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 58:[97, 12], Operations: ['27+70=97', '77-65=12']\nExploring Operation: 97+12=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0\nCurrent State: 58:[27, 70, 65, 77], Operations: []\nExploring Operation: 27+65=92, Resulting Numbers: [70, 77, 92]\nGenerated Node #0,4: 58:[70, 77, 92] Operation: 27+65=92\nMoving to Node #0,4\nCurrent State: 58:[70, 77, 92], Operations: ['27+65=92']\nExploring Operation: 92-70=22, Resulting Numbers: [77, 22]\nGenerated Node #0,4,0: 58:[77, 22] Operation: 92-70=22\nMoving to Node #0,4,0\nCurrent State: 58:[77, 22], Operations: ['27+65=92', '92-70=22']\nExploring Operation: 77-22=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 58:[77, 22], Operations: ['27+65=92', '92-70=22']\nExploring Operation: 77+22=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 58:[70, 77, 92], Operations: ['27+65=92']\nExploring Operation: 92-77=15, Resulting Numbers: [70, 15]\nGenerated Node #0,4,1: 58:[70, 15] Operation: 92-77=15\nMoving to Node #0,4,1\nCurrent State: 58:[70, 15], Operations: ['27+65=92', '92-77=15']\nExploring Operation: 70-15=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 58:[70, 15], Operations: ['27+65=92', '92-77=15']\nExploring Operation: 70+15=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 58:[70, 77, 92], Operations: ['27+65=92']\nExploring Operation: 77-70=7, Resulting Numbers: [92, 7]\nGenerated Node #0,4,2: 58:[92, 7] Operation: 77-70=7\nMoving to Node #0,4,2\nCurrent State: 58:[92, 7], Operations: ['27+65=92', '77-70=7']\nExploring Operation: 92-7=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 58:[92, 7], Operations: ['27+65=92', '77-70=7']\nExploring Operation: 92+7=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0\nCurrent State: 58:[27, 70, 65, 77], Operations: []\nExploring Operation: 27+77=104, Resulting Numbers: [70, 65, 104]\nGenerated Node #0,5: 58:[70, 65, 104] Operation: 27+77=104\nMoving to Node #0,5\nCurrent State: 58:[70, 65, 104], Operations: ['27+77=104']\nExploring Operation: 104-70=34, Resulting Numbers: [65, 34]\nGenerated Node #0,5,0: 58:[65, 34] Operation: 104-70=34\nMoving to Node #0,5,0\nCurrent State: 58:[65, 34], Operations: ['27+77=104', '104-70=34']\nExploring Operation: 65-34=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 58:[65, 34], Operations: ['27+77=104', '104-70=34']\nExploring Operation: 65+34=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 58:[70, 65, 104], Operations: ['27+77=104']\nExploring Operation: 104-65=39, Resulting Numbers: [70, 39]\nGenerated Node #0,5,1: 58:[70, 39] Operation: 104-65=39\nMoving to Node #0,5,1\nCurrent State: 58:[70, 39], Operations: ['27+77=104', '104-65=39']\nExploring Operation: 70-39=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 58:[70, 39], Operations: ['27+77=104', '104-65=39']\nExploring Operation: 70+39=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 58:[70, 65, 104], Operations: ['27+77=104']\nExploring Operation: 70-65=5, Resulting Numbers: [104, 5]\nGenerated Node #0,5,2: 58:[104, 5] Operation: 70-65=5\nMoving to Node #0,5,2\nCurrent State: 58:[104, 5], Operations: ['27+77=104', '70-65=5']\nExploring Operation: 104-5=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 58:[104, 5], Operations: ['27+77=104', '70-65=5']\nExploring Operation: 104+5=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0\nCurrent State: 58:[27, 70, 65, 77], Operations: []\nExploring Operation: 77-70=7, Resulting Numbers: [27, 65, 7]\nGenerated Node #0,6: 58:[27, 65, 7] Operation: 77-70=7\nMoving to Node #0,6\nCurrent State: 58:[27, 65, 7], Operations: ['77-70=7']\nExploring Operation: 27+7=34, Resulting Numbers: [65, 34]\nGenerated Node #0,6,0: 58:[65, 34] Operation: 27+7=34\nMoving to Node #0,6,0\nCurrent State: 58:[65, 34], Operations: ['77-70=7', '27+7=34']\nExploring Operation: 65-34=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 58:[65, 34], Operations: ['77-70=7', '27+7=34']\nExploring Operation: 65+34=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 58:[27, 65, 7], Operations: ['77-70=7']\nExploring Operation: 65-7=58, Resulting Numbers: [27, 58]\nGenerated Node #0,6,1: 58:[27, 58] Operation: 65-7=58\nMoving to Node #0,6,1\nCurrent State: 58:[27, 58], Operations: ['77-70=7', '65-7=58']\nExploring Operation: 27+58=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 58:[27, 58], Operations: ['77-70=7', '65-7=58']\nExploring Operation: 58-27=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 58:[27, 65, 7], Operations: ['77-70=7']\nExploring Operation: 27-7=20, Resulting Numbers: [65, 20]\nGenerated Node #0,6,2: 58:[65, 20] Operation: 27-7=20\nMoving to Node #0,6,2\nCurrent State: 58:[65, 20], Operations: ['77-70=7', '27-7=20']\nExploring Operation: 65-20=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 58:[65, 20], Operations: ['77-70=7', '27-7=20']\nExploring Operation: 65+20=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 58:[27, 65, 7], Operations: ['77-70=7']\nExploring Operation: 65+7=72, Resulting Numbers: [27, 72]\nGenerated Node #0,6,3: 58:[27, 72] Operation: 65+7=72\nMoving to Node #0,6,3\nCurrent State: 58:[27, 72], Operations: ['77-70=7', '65+7=72']\nExploring Operation: 72-27=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 58:[27, 72], Operations: ['77-70=7', '65+7=72']\nExploring Operation: 27+72=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 58:[27, 65, 7], Operations: ['77-70=7']\nExploring Operation: 65-27=38, Resulting Numbers: [7, 38]\nGenerated Node #0,6,4: 58:[7, 38] Operation: 65-27=38\nMoving to Node #0,6,4\nCurrent State: 58:[7, 38], Operations: ['77-70=7', '65-27=38']\nExploring Operation: 7+38=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 58:[7, 38], Operations: ['77-70=7', '65-27=38']\nExploring Operation: 38-7=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 58:[27, 65, 7], Operations: ['77-70=7']\nExploring Operation: 27+65=92, Resulting Numbers: [7, 92]\nGenerated Node #0,6,5: 58:[7, 92] Operation: 27+65=92\nMoving to Node #0,6,5\nCurrent State: 58:[7, 92], Operations: ['77-70=7', '27+65=92']\nExploring Operation: 92-7=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 58:[7, 92], Operations: ['77-70=7', '27+65=92']\nExploring Operation: 7+92=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0\nCurrent State: 58:[27, 70, 65, 77], Operations: []\nExploring Operation: 77-65=12, Resulting Numbers: [27, 70, 12]\nGenerated Node #0,7: 58:[27, 70, 12] Operation: 77-65=12\nMoving to Node #0,7\nCurrent State: 58:[27, 70, 12], Operations: ['77-65=12']\nExploring Operation: 27+12=39, Resulting Numbers: [70, 39]\nGenerated Node #0,7,0: 58:[70, 39] Operation: 27+12=39\nMoving to Node #0,7,0\nCurrent State: 58:[70, 39], Operations: ['77-65=12', '27+12=39']\nExploring Operation: 70-39=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 58:[70, 39], Operations: ['77-65=12', '27+12=39']\nExploring Operation: 70+39=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 58:[27, 70, 12], Operations: ['77-65=12']\nExploring Operation: 70-12=58, Resulting Numbers: [27, 58]\nGenerated Node #0,7,1: 58:[27, 58] Operation: 70-12=58\nMoving to Node #0,7,1\nCurrent State: 58:[27, 58], Operations: ['77-65=12', '70-12=58']\nExploring Operation: 27+58=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 58:[27, 58], Operations: ['77-65=12', '70-12=58']\nExploring Operation: 58-27=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 58:[27, 70, 12], Operations: ['77-65=12']\nExploring Operation: 27-12=15, Resulting Numbers: [70, 15]\nGenerated Node #0,7,2: 58:[70, 15] Operation: 27-12=15\nMoving to Node #0,7,2\nCurrent State: 58:[70, 15], Operations: ['77-65=12', '27-12=15']\nExploring Operation: 70-15=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 58:[70, 15], Operations: ['77-65=12', '27-12=15']\nExploring Operation: 70+15=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 58:[27, 70, 12], Operations: ['77-65=12']\nExploring Operation: 70+12=82, Resulting Numbers: [27, 82]\nGenerated Node #0,7,3: 58:[27, 82] Operation: 70+12=82\nMoving to Node #0,7,3\nCurrent State: 58:[27, 82], Operations: ['77-65=12', '70+12=82']\nExploring Operation: 82-27=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 58:[27, 82], Operations: ['77-65=12', '70+12=82']\nExploring Operation: 27+82=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 58:[27, 70, 12], Operations: ['77-65=12']\nExploring Operation: 70-27=43, Resulting Numbers: [12, 43]\nGenerated Node #0,7,4: 58:[12, 43] Operation: 70-27=43\nMoving to Node #0,7,4\nCurrent State: 58:[12, 43], Operations: ['77-65=12', '70-27=43']\nExploring Operation: 12+43=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 58:[12, 43], Operations: ['77-65=12', '70-27=43']\nExploring Operation: 43-12=31, Resulting Numbers: [31]\n31,58 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 58:[27, 70, 12], Operations: ['77-65=12']\nExploring Operation: 27+70=97, Resulting Numbers: [12, 97]\nGenerated Node #0,7,5: 58:[12, 97] Operation: 27+70=97\nMoving to Node #0,7,5\nCurrent State: 58:[12, 97], Operations: ['77-65=12', '27+70=97']\nExploring Operation: 97-12=85, Resulting Numbers: [85]\n85,58 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 58:[12, 97], Operations: ['77-65=12', '27+70=97']\nExploring Operation: 12+97=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0\nCurrent State: 58:[27, 70, 65, 77], Operations: []\nExploring Operation: 70-65=5, Resulting Numbers: [27, 77, 5]\nGenerated Node #0,8: 58:[27, 77, 5] Operation: 70-65=5\nMoving to Node #0,8\nCurrent State: 58:[27, 77, 5], Operations: ['70-65=5']\nExploring Operation: 27+5=32, Resulting Numbers: [77, 32]\nGenerated Node #0,8,0: 58:[77, 32] Operation: 27+5=32\nMoving to Node #0,8,0\nCurrent State: 58:[77, 32], Operations: ['70-65=5', '27+5=32']\nExploring Operation: 77-32=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 58:[77, 32], Operations: ['70-65=5', '27+5=32']\nExploring Operation: 77+32=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 58:[27, 77, 5], Operations: ['70-65=5']\nExploring Operation: 77-5=72, Resulting Numbers: [27, 72]\nGenerated Node #0,8,1: 58:[27, 72] Operation: 77-5=72\nMoving to Node #0,8,1\nCurrent State: 58:[27, 72], Operations: ['70-65=5', '77-5=72']\nExploring Operation: 72-27=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 58:[27, 72], Operations: ['70-65=5', '77-5=72']\nExploring Operation: 27+72=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 58:[27, 77, 5], Operations: ['70-65=5']\nExploring Operation: 27-5=22, Resulting Numbers: [77, 22]\nGenerated Node #0,8,2: 58:[77, 22] Operation: 27-5=22\nMoving to Node #0,8,2\nCurrent State: 58:[77, 22], Operations: ['70-65=5', '27-5=22']\nExploring Operation: 77-22=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 58:[77, 22], Operations: ['70-65=5', '27-5=22']\nExploring Operation: 77+22=99, Resulting Numbers: [99]\n99,58 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 58:[27, 77, 5], Operations: ['70-65=5']\nExploring Operation: 77+5=82, Resulting Numbers: [27, 82]\nGenerated Node #0,8,3: 58:[27, 82] Operation: 77+5=82\nMoving to Node #0,8,3\nCurrent State: 58:[27, 82], Operations: ['70-65=5', '77+5=82']\nExploring Operation: 82-27=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 58:[27, 82], Operations: ['70-65=5', '77+5=82']\nExploring Operation: 27+82=109, Resulting Numbers: [109]\n109,58 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 58:[27, 77, 5], Operations: ['70-65=5']\nExploring Operation: 77-27=50, Resulting Numbers: [5, 50]\nGenerated Node #0,8,4: 58:[5, 50] Operation: 77-27=50\nMoving to Node #0,8,4\nCurrent State: 58:[5, 50], Operations: ['70-65=5', '77-27=50']\nExploring Operation: 5+50=55, Resulting Numbers: [55]\n55,58 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 58:[5, 50], Operations: ['70-65=5', '77-27=50']\nExploring Operation: 50-5=45, Resulting Numbers: [45]\n45,58 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 58:[5, 50], Operations: ['70-65=5', '77-27=50']\nExploring Operation: 50/5=10, Resulting Numbers: [10]\n10,58 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 58:[27, 77, 5], Operations: ['70-65=5']\nExploring Operation: 27*5=135, Resulting Numbers: [77, 135]\nGenerated Node #0,8,5: 58:[77, 135] Operation: 27*5=135\nMoving to Node #0,8,5\nCurrent State: 58:[77, 135], Operations: ['70-65=5', '27*5=135']\nExploring Operation: 135-77=58, Resulting Numbers: [58]\n58,58 equal: Goal Reached\n", "role": "assistant" } ]
[ 63, 5, 37, 10 ]
72
[ "37-10=27", "5*27=135", "135-63=72" ]
Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 5*10=50, Resulting Numbers: [63, 37, 50] Generated Node #0,0: 72:[63, 37, 50] Operation: 5*10=50 Moving to Node #0,0 Current State: 72:[63, 37, 50], Operations: ['5*10=50'] Exploring Operation: 37+50=87, Resulting Numbers: [63, 87] Generated Node #0,0,0: 72:[63, 87] Operation: 37+50=87 Moving to Node #0,0,0 Current State: 72:[63, 87], Operations: ['5*10=50', '37+50=87'] Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[63, 37, 50], Operations: ['5*10=50'] Exploring Operation: 63+37=100, Resulting Numbers: [50, 100] Generated Node #0,0,1: 72:[50, 100] Operation: 63+37=100 Moving to Node #0,0,1 Current State: 72:[50, 100], Operations: ['5*10=50', '63+37=100'] Exploring Operation: 100-50=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[50, 100], Operations: ['5*10=50', '63+37=100'] Exploring Operation: 100/50=2, Resulting Numbers: [2] 2,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[63, 37, 50], Operations: ['5*10=50'] Exploring Operation: 63-37=26, Resulting Numbers: [50, 26] Generated Node #0,0,2: 72:[50, 26] Operation: 63-37=26 Moving to Node #0,0,2 Current State: 72:[50, 26], Operations: ['5*10=50', '63-37=26'] Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[50, 26], Operations: ['5*10=50', '63-37=26'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[63, 37, 50], Operations: ['5*10=50'] Exploring Operation: 50-37=13, Resulting Numbers: [63, 13] Generated Node #0,0,3: 72:[63, 13] Operation: 50-37=13 Moving to Node #0,0,3 Current State: 72:[63, 13], Operations: ['5*10=50', '50-37=13'] Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[63, 13], Operations: ['5*10=50', '50-37=13'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[63, 37, 50], Operations: ['5*10=50'] Exploring Operation: 63+50=113, Resulting Numbers: [37, 113] Generated Node #0,0,4: 72:[37, 113] Operation: 63+50=113 Moving to Node #0,0,4 Current State: 72:[37, 113], Operations: ['5*10=50', '63+50=113'] Exploring Operation: 113-37=76, Resulting Numbers: [76] 76,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[63, 37, 50], Operations: ['5*10=50'] Exploring Operation: 63-50=13, Resulting Numbers: [37, 13] Generated Node #0,0,5: 72:[37, 13] Operation: 63-50=13 Moving to Node #0,0,5 Current State: 72:[37, 13], Operations: ['5*10=50', '63-50=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,0,5 Current State: 72:[37, 13], Operations: ['5*10=50', '63-50=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 63+5=68, Resulting Numbers: [37, 10, 68] Generated Node #0,1: 72:[37, 10, 68] Operation: 63+5=68 Moving to Node #0,1 Current State: 72:[37, 10, 68], Operations: ['63+5=68'] Exploring Operation: 37+10=47, Resulting Numbers: [68, 47] Generated Node #0,1,0: 72:[68, 47] Operation: 37+10=47 Moving to Node #0,1,0 Current State: 72:[68, 47], Operations: ['63+5=68', '37+10=47'] Exploring Operation: 68+47=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[68, 47], Operations: ['63+5=68', '37+10=47'] Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[37, 10, 68], Operations: ['63+5=68'] Exploring Operation: 10+68=78, Resulting Numbers: [37, 78] Generated Node #0,1,1: 72:[37, 78] Operation: 10+68=78 Moving to Node #0,1,1 Current State: 72:[37, 78], Operations: ['63+5=68', '10+68=78'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[37, 78], Operations: ['63+5=68', '10+68=78'] Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[37, 10, 68], Operations: ['63+5=68'] Exploring Operation: 37-10=27, Resulting Numbers: [68, 27] Generated Node #0,1,2: 72:[68, 27] Operation: 37-10=27 Moving to Node #0,1,2 Current State: 72:[68, 27], Operations: ['63+5=68', '37-10=27'] Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[68, 27], Operations: ['63+5=68', '37-10=27'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[37, 10, 68], Operations: ['63+5=68'] Exploring Operation: 68-10=58, Resulting Numbers: [37, 58] Generated Node #0,1,3: 72:[37, 58] Operation: 68-10=58 Moving to Node #0,1,3 Current State: 72:[37, 58], Operations: ['63+5=68', '68-10=58'] Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[37, 58], Operations: ['63+5=68', '68-10=58'] Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[37, 10, 68], Operations: ['63+5=68'] Exploring Operation: 37+68=105, Resulting Numbers: [10, 105] Generated Node #0,1,4: 72:[10, 105] Operation: 37+68=105 Moving to Node #0,1,4 Current State: 72:[10, 105], Operations: ['63+5=68', '37+68=105'] Exploring Operation: 105-10=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,1,4 Current State: 72:[10, 105], Operations: ['63+5=68', '37+68=105'] Exploring Operation: 10+105=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,1 Current State: 72:[37, 10, 68], Operations: ['63+5=68'] Exploring Operation: 68-37=31, Resulting Numbers: [10, 31] Generated Node #0,1,5: 72:[10, 31] Operation: 68-37=31 Moving to Node #0,1,5 Current State: 72:[10, 31], Operations: ['63+5=68', '68-37=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,1,5 Current State: 72:[10, 31], Operations: ['63+5=68', '68-37=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 5+37=42, Resulting Numbers: [63, 10, 42] Generated Node #0,2: 72:[63, 10, 42] Operation: 5+37=42 Moving to Node #0,2 Current State: 72:[63, 10, 42], Operations: ['5+37=42'] Exploring Operation: 10+42=52, Resulting Numbers: [63, 52] Generated Node #0,2,0: 72:[63, 52] Operation: 10+42=52 Moving to Node #0,2,0 Current State: 72:[63, 52], Operations: ['5+37=42', '10+42=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[63, 52], Operations: ['5+37=42', '10+42=52'] Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[63, 10, 42], Operations: ['5+37=42'] Exploring Operation: 63+10=73, Resulting Numbers: [42, 73] Generated Node #0,2,1: 72:[42, 73] Operation: 63+10=73 Moving to Node #0,2,1 Current State: 72:[42, 73], Operations: ['5+37=42', '63+10=73'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[42, 73], Operations: ['5+37=42', '63+10=73'] Exploring Operation: 42+73=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[63, 10, 42], Operations: ['5+37=42'] Exploring Operation: 63-10=53, Resulting Numbers: [42, 53] Generated Node #0,2,2: 72:[42, 53] Operation: 63-10=53 Moving to Node #0,2,2 Current State: 72:[42, 53], Operations: ['5+37=42', '63-10=53'] Exploring Operation: 42+53=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[42, 53], Operations: ['5+37=42', '63-10=53'] Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[63, 10, 42], Operations: ['5+37=42'] Exploring Operation: 42-10=32, Resulting Numbers: [63, 32] Generated Node #0,2,3: 72:[63, 32] Operation: 42-10=32 Moving to Node #0,2,3 Current State: 72:[63, 32], Operations: ['5+37=42', '42-10=32'] Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[63, 32], Operations: ['5+37=42', '42-10=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[63, 10, 42], Operations: ['5+37=42'] Exploring Operation: 63+42=105, Resulting Numbers: [10, 105] Generated Node #0,2,4: 72:[10, 105] Operation: 63+42=105 Moving to Node #0,2,4 Current State: 72:[10, 105], Operations: ['5+37=42', '63+42=105'] Exploring Operation: 105-10=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,2,4 Current State: 72:[10, 105], Operations: ['5+37=42', '63+42=105'] Exploring Operation: 10+105=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,2 Current State: 72:[63, 10, 42], Operations: ['5+37=42'] Exploring Operation: 63-42=21, Resulting Numbers: [10, 21] Generated Node #0,2,5: 72:[10, 21] Operation: 63-42=21 Moving to Node #0,2,5 Current State: 72:[10, 21], Operations: ['5+37=42', '63-42=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,2,5 Current State: 72:[10, 21], Operations: ['5+37=42', '63-42=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 5+10=15, Resulting Numbers: [63, 37, 15] Generated Node #0,3: 72:[63, 37, 15] Operation: 5+10=15 Moving to Node #0,3 Current State: 72:[63, 37, 15], Operations: ['5+10=15'] Exploring Operation: 37+15=52, Resulting Numbers: [63, 52] Generated Node #0,3,0: 72:[63, 52] Operation: 37+15=52 Moving to Node #0,3,0 Current State: 72:[63, 52], Operations: ['5+10=15', '37+15=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[63, 52], Operations: ['5+10=15', '37+15=52'] Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[63, 37, 15], Operations: ['5+10=15'] Exploring Operation: 63+15=78, Resulting Numbers: [37, 78] Generated Node #0,3,1: 72:[37, 78] Operation: 63+15=78 Moving to Node #0,3,1 Current State: 72:[37, 78], Operations: ['5+10=15', '63+15=78'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[37, 78], Operations: ['5+10=15', '63+15=78'] Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[63, 37, 15], Operations: ['5+10=15'] Exploring Operation: 63-15=48, Resulting Numbers: [37, 48] Generated Node #0,3,2: 72:[37, 48] Operation: 63-15=48 Moving to Node #0,3,2 Current State: 72:[37, 48], Operations: ['5+10=15', '63-15=48'] Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[37, 48], Operations: ['5+10=15', '63-15=48'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[63, 37, 15], Operations: ['5+10=15'] Exploring Operation: 37-15=22, Resulting Numbers: [63, 22] Generated Node #0,3,3: 72:[63, 22] Operation: 37-15=22 Moving to Node #0,3,3 Current State: 72:[63, 22], Operations: ['5+10=15', '37-15=22'] Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[63, 22], Operations: ['5+10=15', '37-15=22'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[63, 37, 15], Operations: ['5+10=15'] Exploring Operation: 63+37=100, Resulting Numbers: [15, 100] Generated Node #0,3,4: 72:[15, 100] Operation: 63+37=100 Moving to Node #0,3,4 Current State: 72:[15, 100], Operations: ['5+10=15', '63+37=100'] Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,3,4 Current State: 72:[15, 100], Operations: ['5+10=15', '63+37=100'] Exploring Operation: 15+100=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,3 Current State: 72:[63, 37, 15], Operations: ['5+10=15'] Exploring Operation: 63-37=26, Resulting Numbers: [15, 26] Generated Node #0,3,5: 72:[15, 26] Operation: 63-37=26 Moving to Node #0,3,5 Current State: 72:[15, 26], Operations: ['5+10=15', '63-37=26'] Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,3,5 Current State: 72:[15, 26], Operations: ['5+10=15', '63-37=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 37+10=47, Resulting Numbers: [63, 5, 47] Generated Node #0,4: 72:[63, 5, 47] Operation: 37+10=47 Moving to Node #0,4 Current State: 72:[63, 5, 47], Operations: ['37+10=47'] Exploring Operation: 63+5=68, Resulting Numbers: [47, 68] Generated Node #0,4,0: 72:[47, 68] Operation: 63+5=68 Moving to Node #0,4,0 Current State: 72:[47, 68], Operations: ['37+10=47', '63+5=68'] Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[47, 68], Operations: ['37+10=47', '63+5=68'] Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[63, 5, 47], Operations: ['37+10=47'] Exploring Operation: 5+47=52, Resulting Numbers: [63, 52] Generated Node #0,4,1: 72:[63, 52] Operation: 5+47=52 Moving to Node #0,4,1 Current State: 72:[63, 52], Operations: ['37+10=47', '5+47=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,4,1 Current State: 72:[63, 52], Operations: ['37+10=47', '5+47=52'] Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[63, 5, 47], Operations: ['37+10=47'] Exploring Operation: 63-5=58, Resulting Numbers: [47, 58] Generated Node #0,4,2: 72:[47, 58] Operation: 63-5=58 Moving to Node #0,4,2 Current State: 72:[47, 58], Operations: ['37+10=47', '63-5=58'] Exploring Operation: 47+58=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,4,2 Current State: 72:[47, 58], Operations: ['37+10=47', '63-5=58'] Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[63, 5, 47], Operations: ['37+10=47'] Exploring Operation: 47-5=42, Resulting Numbers: [63, 42] Generated Node #0,4,3: 72:[63, 42] Operation: 47-5=42 Moving to Node #0,4,3 Current State: 72:[63, 42], Operations: ['37+10=47', '47-5=42'] Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,4,3 Current State: 72:[63, 42], Operations: ['37+10=47', '47-5=42'] Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[63, 5, 47], Operations: ['37+10=47'] Exploring Operation: 63+47=110, Resulting Numbers: [5, 110] Generated Node #0,4,4: 72:[5, 110] Operation: 63+47=110 Moving to Node #0,4,4 Current State: 72:[5, 110], Operations: ['37+10=47', '63+47=110'] Exploring Operation: 110-5=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,4,4 Current State: 72:[5, 110], Operations: ['37+10=47', '63+47=110'] Exploring Operation: 5+110=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,4,4 Current State: 72:[5, 110], Operations: ['37+10=47', '63+47=110'] Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,72 unequal: No Solution Moving to Node #0,4 Current State: 72:[63, 5, 47], Operations: ['37+10=47'] Exploring Operation: 63-47=16, Resulting Numbers: [5, 16] Generated Node #0,4,5: 72:[5, 16] Operation: 63-47=16 Moving to Node #0,4,5 Current State: 72:[5, 16], Operations: ['37+10=47', '63-47=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,72 unequal: No Solution Moving to Node #0,4,5 Current State: 72:[5, 16], Operations: ['37+10=47', '63-47=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,4,5 Current State: 72:[5, 16], Operations: ['37+10=47', '63-47=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 63+10=73, Resulting Numbers: [5, 37, 73] Generated Node #0,5: 72:[5, 37, 73] Operation: 63+10=73 Moving to Node #0,5 Current State: 72:[5, 37, 73], Operations: ['63+10=73'] Exploring Operation: 5+37=42, Resulting Numbers: [73, 42] Generated Node #0,5,0: 72:[73, 42] Operation: 5+37=42 Moving to Node #0,5,0 Current State: 72:[73, 42], Operations: ['63+10=73', '5+37=42'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,5,0 Current State: 72:[73, 42], Operations: ['63+10=73', '5+37=42'] Exploring Operation: 73+42=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[5, 37, 73], Operations: ['63+10=73'] Exploring Operation: 73-5=68, Resulting Numbers: [37, 68] Generated Node #0,5,1: 72:[37, 68] Operation: 73-5=68 Moving to Node #0,5,1 Current State: 72:[37, 68], Operations: ['63+10=73', '73-5=68'] Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,5,1 Current State: 72:[37, 68], Operations: ['63+10=73', '73-5=68'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[5, 37, 73], Operations: ['63+10=73'] Exploring Operation: 37-5=32, Resulting Numbers: [73, 32] Generated Node #0,5,2: 72:[73, 32] Operation: 37-5=32 Moving to Node #0,5,2 Current State: 72:[73, 32], Operations: ['63+10=73', '37-5=32'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,5,2 Current State: 72:[73, 32], Operations: ['63+10=73', '37-5=32'] Exploring Operation: 73+32=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[5, 37, 73], Operations: ['63+10=73'] Exploring Operation: 5+73=78, Resulting Numbers: [37, 78] Generated Node #0,5,3: 72:[37, 78] Operation: 5+73=78 Moving to Node #0,5,3 Current State: 72:[37, 78], Operations: ['63+10=73', '5+73=78'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,5,3 Current State: 72:[37, 78], Operations: ['63+10=73', '5+73=78'] Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[5, 37, 73], Operations: ['63+10=73'] Exploring Operation: 73-37=36, Resulting Numbers: [5, 36] Generated Node #0,5,4: 72:[5, 36] Operation: 73-37=36 Moving to Node #0,5,4 Current State: 72:[5, 36], Operations: ['63+10=73', '73-37=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,5,4 Current State: 72:[5, 36], Operations: ['63+10=73', '73-37=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[5, 37, 73], Operations: ['63+10=73'] Exploring Operation: 37+73=110, Resulting Numbers: [5, 110] Generated Node #0,5,5: 72:[5, 110] Operation: 37+73=110 Moving to Node #0,5,5 Current State: 72:[5, 110], Operations: ['63+10=73', '37+73=110'] Exploring Operation: 110-5=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,5,5 Current State: 72:[5, 110], Operations: ['63+10=73', '37+73=110'] Exploring Operation: 5+110=115, Resulting Numbers: [115] 115,72 unequal: No Solution Moving to Node #0,5,5 Current State: 72:[5, 110], Operations: ['63+10=73', '37+73=110'] Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,72 unequal: No Solution Moving to Node #0,5 Current State: 72:[5, 37, 73], Operations: ['63+10=73'] Exploring Operation: 5*37=185, Resulting Numbers: [73, 185] Generated Node #0,5,6: 72:[73, 185] Operation: 5*37=185 Moving to Node #0,5,6 Current State: 72:[73, 185], Operations: ['63+10=73', '5*37=185'] Exploring Operation: 185-73=112, Resulting Numbers: [112] 112,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 63-5=58, Resulting Numbers: [37, 10, 58] Generated Node #0,6: 72:[37, 10, 58] Operation: 63-5=58 Moving to Node #0,6 Current State: 72:[37, 10, 58], Operations: ['63-5=58'] Exploring Operation: 37+10=47, Resulting Numbers: [58, 47] Generated Node #0,6,0: 72:[58, 47] Operation: 37+10=47 Moving to Node #0,6,0 Current State: 72:[58, 47], Operations: ['63-5=58', '37+10=47'] Exploring Operation: 58+47=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,6,0 Current State: 72:[58, 47], Operations: ['63-5=58', '37+10=47'] Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,6 Current State: 72:[37, 10, 58], Operations: ['63-5=58'] Exploring Operation: 10+58=68, Resulting Numbers: [37, 68] Generated Node #0,6,1: 72:[37, 68] Operation: 10+58=68 Moving to Node #0,6,1 Current State: 72:[37, 68], Operations: ['63-5=58', '10+58=68'] Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,6,1 Current State: 72:[37, 68], Operations: ['63-5=58', '10+58=68'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,6 Current State: 72:[37, 10, 58], Operations: ['63-5=58'] Exploring Operation: 37-10=27, Resulting Numbers: [58, 27] Generated Node #0,6,2: 72:[58, 27] Operation: 37-10=27 Moving to Node #0,6,2 Current State: 72:[58, 27], Operations: ['63-5=58', '37-10=27'] Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,6,2 Current State: 72:[58, 27], Operations: ['63-5=58', '37-10=27'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,6 Current State: 72:[37, 10, 58], Operations: ['63-5=58'] Exploring Operation: 58-10=48, Resulting Numbers: [37, 48] Generated Node #0,6,3: 72:[37, 48] Operation: 58-10=48 Moving to Node #0,6,3 Current State: 72:[37, 48], Operations: ['63-5=58', '58-10=48'] Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,6,3 Current State: 72:[37, 48], Operations: ['63-5=58', '58-10=48'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,6 Current State: 72:[37, 10, 58], Operations: ['63-5=58'] Exploring Operation: 37+58=95, Resulting Numbers: [10, 95] Generated Node #0,6,4: 72:[10, 95] Operation: 37+58=95 Moving to Node #0,6,4 Current State: 72:[10, 95], Operations: ['63-5=58', '37+58=95'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,6,4 Current State: 72:[10, 95], Operations: ['63-5=58', '37+58=95'] Exploring Operation: 10+95=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,6 Current State: 72:[37, 10, 58], Operations: ['63-5=58'] Exploring Operation: 58-37=21, Resulting Numbers: [10, 21] Generated Node #0,6,5: 72:[10, 21] Operation: 58-37=21 Moving to Node #0,6,5 Current State: 72:[10, 21], Operations: ['63-5=58', '58-37=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,6,5 Current State: 72:[10, 21], Operations: ['63-5=58', '58-37=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 37-5=32, Resulting Numbers: [63, 10, 32] Generated Node #0,7: 72:[63, 10, 32] Operation: 37-5=32 Moving to Node #0,7 Current State: 72:[63, 10, 32], Operations: ['37-5=32'] Exploring Operation: 10+32=42, Resulting Numbers: [63, 42] Generated Node #0,7,0: 72:[63, 42] Operation: 10+32=42 Moving to Node #0,7,0 Current State: 72:[63, 42], Operations: ['37-5=32', '10+32=42'] Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,7,0 Current State: 72:[63, 42], Operations: ['37-5=32', '10+32=42'] Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,7 Current State: 72:[63, 10, 32], Operations: ['37-5=32'] Exploring Operation: 63+10=73, Resulting Numbers: [32, 73] Generated Node #0,7,1: 72:[32, 73] Operation: 63+10=73 Moving to Node #0,7,1 Current State: 72:[32, 73], Operations: ['37-5=32', '63+10=73'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,7,1 Current State: 72:[32, 73], Operations: ['37-5=32', '63+10=73'] Exploring Operation: 32+73=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,7 Current State: 72:[63, 10, 32], Operations: ['37-5=32'] Exploring Operation: 63-10=53, Resulting Numbers: [32, 53] Generated Node #0,7,2: 72:[32, 53] Operation: 63-10=53 Moving to Node #0,7,2 Current State: 72:[32, 53], Operations: ['37-5=32', '63-10=53'] Exploring Operation: 32+53=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,7,2 Current State: 72:[32, 53], Operations: ['37-5=32', '63-10=53'] Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,7 Current State: 72:[63, 10, 32], Operations: ['37-5=32'] Exploring Operation: 32-10=22, Resulting Numbers: [63, 22] Generated Node #0,7,3: 72:[63, 22] Operation: 32-10=22 Moving to Node #0,7,3 Current State: 72:[63, 22], Operations: ['37-5=32', '32-10=22'] Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,7,3 Current State: 72:[63, 22], Operations: ['37-5=32', '32-10=22'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,7 Current State: 72:[63, 10, 32], Operations: ['37-5=32'] Exploring Operation: 63+32=95, Resulting Numbers: [10, 95] Generated Node #0,7,4: 72:[10, 95] Operation: 63+32=95 Moving to Node #0,7,4 Current State: 72:[10, 95], Operations: ['37-5=32', '63+32=95'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,7,4 Current State: 72:[10, 95], Operations: ['37-5=32', '63+32=95'] Exploring Operation: 10+95=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,7 Current State: 72:[63, 10, 32], Operations: ['37-5=32'] Exploring Operation: 63-32=31, Resulting Numbers: [10, 31] Generated Node #0,7,5: 72:[10, 31] Operation: 63-32=31 Moving to Node #0,7,5 Current State: 72:[10, 31], Operations: ['37-5=32', '63-32=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,7,5 Current State: 72:[10, 31], Operations: ['37-5=32', '63-32=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 10-5=5, Resulting Numbers: [63, 37, 5] Generated Node #0,8: 72:[63, 37, 5] Operation: 10-5=5 Moving to Node #0,8 Current State: 72:[63, 37, 5], Operations: ['10-5=5'] Exploring Operation: 63+5=68, Resulting Numbers: [37, 68] Generated Node #0,8,0: 72:[37, 68] Operation: 63+5=68 Moving to Node #0,8,0 Current State: 72:[37, 68], Operations: ['10-5=5', '63+5=68'] Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,8,0 Current State: 72:[37, 68], Operations: ['10-5=5', '63+5=68'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,8 Current State: 72:[63, 37, 5], Operations: ['10-5=5'] Exploring Operation: 37+5=42, Resulting Numbers: [63, 42] Generated Node #0,8,1: 72:[63, 42] Operation: 37+5=42 Moving to Node #0,8,1 Current State: 72:[63, 42], Operations: ['10-5=5', '37+5=42'] Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,8,1 Current State: 72:[63, 42], Operations: ['10-5=5', '37+5=42'] Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,8 Current State: 72:[63, 37, 5], Operations: ['10-5=5'] Exploring Operation: 63-5=58, Resulting Numbers: [37, 58] Generated Node #0,8,2: 72:[37, 58] Operation: 63-5=58 Moving to Node #0,8,2 Current State: 72:[37, 58], Operations: ['10-5=5', '63-5=58'] Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,8,2 Current State: 72:[37, 58], Operations: ['10-5=5', '63-5=58'] Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,8 Current State: 72:[63, 37, 5], Operations: ['10-5=5'] Exploring Operation: 37-5=32, Resulting Numbers: [63, 32] Generated Node #0,8,3: 72:[63, 32] Operation: 37-5=32 Moving to Node #0,8,3 Current State: 72:[63, 32], Operations: ['10-5=5', '37-5=32'] Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,8,3 Current State: 72:[63, 32], Operations: ['10-5=5', '37-5=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,8 Current State: 72:[63, 37, 5], Operations: ['10-5=5'] Exploring Operation: 63+37=100, Resulting Numbers: [5, 100] Generated Node #0,8,4: 72:[5, 100] Operation: 63+37=100 Moving to Node #0,8,4 Current State: 72:[5, 100], Operations: ['10-5=5', '63+37=100'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,8,4 Current State: 72:[5, 100], Operations: ['10-5=5', '63+37=100'] Exploring Operation: 5+100=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,8,4 Current State: 72:[5, 100], Operations: ['10-5=5', '63+37=100'] Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,72 unequal: No Solution Moving to Node #0,8 Current State: 72:[63, 37, 5], Operations: ['10-5=5'] Exploring Operation: 63-37=26, Resulting Numbers: [5, 26] Generated Node #0,8,5: 72:[5, 26] Operation: 63-37=26 Moving to Node #0,8,5 Current State: 72:[5, 26], Operations: ['10-5=5', '63-37=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,8,5 Current State: 72:[5, 26], Operations: ['10-5=5', '63-37=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,8,5 Current State: 72:[5, 26], Operations: ['10-5=5', '63-37=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,72 unequal: No Solution Moving to Node #0,8 Current State: 72:[63, 37, 5], Operations: ['10-5=5'] Exploring Operation: 37*5=185, Resulting Numbers: [63, 185] Generated Node #0,8,6: 72:[63, 185] Operation: 37*5=185 Moving to Node #0,8,6 Current State: 72:[63, 185], Operations: ['10-5=5', '37*5=185'] Exploring Operation: 185-63=122, Resulting Numbers: [122] 122,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [63, 37, 2] Generated Node #0,9: 72:[63, 37, 2] Operation: 10/5=2 Moving to Node #0,9 Current State: 72:[63, 37, 2], Operations: ['10/5=2'] Exploring Operation: 37*2=74, Resulting Numbers: [63, 74] Generated Node #0,9,0: 72:[63, 74] Operation: 37*2=74 Moving to Node #0,9,0 Current State: 72:[63, 74], Operations: ['10/5=2', '37*2=74'] Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,9,0 Current State: 72:[63, 74], Operations: ['10/5=2', '37*2=74'] Exploring Operation: 63+74=137, Resulting Numbers: [137] 137,72 unequal: No Solution Moving to Node #0,9 Current State: 72:[63, 37, 2], Operations: ['10/5=2'] Exploring Operation: 63+2=65, Resulting Numbers: [37, 65] Generated Node #0,9,1: 72:[37, 65] Operation: 63+2=65 Moving to Node #0,9,1 Current State: 72:[37, 65], Operations: ['10/5=2', '63+2=65'] Exploring Operation: 37+65=102, Resulting Numbers: [102] 102,72 unequal: No Solution Moving to Node #0,9,1 Current State: 72:[37, 65], Operations: ['10/5=2', '63+2=65'] Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,72 unequal: No Solution Moving to Node #0,9 Current State: 72:[63, 37, 2], Operations: ['10/5=2'] Exploring Operation: 37+2=39, Resulting Numbers: [63, 39] Generated Node #0,9,2: 72:[63, 39] Operation: 37+2=39 Moving to Node #0,9,2 Current State: 72:[63, 39], Operations: ['10/5=2', '37+2=39'] Exploring Operation: 63+39=102, Resulting Numbers: [102] 102,72 unequal: No Solution Moving to Node #0,9,2 Current State: 72:[63, 39], Operations: ['10/5=2', '37+2=39'] Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,9 Current State: 72:[63, 37, 2], Operations: ['10/5=2'] Exploring Operation: 63-2=61, Resulting Numbers: [37, 61] Generated Node #0,9,3: 72:[37, 61] Operation: 63-2=61 Moving to Node #0,9,3 Current State: 72:[37, 61], Operations: ['10/5=2', '63-2=61'] Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,72 unequal: No Solution Moving to Node #0,9,3 Current State: 72:[37, 61], Operations: ['10/5=2', '63-2=61'] Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,9 Current State: 72:[63, 37, 2], Operations: ['10/5=2'] Exploring Operation: 37-2=35, Resulting Numbers: [63, 35] Generated Node #0,9,4: 72:[63, 35] Operation: 37-2=35 Moving to Node #0,9,4 Current State: 72:[63, 35], Operations: ['10/5=2', '37-2=35'] Exploring Operation: 63+35=98, Resulting Numbers: [98] 98,72 unequal: No Solution Moving to Node #0,9,4 Current State: 72:[63, 35], Operations: ['10/5=2', '37-2=35'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,72 unequal: No Solution Moving to Node #0,9 Current State: 72:[63, 37, 2], Operations: ['10/5=2'] Exploring Operation: 63*2=126, Resulting Numbers: [37, 126] Generated Node #0,9,5: 72:[37, 126] Operation: 63*2=126 Moving to Node #0,9,5 Current State: 72:[37, 126], Operations: ['10/5=2', '63*2=126'] Exploring Operation: 126-37=89, Resulting Numbers: [89] 89,72 unequal: No Solution Moving to Node #0,9 Current State: 72:[63, 37, 2], Operations: ['10/5=2'] Exploring Operation: 63+37=100, Resulting Numbers: [2, 100] Generated Node #0,9,6: 72:[2, 100] Operation: 63+37=100 Moving to Node #0,9,6 Current State: 72:[2, 100], Operations: ['10/5=2', '63+37=100'] Exploring Operation: 100/2=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,9,6 Current State: 72:[2, 100], Operations: ['10/5=2', '63+37=100'] Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,72 unequal: No Solution Moving to Node #0,9,6 Current State: 72:[2, 100], Operations: ['10/5=2', '63+37=100'] Exploring Operation: 2+100=102, Resulting Numbers: [102] 102,72 unequal: No Solution Moving to Node #0,9 Current State: 72:[63, 37, 2], Operations: ['10/5=2'] Exploring Operation: 63-37=26, Resulting Numbers: [2, 26] Generated Node #0,9,7: 72:[2, 26] Operation: 63-37=26 Moving to Node #0,9,7 Current State: 72:[2, 26], Operations: ['10/5=2', '63-37=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,72 unequal: No Solution Moving to Node #0,9,7 Current State: 72:[2, 26], Operations: ['10/5=2', '63-37=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,72 unequal: No Solution Moving to Node #0,9,7 Current State: 72:[2, 26], Operations: ['10/5=2', '63-37=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,9,7 Current State: 72:[2, 26], Operations: ['10/5=2', '63-37=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 63-10=53, Resulting Numbers: [5, 37, 53] Generated Node #0,10: 72:[5, 37, 53] Operation: 63-10=53 Moving to Node #0,10 Current State: 72:[5, 37, 53], Operations: ['63-10=53'] Exploring Operation: 5+37=42, Resulting Numbers: [53, 42] Generated Node #0,10,0: 72:[53, 42] Operation: 5+37=42 Moving to Node #0,10,0 Current State: 72:[53, 42], Operations: ['63-10=53', '5+37=42'] Exploring Operation: 53+42=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,10,0 Current State: 72:[53, 42], Operations: ['63-10=53', '5+37=42'] Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,10 Current State: 72:[5, 37, 53], Operations: ['63-10=53'] Exploring Operation: 5+53=58, Resulting Numbers: [37, 58] Generated Node #0,10,1: 72:[37, 58] Operation: 5+53=58 Moving to Node #0,10,1 Current State: 72:[37, 58], Operations: ['63-10=53', '5+53=58'] Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,10,1 Current State: 72:[37, 58], Operations: ['63-10=53', '5+53=58'] Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,10 Current State: 72:[5, 37, 53], Operations: ['63-10=53'] Exploring Operation: 37-5=32, Resulting Numbers: [53, 32] Generated Node #0,10,2: 72:[53, 32] Operation: 37-5=32 Moving to Node #0,10,2 Current State: 72:[53, 32], Operations: ['63-10=53', '37-5=32'] Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,10,2 Current State: 72:[53, 32], Operations: ['63-10=53', '37-5=32'] Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,10 Current State: 72:[5, 37, 53], Operations: ['63-10=53'] Exploring Operation: 53-5=48, Resulting Numbers: [37, 48] Generated Node #0,10,3: 72:[37, 48] Operation: 53-5=48 Moving to Node #0,10,3 Current State: 72:[37, 48], Operations: ['63-10=53', '53-5=48'] Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,10,3 Current State: 72:[37, 48], Operations: ['63-10=53', '53-5=48'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,10 Current State: 72:[5, 37, 53], Operations: ['63-10=53'] Exploring Operation: 37+53=90, Resulting Numbers: [5, 90] Generated Node #0,10,4: 72:[5, 90] Operation: 37+53=90 Moving to Node #0,10,4 Current State: 72:[5, 90], Operations: ['63-10=53', '37+53=90'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,10,4 Current State: 72:[5, 90], Operations: ['63-10=53', '37+53=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,10,4 Current State: 72:[5, 90], Operations: ['63-10=53', '37+53=90'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,72 unequal: No Solution Moving to Node #0,10 Current State: 72:[5, 37, 53], Operations: ['63-10=53'] Exploring Operation: 53-37=16, Resulting Numbers: [5, 16] Generated Node #0,10,5: 72:[5, 16] Operation: 53-37=16 Moving to Node #0,10,5 Current State: 72:[5, 16], Operations: ['63-10=53', '53-37=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,72 unequal: No Solution Moving to Node #0,10,5 Current State: 72:[5, 16], Operations: ['63-10=53', '53-37=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,10,5 Current State: 72:[5, 16], Operations: ['63-10=53', '53-37=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,10 Current State: 72:[5, 37, 53], Operations: ['63-10=53'] Exploring Operation: 5*37=185, Resulting Numbers: [53, 185] Generated Node #0,10,6: 72:[53, 185] Operation: 5*37=185 Moving to Node #0,10,6 Current State: 72:[53, 185], Operations: ['63-10=53', '5*37=185'] Exploring Operation: 185-53=132, Resulting Numbers: [132] 132,72 unequal: No Solution Moving to Node #0 Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 37-10=27, Resulting Numbers: [63, 5, 27] Generated Node #0,11: 72:[63, 5, 27] Operation: 37-10=27 Moving to Node #0,11 Current State: 72:[63, 5, 27], Operations: ['37-10=27'] Exploring Operation: 63+5=68, Resulting Numbers: [27, 68] Generated Node #0,11,0: 72:[27, 68] Operation: 63+5=68 Moving to Node #0,11,0 Current State: 72:[27, 68], Operations: ['37-10=27', '63+5=68'] Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,11,0 Current State: 72:[27, 68], Operations: ['37-10=27', '63+5=68'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,11 Current State: 72:[63, 5, 27], Operations: ['37-10=27'] Exploring Operation: 5+27=32, Resulting Numbers: [63, 32] Generated Node #0,11,1: 72:[63, 32] Operation: 5+27=32 Moving to Node #0,11,1 Current State: 72:[63, 32], Operations: ['37-10=27', '5+27=32'] Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,72 unequal: No Solution Moving to Node #0,11,1 Current State: 72:[63, 32], Operations: ['37-10=27', '5+27=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,11 Current State: 72:[63, 5, 27], Operations: ['37-10=27'] Exploring Operation: 63-5=58, Resulting Numbers: [27, 58] Generated Node #0,11,2: 72:[27, 58] Operation: 63-5=58 Moving to Node #0,11,2 Current State: 72:[27, 58], Operations: ['37-10=27', '63-5=58'] Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,11,2 Current State: 72:[27, 58], Operations: ['37-10=27', '63-5=58'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,11 Current State: 72:[63, 5, 27], Operations: ['37-10=27'] Exploring Operation: 27-5=22, Resulting Numbers: [63, 22] Generated Node #0,11,3: 72:[63, 22] Operation: 27-5=22 Moving to Node #0,11,3 Current State: 72:[63, 22], Operations: ['37-10=27', '27-5=22'] Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,11,3 Current State: 72:[63, 22], Operations: ['37-10=27', '27-5=22'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,72 unequal: No Solution Moving to Node #0,11 Current State: 72:[63, 5, 27], Operations: ['37-10=27'] Exploring Operation: 5*27=135, Resulting Numbers: [63, 135] Generated Node #0,11,4: 72:[63, 135] Operation: 5*27=135 Moving to Node #0,11,4 Current State: 72:[63, 135], Operations: ['37-10=27', '5*27=135'] Exploring Operation: 135-63=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.788194
dfs
Current State: 72:[63, 5, 37, 10], Operations: [] Exploring Operation: 37-10=27, Resulting Numbers: [63, 5, 27] Generated Node #2: [63, 5, 27] from Operation: 37-10=27 Current State: 72:[63, 5, 27], Operations: ['37-10=27'] Exploring Operation: 5*27=135, Resulting Numbers: [63, 135] Generated Node #3: [63, 135] from Operation: 5*27=135 Current State: 72:[63, 135], Operations: ['37-10=27', '5*27=135'] Exploring Operation: 135-63=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
sum_heuristic
[ { "content": "Make 72 with the numbers [63, 5, 37, 10] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 5*10=50, Resulting Numbers: [63, 37, 50]\nGenerated Node #0,0: 72:[63, 37, 50] Operation: 5*10=50\nMoving to Node #0,0\nCurrent State: 72:[63, 37, 50], Operations: ['5*10=50']\nExploring Operation: 37+50=87, Resulting Numbers: [63, 87]\nGenerated Node #0,0,0: 72:[63, 87] Operation: 37+50=87\nMoving to Node #0,0,0\nCurrent State: 72:[63, 87], Operations: ['5*10=50', '37+50=87']\nExploring Operation: 87-63=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[63, 37, 50], Operations: ['5*10=50']\nExploring Operation: 63+37=100, Resulting Numbers: [50, 100]\nGenerated Node #0,0,1: 72:[50, 100] Operation: 63+37=100\nMoving to Node #0,0,1\nCurrent State: 72:[50, 100], Operations: ['5*10=50', '63+37=100']\nExploring Operation: 100-50=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 72:[50, 100], Operations: ['5*10=50', '63+37=100']\nExploring Operation: 100/50=2, Resulting Numbers: [2]\n2,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[63, 37, 50], Operations: ['5*10=50']\nExploring Operation: 63-37=26, Resulting Numbers: [50, 26]\nGenerated Node #0,0,2: 72:[50, 26] Operation: 63-37=26\nMoving to Node #0,0,2\nCurrent State: 72:[50, 26], Operations: ['5*10=50', '63-37=26']\nExploring Operation: 50+26=76, Resulting Numbers: [76]\n76,72 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 72:[50, 26], Operations: ['5*10=50', '63-37=26']\nExploring Operation: 50-26=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[63, 37, 50], Operations: ['5*10=50']\nExploring Operation: 50-37=13, Resulting Numbers: [63, 13]\nGenerated Node #0,0,3: 72:[63, 13] Operation: 50-37=13\nMoving to Node #0,0,3\nCurrent State: 72:[63, 13], Operations: ['5*10=50', '50-37=13']\nExploring Operation: 63+13=76, Resulting Numbers: [76]\n76,72 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 72:[63, 13], Operations: ['5*10=50', '50-37=13']\nExploring Operation: 63-13=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[63, 37, 50], Operations: ['5*10=50']\nExploring Operation: 63+50=113, Resulting Numbers: [37, 113]\nGenerated Node #0,0,4: 72:[37, 113] Operation: 63+50=113\nMoving to Node #0,0,4\nCurrent State: 72:[37, 113], Operations: ['5*10=50', '63+50=113']\nExploring Operation: 113-37=76, Resulting Numbers: [76]\n76,72 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 72:[63, 37, 50], Operations: ['5*10=50']\nExploring Operation: 63-50=13, Resulting Numbers: [37, 13]\nGenerated Node #0,0,5: 72:[37, 13] Operation: 63-50=13\nMoving to Node #0,0,5\nCurrent State: 72:[37, 13], Operations: ['5*10=50', '63-50=13']\nExploring Operation: 37+13=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 72:[37, 13], Operations: ['5*10=50', '63-50=13']\nExploring Operation: 37-13=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 63+5=68, Resulting Numbers: [37, 10, 68]\nGenerated Node #0,1: 72:[37, 10, 68] Operation: 63+5=68\nMoving to Node #0,1\nCurrent State: 72:[37, 10, 68], Operations: ['63+5=68']\nExploring Operation: 37+10=47, Resulting Numbers: [68, 47]\nGenerated Node #0,1,0: 72:[68, 47] Operation: 37+10=47\nMoving to Node #0,1,0\nCurrent State: 72:[68, 47], Operations: ['63+5=68', '37+10=47']\nExploring Operation: 68+47=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 72:[68, 47], Operations: ['63+5=68', '37+10=47']\nExploring Operation: 68-47=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[37, 10, 68], Operations: ['63+5=68']\nExploring Operation: 10+68=78, Resulting Numbers: [37, 78]\nGenerated Node #0,1,1: 72:[37, 78] Operation: 10+68=78\nMoving to Node #0,1,1\nCurrent State: 72:[37, 78], Operations: ['63+5=68', '10+68=78']\nExploring Operation: 78-37=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 72:[37, 78], Operations: ['63+5=68', '10+68=78']\nExploring Operation: 37+78=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[37, 10, 68], Operations: ['63+5=68']\nExploring Operation: 37-10=27, Resulting Numbers: [68, 27]\nGenerated Node #0,1,2: 72:[68, 27] Operation: 37-10=27\nMoving to Node #0,1,2\nCurrent State: 72:[68, 27], Operations: ['63+5=68', '37-10=27']\nExploring Operation: 68+27=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 72:[68, 27], Operations: ['63+5=68', '37-10=27']\nExploring Operation: 68-27=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[37, 10, 68], Operations: ['63+5=68']\nExploring Operation: 68-10=58, Resulting Numbers: [37, 58]\nGenerated Node #0,1,3: 72:[37, 58] Operation: 68-10=58\nMoving to Node #0,1,3\nCurrent State: 72:[37, 58], Operations: ['63+5=68', '68-10=58']\nExploring Operation: 37+58=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 72:[37, 58], Operations: ['63+5=68', '68-10=58']\nExploring Operation: 58-37=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[37, 10, 68], Operations: ['63+5=68']\nExploring Operation: 37+68=105, Resulting Numbers: [10, 105]\nGenerated Node #0,1,4: 72:[10, 105] Operation: 37+68=105\nMoving to Node #0,1,4\nCurrent State: 72:[10, 105], Operations: ['63+5=68', '37+68=105']\nExploring Operation: 105-10=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 72:[10, 105], Operations: ['63+5=68', '37+68=105']\nExploring Operation: 10+105=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 72:[37, 10, 68], Operations: ['63+5=68']\nExploring Operation: 68-37=31, Resulting Numbers: [10, 31]\nGenerated Node #0,1,5: 72:[10, 31] Operation: 68-37=31\nMoving to Node #0,1,5\nCurrent State: 72:[10, 31], Operations: ['63+5=68', '68-37=31']\nExploring Operation: 10+31=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 72:[10, 31], Operations: ['63+5=68', '68-37=31']\nExploring Operation: 31-10=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 5+37=42, Resulting Numbers: [63, 10, 42]\nGenerated Node #0,2: 72:[63, 10, 42] Operation: 5+37=42\nMoving to Node #0,2\nCurrent State: 72:[63, 10, 42], Operations: ['5+37=42']\nExploring Operation: 10+42=52, Resulting Numbers: [63, 52]\nGenerated Node #0,2,0: 72:[63, 52] Operation: 10+42=52\nMoving to Node #0,2,0\nCurrent State: 72:[63, 52], Operations: ['5+37=42', '10+42=52']\nExploring Operation: 63+52=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 72:[63, 52], Operations: ['5+37=42', '10+42=52']\nExploring Operation: 63-52=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[63, 10, 42], Operations: ['5+37=42']\nExploring Operation: 63+10=73, Resulting Numbers: [42, 73]\nGenerated Node #0,2,1: 72:[42, 73] Operation: 63+10=73\nMoving to Node #0,2,1\nCurrent State: 72:[42, 73], Operations: ['5+37=42', '63+10=73']\nExploring Operation: 73-42=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 72:[42, 73], Operations: ['5+37=42', '63+10=73']\nExploring Operation: 42+73=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[63, 10, 42], Operations: ['5+37=42']\nExploring Operation: 63-10=53, Resulting Numbers: [42, 53]\nGenerated Node #0,2,2: 72:[42, 53] Operation: 63-10=53\nMoving to Node #0,2,2\nCurrent State: 72:[42, 53], Operations: ['5+37=42', '63-10=53']\nExploring Operation: 42+53=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 72:[42, 53], Operations: ['5+37=42', '63-10=53']\nExploring Operation: 53-42=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[63, 10, 42], Operations: ['5+37=42']\nExploring Operation: 42-10=32, Resulting Numbers: [63, 32]\nGenerated Node #0,2,3: 72:[63, 32] Operation: 42-10=32\nMoving to Node #0,2,3\nCurrent State: 72:[63, 32], Operations: ['5+37=42', '42-10=32']\nExploring Operation: 63+32=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 72:[63, 32], Operations: ['5+37=42', '42-10=32']\nExploring Operation: 63-32=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[63, 10, 42], Operations: ['5+37=42']\nExploring Operation: 63+42=105, Resulting Numbers: [10, 105]\nGenerated Node #0,2,4: 72:[10, 105] Operation: 63+42=105\nMoving to Node #0,2,4\nCurrent State: 72:[10, 105], Operations: ['5+37=42', '63+42=105']\nExploring Operation: 105-10=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 72:[10, 105], Operations: ['5+37=42', '63+42=105']\nExploring Operation: 10+105=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 72:[63, 10, 42], Operations: ['5+37=42']\nExploring Operation: 63-42=21, Resulting Numbers: [10, 21]\nGenerated Node #0,2,5: 72:[10, 21] Operation: 63-42=21\nMoving to Node #0,2,5\nCurrent State: 72:[10, 21], Operations: ['5+37=42', '63-42=21']\nExploring Operation: 10+21=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 72:[10, 21], Operations: ['5+37=42', '63-42=21']\nExploring Operation: 21-10=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 5+10=15, Resulting Numbers: [63, 37, 15]\nGenerated Node #0,3: 72:[63, 37, 15] Operation: 5+10=15\nMoving to Node #0,3\nCurrent State: 72:[63, 37, 15], Operations: ['5+10=15']\nExploring Operation: 37+15=52, Resulting Numbers: [63, 52]\nGenerated Node #0,3,0: 72:[63, 52] Operation: 37+15=52\nMoving to Node #0,3,0\nCurrent State: 72:[63, 52], Operations: ['5+10=15', '37+15=52']\nExploring Operation: 63+52=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 72:[63, 52], Operations: ['5+10=15', '37+15=52']\nExploring Operation: 63-52=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[63, 37, 15], Operations: ['5+10=15']\nExploring Operation: 63+15=78, Resulting Numbers: [37, 78]\nGenerated Node #0,3,1: 72:[37, 78] Operation: 63+15=78\nMoving to Node #0,3,1\nCurrent State: 72:[37, 78], Operations: ['5+10=15', '63+15=78']\nExploring Operation: 78-37=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 72:[37, 78], Operations: ['5+10=15', '63+15=78']\nExploring Operation: 37+78=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[63, 37, 15], Operations: ['5+10=15']\nExploring Operation: 63-15=48, Resulting Numbers: [37, 48]\nGenerated Node #0,3,2: 72:[37, 48] Operation: 63-15=48\nMoving to Node #0,3,2\nCurrent State: 72:[37, 48], Operations: ['5+10=15', '63-15=48']\nExploring Operation: 37+48=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 72:[37, 48], Operations: ['5+10=15', '63-15=48']\nExploring Operation: 48-37=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[63, 37, 15], Operations: ['5+10=15']\nExploring Operation: 37-15=22, Resulting Numbers: [63, 22]\nGenerated Node #0,3,3: 72:[63, 22] Operation: 37-15=22\nMoving to Node #0,3,3\nCurrent State: 72:[63, 22], Operations: ['5+10=15', '37-15=22']\nExploring Operation: 63+22=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 72:[63, 22], Operations: ['5+10=15', '37-15=22']\nExploring Operation: 63-22=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[63, 37, 15], Operations: ['5+10=15']\nExploring Operation: 63+37=100, Resulting Numbers: [15, 100]\nGenerated Node #0,3,4: 72:[15, 100] Operation: 63+37=100\nMoving to Node #0,3,4\nCurrent State: 72:[15, 100], Operations: ['5+10=15', '63+37=100']\nExploring Operation: 100-15=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 72:[15, 100], Operations: ['5+10=15', '63+37=100']\nExploring Operation: 15+100=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 72:[63, 37, 15], Operations: ['5+10=15']\nExploring Operation: 63-37=26, Resulting Numbers: [15, 26]\nGenerated Node #0,3,5: 72:[15, 26] Operation: 63-37=26\nMoving to Node #0,3,5\nCurrent State: 72:[15, 26], Operations: ['5+10=15', '63-37=26']\nExploring Operation: 15+26=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 72:[15, 26], Operations: ['5+10=15', '63-37=26']\nExploring Operation: 26-15=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 37+10=47, Resulting Numbers: [63, 5, 47]\nGenerated Node #0,4: 72:[63, 5, 47] Operation: 37+10=47\nMoving to Node #0,4\nCurrent State: 72:[63, 5, 47], Operations: ['37+10=47']\nExploring Operation: 63+5=68, Resulting Numbers: [47, 68]\nGenerated Node #0,4,0: 72:[47, 68] Operation: 63+5=68\nMoving to Node #0,4,0\nCurrent State: 72:[47, 68], Operations: ['37+10=47', '63+5=68']\nExploring Operation: 47+68=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 72:[47, 68], Operations: ['37+10=47', '63+5=68']\nExploring Operation: 68-47=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[63, 5, 47], Operations: ['37+10=47']\nExploring Operation: 5+47=52, Resulting Numbers: [63, 52]\nGenerated Node #0,4,1: 72:[63, 52] Operation: 5+47=52\nMoving to Node #0,4,1\nCurrent State: 72:[63, 52], Operations: ['37+10=47', '5+47=52']\nExploring Operation: 63+52=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 72:[63, 52], Operations: ['37+10=47', '5+47=52']\nExploring Operation: 63-52=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[63, 5, 47], Operations: ['37+10=47']\nExploring Operation: 63-5=58, Resulting Numbers: [47, 58]\nGenerated Node #0,4,2: 72:[47, 58] Operation: 63-5=58\nMoving to Node #0,4,2\nCurrent State: 72:[47, 58], Operations: ['37+10=47', '63-5=58']\nExploring Operation: 47+58=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 72:[47, 58], Operations: ['37+10=47', '63-5=58']\nExploring Operation: 58-47=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[63, 5, 47], Operations: ['37+10=47']\nExploring Operation: 47-5=42, Resulting Numbers: [63, 42]\nGenerated Node #0,4,3: 72:[63, 42] Operation: 47-5=42\nMoving to Node #0,4,3\nCurrent State: 72:[63, 42], Operations: ['37+10=47', '47-5=42']\nExploring Operation: 63+42=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 72:[63, 42], Operations: ['37+10=47', '47-5=42']\nExploring Operation: 63-42=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[63, 5, 47], Operations: ['37+10=47']\nExploring Operation: 63+47=110, Resulting Numbers: [5, 110]\nGenerated Node #0,4,4: 72:[5, 110] Operation: 63+47=110\nMoving to Node #0,4,4\nCurrent State: 72:[5, 110], Operations: ['37+10=47', '63+47=110']\nExploring Operation: 110-5=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 72:[5, 110], Operations: ['37+10=47', '63+47=110']\nExploring Operation: 5+110=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 72:[5, 110], Operations: ['37+10=47', '63+47=110']\nExploring Operation: 110/5=22, Resulting Numbers: [22]\n22,72 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 72:[63, 5, 47], Operations: ['37+10=47']\nExploring Operation: 63-47=16, Resulting Numbers: [5, 16]\nGenerated Node #0,4,5: 72:[5, 16] Operation: 63-47=16\nMoving to Node #0,4,5\nCurrent State: 72:[5, 16], Operations: ['37+10=47', '63-47=16']\nExploring Operation: 5*16=80, Resulting Numbers: [80]\n80,72 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 72:[5, 16], Operations: ['37+10=47', '63-47=16']\nExploring Operation: 5+16=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 72:[5, 16], Operations: ['37+10=47', '63-47=16']\nExploring Operation: 16-5=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 63+10=73, Resulting Numbers: [5, 37, 73]\nGenerated Node #0,5: 72:[5, 37, 73] Operation: 63+10=73\nMoving to Node #0,5\nCurrent State: 72:[5, 37, 73], Operations: ['63+10=73']\nExploring Operation: 5+37=42, Resulting Numbers: [73, 42]\nGenerated Node #0,5,0: 72:[73, 42] Operation: 5+37=42\nMoving to Node #0,5,0\nCurrent State: 72:[73, 42], Operations: ['63+10=73', '5+37=42']\nExploring Operation: 73-42=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 72:[73, 42], Operations: ['63+10=73', '5+37=42']\nExploring Operation: 73+42=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[5, 37, 73], Operations: ['63+10=73']\nExploring Operation: 73-5=68, Resulting Numbers: [37, 68]\nGenerated Node #0,5,1: 72:[37, 68] Operation: 73-5=68\nMoving to Node #0,5,1\nCurrent State: 72:[37, 68], Operations: ['63+10=73', '73-5=68']\nExploring Operation: 37+68=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 72:[37, 68], Operations: ['63+10=73', '73-5=68']\nExploring Operation: 68-37=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[5, 37, 73], Operations: ['63+10=73']\nExploring Operation: 37-5=32, Resulting Numbers: [73, 32]\nGenerated Node #0,5,2: 72:[73, 32] Operation: 37-5=32\nMoving to Node #0,5,2\nCurrent State: 72:[73, 32], Operations: ['63+10=73', '37-5=32']\nExploring Operation: 73-32=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 72:[73, 32], Operations: ['63+10=73', '37-5=32']\nExploring Operation: 73+32=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[5, 37, 73], Operations: ['63+10=73']\nExploring Operation: 5+73=78, Resulting Numbers: [37, 78]\nGenerated Node #0,5,3: 72:[37, 78] Operation: 5+73=78\nMoving to Node #0,5,3\nCurrent State: 72:[37, 78], Operations: ['63+10=73', '5+73=78']\nExploring Operation: 78-37=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 72:[37, 78], Operations: ['63+10=73', '5+73=78']\nExploring Operation: 37+78=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[5, 37, 73], Operations: ['63+10=73']\nExploring Operation: 73-37=36, Resulting Numbers: [5, 36]\nGenerated Node #0,5,4: 72:[5, 36] Operation: 73-37=36\nMoving to Node #0,5,4\nCurrent State: 72:[5, 36], Operations: ['63+10=73', '73-37=36']\nExploring Operation: 5+36=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 72:[5, 36], Operations: ['63+10=73', '73-37=36']\nExploring Operation: 36-5=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[5, 37, 73], Operations: ['63+10=73']\nExploring Operation: 37+73=110, Resulting Numbers: [5, 110]\nGenerated Node #0,5,5: 72:[5, 110] Operation: 37+73=110\nMoving to Node #0,5,5\nCurrent State: 72:[5, 110], Operations: ['63+10=73', '37+73=110']\nExploring Operation: 110-5=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 72:[5, 110], Operations: ['63+10=73', '37+73=110']\nExploring Operation: 5+110=115, Resulting Numbers: [115]\n115,72 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 72:[5, 110], Operations: ['63+10=73', '37+73=110']\nExploring Operation: 110/5=22, Resulting Numbers: [22]\n22,72 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 72:[5, 37, 73], Operations: ['63+10=73']\nExploring Operation: 5*37=185, Resulting Numbers: [73, 185]\nGenerated Node #0,5,6: 72:[73, 185] Operation: 5*37=185\nMoving to Node #0,5,6\nCurrent State: 72:[73, 185], Operations: ['63+10=73', '5*37=185']\nExploring Operation: 185-73=112, Resulting Numbers: [112]\n112,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 63-5=58, Resulting Numbers: [37, 10, 58]\nGenerated Node #0,6: 72:[37, 10, 58] Operation: 63-5=58\nMoving to Node #0,6\nCurrent State: 72:[37, 10, 58], Operations: ['63-5=58']\nExploring Operation: 37+10=47, Resulting Numbers: [58, 47]\nGenerated Node #0,6,0: 72:[58, 47] Operation: 37+10=47\nMoving to Node #0,6,0\nCurrent State: 72:[58, 47], Operations: ['63-5=58', '37+10=47']\nExploring Operation: 58+47=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 72:[58, 47], Operations: ['63-5=58', '37+10=47']\nExploring Operation: 58-47=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 72:[37, 10, 58], Operations: ['63-5=58']\nExploring Operation: 10+58=68, Resulting Numbers: [37, 68]\nGenerated Node #0,6,1: 72:[37, 68] Operation: 10+58=68\nMoving to Node #0,6,1\nCurrent State: 72:[37, 68], Operations: ['63-5=58', '10+58=68']\nExploring Operation: 37+68=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 72:[37, 68], Operations: ['63-5=58', '10+58=68']\nExploring Operation: 68-37=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 72:[37, 10, 58], Operations: ['63-5=58']\nExploring Operation: 37-10=27, Resulting Numbers: [58, 27]\nGenerated Node #0,6,2: 72:[58, 27] Operation: 37-10=27\nMoving to Node #0,6,2\nCurrent State: 72:[58, 27], Operations: ['63-5=58', '37-10=27']\nExploring Operation: 58+27=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 72:[58, 27], Operations: ['63-5=58', '37-10=27']\nExploring Operation: 58-27=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 72:[37, 10, 58], Operations: ['63-5=58']\nExploring Operation: 58-10=48, Resulting Numbers: [37, 48]\nGenerated Node #0,6,3: 72:[37, 48] Operation: 58-10=48\nMoving to Node #0,6,3\nCurrent State: 72:[37, 48], Operations: ['63-5=58', '58-10=48']\nExploring Operation: 37+48=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 72:[37, 48], Operations: ['63-5=58', '58-10=48']\nExploring Operation: 48-37=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 72:[37, 10, 58], Operations: ['63-5=58']\nExploring Operation: 37+58=95, Resulting Numbers: [10, 95]\nGenerated Node #0,6,4: 72:[10, 95] Operation: 37+58=95\nMoving to Node #0,6,4\nCurrent State: 72:[10, 95], Operations: ['63-5=58', '37+58=95']\nExploring Operation: 95-10=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 72:[10, 95], Operations: ['63-5=58', '37+58=95']\nExploring Operation: 10+95=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 72:[37, 10, 58], Operations: ['63-5=58']\nExploring Operation: 58-37=21, Resulting Numbers: [10, 21]\nGenerated Node #0,6,5: 72:[10, 21] Operation: 58-37=21\nMoving to Node #0,6,5\nCurrent State: 72:[10, 21], Operations: ['63-5=58', '58-37=21']\nExploring Operation: 10+21=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 72:[10, 21], Operations: ['63-5=58', '58-37=21']\nExploring Operation: 21-10=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 37-5=32, Resulting Numbers: [63, 10, 32]\nGenerated Node #0,7: 72:[63, 10, 32] Operation: 37-5=32\nMoving to Node #0,7\nCurrent State: 72:[63, 10, 32], Operations: ['37-5=32']\nExploring Operation: 10+32=42, Resulting Numbers: [63, 42]\nGenerated Node #0,7,0: 72:[63, 42] Operation: 10+32=42\nMoving to Node #0,7,0\nCurrent State: 72:[63, 42], Operations: ['37-5=32', '10+32=42']\nExploring Operation: 63+42=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 72:[63, 42], Operations: ['37-5=32', '10+32=42']\nExploring Operation: 63-42=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 72:[63, 10, 32], Operations: ['37-5=32']\nExploring Operation: 63+10=73, Resulting Numbers: [32, 73]\nGenerated Node #0,7,1: 72:[32, 73] Operation: 63+10=73\nMoving to Node #0,7,1\nCurrent State: 72:[32, 73], Operations: ['37-5=32', '63+10=73']\nExploring Operation: 73-32=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 72:[32, 73], Operations: ['37-5=32', '63+10=73']\nExploring Operation: 32+73=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 72:[63, 10, 32], Operations: ['37-5=32']\nExploring Operation: 63-10=53, Resulting Numbers: [32, 53]\nGenerated Node #0,7,2: 72:[32, 53] Operation: 63-10=53\nMoving to Node #0,7,2\nCurrent State: 72:[32, 53], Operations: ['37-5=32', '63-10=53']\nExploring Operation: 32+53=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 72:[32, 53], Operations: ['37-5=32', '63-10=53']\nExploring Operation: 53-32=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 72:[63, 10, 32], Operations: ['37-5=32']\nExploring Operation: 32-10=22, Resulting Numbers: [63, 22]\nGenerated Node #0,7,3: 72:[63, 22] Operation: 32-10=22\nMoving to Node #0,7,3\nCurrent State: 72:[63, 22], Operations: ['37-5=32', '32-10=22']\nExploring Operation: 63+22=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 72:[63, 22], Operations: ['37-5=32', '32-10=22']\nExploring Operation: 63-22=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 72:[63, 10, 32], Operations: ['37-5=32']\nExploring Operation: 63+32=95, Resulting Numbers: [10, 95]\nGenerated Node #0,7,4: 72:[10, 95] Operation: 63+32=95\nMoving to Node #0,7,4\nCurrent State: 72:[10, 95], Operations: ['37-5=32', '63+32=95']\nExploring Operation: 95-10=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 72:[10, 95], Operations: ['37-5=32', '63+32=95']\nExploring Operation: 10+95=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 72:[63, 10, 32], Operations: ['37-5=32']\nExploring Operation: 63-32=31, Resulting Numbers: [10, 31]\nGenerated Node #0,7,5: 72:[10, 31] Operation: 63-32=31\nMoving to Node #0,7,5\nCurrent State: 72:[10, 31], Operations: ['37-5=32', '63-32=31']\nExploring Operation: 10+31=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 72:[10, 31], Operations: ['37-5=32', '63-32=31']\nExploring Operation: 31-10=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 10-5=5, Resulting Numbers: [63, 37, 5]\nGenerated Node #0,8: 72:[63, 37, 5] Operation: 10-5=5\nMoving to Node #0,8\nCurrent State: 72:[63, 37, 5], Operations: ['10-5=5']\nExploring Operation: 63+5=68, Resulting Numbers: [37, 68]\nGenerated Node #0,8,0: 72:[37, 68] Operation: 63+5=68\nMoving to Node #0,8,0\nCurrent State: 72:[37, 68], Operations: ['10-5=5', '63+5=68']\nExploring Operation: 37+68=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 72:[37, 68], Operations: ['10-5=5', '63+5=68']\nExploring Operation: 68-37=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 72:[63, 37, 5], Operations: ['10-5=5']\nExploring Operation: 37+5=42, Resulting Numbers: [63, 42]\nGenerated Node #0,8,1: 72:[63, 42] Operation: 37+5=42\nMoving to Node #0,8,1\nCurrent State: 72:[63, 42], Operations: ['10-5=5', '37+5=42']\nExploring Operation: 63+42=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 72:[63, 42], Operations: ['10-5=5', '37+5=42']\nExploring Operation: 63-42=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 72:[63, 37, 5], Operations: ['10-5=5']\nExploring Operation: 63-5=58, Resulting Numbers: [37, 58]\nGenerated Node #0,8,2: 72:[37, 58] Operation: 63-5=58\nMoving to Node #0,8,2\nCurrent State: 72:[37, 58], Operations: ['10-5=5', '63-5=58']\nExploring Operation: 37+58=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 72:[37, 58], Operations: ['10-5=5', '63-5=58']\nExploring Operation: 58-37=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 72:[63, 37, 5], Operations: ['10-5=5']\nExploring Operation: 37-5=32, Resulting Numbers: [63, 32]\nGenerated Node #0,8,3: 72:[63, 32] Operation: 37-5=32\nMoving to Node #0,8,3\nCurrent State: 72:[63, 32], Operations: ['10-5=5', '37-5=32']\nExploring Operation: 63+32=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 72:[63, 32], Operations: ['10-5=5', '37-5=32']\nExploring Operation: 63-32=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 72:[63, 37, 5], Operations: ['10-5=5']\nExploring Operation: 63+37=100, Resulting Numbers: [5, 100]\nGenerated Node #0,8,4: 72:[5, 100] Operation: 63+37=100\nMoving to Node #0,8,4\nCurrent State: 72:[5, 100], Operations: ['10-5=5', '63+37=100']\nExploring Operation: 100-5=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 72:[5, 100], Operations: ['10-5=5', '63+37=100']\nExploring Operation: 5+100=105, Resulting Numbers: [105]\n105,72 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 72:[5, 100], Operations: ['10-5=5', '63+37=100']\nExploring Operation: 100/5=20, Resulting Numbers: [20]\n20,72 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 72:[63, 37, 5], Operations: ['10-5=5']\nExploring Operation: 63-37=26, Resulting Numbers: [5, 26]\nGenerated Node #0,8,5: 72:[5, 26] Operation: 63-37=26\nMoving to Node #0,8,5\nCurrent State: 72:[5, 26], Operations: ['10-5=5', '63-37=26']\nExploring Operation: 5+26=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 72:[5, 26], Operations: ['10-5=5', '63-37=26']\nExploring Operation: 26-5=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 72:[5, 26], Operations: ['10-5=5', '63-37=26']\nExploring Operation: 5*26=130, Resulting Numbers: [130]\n130,72 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 72:[63, 37, 5], Operations: ['10-5=5']\nExploring Operation: 37*5=185, Resulting Numbers: [63, 185]\nGenerated Node #0,8,6: 72:[63, 185] Operation: 37*5=185\nMoving to Node #0,8,6\nCurrent State: 72:[63, 185], Operations: ['10-5=5', '37*5=185']\nExploring Operation: 185-63=122, Resulting Numbers: [122]\n122,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 10/5=2, Resulting Numbers: [63, 37, 2]\nGenerated Node #0,9: 72:[63, 37, 2] Operation: 10/5=2\nMoving to Node #0,9\nCurrent State: 72:[63, 37, 2], Operations: ['10/5=2']\nExploring Operation: 37*2=74, Resulting Numbers: [63, 74]\nGenerated Node #0,9,0: 72:[63, 74] Operation: 37*2=74\nMoving to Node #0,9,0\nCurrent State: 72:[63, 74], Operations: ['10/5=2', '37*2=74']\nExploring Operation: 74-63=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 72:[63, 74], Operations: ['10/5=2', '37*2=74']\nExploring Operation: 63+74=137, Resulting Numbers: [137]\n137,72 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 72:[63, 37, 2], Operations: ['10/5=2']\nExploring Operation: 63+2=65, Resulting Numbers: [37, 65]\nGenerated Node #0,9,1: 72:[37, 65] Operation: 63+2=65\nMoving to Node #0,9,1\nCurrent State: 72:[37, 65], Operations: ['10/5=2', '63+2=65']\nExploring Operation: 37+65=102, Resulting Numbers: [102]\n102,72 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 72:[37, 65], Operations: ['10/5=2', '63+2=65']\nExploring Operation: 65-37=28, Resulting Numbers: [28]\n28,72 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 72:[63, 37, 2], Operations: ['10/5=2']\nExploring Operation: 37+2=39, Resulting Numbers: [63, 39]\nGenerated Node #0,9,2: 72:[63, 39] Operation: 37+2=39\nMoving to Node #0,9,2\nCurrent State: 72:[63, 39], Operations: ['10/5=2', '37+2=39']\nExploring Operation: 63+39=102, Resulting Numbers: [102]\n102,72 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 72:[63, 39], Operations: ['10/5=2', '37+2=39']\nExploring Operation: 63-39=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 72:[63, 37, 2], Operations: ['10/5=2']\nExploring Operation: 63-2=61, Resulting Numbers: [37, 61]\nGenerated Node #0,9,3: 72:[37, 61] Operation: 63-2=61\nMoving to Node #0,9,3\nCurrent State: 72:[37, 61], Operations: ['10/5=2', '63-2=61']\nExploring Operation: 37+61=98, Resulting Numbers: [98]\n98,72 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 72:[37, 61], Operations: ['10/5=2', '63-2=61']\nExploring Operation: 61-37=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 72:[63, 37, 2], Operations: ['10/5=2']\nExploring Operation: 37-2=35, Resulting Numbers: [63, 35]\nGenerated Node #0,9,4: 72:[63, 35] Operation: 37-2=35\nMoving to Node #0,9,4\nCurrent State: 72:[63, 35], Operations: ['10/5=2', '37-2=35']\nExploring Operation: 63+35=98, Resulting Numbers: [98]\n98,72 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 72:[63, 35], Operations: ['10/5=2', '37-2=35']\nExploring Operation: 63-35=28, Resulting Numbers: [28]\n28,72 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 72:[63, 37, 2], Operations: ['10/5=2']\nExploring Operation: 63*2=126, Resulting Numbers: [37, 126]\nGenerated Node #0,9,5: 72:[37, 126] Operation: 63*2=126\nMoving to Node #0,9,5\nCurrent State: 72:[37, 126], Operations: ['10/5=2', '63*2=126']\nExploring Operation: 126-37=89, Resulting Numbers: [89]\n89,72 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 72:[63, 37, 2], Operations: ['10/5=2']\nExploring Operation: 63+37=100, Resulting Numbers: [2, 100]\nGenerated Node #0,9,6: 72:[2, 100] Operation: 63+37=100\nMoving to Node #0,9,6\nCurrent State: 72:[2, 100], Operations: ['10/5=2', '63+37=100']\nExploring Operation: 100/2=50, Resulting Numbers: [50]\n50,72 unequal: No Solution\nMoving to Node #0,9,6\nCurrent State: 72:[2, 100], Operations: ['10/5=2', '63+37=100']\nExploring Operation: 100-2=98, Resulting Numbers: [98]\n98,72 unequal: No Solution\nMoving to Node #0,9,6\nCurrent State: 72:[2, 100], Operations: ['10/5=2', '63+37=100']\nExploring Operation: 2+100=102, Resulting Numbers: [102]\n102,72 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 72:[63, 37, 2], Operations: ['10/5=2']\nExploring Operation: 63-37=26, Resulting Numbers: [2, 26]\nGenerated Node #0,9,7: 72:[2, 26] Operation: 63-37=26\nMoving to Node #0,9,7\nCurrent State: 72:[2, 26], Operations: ['10/5=2', '63-37=26']\nExploring Operation: 2*26=52, Resulting Numbers: [52]\n52,72 unequal: No Solution\nMoving to Node #0,9,7\nCurrent State: 72:[2, 26], Operations: ['10/5=2', '63-37=26']\nExploring Operation: 2+26=28, Resulting Numbers: [28]\n28,72 unequal: No Solution\nMoving to Node #0,9,7\nCurrent State: 72:[2, 26], Operations: ['10/5=2', '63-37=26']\nExploring Operation: 26-2=24, Resulting Numbers: [24]\n24,72 unequal: No Solution\nMoving to Node #0,9,7\nCurrent State: 72:[2, 26], Operations: ['10/5=2', '63-37=26']\nExploring Operation: 26/2=13, Resulting Numbers: [13]\n13,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 63-10=53, Resulting Numbers: [5, 37, 53]\nGenerated Node #0,10: 72:[5, 37, 53] Operation: 63-10=53\nMoving to Node #0,10\nCurrent State: 72:[5, 37, 53], Operations: ['63-10=53']\nExploring Operation: 5+37=42, Resulting Numbers: [53, 42]\nGenerated Node #0,10,0: 72:[53, 42] Operation: 5+37=42\nMoving to Node #0,10,0\nCurrent State: 72:[53, 42], Operations: ['63-10=53', '5+37=42']\nExploring Operation: 53+42=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 72:[53, 42], Operations: ['63-10=53', '5+37=42']\nExploring Operation: 53-42=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 72:[5, 37, 53], Operations: ['63-10=53']\nExploring Operation: 5+53=58, Resulting Numbers: [37, 58]\nGenerated Node #0,10,1: 72:[37, 58] Operation: 5+53=58\nMoving to Node #0,10,1\nCurrent State: 72:[37, 58], Operations: ['63-10=53', '5+53=58']\nExploring Operation: 37+58=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 72:[37, 58], Operations: ['63-10=53', '5+53=58']\nExploring Operation: 58-37=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 72:[5, 37, 53], Operations: ['63-10=53']\nExploring Operation: 37-5=32, Resulting Numbers: [53, 32]\nGenerated Node #0,10,2: 72:[53, 32] Operation: 37-5=32\nMoving to Node #0,10,2\nCurrent State: 72:[53, 32], Operations: ['63-10=53', '37-5=32']\nExploring Operation: 53+32=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 72:[53, 32], Operations: ['63-10=53', '37-5=32']\nExploring Operation: 53-32=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 72:[5, 37, 53], Operations: ['63-10=53']\nExploring Operation: 53-5=48, Resulting Numbers: [37, 48]\nGenerated Node #0,10,3: 72:[37, 48] Operation: 53-5=48\nMoving to Node #0,10,3\nCurrent State: 72:[37, 48], Operations: ['63-10=53', '53-5=48']\nExploring Operation: 37+48=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 72:[37, 48], Operations: ['63-10=53', '53-5=48']\nExploring Operation: 48-37=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 72:[5, 37, 53], Operations: ['63-10=53']\nExploring Operation: 37+53=90, Resulting Numbers: [5, 90]\nGenerated Node #0,10,4: 72:[5, 90] Operation: 37+53=90\nMoving to Node #0,10,4\nCurrent State: 72:[5, 90], Operations: ['63-10=53', '37+53=90']\nExploring Operation: 90-5=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 72:[5, 90], Operations: ['63-10=53', '37+53=90']\nExploring Operation: 5+90=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 72:[5, 90], Operations: ['63-10=53', '37+53=90']\nExploring Operation: 90/5=18, Resulting Numbers: [18]\n18,72 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 72:[5, 37, 53], Operations: ['63-10=53']\nExploring Operation: 53-37=16, Resulting Numbers: [5, 16]\nGenerated Node #0,10,5: 72:[5, 16] Operation: 53-37=16\nMoving to Node #0,10,5\nCurrent State: 72:[5, 16], Operations: ['63-10=53', '53-37=16']\nExploring Operation: 5*16=80, Resulting Numbers: [80]\n80,72 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 72:[5, 16], Operations: ['63-10=53', '53-37=16']\nExploring Operation: 5+16=21, Resulting Numbers: [21]\n21,72 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 72:[5, 16], Operations: ['63-10=53', '53-37=16']\nExploring Operation: 16-5=11, Resulting Numbers: [11]\n11,72 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 72:[5, 37, 53], Operations: ['63-10=53']\nExploring Operation: 5*37=185, Resulting Numbers: [53, 185]\nGenerated Node #0,10,6: 72:[53, 185] Operation: 5*37=185\nMoving to Node #0,10,6\nCurrent State: 72:[53, 185], Operations: ['63-10=53', '5*37=185']\nExploring Operation: 185-53=132, Resulting Numbers: [132]\n132,72 unequal: No Solution\nMoving to Node #0\nCurrent State: 72:[63, 5, 37, 10], Operations: []\nExploring Operation: 37-10=27, Resulting Numbers: [63, 5, 27]\nGenerated Node #0,11: 72:[63, 5, 27] Operation: 37-10=27\nMoving to Node #0,11\nCurrent State: 72:[63, 5, 27], Operations: ['37-10=27']\nExploring Operation: 63+5=68, Resulting Numbers: [27, 68]\nGenerated Node #0,11,0: 72:[27, 68] Operation: 63+5=68\nMoving to Node #0,11,0\nCurrent State: 72:[27, 68], Operations: ['37-10=27', '63+5=68']\nExploring Operation: 27+68=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 72:[27, 68], Operations: ['37-10=27', '63+5=68']\nExploring Operation: 68-27=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 72:[63, 5, 27], Operations: ['37-10=27']\nExploring Operation: 5+27=32, Resulting Numbers: [63, 32]\nGenerated Node #0,11,1: 72:[63, 32] Operation: 5+27=32\nMoving to Node #0,11,1\nCurrent State: 72:[63, 32], Operations: ['37-10=27', '5+27=32']\nExploring Operation: 63+32=95, Resulting Numbers: [95]\n95,72 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 72:[63, 32], Operations: ['37-10=27', '5+27=32']\nExploring Operation: 63-32=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 72:[63, 5, 27], Operations: ['37-10=27']\nExploring Operation: 63-5=58, Resulting Numbers: [27, 58]\nGenerated Node #0,11,2: 72:[27, 58] Operation: 63-5=58\nMoving to Node #0,11,2\nCurrent State: 72:[27, 58], Operations: ['37-10=27', '63-5=58']\nExploring Operation: 27+58=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 72:[27, 58], Operations: ['37-10=27', '63-5=58']\nExploring Operation: 58-27=31, Resulting Numbers: [31]\n31,72 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 72:[63, 5, 27], Operations: ['37-10=27']\nExploring Operation: 27-5=22, Resulting Numbers: [63, 22]\nGenerated Node #0,11,3: 72:[63, 22] Operation: 27-5=22\nMoving to Node #0,11,3\nCurrent State: 72:[63, 22], Operations: ['37-10=27', '27-5=22']\nExploring Operation: 63+22=85, Resulting Numbers: [85]\n85,72 unequal: No Solution\nMoving to Node #0,11,3\nCurrent State: 72:[63, 22], Operations: ['37-10=27', '27-5=22']\nExploring Operation: 63-22=41, Resulting Numbers: [41]\n41,72 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 72:[63, 5, 27], Operations: ['37-10=27']\nExploring Operation: 5*27=135, Resulting Numbers: [63, 135]\nGenerated Node #0,11,4: 72:[63, 135] Operation: 5*27=135\nMoving to Node #0,11,4\nCurrent State: 72:[63, 135], Operations: ['37-10=27', '5*27=135']\nExploring Operation: 135-63=72, Resulting Numbers: [72]\n72,72 equal: Goal Reached\n", "role": "assistant" } ]
[ 26, 3, 7, 6 ]
67
[ "26-6=20", "3*20=60", "7+60=67" ]
Current State: 67:[26, 3, 7, 6], Operations: [] Exploring Operation: 7*6=42, Resulting Numbers: [26, 3, 42] Generated Node #0,0: 67:[26, 3, 42] Operation: 7*6=42 Exploring Operation: 3*7=21, Resulting Numbers: [26, 6, 21] Generated Node #0,1: 67:[26, 6, 21] Operation: 3*7=21 Exploring Operation: 26*3=78, Resulting Numbers: [7, 6, 78] Generated Node #0,2: 67:[7, 6, 78] Operation: 26*3=78 Moving to Node #0,0 Current State: 67:[26, 3, 42], Operations: ['7*6=42'] Exploring Operation: 3+42=45, Resulting Numbers: [26, 45] Generated Node #0,0,0: 67:[26, 45] Operation: 3+42=45 Exploring Operation: 26*3=78, Resulting Numbers: [42, 78] Generated Node #0,0,1: 67:[42, 78] Operation: 26*3=78 Exploring Operation: 26+3=29, Resulting Numbers: [42, 29] Generated Node #0,0,2: 67:[42, 29] Operation: 26+3=29 Moving to Node #0,2 Current State: 67:[7, 6, 78], Operations: ['26*3=78'] Exploring Operation: 7*6=42, Resulting Numbers: [78, 42] Generated Node #0,2,0: 67:[78, 42] Operation: 7*6=42 Exploring Operation: 7+6=13, Resulting Numbers: [78, 13] Generated Node #0,2,1: 67:[78, 13] Operation: 7+6=13 Exploring Operation: 78-7=71, Resulting Numbers: [6, 71] Generated Node #0,2,2: 67:[6, 71] Operation: 78-7=71 Moving to Node #0,1 Current State: 67:[26, 6, 21], Operations: ['3*7=21'] Exploring Operation: 26+6=32, Resulting Numbers: [21, 32] Generated Node #0,1,0: 67:[21, 32] Operation: 26+6=32 Exploring Operation: 26+21=47, Resulting Numbers: [6, 47] Generated Node #0,1,1: 67:[6, 47] Operation: 26+21=47 Exploring Operation: 6+21=27, Resulting Numbers: [26, 27] Generated Node #0,1,2: 67:[26, 27] Operation: 6+21=27 Moving to Node #0,0,1 Current State: 67:[42, 78], Operations: ['7*6=42', '26*3=78'] Exploring Operation: 42+78=120, Resulting Numbers: [120] 120,67 unequal: No Solution Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 42*78=3276, Resulting Numbers: [3276] 3276,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[78, 42], Operations: ['26*3=78', '7*6=42'] Exploring Operation: 78+42=120, Resulting Numbers: [120] 120,67 unequal: No Solution Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 78*42=3276, Resulting Numbers: [3276] 3276,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[42, 29], Operations: ['7*6=42', '26+3=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,67 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,67 unequal: No Solution Moving to Node #0,0,2,0 Current State: 67:[71], Operations: ['7*6=42', '26+3=29', '42+29=71'] Moving to Node #0,0,1,0 Current State: 67:[36], Operations: ['7*6=42', '26*3=78', '78-42=36'] Moving to Node #0,2,0,0 Current State: 67:[36], Operations: ['26*3=78', '7*6=42', '78-42=36'] Moving to Node #0,0,0 Current State: 67:[26, 45], Operations: ['7*6=42', '3+42=45'] Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,67 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[6, 71], Operations: ['26*3=78', '78-7=71'] Exploring Operation: 6*71=426, Resulting Numbers: [426] 426,67 unequal: No Solution Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,67 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[78, 13], Operations: ['26*3=78', '7+6=13'] Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,67 unequal: No Solution Moving to Node #0,2,2,0 Current State: 67:[65], Operations: ['26*3=78', '78-7=71', '71-6=65'] Moving to Node #0,2,1,0 Current State: 67:[65], Operations: ['26*3=78', '7+6=13', '78-13=65'] Moving to Node #0,0,0,0 Current State: 67:[71], Operations: ['7*6=42', '3+42=45', '26+45=71'] Moving to Node #0,2,2,0 Current State: 67:[77], Operations: ['26*3=78', '78-7=71', '6+71=77'] Moving to Node #0,2,1,0 Current State: 67:[91], Operations: ['26*3=78', '7+6=13', '78+13=91'] Moving to Node #0,1,0 Current State: 67:[21, 32], Operations: ['3*7=21', '26+6=32'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,67 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,67 unequal: No Solution Moving to Node #0,1,0,0 Current State: 67:[53], Operations: ['3*7=21', '26+6=32', '21+32=53'] Moving to Node #0,1,2 Current State: 67:[26, 27], Operations: ['3*7=21', '6+21=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,67 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[6, 47], Operations: ['3*7=21', '26+21=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,67 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,67 unequal: No Solution Moving to Node #0,1,2,0 Current State: 67:[53], Operations: ['3*7=21', '6+21=27', '26+27=53'] Moving to Node #0,1,1,0 Current State: 67:[53], Operations: ['3*7=21', '26+21=47', '6+47=53'] Moving to Node #0,1,1,0 Current State: 67:[41], Operations: ['3*7=21', '26+21=47', '47-6=41'] Moving to Node #0,0,0,0 Current State: 67:[19], Operations: ['7*6=42', '3+42=45', '45-26=19'] Moving to Node #0,0,1,0 Current State: 67:[120], Operations: ['7*6=42', '26*3=78', '42+78=120'] Moving to Node #0,2,0,0 Current State: 67:[120], Operations: ['26*3=78', '7*6=42', '78+42=120'] Moving to Node #0,0,2,0 Current State: 67:[13], Operations: ['7*6=42', '26+3=29', '42-29=13'] Moving to Node #0,1,0,0 Current State: 67:[11], Operations: ['3*7=21', '26+6=32', '32-21=11'] Moving to Node #0,2,1,0 Current State: 67:[6], Operations: ['26*3=78', '7+6=13', '78/13=6'] Moving to Node #0,1,2,0 Current State: 67:[1], Operations: ['3*7=21', '6+21=27', '27-26=1'] Moving to Node #0,1,1,0 Current State: 67:[282], Operations: ['3*7=21', '26+21=47', '6*47=282'] Moving to Node #0,2,2,0 Current State: 67:[426], Operations: ['26*3=78', '78-7=71', '6*71=426'] Moving to Node #0,1,0,0 Current State: 67:[672], Operations: ['3*7=21', '26+6=32', '21*32=672'] Moving to Node #0,1,2,0 Current State: 67:[702], Operations: ['3*7=21', '6+21=27', '26*27=702'] Moving to Node #0,0,0,0 Current State: 67:[1170], Operations: ['7*6=42', '3+42=45', '26*45=1170'] Moving to Node #0,0,2,0 Current State: 67:[1218], Operations: ['7*6=42', '26+3=29', '42*29=1218'] Moving to Node #0,0,1,0 Current State: 67:[3276], Operations: ['7*6=42', '26*3=78', '42*78=3276'] Moving to Node #0,2,0,0 Current State: 67:[3276], Operations: ['26*3=78', '7*6=42', '78*42=3276'] No solution found.
0
bfs_3
Current State: 67:[26, 3, 7, 6], Operations: [] Exploring Operation: 26-6=20, Resulting Numbers: [3, 7, 20] Generated Node #2: [3, 7, 20] from Operation: 26-6=20 Current State: 67:[3, 7, 20], Operations: ['26-6=20'] Exploring Operation: 3*20=60, Resulting Numbers: [7, 60] Generated Node #3: [7, 60] from Operation: 3*20=60 Current State: 67:[7, 60], Operations: ['26-6=20', '3*20=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
sum_heuristic
[ { "content": "Make 67 with the numbers [26, 3, 7, 6] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 67:[26, 3, 7, 6], Operations: []\nExploring Operation: 7*6=42, Resulting Numbers: [26, 3, 42]\nGenerated Node #0,0: 67:[26, 3, 42] Operation: 7*6=42\nExploring Operation: 3*7=21, Resulting Numbers: [26, 6, 21]\nGenerated Node #0,1: 67:[26, 6, 21] Operation: 3*7=21\nExploring Operation: 26*3=78, Resulting Numbers: [7, 6, 78]\nGenerated Node #0,2: 67:[7, 6, 78] Operation: 26*3=78\nMoving to Node #0,0\nCurrent State: 67:[26, 3, 42], Operations: ['7*6=42']\nExploring Operation: 3+42=45, Resulting Numbers: [26, 45]\nGenerated Node #0,0,0: 67:[26, 45] Operation: 3+42=45\nExploring Operation: 26*3=78, Resulting Numbers: [42, 78]\nGenerated Node #0,0,1: 67:[42, 78] Operation: 26*3=78\nExploring Operation: 26+3=29, Resulting Numbers: [42, 29]\nGenerated Node #0,0,2: 67:[42, 29] Operation: 26+3=29\nMoving to Node #0,2\nCurrent State: 67:[7, 6, 78], Operations: ['26*3=78']\nExploring Operation: 7*6=42, Resulting Numbers: [78, 42]\nGenerated Node #0,2,0: 67:[78, 42] Operation: 7*6=42\nExploring Operation: 7+6=13, Resulting Numbers: [78, 13]\nGenerated Node #0,2,1: 67:[78, 13] Operation: 7+6=13\nExploring Operation: 78-7=71, Resulting Numbers: [6, 71]\nGenerated Node #0,2,2: 67:[6, 71] Operation: 78-7=71\nMoving to Node #0,1\nCurrent State: 67:[26, 6, 21], Operations: ['3*7=21']\nExploring Operation: 26+6=32, Resulting Numbers: [21, 32]\nGenerated Node #0,1,0: 67:[21, 32] Operation: 26+6=32\nExploring Operation: 26+21=47, Resulting Numbers: [6, 47]\nGenerated Node #0,1,1: 67:[6, 47] Operation: 26+21=47\nExploring Operation: 6+21=27, Resulting Numbers: [26, 27]\nGenerated Node #0,1,2: 67:[26, 27] Operation: 6+21=27\nMoving to Node #0,0,1\nCurrent State: 67:[42, 78], Operations: ['7*6=42', '26*3=78']\nExploring Operation: 42+78=120, Resulting Numbers: [120]\n120,67 unequal: No Solution\nExploring Operation: 78-42=36, Resulting Numbers: [36]\n36,67 unequal: No Solution\nExploring Operation: 42*78=3276, Resulting Numbers: [3276]\n3276,67 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 67:[78, 42], Operations: ['26*3=78', '7*6=42']\nExploring Operation: 78+42=120, Resulting Numbers: [120]\n120,67 unequal: No Solution\nExploring Operation: 78-42=36, Resulting Numbers: [36]\n36,67 unequal: No Solution\nExploring Operation: 78*42=3276, Resulting Numbers: [3276]\n3276,67 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 67:[42, 29], Operations: ['7*6=42', '26+3=29']\nExploring Operation: 42+29=71, Resulting Numbers: [71]\n71,67 unequal: No Solution\nExploring Operation: 42*29=1218, Resulting Numbers: [1218]\n1218,67 unequal: No Solution\nExploring Operation: 42-29=13, Resulting Numbers: [13]\n13,67 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 67:[71], Operations: ['7*6=42', '26+3=29', '42+29=71']\nMoving to Node #0,0,1,0\nCurrent State: 67:[36], Operations: ['7*6=42', '26*3=78', '78-42=36']\nMoving to Node #0,2,0,0\nCurrent State: 67:[36], Operations: ['26*3=78', '7*6=42', '78-42=36']\nMoving to Node #0,0,0\nCurrent State: 67:[26, 45], Operations: ['7*6=42', '3+42=45']\nExploring Operation: 26*45=1170, Resulting Numbers: [1170]\n1170,67 unequal: No Solution\nExploring Operation: 26+45=71, Resulting Numbers: [71]\n71,67 unequal: No Solution\nExploring Operation: 45-26=19, Resulting Numbers: [19]\n19,67 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 67:[6, 71], Operations: ['26*3=78', '78-7=71']\nExploring Operation: 6*71=426, Resulting Numbers: [426]\n426,67 unequal: No Solution\nExploring Operation: 6+71=77, Resulting Numbers: [77]\n77,67 unequal: No Solution\nExploring Operation: 71-6=65, Resulting Numbers: [65]\n65,67 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 67:[78, 13], Operations: ['26*3=78', '7+6=13']\nExploring Operation: 78-13=65, Resulting Numbers: [65]\n65,67 unequal: No Solution\nExploring Operation: 78/13=6, Resulting Numbers: [6]\n6,67 unequal: No Solution\nExploring Operation: 78+13=91, Resulting Numbers: [91]\n91,67 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 67:[65], Operations: ['26*3=78', '78-7=71', '71-6=65']\nMoving to Node #0,2,1,0\nCurrent State: 67:[65], Operations: ['26*3=78', '7+6=13', '78-13=65']\nMoving to Node #0,0,0,0\nCurrent State: 67:[71], Operations: ['7*6=42', '3+42=45', '26+45=71']\nMoving to Node #0,2,2,0\nCurrent State: 67:[77], Operations: ['26*3=78', '78-7=71', '6+71=77']\nMoving to Node #0,2,1,0\nCurrent State: 67:[91], Operations: ['26*3=78', '7+6=13', '78+13=91']\nMoving to Node #0,1,0\nCurrent State: 67:[21, 32], Operations: ['3*7=21', '26+6=32']\nExploring Operation: 32-21=11, Resulting Numbers: [11]\n11,67 unequal: No Solution\nExploring Operation: 21*32=672, Resulting Numbers: [672]\n672,67 unequal: No Solution\nExploring Operation: 21+32=53, Resulting Numbers: [53]\n53,67 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 67:[53], Operations: ['3*7=21', '26+6=32', '21+32=53']\nMoving to Node #0,1,2\nCurrent State: 67:[26, 27], Operations: ['3*7=21', '6+21=27']\nExploring Operation: 26+27=53, Resulting Numbers: [53]\n53,67 unequal: No Solution\nExploring Operation: 27-26=1, Resulting Numbers: [1]\n1,67 unequal: No Solution\nExploring Operation: 26*27=702, Resulting Numbers: [702]\n702,67 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 67:[6, 47], Operations: ['3*7=21', '26+21=47']\nExploring Operation: 47-6=41, Resulting Numbers: [41]\n41,67 unequal: No Solution\nExploring Operation: 6*47=282, Resulting Numbers: [282]\n282,67 unequal: No Solution\nExploring Operation: 6+47=53, Resulting Numbers: [53]\n53,67 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 67:[53], Operations: ['3*7=21', '6+21=27', '26+27=53']\nMoving to Node #0,1,1,0\nCurrent State: 67:[53], Operations: ['3*7=21', '26+21=47', '6+47=53']\nMoving to Node #0,1,1,0\nCurrent State: 67:[41], Operations: ['3*7=21', '26+21=47', '47-6=41']\nMoving to Node #0,0,0,0\nCurrent State: 67:[19], Operations: ['7*6=42', '3+42=45', '45-26=19']\nMoving to Node #0,0,1,0\nCurrent State: 67:[120], Operations: ['7*6=42', '26*3=78', '42+78=120']\nMoving to Node #0,2,0,0\nCurrent State: 67:[120], Operations: ['26*3=78', '7*6=42', '78+42=120']\nMoving to Node #0,0,2,0\nCurrent State: 67:[13], Operations: ['7*6=42', '26+3=29', '42-29=13']\nMoving to Node #0,1,0,0\nCurrent State: 67:[11], Operations: ['3*7=21', '26+6=32', '32-21=11']\nMoving to Node #0,2,1,0\nCurrent State: 67:[6], Operations: ['26*3=78', '7+6=13', '78/13=6']\nMoving to Node #0,1,2,0\nCurrent State: 67:[1], Operations: ['3*7=21', '6+21=27', '27-26=1']\nMoving to Node #0,1,1,0\nCurrent State: 67:[282], Operations: ['3*7=21', '26+21=47', '6*47=282']\nMoving to Node #0,2,2,0\nCurrent State: 67:[426], Operations: ['26*3=78', '78-7=71', '6*71=426']\nMoving to Node #0,1,0,0\nCurrent State: 67:[672], Operations: ['3*7=21', '26+6=32', '21*32=672']\nMoving to Node #0,1,2,0\nCurrent State: 67:[702], Operations: ['3*7=21', '6+21=27', '26*27=702']\nMoving to Node #0,0,0,0\nCurrent State: 67:[1170], Operations: ['7*6=42', '3+42=45', '26*45=1170']\nMoving to Node #0,0,2,0\nCurrent State: 67:[1218], Operations: ['7*6=42', '26+3=29', '42*29=1218']\nMoving to Node #0,0,1,0\nCurrent State: 67:[3276], Operations: ['7*6=42', '26*3=78', '42*78=3276']\nMoving to Node #0,2,0,0\nCurrent State: 67:[3276], Operations: ['26*3=78', '7*6=42', '78*42=3276']\nNo solution found.", "role": "assistant" } ]
[ 54, 73, 53, 26 ]
46
[ "73-54=19", "53-26=27", "19+27=46" ]
Current State: 46:[54, 73, 53, 26], Operations: [] Exploring Operation: 73-54=19, Resulting Numbers: [53, 26, 19] Generated Node #0,0: 46:[53, 26, 19] Operation: 73-54=19 Moving to Node #0,0 Current State: 46:[53, 26, 19], Operations: ['73-54=19'] Exploring Operation: 53-26=27, Resulting Numbers: [19, 27] Generated Node #0,0,0: 46:[19, 27] Operation: 53-26=27 Moving to Node #0,0,0 Current State: 46:[19, 27], Operations: ['73-54=19', '53-26=27'] Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.996528
dfs
Current State: 46:[54, 73, 53, 26], Operations: [] Exploring Operation: 73-54=19, Resulting Numbers: [53, 26, 19] Generated Node #2: [53, 26, 19] from Operation: 73-54=19 Current State: 46:[53, 26, 19], Operations: ['73-54=19'] Exploring Operation: 53-26=27, Resulting Numbers: [19, 27] Generated Node #3: [19, 27] from Operation: 53-26=27 Current State: 46:[19, 27], Operations: ['73-54=19', '53-26=27'] Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
mult_heuristic
[ { "content": "Make 46 with the numbers [54, 73, 53, 26] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 46:[54, 73, 53, 26], Operations: []\nExploring Operation: 73-54=19, Resulting Numbers: [53, 26, 19]\nGenerated Node #0,0: 46:[53, 26, 19] Operation: 73-54=19\nMoving to Node #0,0\nCurrent State: 46:[53, 26, 19], Operations: ['73-54=19']\nExploring Operation: 53-26=27, Resulting Numbers: [19, 27]\nGenerated Node #0,0,0: 46:[19, 27] Operation: 53-26=27\nMoving to Node #0,0,0\nCurrent State: 46:[19, 27], Operations: ['73-54=19', '53-26=27']\nExploring Operation: 19+27=46, Resulting Numbers: [46]\n46,46 equal: Goal Reached\n", "role": "assistant" } ]
[ 8, 7, 21, 34 ]
94
[ "21/7=3", "34*3=102", "102-8=94" ]
Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 8*7=56, Resulting Numbers: [21, 34, 56] Generated Node #0,0: 94:[21, 34, 56] Operation: 8*7=56 Moving to Node #0,0 Current State: 94:[21, 34, 56], Operations: ['8*7=56'] Exploring Operation: 21+34=55, Resulting Numbers: [56, 55] Generated Node #0,0,0: 94:[56, 55] Operation: 21+34=55 Moving to Node #0,0,0 Current State: 94:[56, 55], Operations: ['8*7=56', '21+34=55'] Exploring Operation: 56+55=111, Resulting Numbers: [111] 111,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[56, 55], Operations: ['8*7=56', '21+34=55'] Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[21, 34, 56], Operations: ['8*7=56'] Exploring Operation: 21+56=77, Resulting Numbers: [34, 77] Generated Node #0,0,1: 94:[34, 77] Operation: 21+56=77 Moving to Node #0,0,1 Current State: 94:[34, 77], Operations: ['8*7=56', '21+56=77'] Exploring Operation: 34+77=111, Resulting Numbers: [111] 111,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[34, 77], Operations: ['8*7=56', '21+56=77'] Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[21, 34, 56], Operations: ['8*7=56'] Exploring Operation: 34+56=90, Resulting Numbers: [21, 90] Generated Node #0,0,2: 94:[21, 90] Operation: 34+56=90 Moving to Node #0,0,2 Current State: 94:[21, 90], Operations: ['8*7=56', '34+56=90'] Exploring Operation: 21+90=111, Resulting Numbers: [111] 111,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[21, 90], Operations: ['8*7=56', '34+56=90'] Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[21, 34, 56], Operations: ['8*7=56'] Exploring Operation: 34-21=13, Resulting Numbers: [56, 13] Generated Node #0,0,3: 94:[56, 13] Operation: 34-21=13 Moving to Node #0,0,3 Current State: 94:[56, 13], Operations: ['8*7=56', '34-21=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[56, 13], Operations: ['8*7=56', '34-21=13'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[21, 34, 56], Operations: ['8*7=56'] Exploring Operation: 56-21=35, Resulting Numbers: [34, 35] Generated Node #0,0,4: 94:[34, 35] Operation: 56-21=35 Moving to Node #0,0,4 Current State: 94:[34, 35], Operations: ['8*7=56', '56-21=35'] Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[34, 35], Operations: ['8*7=56', '56-21=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[21, 34, 56], Operations: ['8*7=56'] Exploring Operation: 56-34=22, Resulting Numbers: [21, 22] Generated Node #0,0,5: 94:[21, 22] Operation: 56-34=22 Moving to Node #0,0,5 Current State: 94:[21, 22], Operations: ['8*7=56', '56-34=22'] Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,0,5 Current State: 94:[21, 22], Operations: ['8*7=56', '56-34=22'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 7*21=147, Resulting Numbers: [8, 34, 147] Generated Node #0,1: 94:[8, 34, 147] Operation: 7*21=147 Moving to Node #0,1 Current State: 94:[8, 34, 147], Operations: ['7*21=147'] Exploring Operation: 8+34=42, Resulting Numbers: [147, 42] Generated Node #0,1,0: 94:[147, 42] Operation: 8+34=42 Moving to Node #0,1,0 Current State: 94:[147, 42], Operations: ['7*21=147', '8+34=42'] Exploring Operation: 147-42=105, Resulting Numbers: [105] 105,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[8, 34, 147], Operations: ['7*21=147'] Exploring Operation: 147-8=139, Resulting Numbers: [34, 139] Generated Node #0,1,1: 94:[34, 139] Operation: 147-8=139 Moving to Node #0,1,1 Current State: 94:[34, 139], Operations: ['7*21=147', '147-8=139'] Exploring Operation: 139-34=105, Resulting Numbers: [105] 105,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[34, 139], Operations: ['7*21=147', '147-8=139'] Exploring Operation: 34+139=173, Resulting Numbers: [173] 173,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[8, 34, 147], Operations: ['7*21=147'] Exploring Operation: 147-34=113, Resulting Numbers: [8, 113] Generated Node #0,1,2: 94:[8, 113] Operation: 147-34=113 Moving to Node #0,1,2 Current State: 94:[8, 113], Operations: ['7*21=147', '147-34=113'] Exploring Operation: 113-8=105, Resulting Numbers: [105] 105,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[8, 113], Operations: ['7*21=147', '147-34=113'] Exploring Operation: 8+113=121, Resulting Numbers: [121] 121,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[8, 34, 147], Operations: ['7*21=147'] Exploring Operation: 34-8=26, Resulting Numbers: [147, 26] Generated Node #0,1,3: 94:[147, 26] Operation: 34-8=26 Moving to Node #0,1,3 Current State: 94:[147, 26], Operations: ['7*21=147', '34-8=26'] Exploring Operation: 147-26=121, Resulting Numbers: [121] 121,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[147, 26], Operations: ['7*21=147', '34-8=26'] Exploring Operation: 147+26=173, Resulting Numbers: [173] 173,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[8, 34, 147], Operations: ['7*21=147'] Exploring Operation: 8+147=155, Resulting Numbers: [34, 155] Generated Node #0,1,4: 94:[34, 155] Operation: 8+147=155 Moving to Node #0,1,4 Current State: 94:[34, 155], Operations: ['7*21=147', '8+147=155'] Exploring Operation: 155-34=121, Resulting Numbers: [121] 121,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[8, 34, 147], Operations: ['7*21=147'] Exploring Operation: 34+147=181, Resulting Numbers: [8, 181] Generated Node #0,1,5: 94:[8, 181] Operation: 34+147=181 Moving to Node #0,1,5 Current State: 94:[8, 181], Operations: ['7*21=147', '34+147=181'] Exploring Operation: 181-8=173, Resulting Numbers: [173] 173,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 8+7=15, Resulting Numbers: [21, 34, 15] Generated Node #0,2: 94:[21, 34, 15] Operation: 8+7=15 Moving to Node #0,2 Current State: 94:[21, 34, 15], Operations: ['8+7=15'] Exploring Operation: 21+34=55, Resulting Numbers: [15, 55] Generated Node #0,2,0: 94:[15, 55] Operation: 21+34=55 Moving to Node #0,2,0 Current State: 94:[15, 55], Operations: ['8+7=15', '21+34=55'] Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[15, 55], Operations: ['8+7=15', '21+34=55'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[21, 34, 15], Operations: ['8+7=15'] Exploring Operation: 21+15=36, Resulting Numbers: [34, 36] Generated Node #0,2,1: 94:[34, 36] Operation: 21+15=36 Moving to Node #0,2,1 Current State: 94:[34, 36], Operations: ['8+7=15', '21+15=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[34, 36], Operations: ['8+7=15', '21+15=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[21, 34, 15], Operations: ['8+7=15'] Exploring Operation: 34+15=49, Resulting Numbers: [21, 49] Generated Node #0,2,2: 94:[21, 49] Operation: 34+15=49 Moving to Node #0,2,2 Current State: 94:[21, 49], Operations: ['8+7=15', '34+15=49'] Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[21, 49], Operations: ['8+7=15', '34+15=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[21, 34, 15], Operations: ['8+7=15'] Exploring Operation: 21-15=6, Resulting Numbers: [34, 6] Generated Node #0,2,3: 94:[34, 6] Operation: 21-15=6 Moving to Node #0,2,3 Current State: 94:[34, 6], Operations: ['8+7=15', '21-15=6'] Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[34, 6], Operations: ['8+7=15', '21-15=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[21, 34, 15], Operations: ['8+7=15'] Exploring Operation: 34-15=19, Resulting Numbers: [21, 19] Generated Node #0,2,4: 94:[21, 19] Operation: 34-15=19 Moving to Node #0,2,4 Current State: 94:[21, 19], Operations: ['8+7=15', '34-15=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,2,4 Current State: 94:[21, 19], Operations: ['8+7=15', '34-15=19'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[21, 34, 15], Operations: ['8+7=15'] Exploring Operation: 34-21=13, Resulting Numbers: [15, 13] Generated Node #0,2,5: 94:[15, 13] Operation: 34-21=13 Moving to Node #0,2,5 Current State: 94:[15, 13], Operations: ['8+7=15', '34-21=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,2,5 Current State: 94:[15, 13], Operations: ['8+7=15', '34-21=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 8+21=29, Resulting Numbers: [7, 34, 29] Generated Node #0,3: 94:[7, 34, 29] Operation: 8+21=29 Moving to Node #0,3 Current State: 94:[7, 34, 29], Operations: ['8+21=29'] Exploring Operation: 7+34=41, Resulting Numbers: [29, 41] Generated Node #0,3,0: 94:[29, 41] Operation: 7+34=41 Moving to Node #0,3,0 Current State: 94:[29, 41], Operations: ['8+21=29', '7+34=41'] Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[29, 41], Operations: ['8+21=29', '7+34=41'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[7, 34, 29], Operations: ['8+21=29'] Exploring Operation: 7+29=36, Resulting Numbers: [34, 36] Generated Node #0,3,1: 94:[34, 36] Operation: 7+29=36 Moving to Node #0,3,1 Current State: 94:[34, 36], Operations: ['8+21=29', '7+29=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[34, 36], Operations: ['8+21=29', '7+29=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[7, 34, 29], Operations: ['8+21=29'] Exploring Operation: 34+29=63, Resulting Numbers: [7, 63] Generated Node #0,3,2: 94:[7, 63] Operation: 34+29=63 Moving to Node #0,3,2 Current State: 94:[7, 63], Operations: ['8+21=29', '34+29=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[7, 63], Operations: ['8+21=29', '34+29=63'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[7, 63], Operations: ['8+21=29', '34+29=63'] Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[7, 34, 29], Operations: ['8+21=29'] Exploring Operation: 34-7=27, Resulting Numbers: [29, 27] Generated Node #0,3,3: 94:[29, 27] Operation: 34-7=27 Moving to Node #0,3,3 Current State: 94:[29, 27], Operations: ['8+21=29', '34-7=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[29, 27], Operations: ['8+21=29', '34-7=27'] Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[7, 34, 29], Operations: ['8+21=29'] Exploring Operation: 29-7=22, Resulting Numbers: [34, 22] Generated Node #0,3,4: 94:[34, 22] Operation: 29-7=22 Moving to Node #0,3,4 Current State: 94:[34, 22], Operations: ['8+21=29', '29-7=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[34, 22], Operations: ['8+21=29', '29-7=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[7, 34, 29], Operations: ['8+21=29'] Exploring Operation: 7*29=203, Resulting Numbers: [34, 203] Generated Node #0,3,5: 94:[34, 203] Operation: 7*29=203 Moving to Node #0,3,5 Current State: 94:[34, 203], Operations: ['8+21=29', '7*29=203'] Exploring Operation: 203-34=169, Resulting Numbers: [169] 169,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[7, 34, 29], Operations: ['8+21=29'] Exploring Operation: 34-29=5, Resulting Numbers: [7, 5] Generated Node #0,3,6: 94:[7, 5] Operation: 34-29=5 Moving to Node #0,3,6 Current State: 94:[7, 5], Operations: ['8+21=29', '34-29=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,94 unequal: No Solution Moving to Node #0,3,6 Current State: 94:[7, 5], Operations: ['8+21=29', '34-29=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,3,6 Current State: 94:[7, 5], Operations: ['8+21=29', '34-29=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 8+34=42, Resulting Numbers: [7, 21, 42] Generated Node #0,4: 94:[7, 21, 42] Operation: 8+34=42 Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 7*21=147, Resulting Numbers: [42, 147] Generated Node #0,4,0: 94:[42, 147] Operation: 7*21=147 Moving to Node #0,4,0 Current State: 94:[42, 147], Operations: ['8+34=42', '7*21=147'] Exploring Operation: 147-42=105, Resulting Numbers: [105] 105,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 7+21=28, Resulting Numbers: [42, 28] Generated Node #0,4,1: 94:[42, 28] Operation: 7+21=28 Moving to Node #0,4,1 Current State: 94:[42, 28], Operations: ['8+34=42', '7+21=28'] Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[42, 28], Operations: ['8+34=42', '7+21=28'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 7+42=49, Resulting Numbers: [21, 49] Generated Node #0,4,2: 94:[21, 49] Operation: 7+42=49 Moving to Node #0,4,2 Current State: 94:[21, 49], Operations: ['8+34=42', '7+42=49'] Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[21, 49], Operations: ['8+34=42', '7+42=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 21+42=63, Resulting Numbers: [7, 63] Generated Node #0,4,3: 94:[7, 63] Operation: 21+42=63 Moving to Node #0,4,3 Current State: 94:[7, 63], Operations: ['8+34=42', '21+42=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[7, 63], Operations: ['8+34=42', '21+42=63'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[7, 63], Operations: ['8+34=42', '21+42=63'] Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 21-7=14, Resulting Numbers: [42, 14] Generated Node #0,4,4: 94:[42, 14] Operation: 21-7=14 Moving to Node #0,4,4 Current State: 94:[42, 14], Operations: ['8+34=42', '21-7=14'] Exploring Operation: 42+14=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[42, 14], Operations: ['8+34=42', '21-7=14'] Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[42, 14], Operations: ['8+34=42', '21-7=14'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 42-7=35, Resulting Numbers: [21, 35] Generated Node #0,4,5: 94:[21, 35] Operation: 42-7=35 Moving to Node #0,4,5 Current State: 94:[21, 35], Operations: ['8+34=42', '42-7=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,4,5 Current State: 94:[21, 35], Operations: ['8+34=42', '42-7=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 21/7=3, Resulting Numbers: [42, 3] Generated Node #0,4,6: 94:[42, 3] Operation: 21/7=3 Moving to Node #0,4,6 Current State: 94:[42, 3], Operations: ['8+34=42', '21/7=3'] Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,94 unequal: No Solution Moving to Node #0,4,6 Current State: 94:[42, 3], Operations: ['8+34=42', '21/7=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,94 unequal: No Solution Moving to Node #0,4,6 Current State: 94:[42, 3], Operations: ['8+34=42', '21/7=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,94 unequal: No Solution Moving to Node #0,4,6 Current State: 94:[42, 3], Operations: ['8+34=42', '21/7=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 42-21=21, Resulting Numbers: [7, 21] Generated Node #0,4,7: 94:[7, 21] Operation: 42-21=21 Moving to Node #0,4,7 Current State: 94:[7, 21], Operations: ['8+34=42', '42-21=21'] Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,94 unequal: No Solution Moving to Node #0,4,7 Current State: 94:[7, 21], Operations: ['8+34=42', '42-21=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,4,7 Current State: 94:[7, 21], Operations: ['8+34=42', '42-21=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,4,7 Current State: 94:[7, 21], Operations: ['8+34=42', '42-21=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 42/7=6, Resulting Numbers: [21, 6] Generated Node #0,4,8: 94:[21, 6] Operation: 42/7=6 Moving to Node #0,4,8 Current State: 94:[21, 6], Operations: ['8+34=42', '42/7=6'] Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,94 unequal: No Solution Moving to Node #0,4,8 Current State: 94:[21, 6], Operations: ['8+34=42', '42/7=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,94 unequal: No Solution Moving to Node #0,4,8 Current State: 94:[21, 6], Operations: ['8+34=42', '42/7=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[7, 21, 42], Operations: ['8+34=42'] Exploring Operation: 42/21=2, Resulting Numbers: [7, 2] Generated Node #0,4,9: 94:[7, 2] Operation: 42/21=2 Moving to Node #0,4,9 Current State: 94:[7, 2], Operations: ['8+34=42', '42/21=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,4,9 Current State: 94:[7, 2], Operations: ['8+34=42', '42/21=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,94 unequal: No Solution Moving to Node #0,4,9 Current State: 94:[7, 2], Operations: ['8+34=42', '42/21=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 7+21=28, Resulting Numbers: [8, 34, 28] Generated Node #0,5: 94:[8, 34, 28] Operation: 7+21=28 Moving to Node #0,5 Current State: 94:[8, 34, 28], Operations: ['7+21=28'] Exploring Operation: 8+34=42, Resulting Numbers: [28, 42] Generated Node #0,5,0: 94:[28, 42] Operation: 8+34=42 Moving to Node #0,5,0 Current State: 94:[28, 42], Operations: ['7+21=28', '8+34=42'] Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,5,0 Current State: 94:[28, 42], Operations: ['7+21=28', '8+34=42'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[8, 34, 28], Operations: ['7+21=28'] Exploring Operation: 8+28=36, Resulting Numbers: [34, 36] Generated Node #0,5,1: 94:[34, 36] Operation: 8+28=36 Moving to Node #0,5,1 Current State: 94:[34, 36], Operations: ['7+21=28', '8+28=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,5,1 Current State: 94:[34, 36], Operations: ['7+21=28', '8+28=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[8, 34, 28], Operations: ['7+21=28'] Exploring Operation: 34+28=62, Resulting Numbers: [8, 62] Generated Node #0,5,2: 94:[8, 62] Operation: 34+28=62 Moving to Node #0,5,2 Current State: 94:[8, 62], Operations: ['7+21=28', '34+28=62'] Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,5,2 Current State: 94:[8, 62], Operations: ['7+21=28', '34+28=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[8, 34, 28], Operations: ['7+21=28'] Exploring Operation: 34-8=26, Resulting Numbers: [28, 26] Generated Node #0,5,3: 94:[28, 26] Operation: 34-8=26 Moving to Node #0,5,3 Current State: 94:[28, 26], Operations: ['7+21=28', '34-8=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,5,3 Current State: 94:[28, 26], Operations: ['7+21=28', '34-8=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[8, 34, 28], Operations: ['7+21=28'] Exploring Operation: 28-8=20, Resulting Numbers: [34, 20] Generated Node #0,5,4: 94:[34, 20] Operation: 28-8=20 Moving to Node #0,5,4 Current State: 94:[34, 20], Operations: ['7+21=28', '28-8=20'] Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,5,4 Current State: 94:[34, 20], Operations: ['7+21=28', '28-8=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[8, 34, 28], Operations: ['7+21=28'] Exploring Operation: 34-28=6, Resulting Numbers: [8, 6] Generated Node #0,5,5: 94:[8, 6] Operation: 34-28=6 Moving to Node #0,5,5 Current State: 94:[8, 6], Operations: ['7+21=28', '34-28=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,94 unequal: No Solution Moving to Node #0,5,5 Current State: 94:[8, 6], Operations: ['7+21=28', '34-28=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,5,5 Current State: 94:[8, 6], Operations: ['7+21=28', '34-28=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 7+34=41, Resulting Numbers: [8, 21, 41] Generated Node #0,6: 94:[8, 21, 41] Operation: 7+34=41 Moving to Node #0,6 Current State: 94:[8, 21, 41], Operations: ['7+34=41'] Exploring Operation: 8+21=29, Resulting Numbers: [41, 29] Generated Node #0,6,0: 94:[41, 29] Operation: 8+21=29 Moving to Node #0,6,0 Current State: 94:[41, 29], Operations: ['7+34=41', '8+21=29'] Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,6,0 Current State: 94:[41, 29], Operations: ['7+34=41', '8+21=29'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[8, 21, 41], Operations: ['7+34=41'] Exploring Operation: 8+41=49, Resulting Numbers: [21, 49] Generated Node #0,6,1: 94:[21, 49] Operation: 8+41=49 Moving to Node #0,6,1 Current State: 94:[21, 49], Operations: ['7+34=41', '8+41=49'] Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,6,1 Current State: 94:[21, 49], Operations: ['7+34=41', '8+41=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[8, 21, 41], Operations: ['7+34=41'] Exploring Operation: 21+41=62, Resulting Numbers: [8, 62] Generated Node #0,6,2: 94:[8, 62] Operation: 21+41=62 Moving to Node #0,6,2 Current State: 94:[8, 62], Operations: ['7+34=41', '21+41=62'] Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,6,2 Current State: 94:[8, 62], Operations: ['7+34=41', '21+41=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[8, 21, 41], Operations: ['7+34=41'] Exploring Operation: 8*21=168, Resulting Numbers: [41, 168] Generated Node #0,6,3: 94:[41, 168] Operation: 8*21=168 Moving to Node #0,6,3 Current State: 94:[41, 168], Operations: ['7+34=41', '8*21=168'] Exploring Operation: 168-41=127, Resulting Numbers: [127] 127,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[8, 21, 41], Operations: ['7+34=41'] Exploring Operation: 21-8=13, Resulting Numbers: [41, 13] Generated Node #0,6,4: 94:[41, 13] Operation: 21-8=13 Moving to Node #0,6,4 Current State: 94:[41, 13], Operations: ['7+34=41', '21-8=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,6,4 Current State: 94:[41, 13], Operations: ['7+34=41', '21-8=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[8, 21, 41], Operations: ['7+34=41'] Exploring Operation: 41-8=33, Resulting Numbers: [21, 33] Generated Node #0,6,5: 94:[21, 33] Operation: 41-8=33 Moving to Node #0,6,5 Current State: 94:[21, 33], Operations: ['7+34=41', '41-8=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,6,5 Current State: 94:[21, 33], Operations: ['7+34=41', '41-8=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[8, 21, 41], Operations: ['7+34=41'] Exploring Operation: 41-21=20, Resulting Numbers: [8, 20] Generated Node #0,6,6: 94:[8, 20] Operation: 41-21=20 Moving to Node #0,6,6 Current State: 94:[8, 20], Operations: ['7+34=41', '41-21=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,6,6 Current State: 94:[8, 20], Operations: ['7+34=41', '41-21=20'] Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,94 unequal: No Solution Moving to Node #0,6,6 Current State: 94:[8, 20], Operations: ['7+34=41', '41-21=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 21+34=55, Resulting Numbers: [8, 7, 55] Generated Node #0,7: 94:[8, 7, 55] Operation: 21+34=55 Moving to Node #0,7 Current State: 94:[8, 7, 55], Operations: ['21+34=55'] Exploring Operation: 8*7=56, Resulting Numbers: [55, 56] Generated Node #0,7,0: 94:[55, 56] Operation: 8*7=56 Moving to Node #0,7,0 Current State: 94:[55, 56], Operations: ['21+34=55', '8*7=56'] Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,94 unequal: No Solution Moving to Node #0,7,0 Current State: 94:[55, 56], Operations: ['21+34=55', '8*7=56'] Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[8, 7, 55], Operations: ['21+34=55'] Exploring Operation: 8+7=15, Resulting Numbers: [55, 15] Generated Node #0,7,1: 94:[55, 15] Operation: 8+7=15 Moving to Node #0,7,1 Current State: 94:[55, 15], Operations: ['21+34=55', '8+7=15'] Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,7,1 Current State: 94:[55, 15], Operations: ['21+34=55', '8+7=15'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[8, 7, 55], Operations: ['21+34=55'] Exploring Operation: 8+55=63, Resulting Numbers: [7, 63] Generated Node #0,7,2: 94:[7, 63] Operation: 8+55=63 Moving to Node #0,7,2 Current State: 94:[7, 63], Operations: ['21+34=55', '8+55=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,7,2 Current State: 94:[7, 63], Operations: ['21+34=55', '8+55=63'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,7,2 Current State: 94:[7, 63], Operations: ['21+34=55', '8+55=63'] Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[8, 7, 55], Operations: ['21+34=55'] Exploring Operation: 7+55=62, Resulting Numbers: [8, 62] Generated Node #0,7,3: 94:[8, 62] Operation: 7+55=62 Moving to Node #0,7,3 Current State: 94:[8, 62], Operations: ['21+34=55', '7+55=62'] Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,7,3 Current State: 94:[8, 62], Operations: ['21+34=55', '7+55=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[8, 7, 55], Operations: ['21+34=55'] Exploring Operation: 8-7=1, Resulting Numbers: [55, 1] Generated Node #0,7,4: 94:[55, 1] Operation: 8-7=1 Moving to Node #0,7,4 Current State: 94:[55, 1], Operations: ['21+34=55', '8-7=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,7,4 Current State: 94:[55, 1], Operations: ['21+34=55', '8-7=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,7,4 Current State: 94:[55, 1], Operations: ['21+34=55', '8-7=1'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,7,4 Current State: 94:[55, 1], Operations: ['21+34=55', '8-7=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[8, 7, 55], Operations: ['21+34=55'] Exploring Operation: 55-7=48, Resulting Numbers: [8, 48] Generated Node #0,7,5: 94:[8, 48] Operation: 55-7=48 Moving to Node #0,7,5 Current State: 94:[8, 48], Operations: ['21+34=55', '55-7=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,7,5 Current State: 94:[8, 48], Operations: ['21+34=55', '55-7=48'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,7,5 Current State: 94:[8, 48], Operations: ['21+34=55', '55-7=48'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[8, 7, 55], Operations: ['21+34=55'] Exploring Operation: 55-8=47, Resulting Numbers: [7, 47] Generated Node #0,7,6: 94:[7, 47] Operation: 55-8=47 Moving to Node #0,7,6 Current State: 94:[7, 47], Operations: ['21+34=55', '55-8=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,7,6 Current State: 94:[7, 47], Operations: ['21+34=55', '55-8=47'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 8*21=168, Resulting Numbers: [7, 34, 168] Generated Node #0,8: 94:[7, 34, 168] Operation: 8*21=168 Moving to Node #0,8 Current State: 94:[7, 34, 168], Operations: ['8*21=168'] Exploring Operation: 7+34=41, Resulting Numbers: [168, 41] Generated Node #0,8,0: 94:[168, 41] Operation: 7+34=41 Moving to Node #0,8,0 Current State: 94:[168, 41], Operations: ['8*21=168', '7+34=41'] Exploring Operation: 168-41=127, Resulting Numbers: [127] 127,94 unequal: No Solution Moving to Node #0,8 Current State: 94:[7, 34, 168], Operations: ['8*21=168'] Exploring Operation: 168-7=161, Resulting Numbers: [34, 161] Generated Node #0,8,1: 94:[34, 161] Operation: 168-7=161 Moving to Node #0,8,1 Current State: 94:[34, 161], Operations: ['8*21=168', '168-7=161'] Exploring Operation: 161-34=127, Resulting Numbers: [127] 127,94 unequal: No Solution Moving to Node #0,8 Current State: 94:[7, 34, 168], Operations: ['8*21=168'] Exploring Operation: 168-34=134, Resulting Numbers: [7, 134] Generated Node #0,8,2: 94:[7, 134] Operation: 168-34=134 Moving to Node #0,8,2 Current State: 94:[7, 134], Operations: ['8*21=168', '168-34=134'] Exploring Operation: 134-7=127, Resulting Numbers: [127] 127,94 unequal: No Solution Moving to Node #0,8,2 Current State: 94:[7, 134], Operations: ['8*21=168', '168-34=134'] Exploring Operation: 7+134=141, Resulting Numbers: [141] 141,94 unequal: No Solution Moving to Node #0,8 Current State: 94:[7, 34, 168], Operations: ['8*21=168'] Exploring Operation: 168/7=24, Resulting Numbers: [34, 24] Generated Node #0,8,3: 94:[34, 24] Operation: 168/7=24 Moving to Node #0,8,3 Current State: 94:[34, 24], Operations: ['8*21=168', '168/7=24'] Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,94 unequal: No Solution Moving to Node #0,8,3 Current State: 94:[34, 24], Operations: ['8*21=168', '168/7=24'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,94 unequal: No Solution Moving to Node #0,8 Current State: 94:[7, 34, 168], Operations: ['8*21=168'] Exploring Operation: 34-7=27, Resulting Numbers: [168, 27] Generated Node #0,8,4: 94:[168, 27] Operation: 34-7=27 Moving to Node #0,8,4 Current State: 94:[168, 27], Operations: ['8*21=168', '34-7=27'] Exploring Operation: 168-27=141, Resulting Numbers: [141] 141,94 unequal: No Solution Moving to Node #0,8 Current State: 94:[7, 34, 168], Operations: ['8*21=168'] Exploring Operation: 7+168=175, Resulting Numbers: [34, 175] Generated Node #0,8,5: 94:[34, 175] Operation: 7+168=175 Moving to Node #0,8,5 Current State: 94:[34, 175], Operations: ['8*21=168', '7+168=175'] Exploring Operation: 175-34=141, Resulting Numbers: [141] 141,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 8-7=1, Resulting Numbers: [21, 34, 1] Generated Node #0,9: 94:[21, 34, 1] Operation: 8-7=1 Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 21+34=55, Resulting Numbers: [1, 55] Generated Node #0,9,0: 94:[1, 55] Operation: 21+34=55 Moving to Node #0,9,0 Current State: 94:[1, 55], Operations: ['8-7=1', '21+34=55'] Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,9,0 Current State: 94:[1, 55], Operations: ['8-7=1', '21+34=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,9,0 Current State: 94:[1, 55], Operations: ['8-7=1', '21+34=55'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,9,0 Current State: 94:[1, 55], Operations: ['8-7=1', '21+34=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 21+1=22, Resulting Numbers: [34, 22] Generated Node #0,9,1: 94:[34, 22] Operation: 21+1=22 Moving to Node #0,9,1 Current State: 94:[34, 22], Operations: ['8-7=1', '21+1=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,9,1 Current State: 94:[34, 22], Operations: ['8-7=1', '21+1=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 34+1=35, Resulting Numbers: [21, 35] Generated Node #0,9,2: 94:[21, 35] Operation: 34+1=35 Moving to Node #0,9,2 Current State: 94:[21, 35], Operations: ['8-7=1', '34+1=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,9,2 Current State: 94:[21, 35], Operations: ['8-7=1', '34+1=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 21*1=21, Resulting Numbers: [34, 21] Generated Node #0,9,3: 94:[34, 21] Operation: 21*1=21 Moving to Node #0,9,3 Current State: 94:[34, 21], Operations: ['8-7=1', '21*1=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,9,3 Current State: 94:[34, 21], Operations: ['8-7=1', '21*1=21'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 21/1=21, Resulting Numbers: [34, 21] Generated Node #0,9,4: 94:[34, 21] Operation: 21/1=21 Moving to Node #0,9,4 Current State: 94:[34, 21], Operations: ['8-7=1', '21/1=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,9,4 Current State: 94:[34, 21], Operations: ['8-7=1', '21/1=21'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 34*1=34, Resulting Numbers: [21, 34] Generated Node #0,9,5: 94:[21, 34] Operation: 34*1=34 Moving to Node #0,9,5 Current State: 94:[21, 34], Operations: ['8-7=1', '34*1=34'] Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,9,5 Current State: 94:[21, 34], Operations: ['8-7=1', '34*1=34'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 34/1=34, Resulting Numbers: [21, 34] Generated Node #0,9,6: 94:[21, 34] Operation: 34/1=34 Moving to Node #0,9,6 Current State: 94:[21, 34], Operations: ['8-7=1', '34/1=34'] Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,9,6 Current State: 94:[21, 34], Operations: ['8-7=1', '34/1=34'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 21-1=20, Resulting Numbers: [34, 20] Generated Node #0,9,7: 94:[34, 20] Operation: 21-1=20 Moving to Node #0,9,7 Current State: 94:[34, 20], Operations: ['8-7=1', '21-1=20'] Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,9,7 Current State: 94:[34, 20], Operations: ['8-7=1', '21-1=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 34-1=33, Resulting Numbers: [21, 33] Generated Node #0,9,8: 94:[21, 33] Operation: 34-1=33 Moving to Node #0,9,8 Current State: 94:[21, 33], Operations: ['8-7=1', '34-1=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,9,8 Current State: 94:[21, 33], Operations: ['8-7=1', '34-1=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,9 Current State: 94:[21, 34, 1], Operations: ['8-7=1'] Exploring Operation: 34-21=13, Resulting Numbers: [1, 13] Generated Node #0,9,9: 94:[1, 13] Operation: 34-21=13 Moving to Node #0,9,9 Current State: 94:[1, 13], Operations: ['8-7=1', '34-21=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,9,9 Current State: 94:[1, 13], Operations: ['8-7=1', '34-21=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,9,9 Current State: 94:[1, 13], Operations: ['8-7=1', '34-21=13'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,9,9 Current State: 94:[1, 13], Operations: ['8-7=1', '34-21=13'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 21-7=14, Resulting Numbers: [8, 34, 14] Generated Node #0,10: 94:[8, 34, 14] Operation: 21-7=14 Moving to Node #0,10 Current State: 94:[8, 34, 14], Operations: ['21-7=14'] Exploring Operation: 8*14=112, Resulting Numbers: [34, 112] Generated Node #0,10,0: 94:[34, 112] Operation: 8*14=112 Moving to Node #0,10,0 Current State: 94:[34, 112], Operations: ['21-7=14', '8*14=112'] Exploring Operation: 112-34=78, Resulting Numbers: [78] 78,94 unequal: No Solution Moving to Node #0,10,0 Current State: 94:[34, 112], Operations: ['21-7=14', '8*14=112'] Exploring Operation: 34+112=146, Resulting Numbers: [146] 146,94 unequal: No Solution Moving to Node #0,10 Current State: 94:[8, 34, 14], Operations: ['21-7=14'] Exploring Operation: 8+34=42, Resulting Numbers: [14, 42] Generated Node #0,10,1: 94:[14, 42] Operation: 8+34=42 Moving to Node #0,10,1 Current State: 94:[14, 42], Operations: ['21-7=14', '8+34=42'] Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,10,1 Current State: 94:[14, 42], Operations: ['21-7=14', '8+34=42'] Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,10,1 Current State: 94:[14, 42], Operations: ['21-7=14', '8+34=42'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,94 unequal: No Solution Moving to Node #0,10 Current State: 94:[8, 34, 14], Operations: ['21-7=14'] Exploring Operation: 8+14=22, Resulting Numbers: [34, 22] Generated Node #0,10,2: 94:[34, 22] Operation: 8+14=22 Moving to Node #0,10,2 Current State: 94:[34, 22], Operations: ['21-7=14', '8+14=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,10,2 Current State: 94:[34, 22], Operations: ['21-7=14', '8+14=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,10 Current State: 94:[8, 34, 14], Operations: ['21-7=14'] Exploring Operation: 34+14=48, Resulting Numbers: [8, 48] Generated Node #0,10,3: 94:[8, 48] Operation: 34+14=48 Moving to Node #0,10,3 Current State: 94:[8, 48], Operations: ['21-7=14', '34+14=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,10,3 Current State: 94:[8, 48], Operations: ['21-7=14', '34+14=48'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,10,3 Current State: 94:[8, 48], Operations: ['21-7=14', '34+14=48'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,94 unequal: No Solution Moving to Node #0,10 Current State: 94:[8, 34, 14], Operations: ['21-7=14'] Exploring Operation: 34-8=26, Resulting Numbers: [14, 26] Generated Node #0,10,4: 94:[14, 26] Operation: 34-8=26 Moving to Node #0,10,4 Current State: 94:[14, 26], Operations: ['21-7=14', '34-8=26'] Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,10,4 Current State: 94:[14, 26], Operations: ['21-7=14', '34-8=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,10 Current State: 94:[8, 34, 14], Operations: ['21-7=14'] Exploring Operation: 14-8=6, Resulting Numbers: [34, 6] Generated Node #0,10,5: 94:[34, 6] Operation: 14-8=6 Moving to Node #0,10,5 Current State: 94:[34, 6], Operations: ['21-7=14', '14-8=6'] Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,10,5 Current State: 94:[34, 6], Operations: ['21-7=14', '14-8=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,10 Current State: 94:[8, 34, 14], Operations: ['21-7=14'] Exploring Operation: 34-14=20, Resulting Numbers: [8, 20] Generated Node #0,10,6: 94:[8, 20] Operation: 34-14=20 Moving to Node #0,10,6 Current State: 94:[8, 20], Operations: ['21-7=14', '34-14=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,10,6 Current State: 94:[8, 20], Operations: ['21-7=14', '34-14=20'] Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,94 unequal: No Solution Moving to Node #0,10,6 Current State: 94:[8, 20], Operations: ['21-7=14', '34-14=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 34-7=27, Resulting Numbers: [8, 21, 27] Generated Node #0,11: 94:[8, 21, 27] Operation: 34-7=27 Moving to Node #0,11 Current State: 94:[8, 21, 27], Operations: ['34-7=27'] Exploring Operation: 8+21=29, Resulting Numbers: [27, 29] Generated Node #0,11,0: 94:[27, 29] Operation: 8+21=29 Moving to Node #0,11,0 Current State: 94:[27, 29], Operations: ['34-7=27', '8+21=29'] Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,11,0 Current State: 94:[27, 29], Operations: ['34-7=27', '8+21=29'] Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,11 Current State: 94:[8, 21, 27], Operations: ['34-7=27'] Exploring Operation: 8+27=35, Resulting Numbers: [21, 35] Generated Node #0,11,1: 94:[21, 35] Operation: 8+27=35 Moving to Node #0,11,1 Current State: 94:[21, 35], Operations: ['34-7=27', '8+27=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,11,1 Current State: 94:[21, 35], Operations: ['34-7=27', '8+27=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,11 Current State: 94:[8, 21, 27], Operations: ['34-7=27'] Exploring Operation: 21+27=48, Resulting Numbers: [8, 48] Generated Node #0,11,2: 94:[8, 48] Operation: 21+27=48 Moving to Node #0,11,2 Current State: 94:[8, 48], Operations: ['34-7=27', '21+27=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,11,2 Current State: 94:[8, 48], Operations: ['34-7=27', '21+27=48'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,11,2 Current State: 94:[8, 48], Operations: ['34-7=27', '21+27=48'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,94 unequal: No Solution Moving to Node #0,11 Current State: 94:[8, 21, 27], Operations: ['34-7=27'] Exploring Operation: 8*21=168, Resulting Numbers: [27, 168] Generated Node #0,11,3: 94:[27, 168] Operation: 8*21=168 Moving to Node #0,11,3 Current State: 94:[27, 168], Operations: ['34-7=27', '8*21=168'] Exploring Operation: 168-27=141, Resulting Numbers: [141] 141,94 unequal: No Solution Moving to Node #0,11 Current State: 94:[8, 21, 27], Operations: ['34-7=27'] Exploring Operation: 21-8=13, Resulting Numbers: [27, 13] Generated Node #0,11,4: 94:[27, 13] Operation: 21-8=13 Moving to Node #0,11,4 Current State: 94:[27, 13], Operations: ['34-7=27', '21-8=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,11,4 Current State: 94:[27, 13], Operations: ['34-7=27', '21-8=13'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,11 Current State: 94:[8, 21, 27], Operations: ['34-7=27'] Exploring Operation: 27-8=19, Resulting Numbers: [21, 19] Generated Node #0,11,5: 94:[21, 19] Operation: 27-8=19 Moving to Node #0,11,5 Current State: 94:[21, 19], Operations: ['34-7=27', '27-8=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,11,5 Current State: 94:[21, 19], Operations: ['34-7=27', '27-8=19'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,11 Current State: 94:[8, 21, 27], Operations: ['34-7=27'] Exploring Operation: 27-21=6, Resulting Numbers: [8, 6] Generated Node #0,11,6: 94:[8, 6] Operation: 27-21=6 Moving to Node #0,11,6 Current State: 94:[8, 6], Operations: ['34-7=27', '27-21=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,94 unequal: No Solution Moving to Node #0,11,6 Current State: 94:[8, 6], Operations: ['34-7=27', '27-21=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,11,6 Current State: 94:[8, 6], Operations: ['34-7=27', '27-21=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 21-8=13, Resulting Numbers: [7, 34, 13] Generated Node #0,12: 94:[7, 34, 13] Operation: 21-8=13 Moving to Node #0,12 Current State: 94:[7, 34, 13], Operations: ['21-8=13'] Exploring Operation: 7*13=91, Resulting Numbers: [34, 91] Generated Node #0,12,0: 94:[34, 91] Operation: 7*13=91 Moving to Node #0,12,0 Current State: 94:[34, 91], Operations: ['21-8=13', '7*13=91'] Exploring Operation: 34+91=125, Resulting Numbers: [125] 125,94 unequal: No Solution Moving to Node #0,12,0 Current State: 94:[34, 91], Operations: ['21-8=13', '7*13=91'] Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,94 unequal: No Solution Moving to Node #0,12 Current State: 94:[7, 34, 13], Operations: ['21-8=13'] Exploring Operation: 7+34=41, Resulting Numbers: [13, 41] Generated Node #0,12,1: 94:[13, 41] Operation: 7+34=41 Moving to Node #0,12,1 Current State: 94:[13, 41], Operations: ['21-8=13', '7+34=41'] Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,12,1 Current State: 94:[13, 41], Operations: ['21-8=13', '7+34=41'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,12 Current State: 94:[7, 34, 13], Operations: ['21-8=13'] Exploring Operation: 7+13=20, Resulting Numbers: [34, 20] Generated Node #0,12,2: 94:[34, 20] Operation: 7+13=20 Moving to Node #0,12,2 Current State: 94:[34, 20], Operations: ['21-8=13', '7+13=20'] Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,12,2 Current State: 94:[34, 20], Operations: ['21-8=13', '7+13=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,12 Current State: 94:[7, 34, 13], Operations: ['21-8=13'] Exploring Operation: 34+13=47, Resulting Numbers: [7, 47] Generated Node #0,12,3: 94:[7, 47] Operation: 34+13=47 Moving to Node #0,12,3 Current State: 94:[7, 47], Operations: ['21-8=13', '34+13=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,12,3 Current State: 94:[7, 47], Operations: ['21-8=13', '34+13=47'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,12 Current State: 94:[7, 34, 13], Operations: ['21-8=13'] Exploring Operation: 34-7=27, Resulting Numbers: [13, 27] Generated Node #0,12,4: 94:[13, 27] Operation: 34-7=27 Moving to Node #0,12,4 Current State: 94:[13, 27], Operations: ['21-8=13', '34-7=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,12,4 Current State: 94:[13, 27], Operations: ['21-8=13', '34-7=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,12 Current State: 94:[7, 34, 13], Operations: ['21-8=13'] Exploring Operation: 13-7=6, Resulting Numbers: [34, 6] Generated Node #0,12,5: 94:[34, 6] Operation: 13-7=6 Moving to Node #0,12,5 Current State: 94:[34, 6], Operations: ['21-8=13', '13-7=6'] Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,12,5 Current State: 94:[34, 6], Operations: ['21-8=13', '13-7=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,12 Current State: 94:[7, 34, 13], Operations: ['21-8=13'] Exploring Operation: 34-13=21, Resulting Numbers: [7, 21] Generated Node #0,12,6: 94:[7, 21] Operation: 34-13=21 Moving to Node #0,12,6 Current State: 94:[7, 21], Operations: ['21-8=13', '34-13=21'] Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,94 unequal: No Solution Moving to Node #0,12,6 Current State: 94:[7, 21], Operations: ['21-8=13', '34-13=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,12,6 Current State: 94:[7, 21], Operations: ['21-8=13', '34-13=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,94 unequal: No Solution Moving to Node #0,12,6 Current State: 94:[7, 21], Operations: ['21-8=13', '34-13=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 34-8=26, Resulting Numbers: [7, 21, 26] Generated Node #0,13: 94:[7, 21, 26] Operation: 34-8=26 Moving to Node #0,13 Current State: 94:[7, 21, 26], Operations: ['34-8=26'] Exploring Operation: 7*21=147, Resulting Numbers: [26, 147] Generated Node #0,13,0: 94:[26, 147] Operation: 7*21=147 Moving to Node #0,13,0 Current State: 94:[26, 147], Operations: ['34-8=26', '7*21=147'] Exploring Operation: 147-26=121, Resulting Numbers: [121] 121,94 unequal: No Solution Moving to Node #0,13,0 Current State: 94:[26, 147], Operations: ['34-8=26', '7*21=147'] Exploring Operation: 26+147=173, Resulting Numbers: [173] 173,94 unequal: No Solution Moving to Node #0,13 Current State: 94:[7, 21, 26], Operations: ['34-8=26'] Exploring Operation: 7+21=28, Resulting Numbers: [26, 28] Generated Node #0,13,1: 94:[26, 28] Operation: 7+21=28 Moving to Node #0,13,1 Current State: 94:[26, 28], Operations: ['34-8=26', '7+21=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,13,1 Current State: 94:[26, 28], Operations: ['34-8=26', '7+21=28'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,13 Current State: 94:[7, 21, 26], Operations: ['34-8=26'] Exploring Operation: 7+26=33, Resulting Numbers: [21, 33] Generated Node #0,13,2: 94:[21, 33] Operation: 7+26=33 Moving to Node #0,13,2 Current State: 94:[21, 33], Operations: ['34-8=26', '7+26=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,13,2 Current State: 94:[21, 33], Operations: ['34-8=26', '7+26=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,13 Current State: 94:[7, 21, 26], Operations: ['34-8=26'] Exploring Operation: 21+26=47, Resulting Numbers: [7, 47] Generated Node #0,13,3: 94:[7, 47] Operation: 21+26=47 Moving to Node #0,13,3 Current State: 94:[7, 47], Operations: ['34-8=26', '21+26=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,13,3 Current State: 94:[7, 47], Operations: ['34-8=26', '21+26=47'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,13 Current State: 94:[7, 21, 26], Operations: ['34-8=26'] Exploring Operation: 21-7=14, Resulting Numbers: [26, 14] Generated Node #0,13,4: 94:[26, 14] Operation: 21-7=14 Moving to Node #0,13,4 Current State: 94:[26, 14], Operations: ['34-8=26', '21-7=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,13,4 Current State: 94:[26, 14], Operations: ['34-8=26', '21-7=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,13 Current State: 94:[7, 21, 26], Operations: ['34-8=26'] Exploring Operation: 26-7=19, Resulting Numbers: [21, 19] Generated Node #0,13,5: 94:[21, 19] Operation: 26-7=19 Moving to Node #0,13,5 Current State: 94:[21, 19], Operations: ['34-8=26', '26-7=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,13,5 Current State: 94:[21, 19], Operations: ['34-8=26', '26-7=19'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,13 Current State: 94:[7, 21, 26], Operations: ['34-8=26'] Exploring Operation: 21/7=3, Resulting Numbers: [26, 3] Generated Node #0,13,6: 94:[26, 3] Operation: 21/7=3 Moving to Node #0,13,6 Current State: 94:[26, 3], Operations: ['34-8=26', '21/7=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,94 unequal: No Solution Moving to Node #0,13,6 Current State: 94:[26, 3], Operations: ['34-8=26', '21/7=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,94 unequal: No Solution Moving to Node #0,13,6 Current State: 94:[26, 3], Operations: ['34-8=26', '21/7=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,94 unequal: No Solution Moving to Node #0,13 Current State: 94:[7, 21, 26], Operations: ['34-8=26'] Exploring Operation: 7*26=182, Resulting Numbers: [21, 182] Generated Node #0,13,7: 94:[21, 182] Operation: 7*26=182 Moving to Node #0,13,7 Current State: 94:[21, 182], Operations: ['34-8=26', '7*26=182'] Exploring Operation: 182-21=161, Resulting Numbers: [161] 161,94 unequal: No Solution Moving to Node #0,13 Current State: 94:[7, 21, 26], Operations: ['34-8=26'] Exploring Operation: 26-21=5, Resulting Numbers: [7, 5] Generated Node #0,13,8: 94:[7, 5] Operation: 26-21=5 Moving to Node #0,13,8 Current State: 94:[7, 5], Operations: ['34-8=26', '26-21=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,94 unequal: No Solution Moving to Node #0,13,8 Current State: 94:[7, 5], Operations: ['34-8=26', '26-21=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,13,8 Current State: 94:[7, 5], Operations: ['34-8=26', '26-21=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0 Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 21/7=3, Resulting Numbers: [8, 34, 3] Generated Node #0,14: 94:[8, 34, 3] Operation: 21/7=3 Moving to Node #0,14 Current State: 94:[8, 34, 3], Operations: ['21/7=3'] Exploring Operation: 34*3=102, Resulting Numbers: [8, 102] Generated Node #0,14,0: 94:[8, 102] Operation: 34*3=102 Moving to Node #0,14,0 Current State: 94:[8, 102], Operations: ['21/7=3', '34*3=102'] Exploring Operation: 102-8=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.706597
dfs
Current State: 94:[8, 7, 21, 34], Operations: [] Exploring Operation: 21/7=3, Resulting Numbers: [8, 34, 3] Generated Node #2: [8, 34, 3] from Operation: 21/7=3 Current State: 94:[8, 34, 3], Operations: ['21/7=3'] Exploring Operation: 34*3=102, Resulting Numbers: [8, 102] Generated Node #3: [8, 102] from Operation: 34*3=102 Current State: 94:[8, 102], Operations: ['21/7=3', '34*3=102'] Exploring Operation: 102-8=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
sum_heuristic
[ { "content": "Make 94 with the numbers [8, 7, 21, 34] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 8*7=56, Resulting Numbers: [21, 34, 56]\nGenerated Node #0,0: 94:[21, 34, 56] Operation: 8*7=56\nMoving to Node #0,0\nCurrent State: 94:[21, 34, 56], Operations: ['8*7=56']\nExploring Operation: 21+34=55, Resulting Numbers: [56, 55]\nGenerated Node #0,0,0: 94:[56, 55] Operation: 21+34=55\nMoving to Node #0,0,0\nCurrent State: 94:[56, 55], Operations: ['8*7=56', '21+34=55']\nExploring Operation: 56+55=111, Resulting Numbers: [111]\n111,94 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 94:[56, 55], Operations: ['8*7=56', '21+34=55']\nExploring Operation: 56-55=1, Resulting Numbers: [1]\n1,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[21, 34, 56], Operations: ['8*7=56']\nExploring Operation: 21+56=77, Resulting Numbers: [34, 77]\nGenerated Node #0,0,1: 94:[34, 77] Operation: 21+56=77\nMoving to Node #0,0,1\nCurrent State: 94:[34, 77], Operations: ['8*7=56', '21+56=77']\nExploring Operation: 34+77=111, Resulting Numbers: [111]\n111,94 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 94:[34, 77], Operations: ['8*7=56', '21+56=77']\nExploring Operation: 77-34=43, Resulting Numbers: [43]\n43,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[21, 34, 56], Operations: ['8*7=56']\nExploring Operation: 34+56=90, Resulting Numbers: [21, 90]\nGenerated Node #0,0,2: 94:[21, 90] Operation: 34+56=90\nMoving to Node #0,0,2\nCurrent State: 94:[21, 90], Operations: ['8*7=56', '34+56=90']\nExploring Operation: 21+90=111, Resulting Numbers: [111]\n111,94 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 94:[21, 90], Operations: ['8*7=56', '34+56=90']\nExploring Operation: 90-21=69, Resulting Numbers: [69]\n69,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[21, 34, 56], Operations: ['8*7=56']\nExploring Operation: 34-21=13, Resulting Numbers: [56, 13]\nGenerated Node #0,0,3: 94:[56, 13] Operation: 34-21=13\nMoving to Node #0,0,3\nCurrent State: 94:[56, 13], Operations: ['8*7=56', '34-21=13']\nExploring Operation: 56+13=69, Resulting Numbers: [69]\n69,94 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 94:[56, 13], Operations: ['8*7=56', '34-21=13']\nExploring Operation: 56-13=43, Resulting Numbers: [43]\n43,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[21, 34, 56], Operations: ['8*7=56']\nExploring Operation: 56-21=35, Resulting Numbers: [34, 35]\nGenerated Node #0,0,4: 94:[34, 35] Operation: 56-21=35\nMoving to Node #0,0,4\nCurrent State: 94:[34, 35], Operations: ['8*7=56', '56-21=35']\nExploring Operation: 34+35=69, Resulting Numbers: [69]\n69,94 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 94:[34, 35], Operations: ['8*7=56', '56-21=35']\nExploring Operation: 35-34=1, Resulting Numbers: [1]\n1,94 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 94:[21, 34, 56], Operations: ['8*7=56']\nExploring Operation: 56-34=22, Resulting Numbers: [21, 22]\nGenerated Node #0,0,5: 94:[21, 22] Operation: 56-34=22\nMoving to Node #0,0,5\nCurrent State: 94:[21, 22], Operations: ['8*7=56', '56-34=22']\nExploring Operation: 21+22=43, Resulting Numbers: [43]\n43,94 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 94:[21, 22], Operations: ['8*7=56', '56-34=22']\nExploring Operation: 22-21=1, Resulting Numbers: [1]\n1,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 7*21=147, Resulting Numbers: [8, 34, 147]\nGenerated Node #0,1: 94:[8, 34, 147] Operation: 7*21=147\nMoving to Node #0,1\nCurrent State: 94:[8, 34, 147], Operations: ['7*21=147']\nExploring Operation: 8+34=42, Resulting Numbers: [147, 42]\nGenerated Node #0,1,0: 94:[147, 42] Operation: 8+34=42\nMoving to Node #0,1,0\nCurrent State: 94:[147, 42], Operations: ['7*21=147', '8+34=42']\nExploring Operation: 147-42=105, Resulting Numbers: [105]\n105,94 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 94:[8, 34, 147], Operations: ['7*21=147']\nExploring Operation: 147-8=139, Resulting Numbers: [34, 139]\nGenerated Node #0,1,1: 94:[34, 139] Operation: 147-8=139\nMoving to Node #0,1,1\nCurrent State: 94:[34, 139], Operations: ['7*21=147', '147-8=139']\nExploring Operation: 139-34=105, Resulting Numbers: [105]\n105,94 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 94:[34, 139], Operations: ['7*21=147', '147-8=139']\nExploring Operation: 34+139=173, Resulting Numbers: [173]\n173,94 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 94:[8, 34, 147], Operations: ['7*21=147']\nExploring Operation: 147-34=113, Resulting Numbers: [8, 113]\nGenerated Node #0,1,2: 94:[8, 113] Operation: 147-34=113\nMoving to Node #0,1,2\nCurrent State: 94:[8, 113], Operations: ['7*21=147', '147-34=113']\nExploring Operation: 113-8=105, Resulting Numbers: [105]\n105,94 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 94:[8, 113], Operations: ['7*21=147', '147-34=113']\nExploring Operation: 8+113=121, Resulting Numbers: [121]\n121,94 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 94:[8, 34, 147], Operations: ['7*21=147']\nExploring Operation: 34-8=26, Resulting Numbers: [147, 26]\nGenerated Node #0,1,3: 94:[147, 26] Operation: 34-8=26\nMoving to Node #0,1,3\nCurrent State: 94:[147, 26], Operations: ['7*21=147', '34-8=26']\nExploring Operation: 147-26=121, Resulting Numbers: [121]\n121,94 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 94:[147, 26], Operations: ['7*21=147', '34-8=26']\nExploring Operation: 147+26=173, Resulting Numbers: [173]\n173,94 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 94:[8, 34, 147], Operations: ['7*21=147']\nExploring Operation: 8+147=155, Resulting Numbers: [34, 155]\nGenerated Node #0,1,4: 94:[34, 155] Operation: 8+147=155\nMoving to Node #0,1,4\nCurrent State: 94:[34, 155], Operations: ['7*21=147', '8+147=155']\nExploring Operation: 155-34=121, Resulting Numbers: [121]\n121,94 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 94:[8, 34, 147], Operations: ['7*21=147']\nExploring Operation: 34+147=181, Resulting Numbers: [8, 181]\nGenerated Node #0,1,5: 94:[8, 181] Operation: 34+147=181\nMoving to Node #0,1,5\nCurrent State: 94:[8, 181], Operations: ['7*21=147', '34+147=181']\nExploring Operation: 181-8=173, Resulting Numbers: [173]\n173,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 8+7=15, Resulting Numbers: [21, 34, 15]\nGenerated Node #0,2: 94:[21, 34, 15] Operation: 8+7=15\nMoving to Node #0,2\nCurrent State: 94:[21, 34, 15], Operations: ['8+7=15']\nExploring Operation: 21+34=55, Resulting Numbers: [15, 55]\nGenerated Node #0,2,0: 94:[15, 55] Operation: 21+34=55\nMoving to Node #0,2,0\nCurrent State: 94:[15, 55], Operations: ['8+7=15', '21+34=55']\nExploring Operation: 15+55=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 94:[15, 55], Operations: ['8+7=15', '21+34=55']\nExploring Operation: 55-15=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 94:[21, 34, 15], Operations: ['8+7=15']\nExploring Operation: 21+15=36, Resulting Numbers: [34, 36]\nGenerated Node #0,2,1: 94:[34, 36] Operation: 21+15=36\nMoving to Node #0,2,1\nCurrent State: 94:[34, 36], Operations: ['8+7=15', '21+15=36']\nExploring Operation: 34+36=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 94:[34, 36], Operations: ['8+7=15', '21+15=36']\nExploring Operation: 36-34=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 94:[21, 34, 15], Operations: ['8+7=15']\nExploring Operation: 34+15=49, Resulting Numbers: [21, 49]\nGenerated Node #0,2,2: 94:[21, 49] Operation: 34+15=49\nMoving to Node #0,2,2\nCurrent State: 94:[21, 49], Operations: ['8+7=15', '34+15=49']\nExploring Operation: 21+49=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 94:[21, 49], Operations: ['8+7=15', '34+15=49']\nExploring Operation: 49-21=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 94:[21, 34, 15], Operations: ['8+7=15']\nExploring Operation: 21-15=6, Resulting Numbers: [34, 6]\nGenerated Node #0,2,3: 94:[34, 6] Operation: 21-15=6\nMoving to Node #0,2,3\nCurrent State: 94:[34, 6], Operations: ['8+7=15', '21-15=6']\nExploring Operation: 34+6=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 94:[34, 6], Operations: ['8+7=15', '21-15=6']\nExploring Operation: 34-6=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 94:[21, 34, 15], Operations: ['8+7=15']\nExploring Operation: 34-15=19, Resulting Numbers: [21, 19]\nGenerated Node #0,2,4: 94:[21, 19] Operation: 34-15=19\nMoving to Node #0,2,4\nCurrent State: 94:[21, 19], Operations: ['8+7=15', '34-15=19']\nExploring Operation: 21+19=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 94:[21, 19], Operations: ['8+7=15', '34-15=19']\nExploring Operation: 21-19=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 94:[21, 34, 15], Operations: ['8+7=15']\nExploring Operation: 34-21=13, Resulting Numbers: [15, 13]\nGenerated Node #0,2,5: 94:[15, 13] Operation: 34-21=13\nMoving to Node #0,2,5\nCurrent State: 94:[15, 13], Operations: ['8+7=15', '34-21=13']\nExploring Operation: 15+13=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 94:[15, 13], Operations: ['8+7=15', '34-21=13']\nExploring Operation: 15-13=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 8+21=29, Resulting Numbers: [7, 34, 29]\nGenerated Node #0,3: 94:[7, 34, 29] Operation: 8+21=29\nMoving to Node #0,3\nCurrent State: 94:[7, 34, 29], Operations: ['8+21=29']\nExploring Operation: 7+34=41, Resulting Numbers: [29, 41]\nGenerated Node #0,3,0: 94:[29, 41] Operation: 7+34=41\nMoving to Node #0,3,0\nCurrent State: 94:[29, 41], Operations: ['8+21=29', '7+34=41']\nExploring Operation: 29+41=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 94:[29, 41], Operations: ['8+21=29', '7+34=41']\nExploring Operation: 41-29=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 94:[7, 34, 29], Operations: ['8+21=29']\nExploring Operation: 7+29=36, Resulting Numbers: [34, 36]\nGenerated Node #0,3,1: 94:[34, 36] Operation: 7+29=36\nMoving to Node #0,3,1\nCurrent State: 94:[34, 36], Operations: ['8+21=29', '7+29=36']\nExploring Operation: 34+36=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 94:[34, 36], Operations: ['8+21=29', '7+29=36']\nExploring Operation: 36-34=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 94:[7, 34, 29], Operations: ['8+21=29']\nExploring Operation: 34+29=63, Resulting Numbers: [7, 63]\nGenerated Node #0,3,2: 94:[7, 63] Operation: 34+29=63\nMoving to Node #0,3,2\nCurrent State: 94:[7, 63], Operations: ['8+21=29', '34+29=63']\nExploring Operation: 7+63=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 94:[7, 63], Operations: ['8+21=29', '34+29=63']\nExploring Operation: 63-7=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 94:[7, 63], Operations: ['8+21=29', '34+29=63']\nExploring Operation: 63/7=9, Resulting Numbers: [9]\n9,94 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 94:[7, 34, 29], Operations: ['8+21=29']\nExploring Operation: 34-7=27, Resulting Numbers: [29, 27]\nGenerated Node #0,3,3: 94:[29, 27] Operation: 34-7=27\nMoving to Node #0,3,3\nCurrent State: 94:[29, 27], Operations: ['8+21=29', '34-7=27']\nExploring Operation: 29+27=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 94:[29, 27], Operations: ['8+21=29', '34-7=27']\nExploring Operation: 29-27=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 94:[7, 34, 29], Operations: ['8+21=29']\nExploring Operation: 29-7=22, Resulting Numbers: [34, 22]\nGenerated Node #0,3,4: 94:[34, 22] Operation: 29-7=22\nMoving to Node #0,3,4\nCurrent State: 94:[34, 22], Operations: ['8+21=29', '29-7=22']\nExploring Operation: 34+22=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 94:[34, 22], Operations: ['8+21=29', '29-7=22']\nExploring Operation: 34-22=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 94:[7, 34, 29], Operations: ['8+21=29']\nExploring Operation: 7*29=203, Resulting Numbers: [34, 203]\nGenerated Node #0,3,5: 94:[34, 203] Operation: 7*29=203\nMoving to Node #0,3,5\nCurrent State: 94:[34, 203], Operations: ['8+21=29', '7*29=203']\nExploring Operation: 203-34=169, Resulting Numbers: [169]\n169,94 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 94:[7, 34, 29], Operations: ['8+21=29']\nExploring Operation: 34-29=5, Resulting Numbers: [7, 5]\nGenerated Node #0,3,6: 94:[7, 5] Operation: 34-29=5\nMoving to Node #0,3,6\nCurrent State: 94:[7, 5], Operations: ['8+21=29', '34-29=5']\nExploring Operation: 7*5=35, Resulting Numbers: [35]\n35,94 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 94:[7, 5], Operations: ['8+21=29', '34-29=5']\nExploring Operation: 7+5=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 94:[7, 5], Operations: ['8+21=29', '34-29=5']\nExploring Operation: 7-5=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 8+34=42, Resulting Numbers: [7, 21, 42]\nGenerated Node #0,4: 94:[7, 21, 42] Operation: 8+34=42\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 7*21=147, Resulting Numbers: [42, 147]\nGenerated Node #0,4,0: 94:[42, 147] Operation: 7*21=147\nMoving to Node #0,4,0\nCurrent State: 94:[42, 147], Operations: ['8+34=42', '7*21=147']\nExploring Operation: 147-42=105, Resulting Numbers: [105]\n105,94 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 7+21=28, Resulting Numbers: [42, 28]\nGenerated Node #0,4,1: 94:[42, 28] Operation: 7+21=28\nMoving to Node #0,4,1\nCurrent State: 94:[42, 28], Operations: ['8+34=42', '7+21=28']\nExploring Operation: 42+28=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 94:[42, 28], Operations: ['8+34=42', '7+21=28']\nExploring Operation: 42-28=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 7+42=49, Resulting Numbers: [21, 49]\nGenerated Node #0,4,2: 94:[21, 49] Operation: 7+42=49\nMoving to Node #0,4,2\nCurrent State: 94:[21, 49], Operations: ['8+34=42', '7+42=49']\nExploring Operation: 21+49=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 94:[21, 49], Operations: ['8+34=42', '7+42=49']\nExploring Operation: 49-21=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 21+42=63, Resulting Numbers: [7, 63]\nGenerated Node #0,4,3: 94:[7, 63] Operation: 21+42=63\nMoving to Node #0,4,3\nCurrent State: 94:[7, 63], Operations: ['8+34=42', '21+42=63']\nExploring Operation: 7+63=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 94:[7, 63], Operations: ['8+34=42', '21+42=63']\nExploring Operation: 63-7=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 94:[7, 63], Operations: ['8+34=42', '21+42=63']\nExploring Operation: 63/7=9, Resulting Numbers: [9]\n9,94 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 21-7=14, Resulting Numbers: [42, 14]\nGenerated Node #0,4,4: 94:[42, 14] Operation: 21-7=14\nMoving to Node #0,4,4\nCurrent State: 94:[42, 14], Operations: ['8+34=42', '21-7=14']\nExploring Operation: 42+14=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 94:[42, 14], Operations: ['8+34=42', '21-7=14']\nExploring Operation: 42-14=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 94:[42, 14], Operations: ['8+34=42', '21-7=14']\nExploring Operation: 42/14=3, Resulting Numbers: [3]\n3,94 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 42-7=35, Resulting Numbers: [21, 35]\nGenerated Node #0,4,5: 94:[21, 35] Operation: 42-7=35\nMoving to Node #0,4,5\nCurrent State: 94:[21, 35], Operations: ['8+34=42', '42-7=35']\nExploring Operation: 21+35=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 94:[21, 35], Operations: ['8+34=42', '42-7=35']\nExploring Operation: 35-21=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 21/7=3, Resulting Numbers: [42, 3]\nGenerated Node #0,4,6: 94:[42, 3] Operation: 21/7=3\nMoving to Node #0,4,6\nCurrent State: 94:[42, 3], Operations: ['8+34=42', '21/7=3']\nExploring Operation: 42*3=126, Resulting Numbers: [126]\n126,94 unequal: No Solution\nMoving to Node #0,4,6\nCurrent State: 94:[42, 3], Operations: ['8+34=42', '21/7=3']\nExploring Operation: 42+3=45, Resulting Numbers: [45]\n45,94 unequal: No Solution\nMoving to Node #0,4,6\nCurrent State: 94:[42, 3], Operations: ['8+34=42', '21/7=3']\nExploring Operation: 42-3=39, Resulting Numbers: [39]\n39,94 unequal: No Solution\nMoving to Node #0,4,6\nCurrent State: 94:[42, 3], Operations: ['8+34=42', '21/7=3']\nExploring Operation: 42/3=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 42-21=21, Resulting Numbers: [7, 21]\nGenerated Node #0,4,7: 94:[7, 21] Operation: 42-21=21\nMoving to Node #0,4,7\nCurrent State: 94:[7, 21], Operations: ['8+34=42', '42-21=21']\nExploring Operation: 7*21=147, Resulting Numbers: [147]\n147,94 unequal: No Solution\nMoving to Node #0,4,7\nCurrent State: 94:[7, 21], Operations: ['8+34=42', '42-21=21']\nExploring Operation: 7+21=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,4,7\nCurrent State: 94:[7, 21], Operations: ['8+34=42', '42-21=21']\nExploring Operation: 21-7=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,4,7\nCurrent State: 94:[7, 21], Operations: ['8+34=42', '42-21=21']\nExploring Operation: 21/7=3, Resulting Numbers: [3]\n3,94 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 42/7=6, Resulting Numbers: [21, 6]\nGenerated Node #0,4,8: 94:[21, 6] Operation: 42/7=6\nMoving to Node #0,4,8\nCurrent State: 94:[21, 6], Operations: ['8+34=42', '42/7=6']\nExploring Operation: 21*6=126, Resulting Numbers: [126]\n126,94 unequal: No Solution\nMoving to Node #0,4,8\nCurrent State: 94:[21, 6], Operations: ['8+34=42', '42/7=6']\nExploring Operation: 21+6=27, Resulting Numbers: [27]\n27,94 unequal: No Solution\nMoving to Node #0,4,8\nCurrent State: 94:[21, 6], Operations: ['8+34=42', '42/7=6']\nExploring Operation: 21-6=15, Resulting Numbers: [15]\n15,94 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 94:[7, 21, 42], Operations: ['8+34=42']\nExploring Operation: 42/21=2, Resulting Numbers: [7, 2]\nGenerated Node #0,4,9: 94:[7, 2] Operation: 42/21=2\nMoving to Node #0,4,9\nCurrent State: 94:[7, 2], Operations: ['8+34=42', '42/21=2']\nExploring Operation: 7*2=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,4,9\nCurrent State: 94:[7, 2], Operations: ['8+34=42', '42/21=2']\nExploring Operation: 7+2=9, Resulting Numbers: [9]\n9,94 unequal: No Solution\nMoving to Node #0,4,9\nCurrent State: 94:[7, 2], Operations: ['8+34=42', '42/21=2']\nExploring Operation: 7-2=5, Resulting Numbers: [5]\n5,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 7+21=28, Resulting Numbers: [8, 34, 28]\nGenerated Node #0,5: 94:[8, 34, 28] Operation: 7+21=28\nMoving to Node #0,5\nCurrent State: 94:[8, 34, 28], Operations: ['7+21=28']\nExploring Operation: 8+34=42, Resulting Numbers: [28, 42]\nGenerated Node #0,5,0: 94:[28, 42] Operation: 8+34=42\nMoving to Node #0,5,0\nCurrent State: 94:[28, 42], Operations: ['7+21=28', '8+34=42']\nExploring Operation: 28+42=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 94:[28, 42], Operations: ['7+21=28', '8+34=42']\nExploring Operation: 42-28=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 94:[8, 34, 28], Operations: ['7+21=28']\nExploring Operation: 8+28=36, Resulting Numbers: [34, 36]\nGenerated Node #0,5,1: 94:[34, 36] Operation: 8+28=36\nMoving to Node #0,5,1\nCurrent State: 94:[34, 36], Operations: ['7+21=28', '8+28=36']\nExploring Operation: 34+36=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 94:[34, 36], Operations: ['7+21=28', '8+28=36']\nExploring Operation: 36-34=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 94:[8, 34, 28], Operations: ['7+21=28']\nExploring Operation: 34+28=62, Resulting Numbers: [8, 62]\nGenerated Node #0,5,2: 94:[8, 62] Operation: 34+28=62\nMoving to Node #0,5,2\nCurrent State: 94:[8, 62], Operations: ['7+21=28', '34+28=62']\nExploring Operation: 8+62=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 94:[8, 62], Operations: ['7+21=28', '34+28=62']\nExploring Operation: 62-8=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 94:[8, 34, 28], Operations: ['7+21=28']\nExploring Operation: 34-8=26, Resulting Numbers: [28, 26]\nGenerated Node #0,5,3: 94:[28, 26] Operation: 34-8=26\nMoving to Node #0,5,3\nCurrent State: 94:[28, 26], Operations: ['7+21=28', '34-8=26']\nExploring Operation: 28+26=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 94:[28, 26], Operations: ['7+21=28', '34-8=26']\nExploring Operation: 28-26=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 94:[8, 34, 28], Operations: ['7+21=28']\nExploring Operation: 28-8=20, Resulting Numbers: [34, 20]\nGenerated Node #0,5,4: 94:[34, 20] Operation: 28-8=20\nMoving to Node #0,5,4\nCurrent State: 94:[34, 20], Operations: ['7+21=28', '28-8=20']\nExploring Operation: 34+20=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 94:[34, 20], Operations: ['7+21=28', '28-8=20']\nExploring Operation: 34-20=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 94:[8, 34, 28], Operations: ['7+21=28']\nExploring Operation: 34-28=6, Resulting Numbers: [8, 6]\nGenerated Node #0,5,5: 94:[8, 6] Operation: 34-28=6\nMoving to Node #0,5,5\nCurrent State: 94:[8, 6], Operations: ['7+21=28', '34-28=6']\nExploring Operation: 8*6=48, Resulting Numbers: [48]\n48,94 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 94:[8, 6], Operations: ['7+21=28', '34-28=6']\nExploring Operation: 8+6=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 94:[8, 6], Operations: ['7+21=28', '34-28=6']\nExploring Operation: 8-6=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 7+34=41, Resulting Numbers: [8, 21, 41]\nGenerated Node #0,6: 94:[8, 21, 41] Operation: 7+34=41\nMoving to Node #0,6\nCurrent State: 94:[8, 21, 41], Operations: ['7+34=41']\nExploring Operation: 8+21=29, Resulting Numbers: [41, 29]\nGenerated Node #0,6,0: 94:[41, 29] Operation: 8+21=29\nMoving to Node #0,6,0\nCurrent State: 94:[41, 29], Operations: ['7+34=41', '8+21=29']\nExploring Operation: 41+29=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 94:[41, 29], Operations: ['7+34=41', '8+21=29']\nExploring Operation: 41-29=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 94:[8, 21, 41], Operations: ['7+34=41']\nExploring Operation: 8+41=49, Resulting Numbers: [21, 49]\nGenerated Node #0,6,1: 94:[21, 49] Operation: 8+41=49\nMoving to Node #0,6,1\nCurrent State: 94:[21, 49], Operations: ['7+34=41', '8+41=49']\nExploring Operation: 21+49=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 94:[21, 49], Operations: ['7+34=41', '8+41=49']\nExploring Operation: 49-21=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 94:[8, 21, 41], Operations: ['7+34=41']\nExploring Operation: 21+41=62, Resulting Numbers: [8, 62]\nGenerated Node #0,6,2: 94:[8, 62] Operation: 21+41=62\nMoving to Node #0,6,2\nCurrent State: 94:[8, 62], Operations: ['7+34=41', '21+41=62']\nExploring Operation: 8+62=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 94:[8, 62], Operations: ['7+34=41', '21+41=62']\nExploring Operation: 62-8=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 94:[8, 21, 41], Operations: ['7+34=41']\nExploring Operation: 8*21=168, Resulting Numbers: [41, 168]\nGenerated Node #0,6,3: 94:[41, 168] Operation: 8*21=168\nMoving to Node #0,6,3\nCurrent State: 94:[41, 168], Operations: ['7+34=41', '8*21=168']\nExploring Operation: 168-41=127, Resulting Numbers: [127]\n127,94 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 94:[8, 21, 41], Operations: ['7+34=41']\nExploring Operation: 21-8=13, Resulting Numbers: [41, 13]\nGenerated Node #0,6,4: 94:[41, 13] Operation: 21-8=13\nMoving to Node #0,6,4\nCurrent State: 94:[41, 13], Operations: ['7+34=41', '21-8=13']\nExploring Operation: 41+13=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 94:[41, 13], Operations: ['7+34=41', '21-8=13']\nExploring Operation: 41-13=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 94:[8, 21, 41], Operations: ['7+34=41']\nExploring Operation: 41-8=33, Resulting Numbers: [21, 33]\nGenerated Node #0,6,5: 94:[21, 33] Operation: 41-8=33\nMoving to Node #0,6,5\nCurrent State: 94:[21, 33], Operations: ['7+34=41', '41-8=33']\nExploring Operation: 21+33=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 94:[21, 33], Operations: ['7+34=41', '41-8=33']\nExploring Operation: 33-21=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 94:[8, 21, 41], Operations: ['7+34=41']\nExploring Operation: 41-21=20, Resulting Numbers: [8, 20]\nGenerated Node #0,6,6: 94:[8, 20] Operation: 41-21=20\nMoving to Node #0,6,6\nCurrent State: 94:[8, 20], Operations: ['7+34=41', '41-21=20']\nExploring Operation: 8+20=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,6,6\nCurrent State: 94:[8, 20], Operations: ['7+34=41', '41-21=20']\nExploring Operation: 8*20=160, Resulting Numbers: [160]\n160,94 unequal: No Solution\nMoving to Node #0,6,6\nCurrent State: 94:[8, 20], Operations: ['7+34=41', '41-21=20']\nExploring Operation: 20-8=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 21+34=55, Resulting Numbers: [8, 7, 55]\nGenerated Node #0,7: 94:[8, 7, 55] Operation: 21+34=55\nMoving to Node #0,7\nCurrent State: 94:[8, 7, 55], Operations: ['21+34=55']\nExploring Operation: 8*7=56, Resulting Numbers: [55, 56]\nGenerated Node #0,7,0: 94:[55, 56] Operation: 8*7=56\nMoving to Node #0,7,0\nCurrent State: 94:[55, 56], Operations: ['21+34=55', '8*7=56']\nExploring Operation: 55+56=111, Resulting Numbers: [111]\n111,94 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 94:[55, 56], Operations: ['21+34=55', '8*7=56']\nExploring Operation: 56-55=1, Resulting Numbers: [1]\n1,94 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 94:[8, 7, 55], Operations: ['21+34=55']\nExploring Operation: 8+7=15, Resulting Numbers: [55, 15]\nGenerated Node #0,7,1: 94:[55, 15] Operation: 8+7=15\nMoving to Node #0,7,1\nCurrent State: 94:[55, 15], Operations: ['21+34=55', '8+7=15']\nExploring Operation: 55+15=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 94:[55, 15], Operations: ['21+34=55', '8+7=15']\nExploring Operation: 55-15=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 94:[8, 7, 55], Operations: ['21+34=55']\nExploring Operation: 8+55=63, Resulting Numbers: [7, 63]\nGenerated Node #0,7,2: 94:[7, 63] Operation: 8+55=63\nMoving to Node #0,7,2\nCurrent State: 94:[7, 63], Operations: ['21+34=55', '8+55=63']\nExploring Operation: 7+63=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 94:[7, 63], Operations: ['21+34=55', '8+55=63']\nExploring Operation: 63-7=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 94:[7, 63], Operations: ['21+34=55', '8+55=63']\nExploring Operation: 63/7=9, Resulting Numbers: [9]\n9,94 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 94:[8, 7, 55], Operations: ['21+34=55']\nExploring Operation: 7+55=62, Resulting Numbers: [8, 62]\nGenerated Node #0,7,3: 94:[8, 62] Operation: 7+55=62\nMoving to Node #0,7,3\nCurrent State: 94:[8, 62], Operations: ['21+34=55', '7+55=62']\nExploring Operation: 8+62=70, Resulting Numbers: [70]\n70,94 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 94:[8, 62], Operations: ['21+34=55', '7+55=62']\nExploring Operation: 62-8=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 94:[8, 7, 55], Operations: ['21+34=55']\nExploring Operation: 8-7=1, Resulting Numbers: [55, 1]\nGenerated Node #0,7,4: 94:[55, 1] Operation: 8-7=1\nMoving to Node #0,7,4\nCurrent State: 94:[55, 1], Operations: ['21+34=55', '8-7=1']\nExploring Operation: 55+1=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 94:[55, 1], Operations: ['21+34=55', '8-7=1']\nExploring Operation: 55*1=55, Resulting Numbers: [55]\n55,94 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 94:[55, 1], Operations: ['21+34=55', '8-7=1']\nExploring Operation: 55/1=55, Resulting Numbers: [55]\n55,94 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 94:[55, 1], Operations: ['21+34=55', '8-7=1']\nExploring Operation: 55-1=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 94:[8, 7, 55], Operations: ['21+34=55']\nExploring Operation: 55-7=48, Resulting Numbers: [8, 48]\nGenerated Node #0,7,5: 94:[8, 48] Operation: 55-7=48\nMoving to Node #0,7,5\nCurrent State: 94:[8, 48], Operations: ['21+34=55', '55-7=48']\nExploring Operation: 8+48=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 94:[8, 48], Operations: ['21+34=55', '55-7=48']\nExploring Operation: 48-8=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 94:[8, 48], Operations: ['21+34=55', '55-7=48']\nExploring Operation: 48/8=6, Resulting Numbers: [6]\n6,94 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 94:[8, 7, 55], Operations: ['21+34=55']\nExploring Operation: 55-8=47, Resulting Numbers: [7, 47]\nGenerated Node #0,7,6: 94:[7, 47] Operation: 55-8=47\nMoving to Node #0,7,6\nCurrent State: 94:[7, 47], Operations: ['21+34=55', '55-8=47']\nExploring Operation: 7+47=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,7,6\nCurrent State: 94:[7, 47], Operations: ['21+34=55', '55-8=47']\nExploring Operation: 47-7=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 8*21=168, Resulting Numbers: [7, 34, 168]\nGenerated Node #0,8: 94:[7, 34, 168] Operation: 8*21=168\nMoving to Node #0,8\nCurrent State: 94:[7, 34, 168], Operations: ['8*21=168']\nExploring Operation: 7+34=41, Resulting Numbers: [168, 41]\nGenerated Node #0,8,0: 94:[168, 41] Operation: 7+34=41\nMoving to Node #0,8,0\nCurrent State: 94:[168, 41], Operations: ['8*21=168', '7+34=41']\nExploring Operation: 168-41=127, Resulting Numbers: [127]\n127,94 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 94:[7, 34, 168], Operations: ['8*21=168']\nExploring Operation: 168-7=161, Resulting Numbers: [34, 161]\nGenerated Node #0,8,1: 94:[34, 161] Operation: 168-7=161\nMoving to Node #0,8,1\nCurrent State: 94:[34, 161], Operations: ['8*21=168', '168-7=161']\nExploring Operation: 161-34=127, Resulting Numbers: [127]\n127,94 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 94:[7, 34, 168], Operations: ['8*21=168']\nExploring Operation: 168-34=134, Resulting Numbers: [7, 134]\nGenerated Node #0,8,2: 94:[7, 134] Operation: 168-34=134\nMoving to Node #0,8,2\nCurrent State: 94:[7, 134], Operations: ['8*21=168', '168-34=134']\nExploring Operation: 134-7=127, Resulting Numbers: [127]\n127,94 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 94:[7, 134], Operations: ['8*21=168', '168-34=134']\nExploring Operation: 7+134=141, Resulting Numbers: [141]\n141,94 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 94:[7, 34, 168], Operations: ['8*21=168']\nExploring Operation: 168/7=24, Resulting Numbers: [34, 24]\nGenerated Node #0,8,3: 94:[34, 24] Operation: 168/7=24\nMoving to Node #0,8,3\nCurrent State: 94:[34, 24], Operations: ['8*21=168', '168/7=24']\nExploring Operation: 34+24=58, Resulting Numbers: [58]\n58,94 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 94:[34, 24], Operations: ['8*21=168', '168/7=24']\nExploring Operation: 34-24=10, Resulting Numbers: [10]\n10,94 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 94:[7, 34, 168], Operations: ['8*21=168']\nExploring Operation: 34-7=27, Resulting Numbers: [168, 27]\nGenerated Node #0,8,4: 94:[168, 27] Operation: 34-7=27\nMoving to Node #0,8,4\nCurrent State: 94:[168, 27], Operations: ['8*21=168', '34-7=27']\nExploring Operation: 168-27=141, Resulting Numbers: [141]\n141,94 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 94:[7, 34, 168], Operations: ['8*21=168']\nExploring Operation: 7+168=175, Resulting Numbers: [34, 175]\nGenerated Node #0,8,5: 94:[34, 175] Operation: 7+168=175\nMoving to Node #0,8,5\nCurrent State: 94:[34, 175], Operations: ['8*21=168', '7+168=175']\nExploring Operation: 175-34=141, Resulting Numbers: [141]\n141,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 8-7=1, Resulting Numbers: [21, 34, 1]\nGenerated Node #0,9: 94:[21, 34, 1] Operation: 8-7=1\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 21+34=55, Resulting Numbers: [1, 55]\nGenerated Node #0,9,0: 94:[1, 55] Operation: 21+34=55\nMoving to Node #0,9,0\nCurrent State: 94:[1, 55], Operations: ['8-7=1', '21+34=55']\nExploring Operation: 1+55=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 94:[1, 55], Operations: ['8-7=1', '21+34=55']\nExploring Operation: 1*55=55, Resulting Numbers: [55]\n55,94 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 94:[1, 55], Operations: ['8-7=1', '21+34=55']\nExploring Operation: 55/1=55, Resulting Numbers: [55]\n55,94 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 94:[1, 55], Operations: ['8-7=1', '21+34=55']\nExploring Operation: 55-1=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 21+1=22, Resulting Numbers: [34, 22]\nGenerated Node #0,9,1: 94:[34, 22] Operation: 21+1=22\nMoving to Node #0,9,1\nCurrent State: 94:[34, 22], Operations: ['8-7=1', '21+1=22']\nExploring Operation: 34+22=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 94:[34, 22], Operations: ['8-7=1', '21+1=22']\nExploring Operation: 34-22=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 34+1=35, Resulting Numbers: [21, 35]\nGenerated Node #0,9,2: 94:[21, 35] Operation: 34+1=35\nMoving to Node #0,9,2\nCurrent State: 94:[21, 35], Operations: ['8-7=1', '34+1=35']\nExploring Operation: 21+35=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 94:[21, 35], Operations: ['8-7=1', '34+1=35']\nExploring Operation: 35-21=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 21*1=21, Resulting Numbers: [34, 21]\nGenerated Node #0,9,3: 94:[34, 21] Operation: 21*1=21\nMoving to Node #0,9,3\nCurrent State: 94:[34, 21], Operations: ['8-7=1', '21*1=21']\nExploring Operation: 34+21=55, Resulting Numbers: [55]\n55,94 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 94:[34, 21], Operations: ['8-7=1', '21*1=21']\nExploring Operation: 34-21=13, Resulting Numbers: [13]\n13,94 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 21/1=21, Resulting Numbers: [34, 21]\nGenerated Node #0,9,4: 94:[34, 21] Operation: 21/1=21\nMoving to Node #0,9,4\nCurrent State: 94:[34, 21], Operations: ['8-7=1', '21/1=21']\nExploring Operation: 34+21=55, Resulting Numbers: [55]\n55,94 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 94:[34, 21], Operations: ['8-7=1', '21/1=21']\nExploring Operation: 34-21=13, Resulting Numbers: [13]\n13,94 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 34*1=34, Resulting Numbers: [21, 34]\nGenerated Node #0,9,5: 94:[21, 34] Operation: 34*1=34\nMoving to Node #0,9,5\nCurrent State: 94:[21, 34], Operations: ['8-7=1', '34*1=34']\nExploring Operation: 21+34=55, Resulting Numbers: [55]\n55,94 unequal: No Solution\nMoving to Node #0,9,5\nCurrent State: 94:[21, 34], Operations: ['8-7=1', '34*1=34']\nExploring Operation: 34-21=13, Resulting Numbers: [13]\n13,94 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 34/1=34, Resulting Numbers: [21, 34]\nGenerated Node #0,9,6: 94:[21, 34] Operation: 34/1=34\nMoving to Node #0,9,6\nCurrent State: 94:[21, 34], Operations: ['8-7=1', '34/1=34']\nExploring Operation: 21+34=55, Resulting Numbers: [55]\n55,94 unequal: No Solution\nMoving to Node #0,9,6\nCurrent State: 94:[21, 34], Operations: ['8-7=1', '34/1=34']\nExploring Operation: 34-21=13, Resulting Numbers: [13]\n13,94 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 21-1=20, Resulting Numbers: [34, 20]\nGenerated Node #0,9,7: 94:[34, 20] Operation: 21-1=20\nMoving to Node #0,9,7\nCurrent State: 94:[34, 20], Operations: ['8-7=1', '21-1=20']\nExploring Operation: 34+20=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,9,7\nCurrent State: 94:[34, 20], Operations: ['8-7=1', '21-1=20']\nExploring Operation: 34-20=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 34-1=33, Resulting Numbers: [21, 33]\nGenerated Node #0,9,8: 94:[21, 33] Operation: 34-1=33\nMoving to Node #0,9,8\nCurrent State: 94:[21, 33], Operations: ['8-7=1', '34-1=33']\nExploring Operation: 21+33=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,9,8\nCurrent State: 94:[21, 33], Operations: ['8-7=1', '34-1=33']\nExploring Operation: 33-21=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 94:[21, 34, 1], Operations: ['8-7=1']\nExploring Operation: 34-21=13, Resulting Numbers: [1, 13]\nGenerated Node #0,9,9: 94:[1, 13] Operation: 34-21=13\nMoving to Node #0,9,9\nCurrent State: 94:[1, 13], Operations: ['8-7=1', '34-21=13']\nExploring Operation: 1+13=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,9,9\nCurrent State: 94:[1, 13], Operations: ['8-7=1', '34-21=13']\nExploring Operation: 1*13=13, Resulting Numbers: [13]\n13,94 unequal: No Solution\nMoving to Node #0,9,9\nCurrent State: 94:[1, 13], Operations: ['8-7=1', '34-21=13']\nExploring Operation: 13/1=13, Resulting Numbers: [13]\n13,94 unequal: No Solution\nMoving to Node #0,9,9\nCurrent State: 94:[1, 13], Operations: ['8-7=1', '34-21=13']\nExploring Operation: 13-1=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 21-7=14, Resulting Numbers: [8, 34, 14]\nGenerated Node #0,10: 94:[8, 34, 14] Operation: 21-7=14\nMoving to Node #0,10\nCurrent State: 94:[8, 34, 14], Operations: ['21-7=14']\nExploring Operation: 8*14=112, Resulting Numbers: [34, 112]\nGenerated Node #0,10,0: 94:[34, 112] Operation: 8*14=112\nMoving to Node #0,10,0\nCurrent State: 94:[34, 112], Operations: ['21-7=14', '8*14=112']\nExploring Operation: 112-34=78, Resulting Numbers: [78]\n78,94 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 94:[34, 112], Operations: ['21-7=14', '8*14=112']\nExploring Operation: 34+112=146, Resulting Numbers: [146]\n146,94 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 94:[8, 34, 14], Operations: ['21-7=14']\nExploring Operation: 8+34=42, Resulting Numbers: [14, 42]\nGenerated Node #0,10,1: 94:[14, 42] Operation: 8+34=42\nMoving to Node #0,10,1\nCurrent State: 94:[14, 42], Operations: ['21-7=14', '8+34=42']\nExploring Operation: 14+42=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 94:[14, 42], Operations: ['21-7=14', '8+34=42']\nExploring Operation: 42-14=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 94:[14, 42], Operations: ['21-7=14', '8+34=42']\nExploring Operation: 42/14=3, Resulting Numbers: [3]\n3,94 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 94:[8, 34, 14], Operations: ['21-7=14']\nExploring Operation: 8+14=22, Resulting Numbers: [34, 22]\nGenerated Node #0,10,2: 94:[34, 22] Operation: 8+14=22\nMoving to Node #0,10,2\nCurrent State: 94:[34, 22], Operations: ['21-7=14', '8+14=22']\nExploring Operation: 34+22=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 94:[34, 22], Operations: ['21-7=14', '8+14=22']\nExploring Operation: 34-22=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 94:[8, 34, 14], Operations: ['21-7=14']\nExploring Operation: 34+14=48, Resulting Numbers: [8, 48]\nGenerated Node #0,10,3: 94:[8, 48] Operation: 34+14=48\nMoving to Node #0,10,3\nCurrent State: 94:[8, 48], Operations: ['21-7=14', '34+14=48']\nExploring Operation: 8+48=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 94:[8, 48], Operations: ['21-7=14', '34+14=48']\nExploring Operation: 48-8=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 94:[8, 48], Operations: ['21-7=14', '34+14=48']\nExploring Operation: 48/8=6, Resulting Numbers: [6]\n6,94 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 94:[8, 34, 14], Operations: ['21-7=14']\nExploring Operation: 34-8=26, Resulting Numbers: [14, 26]\nGenerated Node #0,10,4: 94:[14, 26] Operation: 34-8=26\nMoving to Node #0,10,4\nCurrent State: 94:[14, 26], Operations: ['21-7=14', '34-8=26']\nExploring Operation: 14+26=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 94:[14, 26], Operations: ['21-7=14', '34-8=26']\nExploring Operation: 26-14=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 94:[8, 34, 14], Operations: ['21-7=14']\nExploring Operation: 14-8=6, Resulting Numbers: [34, 6]\nGenerated Node #0,10,5: 94:[34, 6] Operation: 14-8=6\nMoving to Node #0,10,5\nCurrent State: 94:[34, 6], Operations: ['21-7=14', '14-8=6']\nExploring Operation: 34+6=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 94:[34, 6], Operations: ['21-7=14', '14-8=6']\nExploring Operation: 34-6=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 94:[8, 34, 14], Operations: ['21-7=14']\nExploring Operation: 34-14=20, Resulting Numbers: [8, 20]\nGenerated Node #0,10,6: 94:[8, 20] Operation: 34-14=20\nMoving to Node #0,10,6\nCurrent State: 94:[8, 20], Operations: ['21-7=14', '34-14=20']\nExploring Operation: 8+20=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,10,6\nCurrent State: 94:[8, 20], Operations: ['21-7=14', '34-14=20']\nExploring Operation: 8*20=160, Resulting Numbers: [160]\n160,94 unequal: No Solution\nMoving to Node #0,10,6\nCurrent State: 94:[8, 20], Operations: ['21-7=14', '34-14=20']\nExploring Operation: 20-8=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 34-7=27, Resulting Numbers: [8, 21, 27]\nGenerated Node #0,11: 94:[8, 21, 27] Operation: 34-7=27\nMoving to Node #0,11\nCurrent State: 94:[8, 21, 27], Operations: ['34-7=27']\nExploring Operation: 8+21=29, Resulting Numbers: [27, 29]\nGenerated Node #0,11,0: 94:[27, 29] Operation: 8+21=29\nMoving to Node #0,11,0\nCurrent State: 94:[27, 29], Operations: ['34-7=27', '8+21=29']\nExploring Operation: 27+29=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 94:[27, 29], Operations: ['34-7=27', '8+21=29']\nExploring Operation: 29-27=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 94:[8, 21, 27], Operations: ['34-7=27']\nExploring Operation: 8+27=35, Resulting Numbers: [21, 35]\nGenerated Node #0,11,1: 94:[21, 35] Operation: 8+27=35\nMoving to Node #0,11,1\nCurrent State: 94:[21, 35], Operations: ['34-7=27', '8+27=35']\nExploring Operation: 21+35=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 94:[21, 35], Operations: ['34-7=27', '8+27=35']\nExploring Operation: 35-21=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 94:[8, 21, 27], Operations: ['34-7=27']\nExploring Operation: 21+27=48, Resulting Numbers: [8, 48]\nGenerated Node #0,11,2: 94:[8, 48] Operation: 21+27=48\nMoving to Node #0,11,2\nCurrent State: 94:[8, 48], Operations: ['34-7=27', '21+27=48']\nExploring Operation: 8+48=56, Resulting Numbers: [56]\n56,94 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 94:[8, 48], Operations: ['34-7=27', '21+27=48']\nExploring Operation: 48-8=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 94:[8, 48], Operations: ['34-7=27', '21+27=48']\nExploring Operation: 48/8=6, Resulting Numbers: [6]\n6,94 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 94:[8, 21, 27], Operations: ['34-7=27']\nExploring Operation: 8*21=168, Resulting Numbers: [27, 168]\nGenerated Node #0,11,3: 94:[27, 168] Operation: 8*21=168\nMoving to Node #0,11,3\nCurrent State: 94:[27, 168], Operations: ['34-7=27', '8*21=168']\nExploring Operation: 168-27=141, Resulting Numbers: [141]\n141,94 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 94:[8, 21, 27], Operations: ['34-7=27']\nExploring Operation: 21-8=13, Resulting Numbers: [27, 13]\nGenerated Node #0,11,4: 94:[27, 13] Operation: 21-8=13\nMoving to Node #0,11,4\nCurrent State: 94:[27, 13], Operations: ['34-7=27', '21-8=13']\nExploring Operation: 27+13=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 94:[27, 13], Operations: ['34-7=27', '21-8=13']\nExploring Operation: 27-13=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 94:[8, 21, 27], Operations: ['34-7=27']\nExploring Operation: 27-8=19, Resulting Numbers: [21, 19]\nGenerated Node #0,11,5: 94:[21, 19] Operation: 27-8=19\nMoving to Node #0,11,5\nCurrent State: 94:[21, 19], Operations: ['34-7=27', '27-8=19']\nExploring Operation: 21+19=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,11,5\nCurrent State: 94:[21, 19], Operations: ['34-7=27', '27-8=19']\nExploring Operation: 21-19=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 94:[8, 21, 27], Operations: ['34-7=27']\nExploring Operation: 27-21=6, Resulting Numbers: [8, 6]\nGenerated Node #0,11,6: 94:[8, 6] Operation: 27-21=6\nMoving to Node #0,11,6\nCurrent State: 94:[8, 6], Operations: ['34-7=27', '27-21=6']\nExploring Operation: 8*6=48, Resulting Numbers: [48]\n48,94 unequal: No Solution\nMoving to Node #0,11,6\nCurrent State: 94:[8, 6], Operations: ['34-7=27', '27-21=6']\nExploring Operation: 8+6=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,11,6\nCurrent State: 94:[8, 6], Operations: ['34-7=27', '27-21=6']\nExploring Operation: 8-6=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 21-8=13, Resulting Numbers: [7, 34, 13]\nGenerated Node #0,12: 94:[7, 34, 13] Operation: 21-8=13\nMoving to Node #0,12\nCurrent State: 94:[7, 34, 13], Operations: ['21-8=13']\nExploring Operation: 7*13=91, Resulting Numbers: [34, 91]\nGenerated Node #0,12,0: 94:[34, 91] Operation: 7*13=91\nMoving to Node #0,12,0\nCurrent State: 94:[34, 91], Operations: ['21-8=13', '7*13=91']\nExploring Operation: 34+91=125, Resulting Numbers: [125]\n125,94 unequal: No Solution\nMoving to Node #0,12,0\nCurrent State: 94:[34, 91], Operations: ['21-8=13', '7*13=91']\nExploring Operation: 91-34=57, Resulting Numbers: [57]\n57,94 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 94:[7, 34, 13], Operations: ['21-8=13']\nExploring Operation: 7+34=41, Resulting Numbers: [13, 41]\nGenerated Node #0,12,1: 94:[13, 41] Operation: 7+34=41\nMoving to Node #0,12,1\nCurrent State: 94:[13, 41], Operations: ['21-8=13', '7+34=41']\nExploring Operation: 13+41=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,12,1\nCurrent State: 94:[13, 41], Operations: ['21-8=13', '7+34=41']\nExploring Operation: 41-13=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 94:[7, 34, 13], Operations: ['21-8=13']\nExploring Operation: 7+13=20, Resulting Numbers: [34, 20]\nGenerated Node #0,12,2: 94:[34, 20] Operation: 7+13=20\nMoving to Node #0,12,2\nCurrent State: 94:[34, 20], Operations: ['21-8=13', '7+13=20']\nExploring Operation: 34+20=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,12,2\nCurrent State: 94:[34, 20], Operations: ['21-8=13', '7+13=20']\nExploring Operation: 34-20=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 94:[7, 34, 13], Operations: ['21-8=13']\nExploring Operation: 34+13=47, Resulting Numbers: [7, 47]\nGenerated Node #0,12,3: 94:[7, 47] Operation: 34+13=47\nMoving to Node #0,12,3\nCurrent State: 94:[7, 47], Operations: ['21-8=13', '34+13=47']\nExploring Operation: 7+47=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,12,3\nCurrent State: 94:[7, 47], Operations: ['21-8=13', '34+13=47']\nExploring Operation: 47-7=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 94:[7, 34, 13], Operations: ['21-8=13']\nExploring Operation: 34-7=27, Resulting Numbers: [13, 27]\nGenerated Node #0,12,4: 94:[13, 27] Operation: 34-7=27\nMoving to Node #0,12,4\nCurrent State: 94:[13, 27], Operations: ['21-8=13', '34-7=27']\nExploring Operation: 13+27=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,12,4\nCurrent State: 94:[13, 27], Operations: ['21-8=13', '34-7=27']\nExploring Operation: 27-13=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 94:[7, 34, 13], Operations: ['21-8=13']\nExploring Operation: 13-7=6, Resulting Numbers: [34, 6]\nGenerated Node #0,12,5: 94:[34, 6] Operation: 13-7=6\nMoving to Node #0,12,5\nCurrent State: 94:[34, 6], Operations: ['21-8=13', '13-7=6']\nExploring Operation: 34+6=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,12,5\nCurrent State: 94:[34, 6], Operations: ['21-8=13', '13-7=6']\nExploring Operation: 34-6=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 94:[7, 34, 13], Operations: ['21-8=13']\nExploring Operation: 34-13=21, Resulting Numbers: [7, 21]\nGenerated Node #0,12,6: 94:[7, 21] Operation: 34-13=21\nMoving to Node #0,12,6\nCurrent State: 94:[7, 21], Operations: ['21-8=13', '34-13=21']\nExploring Operation: 7*21=147, Resulting Numbers: [147]\n147,94 unequal: No Solution\nMoving to Node #0,12,6\nCurrent State: 94:[7, 21], Operations: ['21-8=13', '34-13=21']\nExploring Operation: 7+21=28, Resulting Numbers: [28]\n28,94 unequal: No Solution\nMoving to Node #0,12,6\nCurrent State: 94:[7, 21], Operations: ['21-8=13', '34-13=21']\nExploring Operation: 21-7=14, Resulting Numbers: [14]\n14,94 unequal: No Solution\nMoving to Node #0,12,6\nCurrent State: 94:[7, 21], Operations: ['21-8=13', '34-13=21']\nExploring Operation: 21/7=3, Resulting Numbers: [3]\n3,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 34-8=26, Resulting Numbers: [7, 21, 26]\nGenerated Node #0,13: 94:[7, 21, 26] Operation: 34-8=26\nMoving to Node #0,13\nCurrent State: 94:[7, 21, 26], Operations: ['34-8=26']\nExploring Operation: 7*21=147, Resulting Numbers: [26, 147]\nGenerated Node #0,13,0: 94:[26, 147] Operation: 7*21=147\nMoving to Node #0,13,0\nCurrent State: 94:[26, 147], Operations: ['34-8=26', '7*21=147']\nExploring Operation: 147-26=121, Resulting Numbers: [121]\n121,94 unequal: No Solution\nMoving to Node #0,13,0\nCurrent State: 94:[26, 147], Operations: ['34-8=26', '7*21=147']\nExploring Operation: 26+147=173, Resulting Numbers: [173]\n173,94 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 94:[7, 21, 26], Operations: ['34-8=26']\nExploring Operation: 7+21=28, Resulting Numbers: [26, 28]\nGenerated Node #0,13,1: 94:[26, 28] Operation: 7+21=28\nMoving to Node #0,13,1\nCurrent State: 94:[26, 28], Operations: ['34-8=26', '7+21=28']\nExploring Operation: 26+28=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,13,1\nCurrent State: 94:[26, 28], Operations: ['34-8=26', '7+21=28']\nExploring Operation: 28-26=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 94:[7, 21, 26], Operations: ['34-8=26']\nExploring Operation: 7+26=33, Resulting Numbers: [21, 33]\nGenerated Node #0,13,2: 94:[21, 33] Operation: 7+26=33\nMoving to Node #0,13,2\nCurrent State: 94:[21, 33], Operations: ['34-8=26', '7+26=33']\nExploring Operation: 21+33=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,13,2\nCurrent State: 94:[21, 33], Operations: ['34-8=26', '7+26=33']\nExploring Operation: 33-21=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 94:[7, 21, 26], Operations: ['34-8=26']\nExploring Operation: 21+26=47, Resulting Numbers: [7, 47]\nGenerated Node #0,13,3: 94:[7, 47] Operation: 21+26=47\nMoving to Node #0,13,3\nCurrent State: 94:[7, 47], Operations: ['34-8=26', '21+26=47']\nExploring Operation: 7+47=54, Resulting Numbers: [54]\n54,94 unequal: No Solution\nMoving to Node #0,13,3\nCurrent State: 94:[7, 47], Operations: ['34-8=26', '21+26=47']\nExploring Operation: 47-7=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 94:[7, 21, 26], Operations: ['34-8=26']\nExploring Operation: 21-7=14, Resulting Numbers: [26, 14]\nGenerated Node #0,13,4: 94:[26, 14] Operation: 21-7=14\nMoving to Node #0,13,4\nCurrent State: 94:[26, 14], Operations: ['34-8=26', '21-7=14']\nExploring Operation: 26+14=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,13,4\nCurrent State: 94:[26, 14], Operations: ['34-8=26', '21-7=14']\nExploring Operation: 26-14=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 94:[7, 21, 26], Operations: ['34-8=26']\nExploring Operation: 26-7=19, Resulting Numbers: [21, 19]\nGenerated Node #0,13,5: 94:[21, 19] Operation: 26-7=19\nMoving to Node #0,13,5\nCurrent State: 94:[21, 19], Operations: ['34-8=26', '26-7=19']\nExploring Operation: 21+19=40, Resulting Numbers: [40]\n40,94 unequal: No Solution\nMoving to Node #0,13,5\nCurrent State: 94:[21, 19], Operations: ['34-8=26', '26-7=19']\nExploring Operation: 21-19=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 94:[7, 21, 26], Operations: ['34-8=26']\nExploring Operation: 21/7=3, Resulting Numbers: [26, 3]\nGenerated Node #0,13,6: 94:[26, 3] Operation: 21/7=3\nMoving to Node #0,13,6\nCurrent State: 94:[26, 3], Operations: ['34-8=26', '21/7=3']\nExploring Operation: 26*3=78, Resulting Numbers: [78]\n78,94 unequal: No Solution\nMoving to Node #0,13,6\nCurrent State: 94:[26, 3], Operations: ['34-8=26', '21/7=3']\nExploring Operation: 26+3=29, Resulting Numbers: [29]\n29,94 unequal: No Solution\nMoving to Node #0,13,6\nCurrent State: 94:[26, 3], Operations: ['34-8=26', '21/7=3']\nExploring Operation: 26-3=23, Resulting Numbers: [23]\n23,94 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 94:[7, 21, 26], Operations: ['34-8=26']\nExploring Operation: 7*26=182, Resulting Numbers: [21, 182]\nGenerated Node #0,13,7: 94:[21, 182] Operation: 7*26=182\nMoving to Node #0,13,7\nCurrent State: 94:[21, 182], Operations: ['34-8=26', '7*26=182']\nExploring Operation: 182-21=161, Resulting Numbers: [161]\n161,94 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 94:[7, 21, 26], Operations: ['34-8=26']\nExploring Operation: 26-21=5, Resulting Numbers: [7, 5]\nGenerated Node #0,13,8: 94:[7, 5] Operation: 26-21=5\nMoving to Node #0,13,8\nCurrent State: 94:[7, 5], Operations: ['34-8=26', '26-21=5']\nExploring Operation: 7*5=35, Resulting Numbers: [35]\n35,94 unequal: No Solution\nMoving to Node #0,13,8\nCurrent State: 94:[7, 5], Operations: ['34-8=26', '26-21=5']\nExploring Operation: 7+5=12, Resulting Numbers: [12]\n12,94 unequal: No Solution\nMoving to Node #0,13,8\nCurrent State: 94:[7, 5], Operations: ['34-8=26', '26-21=5']\nExploring Operation: 7-5=2, Resulting Numbers: [2]\n2,94 unequal: No Solution\nMoving to Node #0\nCurrent State: 94:[8, 7, 21, 34], Operations: []\nExploring Operation: 21/7=3, Resulting Numbers: [8, 34, 3]\nGenerated Node #0,14: 94:[8, 34, 3] Operation: 21/7=3\nMoving to Node #0,14\nCurrent State: 94:[8, 34, 3], Operations: ['21/7=3']\nExploring Operation: 34*3=102, Resulting Numbers: [8, 102]\nGenerated Node #0,14,0: 94:[8, 102] Operation: 34*3=102\nMoving to Node #0,14,0\nCurrent State: 94:[8, 102], Operations: ['21/7=3', '34*3=102']\nExploring Operation: 102-8=94, Resulting Numbers: [94]\n94,94 equal: Goal Reached\n", "role": "assistant" } ]
[ 28, 99, 76, 75 ]
15
[ "99-28=71", "76-71=5", "75/5=15" ]
Current State: 15:[28, 99, 76, 75], Operations: [] Exploring Operation: 99-76=23, Resulting Numbers: [28, 75, 23] Generated Node #0,0: 15:[28, 75, 23] Operation: 99-76=23 Exploring Operation: 99-28=71, Resulting Numbers: [76, 75, 71] Generated Node #0,1: 15:[76, 75, 71] Operation: 99-28=71 Exploring Operation: 76-75=1, Resulting Numbers: [28, 99, 1] Generated Node #0,2: 15:[28, 99, 1] Operation: 76-75=1 Exploring Operation: 99-75=24, Resulting Numbers: [28, 76, 24] Generated Node #0,3: 15:[28, 76, 24] Operation: 99-75=24 Moving to Node #0,0 Current State: 15:[28, 75, 23], Operations: ['99-76=23'] Exploring Operation: 75-28=47, Resulting Numbers: [23, 47] Generated Node #0,0,0: 15:[23, 47] Operation: 75-28=47 Exploring Operation: 75-23=52, Resulting Numbers: [28, 52] Generated Node #0,0,1: 15:[28, 52] Operation: 75-23=52 Exploring Operation: 28-23=5, Resulting Numbers: [75, 5] Generated Node #0,0,2: 15:[75, 5] Operation: 28-23=5 Exploring Operation: 28+75=103, Resulting Numbers: [23, 103] Generated Node #0,0,3: 15:[23, 103] Operation: 28+75=103 Moving to Node #0,3 Current State: 15:[28, 76, 24], Operations: ['99-75=24'] Exploring Operation: 76-24=52, Resulting Numbers: [28, 52] Generated Node #0,3,0: 15:[28, 52] Operation: 76-24=52 Exploring Operation: 28+76=104, Resulting Numbers: [24, 104] Generated Node #0,3,1: 15:[24, 104] Operation: 28+76=104 Exploring Operation: 76-28=48, Resulting Numbers: [24, 48] Generated Node #0,3,2: 15:[24, 48] Operation: 76-28=48 Exploring Operation: 28-24=4, Resulting Numbers: [76, 4] Generated Node #0,3,3: 15:[76, 4] Operation: 28-24=4 Moving to Node #0,2 Current State: 15:[28, 99, 1], Operations: ['76-75=1'] Exploring Operation: 99-1=98, Resulting Numbers: [28, 98] Generated Node #0,2,0: 15:[28, 98] Operation: 99-1=98 Exploring Operation: 28*1=28, Resulting Numbers: [99, 28] Generated Node #0,2,1: 15:[99, 28] Operation: 28*1=28 Exploring Operation: 99-28=71, Resulting Numbers: [1, 71] Generated Node #0,2,2: 15:[1, 71] Operation: 99-28=71 Exploring Operation: 28-1=27, Resulting Numbers: [99, 27] Generated Node #0,2,3: 15:[99, 27] Operation: 28-1=27 Moving to Node #0,1 Current State: 15:[76, 75, 71], Operations: ['99-28=71'] Exploring Operation: 75-71=4, Resulting Numbers: [76, 4] Generated Node #0,1,0: 15:[76, 4] Operation: 75-71=4 Exploring Operation: 76+75=151, Resulting Numbers: [71, 151] Generated Node #0,1,1: 15:[71, 151] Operation: 76+75=151 Exploring Operation: 76-71=5, Resulting Numbers: [75, 5] Generated Node #0,1,2: 15:[75, 5] Operation: 76-71=5 Exploring Operation: 76-75=1, Resulting Numbers: [71, 1] Generated Node #0,1,3: 15:[71, 1] Operation: 76-75=1 Moving to Node #0,0,0 Current State: 15:[23, 47], Operations: ['99-76=23', '75-28=47'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 23+47=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 23*47=1081, Resulting Numbers: [1081] 1081,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[24, 48], Operations: ['99-75=24', '76-28=48'] Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,15 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[28, 52], Operations: ['99-75=24', '76-24=52'] Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,15 unequal: No Solution Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[28, 52], Operations: ['99-76=23', '75-23=52'] Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,15 unequal: No Solution Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,15 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,15 unequal: No Solution Moving to Node #0,0,0,0 Current State: 15:[24], Operations: ['99-76=23', '75-28=47', '47-23=24'] Moving to Node #0,3,2,0 Current State: 15:[24], Operations: ['99-75=24', '76-28=48', '48-24=24'] Moving to Node #0,3,0,0 Current State: 15:[24], Operations: ['99-75=24', '76-24=52', '52-28=24'] Moving to Node #0,0,1,0 Current State: 15:[24], Operations: ['99-76=23', '75-23=52', '52-28=24'] Moving to Node #0,3,2,0 Current State: 15:[2], Operations: ['99-75=24', '76-28=48', '48/24=2'] Moving to Node #0,1,3 Current State: 15:[71, 1], Operations: ['99-28=71', '76-75=1'] Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[75, 5], Operations: ['99-76=23', '28-23=5'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,15 unequal: No Solution Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,15 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.963542
bfs_4
Current State: 15:[28, 99, 76, 75], Operations: [] Exploring Operation: 99-28=71, Resulting Numbers: [76, 75, 71] Generated Node #2: [76, 75, 71] from Operation: 99-28=71 Current State: 15:[76, 75, 71], Operations: ['99-28=71'] Exploring Operation: 76-71=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 76-71=5 Current State: 15:[75, 5], Operations: ['99-28=71', '76-71=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
sum_heuristic
[ { "content": "Make 15 with the numbers [28, 99, 76, 75] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 15:[28, 99, 76, 75], Operations: []\nExploring Operation: 99-76=23, Resulting Numbers: [28, 75, 23]\nGenerated Node #0,0: 15:[28, 75, 23] Operation: 99-76=23\nExploring Operation: 99-28=71, Resulting Numbers: [76, 75, 71]\nGenerated Node #0,1: 15:[76, 75, 71] Operation: 99-28=71\nExploring Operation: 76-75=1, Resulting Numbers: [28, 99, 1]\nGenerated Node #0,2: 15:[28, 99, 1] Operation: 76-75=1\nExploring Operation: 99-75=24, Resulting Numbers: [28, 76, 24]\nGenerated Node #0,3: 15:[28, 76, 24] Operation: 99-75=24\nMoving to Node #0,0\nCurrent State: 15:[28, 75, 23], Operations: ['99-76=23']\nExploring Operation: 75-28=47, Resulting Numbers: [23, 47]\nGenerated Node #0,0,0: 15:[23, 47] Operation: 75-28=47\nExploring Operation: 75-23=52, Resulting Numbers: [28, 52]\nGenerated Node #0,0,1: 15:[28, 52] Operation: 75-23=52\nExploring Operation: 28-23=5, Resulting Numbers: [75, 5]\nGenerated Node #0,0,2: 15:[75, 5] Operation: 28-23=5\nExploring Operation: 28+75=103, Resulting Numbers: [23, 103]\nGenerated Node #0,0,3: 15:[23, 103] Operation: 28+75=103\nMoving to Node #0,3\nCurrent State: 15:[28, 76, 24], Operations: ['99-75=24']\nExploring Operation: 76-24=52, Resulting Numbers: [28, 52]\nGenerated Node #0,3,0: 15:[28, 52] Operation: 76-24=52\nExploring Operation: 28+76=104, Resulting Numbers: [24, 104]\nGenerated Node #0,3,1: 15:[24, 104] Operation: 28+76=104\nExploring Operation: 76-28=48, Resulting Numbers: [24, 48]\nGenerated Node #0,3,2: 15:[24, 48] Operation: 76-28=48\nExploring Operation: 28-24=4, Resulting Numbers: [76, 4]\nGenerated Node #0,3,3: 15:[76, 4] Operation: 28-24=4\nMoving to Node #0,2\nCurrent State: 15:[28, 99, 1], Operations: ['76-75=1']\nExploring Operation: 99-1=98, Resulting Numbers: [28, 98]\nGenerated Node #0,2,0: 15:[28, 98] Operation: 99-1=98\nExploring Operation: 28*1=28, Resulting Numbers: [99, 28]\nGenerated Node #0,2,1: 15:[99, 28] Operation: 28*1=28\nExploring Operation: 99-28=71, Resulting Numbers: [1, 71]\nGenerated Node #0,2,2: 15:[1, 71] Operation: 99-28=71\nExploring Operation: 28-1=27, Resulting Numbers: [99, 27]\nGenerated Node #0,2,3: 15:[99, 27] Operation: 28-1=27\nMoving to Node #0,1\nCurrent State: 15:[76, 75, 71], Operations: ['99-28=71']\nExploring Operation: 75-71=4, Resulting Numbers: [76, 4]\nGenerated Node #0,1,0: 15:[76, 4] Operation: 75-71=4\nExploring Operation: 76+75=151, Resulting Numbers: [71, 151]\nGenerated Node #0,1,1: 15:[71, 151] Operation: 76+75=151\nExploring Operation: 76-71=5, Resulting Numbers: [75, 5]\nGenerated Node #0,1,2: 15:[75, 5] Operation: 76-71=5\nExploring Operation: 76-75=1, Resulting Numbers: [71, 1]\nGenerated Node #0,1,3: 15:[71, 1] Operation: 76-75=1\nMoving to Node #0,0,0\nCurrent State: 15:[23, 47], Operations: ['99-76=23', '75-28=47']\nExploring Operation: 47-23=24, Resulting Numbers: [24]\n24,15 unequal: No Solution\nExploring Operation: 23+47=70, Resulting Numbers: [70]\n70,15 unequal: No Solution\nExploring Operation: 23*47=1081, Resulting Numbers: [1081]\n1081,15 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 15:[24, 48], Operations: ['99-75=24', '76-28=48']\nExploring Operation: 24*48=1152, Resulting Numbers: [1152]\n1152,15 unequal: No Solution\nExploring Operation: 48-24=24, Resulting Numbers: [24]\n24,15 unequal: No Solution\nExploring Operation: 48/24=2, Resulting Numbers: [2]\n2,15 unequal: No Solution\nExploring Operation: 24+48=72, Resulting Numbers: [72]\n72,15 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 15:[28, 52], Operations: ['99-75=24', '76-24=52']\nExploring Operation: 52-28=24, Resulting Numbers: [24]\n24,15 unequal: No Solution\nExploring Operation: 28*52=1456, Resulting Numbers: [1456]\n1456,15 unequal: No Solution\nExploring Operation: 28+52=80, Resulting Numbers: [80]\n80,15 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 15:[28, 52], Operations: ['99-76=23', '75-23=52']\nExploring Operation: 28*52=1456, Resulting Numbers: [1456]\n1456,15 unequal: No Solution\nExploring Operation: 28+52=80, Resulting Numbers: [80]\n80,15 unequal: No Solution\nExploring Operation: 52-28=24, Resulting Numbers: [24]\n24,15 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 15:[24], Operations: ['99-76=23', '75-28=47', '47-23=24']\nMoving to Node #0,3,2,0\nCurrent State: 15:[24], Operations: ['99-75=24', '76-28=48', '48-24=24']\nMoving to Node #0,3,0,0\nCurrent State: 15:[24], Operations: ['99-75=24', '76-24=52', '52-28=24']\nMoving to Node #0,0,1,0\nCurrent State: 15:[24], Operations: ['99-76=23', '75-23=52', '52-28=24']\nMoving to Node #0,3,2,0\nCurrent State: 15:[2], Operations: ['99-75=24', '76-28=48', '48/24=2']\nMoving to Node #0,1,3\nCurrent State: 15:[71, 1], Operations: ['99-28=71', '76-75=1']\nExploring Operation: 71*1=71, Resulting Numbers: [71]\n71,15 unequal: No Solution\nExploring Operation: 71/1=71, Resulting Numbers: [71]\n71,15 unequal: No Solution\nExploring Operation: 71-1=70, Resulting Numbers: [70]\n70,15 unequal: No Solution\nExploring Operation: 71+1=72, Resulting Numbers: [72]\n72,15 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 15:[75, 5], Operations: ['99-76=23', '28-23=5']\nExploring Operation: 75-5=70, Resulting Numbers: [70]\n70,15 unequal: No Solution\nExploring Operation: 75+5=80, Resulting Numbers: [80]\n80,15 unequal: No Solution\nExploring Operation: 75*5=375, Resulting Numbers: [375]\n375,15 unequal: No Solution\nExploring Operation: 75/5=15, Resulting Numbers: [15]\n15,15 equal: Goal Reached\n", "role": "assistant" } ]
[ 87, 42, 27, 2 ]
45
[ "27+2=29", "87/29=3", "42+3=45" ]
Current State: 45:[87, 42, 27, 2], Operations: [] Exploring Operation: 87-42=45, Resulting Numbers: [27, 2, 45] Generated Node #0,0: 45:[27, 2, 45] Operation: 87-42=45 Moving to Node #0,0 Current State: 45:[27, 2, 45], Operations: ['87-42=45'] Exploring Operation: 45-27=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 45:[2, 18] Operation: 45-27=18 Moving to Node #0,0,0 Current State: 45:[2, 18], Operations: ['87-42=45', '45-27=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[2, 18], Operations: ['87-42=45', '45-27=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[2, 18], Operations: ['87-42=45', '45-27=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[2, 18], Operations: ['87-42=45', '45-27=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,45 unequal: No Solution Moving to Node #0,0 Current State: 45:[27, 2, 45], Operations: ['87-42=45'] Exploring Operation: 27*2=54, Resulting Numbers: [45, 54] Generated Node #0,0,1: 45:[45, 54] Operation: 27*2=54 Moving to Node #0,0,1 Current State: 45:[45, 54], Operations: ['87-42=45', '27*2=54'] Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,45 unequal: No Solution Moving to Node #0,0 Current State: 45:[27, 2, 45], Operations: ['87-42=45'] Exploring Operation: 27-2=25, Resulting Numbers: [45, 25] Generated Node #0,0,2: 45:[45, 25] Operation: 27-2=25 Moving to Node #0,0,2 Current State: 45:[45, 25], Operations: ['87-42=45', '27-2=25'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[45, 25], Operations: ['87-42=45', '27-2=25'] Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,45 unequal: No Solution Moving to Node #0,0 Current State: 45:[27, 2, 45], Operations: ['87-42=45'] Exploring Operation: 27+2=29, Resulting Numbers: [45, 29] Generated Node #0,0,3: 45:[45, 29] Operation: 27+2=29 Moving to Node #0,0,3 Current State: 45:[45, 29], Operations: ['87-42=45', '27+2=29'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[45, 29], Operations: ['87-42=45', '27+2=29'] Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,45 unequal: No Solution Moving to Node #0,0 Current State: 45:[27, 2, 45], Operations: ['87-42=45'] Exploring Operation: 2+45=47, Resulting Numbers: [27, 47] Generated Node #0,0,4: 45:[27, 47] Operation: 2+45=47 Moving to Node #0,0,4 Current State: 45:[27, 47], Operations: ['87-42=45', '2+45=47'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[27, 47], Operations: ['87-42=45', '2+45=47'] Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,45 unequal: No Solution Moving to Node #0,0 Current State: 45:[27, 2, 45], Operations: ['87-42=45'] Exploring Operation: 45-2=43, Resulting Numbers: [27, 43] Generated Node #0,0,5: 45:[27, 43] Operation: 45-2=43 Moving to Node #0,0,5 Current State: 45:[27, 43], Operations: ['87-42=45', '45-2=43'] Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,45 unequal: No Solution Moving to Node #0,0,5 Current State: 45:[27, 43], Operations: ['87-42=45', '45-2=43'] Exploring Operation: 27+43=70, Resulting Numbers: [70] 70,45 unequal: No Solution Moving to Node #0,0 Current State: 45:[27, 2, 45], Operations: ['87-42=45'] Exploring Operation: 27+45=72, Resulting Numbers: [2, 72] Generated Node #0,0,6: 45:[2, 72] Operation: 27+45=72 Moving to Node #0,0,6 Current State: 45:[2, 72], Operations: ['87-42=45', '27+45=72'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,45 unequal: No Solution Moving to Node #0,0,6 Current State: 45:[2, 72], Operations: ['87-42=45', '27+45=72'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,45 unequal: No Solution Moving to Node #0,0,6 Current State: 45:[2, 72], Operations: ['87-42=45', '27+45=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,45 unequal: No Solution Moving to Node #0 Current State: 45:[87, 42, 27, 2], Operations: [] Exploring Operation: 87-27=60, Resulting Numbers: [42, 2, 60] Generated Node #0,1: 45:[42, 2, 60] Operation: 87-27=60 Moving to Node #0,1 Current State: 45:[42, 2, 60], Operations: ['87-27=60'] Exploring Operation: 60-42=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 45:[2, 18] Operation: 60-42=18 Moving to Node #0,1,0 Current State: 45:[2, 18], Operations: ['87-27=60', '60-42=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[2, 18], Operations: ['87-27=60', '60-42=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[2, 18], Operations: ['87-27=60', '60-42=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[2, 18], Operations: ['87-27=60', '60-42=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,45 unequal: No Solution Moving to Node #0,1 Current State: 45:[42, 2, 60], Operations: ['87-27=60'] Exploring Operation: 42+2=44, Resulting Numbers: [60, 44] Generated Node #0,1,1: 45:[60, 44] Operation: 42+2=44 Moving to Node #0,1,1 Current State: 45:[60, 44], Operations: ['87-27=60', '42+2=44'] Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,45 unequal: No Solution Moving to Node #0,1 Current State: 45:[42, 2, 60], Operations: ['87-27=60'] Exploring Operation: 60-2=58, Resulting Numbers: [42, 58] Generated Node #0,1,2: 45:[42, 58] Operation: 60-2=58 Moving to Node #0,1,2 Current State: 45:[42, 58], Operations: ['87-27=60', '60-2=58'] Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,45 unequal: No Solution Moving to Node #0,1 Current State: 45:[42, 2, 60], Operations: ['87-27=60'] Exploring Operation: 60/2=30, Resulting Numbers: [42, 30] Generated Node #0,1,3: 45:[42, 30] Operation: 60/2=30 Moving to Node #0,1,3 Current State: 45:[42, 30], Operations: ['87-27=60', '60/2=30'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[42, 30], Operations: ['87-27=60', '60/2=30'] Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,45 unequal: No Solution Moving to Node #0,1 Current State: 45:[42, 2, 60], Operations: ['87-27=60'] Exploring Operation: 42-2=40, Resulting Numbers: [60, 40] Generated Node #0,1,4: 45:[60, 40] Operation: 42-2=40 Moving to Node #0,1,4 Current State: 45:[60, 40], Operations: ['87-27=60', '42-2=40'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,45 unequal: No Solution Moving to Node #0,1 Current State: 45:[42, 2, 60], Operations: ['87-27=60'] Exploring Operation: 2+60=62, Resulting Numbers: [42, 62] Generated Node #0,1,5: 45:[42, 62] Operation: 2+60=62 Moving to Node #0,1,5 Current State: 45:[42, 62], Operations: ['87-27=60', '2+60=62'] Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,45 unequal: No Solution Moving to Node #0,1 Current State: 45:[42, 2, 60], Operations: ['87-27=60'] Exploring Operation: 42/2=21, Resulting Numbers: [60, 21] Generated Node #0,1,6: 45:[60, 21] Operation: 42/2=21 Moving to Node #0,1,6 Current State: 45:[60, 21], Operations: ['87-27=60', '42/2=21'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,45 unequal: No Solution Moving to Node #0,1,6 Current State: 45:[60, 21], Operations: ['87-27=60', '42/2=21'] Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,45 unequal: No Solution Moving to Node #0 Current State: 45:[87, 42, 27, 2], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [87, 2, 15] Generated Node #0,2: 45:[87, 2, 15] Operation: 42-27=15 Moving to Node #0,2 Current State: 45:[87, 2, 15], Operations: ['42-27=15'] Exploring Operation: 87-15=72, Resulting Numbers: [2, 72] Generated Node #0,2,0: 45:[2, 72] Operation: 87-15=72 Moving to Node #0,2,0 Current State: 45:[2, 72], Operations: ['42-27=15', '87-15=72'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[2, 72], Operations: ['42-27=15', '87-15=72'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[2, 72], Operations: ['42-27=15', '87-15=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,45 unequal: No Solution Moving to Node #0,2 Current State: 45:[87, 2, 15], Operations: ['42-27=15'] Exploring Operation: 87-2=85, Resulting Numbers: [15, 85] Generated Node #0,2,1: 45:[15, 85] Operation: 87-2=85 Moving to Node #0,2,1 Current State: 45:[15, 85], Operations: ['42-27=15', '87-2=85'] Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,45 unequal: No Solution Moving to Node #0,2 Current State: 45:[87, 2, 15], Operations: ['42-27=15'] Exploring Operation: 87+2=89, Resulting Numbers: [15, 89] Generated Node #0,2,2: 45:[15, 89] Operation: 87+2=89 Moving to Node #0,2,2 Current State: 45:[15, 89], Operations: ['42-27=15', '87+2=89'] Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,45 unequal: No Solution Moving to Node #0,2 Current State: 45:[87, 2, 15], Operations: ['42-27=15'] Exploring Operation: 2+15=17, Resulting Numbers: [87, 17] Generated Node #0,2,3: 45:[87, 17] Operation: 2+15=17 Moving to Node #0,2,3 Current State: 45:[87, 17], Operations: ['42-27=15', '2+15=17'] Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,45 unequal: No Solution Moving to Node #0,2 Current State: 45:[87, 2, 15], Operations: ['42-27=15'] Exploring Operation: 15-2=13, Resulting Numbers: [87, 13] Generated Node #0,2,4: 45:[87, 13] Operation: 15-2=13 Moving to Node #0,2,4 Current State: 45:[87, 13], Operations: ['42-27=15', '15-2=13'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,45 unequal: No Solution
0
dfs
Current State: 45:[87, 42, 27, 2], Operations: [] Exploring Operation: 27+2=29, Resulting Numbers: [87, 42, 29] Generated Node #2: [87, 42, 29] from Operation: 27+2=29 Current State: 45:[87, 42, 29], Operations: ['27+2=29'] Exploring Operation: 87/29=3, Resulting Numbers: [42, 3] Generated Node #3: [42, 3] from Operation: 87/29=3 Current State: 45:[42, 3], Operations: ['27+2=29', '87/29=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
mult_heuristic
[ { "content": "Make 45 with the numbers [87, 42, 27, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 45:[87, 42, 27, 2], Operations: []\nExploring Operation: 87-42=45, Resulting Numbers: [27, 2, 45]\nGenerated Node #0,0: 45:[27, 2, 45] Operation: 87-42=45\nMoving to Node #0,0\nCurrent State: 45:[27, 2, 45], Operations: ['87-42=45']\nExploring Operation: 45-27=18, Resulting Numbers: [2, 18]\nGenerated Node #0,0,0: 45:[2, 18] Operation: 45-27=18\nMoving to Node #0,0,0\nCurrent State: 45:[2, 18], Operations: ['87-42=45', '45-27=18']\nExploring Operation: 18/2=9, Resulting Numbers: [9]\n9,45 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 45:[2, 18], Operations: ['87-42=45', '45-27=18']\nExploring Operation: 18-2=16, Resulting Numbers: [16]\n16,45 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 45:[2, 18], Operations: ['87-42=45', '45-27=18']\nExploring Operation: 2+18=20, Resulting Numbers: [20]\n20,45 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 45:[2, 18], Operations: ['87-42=45', '45-27=18']\nExploring Operation: 2*18=36, Resulting Numbers: [36]\n36,45 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 45:[27, 2, 45], Operations: ['87-42=45']\nExploring Operation: 27*2=54, Resulting Numbers: [45, 54]\nGenerated Node #0,0,1: 45:[45, 54] Operation: 27*2=54\nMoving to Node #0,0,1\nCurrent State: 45:[45, 54], Operations: ['87-42=45', '27*2=54']\nExploring Operation: 54-45=9, Resulting Numbers: [9]\n9,45 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 45:[27, 2, 45], Operations: ['87-42=45']\nExploring Operation: 27-2=25, Resulting Numbers: [45, 25]\nGenerated Node #0,0,2: 45:[45, 25] Operation: 27-2=25\nMoving to Node #0,0,2\nCurrent State: 45:[45, 25], Operations: ['87-42=45', '27-2=25']\nExploring Operation: 45-25=20, Resulting Numbers: [20]\n20,45 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 45:[45, 25], Operations: ['87-42=45', '27-2=25']\nExploring Operation: 45+25=70, Resulting Numbers: [70]\n70,45 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 45:[27, 2, 45], Operations: ['87-42=45']\nExploring Operation: 27+2=29, Resulting Numbers: [45, 29]\nGenerated Node #0,0,3: 45:[45, 29] Operation: 27+2=29\nMoving to Node #0,0,3\nCurrent State: 45:[45, 29], Operations: ['87-42=45', '27+2=29']\nExploring Operation: 45-29=16, Resulting Numbers: [16]\n16,45 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 45:[45, 29], Operations: ['87-42=45', '27+2=29']\nExploring Operation: 45+29=74, Resulting Numbers: [74]\n74,45 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 45:[27, 2, 45], Operations: ['87-42=45']\nExploring Operation: 2+45=47, Resulting Numbers: [27, 47]\nGenerated Node #0,0,4: 45:[27, 47] Operation: 2+45=47\nMoving to Node #0,0,4\nCurrent State: 45:[27, 47], Operations: ['87-42=45', '2+45=47']\nExploring Operation: 47-27=20, Resulting Numbers: [20]\n20,45 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 45:[27, 47], Operations: ['87-42=45', '2+45=47']\nExploring Operation: 27+47=74, Resulting Numbers: [74]\n74,45 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 45:[27, 2, 45], Operations: ['87-42=45']\nExploring Operation: 45-2=43, Resulting Numbers: [27, 43]\nGenerated Node #0,0,5: 45:[27, 43] Operation: 45-2=43\nMoving to Node #0,0,5\nCurrent State: 45:[27, 43], Operations: ['87-42=45', '45-2=43']\nExploring Operation: 43-27=16, Resulting Numbers: [16]\n16,45 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 45:[27, 43], Operations: ['87-42=45', '45-2=43']\nExploring Operation: 27+43=70, Resulting Numbers: [70]\n70,45 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 45:[27, 2, 45], Operations: ['87-42=45']\nExploring Operation: 27+45=72, Resulting Numbers: [2, 72]\nGenerated Node #0,0,6: 45:[2, 72] Operation: 27+45=72\nMoving to Node #0,0,6\nCurrent State: 45:[2, 72], Operations: ['87-42=45', '27+45=72']\nExploring Operation: 72/2=36, Resulting Numbers: [36]\n36,45 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 45:[2, 72], Operations: ['87-42=45', '27+45=72']\nExploring Operation: 72-2=70, Resulting Numbers: [70]\n70,45 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 45:[2, 72], Operations: ['87-42=45', '27+45=72']\nExploring Operation: 2+72=74, Resulting Numbers: [74]\n74,45 unequal: No Solution\nMoving to Node #0\nCurrent State: 45:[87, 42, 27, 2], Operations: []\nExploring Operation: 87-27=60, Resulting Numbers: [42, 2, 60]\nGenerated Node #0,1: 45:[42, 2, 60] Operation: 87-27=60\nMoving to Node #0,1\nCurrent State: 45:[42, 2, 60], Operations: ['87-27=60']\nExploring Operation: 60-42=18, Resulting Numbers: [2, 18]\nGenerated Node #0,1,0: 45:[2, 18] Operation: 60-42=18\nMoving to Node #0,1,0\nCurrent State: 45:[2, 18], Operations: ['87-27=60', '60-42=18']\nExploring Operation: 18/2=9, Resulting Numbers: [9]\n9,45 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 45:[2, 18], Operations: ['87-27=60', '60-42=18']\nExploring Operation: 18-2=16, Resulting Numbers: [16]\n16,45 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 45:[2, 18], Operations: ['87-27=60', '60-42=18']\nExploring Operation: 2+18=20, Resulting Numbers: [20]\n20,45 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 45:[2, 18], Operations: ['87-27=60', '60-42=18']\nExploring Operation: 2*18=36, Resulting Numbers: [36]\n36,45 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 45:[42, 2, 60], Operations: ['87-27=60']\nExploring Operation: 42+2=44, Resulting Numbers: [60, 44]\nGenerated Node #0,1,1: 45:[60, 44] Operation: 42+2=44\nMoving to Node #0,1,1\nCurrent State: 45:[60, 44], Operations: ['87-27=60', '42+2=44']\nExploring Operation: 60-44=16, Resulting Numbers: [16]\n16,45 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 45:[42, 2, 60], Operations: ['87-27=60']\nExploring Operation: 60-2=58, Resulting Numbers: [42, 58]\nGenerated Node #0,1,2: 45:[42, 58] Operation: 60-2=58\nMoving to Node #0,1,2\nCurrent State: 45:[42, 58], Operations: ['87-27=60', '60-2=58']\nExploring Operation: 58-42=16, Resulting Numbers: [16]\n16,45 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 45:[42, 2, 60], Operations: ['87-27=60']\nExploring Operation: 60/2=30, Resulting Numbers: [42, 30]\nGenerated Node #0,1,3: 45:[42, 30] Operation: 60/2=30\nMoving to Node #0,1,3\nCurrent State: 45:[42, 30], Operations: ['87-27=60', '60/2=30']\nExploring Operation: 42-30=12, Resulting Numbers: [12]\n12,45 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 45:[42, 30], Operations: ['87-27=60', '60/2=30']\nExploring Operation: 42+30=72, Resulting Numbers: [72]\n72,45 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 45:[42, 2, 60], Operations: ['87-27=60']\nExploring Operation: 42-2=40, Resulting Numbers: [60, 40]\nGenerated Node #0,1,4: 45:[60, 40] Operation: 42-2=40\nMoving to Node #0,1,4\nCurrent State: 45:[60, 40], Operations: ['87-27=60', '42-2=40']\nExploring Operation: 60-40=20, Resulting Numbers: [20]\n20,45 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 45:[42, 2, 60], Operations: ['87-27=60']\nExploring Operation: 2+60=62, Resulting Numbers: [42, 62]\nGenerated Node #0,1,5: 45:[42, 62] Operation: 2+60=62\nMoving to Node #0,1,5\nCurrent State: 45:[42, 62], Operations: ['87-27=60', '2+60=62']\nExploring Operation: 62-42=20, Resulting Numbers: [20]\n20,45 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 45:[42, 2, 60], Operations: ['87-27=60']\nExploring Operation: 42/2=21, Resulting Numbers: [60, 21]\nGenerated Node #0,1,6: 45:[60, 21] Operation: 42/2=21\nMoving to Node #0,1,6\nCurrent State: 45:[60, 21], Operations: ['87-27=60', '42/2=21']\nExploring Operation: 60-21=39, Resulting Numbers: [39]\n39,45 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 45:[60, 21], Operations: ['87-27=60', '42/2=21']\nExploring Operation: 60+21=81, Resulting Numbers: [81]\n81,45 unequal: No Solution\nMoving to Node #0\nCurrent State: 45:[87, 42, 27, 2], Operations: []\nExploring Operation: 42-27=15, Resulting Numbers: [87, 2, 15]\nGenerated Node #0,2: 45:[87, 2, 15] Operation: 42-27=15\nMoving to Node #0,2\nCurrent State: 45:[87, 2, 15], Operations: ['42-27=15']\nExploring Operation: 87-15=72, Resulting Numbers: [2, 72]\nGenerated Node #0,2,0: 45:[2, 72] Operation: 87-15=72\nMoving to Node #0,2,0\nCurrent State: 45:[2, 72], Operations: ['42-27=15', '87-15=72']\nExploring Operation: 72/2=36, Resulting Numbers: [36]\n36,45 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 45:[2, 72], Operations: ['42-27=15', '87-15=72']\nExploring Operation: 72-2=70, Resulting Numbers: [70]\n70,45 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 45:[2, 72], Operations: ['42-27=15', '87-15=72']\nExploring Operation: 2+72=74, Resulting Numbers: [74]\n74,45 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 45:[87, 2, 15], Operations: ['42-27=15']\nExploring Operation: 87-2=85, Resulting Numbers: [15, 85]\nGenerated Node #0,2,1: 45:[15, 85] Operation: 87-2=85\nMoving to Node #0,2,1\nCurrent State: 45:[15, 85], Operations: ['42-27=15', '87-2=85']\nExploring Operation: 85-15=70, Resulting Numbers: [70]\n70,45 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 45:[87, 2, 15], Operations: ['42-27=15']\nExploring Operation: 87+2=89, Resulting Numbers: [15, 89]\nGenerated Node #0,2,2: 45:[15, 89] Operation: 87+2=89\nMoving to Node #0,2,2\nCurrent State: 45:[15, 89], Operations: ['42-27=15', '87+2=89']\nExploring Operation: 89-15=74, Resulting Numbers: [74]\n74,45 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 45:[87, 2, 15], Operations: ['42-27=15']\nExploring Operation: 2+15=17, Resulting Numbers: [87, 17]\nGenerated Node #0,2,3: 45:[87, 17] Operation: 2+15=17\nMoving to Node #0,2,3\nCurrent State: 45:[87, 17], Operations: ['42-27=15', '2+15=17']\nExploring Operation: 87-17=70, Resulting Numbers: [70]\n70,45 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 45:[87, 2, 15], Operations: ['42-27=15']\nExploring Operation: 15-2=13, Resulting Numbers: [87, 13]\nGenerated Node #0,2,4: 45:[87, 13] Operation: 15-2=13\nMoving to Node #0,2,4\nCurrent State: 45:[87, 13], Operations: ['42-27=15', '15-2=13']\nExploring Operation: 87-13=74, Resulting Numbers: [74]\n74,45 unequal: No Solution\n", "role": "assistant" } ]
[ 23, 83, 72, 21 ]
55
[ "23+83=106", "72-21=51", "106-51=55" ]
Current State: 55:[23, 83, 72, 21], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [23, 21, 11] Generated Node #0,0: 55:[23, 21, 11] Operation: 83-72=11 Moving to Node #0,0 Current State: 55:[23, 21, 11], Operations: ['83-72=11'] Exploring Operation: 23-21=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 55:[11, 2] Operation: 23-21=2 Moving to Node #0,0,0 Current State: 55:[11, 2], Operations: ['83-72=11', '23-21=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[11, 2], Operations: ['83-72=11', '23-21=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[11, 2], Operations: ['83-72=11', '23-21=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,0 Current State: 55:[23, 21, 11], Operations: ['83-72=11'] Exploring Operation: 23+21=44, Resulting Numbers: [11, 44] Generated Node #0,0,1: 55:[11, 44] Operation: 23+21=44 Moving to Node #0,0,1 Current State: 55:[11, 44], Operations: ['83-72=11', '23+21=44'] Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.993056
dfs
Current State: 55:[23, 83, 72, 21], Operations: [] Exploring Operation: 23+83=106, Resulting Numbers: [72, 21, 106] Generated Node #2: [72, 21, 106] from Operation: 23+83=106 Current State: 55:[72, 21, 106], Operations: ['23+83=106'] Exploring Operation: 72-21=51, Resulting Numbers: [106, 51] Generated Node #3: [106, 51] from Operation: 72-21=51 Current State: 55:[106, 51], Operations: ['23+83=106', '72-21=51'] Exploring Operation: 106-51=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
mult_heuristic
[ { "content": "Make 55 with the numbers [23, 83, 72, 21] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 55:[23, 83, 72, 21], Operations: []\nExploring Operation: 83-72=11, Resulting Numbers: [23, 21, 11]\nGenerated Node #0,0: 55:[23, 21, 11] Operation: 83-72=11\nMoving to Node #0,0\nCurrent State: 55:[23, 21, 11], Operations: ['83-72=11']\nExploring Operation: 23-21=2, Resulting Numbers: [11, 2]\nGenerated Node #0,0,0: 55:[11, 2] Operation: 23-21=2\nMoving to Node #0,0,0\nCurrent State: 55:[11, 2], Operations: ['83-72=11', '23-21=2']\nExploring Operation: 11+2=13, Resulting Numbers: [13]\n13,55 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 55:[11, 2], Operations: ['83-72=11', '23-21=2']\nExploring Operation: 11-2=9, Resulting Numbers: [9]\n9,55 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 55:[11, 2], Operations: ['83-72=11', '23-21=2']\nExploring Operation: 11*2=22, Resulting Numbers: [22]\n22,55 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 55:[23, 21, 11], Operations: ['83-72=11']\nExploring Operation: 23+21=44, Resulting Numbers: [11, 44]\nGenerated Node #0,0,1: 55:[11, 44] Operation: 23+21=44\nMoving to Node #0,0,1\nCurrent State: 55:[11, 44], Operations: ['83-72=11', '23+21=44']\nExploring Operation: 11+44=55, Resulting Numbers: [55]\n55,55 equal: Goal Reached\n", "role": "assistant" } ]
[ 30, 75, 55, 65 ]
25
[ "65-55=10", "30/10=3", "75/3=25" ]
Current State: 25:[30, 75, 55, 65], Operations: [] Exploring Operation: 65-55=10, Resulting Numbers: [30, 75, 10] Generated Node #0,0: 25:[30, 75, 10] Operation: 65-55=10 Exploring Operation: 75-55=20, Resulting Numbers: [30, 65, 20] Generated Node #0,1: 25:[30, 65, 20] Operation: 75-55=20 Exploring Operation: 75-65=10, Resulting Numbers: [30, 55, 10] Generated Node #0,2: 25:[30, 55, 10] Operation: 75-65=10 Exploring Operation: 75-30=45, Resulting Numbers: [55, 65, 45] Generated Node #0,3: 25:[55, 65, 45] Operation: 75-30=45 Moving to Node #0,1 Current State: 25:[30, 65, 20], Operations: ['75-55=20'] Exploring Operation: 30+20=50, Resulting Numbers: [65, 50] Generated Node #0,1,0: 25:[65, 50] Operation: 30+20=50 Exploring Operation: 65-20=45, Resulting Numbers: [30, 45] Generated Node #0,1,1: 25:[30, 45] Operation: 65-20=45 Exploring Operation: 65-30=35, Resulting Numbers: [20, 35] Generated Node #0,1,2: 25:[20, 35] Operation: 65-30=35 Exploring Operation: 30-20=10, Resulting Numbers: [65, 10] Generated Node #0,1,3: 25:[65, 10] Operation: 30-20=10 Moving to Node #0,2 Current State: 25:[30, 55, 10], Operations: ['75-65=10'] Exploring Operation: 30+10=40, Resulting Numbers: [55, 40] Generated Node #0,2,0: 25:[55, 40] Operation: 30+10=40 Exploring Operation: 30-10=20, Resulting Numbers: [55, 20] Generated Node #0,2,1: 25:[55, 20] Operation: 30-10=20 Exploring Operation: 55-10=45, Resulting Numbers: [30, 45] Generated Node #0,2,2: 25:[30, 45] Operation: 55-10=45 Exploring Operation: 55-30=25, Resulting Numbers: [10, 25] Generated Node #0,2,3: 25:[10, 25] Operation: 55-30=25 Moving to Node #0,0 Current State: 25:[30, 75, 10], Operations: ['65-55=10'] Exploring Operation: 75-30=45, Resulting Numbers: [10, 45] Generated Node #0,0,0: 25:[10, 45] Operation: 75-30=45 Exploring Operation: 30-10=20, Resulting Numbers: [75, 20] Generated Node #0,0,1: 25:[75, 20] Operation: 30-10=20 Exploring Operation: 75-10=65, Resulting Numbers: [30, 65] Generated Node #0,0,2: 25:[30, 65] Operation: 75-10=65 Exploring Operation: 30+10=40, Resulting Numbers: [75, 40] Generated Node #0,0,3: 25:[75, 40] Operation: 30+10=40 Moving to Node #0,3 Current State: 25:[55, 65, 45], Operations: ['75-30=45'] Exploring Operation: 65-55=10, Resulting Numbers: [45, 10] Generated Node #0,3,0: 25:[45, 10] Operation: 65-55=10 Exploring Operation: 55+65=120, Resulting Numbers: [45, 120] Generated Node #0,3,1: 25:[45, 120] Operation: 55+65=120 Exploring Operation: 55-45=10, Resulting Numbers: [65, 10] Generated Node #0,3,2: 25:[65, 10] Operation: 55-45=10 Exploring Operation: 65-45=20, Resulting Numbers: [55, 20] Generated Node #0,3,3: 25:[55, 20] Operation: 65-45=20 Moving to Node #0,1,2 Current State: 25:[20, 35], Operations: ['75-55=20', '65-30=35'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[10, 25], Operations: ['75-65=10', '55-30=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,25 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[30, 45], Operations: ['75-65=10', '55-10=45'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[30, 45], Operations: ['75-55=20', '65-20=45'] Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,25 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,25 unequal: No Solution Moving to Node #0,1,2,0 Current State: 25:[15], Operations: ['75-55=20', '65-30=35', '35-20=15'] Moving to Node #0,2,3,0 Current State: 25:[35], Operations: ['75-65=10', '55-30=25', '10+25=35'] Moving to Node #0,1,1,0 Current State: 25:[15], Operations: ['75-55=20', '65-20=45', '45-30=15'] Moving to Node #0,2,3,0 Current State: 25:[15], Operations: ['75-65=10', '55-30=25', '25-10=15'] Moving to Node #0,2,2,0 Current State: 25:[15], Operations: ['75-65=10', '55-10=45', '45-30=15'] Moving to Node #0,2,1 Current State: 25:[55, 20], Operations: ['75-65=10', '30-10=20'] Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 55*20=1100, Resulting Numbers: [1100] 1100,25 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[55, 20], Operations: ['75-30=45', '65-45=20'] Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 55*20=1100, Resulting Numbers: [1100] 1100,25 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[45, 10], Operations: ['75-30=45', '65-55=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,25 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,25 unequal: No Solution Moving to Node #0,2,1,0 Current State: 25:[35], Operations: ['75-65=10', '30-10=20', '55-20=35'] Moving to Node #0,3,3,0 Current State: 25:[35], Operations: ['75-30=45', '65-45=20', '55-20=35'] Moving to Node #0,3,0,0 Current State: 25:[35], Operations: ['75-30=45', '65-55=10', '45-10=35'] Moving to Node #0,0,0 Current State: 25:[10, 45], Operations: ['65-55=10', '75-30=45'] Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,25 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,25 unequal: No Solution Moving to Node #0,0,0,0 Current State: 25:[35], Operations: ['65-55=10', '75-30=45', '45-10=35'] Moving to Node #0,0,2 Current State: 25:[30, 65], Operations: ['65-55=10', '75-10=65'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,25 unequal: No Solution Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[55, 40], Operations: ['75-65=10', '30+10=40'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,25 unequal: No Solution Exploring Operation: 55*40=2200, Resulting Numbers: [2200] 2200,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[65, 10], Operations: ['75-55=20', '30-20=10'] Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 65*10=650, Resulting Numbers: [650] 650,25 unequal: No Solution Moving to Node #0,0,2,0 Current State: 25:[35], Operations: ['65-55=10', '75-10=65', '65-30=35'] Moving to Node #0,2,0,0 Current State: 25:[15], Operations: ['75-65=10', '30+10=40', '55-40=15'] Moving to Node #0,0,1 Current State: 25:[75, 20], Operations: ['65-55=10', '30-10=20'] Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,25 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[65, 10], Operations: ['75-30=45', '55-45=10'] Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 65*10=650, Resulting Numbers: [650] 650,25 unequal: No Solution Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,25 unequal: No Solution Moving to Node #0,1,2,0 Current State: 25:[55], Operations: ['75-55=20', '65-30=35', '20+35=55'] Moving to Node #0,1,3,0 Current State: 25:[55], Operations: ['75-55=20', '30-20=10', '65-10=55'] Moving to Node #0,3,2,0 Current State: 25:[55], Operations: ['75-30=45', '55-45=10', '65-10=55'] Moving to Node #0,3,0,0 Current State: 25:[55], Operations: ['75-30=45', '65-55=10', '45+10=55'] Moving to Node #0,0,1,0 Current State: 25:[55], Operations: ['65-55=10', '30-10=20', '75-20=55'] Moving to Node #0,0,0,0 Current State: 25:[55], Operations: ['65-55=10', '75-30=45', '10+45=55'] Moving to Node #0,0,3 Current State: 25:[75, 40], Operations: ['65-55=10', '30+10=40'] Exploring Operation: 75+40=115, Resulting Numbers: [115] 115,25 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 75*40=3000, Resulting Numbers: [3000] 3000,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[65, 50], Operations: ['75-55=20', '30+20=50'] Exploring Operation: 65+50=115, Resulting Numbers: [115] 115,25 unequal: No Solution Exploring Operation: 65*50=3250, Resulting Numbers: [3250] 3250,25 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,25 unequal: No Solution Moving to Node #0,0,3,0 Current State: 25:[35], Operations: ['65-55=10', '30+10=40', '75-40=35'] Moving to Node #0,1,0,0 Current State: 25:[15], Operations: ['75-55=20', '30+20=50', '65-50=15'] Moving to Node #0,3,2,0 Current State: 25:[75], Operations: ['75-30=45', '55-45=10', '65+10=75'] Moving to Node #0,1,3,0 Current State: 25:[75], Operations: ['75-55=20', '30-20=10', '65+10=75'] Moving to Node #0,3,3,0 Current State: 25:[75], Operations: ['75-30=45', '65-45=20', '55+20=75'] Moving to Node #0,2,2,0 Current State: 25:[75], Operations: ['75-65=10', '55-10=45', '30+45=75'] Moving to Node #0,2,1,0 Current State: 25:[75], Operations: ['75-65=10', '30-10=20', '55+20=75'] Moving to Node #0,1,1,0 Current State: 25:[75], Operations: ['75-55=20', '65-20=45', '30+45=75'] Moving to Node #0,3,1 Current State: 25:[45, 120], Operations: ['75-30=45', '55+65=120'] Exploring Operation: 120-45=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 45*120=5400, Resulting Numbers: [5400] 5400,25 unequal: No Solution Exploring Operation: 45+120=165, Resulting Numbers: [165] 165,25 unequal: No Solution Moving to Node #0,0,1,0 Current State: 25:[95], Operations: ['65-55=10', '30-10=20', '75+20=95'] Moving to Node #0,2,0,0 Current State: 25:[95], Operations: ['75-65=10', '30+10=40', '55+40=95'] Moving to Node #0,0,2,0 Current State: 25:[95], Operations: ['65-55=10', '75-10=65', '30+65=95'] Moving to Node #0,3,1,0 Current State: 25:[75], Operations: ['75-30=45', '55+65=120', '120-45=75'] Moving to Node #0,1,0,0 Current State: 25:[115], Operations: ['75-55=20', '30+20=50', '65+50=115'] Moving to Node #0,0,3,0 Current State: 25:[115], Operations: ['65-55=10', '30+10=40', '75+40=115'] Moving to Node #0,3,1,0 Current State: 25:[165], Operations: ['75-30=45', '55+65=120', '45+120=165'] Moving to Node #0,2,3,0 Current State: 25:[250], Operations: ['75-65=10', '55-30=25', '10*25=250'] Moving to Node #0,3,0,0 Current State: 25:[450], Operations: ['75-30=45', '65-55=10', '45*10=450'] Moving to Node #0,0,0,0 Current State: 25:[450], Operations: ['65-55=10', '75-30=45', '10*45=450'] Moving to Node #0,3,2,0 Current State: 25:[650], Operations: ['75-30=45', '55-45=10', '65*10=650'] Moving to Node #0,1,3,0 Current State: 25:[650], Operations: ['75-55=20', '30-20=10', '65*10=650'] Moving to Node #0,1,2,0 Current State: 25:[700], Operations: ['75-55=20', '65-30=35', '20*35=700'] Moving to Node #0,2,1,0 Current State: 25:[1100], Operations: ['75-65=10', '30-10=20', '55*20=1100'] Moving to Node #0,3,3,0 Current State: 25:[1100], Operations: ['75-30=45', '65-45=20', '55*20=1100'] Moving to Node #0,1,1,0 Current State: 25:[1350], Operations: ['75-55=20', '65-20=45', '30*45=1350'] Moving to Node #0,2,2,0 Current State: 25:[1350], Operations: ['75-65=10', '55-10=45', '30*45=1350'] Moving to Node #0,0,1,0 Current State: 25:[1500], Operations: ['65-55=10', '30-10=20', '75*20=1500'] Moving to Node #0,0,2,0 Current State: 25:[1950], Operations: ['65-55=10', '75-10=65', '30*65=1950'] Moving to Node #0,2,0,0 Current State: 25:[2200], Operations: ['75-65=10', '30+10=40', '55*40=2200'] Moving to Node #0,0,3,0 Current State: 25:[3000], Operations: ['65-55=10', '30+10=40', '75*40=3000'] Moving to Node #0,1,0,0 Current State: 25:[3250], Operations: ['75-55=20', '30+20=50', '65*50=3250'] Moving to Node #0,3,1,0 Current State: 25:[5400], Operations: ['75-30=45', '55+65=120', '45*120=5400'] No solution found.
0
bfs_4
Current State: 25:[30, 75, 55, 65], Operations: [] Exploring Operation: 65-55=10, Resulting Numbers: [30, 75, 10] Generated Node #2: [30, 75, 10] from Operation: 65-55=10 Current State: 25:[30, 75, 10], Operations: ['65-55=10'] Exploring Operation: 30/10=3, Resulting Numbers: [75, 3] Generated Node #3: [75, 3] from Operation: 30/10=3 Current State: 25:[75, 3], Operations: ['65-55=10', '30/10=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
sum_heuristic
[ { "content": "Make 25 with the numbers [30, 75, 55, 65] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 25:[30, 75, 55, 65], Operations: []\nExploring Operation: 65-55=10, Resulting Numbers: [30, 75, 10]\nGenerated Node #0,0: 25:[30, 75, 10] Operation: 65-55=10\nExploring Operation: 75-55=20, Resulting Numbers: [30, 65, 20]\nGenerated Node #0,1: 25:[30, 65, 20] Operation: 75-55=20\nExploring Operation: 75-65=10, Resulting Numbers: [30, 55, 10]\nGenerated Node #0,2: 25:[30, 55, 10] Operation: 75-65=10\nExploring Operation: 75-30=45, Resulting Numbers: [55, 65, 45]\nGenerated Node #0,3: 25:[55, 65, 45] Operation: 75-30=45\nMoving to Node #0,1\nCurrent State: 25:[30, 65, 20], Operations: ['75-55=20']\nExploring Operation: 30+20=50, Resulting Numbers: [65, 50]\nGenerated Node #0,1,0: 25:[65, 50] Operation: 30+20=50\nExploring Operation: 65-20=45, Resulting Numbers: [30, 45]\nGenerated Node #0,1,1: 25:[30, 45] Operation: 65-20=45\nExploring Operation: 65-30=35, Resulting Numbers: [20, 35]\nGenerated Node #0,1,2: 25:[20, 35] Operation: 65-30=35\nExploring Operation: 30-20=10, Resulting Numbers: [65, 10]\nGenerated Node #0,1,3: 25:[65, 10] Operation: 30-20=10\nMoving to Node #0,2\nCurrent State: 25:[30, 55, 10], Operations: ['75-65=10']\nExploring Operation: 30+10=40, Resulting Numbers: [55, 40]\nGenerated Node #0,2,0: 25:[55, 40] Operation: 30+10=40\nExploring Operation: 30-10=20, Resulting Numbers: [55, 20]\nGenerated Node #0,2,1: 25:[55, 20] Operation: 30-10=20\nExploring Operation: 55-10=45, Resulting Numbers: [30, 45]\nGenerated Node #0,2,2: 25:[30, 45] Operation: 55-10=45\nExploring Operation: 55-30=25, Resulting Numbers: [10, 25]\nGenerated Node #0,2,3: 25:[10, 25] Operation: 55-30=25\nMoving to Node #0,0\nCurrent State: 25:[30, 75, 10], Operations: ['65-55=10']\nExploring Operation: 75-30=45, Resulting Numbers: [10, 45]\nGenerated Node #0,0,0: 25:[10, 45] Operation: 75-30=45\nExploring Operation: 30-10=20, Resulting Numbers: [75, 20]\nGenerated Node #0,0,1: 25:[75, 20] Operation: 30-10=20\nExploring Operation: 75-10=65, Resulting Numbers: [30, 65]\nGenerated Node #0,0,2: 25:[30, 65] Operation: 75-10=65\nExploring Operation: 30+10=40, Resulting Numbers: [75, 40]\nGenerated Node #0,0,3: 25:[75, 40] Operation: 30+10=40\nMoving to Node #0,3\nCurrent State: 25:[55, 65, 45], Operations: ['75-30=45']\nExploring Operation: 65-55=10, Resulting Numbers: [45, 10]\nGenerated Node #0,3,0: 25:[45, 10] Operation: 65-55=10\nExploring Operation: 55+65=120, Resulting Numbers: [45, 120]\nGenerated Node #0,3,1: 25:[45, 120] Operation: 55+65=120\nExploring Operation: 55-45=10, Resulting Numbers: [65, 10]\nGenerated Node #0,3,2: 25:[65, 10] Operation: 55-45=10\nExploring Operation: 65-45=20, Resulting Numbers: [55, 20]\nGenerated Node #0,3,3: 25:[55, 20] Operation: 65-45=20\nMoving to Node #0,1,2\nCurrent State: 25:[20, 35], Operations: ['75-55=20', '65-30=35']\nExploring Operation: 35-20=15, Resulting Numbers: [15]\n15,25 unequal: No Solution\nExploring Operation: 20+35=55, Resulting Numbers: [55]\n55,25 unequal: No Solution\nExploring Operation: 20*35=700, Resulting Numbers: [700]\n700,25 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 25:[10, 25], Operations: ['75-65=10', '55-30=25']\nExploring Operation: 10+25=35, Resulting Numbers: [35]\n35,25 unequal: No Solution\nExploring Operation: 10*25=250, Resulting Numbers: [250]\n250,25 unequal: No Solution\nExploring Operation: 25-10=15, Resulting Numbers: [15]\n15,25 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 25:[30, 45], Operations: ['75-65=10', '55-10=45']\nExploring Operation: 45-30=15, Resulting Numbers: [15]\n15,25 unequal: No Solution\nExploring Operation: 30+45=75, Resulting Numbers: [75]\n75,25 unequal: No Solution\nExploring Operation: 30*45=1350, Resulting Numbers: [1350]\n1350,25 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 25:[30, 45], Operations: ['75-55=20', '65-20=45']\nExploring Operation: 30*45=1350, Resulting Numbers: [1350]\n1350,25 unequal: No Solution\nExploring Operation: 45-30=15, Resulting Numbers: [15]\n15,25 unequal: No Solution\nExploring Operation: 30+45=75, Resulting Numbers: [75]\n75,25 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 25:[15], Operations: ['75-55=20', '65-30=35', '35-20=15']\nMoving to Node #0,2,3,0\nCurrent State: 25:[35], Operations: ['75-65=10', '55-30=25', '10+25=35']\nMoving to Node #0,1,1,0\nCurrent State: 25:[15], Operations: ['75-55=20', '65-20=45', '45-30=15']\nMoving to Node #0,2,3,0\nCurrent State: 25:[15], Operations: ['75-65=10', '55-30=25', '25-10=15']\nMoving to Node #0,2,2,0\nCurrent State: 25:[15], Operations: ['75-65=10', '55-10=45', '45-30=15']\nMoving to Node #0,2,1\nCurrent State: 25:[55, 20], Operations: ['75-65=10', '30-10=20']\nExploring Operation: 55+20=75, Resulting Numbers: [75]\n75,25 unequal: No Solution\nExploring Operation: 55*20=1100, Resulting Numbers: [1100]\n1100,25 unequal: No Solution\nExploring Operation: 55-20=35, Resulting Numbers: [35]\n35,25 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 25:[55, 20], Operations: ['75-30=45', '65-45=20']\nExploring Operation: 55+20=75, Resulting Numbers: [75]\n75,25 unequal: No Solution\nExploring Operation: 55*20=1100, Resulting Numbers: [1100]\n1100,25 unequal: No Solution\nExploring Operation: 55-20=35, Resulting Numbers: [35]\n35,25 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 25:[45, 10], Operations: ['75-30=45', '65-55=10']\nExploring Operation: 45-10=35, Resulting Numbers: [35]\n35,25 unequal: No Solution\nExploring Operation: 45*10=450, Resulting Numbers: [450]\n450,25 unequal: No Solution\nExploring Operation: 45+10=55, Resulting Numbers: [55]\n55,25 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 25:[35], Operations: ['75-65=10', '30-10=20', '55-20=35']\nMoving to Node #0,3,3,0\nCurrent State: 25:[35], Operations: ['75-30=45', '65-45=20', '55-20=35']\nMoving to Node #0,3,0,0\nCurrent State: 25:[35], Operations: ['75-30=45', '65-55=10', '45-10=35']\nMoving to Node #0,0,0\nCurrent State: 25:[10, 45], Operations: ['65-55=10', '75-30=45']\nExploring Operation: 10+45=55, Resulting Numbers: [55]\n55,25 unequal: No Solution\nExploring Operation: 10*45=450, Resulting Numbers: [450]\n450,25 unequal: No Solution\nExploring Operation: 45-10=35, Resulting Numbers: [35]\n35,25 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 25:[35], Operations: ['65-55=10', '75-30=45', '45-10=35']\nMoving to Node #0,0,2\nCurrent State: 25:[30, 65], Operations: ['65-55=10', '75-10=65']\nExploring Operation: 65-30=35, Resulting Numbers: [35]\n35,25 unequal: No Solution\nExploring Operation: 30+65=95, Resulting Numbers: [95]\n95,25 unequal: No Solution\nExploring Operation: 30*65=1950, Resulting Numbers: [1950]\n1950,25 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 25:[55, 40], Operations: ['75-65=10', '30+10=40']\nExploring Operation: 55-40=15, Resulting Numbers: [15]\n15,25 unequal: No Solution\nExploring Operation: 55+40=95, Resulting Numbers: [95]\n95,25 unequal: No Solution\nExploring Operation: 55*40=2200, Resulting Numbers: [2200]\n2200,25 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 25:[65, 10], Operations: ['75-55=20', '30-20=10']\nExploring Operation: 65+10=75, Resulting Numbers: [75]\n75,25 unequal: No Solution\nExploring Operation: 65-10=55, Resulting Numbers: [55]\n55,25 unequal: No Solution\nExploring Operation: 65*10=650, Resulting Numbers: [650]\n650,25 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 25:[35], Operations: ['65-55=10', '75-10=65', '65-30=35']\nMoving to Node #0,2,0,0\nCurrent State: 25:[15], Operations: ['75-65=10', '30+10=40', '55-40=15']\nMoving to Node #0,0,1\nCurrent State: 25:[75, 20], Operations: ['65-55=10', '30-10=20']\nExploring Operation: 75*20=1500, Resulting Numbers: [1500]\n1500,25 unequal: No Solution\nExploring Operation: 75-20=55, Resulting Numbers: [55]\n55,25 unequal: No Solution\nExploring Operation: 75+20=95, Resulting Numbers: [95]\n95,25 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 25:[65, 10], Operations: ['75-30=45', '55-45=10']\nExploring Operation: 65-10=55, Resulting Numbers: [55]\n55,25 unequal: No Solution\nExploring Operation: 65*10=650, Resulting Numbers: [650]\n650,25 unequal: No Solution\nExploring Operation: 65+10=75, Resulting Numbers: [75]\n75,25 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 25:[55], Operations: ['75-55=20', '65-30=35', '20+35=55']\nMoving to Node #0,1,3,0\nCurrent State: 25:[55], Operations: ['75-55=20', '30-20=10', '65-10=55']\nMoving to Node #0,3,2,0\nCurrent State: 25:[55], Operations: ['75-30=45', '55-45=10', '65-10=55']\nMoving to Node #0,3,0,0\nCurrent State: 25:[55], Operations: ['75-30=45', '65-55=10', '45+10=55']\nMoving to Node #0,0,1,0\nCurrent State: 25:[55], Operations: ['65-55=10', '30-10=20', '75-20=55']\nMoving to Node #0,0,0,0\nCurrent State: 25:[55], Operations: ['65-55=10', '75-30=45', '10+45=55']\nMoving to Node #0,0,3\nCurrent State: 25:[75, 40], Operations: ['65-55=10', '30+10=40']\nExploring Operation: 75+40=115, Resulting Numbers: [115]\n115,25 unequal: No Solution\nExploring Operation: 75-40=35, Resulting Numbers: [35]\n35,25 unequal: No Solution\nExploring Operation: 75*40=3000, Resulting Numbers: [3000]\n3000,25 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 25:[65, 50], Operations: ['75-55=20', '30+20=50']\nExploring Operation: 65+50=115, Resulting Numbers: [115]\n115,25 unequal: No Solution\nExploring Operation: 65*50=3250, Resulting Numbers: [3250]\n3250,25 unequal: No Solution\nExploring Operation: 65-50=15, Resulting Numbers: [15]\n15,25 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 25:[35], Operations: ['65-55=10', '30+10=40', '75-40=35']\nMoving to Node #0,1,0,0\nCurrent State: 25:[15], Operations: ['75-55=20', '30+20=50', '65-50=15']\nMoving to Node #0,3,2,0\nCurrent State: 25:[75], Operations: ['75-30=45', '55-45=10', '65+10=75']\nMoving to Node #0,1,3,0\nCurrent State: 25:[75], Operations: ['75-55=20', '30-20=10', '65+10=75']\nMoving to Node #0,3,3,0\nCurrent State: 25:[75], Operations: ['75-30=45', '65-45=20', '55+20=75']\nMoving to Node #0,2,2,0\nCurrent State: 25:[75], Operations: ['75-65=10', '55-10=45', '30+45=75']\nMoving to Node #0,2,1,0\nCurrent State: 25:[75], Operations: ['75-65=10', '30-10=20', '55+20=75']\nMoving to Node #0,1,1,0\nCurrent State: 25:[75], Operations: ['75-55=20', '65-20=45', '30+45=75']\nMoving to Node #0,3,1\nCurrent State: 25:[45, 120], Operations: ['75-30=45', '55+65=120']\nExploring Operation: 120-45=75, Resulting Numbers: [75]\n75,25 unequal: No Solution\nExploring Operation: 45*120=5400, Resulting Numbers: [5400]\n5400,25 unequal: No Solution\nExploring Operation: 45+120=165, Resulting Numbers: [165]\n165,25 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 25:[95], Operations: ['65-55=10', '30-10=20', '75+20=95']\nMoving to Node #0,2,0,0\nCurrent State: 25:[95], Operations: ['75-65=10', '30+10=40', '55+40=95']\nMoving to Node #0,0,2,0\nCurrent State: 25:[95], Operations: ['65-55=10', '75-10=65', '30+65=95']\nMoving to Node #0,3,1,0\nCurrent State: 25:[75], Operations: ['75-30=45', '55+65=120', '120-45=75']\nMoving to Node #0,1,0,0\nCurrent State: 25:[115], Operations: ['75-55=20', '30+20=50', '65+50=115']\nMoving to Node #0,0,3,0\nCurrent State: 25:[115], Operations: ['65-55=10', '30+10=40', '75+40=115']\nMoving to Node #0,3,1,0\nCurrent State: 25:[165], Operations: ['75-30=45', '55+65=120', '45+120=165']\nMoving to Node #0,2,3,0\nCurrent State: 25:[250], Operations: ['75-65=10', '55-30=25', '10*25=250']\nMoving to Node #0,3,0,0\nCurrent State: 25:[450], Operations: ['75-30=45', '65-55=10', '45*10=450']\nMoving to Node #0,0,0,0\nCurrent State: 25:[450], Operations: ['65-55=10', '75-30=45', '10*45=450']\nMoving to Node #0,3,2,0\nCurrent State: 25:[650], Operations: ['75-30=45', '55-45=10', '65*10=650']\nMoving to Node #0,1,3,0\nCurrent State: 25:[650], Operations: ['75-55=20', '30-20=10', '65*10=650']\nMoving to Node #0,1,2,0\nCurrent State: 25:[700], Operations: ['75-55=20', '65-30=35', '20*35=700']\nMoving to Node #0,2,1,0\nCurrent State: 25:[1100], Operations: ['75-65=10', '30-10=20', '55*20=1100']\nMoving to Node #0,3,3,0\nCurrent State: 25:[1100], Operations: ['75-30=45', '65-45=20', '55*20=1100']\nMoving to Node #0,1,1,0\nCurrent State: 25:[1350], Operations: ['75-55=20', '65-20=45', '30*45=1350']\nMoving to Node #0,2,2,0\nCurrent State: 25:[1350], Operations: ['75-65=10', '55-10=45', '30*45=1350']\nMoving to Node #0,0,1,0\nCurrent State: 25:[1500], Operations: ['65-55=10', '30-10=20', '75*20=1500']\nMoving to Node #0,0,2,0\nCurrent State: 25:[1950], Operations: ['65-55=10', '75-10=65', '30*65=1950']\nMoving to Node #0,2,0,0\nCurrent State: 25:[2200], Operations: ['75-65=10', '30+10=40', '55*40=2200']\nMoving to Node #0,0,3,0\nCurrent State: 25:[3000], Operations: ['65-55=10', '30+10=40', '75*40=3000']\nMoving to Node #0,1,0,0\nCurrent State: 25:[3250], Operations: ['75-55=20', '30+20=50', '65*50=3250']\nMoving to Node #0,3,1,0\nCurrent State: 25:[5400], Operations: ['75-30=45', '55+65=120', '45*120=5400']\nNo solution found.", "role": "assistant" } ]
[ 3, 3, 61, 2 ]
31
[ "3/3=1", "61+1=62", "62/2=31" ]
Current State: 31:[3, 3, 61, 2], Operations: []
0
dfs
Current State: 31:[3, 3, 61, 2], Operations: [] Exploring Operation: 3/3=1, Resulting Numbers: [61, 2, 1] Generated Node #2: [61, 2, 1] from Operation: 3/3=1 Current State: 31:[61, 2, 1], Operations: ['3/3=1'] Exploring Operation: 61+1=62, Resulting Numbers: [2, 62] Generated Node #3: [2, 62] from Operation: 61+1=62 Current State: 31:[2, 62], Operations: ['3/3=1', '61+1=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
mult_heuristic
[ { "content": "Make 31 with the numbers [3, 3, 61, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 31:[3, 3, 61, 2], Operations: []\n", "role": "assistant" } ]
[ 94, 85, 10, 98 ]
98
[ "94-85=9", "10-9=1", "98*1=98" ]
Current State: 98:[94, 85, 10, 98], Operations: [] Exploring Operation: 85+10=95, Resulting Numbers: [94, 98, 95] Generated Node #0,0: 98:[94, 98, 95] Operation: 85+10=95 Exploring Operation: 94+10=104, Resulting Numbers: [85, 98, 104] Generated Node #0,1: 98:[85, 98, 104] Operation: 94+10=104 Moving to Node #0,0 Current State: 98:[94, 98, 95], Operations: ['85+10=95'] Exploring Operation: 94+95=189, Resulting Numbers: [98, 189] Generated Node #0,0,0: 98:[98, 189] Operation: 94+95=189 Exploring Operation: 94+98=192, Resulting Numbers: [95, 192] Generated Node #0,0,1: 98:[95, 192] Operation: 94+98=192 Moving to Node #0,1 Current State: 98:[85, 98, 104], Operations: ['94+10=104'] Exploring Operation: 104-85=19, Resulting Numbers: [98, 19] Generated Node #0,1,0: 98:[98, 19] Operation: 104-85=19 Exploring Operation: 85+98=183, Resulting Numbers: [104, 183] Generated Node #0,1,1: 98:[104, 183] Operation: 85+98=183 Moving to Node #0,1,0 Current State: 98:[98, 19], Operations: ['94+10=104', '104-85=19'] Exploring Operation: 98+19=117, Resulting Numbers: [117] 117,98 unequal: No Solution Exploring Operation: 98-19=79, Resulting Numbers: [79] 79,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[98, 189], Operations: ['85+10=95', '94+95=189'] Exploring Operation: 98+189=287, Resulting Numbers: [287] 287,98 unequal: No Solution Exploring Operation: 189-98=91, Resulting Numbers: [91] 91,98 unequal: No Solution Moving to Node #0,0,0,0 Current State: 98:[91], Operations: ['85+10=95', '94+95=189', '189-98=91'] Moving to Node #0,1,0,0 Current State: 98:[117], Operations: ['94+10=104', '104-85=19', '98+19=117'] Moving to Node #0,1,0,0 Current State: 98:[79], Operations: ['94+10=104', '104-85=19', '98-19=79'] Moving to Node #0,1,1 Current State: 98:[104, 183], Operations: ['94+10=104', '85+98=183'] Exploring Operation: 104+183=287, Resulting Numbers: [287] 287,98 unequal: No Solution Exploring Operation: 183-104=79, Resulting Numbers: [79] 79,98 unequal: No Solution Moving to Node #0,1,1,0 Current State: 98:[79], Operations: ['94+10=104', '85+98=183', '183-104=79'] Moving to Node #0,0,1 Current State: 98:[95, 192], Operations: ['85+10=95', '94+98=192'] Exploring Operation: 95+192=287, Resulting Numbers: [287] 287,98 unequal: No Solution Exploring Operation: 192-95=97, Resulting Numbers: [97] 97,98 unequal: No Solution Moving to Node #0,0,1,0 Current State: 98:[97], Operations: ['85+10=95', '94+98=192', '192-95=97'] Moving to Node #0,0,0,0 Current State: 98:[287], Operations: ['85+10=95', '94+95=189', '98+189=287'] Moving to Node #0,1,1,0 Current State: 98:[287], Operations: ['94+10=104', '85+98=183', '104+183=287'] Moving to Node #0,0,1,0 Current State: 98:[287], Operations: ['85+10=95', '94+98=192', '95+192=287'] No solution found.
0
bfs_2
Current State: 98:[94, 85, 10, 98], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [10, 98, 9] Generated Node #2: [10, 98, 9] from Operation: 94-85=9 Current State: 98:[10, 98, 9], Operations: ['94-85=9'] Exploring Operation: 10-9=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 10-9=1 Current State: 98:[98, 1], Operations: ['94-85=9', '10-9=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
sum_heuristic
[ { "content": "Make 98 with the numbers [94, 85, 10, 98] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 98:[94, 85, 10, 98], Operations: []\nExploring Operation: 85+10=95, Resulting Numbers: [94, 98, 95]\nGenerated Node #0,0: 98:[94, 98, 95] Operation: 85+10=95\nExploring Operation: 94+10=104, Resulting Numbers: [85, 98, 104]\nGenerated Node #0,1: 98:[85, 98, 104] Operation: 94+10=104\nMoving to Node #0,0\nCurrent State: 98:[94, 98, 95], Operations: ['85+10=95']\nExploring Operation: 94+95=189, Resulting Numbers: [98, 189]\nGenerated Node #0,0,0: 98:[98, 189] Operation: 94+95=189\nExploring Operation: 94+98=192, Resulting Numbers: [95, 192]\nGenerated Node #0,0,1: 98:[95, 192] Operation: 94+98=192\nMoving to Node #0,1\nCurrent State: 98:[85, 98, 104], Operations: ['94+10=104']\nExploring Operation: 104-85=19, Resulting Numbers: [98, 19]\nGenerated Node #0,1,0: 98:[98, 19] Operation: 104-85=19\nExploring Operation: 85+98=183, Resulting Numbers: [104, 183]\nGenerated Node #0,1,1: 98:[104, 183] Operation: 85+98=183\nMoving to Node #0,1,0\nCurrent State: 98:[98, 19], Operations: ['94+10=104', '104-85=19']\nExploring Operation: 98+19=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nExploring Operation: 98-19=79, Resulting Numbers: [79]\n79,98 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 98:[98, 189], Operations: ['85+10=95', '94+95=189']\nExploring Operation: 98+189=287, Resulting Numbers: [287]\n287,98 unequal: No Solution\nExploring Operation: 189-98=91, Resulting Numbers: [91]\n91,98 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 98:[91], Operations: ['85+10=95', '94+95=189', '189-98=91']\nMoving to Node #0,1,0,0\nCurrent State: 98:[117], Operations: ['94+10=104', '104-85=19', '98+19=117']\nMoving to Node #0,1,0,0\nCurrent State: 98:[79], Operations: ['94+10=104', '104-85=19', '98-19=79']\nMoving to Node #0,1,1\nCurrent State: 98:[104, 183], Operations: ['94+10=104', '85+98=183']\nExploring Operation: 104+183=287, Resulting Numbers: [287]\n287,98 unequal: No Solution\nExploring Operation: 183-104=79, Resulting Numbers: [79]\n79,98 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 98:[79], Operations: ['94+10=104', '85+98=183', '183-104=79']\nMoving to Node #0,0,1\nCurrent State: 98:[95, 192], Operations: ['85+10=95', '94+98=192']\nExploring Operation: 95+192=287, Resulting Numbers: [287]\n287,98 unequal: No Solution\nExploring Operation: 192-95=97, Resulting Numbers: [97]\n97,98 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 98:[97], Operations: ['85+10=95', '94+98=192', '192-95=97']\nMoving to Node #0,0,0,0\nCurrent State: 98:[287], Operations: ['85+10=95', '94+95=189', '98+189=287']\nMoving to Node #0,1,1,0\nCurrent State: 98:[287], Operations: ['94+10=104', '85+98=183', '104+183=287']\nMoving to Node #0,0,1,0\nCurrent State: 98:[287], Operations: ['85+10=95', '94+98=192', '95+192=287']\nNo solution found.", "role": "assistant" } ]
[ 30, 46, 59, 71 ]
64
[ "30+46=76", "71-59=12", "76-12=64" ]
Current State: 64:[30, 46, 59, 71], Operations: [] Exploring Operation: 30+46=76, Resulting Numbers: [59, 71, 76] Generated Node #0,0: 64:[59, 71, 76] Operation: 30+46=76 Moving to Node #0,0 Current State: 64:[59, 71, 76], Operations: ['30+46=76'] Exploring Operation: 76-59=17, Resulting Numbers: [71, 17] Generated Node #0,0,0: 64:[71, 17] Operation: 76-59=17 Moving to Node #0,0,0 Current State: 64:[71, 17], Operations: ['30+46=76', '76-59=17'] Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[71, 17], Operations: ['30+46=76', '76-59=17'] Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[59, 71, 76], Operations: ['30+46=76'] Exploring Operation: 71-59=12, Resulting Numbers: [76, 12] Generated Node #0,0,1: 64:[76, 12] Operation: 71-59=12 Moving to Node #0,0,1 Current State: 64:[76, 12], Operations: ['30+46=76', '71-59=12'] Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.993924
dfs
Current State: 64:[30, 46, 59, 71], Operations: [] Exploring Operation: 30+46=76, Resulting Numbers: [59, 71, 76] Generated Node #2: [59, 71, 76] from Operation: 30+46=76 Current State: 64:[59, 71, 76], Operations: ['30+46=76'] Exploring Operation: 71-59=12, Resulting Numbers: [76, 12] Generated Node #3: [76, 12] from Operation: 71-59=12 Current State: 64:[76, 12], Operations: ['30+46=76', '71-59=12'] Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
sum_heuristic
[ { "content": "Make 64 with the numbers [30, 46, 59, 71] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 64:[30, 46, 59, 71], Operations: []\nExploring Operation: 30+46=76, Resulting Numbers: [59, 71, 76]\nGenerated Node #0,0: 64:[59, 71, 76] Operation: 30+46=76\nMoving to Node #0,0\nCurrent State: 64:[59, 71, 76], Operations: ['30+46=76']\nExploring Operation: 76-59=17, Resulting Numbers: [71, 17]\nGenerated Node #0,0,0: 64:[71, 17] Operation: 76-59=17\nMoving to Node #0,0,0\nCurrent State: 64:[71, 17], Operations: ['30+46=76', '76-59=17']\nExploring Operation: 71-17=54, Resulting Numbers: [54]\n54,64 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 64:[71, 17], Operations: ['30+46=76', '76-59=17']\nExploring Operation: 71+17=88, Resulting Numbers: [88]\n88,64 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 64:[59, 71, 76], Operations: ['30+46=76']\nExploring Operation: 71-59=12, Resulting Numbers: [76, 12]\nGenerated Node #0,0,1: 64:[76, 12] Operation: 71-59=12\nMoving to Node #0,0,1\nCurrent State: 64:[76, 12], Operations: ['30+46=76', '71-59=12']\nExploring Operation: 76-12=64, Resulting Numbers: [64]\n64,64 equal: Goal Reached\n", "role": "assistant" } ]
[ 19, 8, 10, 69 ]
69
[ "19-8=11", "11-10=1", "69*1=69" ]
Current State: 69:[19, 8, 10, 69], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [19, 69, 2] Generated Node #0,0: 69:[19, 69, 2] Operation: 10-8=2 Moving to Node #0,0 Current State: 69:[19, 69, 2], Operations: ['10-8=2'] Exploring Operation: 19+2=21, Resulting Numbers: [69, 21] Generated Node #0,0,0: 69:[69, 21] Operation: 19+2=21 Moving to Node #0,0,0 Current State: 69:[69, 21], Operations: ['10-8=2', '19+2=21'] Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[69, 21], Operations: ['10-8=2', '19+2=21'] Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[19, 69, 2], Operations: ['10-8=2'] Exploring Operation: 19-2=17, Resulting Numbers: [69, 17] Generated Node #0,0,1: 69:[69, 17] Operation: 19-2=17 Moving to Node #0,0,1 Current State: 69:[69, 17], Operations: ['10-8=2', '19-2=17'] Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[69, 17], Operations: ['10-8=2', '19-2=17'] Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[19, 69, 2], Operations: ['10-8=2'] Exploring Operation: 69+2=71, Resulting Numbers: [19, 71] Generated Node #0,0,2: 69:[19, 71] Operation: 69+2=71 Moving to Node #0,0,2 Current State: 69:[19, 71], Operations: ['10-8=2', '69+2=71'] Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[19, 71], Operations: ['10-8=2', '69+2=71'] Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[19, 69, 2], Operations: ['10-8=2'] Exploring Operation: 69-2=67, Resulting Numbers: [19, 67] Generated Node #0,0,3: 69:[19, 67] Operation: 69-2=67 Moving to Node #0,0,3 Current State: 69:[19, 67], Operations: ['10-8=2', '69-2=67'] Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[19, 67], Operations: ['10-8=2', '69-2=67'] Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[19, 69, 2], Operations: ['10-8=2'] Exploring Operation: 19*2=38, Resulting Numbers: [69, 38] Generated Node #0,0,4: 69:[69, 38] Operation: 19*2=38 Moving to Node #0,0,4 Current State: 69:[69, 38], Operations: ['10-8=2', '19*2=38'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[69, 38], Operations: ['10-8=2', '19*2=38'] Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[19, 69, 2], Operations: ['10-8=2'] Exploring Operation: 19+69=88, Resulting Numbers: [2, 88] Generated Node #0,0,5: 69:[2, 88] Operation: 19+69=88 Moving to Node #0,0,5 Current State: 69:[2, 88], Operations: ['10-8=2', '19+69=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,0,5 Current State: 69:[2, 88], Operations: ['10-8=2', '19+69=88'] Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,69 unequal: No Solution Moving to Node #0,0,5 Current State: 69:[2, 88], Operations: ['10-8=2', '19+69=88'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[19, 69, 2], Operations: ['10-8=2'] Exploring Operation: 69-19=50, Resulting Numbers: [2, 50] Generated Node #0,0,6: 69:[2, 50] Operation: 69-19=50 Moving to Node #0,0,6 Current State: 69:[2, 50], Operations: ['10-8=2', '69-19=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,69 unequal: No Solution Moving to Node #0,0,6 Current State: 69:[2, 50], Operations: ['10-8=2', '69-19=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,69 unequal: No Solution Moving to Node #0,0,6 Current State: 69:[2, 50], Operations: ['10-8=2', '69-19=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,69 unequal: No Solution Moving to Node #0,0,6 Current State: 69:[2, 50], Operations: ['10-8=2', '69-19=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,69 unequal: No Solution Moving to Node #0 Current State: 69:[19, 8, 10, 69], Operations: [] Exploring Operation: 8+10=18, Resulting Numbers: [19, 69, 18] Generated Node #0,1: 69:[19, 69, 18] Operation: 8+10=18 Moving to Node #0,1 Current State: 69:[19, 69, 18], Operations: ['8+10=18'] Exploring Operation: 19-18=1, Resulting Numbers: [69, 1] Generated Node #0,1,0: 69:[69, 1] Operation: 19-18=1 Moving to Node #0,1,0 Current State: 69:[69, 1], Operations: ['8+10=18', '19-18=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.974826
dfs
Current State: 69:[19, 8, 10, 69], Operations: [] Exploring Operation: 19-8=11, Resulting Numbers: [10, 69, 11] Generated Node #2: [10, 69, 11] from Operation: 19-8=11 Current State: 69:[10, 69, 11], Operations: ['19-8=11'] Exploring Operation: 11-10=1, Resulting Numbers: [69, 1] Generated Node #3: [69, 1] from Operation: 11-10=1 Current State: 69:[69, 1], Operations: ['19-8=11', '11-10=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
mult_heuristic
[ { "content": "Make 69 with the numbers [19, 8, 10, 69] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 69:[19, 8, 10, 69], Operations: []\nExploring Operation: 10-8=2, Resulting Numbers: [19, 69, 2]\nGenerated Node #0,0: 69:[19, 69, 2] Operation: 10-8=2\nMoving to Node #0,0\nCurrent State: 69:[19, 69, 2], Operations: ['10-8=2']\nExploring Operation: 19+2=21, Resulting Numbers: [69, 21]\nGenerated Node #0,0,0: 69:[69, 21] Operation: 19+2=21\nMoving to Node #0,0,0\nCurrent State: 69:[69, 21], Operations: ['10-8=2', '19+2=21']\nExploring Operation: 69+21=90, Resulting Numbers: [90]\n90,69 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 69:[69, 21], Operations: ['10-8=2', '19+2=21']\nExploring Operation: 69-21=48, Resulting Numbers: [48]\n48,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[19, 69, 2], Operations: ['10-8=2']\nExploring Operation: 19-2=17, Resulting Numbers: [69, 17]\nGenerated Node #0,0,1: 69:[69, 17] Operation: 19-2=17\nMoving to Node #0,0,1\nCurrent State: 69:[69, 17], Operations: ['10-8=2', '19-2=17']\nExploring Operation: 69+17=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 69:[69, 17], Operations: ['10-8=2', '19-2=17']\nExploring Operation: 69-17=52, Resulting Numbers: [52]\n52,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[19, 69, 2], Operations: ['10-8=2']\nExploring Operation: 69+2=71, Resulting Numbers: [19, 71]\nGenerated Node #0,0,2: 69:[19, 71] Operation: 69+2=71\nMoving to Node #0,0,2\nCurrent State: 69:[19, 71], Operations: ['10-8=2', '69+2=71']\nExploring Operation: 71-19=52, Resulting Numbers: [52]\n52,69 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 69:[19, 71], Operations: ['10-8=2', '69+2=71']\nExploring Operation: 19+71=90, Resulting Numbers: [90]\n90,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[19, 69, 2], Operations: ['10-8=2']\nExploring Operation: 69-2=67, Resulting Numbers: [19, 67]\nGenerated Node #0,0,3: 69:[19, 67] Operation: 69-2=67\nMoving to Node #0,0,3\nCurrent State: 69:[19, 67], Operations: ['10-8=2', '69-2=67']\nExploring Operation: 19+67=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 69:[19, 67], Operations: ['10-8=2', '69-2=67']\nExploring Operation: 67-19=48, Resulting Numbers: [48]\n48,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[19, 69, 2], Operations: ['10-8=2']\nExploring Operation: 19*2=38, Resulting Numbers: [69, 38]\nGenerated Node #0,0,4: 69:[69, 38] Operation: 19*2=38\nMoving to Node #0,0,4\nCurrent State: 69:[69, 38], Operations: ['10-8=2', '19*2=38']\nExploring Operation: 69-38=31, Resulting Numbers: [31]\n31,69 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 69:[69, 38], Operations: ['10-8=2', '19*2=38']\nExploring Operation: 69+38=107, Resulting Numbers: [107]\n107,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[19, 69, 2], Operations: ['10-8=2']\nExploring Operation: 19+69=88, Resulting Numbers: [2, 88]\nGenerated Node #0,0,5: 69:[2, 88] Operation: 19+69=88\nMoving to Node #0,0,5\nCurrent State: 69:[2, 88], Operations: ['10-8=2', '19+69=88']\nExploring Operation: 88-2=86, Resulting Numbers: [86]\n86,69 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 69:[2, 88], Operations: ['10-8=2', '19+69=88']\nExploring Operation: 2+88=90, Resulting Numbers: [90]\n90,69 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 69:[2, 88], Operations: ['10-8=2', '19+69=88']\nExploring Operation: 88/2=44, Resulting Numbers: [44]\n44,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[19, 69, 2], Operations: ['10-8=2']\nExploring Operation: 69-19=50, Resulting Numbers: [2, 50]\nGenerated Node #0,0,6: 69:[2, 50] Operation: 69-19=50\nMoving to Node #0,0,6\nCurrent State: 69:[2, 50], Operations: ['10-8=2', '69-19=50']\nExploring Operation: 50/2=25, Resulting Numbers: [25]\n25,69 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 69:[2, 50], Operations: ['10-8=2', '69-19=50']\nExploring Operation: 2+50=52, Resulting Numbers: [52]\n52,69 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 69:[2, 50], Operations: ['10-8=2', '69-19=50']\nExploring Operation: 50-2=48, Resulting Numbers: [48]\n48,69 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 69:[2, 50], Operations: ['10-8=2', '69-19=50']\nExploring Operation: 2*50=100, Resulting Numbers: [100]\n100,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[19, 8, 10, 69], Operations: []\nExploring Operation: 8+10=18, Resulting Numbers: [19, 69, 18]\nGenerated Node #0,1: 69:[19, 69, 18] Operation: 8+10=18\nMoving to Node #0,1\nCurrent State: 69:[19, 69, 18], Operations: ['8+10=18']\nExploring Operation: 19-18=1, Resulting Numbers: [69, 1]\nGenerated Node #0,1,0: 69:[69, 1] Operation: 19-18=1\nMoving to Node #0,1,0\nCurrent State: 69:[69, 1], Operations: ['8+10=18', '19-18=1']\nExploring Operation: 69*1=69, Resulting Numbers: [69]\n69,69 equal: Goal Reached\n", "role": "assistant" } ]
[ 65, 55, 14, 90 ]
15
[ "65+55=120", "90+120=210", "210/14=15" ]
Current State: 15:[65, 55, 14, 90], Operations: []
0
dfs
Current State: 15:[65, 55, 14, 90], Operations: [] Exploring Operation: 65+55=120, Resulting Numbers: [14, 90, 120] Generated Node #2: [14, 90, 120] from Operation: 65+55=120 Current State: 15:[14, 90, 120], Operations: ['65+55=120'] Exploring Operation: 90+120=210, Resulting Numbers: [14, 210] Generated Node #3: [14, 210] from Operation: 90+120=210 Current State: 15:[14, 210], Operations: ['65+55=120', '90+120=210'] Exploring Operation: 210/14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
sum_heuristic
[ { "content": "Make 15 with the numbers [65, 55, 14, 90] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 15:[65, 55, 14, 90], Operations: []\n", "role": "assistant" } ]
[ 51, 47, 23, 7 ]
61
[ "47+23=70", "70/7=10", "51+10=61" ]
Current State: 61:[51, 47, 23, 7], Operations: [] Exploring Operation: 47+7=54, Resulting Numbers: [51, 23, 54] Generated Node #0,0: 61:[51, 23, 54] Operation: 47+7=54 Exploring Operation: 51+7=58, Resulting Numbers: [47, 23, 58] Generated Node #0,1: 61:[47, 23, 58] Operation: 51+7=58 Moving to Node #0,0 Current State: 61:[51, 23, 54], Operations: ['47+7=54'] Exploring Operation: 51+23=74, Resulting Numbers: [54, 74] Generated Node #0,0,0: 61:[54, 74] Operation: 51+23=74 Exploring Operation: 23+54=77, Resulting Numbers: [51, 77] Generated Node #0,0,1: 61:[51, 77] Operation: 23+54=77 Moving to Node #0,1 Current State: 61:[47, 23, 58], Operations: ['51+7=58'] Exploring Operation: 23+58=81, Resulting Numbers: [47, 81] Generated Node #0,1,0: 61:[47, 81] Operation: 23+58=81 Exploring Operation: 47+23=70, Resulting Numbers: [58, 70] Generated Node #0,1,1: 61:[58, 70] Operation: 47+23=70 Moving to Node #0,1,1 Current State: 61:[58, 70], Operations: ['51+7=58', '47+23=70'] Exploring Operation: 58+70=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[54, 74], Operations: ['47+7=54', '51+23=74'] Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[51, 77], Operations: ['47+7=54', '23+54=77'] Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,61 unequal: No Solution Exploring Operation: 51+77=128, Resulting Numbers: [128] 128,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[47, 81], Operations: ['51+7=58', '23+58=81'] Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 47+81=128, Resulting Numbers: [128] 128,61 unequal: No Solution Moving to Node #0,1,0,0 Current State: 61:[34], Operations: ['51+7=58', '23+58=81', '81-47=34'] Moving to Node #0,0,1,0 Current State: 61:[26], Operations: ['47+7=54', '23+54=77', '77-51=26'] Moving to Node #0,0,0,0 Current State: 61:[20], Operations: ['47+7=54', '51+23=74', '74-54=20'] Moving to Node #0,1,1,0 Current State: 61:[12], Operations: ['51+7=58', '47+23=70', '70-58=12'] Moving to Node #0,0,1,0 Current State: 61:[128], Operations: ['47+7=54', '23+54=77', '51+77=128'] Moving to Node #0,1,0,0 Current State: 61:[128], Operations: ['51+7=58', '23+58=81', '47+81=128'] Moving to Node #0,1,1,0 Current State: 61:[128], Operations: ['51+7=58', '47+23=70', '58+70=128'] Moving to Node #0,0,0,0 Current State: 61:[128], Operations: ['47+7=54', '51+23=74', '54+74=128'] No solution found.
0
bfs_2
Current State: 61:[51, 47, 23, 7], Operations: [] Exploring Operation: 47+23=70, Resulting Numbers: [51, 7, 70] Generated Node #2: [51, 7, 70] from Operation: 47+23=70 Current State: 61:[51, 7, 70], Operations: ['47+23=70'] Exploring Operation: 70/7=10, Resulting Numbers: [51, 10] Generated Node #3: [51, 10] from Operation: 70/7=10 Current State: 61:[51, 10], Operations: ['47+23=70', '70/7=10'] Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
mult_heuristic
[ { "content": "Make 61 with the numbers [51, 47, 23, 7] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 61:[51, 47, 23, 7], Operations: []\nExploring Operation: 47+7=54, Resulting Numbers: [51, 23, 54]\nGenerated Node #0,0: 61:[51, 23, 54] Operation: 47+7=54\nExploring Operation: 51+7=58, Resulting Numbers: [47, 23, 58]\nGenerated Node #0,1: 61:[47, 23, 58] Operation: 51+7=58\nMoving to Node #0,0\nCurrent State: 61:[51, 23, 54], Operations: ['47+7=54']\nExploring Operation: 51+23=74, Resulting Numbers: [54, 74]\nGenerated Node #0,0,0: 61:[54, 74] Operation: 51+23=74\nExploring Operation: 23+54=77, Resulting Numbers: [51, 77]\nGenerated Node #0,0,1: 61:[51, 77] Operation: 23+54=77\nMoving to Node #0,1\nCurrent State: 61:[47, 23, 58], Operations: ['51+7=58']\nExploring Operation: 23+58=81, Resulting Numbers: [47, 81]\nGenerated Node #0,1,0: 61:[47, 81] Operation: 23+58=81\nExploring Operation: 47+23=70, Resulting Numbers: [58, 70]\nGenerated Node #0,1,1: 61:[58, 70] Operation: 47+23=70\nMoving to Node #0,1,1\nCurrent State: 61:[58, 70], Operations: ['51+7=58', '47+23=70']\nExploring Operation: 58+70=128, Resulting Numbers: [128]\n128,61 unequal: No Solution\nExploring Operation: 70-58=12, Resulting Numbers: [12]\n12,61 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 61:[54, 74], Operations: ['47+7=54', '51+23=74']\nExploring Operation: 54+74=128, Resulting Numbers: [128]\n128,61 unequal: No Solution\nExploring Operation: 74-54=20, Resulting Numbers: [20]\n20,61 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 61:[51, 77], Operations: ['47+7=54', '23+54=77']\nExploring Operation: 77-51=26, Resulting Numbers: [26]\n26,61 unequal: No Solution\nExploring Operation: 51+77=128, Resulting Numbers: [128]\n128,61 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 61:[47, 81], Operations: ['51+7=58', '23+58=81']\nExploring Operation: 81-47=34, Resulting Numbers: [34]\n34,61 unequal: No Solution\nExploring Operation: 47+81=128, Resulting Numbers: [128]\n128,61 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 61:[34], Operations: ['51+7=58', '23+58=81', '81-47=34']\nMoving to Node #0,0,1,0\nCurrent State: 61:[26], Operations: ['47+7=54', '23+54=77', '77-51=26']\nMoving to Node #0,0,0,0\nCurrent State: 61:[20], Operations: ['47+7=54', '51+23=74', '74-54=20']\nMoving to Node #0,1,1,0\nCurrent State: 61:[12], Operations: ['51+7=58', '47+23=70', '70-58=12']\nMoving to Node #0,0,1,0\nCurrent State: 61:[128], Operations: ['47+7=54', '23+54=77', '51+77=128']\nMoving to Node #0,1,0,0\nCurrent State: 61:[128], Operations: ['51+7=58', '23+58=81', '47+81=128']\nMoving to Node #0,1,1,0\nCurrent State: 61:[128], Operations: ['51+7=58', '47+23=70', '58+70=128']\nMoving to Node #0,0,0,0\nCurrent State: 61:[128], Operations: ['47+7=54', '51+23=74', '54+74=128']\nNo solution found.", "role": "assistant" } ]
[ 49, 10, 61, 29 ]
19
[ "49*10=490", "61+490=551", "551/29=19" ]
Current State: 19:[49, 10, 61, 29], Operations: [] Exploring Operation: 49-29=20, Resulting Numbers: [10, 61, 20] Generated Node #0,0: 19:[10, 61, 20] Operation: 49-29=20 Exploring Operation: 61-29=32, Resulting Numbers: [49, 10, 32] Generated Node #0,1: 19:[49, 10, 32] Operation: 61-29=32 Exploring Operation: 61-49=12, Resulting Numbers: [10, 29, 12] Generated Node #0,2: 19:[10, 29, 12] Operation: 61-49=12 Moving to Node #0,2 Current State: 19:[10, 29, 12], Operations: ['61-49=12'] Exploring Operation: 29-12=17, Resulting Numbers: [10, 17] Generated Node #0,2,0: 19:[10, 17] Operation: 29-12=17 Exploring Operation: 10+12=22, Resulting Numbers: [29, 22] Generated Node #0,2,1: 19:[29, 22] Operation: 10+12=22 Exploring Operation: 29-10=19, Resulting Numbers: [12, 19] Generated Node #0,2,2: 19:[12, 19] Operation: 29-10=19 Moving to Node #0,0 Current State: 19:[10, 61, 20], Operations: ['49-29=20'] Exploring Operation: 61-20=41, Resulting Numbers: [10, 41] Generated Node #0,0,0: 19:[10, 41] Operation: 61-20=41 Exploring Operation: 61-10=51, Resulting Numbers: [20, 51] Generated Node #0,0,1: 19:[20, 51] Operation: 61-10=51 Exploring Operation: 20-10=10, Resulting Numbers: [61, 10] Generated Node #0,0,2: 19:[61, 10] Operation: 20-10=10 Moving to Node #0,1 Current State: 19:[49, 10, 32], Operations: ['61-29=32'] Exploring Operation: 49-10=39, Resulting Numbers: [32, 39] Generated Node #0,1,0: 19:[32, 39] Operation: 49-10=39 Exploring Operation: 32-10=22, Resulting Numbers: [49, 22] Generated Node #0,1,1: 19:[49, 22] Operation: 32-10=22 Exploring Operation: 49-32=17, Resulting Numbers: [10, 17] Generated Node #0,1,2: 19:[10, 17] Operation: 49-32=17 Moving to Node #0,2,2 Current State: 19:[12, 19], Operations: ['61-49=12', '29-10=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[10, 17], Operations: ['61-29=32', '49-32=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[10, 17], Operations: ['61-49=12', '29-12=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,19 unequal: No Solution Moving to Node #0,1,2,0 Current State: 19:[27], Operations: ['61-29=32', '49-32=17', '10+17=27'] Moving to Node #0,2,0,0 Current State: 19:[27], Operations: ['61-49=12', '29-12=17', '10+17=27'] Moving to Node #0,2,0,0 Current State: 19:[7], Operations: ['61-49=12', '29-12=17', '17-10=7'] Moving to Node #0,2,2,0 Current State: 19:[31], Operations: ['61-49=12', '29-10=19', '12+19=31'] Moving to Node #0,2,2,0 Current State: 19:[7], Operations: ['61-49=12', '29-10=19', '19-12=7'] Moving to Node #0,1,2,0 Current State: 19:[7], Operations: ['61-29=32', '49-32=17', '17-10=7'] Moving to Node #0,2,1 Current State: 19:[29, 22], Operations: ['61-49=12', '10+12=22'] Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,19 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[10, 41], Operations: ['49-29=20', '61-20=41'] Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,19 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[49, 22], Operations: ['61-29=32', '32-10=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,19 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,19 unequal: No Solution Moving to Node #0,1,1,0 Current State: 19:[27], Operations: ['61-29=32', '32-10=22', '49-22=27'] Moving to Node #0,2,1,0 Current State: 19:[7], Operations: ['61-49=12', '10+12=22', '29-22=7'] Moving to Node #0,0,0,0 Current State: 19:[31], Operations: ['49-29=20', '61-20=41', '41-10=31'] Moving to Node #0,2,1,0 Current State: 19:[51], Operations: ['61-49=12', '10+12=22', '29+22=51'] Moving to Node #0,0,0,0 Current State: 19:[51], Operations: ['49-29=20', '61-20=41', '10+41=51'] Moving to Node #0,0,1 Current State: 19:[20, 51], Operations: ['49-29=20', '61-10=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 20*51=1020, Resulting Numbers: [1020] 1020,19 unequal: No Solution Moving to Node #0,0,1,0 Current State: 19:[31], Operations: ['49-29=20', '61-10=51', '51-20=31'] Moving to Node #0,1,0 Current State: 19:[32, 39], Operations: ['61-29=32', '49-10=39'] Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,19 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[61, 10], Operations: ['49-29=20', '20-10=10'] Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,19 unequal: No Solution Moving to Node #0,1,0,0 Current State: 19:[7], Operations: ['61-29=32', '49-10=39', '39-32=7'] Moving to Node #0,0,2,0 Current State: 19:[51], Operations: ['49-29=20', '20-10=10', '61-10=51'] Moving to Node #0,0,2,0 Current State: 19:[71], Operations: ['49-29=20', '20-10=10', '61+10=71'] Moving to Node #0,1,1,0 Current State: 19:[71], Operations: ['61-29=32', '32-10=22', '49+22=71'] Moving to Node #0,0,1,0 Current State: 19:[71], Operations: ['49-29=20', '61-10=51', '20+51=71'] Moving to Node #0,1,0,0 Current State: 19:[71], Operations: ['61-29=32', '49-10=39', '32+39=71'] Moving to Node #0,2,0,0 Current State: 19:[170], Operations: ['61-49=12', '29-12=17', '10*17=170'] Moving to Node #0,1,2,0 Current State: 19:[170], Operations: ['61-29=32', '49-32=17', '10*17=170'] Moving to Node #0,2,2,0 Current State: 19:[228], Operations: ['61-49=12', '29-10=19', '12*19=228'] Moving to Node #0,0,0,0 Current State: 19:[410], Operations: ['49-29=20', '61-20=41', '10*41=410'] Moving to Node #0,0,2,0 Current State: 19:[610], Operations: ['49-29=20', '20-10=10', '61*10=610'] Moving to Node #0,2,1,0 Current State: 19:[638], Operations: ['61-49=12', '10+12=22', '29*22=638'] Moving to Node #0,0,1,0 Current State: 19:[1020], Operations: ['49-29=20', '61-10=51', '20*51=1020'] Moving to Node #0,1,1,0 Current State: 19:[1078], Operations: ['61-29=32', '32-10=22', '49*22=1078'] Moving to Node #0,1,0,0 Current State: 19:[1248], Operations: ['61-29=32', '49-10=39', '32*39=1248'] No solution found.
0
bfs_3
Current State: 19:[49, 10, 61, 29], Operations: [] Exploring Operation: 49*10=490, Resulting Numbers: [61, 29, 490] Generated Node #2: [61, 29, 490] from Operation: 49*10=490 Current State: 19:[61, 29, 490], Operations: ['49*10=490'] Exploring Operation: 61+490=551, Resulting Numbers: [29, 551] Generated Node #3: [29, 551] from Operation: 61+490=551 Current State: 19:[29, 551], Operations: ['49*10=490', '61+490=551'] Exploring Operation: 551/29=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
mult_heuristic
[ { "content": "Make 19 with the numbers [49, 10, 61, 29] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 19:[49, 10, 61, 29], Operations: []\nExploring Operation: 49-29=20, Resulting Numbers: [10, 61, 20]\nGenerated Node #0,0: 19:[10, 61, 20] Operation: 49-29=20\nExploring Operation: 61-29=32, Resulting Numbers: [49, 10, 32]\nGenerated Node #0,1: 19:[49, 10, 32] Operation: 61-29=32\nExploring Operation: 61-49=12, Resulting Numbers: [10, 29, 12]\nGenerated Node #0,2: 19:[10, 29, 12] Operation: 61-49=12\nMoving to Node #0,2\nCurrent State: 19:[10, 29, 12], Operations: ['61-49=12']\nExploring Operation: 29-12=17, Resulting Numbers: [10, 17]\nGenerated Node #0,2,0: 19:[10, 17] Operation: 29-12=17\nExploring Operation: 10+12=22, Resulting Numbers: [29, 22]\nGenerated Node #0,2,1: 19:[29, 22] Operation: 10+12=22\nExploring Operation: 29-10=19, Resulting Numbers: [12, 19]\nGenerated Node #0,2,2: 19:[12, 19] Operation: 29-10=19\nMoving to Node #0,0\nCurrent State: 19:[10, 61, 20], Operations: ['49-29=20']\nExploring Operation: 61-20=41, Resulting Numbers: [10, 41]\nGenerated Node #0,0,0: 19:[10, 41] Operation: 61-20=41\nExploring Operation: 61-10=51, Resulting Numbers: [20, 51]\nGenerated Node #0,0,1: 19:[20, 51] Operation: 61-10=51\nExploring Operation: 20-10=10, Resulting Numbers: [61, 10]\nGenerated Node #0,0,2: 19:[61, 10] Operation: 20-10=10\nMoving to Node #0,1\nCurrent State: 19:[49, 10, 32], Operations: ['61-29=32']\nExploring Operation: 49-10=39, Resulting Numbers: [32, 39]\nGenerated Node #0,1,0: 19:[32, 39] Operation: 49-10=39\nExploring Operation: 32-10=22, Resulting Numbers: [49, 22]\nGenerated Node #0,1,1: 19:[49, 22] Operation: 32-10=22\nExploring Operation: 49-32=17, Resulting Numbers: [10, 17]\nGenerated Node #0,1,2: 19:[10, 17] Operation: 49-32=17\nMoving to Node #0,2,2\nCurrent State: 19:[12, 19], Operations: ['61-49=12', '29-10=19']\nExploring Operation: 12+19=31, Resulting Numbers: [31]\n31,19 unequal: No Solution\nExploring Operation: 19-12=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nExploring Operation: 12*19=228, Resulting Numbers: [228]\n228,19 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 19:[10, 17], Operations: ['61-29=32', '49-32=17']\nExploring Operation: 10+17=27, Resulting Numbers: [27]\n27,19 unequal: No Solution\nExploring Operation: 17-10=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nExploring Operation: 10*17=170, Resulting Numbers: [170]\n170,19 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 19:[10, 17], Operations: ['61-49=12', '29-12=17']\nExploring Operation: 10+17=27, Resulting Numbers: [27]\n27,19 unequal: No Solution\nExploring Operation: 17-10=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nExploring Operation: 10*17=170, Resulting Numbers: [170]\n170,19 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 19:[27], Operations: ['61-29=32', '49-32=17', '10+17=27']\nMoving to Node #0,2,0,0\nCurrent State: 19:[27], Operations: ['61-49=12', '29-12=17', '10+17=27']\nMoving to Node #0,2,0,0\nCurrent State: 19:[7], Operations: ['61-49=12', '29-12=17', '17-10=7']\nMoving to Node #0,2,2,0\nCurrent State: 19:[31], Operations: ['61-49=12', '29-10=19', '12+19=31']\nMoving to Node #0,2,2,0\nCurrent State: 19:[7], Operations: ['61-49=12', '29-10=19', '19-12=7']\nMoving to Node #0,1,2,0\nCurrent State: 19:[7], Operations: ['61-29=32', '49-32=17', '17-10=7']\nMoving to Node #0,2,1\nCurrent State: 19:[29, 22], Operations: ['61-49=12', '10+12=22']\nExploring Operation: 29*22=638, Resulting Numbers: [638]\n638,19 unequal: No Solution\nExploring Operation: 29-22=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nExploring Operation: 29+22=51, Resulting Numbers: [51]\n51,19 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 19:[10, 41], Operations: ['49-29=20', '61-20=41']\nExploring Operation: 10*41=410, Resulting Numbers: [410]\n410,19 unequal: No Solution\nExploring Operation: 41-10=31, Resulting Numbers: [31]\n31,19 unequal: No Solution\nExploring Operation: 10+41=51, Resulting Numbers: [51]\n51,19 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 19:[49, 22], Operations: ['61-29=32', '32-10=22']\nExploring Operation: 49+22=71, Resulting Numbers: [71]\n71,19 unequal: No Solution\nExploring Operation: 49*22=1078, Resulting Numbers: [1078]\n1078,19 unequal: No Solution\nExploring Operation: 49-22=27, Resulting Numbers: [27]\n27,19 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 19:[27], Operations: ['61-29=32', '32-10=22', '49-22=27']\nMoving to Node #0,2,1,0\nCurrent State: 19:[7], Operations: ['61-49=12', '10+12=22', '29-22=7']\nMoving to Node #0,0,0,0\nCurrent State: 19:[31], Operations: ['49-29=20', '61-20=41', '41-10=31']\nMoving to Node #0,2,1,0\nCurrent State: 19:[51], Operations: ['61-49=12', '10+12=22', '29+22=51']\nMoving to Node #0,0,0,0\nCurrent State: 19:[51], Operations: ['49-29=20', '61-20=41', '10+41=51']\nMoving to Node #0,0,1\nCurrent State: 19:[20, 51], Operations: ['49-29=20', '61-10=51']\nExploring Operation: 20+51=71, Resulting Numbers: [71]\n71,19 unequal: No Solution\nExploring Operation: 51-20=31, Resulting Numbers: [31]\n31,19 unequal: No Solution\nExploring Operation: 20*51=1020, Resulting Numbers: [1020]\n1020,19 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 19:[31], Operations: ['49-29=20', '61-10=51', '51-20=31']\nMoving to Node #0,1,0\nCurrent State: 19:[32, 39], Operations: ['61-29=32', '49-10=39']\nExploring Operation: 32*39=1248, Resulting Numbers: [1248]\n1248,19 unequal: No Solution\nExploring Operation: 32+39=71, Resulting Numbers: [71]\n71,19 unequal: No Solution\nExploring Operation: 39-32=7, Resulting Numbers: [7]\n7,19 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 19:[61, 10], Operations: ['49-29=20', '20-10=10']\nExploring Operation: 61-10=51, Resulting Numbers: [51]\n51,19 unequal: No Solution\nExploring Operation: 61+10=71, Resulting Numbers: [71]\n71,19 unequal: No Solution\nExploring Operation: 61*10=610, Resulting Numbers: [610]\n610,19 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 19:[7], Operations: ['61-29=32', '49-10=39', '39-32=7']\nMoving to Node #0,0,2,0\nCurrent State: 19:[51], Operations: ['49-29=20', '20-10=10', '61-10=51']\nMoving to Node #0,0,2,0\nCurrent State: 19:[71], Operations: ['49-29=20', '20-10=10', '61+10=71']\nMoving to Node #0,1,1,0\nCurrent State: 19:[71], Operations: ['61-29=32', '32-10=22', '49+22=71']\nMoving to Node #0,0,1,0\nCurrent State: 19:[71], Operations: ['49-29=20', '61-10=51', '20+51=71']\nMoving to Node #0,1,0,0\nCurrent State: 19:[71], Operations: ['61-29=32', '49-10=39', '32+39=71']\nMoving to Node #0,2,0,0\nCurrent State: 19:[170], Operations: ['61-49=12', '29-12=17', '10*17=170']\nMoving to Node #0,1,2,0\nCurrent State: 19:[170], Operations: ['61-29=32', '49-32=17', '10*17=170']\nMoving to Node #0,2,2,0\nCurrent State: 19:[228], Operations: ['61-49=12', '29-10=19', '12*19=228']\nMoving to Node #0,0,0,0\nCurrent State: 19:[410], Operations: ['49-29=20', '61-20=41', '10*41=410']\nMoving to Node #0,0,2,0\nCurrent State: 19:[610], Operations: ['49-29=20', '20-10=10', '61*10=610']\nMoving to Node #0,2,1,0\nCurrent State: 19:[638], Operations: ['61-49=12', '10+12=22', '29*22=638']\nMoving to Node #0,0,1,0\nCurrent State: 19:[1020], Operations: ['49-29=20', '61-10=51', '20*51=1020']\nMoving to Node #0,1,1,0\nCurrent State: 19:[1078], Operations: ['61-29=32', '32-10=22', '49*22=1078']\nMoving to Node #0,1,0,0\nCurrent State: 19:[1248], Operations: ['61-29=32', '49-10=39', '32*39=1248']\nNo solution found.", "role": "assistant" } ]
[ 84, 68, 30, 13 ]
33
[ "84-68=16", "30-13=17", "16+17=33" ]
Current State: 33:[84, 68, 30, 13], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [30, 13, 16] Generated Node #0,0: 33:[30, 13, 16] Operation: 84-68=16 Moving to Node #0,0 Current State: 33:[30, 13, 16], Operations: ['84-68=16'] Exploring Operation: 13+16=29, Resulting Numbers: [30, 29] Generated Node #0,0,0: 33:[30, 29] Operation: 13+16=29 Moving to Node #0,0,0 Current State: 33:[30, 29], Operations: ['84-68=16', '13+16=29'] Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[30, 29], Operations: ['84-68=16', '13+16=29'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,33 unequal: No Solution Moving to Node #0,0 Current State: 33:[30, 13, 16], Operations: ['84-68=16'] Exploring Operation: 30+13=43, Resulting Numbers: [16, 43] Generated Node #0,0,1: 33:[16, 43] Operation: 30+13=43 Moving to Node #0,0,1 Current State: 33:[16, 43], Operations: ['84-68=16', '30+13=43'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[16, 43], Operations: ['84-68=16', '30+13=43'] Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,33 unequal: No Solution Moving to Node #0,0 Current State: 33:[30, 13, 16], Operations: ['84-68=16'] Exploring Operation: 30-13=17, Resulting Numbers: [16, 17] Generated Node #0,0,2: 33:[16, 17] Operation: 30-13=17 Moving to Node #0,0,2 Current State: 33:[16, 17], Operations: ['84-68=16', '30-13=17'] Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.991319
dfs
Current State: 33:[84, 68, 30, 13], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [30, 13, 16] Generated Node #2: [30, 13, 16] from Operation: 84-68=16 Current State: 33:[30, 13, 16], Operations: ['84-68=16'] Exploring Operation: 30-13=17, Resulting Numbers: [16, 17] Generated Node #3: [16, 17] from Operation: 30-13=17 Current State: 33:[16, 17], Operations: ['84-68=16', '30-13=17'] Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
sum_heuristic
[ { "content": "Make 33 with the numbers [84, 68, 30, 13] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 33:[84, 68, 30, 13], Operations: []\nExploring Operation: 84-68=16, Resulting Numbers: [30, 13, 16]\nGenerated Node #0,0: 33:[30, 13, 16] Operation: 84-68=16\nMoving to Node #0,0\nCurrent State: 33:[30, 13, 16], Operations: ['84-68=16']\nExploring Operation: 13+16=29, Resulting Numbers: [30, 29]\nGenerated Node #0,0,0: 33:[30, 29] Operation: 13+16=29\nMoving to Node #0,0,0\nCurrent State: 33:[30, 29], Operations: ['84-68=16', '13+16=29']\nExploring Operation: 30+29=59, Resulting Numbers: [59]\n59,33 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 33:[30, 29], Operations: ['84-68=16', '13+16=29']\nExploring Operation: 30-29=1, Resulting Numbers: [1]\n1,33 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 33:[30, 13, 16], Operations: ['84-68=16']\nExploring Operation: 30+13=43, Resulting Numbers: [16, 43]\nGenerated Node #0,0,1: 33:[16, 43] Operation: 30+13=43\nMoving to Node #0,0,1\nCurrent State: 33:[16, 43], Operations: ['84-68=16', '30+13=43']\nExploring Operation: 43-16=27, Resulting Numbers: [27]\n27,33 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 33:[16, 43], Operations: ['84-68=16', '30+13=43']\nExploring Operation: 16+43=59, Resulting Numbers: [59]\n59,33 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 33:[30, 13, 16], Operations: ['84-68=16']\nExploring Operation: 30-13=17, Resulting Numbers: [16, 17]\nGenerated Node #0,0,2: 33:[16, 17] Operation: 30-13=17\nMoving to Node #0,0,2\nCurrent State: 33:[16, 17], Operations: ['84-68=16', '30-13=17']\nExploring Operation: 16+17=33, Resulting Numbers: [33]\n33,33 equal: Goal Reached\n", "role": "assistant" } ]
[ 63, 45, 87, 32 ]
48
[ "63*32=2016", "87-45=42", "2016/42=48" ]
Current State: 48:[63, 45, 87, 32], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [45, 32, 24] Generated Node #0,0: 48:[45, 32, 24] Operation: 87-63=24 Moving to Node #0,0 Current State: 48:[45, 32, 24], Operations: ['87-63=24'] Exploring Operation: 45-32=13, Resulting Numbers: [24, 13] Generated Node #0,0,0: 48:[24, 13] Operation: 45-32=13 Moving to Node #0,0,0 Current State: 48:[24, 13], Operations: ['87-63=24', '45-32=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[24, 13], Operations: ['87-63=24', '45-32=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[45, 32, 24], Operations: ['87-63=24'] Exploring Operation: 32-24=8, Resulting Numbers: [45, 8] Generated Node #0,0,1: 48:[45, 8] Operation: 32-24=8 Moving to Node #0,0,1 Current State: 48:[45, 8], Operations: ['87-63=24', '32-24=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[45, 8], Operations: ['87-63=24', '32-24=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[45, 32, 24], Operations: ['87-63=24'] Exploring Operation: 45-24=21, Resulting Numbers: [32, 21] Generated Node #0,0,2: 48:[32, 21] Operation: 45-24=21 Moving to Node #0,0,2 Current State: 48:[32, 21], Operations: ['87-63=24', '45-24=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[32, 21], Operations: ['87-63=24', '45-24=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[45, 32, 24], Operations: ['87-63=24'] Exploring Operation: 32+24=56, Resulting Numbers: [45, 56] Generated Node #0,0,3: 48:[45, 56] Operation: 32+24=56 Moving to Node #0,0,3 Current State: 48:[45, 56], Operations: ['87-63=24', '32+24=56'] Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[45, 32, 24], Operations: ['87-63=24'] Exploring Operation: 45+32=77, Resulting Numbers: [24, 77] Generated Node #0,0,4: 48:[24, 77] Operation: 45+32=77 Moving to Node #0,0,4 Current State: 48:[24, 77], Operations: ['87-63=24', '45+32=77'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[45, 32, 24], Operations: ['87-63=24'] Exploring Operation: 45+24=69, Resulting Numbers: [32, 69] Generated Node #0,0,5: 48:[32, 69] Operation: 45+24=69 Moving to Node #0,0,5 Current State: 48:[32, 69], Operations: ['87-63=24', '45+24=69'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,48 unequal: No Solution Moving to Node #0 Current State: 48:[63, 45, 87, 32], Operations: [] Exploring Operation: 87-32=55, Resulting Numbers: [63, 45, 55] Generated Node #0,1: 48:[63, 45, 55] Operation: 87-32=55 Moving to Node #0,1 Current State: 48:[63, 45, 55], Operations: ['87-32=55'] Exploring Operation: 63-55=8, Resulting Numbers: [45, 8] Generated Node #0,1,0: 48:[45, 8] Operation: 63-55=8 Moving to Node #0,1,0 Current State: 48:[45, 8], Operations: ['87-32=55', '63-55=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[45, 8], Operations: ['87-32=55', '63-55=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,48 unequal: No Solution Moving to Node #0,1 Current State: 48:[63, 45, 55], Operations: ['87-32=55'] Exploring Operation: 63-45=18, Resulting Numbers: [55, 18] Generated Node #0,1,1: 48:[55, 18] Operation: 63-45=18 Moving to Node #0,1,1 Current State: 48:[55, 18], Operations: ['87-32=55', '63-45=18'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[55, 18], Operations: ['87-32=55', '63-45=18'] Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,48 unequal: No Solution Moving to Node #0,1 Current State: 48:[63, 45, 55], Operations: ['87-32=55'] Exploring Operation: 55-45=10, Resulting Numbers: [63, 10] Generated Node #0,1,2: 48:[63, 10] Operation: 55-45=10 Moving to Node #0,1,2 Current State: 48:[63, 10], Operations: ['87-32=55', '55-45=10'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[63, 10], Operations: ['87-32=55', '55-45=10'] Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,48 unequal: No Solution Moving to Node #0 Current State: 48:[63, 45, 87, 32], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [63, 32, 42] Generated Node #0,2: 48:[63, 32, 42] Operation: 87-45=42 Moving to Node #0,2 Current State: 48:[63, 32, 42], Operations: ['87-45=42'] Exploring Operation: 63-42=21, Resulting Numbers: [32, 21] Generated Node #0,2,0: 48:[32, 21] Operation: 63-42=21 Moving to Node #0,2,0 Current State: 48:[32, 21], Operations: ['87-45=42', '63-42=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[32, 21], Operations: ['87-45=42', '63-42=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,48 unequal: No Solution Moving to Node #0,2 Current State: 48:[63, 32, 42], Operations: ['87-45=42'] Exploring Operation: 63-32=31, Resulting Numbers: [42, 31] Generated Node #0,2,1: 48:[42, 31] Operation: 63-32=31 Moving to Node #0,2,1 Current State: 48:[42, 31], Operations: ['87-45=42', '63-32=31'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[42, 31], Operations: ['87-45=42', '63-32=31'] Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,48 unequal: No Solution Moving to Node #0,2 Current State: 48:[63, 32, 42], Operations: ['87-45=42'] Exploring Operation: 42-32=10, Resulting Numbers: [63, 10] Generated Node #0,2,2: 48:[63, 10] Operation: 42-32=10 Moving to Node #0,2,2 Current State: 48:[63, 10], Operations: ['87-45=42', '42-32=10'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[63, 10], Operations: ['87-45=42', '42-32=10'] Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,48 unequal: No Solution Moving to Node #0,2 Current State: 48:[63, 32, 42], Operations: ['87-45=42'] Exploring Operation: 32+42=74, Resulting Numbers: [63, 74] Generated Node #0,2,3: 48:[63, 74] Operation: 32+42=74 Moving to Node #0,2,3 Current State: 48:[63, 74], Operations: ['87-45=42', '32+42=74'] Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,48 unequal: No Solution
0
dfs
Current State: 48:[63, 45, 87, 32], Operations: [] Exploring Operation: 63*32=2016, Resulting Numbers: [45, 87, 2016] Generated Node #2: [45, 87, 2016] from Operation: 63*32=2016 Current State: 48:[45, 87, 2016], Operations: ['63*32=2016'] Exploring Operation: 87-45=42, Resulting Numbers: [2016, 42] Generated Node #3: [2016, 42] from Operation: 87-45=42 Current State: 48:[2016, 42], Operations: ['63*32=2016', '87-45=42'] Exploring Operation: 2016/42=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
mult_heuristic
[ { "content": "Make 48 with the numbers [63, 45, 87, 32] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 48:[63, 45, 87, 32], Operations: []\nExploring Operation: 87-63=24, Resulting Numbers: [45, 32, 24]\nGenerated Node #0,0: 48:[45, 32, 24] Operation: 87-63=24\nMoving to Node #0,0\nCurrent State: 48:[45, 32, 24], Operations: ['87-63=24']\nExploring Operation: 45-32=13, Resulting Numbers: [24, 13]\nGenerated Node #0,0,0: 48:[24, 13] Operation: 45-32=13\nMoving to Node #0,0,0\nCurrent State: 48:[24, 13], Operations: ['87-63=24', '45-32=13']\nExploring Operation: 24-13=11, Resulting Numbers: [11]\n11,48 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 48:[24, 13], Operations: ['87-63=24', '45-32=13']\nExploring Operation: 24+13=37, Resulting Numbers: [37]\n37,48 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 48:[45, 32, 24], Operations: ['87-63=24']\nExploring Operation: 32-24=8, Resulting Numbers: [45, 8]\nGenerated Node #0,0,1: 48:[45, 8] Operation: 32-24=8\nMoving to Node #0,0,1\nCurrent State: 48:[45, 8], Operations: ['87-63=24', '32-24=8']\nExploring Operation: 45+8=53, Resulting Numbers: [53]\n53,48 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 48:[45, 8], Operations: ['87-63=24', '32-24=8']\nExploring Operation: 45-8=37, Resulting Numbers: [37]\n37,48 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 48:[45, 32, 24], Operations: ['87-63=24']\nExploring Operation: 45-24=21, Resulting Numbers: [32, 21]\nGenerated Node #0,0,2: 48:[32, 21] Operation: 45-24=21\nMoving to Node #0,0,2\nCurrent State: 48:[32, 21], Operations: ['87-63=24', '45-24=21']\nExploring Operation: 32-21=11, Resulting Numbers: [11]\n11,48 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 48:[32, 21], Operations: ['87-63=24', '45-24=21']\nExploring Operation: 32+21=53, Resulting Numbers: [53]\n53,48 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 48:[45, 32, 24], Operations: ['87-63=24']\nExploring Operation: 32+24=56, Resulting Numbers: [45, 56]\nGenerated Node #0,0,3: 48:[45, 56] Operation: 32+24=56\nMoving to Node #0,0,3\nCurrent State: 48:[45, 56], Operations: ['87-63=24', '32+24=56']\nExploring Operation: 56-45=11, Resulting Numbers: [11]\n11,48 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 48:[45, 32, 24], Operations: ['87-63=24']\nExploring Operation: 45+32=77, Resulting Numbers: [24, 77]\nGenerated Node #0,0,4: 48:[24, 77] Operation: 45+32=77\nMoving to Node #0,0,4\nCurrent State: 48:[24, 77], Operations: ['87-63=24', '45+32=77']\nExploring Operation: 77-24=53, Resulting Numbers: [53]\n53,48 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 48:[45, 32, 24], Operations: ['87-63=24']\nExploring Operation: 45+24=69, Resulting Numbers: [32, 69]\nGenerated Node #0,0,5: 48:[32, 69] Operation: 45+24=69\nMoving to Node #0,0,5\nCurrent State: 48:[32, 69], Operations: ['87-63=24', '45+24=69']\nExploring Operation: 69-32=37, Resulting Numbers: [37]\n37,48 unequal: No Solution\nMoving to Node #0\nCurrent State: 48:[63, 45, 87, 32], Operations: []\nExploring Operation: 87-32=55, Resulting Numbers: [63, 45, 55]\nGenerated Node #0,1: 48:[63, 45, 55] Operation: 87-32=55\nMoving to Node #0,1\nCurrent State: 48:[63, 45, 55], Operations: ['87-32=55']\nExploring Operation: 63-55=8, Resulting Numbers: [45, 8]\nGenerated Node #0,1,0: 48:[45, 8] Operation: 63-55=8\nMoving to Node #0,1,0\nCurrent State: 48:[45, 8], Operations: ['87-32=55', '63-55=8']\nExploring Operation: 45+8=53, Resulting Numbers: [53]\n53,48 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 48:[45, 8], Operations: ['87-32=55', '63-55=8']\nExploring Operation: 45-8=37, Resulting Numbers: [37]\n37,48 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 48:[63, 45, 55], Operations: ['87-32=55']\nExploring Operation: 63-45=18, Resulting Numbers: [55, 18]\nGenerated Node #0,1,1: 48:[55, 18] Operation: 63-45=18\nMoving to Node #0,1,1\nCurrent State: 48:[55, 18], Operations: ['87-32=55', '63-45=18']\nExploring Operation: 55-18=37, Resulting Numbers: [37]\n37,48 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 48:[55, 18], Operations: ['87-32=55', '63-45=18']\nExploring Operation: 55+18=73, Resulting Numbers: [73]\n73,48 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 48:[63, 45, 55], Operations: ['87-32=55']\nExploring Operation: 55-45=10, Resulting Numbers: [63, 10]\nGenerated Node #0,1,2: 48:[63, 10] Operation: 55-45=10\nMoving to Node #0,1,2\nCurrent State: 48:[63, 10], Operations: ['87-32=55', '55-45=10']\nExploring Operation: 63-10=53, Resulting Numbers: [53]\n53,48 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 48:[63, 10], Operations: ['87-32=55', '55-45=10']\nExploring Operation: 63+10=73, Resulting Numbers: [73]\n73,48 unequal: No Solution\nMoving to Node #0\nCurrent State: 48:[63, 45, 87, 32], Operations: []\nExploring Operation: 87-45=42, Resulting Numbers: [63, 32, 42]\nGenerated Node #0,2: 48:[63, 32, 42] Operation: 87-45=42\nMoving to Node #0,2\nCurrent State: 48:[63, 32, 42], Operations: ['87-45=42']\nExploring Operation: 63-42=21, Resulting Numbers: [32, 21]\nGenerated Node #0,2,0: 48:[32, 21] Operation: 63-42=21\nMoving to Node #0,2,0\nCurrent State: 48:[32, 21], Operations: ['87-45=42', '63-42=21']\nExploring Operation: 32-21=11, Resulting Numbers: [11]\n11,48 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 48:[32, 21], Operations: ['87-45=42', '63-42=21']\nExploring Operation: 32+21=53, Resulting Numbers: [53]\n53,48 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 48:[63, 32, 42], Operations: ['87-45=42']\nExploring Operation: 63-32=31, Resulting Numbers: [42, 31]\nGenerated Node #0,2,1: 48:[42, 31] Operation: 63-32=31\nMoving to Node #0,2,1\nCurrent State: 48:[42, 31], Operations: ['87-45=42', '63-32=31']\nExploring Operation: 42-31=11, Resulting Numbers: [11]\n11,48 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 48:[42, 31], Operations: ['87-45=42', '63-32=31']\nExploring Operation: 42+31=73, Resulting Numbers: [73]\n73,48 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 48:[63, 32, 42], Operations: ['87-45=42']\nExploring Operation: 42-32=10, Resulting Numbers: [63, 10]\nGenerated Node #0,2,2: 48:[63, 10] Operation: 42-32=10\nMoving to Node #0,2,2\nCurrent State: 48:[63, 10], Operations: ['87-45=42', '42-32=10']\nExploring Operation: 63-10=53, Resulting Numbers: [53]\n53,48 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 48:[63, 10], Operations: ['87-45=42', '42-32=10']\nExploring Operation: 63+10=73, Resulting Numbers: [73]\n73,48 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 48:[63, 32, 42], Operations: ['87-45=42']\nExploring Operation: 32+42=74, Resulting Numbers: [63, 74]\nGenerated Node #0,2,3: 48:[63, 74] Operation: 32+42=74\nMoving to Node #0,2,3\nCurrent State: 48:[63, 74], Operations: ['87-45=42', '32+42=74']\nExploring Operation: 74-63=11, Resulting Numbers: [11]\n11,48 unequal: No Solution\n", "role": "assistant" } ]
[ 82, 77, 21, 41 ]
15
[ "82-77=5", "41-21=20", "20-5=15" ]
Current State: 15:[82, 77, 21, 41], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [21, 41, 5] Generated Node #0,0: 15:[21, 41, 5] Operation: 82-77=5 Exploring Operation: 82/41=2, Resulting Numbers: [77, 21, 2] Generated Node #0,1: 15:[77, 21, 2] Operation: 82/41=2 Moving to Node #0,0 Current State: 15:[21, 41, 5], Operations: ['82-77=5'] Exploring Operation: 21-5=16, Resulting Numbers: [41, 16] Generated Node #0,0,0: 15:[41, 16] Operation: 21-5=16 Exploring Operation: 41-21=20, Resulting Numbers: [5, 20] Generated Node #0,0,1: 15:[5, 20] Operation: 41-21=20 Moving to Node #0,1 Current State: 15:[77, 21, 2], Operations: ['82/41=2'] Exploring Operation: 77-21=56, Resulting Numbers: [2, 56] Generated Node #0,1,0: 15:[2, 56] Operation: 77-21=56 Exploring Operation: 77-2=75, Resulting Numbers: [21, 75] Generated Node #0,1,1: 15:[21, 75] Operation: 77-2=75 Moving to Node #0,0,1 Current State: 15:[5, 20], Operations: ['82-77=5', '41-21=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.993056
bfs_2
Current State: 15:[82, 77, 21, 41], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [21, 41, 5] Generated Node #2: [21, 41, 5] from Operation: 82-77=5 Current State: 15:[21, 41, 5], Operations: ['82-77=5'] Exploring Operation: 41-21=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 41-21=20 Current State: 15:[5, 20], Operations: ['82-77=5', '41-21=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
sum_heuristic
[ { "content": "Make 15 with the numbers [82, 77, 21, 41] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 15:[82, 77, 21, 41], Operations: []\nExploring Operation: 82-77=5, Resulting Numbers: [21, 41, 5]\nGenerated Node #0,0: 15:[21, 41, 5] Operation: 82-77=5\nExploring Operation: 82/41=2, Resulting Numbers: [77, 21, 2]\nGenerated Node #0,1: 15:[77, 21, 2] Operation: 82/41=2\nMoving to Node #0,0\nCurrent State: 15:[21, 41, 5], Operations: ['82-77=5']\nExploring Operation: 21-5=16, Resulting Numbers: [41, 16]\nGenerated Node #0,0,0: 15:[41, 16] Operation: 21-5=16\nExploring Operation: 41-21=20, Resulting Numbers: [5, 20]\nGenerated Node #0,0,1: 15:[5, 20] Operation: 41-21=20\nMoving to Node #0,1\nCurrent State: 15:[77, 21, 2], Operations: ['82/41=2']\nExploring Operation: 77-21=56, Resulting Numbers: [2, 56]\nGenerated Node #0,1,0: 15:[2, 56] Operation: 77-21=56\nExploring Operation: 77-2=75, Resulting Numbers: [21, 75]\nGenerated Node #0,1,1: 15:[21, 75] Operation: 77-2=75\nMoving to Node #0,0,1\nCurrent State: 15:[5, 20], Operations: ['82-77=5', '41-21=20']\nExploring Operation: 20-5=15, Resulting Numbers: [15]\n15,15 equal: Goal Reached\n", "role": "assistant" } ]
[ 46, 8, 41, 5 ]
17
[ "46-41=5", "5*5=25", "25-8=17" ]
Current State: 17:[46, 8, 41, 5], Operations: [] Exploring Operation: 46-5=41, Resulting Numbers: [8, 41, 41] Generated Node #0,0: 17:[8, 41, 41] Operation: 46-5=41 Exploring Operation: 46-41=5, Resulting Numbers: [8, 5, 5] Generated Node #0,1: 17:[8, 5, 5] Operation: 46-41=5 Exploring Operation: 46-8=38, Resulting Numbers: [41, 5, 38] Generated Node #0,2: 17:[41, 5, 38] Operation: 46-8=38 Exploring Operation: 41-8=33, Resulting Numbers: [46, 5, 33] Generated Node #0,3: 17:[46, 5, 33] Operation: 41-8=33 Moving to Node #0,1 Current State: 17:[8, 5, 5], Operations: ['46-41=5'] Exploring Operation: 8+5=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 17:[5, 13] Operation: 8+5=13 Exploring Operation: 5*5=25, Resulting Numbers: [8, 25] Generated Node #0,1,1: 17:[8, 25] Operation: 5*5=25 Exploring Operation: 8+5=13, Resulting Numbers: [5, 13] Generated Node #0,1,2: 17:[5, 13] Operation: 8+5=13 Exploring Operation: 5+5=10, Resulting Numbers: [8, 10] Generated Node #0,1,3: 17:[8, 10] Operation: 5+5=10 Moving to Node #0,2 Current State: 17:[41, 5, 38], Operations: ['46-8=38'] Exploring Operation: 38-5=33, Resulting Numbers: [41, 33] Generated Node #0,2,0: 17:[41, 33] Operation: 38-5=33 Exploring Operation: 41-5=36, Resulting Numbers: [38, 36] Generated Node #0,2,1: 17:[38, 36] Operation: 41-5=36 Exploring Operation: 41-38=3, Resulting Numbers: [5, 3] Generated Node #0,2,2: 17:[5, 3] Operation: 41-38=3 Exploring Operation: 41+5=46, Resulting Numbers: [38, 46] Generated Node #0,2,3: 17:[38, 46] Operation: 41+5=46 Moving to Node #0,0 Current State: 17:[8, 41, 41], Operations: ['46-5=41'] Exploring Operation: 41-41=0, Resulting Numbers: [8, 0] Generated Node #0,0,0: 17:[8, 0] Operation: 41-41=0 Exploring Operation: 41/41=1, Resulting Numbers: [8, 1] Generated Node #0,0,1: 17:[8, 1] Operation: 41/41=1 Exploring Operation: 41-8=33, Resulting Numbers: [41, 33] Generated Node #0,0,2: 17:[41, 33] Operation: 41-8=33 Exploring Operation: 41-8=33, Resulting Numbers: [41, 33] Generated Node #0,0,3: 17:[41, 33] Operation: 41-8=33 Moving to Node #0,3 Current State: 17:[46, 5, 33], Operations: ['41-8=33'] Exploring Operation: 46+5=51, Resulting Numbers: [33, 51] Generated Node #0,3,0: 17:[33, 51] Operation: 46+5=51 Exploring Operation: 46-5=41, Resulting Numbers: [33, 41] Generated Node #0,3,1: 17:[33, 41] Operation: 46-5=41 Exploring Operation: 46-33=13, Resulting Numbers: [5, 13] Generated Node #0,3,2: 17:[5, 13] Operation: 46-33=13 Exploring Operation: 33-5=28, Resulting Numbers: [46, 28] Generated Node #0,3,3: 17:[46, 28] Operation: 33-5=28 Moving to Node #0,1,0 Current State: 17:[5, 13], Operations: ['46-41=5', '8+5=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[8, 10], Operations: ['46-41=5', '5+5=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[5, 13], Operations: ['41-8=33', '46-33=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[5, 13], Operations: ['46-41=5', '8+5=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,17 unequal: No Solution Moving to Node #0,1,0,0 Current State: 17:[18], Operations: ['46-41=5', '8+5=13', '5+13=18'] Moving to Node #0,1,3,0 Current State: 17:[18], Operations: ['46-41=5', '5+5=10', '8+10=18'] Moving to Node #0,1,2,0 Current State: 17:[18], Operations: ['46-41=5', '8+5=13', '5+13=18'] Moving to Node #0,3,2,0 Current State: 17:[18], Operations: ['41-8=33', '46-33=13', '5+13=18'] Moving to Node #0,1,1 Current State: 17:[8, 25], Operations: ['46-41=5', '5*5=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,17 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.969618
bfs_4
Current State: 17:[46, 8, 41, 5], Operations: [] Exploring Operation: 46-41=5, Resulting Numbers: [8, 5, 5] Generated Node #2: [8, 5, 5] from Operation: 46-41=5 Current State: 17:[8, 5, 5], Operations: ['46-41=5'] Exploring Operation: 5*5=25, Resulting Numbers: [8, 25] Generated Node #3: [8, 25] from Operation: 5*5=25 Current State: 17:[8, 25], Operations: ['46-41=5', '5*5=25'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
sum_heuristic
[ { "content": "Make 17 with the numbers [46, 8, 41, 5] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 17:[46, 8, 41, 5], Operations: []\nExploring Operation: 46-5=41, Resulting Numbers: [8, 41, 41]\nGenerated Node #0,0: 17:[8, 41, 41] Operation: 46-5=41\nExploring Operation: 46-41=5, Resulting Numbers: [8, 5, 5]\nGenerated Node #0,1: 17:[8, 5, 5] Operation: 46-41=5\nExploring Operation: 46-8=38, Resulting Numbers: [41, 5, 38]\nGenerated Node #0,2: 17:[41, 5, 38] Operation: 46-8=38\nExploring Operation: 41-8=33, Resulting Numbers: [46, 5, 33]\nGenerated Node #0,3: 17:[46, 5, 33] Operation: 41-8=33\nMoving to Node #0,1\nCurrent State: 17:[8, 5, 5], Operations: ['46-41=5']\nExploring Operation: 8+5=13, Resulting Numbers: [5, 13]\nGenerated Node #0,1,0: 17:[5, 13] Operation: 8+5=13\nExploring Operation: 5*5=25, Resulting Numbers: [8, 25]\nGenerated Node #0,1,1: 17:[8, 25] Operation: 5*5=25\nExploring Operation: 8+5=13, Resulting Numbers: [5, 13]\nGenerated Node #0,1,2: 17:[5, 13] Operation: 8+5=13\nExploring Operation: 5+5=10, Resulting Numbers: [8, 10]\nGenerated Node #0,1,3: 17:[8, 10] Operation: 5+5=10\nMoving to Node #0,2\nCurrent State: 17:[41, 5, 38], Operations: ['46-8=38']\nExploring Operation: 38-5=33, Resulting Numbers: [41, 33]\nGenerated Node #0,2,0: 17:[41, 33] Operation: 38-5=33\nExploring Operation: 41-5=36, Resulting Numbers: [38, 36]\nGenerated Node #0,2,1: 17:[38, 36] Operation: 41-5=36\nExploring Operation: 41-38=3, Resulting Numbers: [5, 3]\nGenerated Node #0,2,2: 17:[5, 3] Operation: 41-38=3\nExploring Operation: 41+5=46, Resulting Numbers: [38, 46]\nGenerated Node #0,2,3: 17:[38, 46] Operation: 41+5=46\nMoving to Node #0,0\nCurrent State: 17:[8, 41, 41], Operations: ['46-5=41']\nExploring Operation: 41-41=0, Resulting Numbers: [8, 0]\nGenerated Node #0,0,0: 17:[8, 0] Operation: 41-41=0\nExploring Operation: 41/41=1, Resulting Numbers: [8, 1]\nGenerated Node #0,0,1: 17:[8, 1] Operation: 41/41=1\nExploring Operation: 41-8=33, Resulting Numbers: [41, 33]\nGenerated Node #0,0,2: 17:[41, 33] Operation: 41-8=33\nExploring Operation: 41-8=33, Resulting Numbers: [41, 33]\nGenerated Node #0,0,3: 17:[41, 33] Operation: 41-8=33\nMoving to Node #0,3\nCurrent State: 17:[46, 5, 33], Operations: ['41-8=33']\nExploring Operation: 46+5=51, Resulting Numbers: [33, 51]\nGenerated Node #0,3,0: 17:[33, 51] Operation: 46+5=51\nExploring Operation: 46-5=41, Resulting Numbers: [33, 41]\nGenerated Node #0,3,1: 17:[33, 41] Operation: 46-5=41\nExploring Operation: 46-33=13, Resulting Numbers: [5, 13]\nGenerated Node #0,3,2: 17:[5, 13] Operation: 46-33=13\nExploring Operation: 33-5=28, Resulting Numbers: [46, 28]\nGenerated Node #0,3,3: 17:[46, 28] Operation: 33-5=28\nMoving to Node #0,1,0\nCurrent State: 17:[5, 13], Operations: ['46-41=5', '8+5=13']\nExploring Operation: 13-5=8, Resulting Numbers: [8]\n8,17 unequal: No Solution\nExploring Operation: 5*13=65, Resulting Numbers: [65]\n65,17 unequal: No Solution\nExploring Operation: 5+13=18, Resulting Numbers: [18]\n18,17 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 17:[8, 10], Operations: ['46-41=5', '5+5=10']\nExploring Operation: 10-8=2, Resulting Numbers: [2]\n2,17 unequal: No Solution\nExploring Operation: 8+10=18, Resulting Numbers: [18]\n18,17 unequal: No Solution\nExploring Operation: 8*10=80, Resulting Numbers: [80]\n80,17 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 17:[5, 13], Operations: ['41-8=33', '46-33=13']\nExploring Operation: 5+13=18, Resulting Numbers: [18]\n18,17 unequal: No Solution\nExploring Operation: 13-5=8, Resulting Numbers: [8]\n8,17 unequal: No Solution\nExploring Operation: 5*13=65, Resulting Numbers: [65]\n65,17 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 17:[5, 13], Operations: ['46-41=5', '8+5=13']\nExploring Operation: 5+13=18, Resulting Numbers: [18]\n18,17 unequal: No Solution\nExploring Operation: 13-5=8, Resulting Numbers: [8]\n8,17 unequal: No Solution\nExploring Operation: 5*13=65, Resulting Numbers: [65]\n65,17 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 17:[18], Operations: ['46-41=5', '8+5=13', '5+13=18']\nMoving to Node #0,1,3,0\nCurrent State: 17:[18], Operations: ['46-41=5', '5+5=10', '8+10=18']\nMoving to Node #0,1,2,0\nCurrent State: 17:[18], Operations: ['46-41=5', '8+5=13', '5+13=18']\nMoving to Node #0,3,2,0\nCurrent State: 17:[18], Operations: ['41-8=33', '46-33=13', '5+13=18']\nMoving to Node #0,1,1\nCurrent State: 17:[8, 25], Operations: ['46-41=5', '5*5=25']\nExploring Operation: 8+25=33, Resulting Numbers: [33]\n33,17 unequal: No Solution\nExploring Operation: 25-8=17, Resulting Numbers: [17]\n17,17 equal: Goal Reached\n", "role": "assistant" } ]
[ 69, 94, 50, 43 ]
70
[ "69+94=163", "50+43=93", "163-93=70" ]
Current State: 70:[69, 94, 50, 43], Operations: [] Exploring Operation: 50+43=93, Resulting Numbers: [69, 94, 93] Generated Node #0,0: 70:[69, 94, 93] Operation: 50+43=93 Exploring Operation: 69-43=26, Resulting Numbers: [94, 50, 26] Generated Node #0,1: 70:[94, 50, 26] Operation: 69-43=26 Exploring Operation: 94-43=51, Resulting Numbers: [69, 50, 51] Generated Node #0,2: 70:[69, 50, 51] Operation: 94-43=51 Exploring Operation: 94-50=44, Resulting Numbers: [69, 43, 44] Generated Node #0,3: 70:[69, 43, 44] Operation: 94-50=44 Exploring Operation: 69+43=112, Resulting Numbers: [94, 50, 112] Generated Node #0,4: 70:[94, 50, 112] Operation: 69+43=112 Moving to Node #0,2 Current State: 70:[69, 50, 51], Operations: ['94-43=51'] Exploring Operation: 51-50=1, Resulting Numbers: [69, 1] Generated Node #0,2,0: 70:[69, 1] Operation: 51-50=1 Exploring Operation: 50+51=101, Resulting Numbers: [69, 101] Generated Node #0,2,1: 70:[69, 101] Operation: 50+51=101 Exploring Operation: 69+51=120, Resulting Numbers: [50, 120] Generated Node #0,2,2: 70:[50, 120] Operation: 69+51=120 Exploring Operation: 69+50=119, Resulting Numbers: [51, 119] Generated Node #0,2,3: 70:[51, 119] Operation: 69+50=119 Exploring Operation: 69-50=19, Resulting Numbers: [51, 19] Generated Node #0,2,4: 70:[51, 19] Operation: 69-50=19 Moving to Node #0,0 Current State: 70:[69, 94, 93], Operations: ['50+43=93'] Exploring Operation: 94-69=25, Resulting Numbers: [93, 25] Generated Node #0,0,0: 70:[93, 25] Operation: 94-69=25 Exploring Operation: 69+94=163, Resulting Numbers: [93, 163] Generated Node #0,0,1: 70:[93, 163] Operation: 69+94=163 Exploring Operation: 69+93=162, Resulting Numbers: [94, 162] Generated Node #0,0,2: 70:[94, 162] Operation: 69+93=162 Exploring Operation: 94-93=1, Resulting Numbers: [69, 1] Generated Node #0,0,3: 70:[69, 1] Operation: 94-93=1 Exploring Operation: 93-69=24, Resulting Numbers: [94, 24] Generated Node #0,0,4: 70:[94, 24] Operation: 93-69=24 Moving to Node #0,3 Current State: 70:[69, 43, 44], Operations: ['94-50=44'] Exploring Operation: 43+44=87, Resulting Numbers: [69, 87] Generated Node #0,3,0: 70:[69, 87] Operation: 43+44=87 Exploring Operation: 69+44=113, Resulting Numbers: [43, 113] Generated Node #0,3,1: 70:[43, 113] Operation: 69+44=113 Exploring Operation: 69-43=26, Resulting Numbers: [44, 26] Generated Node #0,3,2: 70:[44, 26] Operation: 69-43=26 Exploring Operation: 44-43=1, Resulting Numbers: [69, 1] Generated Node #0,3,3: 70:[69, 1] Operation: 44-43=1 Exploring Operation: 69+43=112, Resulting Numbers: [44, 112] Generated Node #0,3,4: 70:[44, 112] Operation: 69+43=112 Moving to Node #0,4 Current State: 70:[94, 50, 112], Operations: ['69+43=112'] Exploring Operation: 50+112=162, Resulting Numbers: [94, 162] Generated Node #0,4,0: 70:[94, 162] Operation: 50+112=162 Exploring Operation: 112-50=62, Resulting Numbers: [94, 62] Generated Node #0,4,1: 70:[94, 62] Operation: 112-50=62 Exploring Operation: 112-94=18, Resulting Numbers: [50, 18] Generated Node #0,4,2: 70:[50, 18] Operation: 112-94=18 Exploring Operation: 94-50=44, Resulting Numbers: [112, 44] Generated Node #0,4,3: 70:[112, 44] Operation: 94-50=44 Exploring Operation: 94+50=144, Resulting Numbers: [112, 144] Generated Node #0,4,4: 70:[112, 144] Operation: 94+50=144 Moving to Node #0,1 Current State: 70:[94, 50, 26], Operations: ['69-43=26'] Exploring Operation: 50+26=76, Resulting Numbers: [94, 76] Generated Node #0,1,0: 70:[94, 76] Operation: 50+26=76 Exploring Operation: 94-50=44, Resulting Numbers: [26, 44] Generated Node #0,1,1: 70:[26, 44] Operation: 94-50=44 Exploring Operation: 94+26=120, Resulting Numbers: [50, 120] Generated Node #0,1,2: 70:[50, 120] Operation: 94+26=120 Exploring Operation: 94-26=68, Resulting Numbers: [50, 68] Generated Node #0,1,3: 70:[50, 68] Operation: 94-26=68 Exploring Operation: 50-26=24, Resulting Numbers: [94, 24] Generated Node #0,1,4: 70:[94, 24] Operation: 50-26=24 Moving to Node #0,3,0 Current State: 70:[69, 87], Operations: ['94-50=44', '43+44=87'] Exploring Operation: 69+87=156, Resulting Numbers: [156] 156,70 unequal: No Solution Exploring Operation: 87-69=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 69*87=6003, Resulting Numbers: [6003] 6003,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[50, 68], Operations: ['69-43=26', '94-26=68'] Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,70 unequal: No Solution Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,70 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[94, 76], Operations: ['69-43=26', '50+26=76'] Exploring Operation: 94+76=170, Resulting Numbers: [170] 170,70 unequal: No Solution Exploring Operation: 94*76=7144, Resulting Numbers: [7144] 7144,70 unequal: No Solution Exploring Operation: 94-76=18, Resulting Numbers: [18] 18,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[69, 101], Operations: ['94-43=51', '50+51=101'] Exploring Operation: 101-69=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 69*101=6969, Resulting Numbers: [6969] 6969,70 unequal: No Solution Exploring Operation: 69+101=170, Resulting Numbers: [170] 170,70 unequal: No Solution Moving to Node #0,4,1 Current State: 70:[94, 62], Operations: ['69+43=112', '112-50=62'] Exploring Operation: 94*62=5828, Resulting Numbers: [5828] 5828,70 unequal: No Solution Exploring Operation: 94+62=156, Resulting Numbers: [156] 156,70 unequal: No Solution Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[93, 25], Operations: ['50+43=93', '94-69=25'] Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 93*25=2325, Resulting Numbers: [2325] 2325,70 unequal: No Solution Exploring Operation: 93+25=118, Resulting Numbers: [118] 118,70 unequal: No Solution Moving to Node #0,3,4 Current State: 70:[44, 112], Operations: ['94-50=44', '69+43=112'] Exploring Operation: 44+112=156, Resulting Numbers: [156] 156,70 unequal: No Solution Exploring Operation: 44*112=4928, Resulting Numbers: [4928] 4928,70 unequal: No Solution Exploring Operation: 112-44=68, Resulting Numbers: [68] 68,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[51, 119], Operations: ['94-43=51', '69+50=119'] Exploring Operation: 51*119=6069, Resulting Numbers: [6069] 6069,70 unequal: No Solution Exploring Operation: 51+119=170, Resulting Numbers: [170] 170,70 unequal: No Solution Exploring Operation: 119-51=68, Resulting Numbers: [68] 68,70 unequal: No Solution Moving to Node #0,4,3 Current State: 70:[112, 44], Operations: ['69+43=112', '94-50=44'] Exploring Operation: 112*44=4928, Resulting Numbers: [4928] 4928,70 unequal: No Solution Exploring Operation: 112+44=156, Resulting Numbers: [156] 156,70 unequal: No Solution Exploring Operation: 112-44=68, Resulting Numbers: [68] 68,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[69, 1], Operations: ['50+43=93', '94-93=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.946181
bfs_5
Current State: 70:[69, 94, 50, 43], Operations: [] Exploring Operation: 69+94=163, Resulting Numbers: [50, 43, 163] Generated Node #2: [50, 43, 163] from Operation: 69+94=163 Current State: 70:[50, 43, 163], Operations: ['69+94=163'] Exploring Operation: 50+43=93, Resulting Numbers: [163, 93] Generated Node #3: [163, 93] from Operation: 50+43=93 Current State: 70:[163, 93], Operations: ['69+94=163', '50+43=93'] Exploring Operation: 163-93=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
sum_heuristic
[ { "content": "Make 70 with the numbers [69, 94, 50, 43] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 70:[69, 94, 50, 43], Operations: []\nExploring Operation: 50+43=93, Resulting Numbers: [69, 94, 93]\nGenerated Node #0,0: 70:[69, 94, 93] Operation: 50+43=93\nExploring Operation: 69-43=26, Resulting Numbers: [94, 50, 26]\nGenerated Node #0,1: 70:[94, 50, 26] Operation: 69-43=26\nExploring Operation: 94-43=51, Resulting Numbers: [69, 50, 51]\nGenerated Node #0,2: 70:[69, 50, 51] Operation: 94-43=51\nExploring Operation: 94-50=44, Resulting Numbers: [69, 43, 44]\nGenerated Node #0,3: 70:[69, 43, 44] Operation: 94-50=44\nExploring Operation: 69+43=112, Resulting Numbers: [94, 50, 112]\nGenerated Node #0,4: 70:[94, 50, 112] Operation: 69+43=112\nMoving to Node #0,2\nCurrent State: 70:[69, 50, 51], Operations: ['94-43=51']\nExploring Operation: 51-50=1, Resulting Numbers: [69, 1]\nGenerated Node #0,2,0: 70:[69, 1] Operation: 51-50=1\nExploring Operation: 50+51=101, Resulting Numbers: [69, 101]\nGenerated Node #0,2,1: 70:[69, 101] Operation: 50+51=101\nExploring Operation: 69+51=120, Resulting Numbers: [50, 120]\nGenerated Node #0,2,2: 70:[50, 120] Operation: 69+51=120\nExploring Operation: 69+50=119, Resulting Numbers: [51, 119]\nGenerated Node #0,2,3: 70:[51, 119] Operation: 69+50=119\nExploring Operation: 69-50=19, Resulting Numbers: [51, 19]\nGenerated Node #0,2,4: 70:[51, 19] Operation: 69-50=19\nMoving to Node #0,0\nCurrent State: 70:[69, 94, 93], Operations: ['50+43=93']\nExploring Operation: 94-69=25, Resulting Numbers: [93, 25]\nGenerated Node #0,0,0: 70:[93, 25] Operation: 94-69=25\nExploring Operation: 69+94=163, Resulting Numbers: [93, 163]\nGenerated Node #0,0,1: 70:[93, 163] Operation: 69+94=163\nExploring Operation: 69+93=162, Resulting Numbers: [94, 162]\nGenerated Node #0,0,2: 70:[94, 162] Operation: 69+93=162\nExploring Operation: 94-93=1, Resulting Numbers: [69, 1]\nGenerated Node #0,0,3: 70:[69, 1] Operation: 94-93=1\nExploring Operation: 93-69=24, Resulting Numbers: [94, 24]\nGenerated Node #0,0,4: 70:[94, 24] Operation: 93-69=24\nMoving to Node #0,3\nCurrent State: 70:[69, 43, 44], Operations: ['94-50=44']\nExploring Operation: 43+44=87, Resulting Numbers: [69, 87]\nGenerated Node #0,3,0: 70:[69, 87] Operation: 43+44=87\nExploring Operation: 69+44=113, Resulting Numbers: [43, 113]\nGenerated Node #0,3,1: 70:[43, 113] Operation: 69+44=113\nExploring Operation: 69-43=26, Resulting Numbers: [44, 26]\nGenerated Node #0,3,2: 70:[44, 26] Operation: 69-43=26\nExploring Operation: 44-43=1, Resulting Numbers: [69, 1]\nGenerated Node #0,3,3: 70:[69, 1] Operation: 44-43=1\nExploring Operation: 69+43=112, Resulting Numbers: [44, 112]\nGenerated Node #0,3,4: 70:[44, 112] Operation: 69+43=112\nMoving to Node #0,4\nCurrent State: 70:[94, 50, 112], Operations: ['69+43=112']\nExploring Operation: 50+112=162, Resulting Numbers: [94, 162]\nGenerated Node #0,4,0: 70:[94, 162] Operation: 50+112=162\nExploring Operation: 112-50=62, Resulting Numbers: [94, 62]\nGenerated Node #0,4,1: 70:[94, 62] Operation: 112-50=62\nExploring Operation: 112-94=18, Resulting Numbers: [50, 18]\nGenerated Node #0,4,2: 70:[50, 18] Operation: 112-94=18\nExploring Operation: 94-50=44, Resulting Numbers: [112, 44]\nGenerated Node #0,4,3: 70:[112, 44] Operation: 94-50=44\nExploring Operation: 94+50=144, Resulting Numbers: [112, 144]\nGenerated Node #0,4,4: 70:[112, 144] Operation: 94+50=144\nMoving to Node #0,1\nCurrent State: 70:[94, 50, 26], Operations: ['69-43=26']\nExploring Operation: 50+26=76, Resulting Numbers: [94, 76]\nGenerated Node #0,1,0: 70:[94, 76] Operation: 50+26=76\nExploring Operation: 94-50=44, Resulting Numbers: [26, 44]\nGenerated Node #0,1,1: 70:[26, 44] Operation: 94-50=44\nExploring Operation: 94+26=120, Resulting Numbers: [50, 120]\nGenerated Node #0,1,2: 70:[50, 120] Operation: 94+26=120\nExploring Operation: 94-26=68, Resulting Numbers: [50, 68]\nGenerated Node #0,1,3: 70:[50, 68] Operation: 94-26=68\nExploring Operation: 50-26=24, Resulting Numbers: [94, 24]\nGenerated Node #0,1,4: 70:[94, 24] Operation: 50-26=24\nMoving to Node #0,3,0\nCurrent State: 70:[69, 87], Operations: ['94-50=44', '43+44=87']\nExploring Operation: 69+87=156, Resulting Numbers: [156]\n156,70 unequal: No Solution\nExploring Operation: 87-69=18, Resulting Numbers: [18]\n18,70 unequal: No Solution\nExploring Operation: 69*87=6003, Resulting Numbers: [6003]\n6003,70 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 70:[50, 68], Operations: ['69-43=26', '94-26=68']\nExploring Operation: 50+68=118, Resulting Numbers: [118]\n118,70 unequal: No Solution\nExploring Operation: 50*68=3400, Resulting Numbers: [3400]\n3400,70 unequal: No Solution\nExploring Operation: 68-50=18, Resulting Numbers: [18]\n18,70 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 70:[94, 76], Operations: ['69-43=26', '50+26=76']\nExploring Operation: 94+76=170, Resulting Numbers: [170]\n170,70 unequal: No Solution\nExploring Operation: 94*76=7144, Resulting Numbers: [7144]\n7144,70 unequal: No Solution\nExploring Operation: 94-76=18, Resulting Numbers: [18]\n18,70 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 70:[69, 101], Operations: ['94-43=51', '50+51=101']\nExploring Operation: 101-69=32, Resulting Numbers: [32]\n32,70 unequal: No Solution\nExploring Operation: 69*101=6969, Resulting Numbers: [6969]\n6969,70 unequal: No Solution\nExploring Operation: 69+101=170, Resulting Numbers: [170]\n170,70 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 70:[94, 62], Operations: ['69+43=112', '112-50=62']\nExploring Operation: 94*62=5828, Resulting Numbers: [5828]\n5828,70 unequal: No Solution\nExploring Operation: 94+62=156, Resulting Numbers: [156]\n156,70 unequal: No Solution\nExploring Operation: 94-62=32, Resulting Numbers: [32]\n32,70 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 70:[93, 25], Operations: ['50+43=93', '94-69=25']\nExploring Operation: 93-25=68, Resulting Numbers: [68]\n68,70 unequal: No Solution\nExploring Operation: 93*25=2325, Resulting Numbers: [2325]\n2325,70 unequal: No Solution\nExploring Operation: 93+25=118, Resulting Numbers: [118]\n118,70 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 70:[44, 112], Operations: ['94-50=44', '69+43=112']\nExploring Operation: 44+112=156, Resulting Numbers: [156]\n156,70 unequal: No Solution\nExploring Operation: 44*112=4928, Resulting Numbers: [4928]\n4928,70 unequal: No Solution\nExploring Operation: 112-44=68, Resulting Numbers: [68]\n68,70 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 70:[51, 119], Operations: ['94-43=51', '69+50=119']\nExploring Operation: 51*119=6069, Resulting Numbers: [6069]\n6069,70 unequal: No Solution\nExploring Operation: 51+119=170, Resulting Numbers: [170]\n170,70 unequal: No Solution\nExploring Operation: 119-51=68, Resulting Numbers: [68]\n68,70 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 70:[112, 44], Operations: ['69+43=112', '94-50=44']\nExploring Operation: 112*44=4928, Resulting Numbers: [4928]\n4928,70 unequal: No Solution\nExploring Operation: 112+44=156, Resulting Numbers: [156]\n156,70 unequal: No Solution\nExploring Operation: 112-44=68, Resulting Numbers: [68]\n68,70 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 70:[69, 1], Operations: ['50+43=93', '94-93=1']\nExploring Operation: 69*1=69, Resulting Numbers: [69]\n69,70 unequal: No Solution\nExploring Operation: 69/1=69, Resulting Numbers: [69]\n69,70 unequal: No Solution\nExploring Operation: 69-1=68, Resulting Numbers: [68]\n68,70 unequal: No Solution\nExploring Operation: 69+1=70, Resulting Numbers: [70]\n70,70 equal: Goal Reached\n", "role": "assistant" } ]
[ 70, 79, 67, 59 ]
60
[ "70-67=3", "79-59=20", "3*20=60" ]
Current State: 60:[70, 79, 67, 59], Operations: [] Exploring Operation: 79-59=20, Resulting Numbers: [70, 67, 20] Generated Node #0,0: 60:[70, 67, 20] Operation: 79-59=20 Moving to Node #0,0 Current State: 60:[70, 67, 20], Operations: ['79-59=20'] Exploring Operation: 70-20=50, Resulting Numbers: [67, 50] Generated Node #0,0,0: 60:[67, 50] Operation: 70-20=50 Moving to Node #0,0,0 Current State: 60:[67, 50], Operations: ['79-59=20', '70-20=50'] Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[67, 50], Operations: ['79-59=20', '70-20=50'] Exploring Operation: 67+50=117, Resulting Numbers: [117] 117,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[70, 67, 20], Operations: ['79-59=20'] Exploring Operation: 67-20=47, Resulting Numbers: [70, 47] Generated Node #0,0,1: 60:[70, 47] Operation: 67-20=47 Moving to Node #0,0,1 Current State: 60:[70, 47], Operations: ['79-59=20', '67-20=47'] Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[70, 47], Operations: ['79-59=20', '67-20=47'] Exploring Operation: 70+47=117, Resulting Numbers: [117] 117,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[70, 67, 20], Operations: ['79-59=20'] Exploring Operation: 70+20=90, Resulting Numbers: [67, 90] Generated Node #0,0,2: 60:[67, 90] Operation: 70+20=90 Moving to Node #0,0,2 Current State: 60:[67, 90], Operations: ['79-59=20', '70+20=90'] Exploring Operation: 90-67=23, Resulting Numbers: [23] 23,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[70, 67, 20], Operations: ['79-59=20'] Exploring Operation: 67+20=87, Resulting Numbers: [70, 87] Generated Node #0,0,3: 60:[70, 87] Operation: 67+20=87 Moving to Node #0,0,3 Current State: 60:[70, 87], Operations: ['79-59=20', '67+20=87'] Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[70, 67, 20], Operations: ['79-59=20'] Exploring Operation: 70-67=3, Resulting Numbers: [20, 3] Generated Node #0,0,4: 60:[20, 3] Operation: 70-67=3 Moving to Node #0,0,4 Current State: 60:[20, 3], Operations: ['79-59=20', '70-67=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.987847
dfs
Current State: 60:[70, 79, 67, 59], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [79, 59, 3] Generated Node #2: [79, 59, 3] from Operation: 70-67=3 Current State: 60:[79, 59, 3], Operations: ['70-67=3'] Exploring Operation: 79-59=20, Resulting Numbers: [3, 20] Generated Node #3: [3, 20] from Operation: 79-59=20 Current State: 60:[3, 20], Operations: ['70-67=3', '79-59=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
sum_heuristic
[ { "content": "Make 60 with the numbers [70, 79, 67, 59] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 60:[70, 79, 67, 59], Operations: []\nExploring Operation: 79-59=20, Resulting Numbers: [70, 67, 20]\nGenerated Node #0,0: 60:[70, 67, 20] Operation: 79-59=20\nMoving to Node #0,0\nCurrent State: 60:[70, 67, 20], Operations: ['79-59=20']\nExploring Operation: 70-20=50, Resulting Numbers: [67, 50]\nGenerated Node #0,0,0: 60:[67, 50] Operation: 70-20=50\nMoving to Node #0,0,0\nCurrent State: 60:[67, 50], Operations: ['79-59=20', '70-20=50']\nExploring Operation: 67-50=17, Resulting Numbers: [17]\n17,60 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 60:[67, 50], Operations: ['79-59=20', '70-20=50']\nExploring Operation: 67+50=117, Resulting Numbers: [117]\n117,60 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 60:[70, 67, 20], Operations: ['79-59=20']\nExploring Operation: 67-20=47, Resulting Numbers: [70, 47]\nGenerated Node #0,0,1: 60:[70, 47] Operation: 67-20=47\nMoving to Node #0,0,1\nCurrent State: 60:[70, 47], Operations: ['79-59=20', '67-20=47']\nExploring Operation: 70-47=23, Resulting Numbers: [23]\n23,60 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 60:[70, 47], Operations: ['79-59=20', '67-20=47']\nExploring Operation: 70+47=117, Resulting Numbers: [117]\n117,60 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 60:[70, 67, 20], Operations: ['79-59=20']\nExploring Operation: 70+20=90, Resulting Numbers: [67, 90]\nGenerated Node #0,0,2: 60:[67, 90] Operation: 70+20=90\nMoving to Node #0,0,2\nCurrent State: 60:[67, 90], Operations: ['79-59=20', '70+20=90']\nExploring Operation: 90-67=23, Resulting Numbers: [23]\n23,60 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 60:[70, 67, 20], Operations: ['79-59=20']\nExploring Operation: 67+20=87, Resulting Numbers: [70, 87]\nGenerated Node #0,0,3: 60:[70, 87] Operation: 67+20=87\nMoving to Node #0,0,3\nCurrent State: 60:[70, 87], Operations: ['79-59=20', '67+20=87']\nExploring Operation: 87-70=17, Resulting Numbers: [17]\n17,60 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 60:[70, 67, 20], Operations: ['79-59=20']\nExploring Operation: 70-67=3, Resulting Numbers: [20, 3]\nGenerated Node #0,0,4: 60:[20, 3] Operation: 70-67=3\nMoving to Node #0,0,4\nCurrent State: 60:[20, 3], Operations: ['79-59=20', '70-67=3']\nExploring Operation: 20*3=60, Resulting Numbers: [60]\n60,60 equal: Goal Reached\n", "role": "assistant" } ]
[ 92, 45, 56, 21 ]
28
[ "45*56=2520", "2520/21=120", "120-92=28" ]
Current State: 28:[92, 45, 56, 21], Operations: [] Exploring Operation: 92-56=36, Resulting Numbers: [45, 21, 36] Generated Node #0,0: 28:[45, 21, 36] Operation: 92-56=36 Exploring Operation: 92-45=47, Resulting Numbers: [56, 21, 47] Generated Node #0,1: 28:[56, 21, 47] Operation: 92-45=47 Exploring Operation: 92-21=71, Resulting Numbers: [45, 56, 71] Generated Node #0,2: 28:[45, 56, 71] Operation: 92-21=71 Moving to Node #0,0 Current State: 28:[45, 21, 36], Operations: ['92-56=36'] Exploring Operation: 45-36=9, Resulting Numbers: [21, 9] Generated Node #0,0,0: 28:[21, 9] Operation: 45-36=9 Exploring Operation: 45-21=24, Resulting Numbers: [36, 24] Generated Node #0,0,1: 28:[36, 24] Operation: 45-21=24 Exploring Operation: 36-21=15, Resulting Numbers: [45, 15] Generated Node #0,0,2: 28:[45, 15] Operation: 36-21=15 Moving to Node #0,1 Current State: 28:[56, 21, 47], Operations: ['92-45=47'] Exploring Operation: 56-21=35, Resulting Numbers: [47, 35] Generated Node #0,1,0: 28:[47, 35] Operation: 56-21=35 Exploring Operation: 47-21=26, Resulting Numbers: [56, 26] Generated Node #0,1,1: 28:[56, 26] Operation: 47-21=26 Exploring Operation: 56-47=9, Resulting Numbers: [21, 9] Generated Node #0,1,2: 28:[21, 9] Operation: 56-47=9 Moving to Node #0,2 Current State: 28:[45, 56, 71], Operations: ['92-21=71'] Exploring Operation: 71-45=26, Resulting Numbers: [56, 26] Generated Node #0,2,0: 28:[56, 26] Operation: 71-45=26 Exploring Operation: 56-45=11, Resulting Numbers: [71, 11] Generated Node #0,2,1: 28:[71, 11] Operation: 56-45=11 Exploring Operation: 71-56=15, Resulting Numbers: [45, 15] Generated Node #0,2,2: 28:[45, 15] Operation: 71-56=15 Moving to Node #0,0,1 Current State: 28:[36, 24], Operations: ['92-56=36', '45-21=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,28 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[21, 9], Operations: ['92-56=36', '45-36=9'] Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,28 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[21, 9], Operations: ['92-45=47', '56-47=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,28 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,28 unequal: No Solution Moving to Node #0,0,0,0 Current State: 28:[30], Operations: ['92-56=36', '45-36=9', '21+9=30'] Moving to Node #0,1,2,0 Current State: 28:[30], Operations: ['92-45=47', '56-47=9', '21+9=30'] Moving to Node #0,1,0 Current State: 28:[47, 35], Operations: ['92-45=47', '56-21=35'] Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[45, 15], Operations: ['92-56=36', '36-21=15'] Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[56, 26], Operations: ['92-45=47', '47-21=26'] Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,28 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[45, 15], Operations: ['92-21=71', '71-56=15'] Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,28 unequal: No Solution Moving to Node #0,0,2,0 Current State: 28:[30], Operations: ['92-56=36', '36-21=15', '45-15=30'] Moving to Node #0,1,1,0 Current State: 28:[30], Operations: ['92-45=47', '47-21=26', '56-26=30'] Moving to Node #0,2,2,0 Current State: 28:[30], Operations: ['92-21=71', '71-56=15', '45-15=30'] Moving to Node #0,2,0 Current State: 28:[56, 26], Operations: ['92-21=71', '71-45=26'] Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,28 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,28 unequal: No Solution Moving to Node #0,0,1,0 Current State: 28:[12], Operations: ['92-56=36', '45-21=24', '36-24=12'] Moving to Node #0,1,0,0 Current State: 28:[12], Operations: ['92-45=47', '56-21=35', '47-35=12'] Moving to Node #0,2,0,0 Current State: 28:[30], Operations: ['92-21=71', '71-45=26', '56-26=30'] Moving to Node #0,1,2,0 Current State: 28:[12], Operations: ['92-45=47', '56-47=9', '21-9=12'] Moving to Node #0,0,0,0 Current State: 28:[12], Operations: ['92-56=36', '45-36=9', '21-9=12'] Moving to Node #0,0,2,0 Current State: 28:[3], Operations: ['92-56=36', '36-21=15', '45/15=3'] Moving to Node #0,2,2,0 Current State: 28:[3], Operations: ['92-21=71', '71-56=15', '45/15=3'] Moving to Node #0,2,1 Current State: 28:[71, 11], Operations: ['92-21=71', '56-45=11'] Exploring Operation: 71*11=781, Resulting Numbers: [781] 781,28 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,28 unequal: No Solution Moving to Node #0,0,2,0 Current State: 28:[60], Operations: ['92-56=36', '36-21=15', '45+15=60'] Moving to Node #0,2,1,0 Current State: 28:[60], Operations: ['92-21=71', '56-45=11', '71-11=60'] Moving to Node #0,2,2,0 Current State: 28:[60], Operations: ['92-21=71', '71-56=15', '45+15=60'] Moving to Node #0,0,1,0 Current State: 28:[60], Operations: ['92-56=36', '45-21=24', '36+24=60'] Moving to Node #0,2,1,0 Current State: 28:[82], Operations: ['92-21=71', '56-45=11', '71+11=82'] Moving to Node #0,1,1,0 Current State: 28:[82], Operations: ['92-45=47', '47-21=26', '56+26=82'] Moving to Node #0,2,0,0 Current State: 28:[82], Operations: ['92-21=71', '71-45=26', '56+26=82'] Moving to Node #0,1,0,0 Current State: 28:[82], Operations: ['92-45=47', '56-21=35', '47+35=82'] Moving to Node #0,1,2,0 Current State: 28:[189], Operations: ['92-45=47', '56-47=9', '21*9=189'] Moving to Node #0,0,0,0 Current State: 28:[189], Operations: ['92-56=36', '45-36=9', '21*9=189'] Moving to Node #0,2,1,0 Current State: 28:[781], Operations: ['92-21=71', '56-45=11', '71*11=781'] Moving to Node #0,0,1,0 Current State: 28:[864], Operations: ['92-56=36', '45-21=24', '36*24=864'] Moving to Node #0,1,1,0 Current State: 28:[1456], Operations: ['92-45=47', '47-21=26', '56*26=1456'] Moving to Node #0,2,0,0 Current State: 28:[1456], Operations: ['92-21=71', '71-45=26', '56*26=1456'] Moving to Node #0,1,0,0 Current State: 28:[1645], Operations: ['92-45=47', '56-21=35', '47*35=1645'] No solution found.
0
bfs_3
Current State: 28:[92, 45, 56, 21], Operations: [] Exploring Operation: 45*56=2520, Resulting Numbers: [92, 21, 2520] Generated Node #2: [92, 21, 2520] from Operation: 45*56=2520 Current State: 28:[92, 21, 2520], Operations: ['45*56=2520'] Exploring Operation: 2520/21=120, Resulting Numbers: [92, 120] Generated Node #3: [92, 120] from Operation: 2520/21=120 Current State: 28:[92, 120], Operations: ['45*56=2520', '2520/21=120'] Exploring Operation: 120-92=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
sum_heuristic
[ { "content": "Make 28 with the numbers [92, 45, 56, 21] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 28:[92, 45, 56, 21], Operations: []\nExploring Operation: 92-56=36, Resulting Numbers: [45, 21, 36]\nGenerated Node #0,0: 28:[45, 21, 36] Operation: 92-56=36\nExploring Operation: 92-45=47, Resulting Numbers: [56, 21, 47]\nGenerated Node #0,1: 28:[56, 21, 47] Operation: 92-45=47\nExploring Operation: 92-21=71, Resulting Numbers: [45, 56, 71]\nGenerated Node #0,2: 28:[45, 56, 71] Operation: 92-21=71\nMoving to Node #0,0\nCurrent State: 28:[45, 21, 36], Operations: ['92-56=36']\nExploring Operation: 45-36=9, Resulting Numbers: [21, 9]\nGenerated Node #0,0,0: 28:[21, 9] Operation: 45-36=9\nExploring Operation: 45-21=24, Resulting Numbers: [36, 24]\nGenerated Node #0,0,1: 28:[36, 24] Operation: 45-21=24\nExploring Operation: 36-21=15, Resulting Numbers: [45, 15]\nGenerated Node #0,0,2: 28:[45, 15] Operation: 36-21=15\nMoving to Node #0,1\nCurrent State: 28:[56, 21, 47], Operations: ['92-45=47']\nExploring Operation: 56-21=35, Resulting Numbers: [47, 35]\nGenerated Node #0,1,0: 28:[47, 35] Operation: 56-21=35\nExploring Operation: 47-21=26, Resulting Numbers: [56, 26]\nGenerated Node #0,1,1: 28:[56, 26] Operation: 47-21=26\nExploring Operation: 56-47=9, Resulting Numbers: [21, 9]\nGenerated Node #0,1,2: 28:[21, 9] Operation: 56-47=9\nMoving to Node #0,2\nCurrent State: 28:[45, 56, 71], Operations: ['92-21=71']\nExploring Operation: 71-45=26, Resulting Numbers: [56, 26]\nGenerated Node #0,2,0: 28:[56, 26] Operation: 71-45=26\nExploring Operation: 56-45=11, Resulting Numbers: [71, 11]\nGenerated Node #0,2,1: 28:[71, 11] Operation: 56-45=11\nExploring Operation: 71-56=15, Resulting Numbers: [45, 15]\nGenerated Node #0,2,2: 28:[45, 15] Operation: 71-56=15\nMoving to Node #0,0,1\nCurrent State: 28:[36, 24], Operations: ['92-56=36', '45-21=24']\nExploring Operation: 36+24=60, Resulting Numbers: [60]\n60,28 unequal: No Solution\nExploring Operation: 36*24=864, Resulting Numbers: [864]\n864,28 unequal: No Solution\nExploring Operation: 36-24=12, Resulting Numbers: [12]\n12,28 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 28:[21, 9], Operations: ['92-56=36', '45-36=9']\nExploring Operation: 21*9=189, Resulting Numbers: [189]\n189,28 unequal: No Solution\nExploring Operation: 21-9=12, Resulting Numbers: [12]\n12,28 unequal: No Solution\nExploring Operation: 21+9=30, Resulting Numbers: [30]\n30,28 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 28:[21, 9], Operations: ['92-45=47', '56-47=9']\nExploring Operation: 21-9=12, Resulting Numbers: [12]\n12,28 unequal: No Solution\nExploring Operation: 21*9=189, Resulting Numbers: [189]\n189,28 unequal: No Solution\nExploring Operation: 21+9=30, Resulting Numbers: [30]\n30,28 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 28:[30], Operations: ['92-56=36', '45-36=9', '21+9=30']\nMoving to Node #0,1,2,0\nCurrent State: 28:[30], Operations: ['92-45=47', '56-47=9', '21+9=30']\nMoving to Node #0,1,0\nCurrent State: 28:[47, 35], Operations: ['92-45=47', '56-21=35']\nExploring Operation: 47+35=82, Resulting Numbers: [82]\n82,28 unequal: No Solution\nExploring Operation: 47-35=12, Resulting Numbers: [12]\n12,28 unequal: No Solution\nExploring Operation: 47*35=1645, Resulting Numbers: [1645]\n1645,28 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 28:[45, 15], Operations: ['92-56=36', '36-21=15']\nExploring Operation: 45-15=30, Resulting Numbers: [30]\n30,28 unequal: No Solution\nExploring Operation: 45/15=3, Resulting Numbers: [3]\n3,28 unequal: No Solution\nExploring Operation: 45+15=60, Resulting Numbers: [60]\n60,28 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 28:[56, 26], Operations: ['92-45=47', '47-21=26']\nExploring Operation: 56*26=1456, Resulting Numbers: [1456]\n1456,28 unequal: No Solution\nExploring Operation: 56-26=30, Resulting Numbers: [30]\n30,28 unequal: No Solution\nExploring Operation: 56+26=82, Resulting Numbers: [82]\n82,28 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 28:[45, 15], Operations: ['92-21=71', '71-56=15']\nExploring Operation: 45/15=3, Resulting Numbers: [3]\n3,28 unequal: No Solution\nExploring Operation: 45+15=60, Resulting Numbers: [60]\n60,28 unequal: No Solution\nExploring Operation: 45-15=30, Resulting Numbers: [30]\n30,28 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 28:[30], Operations: ['92-56=36', '36-21=15', '45-15=30']\nMoving to Node #0,1,1,0\nCurrent State: 28:[30], Operations: ['92-45=47', '47-21=26', '56-26=30']\nMoving to Node #0,2,2,0\nCurrent State: 28:[30], Operations: ['92-21=71', '71-56=15', '45-15=30']\nMoving to Node #0,2,0\nCurrent State: 28:[56, 26], Operations: ['92-21=71', '71-45=26']\nExploring Operation: 56+26=82, Resulting Numbers: [82]\n82,28 unequal: No Solution\nExploring Operation: 56*26=1456, Resulting Numbers: [1456]\n1456,28 unequal: No Solution\nExploring Operation: 56-26=30, Resulting Numbers: [30]\n30,28 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 28:[12], Operations: ['92-56=36', '45-21=24', '36-24=12']\nMoving to Node #0,1,0,0\nCurrent State: 28:[12], Operations: ['92-45=47', '56-21=35', '47-35=12']\nMoving to Node #0,2,0,0\nCurrent State: 28:[30], Operations: ['92-21=71', '71-45=26', '56-26=30']\nMoving to Node #0,1,2,0\nCurrent State: 28:[12], Operations: ['92-45=47', '56-47=9', '21-9=12']\nMoving to Node #0,0,0,0\nCurrent State: 28:[12], Operations: ['92-56=36', '45-36=9', '21-9=12']\nMoving to Node #0,0,2,0\nCurrent State: 28:[3], Operations: ['92-56=36', '36-21=15', '45/15=3']\nMoving to Node #0,2,2,0\nCurrent State: 28:[3], Operations: ['92-21=71', '71-56=15', '45/15=3']\nMoving to Node #0,2,1\nCurrent State: 28:[71, 11], Operations: ['92-21=71', '56-45=11']\nExploring Operation: 71*11=781, Resulting Numbers: [781]\n781,28 unequal: No Solution\nExploring Operation: 71-11=60, Resulting Numbers: [60]\n60,28 unequal: No Solution\nExploring Operation: 71+11=82, Resulting Numbers: [82]\n82,28 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 28:[60], Operations: ['92-56=36', '36-21=15', '45+15=60']\nMoving to Node #0,2,1,0\nCurrent State: 28:[60], Operations: ['92-21=71', '56-45=11', '71-11=60']\nMoving to Node #0,2,2,0\nCurrent State: 28:[60], Operations: ['92-21=71', '71-56=15', '45+15=60']\nMoving to Node #0,0,1,0\nCurrent State: 28:[60], Operations: ['92-56=36', '45-21=24', '36+24=60']\nMoving to Node #0,2,1,0\nCurrent State: 28:[82], Operations: ['92-21=71', '56-45=11', '71+11=82']\nMoving to Node #0,1,1,0\nCurrent State: 28:[82], Operations: ['92-45=47', '47-21=26', '56+26=82']\nMoving to Node #0,2,0,0\nCurrent State: 28:[82], Operations: ['92-21=71', '71-45=26', '56+26=82']\nMoving to Node #0,1,0,0\nCurrent State: 28:[82], Operations: ['92-45=47', '56-21=35', '47+35=82']\nMoving to Node #0,1,2,0\nCurrent State: 28:[189], Operations: ['92-45=47', '56-47=9', '21*9=189']\nMoving to Node #0,0,0,0\nCurrent State: 28:[189], Operations: ['92-56=36', '45-36=9', '21*9=189']\nMoving to Node #0,2,1,0\nCurrent State: 28:[781], Operations: ['92-21=71', '56-45=11', '71*11=781']\nMoving to Node #0,0,1,0\nCurrent State: 28:[864], Operations: ['92-56=36', '45-21=24', '36*24=864']\nMoving to Node #0,1,1,0\nCurrent State: 28:[1456], Operations: ['92-45=47', '47-21=26', '56*26=1456']\nMoving to Node #0,2,0,0\nCurrent State: 28:[1456], Operations: ['92-21=71', '71-45=26', '56*26=1456']\nMoving to Node #0,1,0,0\nCurrent State: 28:[1645], Operations: ['92-45=47', '56-21=35', '47*35=1645']\nNo solution found.", "role": "assistant" } ]
[ 91, 9, 2, 65 ]
69
[ "91+65=156", "156/2=78", "78-9=69" ]
Current State: 69:[91, 9, 2, 65], Operations: [] Exploring Operation: 9*2=18, Resulting Numbers: [91, 65, 18] Generated Node #0,0: 69:[91, 65, 18] Operation: 9*2=18 Exploring Operation: 91-9=82, Resulting Numbers: [2, 65, 82] Generated Node #0,1: 69:[2, 65, 82] Operation: 91-9=82 Exploring Operation: 91-2=89, Resulting Numbers: [9, 65, 89] Generated Node #0,2: 69:[9, 65, 89] Operation: 91-2=89 Moving to Node #0,0 Current State: 69:[91, 65, 18], Operations: ['9*2=18'] Exploring Operation: 65+18=83, Resulting Numbers: [91, 83] Generated Node #0,0,0: 69:[91, 83] Operation: 65+18=83 Exploring Operation: 91-18=73, Resulting Numbers: [65, 73] Generated Node #0,0,1: 69:[65, 73] Operation: 91-18=73 Exploring Operation: 91+18=109, Resulting Numbers: [65, 109] Generated Node #0,0,2: 69:[65, 109] Operation: 91+18=109 Moving to Node #0,1 Current State: 69:[2, 65, 82], Operations: ['91-9=82'] Exploring Operation: 2+65=67, Resulting Numbers: [82, 67] Generated Node #0,1,0: 69:[82, 67] Operation: 2+65=67 Exploring Operation: 65-2=63, Resulting Numbers: [82, 63] Generated Node #0,1,1: 69:[82, 63] Operation: 65-2=63 Exploring Operation: 82-2=80, Resulting Numbers: [65, 80] Generated Node #0,1,2: 69:[65, 80] Operation: 82-2=80 Moving to Node #0,2 Current State: 69:[9, 65, 89], Operations: ['91-2=89'] Exploring Operation: 65-9=56, Resulting Numbers: [89, 56] Generated Node #0,2,0: 69:[89, 56] Operation: 65-9=56 Exploring Operation: 9+65=74, Resulting Numbers: [89, 74] Generated Node #0,2,1: 69:[89, 74] Operation: 9+65=74 Exploring Operation: 89-9=80, Resulting Numbers: [65, 80] Generated Node #0,2,2: 69:[65, 80] Operation: 89-9=80 Moving to Node #0,0,1 Current State: 69:[65, 73], Operations: ['9*2=18', '91-18=73'] Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,69 unequal: No Solution Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[65, 80], Operations: ['91-2=89', '89-9=80'] Exploring Operation: 65*80=5200, Resulting Numbers: [5200] 5200,69 unequal: No Solution Exploring Operation: 65+80=145, Resulting Numbers: [145] 145,69 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[82, 67], Operations: ['91-9=82', '2+65=67'] Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 82+67=149, Resulting Numbers: [149] 149,69 unequal: No Solution Exploring Operation: 82*67=5494, Resulting Numbers: [5494] 5494,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[65, 80], Operations: ['91-9=82', '82-2=80'] Exploring Operation: 65*80=5200, Resulting Numbers: [5200] 5200,69 unequal: No Solution Exploring Operation: 65+80=145, Resulting Numbers: [145] 145,69 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[82, 63], Operations: ['91-9=82', '65-2=63'] Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 82+63=145, Resulting Numbers: [145] 145,69 unequal: No Solution Exploring Operation: 82*63=5166, Resulting Numbers: [5166] 5166,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[89, 74], Operations: ['91-2=89', '9+65=74'] Exploring Operation: 89+74=163, Resulting Numbers: [163] 163,69 unequal: No Solution Exploring Operation: 89*74=6586, Resulting Numbers: [6586] 6586,69 unequal: No Solution Exploring Operation: 89-74=15, Resulting Numbers: [15] 15,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[89, 56], Operations: ['91-2=89', '65-9=56'] Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 89*56=4984, Resulting Numbers: [4984] 4984,69 unequal: No Solution Exploring Operation: 89+56=145, Resulting Numbers: [145] 145,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[91, 83], Operations: ['9*2=18', '65+18=83'] Exploring Operation: 91*83=7553, Resulting Numbers: [7553] 7553,69 unequal: No Solution Exploring Operation: 91+83=174, Resulting Numbers: [174] 174,69 unequal: No Solution Exploring Operation: 91-83=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[65, 109], Operations: ['9*2=18', '91+18=109'] Exploring Operation: 65+109=174, Resulting Numbers: [174] 174,69 unequal: No Solution Exploring Operation: 65*109=7085, Resulting Numbers: [7085] 7085,69 unequal: No Solution Exploring Operation: 109-65=44, Resulting Numbers: [44] 44,69 unequal: No Solution Moving to Node #0,0,2,0 Current State: 69:[44], Operations: ['9*2=18', '91+18=109', '109-65=44'] Moving to Node #0,2,0,0 Current State: 69:[33], Operations: ['91-2=89', '65-9=56', '89-56=33'] Moving to Node #0,1,1,0 Current State: 69:[19], Operations: ['91-9=82', '65-2=63', '82-63=19'] Moving to Node #0,1,0,0 Current State: 69:[15], Operations: ['91-9=82', '2+65=67', '82-67=15'] Moving to Node #0,1,2,0 Current State: 69:[15], Operations: ['91-9=82', '82-2=80', '80-65=15'] Moving to Node #0,2,2,0 Current State: 69:[15], Operations: ['91-2=89', '89-9=80', '80-65=15'] Moving to Node #0,2,1,0 Current State: 69:[15], Operations: ['91-2=89', '9+65=74', '89-74=15'] Moving to Node #0,0,1,0 Current State: 69:[8], Operations: ['9*2=18', '91-18=73', '73-65=8'] Moving to Node #0,0,0,0 Current State: 69:[8], Operations: ['9*2=18', '65+18=83', '91-83=8'] Moving to Node #0,0,1,0 Current State: 69:[138], Operations: ['9*2=18', '91-18=73', '65+73=138'] Moving to Node #0,1,2,0 Current State: 69:[145], Operations: ['91-9=82', '82-2=80', '65+80=145'] Moving to Node #0,2,2,0 Current State: 69:[145], Operations: ['91-2=89', '89-9=80', '65+80=145'] Moving to Node #0,2,0,0 Current State: 69:[145], Operations: ['91-2=89', '65-9=56', '89+56=145'] Moving to Node #0,1,1,0 Current State: 69:[145], Operations: ['91-9=82', '65-2=63', '82+63=145'] Moving to Node #0,1,0,0 Current State: 69:[149], Operations: ['91-9=82', '2+65=67', '82+67=149'] Moving to Node #0,2,1,0 Current State: 69:[163], Operations: ['91-2=89', '9+65=74', '89+74=163'] Moving to Node #0,0,2,0 Current State: 69:[174], Operations: ['9*2=18', '91+18=109', '65+109=174'] Moving to Node #0,0,0,0 Current State: 69:[174], Operations: ['9*2=18', '65+18=83', '91+83=174'] Moving to Node #0,0,1,0 Current State: 69:[4745], Operations: ['9*2=18', '91-18=73', '65*73=4745'] Moving to Node #0,2,0,0 Current State: 69:[4984], Operations: ['91-2=89', '65-9=56', '89*56=4984'] Moving to Node #0,1,1,0 Current State: 69:[5166], Operations: ['91-9=82', '65-2=63', '82*63=5166'] Moving to Node #0,2,2,0 Current State: 69:[5200], Operations: ['91-2=89', '89-9=80', '65*80=5200'] Moving to Node #0,1,2,0 Current State: 69:[5200], Operations: ['91-9=82', '82-2=80', '65*80=5200'] Moving to Node #0,1,0,0 Current State: 69:[5494], Operations: ['91-9=82', '2+65=67', '82*67=5494'] Moving to Node #0,2,1,0 Current State: 69:[6586], Operations: ['91-2=89', '9+65=74', '89*74=6586'] Moving to Node #0,0,2,0 Current State: 69:[7085], Operations: ['9*2=18', '91+18=109', '65*109=7085'] Moving to Node #0,0,0,0 Current State: 69:[7553], Operations: ['9*2=18', '65+18=83', '91*83=7553'] No solution found.
0
bfs_3
Current State: 69:[91, 9, 2, 65], Operations: [] Exploring Operation: 91+65=156, Resulting Numbers: [9, 2, 156] Generated Node #2: [9, 2, 156] from Operation: 91+65=156 Current State: 69:[9, 2, 156], Operations: ['91+65=156'] Exploring Operation: 156/2=78, Resulting Numbers: [9, 78] Generated Node #3: [9, 78] from Operation: 156/2=78 Current State: 69:[9, 78], Operations: ['91+65=156', '156/2=78'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
sum_heuristic
[ { "content": "Make 69 with the numbers [91, 9, 2, 65] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 69:[91, 9, 2, 65], Operations: []\nExploring Operation: 9*2=18, Resulting Numbers: [91, 65, 18]\nGenerated Node #0,0: 69:[91, 65, 18] Operation: 9*2=18\nExploring Operation: 91-9=82, Resulting Numbers: [2, 65, 82]\nGenerated Node #0,1: 69:[2, 65, 82] Operation: 91-9=82\nExploring Operation: 91-2=89, Resulting Numbers: [9, 65, 89]\nGenerated Node #0,2: 69:[9, 65, 89] Operation: 91-2=89\nMoving to Node #0,0\nCurrent State: 69:[91, 65, 18], Operations: ['9*2=18']\nExploring Operation: 65+18=83, Resulting Numbers: [91, 83]\nGenerated Node #0,0,0: 69:[91, 83] Operation: 65+18=83\nExploring Operation: 91-18=73, Resulting Numbers: [65, 73]\nGenerated Node #0,0,1: 69:[65, 73] Operation: 91-18=73\nExploring Operation: 91+18=109, Resulting Numbers: [65, 109]\nGenerated Node #0,0,2: 69:[65, 109] Operation: 91+18=109\nMoving to Node #0,1\nCurrent State: 69:[2, 65, 82], Operations: ['91-9=82']\nExploring Operation: 2+65=67, Resulting Numbers: [82, 67]\nGenerated Node #0,1,0: 69:[82, 67] Operation: 2+65=67\nExploring Operation: 65-2=63, Resulting Numbers: [82, 63]\nGenerated Node #0,1,1: 69:[82, 63] Operation: 65-2=63\nExploring Operation: 82-2=80, Resulting Numbers: [65, 80]\nGenerated Node #0,1,2: 69:[65, 80] Operation: 82-2=80\nMoving to Node #0,2\nCurrent State: 69:[9, 65, 89], Operations: ['91-2=89']\nExploring Operation: 65-9=56, Resulting Numbers: [89, 56]\nGenerated Node #0,2,0: 69:[89, 56] Operation: 65-9=56\nExploring Operation: 9+65=74, Resulting Numbers: [89, 74]\nGenerated Node #0,2,1: 69:[89, 74] Operation: 9+65=74\nExploring Operation: 89-9=80, Resulting Numbers: [65, 80]\nGenerated Node #0,2,2: 69:[65, 80] Operation: 89-9=80\nMoving to Node #0,0,1\nCurrent State: 69:[65, 73], Operations: ['9*2=18', '91-18=73']\nExploring Operation: 73-65=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nExploring Operation: 65*73=4745, Resulting Numbers: [4745]\n4745,69 unequal: No Solution\nExploring Operation: 65+73=138, Resulting Numbers: [138]\n138,69 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 69:[65, 80], Operations: ['91-2=89', '89-9=80']\nExploring Operation: 65*80=5200, Resulting Numbers: [5200]\n5200,69 unequal: No Solution\nExploring Operation: 65+80=145, Resulting Numbers: [145]\n145,69 unequal: No Solution\nExploring Operation: 80-65=15, Resulting Numbers: [15]\n15,69 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 69:[82, 67], Operations: ['91-9=82', '2+65=67']\nExploring Operation: 82-67=15, Resulting Numbers: [15]\n15,69 unequal: No Solution\nExploring Operation: 82+67=149, Resulting Numbers: [149]\n149,69 unequal: No Solution\nExploring Operation: 82*67=5494, Resulting Numbers: [5494]\n5494,69 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 69:[65, 80], Operations: ['91-9=82', '82-2=80']\nExploring Operation: 65*80=5200, Resulting Numbers: [5200]\n5200,69 unequal: No Solution\nExploring Operation: 65+80=145, Resulting Numbers: [145]\n145,69 unequal: No Solution\nExploring Operation: 80-65=15, Resulting Numbers: [15]\n15,69 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 69:[82, 63], Operations: ['91-9=82', '65-2=63']\nExploring Operation: 82-63=19, Resulting Numbers: [19]\n19,69 unequal: No Solution\nExploring Operation: 82+63=145, Resulting Numbers: [145]\n145,69 unequal: No Solution\nExploring Operation: 82*63=5166, Resulting Numbers: [5166]\n5166,69 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 69:[89, 74], Operations: ['91-2=89', '9+65=74']\nExploring Operation: 89+74=163, Resulting Numbers: [163]\n163,69 unequal: No Solution\nExploring Operation: 89*74=6586, Resulting Numbers: [6586]\n6586,69 unequal: No Solution\nExploring Operation: 89-74=15, Resulting Numbers: [15]\n15,69 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 69:[89, 56], Operations: ['91-2=89', '65-9=56']\nExploring Operation: 89-56=33, Resulting Numbers: [33]\n33,69 unequal: No Solution\nExploring Operation: 89*56=4984, Resulting Numbers: [4984]\n4984,69 unequal: No Solution\nExploring Operation: 89+56=145, Resulting Numbers: [145]\n145,69 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 69:[91, 83], Operations: ['9*2=18', '65+18=83']\nExploring Operation: 91*83=7553, Resulting Numbers: [7553]\n7553,69 unequal: No Solution\nExploring Operation: 91+83=174, Resulting Numbers: [174]\n174,69 unequal: No Solution\nExploring Operation: 91-83=8, Resulting Numbers: [8]\n8,69 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 69:[65, 109], Operations: ['9*2=18', '91+18=109']\nExploring Operation: 65+109=174, Resulting Numbers: [174]\n174,69 unequal: No Solution\nExploring Operation: 65*109=7085, Resulting Numbers: [7085]\n7085,69 unequal: No Solution\nExploring Operation: 109-65=44, Resulting Numbers: [44]\n44,69 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 69:[44], Operations: ['9*2=18', '91+18=109', '109-65=44']\nMoving to Node #0,2,0,0\nCurrent State: 69:[33], Operations: ['91-2=89', '65-9=56', '89-56=33']\nMoving to Node #0,1,1,0\nCurrent State: 69:[19], Operations: ['91-9=82', '65-2=63', '82-63=19']\nMoving to Node #0,1,0,0\nCurrent State: 69:[15], Operations: ['91-9=82', '2+65=67', '82-67=15']\nMoving to Node #0,1,2,0\nCurrent State: 69:[15], Operations: ['91-9=82', '82-2=80', '80-65=15']\nMoving to Node #0,2,2,0\nCurrent State: 69:[15], Operations: ['91-2=89', '89-9=80', '80-65=15']\nMoving to Node #0,2,1,0\nCurrent State: 69:[15], Operations: ['91-2=89', '9+65=74', '89-74=15']\nMoving to Node #0,0,1,0\nCurrent State: 69:[8], Operations: ['9*2=18', '91-18=73', '73-65=8']\nMoving to Node #0,0,0,0\nCurrent State: 69:[8], Operations: ['9*2=18', '65+18=83', '91-83=8']\nMoving to Node #0,0,1,0\nCurrent State: 69:[138], Operations: ['9*2=18', '91-18=73', '65+73=138']\nMoving to Node #0,1,2,0\nCurrent State: 69:[145], Operations: ['91-9=82', '82-2=80', '65+80=145']\nMoving to Node #0,2,2,0\nCurrent State: 69:[145], Operations: ['91-2=89', '89-9=80', '65+80=145']\nMoving to Node #0,2,0,0\nCurrent State: 69:[145], Operations: ['91-2=89', '65-9=56', '89+56=145']\nMoving to Node #0,1,1,0\nCurrent State: 69:[145], Operations: ['91-9=82', '65-2=63', '82+63=145']\nMoving to Node #0,1,0,0\nCurrent State: 69:[149], Operations: ['91-9=82', '2+65=67', '82+67=149']\nMoving to Node #0,2,1,0\nCurrent State: 69:[163], Operations: ['91-2=89', '9+65=74', '89+74=163']\nMoving to Node #0,0,2,0\nCurrent State: 69:[174], Operations: ['9*2=18', '91+18=109', '65+109=174']\nMoving to Node #0,0,0,0\nCurrent State: 69:[174], Operations: ['9*2=18', '65+18=83', '91+83=174']\nMoving to Node #0,0,1,0\nCurrent State: 69:[4745], Operations: ['9*2=18', '91-18=73', '65*73=4745']\nMoving to Node #0,2,0,0\nCurrent State: 69:[4984], Operations: ['91-2=89', '65-9=56', '89*56=4984']\nMoving to Node #0,1,1,0\nCurrent State: 69:[5166], Operations: ['91-9=82', '65-2=63', '82*63=5166']\nMoving to Node #0,2,2,0\nCurrent State: 69:[5200], Operations: ['91-2=89', '89-9=80', '65*80=5200']\nMoving to Node #0,1,2,0\nCurrent State: 69:[5200], Operations: ['91-9=82', '82-2=80', '65*80=5200']\nMoving to Node #0,1,0,0\nCurrent State: 69:[5494], Operations: ['91-9=82', '2+65=67', '82*67=5494']\nMoving to Node #0,2,1,0\nCurrent State: 69:[6586], Operations: ['91-2=89', '9+65=74', '89*74=6586']\nMoving to Node #0,0,2,0\nCurrent State: 69:[7085], Operations: ['9*2=18', '91+18=109', '65*109=7085']\nMoving to Node #0,0,0,0\nCurrent State: 69:[7553], Operations: ['9*2=18', '65+18=83', '91*83=7553']\nNo solution found.", "role": "assistant" } ]
[ 5, 40, 46, 5 ]
37
[ "5+40=45", "45/5=9", "46-9=37" ]
Current State: 37:[5, 40, 46, 5], Operations: [] Exploring Operation: 5+5=10, Resulting Numbers: [40, 46, 10] Generated Node #0,0: 37:[40, 46, 10] Operation: 5+5=10 Exploring Operation: 5*5=25, Resulting Numbers: [40, 46, 25] Generated Node #0,1: 37:[40, 46, 25] Operation: 5*5=25 Exploring Operation: 46-5=41, Resulting Numbers: [40, 5, 41] Generated Node #0,2: 37:[40, 5, 41] Operation: 46-5=41 Moving to Node #0,1 Current State: 37:[40, 46, 25], Operations: ['5*5=25'] Exploring Operation: 46-25=21, Resulting Numbers: [40, 21] Generated Node #0,1,0: 37:[40, 21] Operation: 46-25=21 Exploring Operation: 40-25=15, Resulting Numbers: [46, 15] Generated Node #0,1,1: 37:[46, 15] Operation: 40-25=15 Exploring Operation: 40+25=65, Resulting Numbers: [46, 65] Generated Node #0,1,2: 37:[46, 65] Operation: 40+25=65 Moving to Node #0,0 Current State: 37:[40, 46, 10], Operations: ['5+5=10'] Exploring Operation: 46-10=36, Resulting Numbers: [40, 36] Generated Node #0,0,0: 37:[40, 36] Operation: 46-10=36 Exploring Operation: 40+10=50, Resulting Numbers: [46, 50] Generated Node #0,0,1: 37:[46, 50] Operation: 40+10=50 Exploring Operation: 40-10=30, Resulting Numbers: [46, 30] Generated Node #0,0,2: 37:[46, 30] Operation: 40-10=30 Moving to Node #0,2 Current State: 37:[40, 5, 41], Operations: ['46-5=41'] Exploring Operation: 40+5=45, Resulting Numbers: [41, 45] Generated Node #0,2,0: 37:[41, 45] Operation: 40+5=45 Exploring Operation: 41-5=36, Resulting Numbers: [40, 36] Generated Node #0,2,1: 37:[40, 36] Operation: 41-5=36 Exploring Operation: 40-5=35, Resulting Numbers: [41, 35] Generated Node #0,2,2: 37:[41, 35] Operation: 40-5=35 Moving to Node #0,0,0 Current State: 37:[40, 36], Operations: ['5+5=10', '46-10=36'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,37 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[40, 36], Operations: ['46-5=41', '41-5=36'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[41, 35], Operations: ['46-5=41', '40-5=35'] Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 41*35=1435, Resulting Numbers: [1435] 1435,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[41, 45], Operations: ['46-5=41', '40+5=45'] Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,37 unequal: No Solution Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[46, 30], Operations: ['5+5=10', '40-10=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,37 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,37 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[40, 21], Operations: ['5*5=25', '46-25=21'] Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,37 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[46, 50], Operations: ['5+5=10', '40+10=50'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 46+50=96, Resulting Numbers: [96] 96,37 unequal: No Solution Exploring Operation: 46*50=2300, Resulting Numbers: [2300] 2300,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[46, 15], Operations: ['5*5=25', '40-25=15'] Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,37 unequal: No Solution Moving to Node #0,1,0,0 Current State: 37:[19], Operations: ['5*5=25', '46-25=21', '40-21=19'] Moving to Node #0,1,1,0 Current State: 37:[31], Operations: ['5*5=25', '40-25=15', '46-15=31'] Moving to Node #0,1,2 Current State: 37:[46, 65], Operations: ['5*5=25', '40+25=65'] Exploring Operation: 46+65=111, Resulting Numbers: [111] 111,37 unequal: No Solution Exploring Operation: 46*65=2990, Resulting Numbers: [2990] 2990,37 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,37 unequal: No Solution Moving to Node #0,0,2,0 Current State: 37:[16], Operations: ['5+5=10', '40-10=30', '46-30=16'] Moving to Node #0,1,2,0 Current State: 37:[19], Operations: ['5*5=25', '40+25=65', '65-46=19'] Moving to Node #0,1,0,0 Current State: 37:[61], Operations: ['5*5=25', '46-25=21', '40+21=61'] Moving to Node #0,1,1,0 Current State: 37:[61], Operations: ['5*5=25', '40-25=15', '46+15=61'] Moving to Node #0,2,2,0 Current State: 37:[6], Operations: ['46-5=41', '40-5=35', '41-35=6'] Moving to Node #0,0,0,0 Current State: 37:[4], Operations: ['5+5=10', '46-10=36', '40-36=4'] Moving to Node #0,2,0,0 Current State: 37:[4], Operations: ['46-5=41', '40+5=45', '45-41=4'] Moving to Node #0,2,1,0 Current State: 37:[4], Operations: ['46-5=41', '41-5=36', '40-36=4'] Moving to Node #0,0,1,0 Current State: 37:[4], Operations: ['5+5=10', '40+10=50', '50-46=4'] Moving to Node #0,2,1,0 Current State: 37:[76], Operations: ['46-5=41', '41-5=36', '40+36=76'] Moving to Node #0,0,0,0 Current State: 37:[76], Operations: ['5+5=10', '46-10=36', '40+36=76'] Moving to Node #0,0,2,0 Current State: 37:[76], Operations: ['5+5=10', '40-10=30', '46+30=76'] Moving to Node #0,2,2,0 Current State: 37:[76], Operations: ['46-5=41', '40-5=35', '41+35=76'] Moving to Node #0,2,0,0 Current State: 37:[86], Operations: ['46-5=41', '40+5=45', '41+45=86'] Moving to Node #0,0,1,0 Current State: 37:[96], Operations: ['5+5=10', '40+10=50', '46+50=96'] Moving to Node #0,1,2,0 Current State: 37:[111], Operations: ['5*5=25', '40+25=65', '46+65=111'] Moving to Node #0,1,1,0 Current State: 37:[690], Operations: ['5*5=25', '40-25=15', '46*15=690'] Moving to Node #0,1,0,0 Current State: 37:[840], Operations: ['5*5=25', '46-25=21', '40*21=840'] Moving to Node #0,0,2,0 Current State: 37:[1380], Operations: ['5+5=10', '40-10=30', '46*30=1380'] Moving to Node #0,2,2,0 Current State: 37:[1435], Operations: ['46-5=41', '40-5=35', '41*35=1435'] Moving to Node #0,2,1,0 Current State: 37:[1440], Operations: ['46-5=41', '41-5=36', '40*36=1440'] Moving to Node #0,0,0,0 Current State: 37:[1440], Operations: ['5+5=10', '46-10=36', '40*36=1440'] Moving to Node #0,2,0,0 Current State: 37:[1845], Operations: ['46-5=41', '40+5=45', '41*45=1845'] Moving to Node #0,0,1,0 Current State: 37:[2300], Operations: ['5+5=10', '40+10=50', '46*50=2300'] Moving to Node #0,1,2,0 Current State: 37:[2990], Operations: ['5*5=25', '40+25=65', '46*65=2990'] No solution found.
0
bfs_3
Current State: 37:[5, 40, 46, 5], Operations: [] Exploring Operation: 5+40=45, Resulting Numbers: [46, 45] Generated Node #2: [46, 45] from Operation: 5+40=45 Current State: 37:[46, 45], Operations: ['5+40=45'] Exploring Operation: 45/5=9, Resulting Numbers: [46, 9] Generated Node #3: [46, 9] from Operation: 45/5=9 Current State: 37:[46, 9], Operations: ['5+40=45', '45/5=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
sum_heuristic
[ { "content": "Make 37 with the numbers [5, 40, 46, 5] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 37:[5, 40, 46, 5], Operations: []\nExploring Operation: 5+5=10, Resulting Numbers: [40, 46, 10]\nGenerated Node #0,0: 37:[40, 46, 10] Operation: 5+5=10\nExploring Operation: 5*5=25, Resulting Numbers: [40, 46, 25]\nGenerated Node #0,1: 37:[40, 46, 25] Operation: 5*5=25\nExploring Operation: 46-5=41, Resulting Numbers: [40, 5, 41]\nGenerated Node #0,2: 37:[40, 5, 41] Operation: 46-5=41\nMoving to Node #0,1\nCurrent State: 37:[40, 46, 25], Operations: ['5*5=25']\nExploring Operation: 46-25=21, Resulting Numbers: [40, 21]\nGenerated Node #0,1,0: 37:[40, 21] Operation: 46-25=21\nExploring Operation: 40-25=15, Resulting Numbers: [46, 15]\nGenerated Node #0,1,1: 37:[46, 15] Operation: 40-25=15\nExploring Operation: 40+25=65, Resulting Numbers: [46, 65]\nGenerated Node #0,1,2: 37:[46, 65] Operation: 40+25=65\nMoving to Node #0,0\nCurrent State: 37:[40, 46, 10], Operations: ['5+5=10']\nExploring Operation: 46-10=36, Resulting Numbers: [40, 36]\nGenerated Node #0,0,0: 37:[40, 36] Operation: 46-10=36\nExploring Operation: 40+10=50, Resulting Numbers: [46, 50]\nGenerated Node #0,0,1: 37:[46, 50] Operation: 40+10=50\nExploring Operation: 40-10=30, Resulting Numbers: [46, 30]\nGenerated Node #0,0,2: 37:[46, 30] Operation: 40-10=30\nMoving to Node #0,2\nCurrent State: 37:[40, 5, 41], Operations: ['46-5=41']\nExploring Operation: 40+5=45, Resulting Numbers: [41, 45]\nGenerated Node #0,2,0: 37:[41, 45] Operation: 40+5=45\nExploring Operation: 41-5=36, Resulting Numbers: [40, 36]\nGenerated Node #0,2,1: 37:[40, 36] Operation: 41-5=36\nExploring Operation: 40-5=35, Resulting Numbers: [41, 35]\nGenerated Node #0,2,2: 37:[41, 35] Operation: 40-5=35\nMoving to Node #0,0,0\nCurrent State: 37:[40, 36], Operations: ['5+5=10', '46-10=36']\nExploring Operation: 40-36=4, Resulting Numbers: [4]\n4,37 unequal: No Solution\nExploring Operation: 40*36=1440, Resulting Numbers: [1440]\n1440,37 unequal: No Solution\nExploring Operation: 40+36=76, Resulting Numbers: [76]\n76,37 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 37:[40, 36], Operations: ['46-5=41', '41-5=36']\nExploring Operation: 40-36=4, Resulting Numbers: [4]\n4,37 unequal: No Solution\nExploring Operation: 40+36=76, Resulting Numbers: [76]\n76,37 unequal: No Solution\nExploring Operation: 40*36=1440, Resulting Numbers: [1440]\n1440,37 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 37:[41, 35], Operations: ['46-5=41', '40-5=35']\nExploring Operation: 41+35=76, Resulting Numbers: [76]\n76,37 unequal: No Solution\nExploring Operation: 41-35=6, Resulting Numbers: [6]\n6,37 unequal: No Solution\nExploring Operation: 41*35=1435, Resulting Numbers: [1435]\n1435,37 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 37:[41, 45], Operations: ['46-5=41', '40+5=45']\nExploring Operation: 41+45=86, Resulting Numbers: [86]\n86,37 unequal: No Solution\nExploring Operation: 41*45=1845, Resulting Numbers: [1845]\n1845,37 unequal: No Solution\nExploring Operation: 45-41=4, Resulting Numbers: [4]\n4,37 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 37:[46, 30], Operations: ['5+5=10', '40-10=30']\nExploring Operation: 46*30=1380, Resulting Numbers: [1380]\n1380,37 unequal: No Solution\nExploring Operation: 46-30=16, Resulting Numbers: [16]\n16,37 unequal: No Solution\nExploring Operation: 46+30=76, Resulting Numbers: [76]\n76,37 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 37:[40, 21], Operations: ['5*5=25', '46-25=21']\nExploring Operation: 40+21=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nExploring Operation: 40*21=840, Resulting Numbers: [840]\n840,37 unequal: No Solution\nExploring Operation: 40-21=19, Resulting Numbers: [19]\n19,37 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 37:[46, 50], Operations: ['5+5=10', '40+10=50']\nExploring Operation: 50-46=4, Resulting Numbers: [4]\n4,37 unequal: No Solution\nExploring Operation: 46+50=96, Resulting Numbers: [96]\n96,37 unequal: No Solution\nExploring Operation: 46*50=2300, Resulting Numbers: [2300]\n2300,37 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 37:[46, 15], Operations: ['5*5=25', '40-25=15']\nExploring Operation: 46+15=61, Resulting Numbers: [61]\n61,37 unequal: No Solution\nExploring Operation: 46-15=31, Resulting Numbers: [31]\n31,37 unequal: No Solution\nExploring Operation: 46*15=690, Resulting Numbers: [690]\n690,37 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 37:[19], Operations: ['5*5=25', '46-25=21', '40-21=19']\nMoving to Node #0,1,1,0\nCurrent State: 37:[31], Operations: ['5*5=25', '40-25=15', '46-15=31']\nMoving to Node #0,1,2\nCurrent State: 37:[46, 65], Operations: ['5*5=25', '40+25=65']\nExploring Operation: 46+65=111, Resulting Numbers: [111]\n111,37 unequal: No Solution\nExploring Operation: 46*65=2990, Resulting Numbers: [2990]\n2990,37 unequal: No Solution\nExploring Operation: 65-46=19, Resulting Numbers: [19]\n19,37 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 37:[16], Operations: ['5+5=10', '40-10=30', '46-30=16']\nMoving to Node #0,1,2,0\nCurrent State: 37:[19], Operations: ['5*5=25', '40+25=65', '65-46=19']\nMoving to Node #0,1,0,0\nCurrent State: 37:[61], Operations: ['5*5=25', '46-25=21', '40+21=61']\nMoving to Node #0,1,1,0\nCurrent State: 37:[61], Operations: ['5*5=25', '40-25=15', '46+15=61']\nMoving to Node #0,2,2,0\nCurrent State: 37:[6], Operations: ['46-5=41', '40-5=35', '41-35=6']\nMoving to Node #0,0,0,0\nCurrent State: 37:[4], Operations: ['5+5=10', '46-10=36', '40-36=4']\nMoving to Node #0,2,0,0\nCurrent State: 37:[4], Operations: ['46-5=41', '40+5=45', '45-41=4']\nMoving to Node #0,2,1,0\nCurrent State: 37:[4], Operations: ['46-5=41', '41-5=36', '40-36=4']\nMoving to Node #0,0,1,0\nCurrent State: 37:[4], Operations: ['5+5=10', '40+10=50', '50-46=4']\nMoving to Node #0,2,1,0\nCurrent State: 37:[76], Operations: ['46-5=41', '41-5=36', '40+36=76']\nMoving to Node #0,0,0,0\nCurrent State: 37:[76], Operations: ['5+5=10', '46-10=36', '40+36=76']\nMoving to Node #0,0,2,0\nCurrent State: 37:[76], Operations: ['5+5=10', '40-10=30', '46+30=76']\nMoving to Node #0,2,2,0\nCurrent State: 37:[76], Operations: ['46-5=41', '40-5=35', '41+35=76']\nMoving to Node #0,2,0,0\nCurrent State: 37:[86], Operations: ['46-5=41', '40+5=45', '41+45=86']\nMoving to Node #0,0,1,0\nCurrent State: 37:[96], Operations: ['5+5=10', '40+10=50', '46+50=96']\nMoving to Node #0,1,2,0\nCurrent State: 37:[111], Operations: ['5*5=25', '40+25=65', '46+65=111']\nMoving to Node #0,1,1,0\nCurrent State: 37:[690], Operations: ['5*5=25', '40-25=15', '46*15=690']\nMoving to Node #0,1,0,0\nCurrent State: 37:[840], Operations: ['5*5=25', '46-25=21', '40*21=840']\nMoving to Node #0,0,2,0\nCurrent State: 37:[1380], Operations: ['5+5=10', '40-10=30', '46*30=1380']\nMoving to Node #0,2,2,0\nCurrent State: 37:[1435], Operations: ['46-5=41', '40-5=35', '41*35=1435']\nMoving to Node #0,2,1,0\nCurrent State: 37:[1440], Operations: ['46-5=41', '41-5=36', '40*36=1440']\nMoving to Node #0,0,0,0\nCurrent State: 37:[1440], Operations: ['5+5=10', '46-10=36', '40*36=1440']\nMoving to Node #0,2,0,0\nCurrent State: 37:[1845], Operations: ['46-5=41', '40+5=45', '41*45=1845']\nMoving to Node #0,0,1,0\nCurrent State: 37:[2300], Operations: ['5+5=10', '40+10=50', '46*50=2300']\nMoving to Node #0,1,2,0\nCurrent State: 37:[2990], Operations: ['5*5=25', '40+25=65', '46*65=2990']\nNo solution found.", "role": "assistant" } ]
[ 49, 37, 48, 85 ]
36
[ "49*37=1813", "1813-85=1728", "1728/48=36" ]
Current State: 36:[49, 37, 48, 85], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [49, 37, 37] Generated Node #0,0: 36:[49, 37, 37] Operation: 85-48=37 Exploring Operation: 85-49=36, Resulting Numbers: [37, 48, 36] Generated Node #0,1: 36:[37, 48, 36] Operation: 85-49=36 Moving to Node #0,1 Current State: 36:[37, 48, 36], Operations: ['85-49=36'] Exploring Operation: 48-37=11, Resulting Numbers: [36, 11] Generated Node #0,1,0: 36:[36, 11] Operation: 48-37=11 Exploring Operation: 48-36=12, Resulting Numbers: [37, 12] Generated Node #0,1,1: 36:[37, 12] Operation: 48-36=12 Moving to Node #0,0 Current State: 36:[49, 37, 37], Operations: ['85-48=37'] Exploring Operation: 49-37=12, Resulting Numbers: [37, 12] Generated Node #0,0,0: 36:[37, 12] Operation: 49-37=12 Exploring Operation: 49-37=12, Resulting Numbers: [37, 12] Generated Node #0,0,1: 36:[37, 12] Operation: 49-37=12 Moving to Node #0,1,0 Current State: 36:[36, 11], Operations: ['85-49=36', '48-37=11'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,36 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[37, 12], Operations: ['85-48=37', '49-37=12'] Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,36 unequal: No Solution Moving to Node #0,1,0,0 Current State: 36:[25], Operations: ['85-49=36', '48-37=11', '36-11=25'] Moving to Node #0,1,0,0 Current State: 36:[47], Operations: ['85-49=36', '48-37=11', '36+11=47'] Moving to Node #0,0,0,0 Current State: 36:[25], Operations: ['85-48=37', '49-37=12', '37-12=25'] Moving to Node #0,1,1 Current State: 36:[37, 12], Operations: ['85-49=36', '48-36=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,36 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,36 unequal: No Solution Moving to Node #0,1,1,0 Current State: 36:[25], Operations: ['85-49=36', '48-36=12', '37-12=25'] Moving to Node #0,0,1 Current State: 36:[37, 12], Operations: ['85-48=37', '49-37=12'] Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,36 unequal: No Solution Moving to Node #0,0,1,0 Current State: 36:[25], Operations: ['85-48=37', '49-37=12', '37-12=25'] Moving to Node #0,0,0,0 Current State: 36:[49], Operations: ['85-48=37', '49-37=12', '37+12=49'] Moving to Node #0,1,1,0 Current State: 36:[49], Operations: ['85-49=36', '48-36=12', '37+12=49'] Moving to Node #0,0,1,0 Current State: 36:[49], Operations: ['85-48=37', '49-37=12', '37+12=49'] No solution found.
0
bfs_2
Current State: 36:[49, 37, 48, 85], Operations: [] Exploring Operation: 49*37=1813, Resulting Numbers: [48, 85, 1813] Generated Node #2: [48, 85, 1813] from Operation: 49*37=1813 Current State: 36:[48, 85, 1813], Operations: ['49*37=1813'] Exploring Operation: 1813-85=1728, Resulting Numbers: [48, 1728] Generated Node #3: [48, 1728] from Operation: 1813-85=1728 Current State: 36:[48, 1728], Operations: ['49*37=1813', '1813-85=1728'] Exploring Operation: 1728/48=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
sum_heuristic
[ { "content": "Make 36 with the numbers [49, 37, 48, 85] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 36:[49, 37, 48, 85], Operations: []\nExploring Operation: 85-48=37, Resulting Numbers: [49, 37, 37]\nGenerated Node #0,0: 36:[49, 37, 37] Operation: 85-48=37\nExploring Operation: 85-49=36, Resulting Numbers: [37, 48, 36]\nGenerated Node #0,1: 36:[37, 48, 36] Operation: 85-49=36\nMoving to Node #0,1\nCurrent State: 36:[37, 48, 36], Operations: ['85-49=36']\nExploring Operation: 48-37=11, Resulting Numbers: [36, 11]\nGenerated Node #0,1,0: 36:[36, 11] Operation: 48-37=11\nExploring Operation: 48-36=12, Resulting Numbers: [37, 12]\nGenerated Node #0,1,1: 36:[37, 12] Operation: 48-36=12\nMoving to Node #0,0\nCurrent State: 36:[49, 37, 37], Operations: ['85-48=37']\nExploring Operation: 49-37=12, Resulting Numbers: [37, 12]\nGenerated Node #0,0,0: 36:[37, 12] Operation: 49-37=12\nExploring Operation: 49-37=12, Resulting Numbers: [37, 12]\nGenerated Node #0,0,1: 36:[37, 12] Operation: 49-37=12\nMoving to Node #0,1,0\nCurrent State: 36:[36, 11], Operations: ['85-49=36', '48-37=11']\nExploring Operation: 36-11=25, Resulting Numbers: [25]\n25,36 unequal: No Solution\nExploring Operation: 36+11=47, Resulting Numbers: [47]\n47,36 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 36:[37, 12], Operations: ['85-48=37', '49-37=12']\nExploring Operation: 37+12=49, Resulting Numbers: [49]\n49,36 unequal: No Solution\nExploring Operation: 37-12=25, Resulting Numbers: [25]\n25,36 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 36:[25], Operations: ['85-49=36', '48-37=11', '36-11=25']\nMoving to Node #0,1,0,0\nCurrent State: 36:[47], Operations: ['85-49=36', '48-37=11', '36+11=47']\nMoving to Node #0,0,0,0\nCurrent State: 36:[25], Operations: ['85-48=37', '49-37=12', '37-12=25']\nMoving to Node #0,1,1\nCurrent State: 36:[37, 12], Operations: ['85-49=36', '48-36=12']\nExploring Operation: 37-12=25, Resulting Numbers: [25]\n25,36 unequal: No Solution\nExploring Operation: 37+12=49, Resulting Numbers: [49]\n49,36 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 36:[25], Operations: ['85-49=36', '48-36=12', '37-12=25']\nMoving to Node #0,0,1\nCurrent State: 36:[37, 12], Operations: ['85-48=37', '49-37=12']\nExploring Operation: 37+12=49, Resulting Numbers: [49]\n49,36 unequal: No Solution\nExploring Operation: 37-12=25, Resulting Numbers: [25]\n25,36 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 36:[25], Operations: ['85-48=37', '49-37=12', '37-12=25']\nMoving to Node #0,0,0,0\nCurrent State: 36:[49], Operations: ['85-48=37', '49-37=12', '37+12=49']\nMoving to Node #0,1,1,0\nCurrent State: 36:[49], Operations: ['85-49=36', '48-36=12', '37+12=49']\nMoving to Node #0,0,1,0\nCurrent State: 36:[49], Operations: ['85-48=37', '49-37=12', '37+12=49']\nNo solution found.", "role": "assistant" } ]
[ 71, 2, 48, 45 ]
71
[ "48-2=46", "46-45=1", "71*1=71" ]
Current State: 71:[71, 2, 48, 45], Operations: [] Exploring Operation: 2*45=90, Resulting Numbers: [71, 48, 90] Generated Node #0,0: 71:[71, 48, 90] Operation: 2*45=90 Exploring Operation: 2+45=47, Resulting Numbers: [71, 48, 47] Generated Node #0,1: 71:[71, 48, 47] Operation: 2+45=47 Exploring Operation: 2+48=50, Resulting Numbers: [71, 45, 50] Generated Node #0,2: 71:[71, 45, 50] Operation: 2+48=50 Moving to Node #0,0 Current State: 71:[71, 48, 90], Operations: ['2*45=90'] Exploring Operation: 71+48=119, Resulting Numbers: [90, 119] Generated Node #0,0,0: 71:[90, 119] Operation: 71+48=119 Exploring Operation: 90-48=42, Resulting Numbers: [71, 42] Generated Node #0,0,1: 71:[71, 42] Operation: 90-48=42 Exploring Operation: 71-48=23, Resulting Numbers: [90, 23] Generated Node #0,0,2: 71:[90, 23] Operation: 71-48=23 Moving to Node #0,1 Current State: 71:[71, 48, 47], Operations: ['2+45=47'] Exploring Operation: 71+47=118, Resulting Numbers: [48, 118] Generated Node #0,1,0: 71:[48, 118] Operation: 71+47=118 Exploring Operation: 71-47=24, Resulting Numbers: [48, 24] Generated Node #0,1,1: 71:[48, 24] Operation: 71-47=24 Exploring Operation: 48+47=95, Resulting Numbers: [71, 95] Generated Node #0,1,2: 71:[71, 95] Operation: 48+47=95 Moving to Node #0,2 Current State: 71:[71, 45, 50], Operations: ['2+48=50'] Exploring Operation: 71-45=26, Resulting Numbers: [50, 26] Generated Node #0,2,0: 71:[50, 26] Operation: 71-45=26 Exploring Operation: 71+45=116, Resulting Numbers: [50, 116] Generated Node #0,2,1: 71:[50, 116] Operation: 71+45=116 Exploring Operation: 45+50=95, Resulting Numbers: [71, 95] Generated Node #0,2,2: 71:[71, 95] Operation: 45+50=95 Moving to Node #0,1,2 Current State: 71:[71, 95], Operations: ['2+45=47', '48+47=95'] Exploring Operation: 71*95=6745, Resulting Numbers: [6745] 6745,71 unequal: No Solution Exploring Operation: 95-71=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 71+95=166, Resulting Numbers: [166] 166,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[71, 95], Operations: ['2+48=50', '45+50=95'] Exploring Operation: 71+95=166, Resulting Numbers: [166] 166,71 unequal: No Solution Exploring Operation: 71*95=6745, Resulting Numbers: [6745] 6745,71 unequal: No Solution Exploring Operation: 95-71=24, Resulting Numbers: [24] 24,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[71, 42], Operations: ['2*45=90', '90-48=42'] Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,71 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,71 unequal: No Solution Moving to Node #0,0,1,0 Current State: 71:[29], Operations: ['2*45=90', '90-48=42', '71-42=29'] Moving to Node #0,0,1,0 Current State: 71:[113], Operations: ['2*45=90', '90-48=42', '71+42=113'] Moving to Node #0,1,2,0 Current State: 71:[24], Operations: ['2+45=47', '48+47=95', '95-71=24'] Moving to Node #0,2,2,0 Current State: 71:[24], Operations: ['2+48=50', '45+50=95', '95-71=24'] Moving to Node #0,2,1 Current State: 71:[50, 116], Operations: ['2+48=50', '71+45=116'] Exploring Operation: 116-50=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 50*116=5800, Resulting Numbers: [5800] 5800,71 unequal: No Solution Exploring Operation: 50+116=166, Resulting Numbers: [166] 166,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[50, 26], Operations: ['2+48=50', '71-45=26'] Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,71 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,71 unequal: No Solution Moving to Node #0,2,1,0 Current State: 71:[66], Operations: ['2+48=50', '71+45=116', '116-50=66'] Moving to Node #0,2,0,0 Current State: 71:[76], Operations: ['2+48=50', '71-45=26', '50+26=76'] Moving to Node #0,2,0,0 Current State: 71:[24], Operations: ['2+48=50', '71-45=26', '50-26=24'] Moving to Node #0,0,2 Current State: 71:[90, 23], Operations: ['2*45=90', '71-48=23'] Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,71 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[90, 119], Operations: ['2*45=90', '71+48=119'] Exploring Operation: 90+119=209, Resulting Numbers: [209] 209,71 unequal: No Solution Exploring Operation: 90*119=10710, Resulting Numbers: [10710] 10710,71 unequal: No Solution Exploring Operation: 119-90=29, Resulting Numbers: [29] 29,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[48, 24], Operations: ['2+45=47', '71-47=24'] Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,71 unequal: No Solution Moving to Node #0,1,1,0 Current State: 71:[72], Operations: ['2+45=47', '71-47=24', '48+24=72'] Moving to Node #0,0,2,0 Current State: 71:[67], Operations: ['2*45=90', '71-48=23', '90-23=67'] Moving to Node #0,0,0,0 Current State: 71:[29], Operations: ['2*45=90', '71+48=119', '119-90=29'] Moving to Node #0,0,2,0 Current State: 71:[113], Operations: ['2*45=90', '71-48=23', '90+23=113'] Moving to Node #0,1,1,0 Current State: 71:[24], Operations: ['2+45=47', '71-47=24', '48-24=24'] Moving to Node #0,1,1,0 Current State: 71:[2], Operations: ['2+45=47', '71-47=24', '48/24=2'] Moving to Node #0,1,0 Current State: 71:[48, 118], Operations: ['2+45=47', '71+47=118'] Exploring Operation: 118-48=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 48*118=5664, Resulting Numbers: [5664] 5664,71 unequal: No Solution Exploring Operation: 48+118=166, Resulting Numbers: [166] 166,71 unequal: No Solution Moving to Node #0,2,1,0 Current State: 71:[166], Operations: ['2+48=50', '71+45=116', '50+116=166'] Moving to Node #0,2,2,0 Current State: 71:[166], Operations: ['2+48=50', '45+50=95', '71+95=166'] Moving to Node #0,1,0,0 Current State: 71:[70], Operations: ['2+45=47', '71+47=118', '118-48=70'] Moving to Node #0,1,2,0 Current State: 71:[166], Operations: ['2+45=47', '48+47=95', '71+95=166'] Moving to Node #0,1,0,0 Current State: 71:[166], Operations: ['2+45=47', '71+47=118', '48+118=166'] Moving to Node #0,0,0,0 Current State: 71:[209], Operations: ['2*45=90', '71+48=119', '90+119=209'] Moving to Node #0,2,0,0 Current State: 71:[1300], Operations: ['2+48=50', '71-45=26', '50*26=1300'] Moving to Node #0,0,2,0 Current State: 71:[2070], Operations: ['2*45=90', '71-48=23', '90*23=2070'] Moving to Node #0,0,1,0 Current State: 71:[2982], Operations: ['2*45=90', '90-48=42', '71*42=2982'] Moving to Node #0,1,0,0 Current State: 71:[5664], Operations: ['2+45=47', '71+47=118', '48*118=5664'] Moving to Node #0,2,1,0 Current State: 71:[5800], Operations: ['2+48=50', '71+45=116', '50*116=5800'] Moving to Node #0,1,2,0 Current State: 71:[6745], Operations: ['2+45=47', '48+47=95', '71*95=6745'] Moving to Node #0,2,2,0 Current State: 71:[6745], Operations: ['2+48=50', '45+50=95', '71*95=6745'] Moving to Node #0,0,0,0 Current State: 71:[10710], Operations: ['2*45=90', '71+48=119', '90*119=10710'] No solution found.
0
bfs_3
Current State: 71:[71, 2, 48, 45], Operations: [] Exploring Operation: 48-2=46, Resulting Numbers: [71, 45, 46] Generated Node #2: [71, 45, 46] from Operation: 48-2=46 Current State: 71:[71, 45, 46], Operations: ['48-2=46'] Exploring Operation: 46-45=1, Resulting Numbers: [71, 1] Generated Node #3: [71, 1] from Operation: 46-45=1 Current State: 71:[71, 1], Operations: ['48-2=46', '46-45=1'] Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
mult_heuristic
[ { "content": "Make 71 with the numbers [71, 2, 48, 45] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 71:[71, 2, 48, 45], Operations: []\nExploring Operation: 2*45=90, Resulting Numbers: [71, 48, 90]\nGenerated Node #0,0: 71:[71, 48, 90] Operation: 2*45=90\nExploring Operation: 2+45=47, Resulting Numbers: [71, 48, 47]\nGenerated Node #0,1: 71:[71, 48, 47] Operation: 2+45=47\nExploring Operation: 2+48=50, Resulting Numbers: [71, 45, 50]\nGenerated Node #0,2: 71:[71, 45, 50] Operation: 2+48=50\nMoving to Node #0,0\nCurrent State: 71:[71, 48, 90], Operations: ['2*45=90']\nExploring Operation: 71+48=119, Resulting Numbers: [90, 119]\nGenerated Node #0,0,0: 71:[90, 119] Operation: 71+48=119\nExploring Operation: 90-48=42, Resulting Numbers: [71, 42]\nGenerated Node #0,0,1: 71:[71, 42] Operation: 90-48=42\nExploring Operation: 71-48=23, Resulting Numbers: [90, 23]\nGenerated Node #0,0,2: 71:[90, 23] Operation: 71-48=23\nMoving to Node #0,1\nCurrent State: 71:[71, 48, 47], Operations: ['2+45=47']\nExploring Operation: 71+47=118, Resulting Numbers: [48, 118]\nGenerated Node #0,1,0: 71:[48, 118] Operation: 71+47=118\nExploring Operation: 71-47=24, Resulting Numbers: [48, 24]\nGenerated Node #0,1,1: 71:[48, 24] Operation: 71-47=24\nExploring Operation: 48+47=95, Resulting Numbers: [71, 95]\nGenerated Node #0,1,2: 71:[71, 95] Operation: 48+47=95\nMoving to Node #0,2\nCurrent State: 71:[71, 45, 50], Operations: ['2+48=50']\nExploring Operation: 71-45=26, Resulting Numbers: [50, 26]\nGenerated Node #0,2,0: 71:[50, 26] Operation: 71-45=26\nExploring Operation: 71+45=116, Resulting Numbers: [50, 116]\nGenerated Node #0,2,1: 71:[50, 116] Operation: 71+45=116\nExploring Operation: 45+50=95, Resulting Numbers: [71, 95]\nGenerated Node #0,2,2: 71:[71, 95] Operation: 45+50=95\nMoving to Node #0,1,2\nCurrent State: 71:[71, 95], Operations: ['2+45=47', '48+47=95']\nExploring Operation: 71*95=6745, Resulting Numbers: [6745]\n6745,71 unequal: No Solution\nExploring Operation: 95-71=24, Resulting Numbers: [24]\n24,71 unequal: No Solution\nExploring Operation: 71+95=166, Resulting Numbers: [166]\n166,71 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 71:[71, 95], Operations: ['2+48=50', '45+50=95']\nExploring Operation: 71+95=166, Resulting Numbers: [166]\n166,71 unequal: No Solution\nExploring Operation: 71*95=6745, Resulting Numbers: [6745]\n6745,71 unequal: No Solution\nExploring Operation: 95-71=24, Resulting Numbers: [24]\n24,71 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 71:[71, 42], Operations: ['2*45=90', '90-48=42']\nExploring Operation: 71*42=2982, Resulting Numbers: [2982]\n2982,71 unequal: No Solution\nExploring Operation: 71-42=29, Resulting Numbers: [29]\n29,71 unequal: No Solution\nExploring Operation: 71+42=113, Resulting Numbers: [113]\n113,71 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 71:[29], Operations: ['2*45=90', '90-48=42', '71-42=29']\nMoving to Node #0,0,1,0\nCurrent State: 71:[113], Operations: ['2*45=90', '90-48=42', '71+42=113']\nMoving to Node #0,1,2,0\nCurrent State: 71:[24], Operations: ['2+45=47', '48+47=95', '95-71=24']\nMoving to Node #0,2,2,0\nCurrent State: 71:[24], Operations: ['2+48=50', '45+50=95', '95-71=24']\nMoving to Node #0,2,1\nCurrent State: 71:[50, 116], Operations: ['2+48=50', '71+45=116']\nExploring Operation: 116-50=66, Resulting Numbers: [66]\n66,71 unequal: No Solution\nExploring Operation: 50*116=5800, Resulting Numbers: [5800]\n5800,71 unequal: No Solution\nExploring Operation: 50+116=166, Resulting Numbers: [166]\n166,71 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 71:[50, 26], Operations: ['2+48=50', '71-45=26']\nExploring Operation: 50*26=1300, Resulting Numbers: [1300]\n1300,71 unequal: No Solution\nExploring Operation: 50+26=76, Resulting Numbers: [76]\n76,71 unequal: No Solution\nExploring Operation: 50-26=24, Resulting Numbers: [24]\n24,71 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 71:[66], Operations: ['2+48=50', '71+45=116', '116-50=66']\nMoving to Node #0,2,0,0\nCurrent State: 71:[76], Operations: ['2+48=50', '71-45=26', '50+26=76']\nMoving to Node #0,2,0,0\nCurrent State: 71:[24], Operations: ['2+48=50', '71-45=26', '50-26=24']\nMoving to Node #0,0,2\nCurrent State: 71:[90, 23], Operations: ['2*45=90', '71-48=23']\nExploring Operation: 90+23=113, Resulting Numbers: [113]\n113,71 unequal: No Solution\nExploring Operation: 90*23=2070, Resulting Numbers: [2070]\n2070,71 unequal: No Solution\nExploring Operation: 90-23=67, Resulting Numbers: [67]\n67,71 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 71:[90, 119], Operations: ['2*45=90', '71+48=119']\nExploring Operation: 90+119=209, Resulting Numbers: [209]\n209,71 unequal: No Solution\nExploring Operation: 90*119=10710, Resulting Numbers: [10710]\n10710,71 unequal: No Solution\nExploring Operation: 119-90=29, Resulting Numbers: [29]\n29,71 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 71:[48, 24], Operations: ['2+45=47', '71-47=24']\nExploring Operation: 48+24=72, Resulting Numbers: [72]\n72,71 unequal: No Solution\nExploring Operation: 48-24=24, Resulting Numbers: [24]\n24,71 unequal: No Solution\nExploring Operation: 48/24=2, Resulting Numbers: [2]\n2,71 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 71:[72], Operations: ['2+45=47', '71-47=24', '48+24=72']\nMoving to Node #0,0,2,0\nCurrent State: 71:[67], Operations: ['2*45=90', '71-48=23', '90-23=67']\nMoving to Node #0,0,0,0\nCurrent State: 71:[29], Operations: ['2*45=90', '71+48=119', '119-90=29']\nMoving to Node #0,0,2,0\nCurrent State: 71:[113], Operations: ['2*45=90', '71-48=23', '90+23=113']\nMoving to Node #0,1,1,0\nCurrent State: 71:[24], Operations: ['2+45=47', '71-47=24', '48-24=24']\nMoving to Node #0,1,1,0\nCurrent State: 71:[2], Operations: ['2+45=47', '71-47=24', '48/24=2']\nMoving to Node #0,1,0\nCurrent State: 71:[48, 118], Operations: ['2+45=47', '71+47=118']\nExploring Operation: 118-48=70, Resulting Numbers: [70]\n70,71 unequal: No Solution\nExploring Operation: 48*118=5664, Resulting Numbers: [5664]\n5664,71 unequal: No Solution\nExploring Operation: 48+118=166, Resulting Numbers: [166]\n166,71 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 71:[166], Operations: ['2+48=50', '71+45=116', '50+116=166']\nMoving to Node #0,2,2,0\nCurrent State: 71:[166], Operations: ['2+48=50', '45+50=95', '71+95=166']\nMoving to Node #0,1,0,0\nCurrent State: 71:[70], Operations: ['2+45=47', '71+47=118', '118-48=70']\nMoving to Node #0,1,2,0\nCurrent State: 71:[166], Operations: ['2+45=47', '48+47=95', '71+95=166']\nMoving to Node #0,1,0,0\nCurrent State: 71:[166], Operations: ['2+45=47', '71+47=118', '48+118=166']\nMoving to Node #0,0,0,0\nCurrent State: 71:[209], Operations: ['2*45=90', '71+48=119', '90+119=209']\nMoving to Node #0,2,0,0\nCurrent State: 71:[1300], Operations: ['2+48=50', '71-45=26', '50*26=1300']\nMoving to Node #0,0,2,0\nCurrent State: 71:[2070], Operations: ['2*45=90', '71-48=23', '90*23=2070']\nMoving to Node #0,0,1,0\nCurrent State: 71:[2982], Operations: ['2*45=90', '90-48=42', '71*42=2982']\nMoving to Node #0,1,0,0\nCurrent State: 71:[5664], Operations: ['2+45=47', '71+47=118', '48*118=5664']\nMoving to Node #0,2,1,0\nCurrent State: 71:[5800], Operations: ['2+48=50', '71+45=116', '50*116=5800']\nMoving to Node #0,1,2,0\nCurrent State: 71:[6745], Operations: ['2+45=47', '48+47=95', '71*95=6745']\nMoving to Node #0,2,2,0\nCurrent State: 71:[6745], Operations: ['2+48=50', '45+50=95', '71*95=6745']\nMoving to Node #0,0,0,0\nCurrent State: 71:[10710], Operations: ['2*45=90', '71+48=119', '90*119=10710']\nNo solution found.", "role": "assistant" } ]
[ 71, 82, 38, 18 ]
97
[ "71+82=153", "38+18=56", "153-56=97" ]
Current State: 97:[71, 82, 38, 18], Operations: [] Exploring Operation: 82+18=100, Resulting Numbers: [71, 38, 100] Generated Node #0,0: 97:[71, 38, 100] Operation: 82+18=100 Exploring Operation: 38+18=56, Resulting Numbers: [71, 82, 56] Generated Node #0,1: 97:[71, 82, 56] Operation: 38+18=56 Exploring Operation: 71+18=89, Resulting Numbers: [82, 38, 89] Generated Node #0,2: 97:[82, 38, 89] Operation: 71+18=89 Moving to Node #0,1 Current State: 97:[71, 82, 56], Operations: ['38+18=56'] Exploring Operation: 82+56=138, Resulting Numbers: [71, 138] Generated Node #0,1,0: 97:[71, 138] Operation: 82+56=138 Exploring Operation: 71+82=153, Resulting Numbers: [56, 153] Generated Node #0,1,1: 97:[56, 153] Operation: 71+82=153 Exploring Operation: 71+56=127, Resulting Numbers: [82, 127] Generated Node #0,1,2: 97:[82, 127] Operation: 71+56=127 Moving to Node #0,2 Current State: 97:[82, 38, 89], Operations: ['71+18=89'] Exploring Operation: 82+38=120, Resulting Numbers: [89, 120] Generated Node #0,2,0: 97:[89, 120] Operation: 82+38=120 Exploring Operation: 82-38=44, Resulting Numbers: [89, 44] Generated Node #0,2,1: 97:[89, 44] Operation: 82-38=44 Exploring Operation: 38+89=127, Resulting Numbers: [82, 127] Generated Node #0,2,2: 97:[82, 127] Operation: 38+89=127 Moving to Node #0,0 Current State: 97:[71, 38, 100], Operations: ['82+18=100'] Exploring Operation: 71-38=33, Resulting Numbers: [100, 33] Generated Node #0,0,0: 97:[100, 33] Operation: 71-38=33 Exploring Operation: 100-38=62, Resulting Numbers: [71, 62] Generated Node #0,0,1: 97:[71, 62] Operation: 100-38=62 Exploring Operation: 71+38=109, Resulting Numbers: [100, 109] Generated Node #0,0,2: 97:[100, 109] Operation: 71+38=109 Moving to Node #0,0,2 Current State: 97:[100, 109], Operations: ['82+18=100', '71+38=109'] Exploring Operation: 100*109=10900, Resulting Numbers: [10900] 10900,97 unequal: No Solution Exploring Operation: 109-100=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 100+109=209, Resulting Numbers: [209] 209,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[89, 120], Operations: ['71+18=89', '82+38=120'] Exploring Operation: 89+120=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 89*120=10680, Resulting Numbers: [10680] 10680,97 unequal: No Solution Exploring Operation: 120-89=31, Resulting Numbers: [31] 31,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[82, 127], Operations: ['38+18=56', '71+56=127'] Exploring Operation: 82*127=10414, Resulting Numbers: [10414] 10414,97 unequal: No Solution Exploring Operation: 82+127=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 127-82=45, Resulting Numbers: [45] 45,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[82, 127], Operations: ['71+18=89', '38+89=127'] Exploring Operation: 82*127=10414, Resulting Numbers: [10414] 10414,97 unequal: No Solution Exploring Operation: 127-82=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 82+127=209, Resulting Numbers: [209] 209,97 unequal: No Solution Moving to Node #0,1,2,0 Current State: 97:[45], Operations: ['38+18=56', '71+56=127', '127-82=45'] Moving to Node #0,2,1 Current State: 97:[89, 44], Operations: ['71+18=89', '82-38=44'] Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,97 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,97 unequal: No Solution Moving to Node #0,2,1,0 Current State: 97:[133], Operations: ['71+18=89', '82-38=44', '89+44=133'] Moving to Node #0,2,2,0 Current State: 97:[45], Operations: ['71+18=89', '38+89=127', '127-82=45'] Moving to Node #0,2,1,0 Current State: 97:[45], Operations: ['71+18=89', '82-38=44', '89-44=45'] Moving to Node #0,0,1 Current State: 97:[71, 62], Operations: ['82+18=100', '100-38=62'] Exploring Operation: 71*62=4402, Resulting Numbers: [4402] 4402,97 unequal: No Solution Exploring Operation: 71+62=133, Resulting Numbers: [133] 133,97 unequal: No Solution Exploring Operation: 71-62=9, Resulting Numbers: [9] 9,97 unequal: No Solution Moving to Node #0,2,0,0 Current State: 97:[31], Operations: ['71+18=89', '82+38=120', '120-89=31'] Moving to Node #0,1,0 Current State: 97:[71, 138], Operations: ['38+18=56', '82+56=138'] Exploring Operation: 138-71=67, Resulting Numbers: [67] 67,97 unequal: No Solution Exploring Operation: 71+138=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 71*138=9798, Resulting Numbers: [9798] 9798,97 unequal: No Solution Moving to Node #0,1,0,0 Current State: 97:[67], Operations: ['38+18=56', '82+56=138', '138-71=67'] Moving to Node #0,0,1,0 Current State: 97:[133], Operations: ['82+18=100', '100-38=62', '71+62=133'] Moving to Node #0,0,0 Current State: 97:[100, 33], Operations: ['82+18=100', '71-38=33'] Exploring Operation: 100-33=67, Resulting Numbers: [67] 67,97 unequal: No Solution Exploring Operation: 100+33=133, Resulting Numbers: [133] 133,97 unequal: No Solution Exploring Operation: 100*33=3300, Resulting Numbers: [3300] 3300,97 unequal: No Solution Moving to Node #0,0,0,0 Current State: 97:[67], Operations: ['82+18=100', '71-38=33', '100-33=67'] Moving to Node #0,0,0,0 Current State: 97:[133], Operations: ['82+18=100', '71-38=33', '100+33=133'] Moving to Node #0,0,2,0 Current State: 97:[9], Operations: ['82+18=100', '71+38=109', '109-100=9'] Moving to Node #0,0,1,0 Current State: 97:[9], Operations: ['82+18=100', '100-38=62', '71-62=9'] Moving to Node #0,1,1 Current State: 97:[56, 153], Operations: ['38+18=56', '71+82=153'] Exploring Operation: 153-56=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.967014
bfs_3
Current State: 97:[71, 82, 38, 18], Operations: [] Exploring Operation: 71+82=153, Resulting Numbers: [38, 18, 153] Generated Node #2: [38, 18, 153] from Operation: 71+82=153 Current State: 97:[38, 18, 153], Operations: ['71+82=153'] Exploring Operation: 38+18=56, Resulting Numbers: [153, 56] Generated Node #3: [153, 56] from Operation: 38+18=56 Current State: 97:[153, 56], Operations: ['71+82=153', '38+18=56'] Exploring Operation: 153-56=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
mult_heuristic
[ { "content": "Make 97 with the numbers [71, 82, 38, 18] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 97:[71, 82, 38, 18], Operations: []\nExploring Operation: 82+18=100, Resulting Numbers: [71, 38, 100]\nGenerated Node #0,0: 97:[71, 38, 100] Operation: 82+18=100\nExploring Operation: 38+18=56, Resulting Numbers: [71, 82, 56]\nGenerated Node #0,1: 97:[71, 82, 56] Operation: 38+18=56\nExploring Operation: 71+18=89, Resulting Numbers: [82, 38, 89]\nGenerated Node #0,2: 97:[82, 38, 89] Operation: 71+18=89\nMoving to Node #0,1\nCurrent State: 97:[71, 82, 56], Operations: ['38+18=56']\nExploring Operation: 82+56=138, Resulting Numbers: [71, 138]\nGenerated Node #0,1,0: 97:[71, 138] Operation: 82+56=138\nExploring Operation: 71+82=153, Resulting Numbers: [56, 153]\nGenerated Node #0,1,1: 97:[56, 153] Operation: 71+82=153\nExploring Operation: 71+56=127, Resulting Numbers: [82, 127]\nGenerated Node #0,1,2: 97:[82, 127] Operation: 71+56=127\nMoving to Node #0,2\nCurrent State: 97:[82, 38, 89], Operations: ['71+18=89']\nExploring Operation: 82+38=120, Resulting Numbers: [89, 120]\nGenerated Node #0,2,0: 97:[89, 120] Operation: 82+38=120\nExploring Operation: 82-38=44, Resulting Numbers: [89, 44]\nGenerated Node #0,2,1: 97:[89, 44] Operation: 82-38=44\nExploring Operation: 38+89=127, Resulting Numbers: [82, 127]\nGenerated Node #0,2,2: 97:[82, 127] Operation: 38+89=127\nMoving to Node #0,0\nCurrent State: 97:[71, 38, 100], Operations: ['82+18=100']\nExploring Operation: 71-38=33, Resulting Numbers: [100, 33]\nGenerated Node #0,0,0: 97:[100, 33] Operation: 71-38=33\nExploring Operation: 100-38=62, Resulting Numbers: [71, 62]\nGenerated Node #0,0,1: 97:[71, 62] Operation: 100-38=62\nExploring Operation: 71+38=109, Resulting Numbers: [100, 109]\nGenerated Node #0,0,2: 97:[100, 109] Operation: 71+38=109\nMoving to Node #0,0,2\nCurrent State: 97:[100, 109], Operations: ['82+18=100', '71+38=109']\nExploring Operation: 100*109=10900, Resulting Numbers: [10900]\n10900,97 unequal: No Solution\nExploring Operation: 109-100=9, Resulting Numbers: [9]\n9,97 unequal: No Solution\nExploring Operation: 100+109=209, Resulting Numbers: [209]\n209,97 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 97:[89, 120], Operations: ['71+18=89', '82+38=120']\nExploring Operation: 89+120=209, Resulting Numbers: [209]\n209,97 unequal: No Solution\nExploring Operation: 89*120=10680, Resulting Numbers: [10680]\n10680,97 unequal: No Solution\nExploring Operation: 120-89=31, Resulting Numbers: [31]\n31,97 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 97:[82, 127], Operations: ['38+18=56', '71+56=127']\nExploring Operation: 82*127=10414, Resulting Numbers: [10414]\n10414,97 unequal: No Solution\nExploring Operation: 82+127=209, Resulting Numbers: [209]\n209,97 unequal: No Solution\nExploring Operation: 127-82=45, Resulting Numbers: [45]\n45,97 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 97:[82, 127], Operations: ['71+18=89', '38+89=127']\nExploring Operation: 82*127=10414, Resulting Numbers: [10414]\n10414,97 unequal: No Solution\nExploring Operation: 127-82=45, Resulting Numbers: [45]\n45,97 unequal: No Solution\nExploring Operation: 82+127=209, Resulting Numbers: [209]\n209,97 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 97:[45], Operations: ['38+18=56', '71+56=127', '127-82=45']\nMoving to Node #0,2,1\nCurrent State: 97:[89, 44], Operations: ['71+18=89', '82-38=44']\nExploring Operation: 89*44=3916, Resulting Numbers: [3916]\n3916,97 unequal: No Solution\nExploring Operation: 89-44=45, Resulting Numbers: [45]\n45,97 unequal: No Solution\nExploring Operation: 89+44=133, Resulting Numbers: [133]\n133,97 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 97:[133], Operations: ['71+18=89', '82-38=44', '89+44=133']\nMoving to Node #0,2,2,0\nCurrent State: 97:[45], Operations: ['71+18=89', '38+89=127', '127-82=45']\nMoving to Node #0,2,1,0\nCurrent State: 97:[45], Operations: ['71+18=89', '82-38=44', '89-44=45']\nMoving to Node #0,0,1\nCurrent State: 97:[71, 62], Operations: ['82+18=100', '100-38=62']\nExploring Operation: 71*62=4402, Resulting Numbers: [4402]\n4402,97 unequal: No Solution\nExploring Operation: 71+62=133, Resulting Numbers: [133]\n133,97 unequal: No Solution\nExploring Operation: 71-62=9, Resulting Numbers: [9]\n9,97 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 97:[31], Operations: ['71+18=89', '82+38=120', '120-89=31']\nMoving to Node #0,1,0\nCurrent State: 97:[71, 138], Operations: ['38+18=56', '82+56=138']\nExploring Operation: 138-71=67, Resulting Numbers: [67]\n67,97 unequal: No Solution\nExploring Operation: 71+138=209, Resulting Numbers: [209]\n209,97 unequal: No Solution\nExploring Operation: 71*138=9798, Resulting Numbers: [9798]\n9798,97 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 97:[67], Operations: ['38+18=56', '82+56=138', '138-71=67']\nMoving to Node #0,0,1,0\nCurrent State: 97:[133], Operations: ['82+18=100', '100-38=62', '71+62=133']\nMoving to Node #0,0,0\nCurrent State: 97:[100, 33], Operations: ['82+18=100', '71-38=33']\nExploring Operation: 100-33=67, Resulting Numbers: [67]\n67,97 unequal: No Solution\nExploring Operation: 100+33=133, Resulting Numbers: [133]\n133,97 unequal: No Solution\nExploring Operation: 100*33=3300, Resulting Numbers: [3300]\n3300,97 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 97:[67], Operations: ['82+18=100', '71-38=33', '100-33=67']\nMoving to Node #0,0,0,0\nCurrent State: 97:[133], Operations: ['82+18=100', '71-38=33', '100+33=133']\nMoving to Node #0,0,2,0\nCurrent State: 97:[9], Operations: ['82+18=100', '71+38=109', '109-100=9']\nMoving to Node #0,0,1,0\nCurrent State: 97:[9], Operations: ['82+18=100', '100-38=62', '71-62=9']\nMoving to Node #0,1,1\nCurrent State: 97:[56, 153], Operations: ['38+18=56', '71+82=153']\nExploring Operation: 153-56=97, Resulting Numbers: [97]\n97,97 equal: Goal Reached\n", "role": "assistant" } ]
[ 52, 87, 74, 25 ]
40
[ "52+87=139", "74+25=99", "139-99=40" ]
Current State: 40:[52, 87, 74, 25], Operations: [] Exploring Operation: 74-52=22, Resulting Numbers: [87, 25, 22] Generated Node #0,0: 40:[87, 25, 22] Operation: 74-52=22 Exploring Operation: 87-52=35, Resulting Numbers: [74, 25, 35] Generated Node #0,1: 40:[74, 25, 35] Operation: 87-52=35 Exploring Operation: 87-74=13, Resulting Numbers: [52, 25, 13] Generated Node #0,2: 40:[52, 25, 13] Operation: 87-74=13 Moving to Node #0,2 Current State: 40:[52, 25, 13], Operations: ['87-74=13'] Exploring Operation: 52-25=27, Resulting Numbers: [13, 27] Generated Node #0,2,0: 40:[13, 27] Operation: 52-25=27 Exploring Operation: 52/13=4, Resulting Numbers: [25, 4] Generated Node #0,2,1: 40:[25, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [25, 39] Generated Node #0,2,2: 40:[25, 39] Operation: 52-13=39 Moving to Node #0,1 Current State: 40:[74, 25, 35], Operations: ['87-52=35'] Exploring Operation: 74-25=49, Resulting Numbers: [35, 49] Generated Node #0,1,0: 40:[35, 49] Operation: 74-25=49 Exploring Operation: 35-25=10, Resulting Numbers: [74, 10] Generated Node #0,1,1: 40:[74, 10] Operation: 35-25=10 Exploring Operation: 74-35=39, Resulting Numbers: [25, 39] Generated Node #0,1,2: 40:[25, 39] Operation: 74-35=39 Moving to Node #0,0 Current State: 40:[87, 25, 22], Operations: ['74-52=22'] Exploring Operation: 87-22=65, Resulting Numbers: [25, 65] Generated Node #0,0,0: 40:[25, 65] Operation: 87-22=65 Exploring Operation: 25-22=3, Resulting Numbers: [87, 3] Generated Node #0,0,1: 40:[87, 3] Operation: 25-22=3 Exploring Operation: 87-25=62, Resulting Numbers: [22, 62] Generated Node #0,0,2: 40:[22, 62] Operation: 87-25=62 Moving to Node #0,2,1 Current State: 40:[25, 4], Operations: ['87-74=13', '52/13=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,40 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[25, 39], Operations: ['87-74=13', '52-13=39'] Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,40 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[25, 39], Operations: ['87-52=35', '74-35=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,40 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,40 unequal: No Solution Moving to Node #0,2,1,0 Current State: 40:[21], Operations: ['87-74=13', '52/13=4', '25-4=21'] Moving to Node #0,1,2,0 Current State: 40:[14], Operations: ['87-52=35', '74-35=39', '39-25=14'] Moving to Node #0,2,2,0 Current State: 40:[14], Operations: ['87-74=13', '52-13=39', '39-25=14'] Moving to Node #0,2,1,0 Current State: 40:[29], Operations: ['87-74=13', '52/13=4', '25+4=29'] Moving to Node #0,2,0 Current State: 40:[13, 27], Operations: ['87-74=13', '52-25=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.980035
bfs_3
Current State: 40:[52, 87, 74, 25], Operations: [] Exploring Operation: 52+87=139, Resulting Numbers: [74, 25, 139] Generated Node #2: [74, 25, 139] from Operation: 52+87=139 Current State: 40:[74, 25, 139], Operations: ['52+87=139'] Exploring Operation: 74+25=99, Resulting Numbers: [139, 99] Generated Node #3: [139, 99] from Operation: 74+25=99 Current State: 40:[139, 99], Operations: ['52+87=139', '74+25=99'] Exploring Operation: 139-99=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
mult_heuristic
[ { "content": "Make 40 with the numbers [52, 87, 74, 25] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 40:[52, 87, 74, 25], Operations: []\nExploring Operation: 74-52=22, Resulting Numbers: [87, 25, 22]\nGenerated Node #0,0: 40:[87, 25, 22] Operation: 74-52=22\nExploring Operation: 87-52=35, Resulting Numbers: [74, 25, 35]\nGenerated Node #0,1: 40:[74, 25, 35] Operation: 87-52=35\nExploring Operation: 87-74=13, Resulting Numbers: [52, 25, 13]\nGenerated Node #0,2: 40:[52, 25, 13] Operation: 87-74=13\nMoving to Node #0,2\nCurrent State: 40:[52, 25, 13], Operations: ['87-74=13']\nExploring Operation: 52-25=27, Resulting Numbers: [13, 27]\nGenerated Node #0,2,0: 40:[13, 27] Operation: 52-25=27\nExploring Operation: 52/13=4, Resulting Numbers: [25, 4]\nGenerated Node #0,2,1: 40:[25, 4] Operation: 52/13=4\nExploring Operation: 52-13=39, Resulting Numbers: [25, 39]\nGenerated Node #0,2,2: 40:[25, 39] Operation: 52-13=39\nMoving to Node #0,1\nCurrent State: 40:[74, 25, 35], Operations: ['87-52=35']\nExploring Operation: 74-25=49, Resulting Numbers: [35, 49]\nGenerated Node #0,1,0: 40:[35, 49] Operation: 74-25=49\nExploring Operation: 35-25=10, Resulting Numbers: [74, 10]\nGenerated Node #0,1,1: 40:[74, 10] Operation: 35-25=10\nExploring Operation: 74-35=39, Resulting Numbers: [25, 39]\nGenerated Node #0,1,2: 40:[25, 39] Operation: 74-35=39\nMoving to Node #0,0\nCurrent State: 40:[87, 25, 22], Operations: ['74-52=22']\nExploring Operation: 87-22=65, Resulting Numbers: [25, 65]\nGenerated Node #0,0,0: 40:[25, 65] Operation: 87-22=65\nExploring Operation: 25-22=3, Resulting Numbers: [87, 3]\nGenerated Node #0,0,1: 40:[87, 3] Operation: 25-22=3\nExploring Operation: 87-25=62, Resulting Numbers: [22, 62]\nGenerated Node #0,0,2: 40:[22, 62] Operation: 87-25=62\nMoving to Node #0,2,1\nCurrent State: 40:[25, 4], Operations: ['87-74=13', '52/13=4']\nExploring Operation: 25+4=29, Resulting Numbers: [29]\n29,40 unequal: No Solution\nExploring Operation: 25*4=100, Resulting Numbers: [100]\n100,40 unequal: No Solution\nExploring Operation: 25-4=21, Resulting Numbers: [21]\n21,40 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 40:[25, 39], Operations: ['87-74=13', '52-13=39']\nExploring Operation: 25*39=975, Resulting Numbers: [975]\n975,40 unequal: No Solution\nExploring Operation: 39-25=14, Resulting Numbers: [14]\n14,40 unequal: No Solution\nExploring Operation: 25+39=64, Resulting Numbers: [64]\n64,40 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 40:[25, 39], Operations: ['87-52=35', '74-35=39']\nExploring Operation: 25+39=64, Resulting Numbers: [64]\n64,40 unequal: No Solution\nExploring Operation: 39-25=14, Resulting Numbers: [14]\n14,40 unequal: No Solution\nExploring Operation: 25*39=975, Resulting Numbers: [975]\n975,40 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 40:[21], Operations: ['87-74=13', '52/13=4', '25-4=21']\nMoving to Node #0,1,2,0\nCurrent State: 40:[14], Operations: ['87-52=35', '74-35=39', '39-25=14']\nMoving to Node #0,2,2,0\nCurrent State: 40:[14], Operations: ['87-74=13', '52-13=39', '39-25=14']\nMoving to Node #0,2,1,0\nCurrent State: 40:[29], Operations: ['87-74=13', '52/13=4', '25+4=29']\nMoving to Node #0,2,0\nCurrent State: 40:[13, 27], Operations: ['87-74=13', '52-25=27']\nExploring Operation: 13+27=40, Resulting Numbers: [40]\n40,40 equal: Goal Reached\n", "role": "assistant" } ]
[ 45, 11, 40, 33 ]
49
[ "45+11=56", "40-33=7", "56-7=49" ]
Current State: 49:[45, 11, 40, 33], Operations: [] Exploring Operation: 40-33=7, Resulting Numbers: [45, 11, 7] Generated Node #0,0: 49:[45, 11, 7] Operation: 40-33=7 Moving to Node #0,0 Current State: 49:[45, 11, 7], Operations: ['40-33=7'] Exploring Operation: 45+11=56, Resulting Numbers: [7, 56] Generated Node #0,0,0: 49:[7, 56] Operation: 45+11=56 Moving to Node #0,0,0 Current State: 49:[7, 56], Operations: ['40-33=7', '45+11=56'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.996528
bfs_1
Current State: 49:[45, 11, 40, 33], Operations: [] Exploring Operation: 45+11=56, Resulting Numbers: [40, 33, 56] Generated Node #2: [40, 33, 56] from Operation: 45+11=56 Current State: 49:[40, 33, 56], Operations: ['45+11=56'] Exploring Operation: 40-33=7, Resulting Numbers: [56, 7] Generated Node #3: [56, 7] from Operation: 40-33=7 Current State: 49:[56, 7], Operations: ['45+11=56', '40-33=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
mult_heuristic
[ { "content": "Make 49 with the numbers [45, 11, 40, 33] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 49:[45, 11, 40, 33], Operations: []\nExploring Operation: 40-33=7, Resulting Numbers: [45, 11, 7]\nGenerated Node #0,0: 49:[45, 11, 7] Operation: 40-33=7\nMoving to Node #0,0\nCurrent State: 49:[45, 11, 7], Operations: ['40-33=7']\nExploring Operation: 45+11=56, Resulting Numbers: [7, 56]\nGenerated Node #0,0,0: 49:[7, 56] Operation: 45+11=56\nMoving to Node #0,0,0\nCurrent State: 49:[7, 56], Operations: ['40-33=7', '45+11=56']\nExploring Operation: 56-7=49, Resulting Numbers: [49]\n49,49 equal: Goal Reached\n", "role": "assistant" } ]
[ 75, 15, 78, 15 ]
83
[ "15*78=1170", "75+1170=1245", "1245/15=83" ]
Current State: 83:[75, 15, 78, 15], Operations: [] Exploring Operation: 78+15=93, Resulting Numbers: [75, 15, 93] Generated Node #0,0: 83:[75, 15, 93] Operation: 78+15=93 Exploring Operation: 15+78=93, Resulting Numbers: [75, 15, 93] Generated Node #0,1: 83:[75, 15, 93] Operation: 15+78=93 Exploring Operation: 15+15=30, Resulting Numbers: [75, 78, 30] Generated Node #0,2: 83:[75, 78, 30] Operation: 15+15=30 Exploring Operation: 75+15=90, Resulting Numbers: [15, 78, 90] Generated Node #0,3: 83:[15, 78, 90] Operation: 75+15=90 Exploring Operation: 75+15=90, Resulting Numbers: [78, 15, 90] Generated Node #0,4: 83:[78, 15, 90] Operation: 75+15=90 Moving to Node #0,2 Current State: 83:[75, 78, 30], Operations: ['15+15=30'] Exploring Operation: 75+78=153, Resulting Numbers: [30, 153] Generated Node #0,2,0: 83:[30, 153] Operation: 75+78=153 Exploring Operation: 75-30=45, Resulting Numbers: [78, 45] Generated Node #0,2,1: 83:[78, 45] Operation: 75-30=45 Exploring Operation: 78-30=48, Resulting Numbers: [75, 48] Generated Node #0,2,2: 83:[75, 48] Operation: 78-30=48 Exploring Operation: 78+30=108, Resulting Numbers: [75, 108] Generated Node #0,2,3: 83:[75, 108] Operation: 78+30=108 Exploring Operation: 75+30=105, Resulting Numbers: [78, 105] Generated Node #0,2,4: 83:[78, 105] Operation: 75+30=105 Moving to Node #0,4 Current State: 83:[78, 15, 90], Operations: ['75+15=90'] Exploring Operation: 90/15=6, Resulting Numbers: [78, 6] Generated Node #0,4,0: 83:[78, 6] Operation: 90/15=6 Exploring Operation: 15+90=105, Resulting Numbers: [78, 105] Generated Node #0,4,1: 83:[78, 105] Operation: 15+90=105 Exploring Operation: 78-15=63, Resulting Numbers: [90, 63] Generated Node #0,4,2: 83:[90, 63] Operation: 78-15=63 Exploring Operation: 78+15=93, Resulting Numbers: [90, 93] Generated Node #0,4,3: 83:[90, 93] Operation: 78+15=93 Exploring Operation: 90-15=75, Resulting Numbers: [78, 75] Generated Node #0,4,4: 83:[78, 75] Operation: 90-15=75 Moving to Node #0,3 Current State: 83:[15, 78, 90], Operations: ['75+15=90'] Exploring Operation: 90/15=6, Resulting Numbers: [78, 6] Generated Node #0,3,0: 83:[78, 6] Operation: 90/15=6 Exploring Operation: 15+90=105, Resulting Numbers: [78, 105] Generated Node #0,3,1: 83:[78, 105] Operation: 15+90=105 Exploring Operation: 15+78=93, Resulting Numbers: [90, 93] Generated Node #0,3,2: 83:[90, 93] Operation: 15+78=93 Exploring Operation: 78-15=63, Resulting Numbers: [90, 63] Generated Node #0,3,3: 83:[90, 63] Operation: 78-15=63 Exploring Operation: 90-15=75, Resulting Numbers: [78, 75] Generated Node #0,3,4: 83:[78, 75] Operation: 90-15=75 Moving to Node #0,0 Current State: 83:[75, 15, 93], Operations: ['78+15=93'] Exploring Operation: 75+15=90, Resulting Numbers: [93, 90] Generated Node #0,0,0: 83:[93, 90] Operation: 75+15=90 Exploring Operation: 75-15=60, Resulting Numbers: [93, 60] Generated Node #0,0,1: 83:[93, 60] Operation: 75-15=60 Exploring Operation: 15+93=108, Resulting Numbers: [75, 108] Generated Node #0,0,2: 83:[75, 108] Operation: 15+93=108 Exploring Operation: 93-15=78, Resulting Numbers: [75, 78] Generated Node #0,0,3: 83:[75, 78] Operation: 93-15=78 Exploring Operation: 75/15=5, Resulting Numbers: [93, 5] Generated Node #0,0,4: 83:[93, 5] Operation: 75/15=5 Moving to Node #0,1 Current State: 83:[75, 15, 93], Operations: ['15+78=93'] Exploring Operation: 15+93=108, Resulting Numbers: [75, 108] Generated Node #0,1,0: 83:[75, 108] Operation: 15+93=108 Exploring Operation: 75/15=5, Resulting Numbers: [93, 5] Generated Node #0,1,1: 83:[93, 5] Operation: 75/15=5 Exploring Operation: 75-15=60, Resulting Numbers: [93, 60] Generated Node #0,1,2: 83:[93, 60] Operation: 75-15=60 Exploring Operation: 75+15=90, Resulting Numbers: [93, 90] Generated Node #0,1,3: 83:[93, 90] Operation: 75+15=90 Exploring Operation: 93-15=78, Resulting Numbers: [75, 78] Generated Node #0,1,4: 83:[75, 78] Operation: 93-15=78 Moving to Node #0,4,4 Current State: 83:[78, 75], Operations: ['75+15=90', '90-15=75'] Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 78+75=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 78*75=5850, Resulting Numbers: [5850] 5850,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[78, 75], Operations: ['75+15=90', '90-15=75'] Exploring Operation: 78+75=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 78*75=5850, Resulting Numbers: [5850] 5850,83 unequal: No Solution Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[75, 78], Operations: ['15+78=93', '93-15=78'] Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 75+78=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 75*78=5850, Resulting Numbers: [5850] 5850,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[75, 78], Operations: ['78+15=93', '93-15=78'] Exploring Operation: 75*78=5850, Resulting Numbers: [5850] 5850,83 unequal: No Solution Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 75+78=153, Resulting Numbers: [153] 153,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[90, 93], Operations: ['75+15=90', '78+15=93'] Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 90*93=8370, Resulting Numbers: [8370] 8370,83 unequal: No Solution Exploring Operation: 90+93=183, Resulting Numbers: [183] 183,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[90, 93], Operations: ['75+15=90', '15+78=93'] Exploring Operation: 90+93=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 90*93=8370, Resulting Numbers: [8370] 8370,83 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[93, 90], Operations: ['15+78=93', '75+15=90'] Exploring Operation: 93+90=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 93*90=8370, Resulting Numbers: [8370] 8370,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[93, 90], Operations: ['78+15=93', '75+15=90'] Exploring Operation: 93*90=8370, Resulting Numbers: [8370] 8370,83 unequal: No Solution Exploring Operation: 93+90=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[78, 105], Operations: ['15+15=30', '75+30=105'] Exploring Operation: 78+105=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 78*105=8190, Resulting Numbers: [8190] 8190,83 unequal: No Solution Exploring Operation: 105-78=27, Resulting Numbers: [27] 27,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[90, 63], Operations: ['75+15=90', '78-15=63'] Exploring Operation: 90-63=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 90+63=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 90*63=5670, Resulting Numbers: [5670] 5670,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[78, 105], Operations: ['75+15=90', '15+90=105'] Exploring Operation: 78+105=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 78*105=8190, Resulting Numbers: [8190] 8190,83 unequal: No Solution Exploring Operation: 105-78=27, Resulting Numbers: [27] 27,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[78, 105], Operations: ['75+15=90', '15+90=105'] Exploring Operation: 105-78=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 78+105=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 78*105=8190, Resulting Numbers: [8190] 8190,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[90, 63], Operations: ['75+15=90', '78-15=63'] Exploring Operation: 90*63=5670, Resulting Numbers: [5670] 5670,83 unequal: No Solution Exploring Operation: 90+63=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 90-63=27, Resulting Numbers: [27] 27,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[93, 60], Operations: ['15+78=93', '75-15=60'] Exploring Operation: 93*60=5580, Resulting Numbers: [5580] 5580,83 unequal: No Solution Exploring Operation: 93-60=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 93+60=153, Resulting Numbers: [153] 153,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[75, 108], Operations: ['15+78=93', '15+93=108'] Exploring Operation: 108-75=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 75*108=8100, Resulting Numbers: [8100] 8100,83 unequal: No Solution Exploring Operation: 75+108=183, Resulting Numbers: [183] 183,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[75, 108], Operations: ['15+15=30', '78+30=108'] Exploring Operation: 75*108=8100, Resulting Numbers: [8100] 8100,83 unequal: No Solution Exploring Operation: 75+108=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 108-75=33, Resulting Numbers: [33] 33,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[75, 108], Operations: ['78+15=93', '15+93=108'] Exploring Operation: 108-75=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 75+108=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 75*108=8100, Resulting Numbers: [8100] 8100,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[93, 60], Operations: ['78+15=93', '75-15=60'] Exploring Operation: 93+60=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 93*60=5580, Resulting Numbers: [5580] 5580,83 unequal: No Solution Exploring Operation: 93-60=33, Resulting Numbers: [33] 33,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[78, 45], Operations: ['15+15=30', '75-30=45'] Exploring Operation: 78*45=3510, Resulting Numbers: [3510] 3510,83 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 78+45=123, Resulting Numbers: [123] 123,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[75, 48], Operations: ['15+15=30', '78-30=48'] Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 75*48=3600, Resulting Numbers: [3600] 3600,83 unequal: No Solution Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,83 unequal: No Solution Moving to Node #0,2,1,0 Current State: 83:[123], Operations: ['15+15=30', '75-30=45', '78+45=123'] Moving to Node #0,2,2,0 Current State: 83:[123], Operations: ['15+15=30', '78-30=48', '75+48=123'] Moving to Node #0,1,2,0 Current State: 83:[33], Operations: ['15+78=93', '75-15=60', '93-60=33'] Moving to Node #0,1,0,0 Current State: 83:[33], Operations: ['15+78=93', '15+93=108', '108-75=33'] Moving to Node #0,0,1,0 Current State: 83:[33], Operations: ['78+15=93', '75-15=60', '93-60=33'] Moving to Node #0,2,1,0 Current State: 83:[33], Operations: ['15+15=30', '75-30=45', '78-45=33'] Moving to Node #0,2,3,0 Current State: 83:[33], Operations: ['15+15=30', '78+30=108', '108-75=33'] Moving to Node #0,0,2,0 Current State: 83:[33], Operations: ['78+15=93', '15+93=108', '108-75=33'] Moving to Node #0,2,4,0 Current State: 83:[27], Operations: ['15+15=30', '75+30=105', '105-78=27'] Moving to Node #0,4,1,0 Current State: 83:[27], Operations: ['75+15=90', '15+90=105', '105-78=27'] Moving to Node #0,4,2,0 Current State: 83:[27], Operations: ['75+15=90', '78-15=63', '90-63=27'] Moving to Node #0,3,3,0 Current State: 83:[27], Operations: ['75+15=90', '78-15=63', '90-63=27'] Moving to Node #0,3,1,0 Current State: 83:[27], Operations: ['75+15=90', '15+90=105', '105-78=27'] Moving to Node #0,2,2,0 Current State: 83:[27], Operations: ['15+15=30', '78-30=48', '75-48=27'] Moving to Node #0,0,1,0 Current State: 83:[153], Operations: ['78+15=93', '75-15=60', '93+60=153'] Moving to Node #0,1,2,0 Current State: 83:[153], Operations: ['15+78=93', '75-15=60', '93+60=153'] Moving to Node #0,0,3,0 Current State: 83:[153], Operations: ['78+15=93', '93-15=78', '75+78=153'] Moving to Node #0,1,4,0 Current State: 83:[153], Operations: ['15+78=93', '93-15=78', '75+78=153'] Moving to Node #0,3,4,0 Current State: 83:[153], Operations: ['75+15=90', '90-15=75', '78+75=153'] Moving to Node #0,4,2,0 Current State: 83:[153], Operations: ['75+15=90', '78-15=63', '90+63=153'] Moving to Node #0,3,3,0 Current State: 83:[153], Operations: ['75+15=90', '78-15=63', '90+63=153'] Moving to Node #0,4,4,0 Current State: 83:[153], Operations: ['75+15=90', '90-15=75', '78+75=153'] Moving to Node #0,3,2,0 Current State: 83:[3], Operations: ['75+15=90', '15+78=93', '93-90=3'] Moving to Node #0,0,3,0 Current State: 83:[3], Operations: ['78+15=93', '93-15=78', '78-75=3'] Moving to Node #0,1,4,0 Current State: 83:[3], Operations: ['15+78=93', '93-15=78', '78-75=3'] Moving to Node #0,4,3,0 Current State: 83:[3], Operations: ['75+15=90', '78+15=93', '93-90=3'] Moving to Node #0,3,4,0 Current State: 83:[3], Operations: ['75+15=90', '90-15=75', '78-75=3'] Moving to Node #0,4,4,0 Current State: 83:[3], Operations: ['75+15=90', '90-15=75', '78-75=3'] Moving to Node #0,0,0,0 Current State: 83:[3], Operations: ['78+15=93', '75+15=90', '93-90=3'] Moving to Node #0,1,3,0 Current State: 83:[3], Operations: ['15+78=93', '75+15=90', '93-90=3'] Moving to Node #0,3,0 Current State: 83:[78, 6], Operations: ['75+15=90', '90/15=6'] Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,83 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[78, 6], Operations: ['75+15=90', '90/15=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[93, 5], Operations: ['78+15=93', '75/15=5'] Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[93, 5], Operations: ['15+78=93', '75/15=5'] Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,83 unequal: No Solution Moving to Node #0,2,3,0 Current State: 83:[183], Operations: ['15+15=30', '78+30=108', '75+108=183'] Moving to Node #0,3,0,0 Current State: 83:[84], Operations: ['75+15=90', '90/15=6', '78+6=84'] Moving to Node #0,4,0,0 Current State: 83:[84], Operations: ['75+15=90', '90/15=6', '78+6=84'] Moving to Node #0,1,1,0 Current State: 83:[88], Operations: ['15+78=93', '75/15=5', '93-5=88'] Moving to Node #0,0,4,0 Current State: 83:[88], Operations: ['78+15=93', '75/15=5', '93-5=88'] Moving to Node #0,3,0,0 Current State: 83:[72], Operations: ['75+15=90', '90/15=6', '78-6=72'] Moving to Node #0,4,0,0 Current State: 83:[72], Operations: ['75+15=90', '90/15=6', '78-6=72'] Moving to Node #0,0,4,0 Current State: 83:[98], Operations: ['78+15=93', '75/15=5', '93+5=98'] Moving to Node #0,1,1,0 Current State: 83:[98], Operations: ['15+78=93', '75/15=5', '93+5=98'] Moving to Node #0,4,0,0 Current State: 83:[13], Operations: ['75+15=90', '90/15=6', '78/6=13'] Moving to Node #0,3,0,0 Current State: 83:[13], Operations: ['75+15=90', '90/15=6', '78/6=13'] Moving to Node #0,4,1,0 Current State: 83:[183], Operations: ['75+15=90', '15+90=105', '78+105=183'] Moving to Node #0,4,3,0 Current State: 83:[183], Operations: ['75+15=90', '78+15=93', '90+93=183'] Moving to Node #0,3,1,0 Current State: 83:[183], Operations: ['75+15=90', '15+90=105', '78+105=183'] Moving to Node #0,2,4,0 Current State: 83:[183], Operations: ['15+15=30', '75+30=105', '78+105=183'] Moving to Node #0,0,2,0 Current State: 83:[183], Operations: ['78+15=93', '15+93=108', '75+108=183'] Moving to Node #0,1,0,0 Current State: 83:[183], Operations: ['15+78=93', '15+93=108', '75+108=183'] Moving to Node #0,1,3,0 Current State: 83:[183], Operations: ['15+78=93', '75+15=90', '93+90=183'] Moving to Node #0,3,2,0 Current State: 83:[183], Operations: ['75+15=90', '15+78=93', '90+93=183'] Moving to Node #0,0,0,0 Current State: 83:[183], Operations: ['78+15=93', '75+15=90', '93+90=183'] Moving to Node #0,2,0 Current State: 83:[30, 153], Operations: ['15+15=30', '75+78=153'] Exploring Operation: 30+153=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 30*153=4590, Resulting Numbers: [4590] 4590,83 unequal: No Solution Exploring Operation: 153-30=123, Resulting Numbers: [123] 123,83 unequal: No Solution Moving to Node #0,2,0,0 Current State: 83:[123], Operations: ['15+15=30', '75+78=153', '153-30=123'] Moving to Node #0,2,0,0 Current State: 83:[183], Operations: ['15+15=30', '75+78=153', '30+153=183'] Moving to Node #0,1,1,0 Current State: 83:[465], Operations: ['15+78=93', '75/15=5', '93*5=465'] Moving to Node #0,0,4,0 Current State: 83:[465], Operations: ['78+15=93', '75/15=5', '93*5=465'] Moving to Node #0,3,0,0 Current State: 83:[468], Operations: ['75+15=90', '90/15=6', '78*6=468'] Moving to Node #0,4,0,0 Current State: 83:[468], Operations: ['75+15=90', '90/15=6', '78*6=468'] Moving to Node #0,2,1,0 Current State: 83:[3510], Operations: ['15+15=30', '75-30=45', '78*45=3510'] Moving to Node #0,2,2,0 Current State: 83:[3600], Operations: ['15+15=30', '78-30=48', '75*48=3600'] Moving to Node #0,2,0,0 Current State: 83:[4590], Operations: ['15+15=30', '75+78=153', '30*153=4590'] Moving to Node #0,0,1,0 Current State: 83:[5580], Operations: ['78+15=93', '75-15=60', '93*60=5580'] Moving to Node #0,1,2,0 Current State: 83:[5580], Operations: ['15+78=93', '75-15=60', '93*60=5580'] Moving to Node #0,4,2,0 Current State: 83:[5670], Operations: ['75+15=90', '78-15=63', '90*63=5670'] Moving to Node #0,3,3,0 Current State: 83:[5670], Operations: ['75+15=90', '78-15=63', '90*63=5670'] Moving to Node #0,1,4,0 Current State: 83:[5850], Operations: ['15+78=93', '93-15=78', '75*78=5850'] Moving to Node #0,4,4,0 Current State: 83:[5850], Operations: ['75+15=90', '90-15=75', '78*75=5850'] Moving to Node #0,0,3,0 Current State: 83:[5850], Operations: ['78+15=93', '93-15=78', '75*78=5850'] Moving to Node #0,3,4,0 Current State: 83:[5850], Operations: ['75+15=90', '90-15=75', '78*75=5850'] Moving to Node #0,0,2,0 Current State: 83:[8100], Operations: ['78+15=93', '15+93=108', '75*108=8100'] Moving to Node #0,2,3,0 Current State: 83:[8100], Operations: ['15+15=30', '78+30=108', '75*108=8100'] Moving to Node #0,1,0,0 Current State: 83:[8100], Operations: ['15+78=93', '15+93=108', '75*108=8100'] Moving to Node #0,4,1,0 Current State: 83:[8190], Operations: ['75+15=90', '15+90=105', '78*105=8190'] Moving to Node #0,3,1,0 Current State: 83:[8190], Operations: ['75+15=90', '15+90=105', '78*105=8190'] Moving to Node #0,2,4,0 Current State: 83:[8190], Operations: ['15+15=30', '75+30=105', '78*105=8190'] Moving to Node #0,0,0,0 Current State: 83:[8370], Operations: ['78+15=93', '75+15=90', '93*90=8370'] Moving to Node #0,3,2,0 Current State: 83:[8370], Operations: ['75+15=90', '15+78=93', '90*93=8370'] Moving to Node #0,4,3,0 Current State: 83:[8370], Operations: ['75+15=90', '78+15=93', '90*93=8370'] Moving to Node #0,1,3,0 Current State: 83:[8370], Operations: ['15+78=93', '75+15=90', '93*90=8370'] No solution found.
0
bfs_5
Current State: 83:[75, 15, 78, 15], Operations: [] Exploring Operation: 15*78=1170, Resulting Numbers: [75, 1170] Generated Node #2: [75, 1170] from Operation: 15*78=1170 Current State: 83:[75, 1170], Operations: ['15*78=1170'] Exploring Operation: 75+1170=1245, Resulting Numbers: [1245] 1245,83 equal: Goal Reached Exploring Operation: 1245/15=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
mult_heuristic
[ { "content": "Make 83 with the numbers [75, 15, 78, 15] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 83:[75, 15, 78, 15], Operations: []\nExploring Operation: 78+15=93, Resulting Numbers: [75, 15, 93]\nGenerated Node #0,0: 83:[75, 15, 93] Operation: 78+15=93\nExploring Operation: 15+78=93, Resulting Numbers: [75, 15, 93]\nGenerated Node #0,1: 83:[75, 15, 93] Operation: 15+78=93\nExploring Operation: 15+15=30, Resulting Numbers: [75, 78, 30]\nGenerated Node #0,2: 83:[75, 78, 30] Operation: 15+15=30\nExploring Operation: 75+15=90, Resulting Numbers: [15, 78, 90]\nGenerated Node #0,3: 83:[15, 78, 90] Operation: 75+15=90\nExploring Operation: 75+15=90, Resulting Numbers: [78, 15, 90]\nGenerated Node #0,4: 83:[78, 15, 90] Operation: 75+15=90\nMoving to Node #0,2\nCurrent State: 83:[75, 78, 30], Operations: ['15+15=30']\nExploring Operation: 75+78=153, Resulting Numbers: [30, 153]\nGenerated Node #0,2,0: 83:[30, 153] Operation: 75+78=153\nExploring Operation: 75-30=45, Resulting Numbers: [78, 45]\nGenerated Node #0,2,1: 83:[78, 45] Operation: 75-30=45\nExploring Operation: 78-30=48, Resulting Numbers: [75, 48]\nGenerated Node #0,2,2: 83:[75, 48] Operation: 78-30=48\nExploring Operation: 78+30=108, Resulting Numbers: [75, 108]\nGenerated Node #0,2,3: 83:[75, 108] Operation: 78+30=108\nExploring Operation: 75+30=105, Resulting Numbers: [78, 105]\nGenerated Node #0,2,4: 83:[78, 105] Operation: 75+30=105\nMoving to Node #0,4\nCurrent State: 83:[78, 15, 90], Operations: ['75+15=90']\nExploring Operation: 90/15=6, Resulting Numbers: [78, 6]\nGenerated Node #0,4,0: 83:[78, 6] Operation: 90/15=6\nExploring Operation: 15+90=105, Resulting Numbers: [78, 105]\nGenerated Node #0,4,1: 83:[78, 105] Operation: 15+90=105\nExploring Operation: 78-15=63, Resulting Numbers: [90, 63]\nGenerated Node #0,4,2: 83:[90, 63] Operation: 78-15=63\nExploring Operation: 78+15=93, Resulting Numbers: [90, 93]\nGenerated Node #0,4,3: 83:[90, 93] Operation: 78+15=93\nExploring Operation: 90-15=75, Resulting Numbers: [78, 75]\nGenerated Node #0,4,4: 83:[78, 75] Operation: 90-15=75\nMoving to Node #0,3\nCurrent State: 83:[15, 78, 90], Operations: ['75+15=90']\nExploring Operation: 90/15=6, Resulting Numbers: [78, 6]\nGenerated Node #0,3,0: 83:[78, 6] Operation: 90/15=6\nExploring Operation: 15+90=105, Resulting Numbers: [78, 105]\nGenerated Node #0,3,1: 83:[78, 105] Operation: 15+90=105\nExploring Operation: 15+78=93, Resulting Numbers: [90, 93]\nGenerated Node #0,3,2: 83:[90, 93] Operation: 15+78=93\nExploring Operation: 78-15=63, Resulting Numbers: [90, 63]\nGenerated Node #0,3,3: 83:[90, 63] Operation: 78-15=63\nExploring Operation: 90-15=75, Resulting Numbers: [78, 75]\nGenerated Node #0,3,4: 83:[78, 75] Operation: 90-15=75\nMoving to Node #0,0\nCurrent State: 83:[75, 15, 93], Operations: ['78+15=93']\nExploring Operation: 75+15=90, Resulting Numbers: [93, 90]\nGenerated Node #0,0,0: 83:[93, 90] Operation: 75+15=90\nExploring Operation: 75-15=60, Resulting Numbers: [93, 60]\nGenerated Node #0,0,1: 83:[93, 60] Operation: 75-15=60\nExploring Operation: 15+93=108, Resulting Numbers: [75, 108]\nGenerated Node #0,0,2: 83:[75, 108] Operation: 15+93=108\nExploring Operation: 93-15=78, Resulting Numbers: [75, 78]\nGenerated Node #0,0,3: 83:[75, 78] Operation: 93-15=78\nExploring Operation: 75/15=5, Resulting Numbers: [93, 5]\nGenerated Node #0,0,4: 83:[93, 5] Operation: 75/15=5\nMoving to Node #0,1\nCurrent State: 83:[75, 15, 93], Operations: ['15+78=93']\nExploring Operation: 15+93=108, Resulting Numbers: [75, 108]\nGenerated Node #0,1,0: 83:[75, 108] Operation: 15+93=108\nExploring Operation: 75/15=5, Resulting Numbers: [93, 5]\nGenerated Node #0,1,1: 83:[93, 5] Operation: 75/15=5\nExploring Operation: 75-15=60, Resulting Numbers: [93, 60]\nGenerated Node #0,1,2: 83:[93, 60] Operation: 75-15=60\nExploring Operation: 75+15=90, Resulting Numbers: [93, 90]\nGenerated Node #0,1,3: 83:[93, 90] Operation: 75+15=90\nExploring Operation: 93-15=78, Resulting Numbers: [75, 78]\nGenerated Node #0,1,4: 83:[75, 78] Operation: 93-15=78\nMoving to Node #0,4,4\nCurrent State: 83:[78, 75], Operations: ['75+15=90', '90-15=75']\nExploring Operation: 78-75=3, Resulting Numbers: [3]\n3,83 unequal: No Solution\nExploring Operation: 78+75=153, Resulting Numbers: [153]\n153,83 unequal: No Solution\nExploring Operation: 78*75=5850, Resulting Numbers: [5850]\n5850,83 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 83:[78, 75], Operations: ['75+15=90', '90-15=75']\nExploring Operation: 78+75=153, Resulting Numbers: [153]\n153,83 unequal: No Solution\nExploring Operation: 78*75=5850, Resulting Numbers: [5850]\n5850,83 unequal: No Solution\nExploring Operation: 78-75=3, Resulting Numbers: [3]\n3,83 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 83:[75, 78], Operations: ['15+78=93', '93-15=78']\nExploring Operation: 78-75=3, Resulting Numbers: [3]\n3,83 unequal: No Solution\nExploring Operation: 75+78=153, Resulting Numbers: [153]\n153,83 unequal: No Solution\nExploring Operation: 75*78=5850, Resulting Numbers: [5850]\n5850,83 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 83:[75, 78], Operations: ['78+15=93', '93-15=78']\nExploring Operation: 75*78=5850, Resulting Numbers: [5850]\n5850,83 unequal: No Solution\nExploring Operation: 78-75=3, Resulting Numbers: [3]\n3,83 unequal: No Solution\nExploring Operation: 75+78=153, Resulting Numbers: [153]\n153,83 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 83:[90, 93], Operations: ['75+15=90', '78+15=93']\nExploring Operation: 93-90=3, Resulting Numbers: [3]\n3,83 unequal: No Solution\nExploring Operation: 90*93=8370, Resulting Numbers: [8370]\n8370,83 unequal: No Solution\nExploring Operation: 90+93=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 83:[90, 93], Operations: ['75+15=90', '15+78=93']\nExploring Operation: 90+93=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nExploring Operation: 90*93=8370, Resulting Numbers: [8370]\n8370,83 unequal: No Solution\nExploring Operation: 93-90=3, Resulting Numbers: [3]\n3,83 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 83:[93, 90], Operations: ['15+78=93', '75+15=90']\nExploring Operation: 93+90=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nExploring Operation: 93-90=3, Resulting Numbers: [3]\n3,83 unequal: No Solution\nExploring Operation: 93*90=8370, Resulting Numbers: [8370]\n8370,83 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 83:[93, 90], Operations: ['78+15=93', '75+15=90']\nExploring Operation: 93*90=8370, Resulting Numbers: [8370]\n8370,83 unequal: No Solution\nExploring Operation: 93+90=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nExploring Operation: 93-90=3, Resulting Numbers: [3]\n3,83 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 83:[78, 105], Operations: ['15+15=30', '75+30=105']\nExploring Operation: 78+105=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nExploring Operation: 78*105=8190, Resulting Numbers: [8190]\n8190,83 unequal: No Solution\nExploring Operation: 105-78=27, Resulting Numbers: [27]\n27,83 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 83:[90, 63], Operations: ['75+15=90', '78-15=63']\nExploring Operation: 90-63=27, Resulting Numbers: [27]\n27,83 unequal: No Solution\nExploring Operation: 90+63=153, Resulting Numbers: [153]\n153,83 unequal: No Solution\nExploring Operation: 90*63=5670, Resulting Numbers: [5670]\n5670,83 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 83:[78, 105], Operations: ['75+15=90', '15+90=105']\nExploring Operation: 78+105=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nExploring Operation: 78*105=8190, Resulting Numbers: [8190]\n8190,83 unequal: No Solution\nExploring Operation: 105-78=27, Resulting Numbers: [27]\n27,83 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 83:[78, 105], Operations: ['75+15=90', '15+90=105']\nExploring Operation: 105-78=27, Resulting Numbers: [27]\n27,83 unequal: No Solution\nExploring Operation: 78+105=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nExploring Operation: 78*105=8190, Resulting Numbers: [8190]\n8190,83 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 83:[90, 63], Operations: ['75+15=90', '78-15=63']\nExploring Operation: 90*63=5670, Resulting Numbers: [5670]\n5670,83 unequal: No Solution\nExploring Operation: 90+63=153, Resulting Numbers: [153]\n153,83 unequal: No Solution\nExploring Operation: 90-63=27, Resulting Numbers: [27]\n27,83 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 83:[93, 60], Operations: ['15+78=93', '75-15=60']\nExploring Operation: 93*60=5580, Resulting Numbers: [5580]\n5580,83 unequal: No Solution\nExploring Operation: 93-60=33, Resulting Numbers: [33]\n33,83 unequal: No Solution\nExploring Operation: 93+60=153, Resulting Numbers: [153]\n153,83 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 83:[75, 108], Operations: ['15+78=93', '15+93=108']\nExploring Operation: 108-75=33, Resulting Numbers: [33]\n33,83 unequal: No Solution\nExploring Operation: 75*108=8100, Resulting Numbers: [8100]\n8100,83 unequal: No Solution\nExploring Operation: 75+108=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 83:[75, 108], Operations: ['15+15=30', '78+30=108']\nExploring Operation: 75*108=8100, Resulting Numbers: [8100]\n8100,83 unequal: No Solution\nExploring Operation: 75+108=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nExploring Operation: 108-75=33, Resulting Numbers: [33]\n33,83 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 83:[75, 108], Operations: ['78+15=93', '15+93=108']\nExploring Operation: 108-75=33, Resulting Numbers: [33]\n33,83 unequal: No Solution\nExploring Operation: 75+108=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nExploring Operation: 75*108=8100, Resulting Numbers: [8100]\n8100,83 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 83:[93, 60], Operations: ['78+15=93', '75-15=60']\nExploring Operation: 93+60=153, Resulting Numbers: [153]\n153,83 unequal: No Solution\nExploring Operation: 93*60=5580, Resulting Numbers: [5580]\n5580,83 unequal: No Solution\nExploring Operation: 93-60=33, Resulting Numbers: [33]\n33,83 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 83:[78, 45], Operations: ['15+15=30', '75-30=45']\nExploring Operation: 78*45=3510, Resulting Numbers: [3510]\n3510,83 unequal: No Solution\nExploring Operation: 78-45=33, Resulting Numbers: [33]\n33,83 unequal: No Solution\nExploring Operation: 78+45=123, Resulting Numbers: [123]\n123,83 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 83:[75, 48], Operations: ['15+15=30', '78-30=48']\nExploring Operation: 75-48=27, Resulting Numbers: [27]\n27,83 unequal: No Solution\nExploring Operation: 75*48=3600, Resulting Numbers: [3600]\n3600,83 unequal: No Solution\nExploring Operation: 75+48=123, Resulting Numbers: [123]\n123,83 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 83:[123], Operations: ['15+15=30', '75-30=45', '78+45=123']\nMoving to Node #0,2,2,0\nCurrent State: 83:[123], Operations: ['15+15=30', '78-30=48', '75+48=123']\nMoving to Node #0,1,2,0\nCurrent State: 83:[33], Operations: ['15+78=93', '75-15=60', '93-60=33']\nMoving to Node #0,1,0,0\nCurrent State: 83:[33], Operations: ['15+78=93', '15+93=108', '108-75=33']\nMoving to Node #0,0,1,0\nCurrent State: 83:[33], Operations: ['78+15=93', '75-15=60', '93-60=33']\nMoving to Node #0,2,1,0\nCurrent State: 83:[33], Operations: ['15+15=30', '75-30=45', '78-45=33']\nMoving to Node #0,2,3,0\nCurrent State: 83:[33], Operations: ['15+15=30', '78+30=108', '108-75=33']\nMoving to Node #0,0,2,0\nCurrent State: 83:[33], Operations: ['78+15=93', '15+93=108', '108-75=33']\nMoving to Node #0,2,4,0\nCurrent State: 83:[27], Operations: ['15+15=30', '75+30=105', '105-78=27']\nMoving to Node #0,4,1,0\nCurrent State: 83:[27], Operations: ['75+15=90', '15+90=105', '105-78=27']\nMoving to Node #0,4,2,0\nCurrent State: 83:[27], Operations: ['75+15=90', '78-15=63', '90-63=27']\nMoving to Node #0,3,3,0\nCurrent State: 83:[27], Operations: ['75+15=90', '78-15=63', '90-63=27']\nMoving to Node #0,3,1,0\nCurrent State: 83:[27], Operations: ['75+15=90', '15+90=105', '105-78=27']\nMoving to Node #0,2,2,0\nCurrent State: 83:[27], Operations: ['15+15=30', '78-30=48', '75-48=27']\nMoving to Node #0,0,1,0\nCurrent State: 83:[153], Operations: ['78+15=93', '75-15=60', '93+60=153']\nMoving to Node #0,1,2,0\nCurrent State: 83:[153], Operations: ['15+78=93', '75-15=60', '93+60=153']\nMoving to Node #0,0,3,0\nCurrent State: 83:[153], Operations: ['78+15=93', '93-15=78', '75+78=153']\nMoving to Node #0,1,4,0\nCurrent State: 83:[153], Operations: ['15+78=93', '93-15=78', '75+78=153']\nMoving to Node #0,3,4,0\nCurrent State: 83:[153], Operations: ['75+15=90', '90-15=75', '78+75=153']\nMoving to Node #0,4,2,0\nCurrent State: 83:[153], Operations: ['75+15=90', '78-15=63', '90+63=153']\nMoving to Node #0,3,3,0\nCurrent State: 83:[153], Operations: ['75+15=90', '78-15=63', '90+63=153']\nMoving to Node #0,4,4,0\nCurrent State: 83:[153], Operations: ['75+15=90', '90-15=75', '78+75=153']\nMoving to Node #0,3,2,0\nCurrent State: 83:[3], Operations: ['75+15=90', '15+78=93', '93-90=3']\nMoving to Node #0,0,3,0\nCurrent State: 83:[3], Operations: ['78+15=93', '93-15=78', '78-75=3']\nMoving to Node #0,1,4,0\nCurrent State: 83:[3], Operations: ['15+78=93', '93-15=78', '78-75=3']\nMoving to Node #0,4,3,0\nCurrent State: 83:[3], Operations: ['75+15=90', '78+15=93', '93-90=3']\nMoving to Node #0,3,4,0\nCurrent State: 83:[3], Operations: ['75+15=90', '90-15=75', '78-75=3']\nMoving to Node #0,4,4,0\nCurrent State: 83:[3], Operations: ['75+15=90', '90-15=75', '78-75=3']\nMoving to Node #0,0,0,0\nCurrent State: 83:[3], Operations: ['78+15=93', '75+15=90', '93-90=3']\nMoving to Node #0,1,3,0\nCurrent State: 83:[3], Operations: ['15+78=93', '75+15=90', '93-90=3']\nMoving to Node #0,3,0\nCurrent State: 83:[78, 6], Operations: ['75+15=90', '90/15=6']\nExploring Operation: 78*6=468, Resulting Numbers: [468]\n468,83 unequal: No Solution\nExploring Operation: 78+6=84, Resulting Numbers: [84]\n84,83 unequal: No Solution\nExploring Operation: 78/6=13, Resulting Numbers: [13]\n13,83 unequal: No Solution\nExploring Operation: 78-6=72, Resulting Numbers: [72]\n72,83 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 83:[78, 6], Operations: ['75+15=90', '90/15=6']\nExploring Operation: 78/6=13, Resulting Numbers: [13]\n13,83 unequal: No Solution\nExploring Operation: 78+6=84, Resulting Numbers: [84]\n84,83 unequal: No Solution\nExploring Operation: 78-6=72, Resulting Numbers: [72]\n72,83 unequal: No Solution\nExploring Operation: 78*6=468, Resulting Numbers: [468]\n468,83 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 83:[93, 5], Operations: ['78+15=93', '75/15=5']\nExploring Operation: 93+5=98, Resulting Numbers: [98]\n98,83 unequal: No Solution\nExploring Operation: 93-5=88, Resulting Numbers: [88]\n88,83 unequal: No Solution\nExploring Operation: 93*5=465, Resulting Numbers: [465]\n465,83 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 83:[93, 5], Operations: ['15+78=93', '75/15=5']\nExploring Operation: 93+5=98, Resulting Numbers: [98]\n98,83 unequal: No Solution\nExploring Operation: 93-5=88, Resulting Numbers: [88]\n88,83 unequal: No Solution\nExploring Operation: 93*5=465, Resulting Numbers: [465]\n465,83 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 83:[183], Operations: ['15+15=30', '78+30=108', '75+108=183']\nMoving to Node #0,3,0,0\nCurrent State: 83:[84], Operations: ['75+15=90', '90/15=6', '78+6=84']\nMoving to Node #0,4,0,0\nCurrent State: 83:[84], Operations: ['75+15=90', '90/15=6', '78+6=84']\nMoving to Node #0,1,1,0\nCurrent State: 83:[88], Operations: ['15+78=93', '75/15=5', '93-5=88']\nMoving to Node #0,0,4,0\nCurrent State: 83:[88], Operations: ['78+15=93', '75/15=5', '93-5=88']\nMoving to Node #0,3,0,0\nCurrent State: 83:[72], Operations: ['75+15=90', '90/15=6', '78-6=72']\nMoving to Node #0,4,0,0\nCurrent State: 83:[72], Operations: ['75+15=90', '90/15=6', '78-6=72']\nMoving to Node #0,0,4,0\nCurrent State: 83:[98], Operations: ['78+15=93', '75/15=5', '93+5=98']\nMoving to Node #0,1,1,0\nCurrent State: 83:[98], Operations: ['15+78=93', '75/15=5', '93+5=98']\nMoving to Node #0,4,0,0\nCurrent State: 83:[13], Operations: ['75+15=90', '90/15=6', '78/6=13']\nMoving to Node #0,3,0,0\nCurrent State: 83:[13], Operations: ['75+15=90', '90/15=6', '78/6=13']\nMoving to Node #0,4,1,0\nCurrent State: 83:[183], Operations: ['75+15=90', '15+90=105', '78+105=183']\nMoving to Node #0,4,3,0\nCurrent State: 83:[183], Operations: ['75+15=90', '78+15=93', '90+93=183']\nMoving to Node #0,3,1,0\nCurrent State: 83:[183], Operations: ['75+15=90', '15+90=105', '78+105=183']\nMoving to Node #0,2,4,0\nCurrent State: 83:[183], Operations: ['15+15=30', '75+30=105', '78+105=183']\nMoving to Node #0,0,2,0\nCurrent State: 83:[183], Operations: ['78+15=93', '15+93=108', '75+108=183']\nMoving to Node #0,1,0,0\nCurrent State: 83:[183], Operations: ['15+78=93', '15+93=108', '75+108=183']\nMoving to Node #0,1,3,0\nCurrent State: 83:[183], Operations: ['15+78=93', '75+15=90', '93+90=183']\nMoving to Node #0,3,2,0\nCurrent State: 83:[183], Operations: ['75+15=90', '15+78=93', '90+93=183']\nMoving to Node #0,0,0,0\nCurrent State: 83:[183], Operations: ['78+15=93', '75+15=90', '93+90=183']\nMoving to Node #0,2,0\nCurrent State: 83:[30, 153], Operations: ['15+15=30', '75+78=153']\nExploring Operation: 30+153=183, Resulting Numbers: [183]\n183,83 unequal: No Solution\nExploring Operation: 30*153=4590, Resulting Numbers: [4590]\n4590,83 unequal: No Solution\nExploring Operation: 153-30=123, Resulting Numbers: [123]\n123,83 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 83:[123], Operations: ['15+15=30', '75+78=153', '153-30=123']\nMoving to Node #0,2,0,0\nCurrent State: 83:[183], Operations: ['15+15=30', '75+78=153', '30+153=183']\nMoving to Node #0,1,1,0\nCurrent State: 83:[465], Operations: ['15+78=93', '75/15=5', '93*5=465']\nMoving to Node #0,0,4,0\nCurrent State: 83:[465], Operations: ['78+15=93', '75/15=5', '93*5=465']\nMoving to Node #0,3,0,0\nCurrent State: 83:[468], Operations: ['75+15=90', '90/15=6', '78*6=468']\nMoving to Node #0,4,0,0\nCurrent State: 83:[468], Operations: ['75+15=90', '90/15=6', '78*6=468']\nMoving to Node #0,2,1,0\nCurrent State: 83:[3510], Operations: ['15+15=30', '75-30=45', '78*45=3510']\nMoving to Node #0,2,2,0\nCurrent State: 83:[3600], Operations: ['15+15=30', '78-30=48', '75*48=3600']\nMoving to Node #0,2,0,0\nCurrent State: 83:[4590], Operations: ['15+15=30', '75+78=153', '30*153=4590']\nMoving to Node #0,0,1,0\nCurrent State: 83:[5580], Operations: ['78+15=93', '75-15=60', '93*60=5580']\nMoving to Node #0,1,2,0\nCurrent State: 83:[5580], Operations: ['15+78=93', '75-15=60', '93*60=5580']\nMoving to Node #0,4,2,0\nCurrent State: 83:[5670], Operations: ['75+15=90', '78-15=63', '90*63=5670']\nMoving to Node #0,3,3,0\nCurrent State: 83:[5670], Operations: ['75+15=90', '78-15=63', '90*63=5670']\nMoving to Node #0,1,4,0\nCurrent State: 83:[5850], Operations: ['15+78=93', '93-15=78', '75*78=5850']\nMoving to Node #0,4,4,0\nCurrent State: 83:[5850], Operations: ['75+15=90', '90-15=75', '78*75=5850']\nMoving to Node #0,0,3,0\nCurrent State: 83:[5850], Operations: ['78+15=93', '93-15=78', '75*78=5850']\nMoving to Node #0,3,4,0\nCurrent State: 83:[5850], Operations: ['75+15=90', '90-15=75', '78*75=5850']\nMoving to Node #0,0,2,0\nCurrent State: 83:[8100], Operations: ['78+15=93', '15+93=108', '75*108=8100']\nMoving to Node #0,2,3,0\nCurrent State: 83:[8100], Operations: ['15+15=30', '78+30=108', '75*108=8100']\nMoving to Node #0,1,0,0\nCurrent State: 83:[8100], Operations: ['15+78=93', '15+93=108', '75*108=8100']\nMoving to Node #0,4,1,0\nCurrent State: 83:[8190], Operations: ['75+15=90', '15+90=105', '78*105=8190']\nMoving to Node #0,3,1,0\nCurrent State: 83:[8190], Operations: ['75+15=90', '15+90=105', '78*105=8190']\nMoving to Node #0,2,4,0\nCurrent State: 83:[8190], Operations: ['15+15=30', '75+30=105', '78*105=8190']\nMoving to Node #0,0,0,0\nCurrent State: 83:[8370], Operations: ['78+15=93', '75+15=90', '93*90=8370']\nMoving to Node #0,3,2,0\nCurrent State: 83:[8370], Operations: ['75+15=90', '15+78=93', '90*93=8370']\nMoving to Node #0,4,3,0\nCurrent State: 83:[8370], Operations: ['75+15=90', '78+15=93', '90*93=8370']\nMoving to Node #0,1,3,0\nCurrent State: 83:[8370], Operations: ['15+78=93', '75+15=90', '93*90=8370']\nNo solution found.", "role": "assistant" } ]
[ 24, 6, 14, 72 ]
26
[ "24+14=38", "72/6=12", "38-12=26" ]
Current State: 26:[24, 6, 14, 72], Operations: [] Exploring Operation: 72/6=12, Resulting Numbers: [24, 14, 12] Generated Node #0,0: 26:[24, 14, 12] Operation: 72/6=12 Moving to Node #0,0 Current State: 26:[24, 14, 12], Operations: ['72/6=12'] Exploring Operation: 14+12=26, Resulting Numbers: [24, 26] Generated Node #0,0,0: 26:[24, 26] Operation: 14+12=26 Moving to Node #0,0,0 Current State: 26:[24, 26], Operations: ['72/6=12', '14+12=26'] Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[24, 26], Operations: ['72/6=12', '14+12=26'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,26 unequal: No Solution Moving to Node #0,0 Current State: 26:[24, 14, 12], Operations: ['72/6=12'] Exploring Operation: 24+12=36, Resulting Numbers: [14, 36] Generated Node #0,0,1: 26:[14, 36] Operation: 24+12=36 Moving to Node #0,0,1 Current State: 26:[14, 36], Operations: ['72/6=12', '24+12=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[14, 36], Operations: ['72/6=12', '24+12=36'] Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,26 unequal: No Solution Moving to Node #0,0 Current State: 26:[24, 14, 12], Operations: ['72/6=12'] Exploring Operation: 24+14=38, Resulting Numbers: [12, 38] Generated Node #0,0,2: 26:[12, 38] Operation: 24+14=38 Moving to Node #0,0,2 Current State: 26:[12, 38], Operations: ['72/6=12', '24+14=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.991319
dfs
Current State: 26:[24, 6, 14, 72], Operations: [] Exploring Operation: 24+14=38, Resulting Numbers: [6, 72, 38] Generated Node #2: [6, 72, 38] from Operation: 24+14=38 Current State: 26:[6, 72, 38], Operations: ['24+14=38'] Exploring Operation: 72/6=12, Resulting Numbers: [38, 12] Generated Node #3: [38, 12] from Operation: 72/6=12 Current State: 26:[38, 12], Operations: ['24+14=38', '72/6=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
sum_heuristic
[ { "content": "Make 26 with the numbers [24, 6, 14, 72] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 26:[24, 6, 14, 72], Operations: []\nExploring Operation: 72/6=12, Resulting Numbers: [24, 14, 12]\nGenerated Node #0,0: 26:[24, 14, 12] Operation: 72/6=12\nMoving to Node #0,0\nCurrent State: 26:[24, 14, 12], Operations: ['72/6=12']\nExploring Operation: 14+12=26, Resulting Numbers: [24, 26]\nGenerated Node #0,0,0: 26:[24, 26] Operation: 14+12=26\nMoving to Node #0,0,0\nCurrent State: 26:[24, 26], Operations: ['72/6=12', '14+12=26']\nExploring Operation: 24+26=50, Resulting Numbers: [50]\n50,26 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 26:[24, 26], Operations: ['72/6=12', '14+12=26']\nExploring Operation: 26-24=2, Resulting Numbers: [2]\n2,26 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 26:[24, 14, 12], Operations: ['72/6=12']\nExploring Operation: 24+12=36, Resulting Numbers: [14, 36]\nGenerated Node #0,0,1: 26:[14, 36] Operation: 24+12=36\nMoving to Node #0,0,1\nCurrent State: 26:[14, 36], Operations: ['72/6=12', '24+12=36']\nExploring Operation: 36-14=22, Resulting Numbers: [22]\n22,26 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 26:[14, 36], Operations: ['72/6=12', '24+12=36']\nExploring Operation: 14+36=50, Resulting Numbers: [50]\n50,26 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 26:[24, 14, 12], Operations: ['72/6=12']\nExploring Operation: 24+14=38, Resulting Numbers: [12, 38]\nGenerated Node #0,0,2: 26:[12, 38] Operation: 24+14=38\nMoving to Node #0,0,2\nCurrent State: 26:[12, 38], Operations: ['72/6=12', '24+14=38']\nExploring Operation: 38-12=26, Resulting Numbers: [26]\n26,26 equal: Goal Reached\n", "role": "assistant" } ]
[ 70, 98, 21, 23 ]
26
[ "98-70=28", "23-21=2", "28-2=26" ]
Current State: 26:[70, 98, 21, 23], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [21, 23, 28] Generated Node #0,0: 26:[21, 23, 28] Operation: 98-70=28 Moving to Node #0,0 Current State: 26:[21, 23, 28], Operations: ['98-70=28'] Exploring Operation: 23-21=2, Resulting Numbers: [28, 2] Generated Node #0,0,0: 26:[28, 2] Operation: 23-21=2 Moving to Node #0,0,0 Current State: 26:[28, 2], Operations: ['98-70=28', '23-21=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.996528
dfs
Current State: 26:[70, 98, 21, 23], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [21, 23, 28] Generated Node #2: [21, 23, 28] from Operation: 98-70=28 Current State: 26:[21, 23, 28], Operations: ['98-70=28'] Exploring Operation: 23-21=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 23-21=2 Current State: 26:[28, 2], Operations: ['98-70=28', '23-21=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
mult_heuristic
[ { "content": "Make 26 with the numbers [70, 98, 21, 23] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 26:[70, 98, 21, 23], Operations: []\nExploring Operation: 98-70=28, Resulting Numbers: [21, 23, 28]\nGenerated Node #0,0: 26:[21, 23, 28] Operation: 98-70=28\nMoving to Node #0,0\nCurrent State: 26:[21, 23, 28], Operations: ['98-70=28']\nExploring Operation: 23-21=2, Resulting Numbers: [28, 2]\nGenerated Node #0,0,0: 26:[28, 2] Operation: 23-21=2\nMoving to Node #0,0,0\nCurrent State: 26:[28, 2], Operations: ['98-70=28', '23-21=2']\nExploring Operation: 28-2=26, Resulting Numbers: [26]\n26,26 equal: Goal Reached\n", "role": "assistant" } ]
[ 78, 6, 66, 15 ]
82
[ "78+15=93", "66/6=11", "93-11=82" ]
Current State: 82:[78, 6, 66, 15], Operations: [] Exploring Operation: 66-15=51, Resulting Numbers: [78, 6, 51] Generated Node #0,0: 82:[78, 6, 51] Operation: 66-15=51 Exploring Operation: 66+15=81, Resulting Numbers: [78, 6, 81] Generated Node #0,1: 82:[78, 6, 81] Operation: 66+15=81 Exploring Operation: 66/6=11, Resulting Numbers: [78, 15, 11] Generated Node #0,2: 82:[78, 15, 11] Operation: 66/6=11 Moving to Node #0,1 Current State: 82:[78, 6, 81], Operations: ['66+15=81'] Exploring Operation: 6+81=87, Resulting Numbers: [78, 87] Generated Node #0,1,0: 82:[78, 87] Operation: 6+81=87 Exploring Operation: 81-78=3, Resulting Numbers: [6, 3] Generated Node #0,1,1: 82:[6, 3] Operation: 81-78=3 Exploring Operation: 78+6=84, Resulting Numbers: [81, 84] Generated Node #0,1,2: 82:[81, 84] Operation: 78+6=84 Moving to Node #0,0 Current State: 82:[78, 6, 51], Operations: ['66-15=51'] Exploring Operation: 78-51=27, Resulting Numbers: [6, 27] Generated Node #0,0,0: 82:[6, 27] Operation: 78-51=27 Exploring Operation: 78+6=84, Resulting Numbers: [51, 84] Generated Node #0,0,1: 82:[51, 84] Operation: 78+6=84 Exploring Operation: 51-6=45, Resulting Numbers: [78, 45] Generated Node #0,0,2: 82:[78, 45] Operation: 51-6=45 Moving to Node #0,2 Current State: 82:[78, 15, 11], Operations: ['66/6=11'] Exploring Operation: 78+15=93, Resulting Numbers: [11, 93] Generated Node #0,2,0: 82:[11, 93] Operation: 78+15=93 Exploring Operation: 15-11=4, Resulting Numbers: [78, 4] Generated Node #0,2,1: 82:[78, 4] Operation: 15-11=4 Exploring Operation: 15+11=26, Resulting Numbers: [78, 26] Generated Node #0,2,2: 82:[78, 26] Operation: 15+11=26 Moving to Node #0,1,2 Current State: 82:[81, 84], Operations: ['66+15=81', '78+6=84'] Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,82 unequal: No Solution Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[6, 3], Operations: ['66+15=81', '81-78=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[78, 4], Operations: ['66/6=11', '15-11=4'] Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,82 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.981771
bfs_3
Current State: 82:[78, 6, 66, 15], Operations: [] Exploring Operation: 78+15=93, Resulting Numbers: [6, 66, 93] Generated Node #2: [6, 66, 93] from Operation: 78+15=93 Current State: 82:[6, 66, 93], Operations: ['78+15=93'] Exploring Operation: 66/6=11, Resulting Numbers: [93, 11] Generated Node #3: [93, 11] from Operation: 66/6=11 Current State: 82:[93, 11], Operations: ['78+15=93', '66/6=11'] Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
mult_heuristic
[ { "content": "Make 82 with the numbers [78, 6, 66, 15] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 82:[78, 6, 66, 15], Operations: []\nExploring Operation: 66-15=51, Resulting Numbers: [78, 6, 51]\nGenerated Node #0,0: 82:[78, 6, 51] Operation: 66-15=51\nExploring Operation: 66+15=81, Resulting Numbers: [78, 6, 81]\nGenerated Node #0,1: 82:[78, 6, 81] Operation: 66+15=81\nExploring Operation: 66/6=11, Resulting Numbers: [78, 15, 11]\nGenerated Node #0,2: 82:[78, 15, 11] Operation: 66/6=11\nMoving to Node #0,1\nCurrent State: 82:[78, 6, 81], Operations: ['66+15=81']\nExploring Operation: 6+81=87, Resulting Numbers: [78, 87]\nGenerated Node #0,1,0: 82:[78, 87] Operation: 6+81=87\nExploring Operation: 81-78=3, Resulting Numbers: [6, 3]\nGenerated Node #0,1,1: 82:[6, 3] Operation: 81-78=3\nExploring Operation: 78+6=84, Resulting Numbers: [81, 84]\nGenerated Node #0,1,2: 82:[81, 84] Operation: 78+6=84\nMoving to Node #0,0\nCurrent State: 82:[78, 6, 51], Operations: ['66-15=51']\nExploring Operation: 78-51=27, Resulting Numbers: [6, 27]\nGenerated Node #0,0,0: 82:[6, 27] Operation: 78-51=27\nExploring Operation: 78+6=84, Resulting Numbers: [51, 84]\nGenerated Node #0,0,1: 82:[51, 84] Operation: 78+6=84\nExploring Operation: 51-6=45, Resulting Numbers: [78, 45]\nGenerated Node #0,0,2: 82:[78, 45] Operation: 51-6=45\nMoving to Node #0,2\nCurrent State: 82:[78, 15, 11], Operations: ['66/6=11']\nExploring Operation: 78+15=93, Resulting Numbers: [11, 93]\nGenerated Node #0,2,0: 82:[11, 93] Operation: 78+15=93\nExploring Operation: 15-11=4, Resulting Numbers: [78, 4]\nGenerated Node #0,2,1: 82:[78, 4] Operation: 15-11=4\nExploring Operation: 15+11=26, Resulting Numbers: [78, 26]\nGenerated Node #0,2,2: 82:[78, 26] Operation: 15+11=26\nMoving to Node #0,1,2\nCurrent State: 82:[81, 84], Operations: ['66+15=81', '78+6=84']\nExploring Operation: 84-81=3, Resulting Numbers: [3]\n3,82 unequal: No Solution\nExploring Operation: 81*84=6804, Resulting Numbers: [6804]\n6804,82 unequal: No Solution\nExploring Operation: 81+84=165, Resulting Numbers: [165]\n165,82 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 82:[6, 3], Operations: ['66+15=81', '81-78=3']\nExploring Operation: 6/3=2, Resulting Numbers: [2]\n2,82 unequal: No Solution\nExploring Operation: 6+3=9, Resulting Numbers: [9]\n9,82 unequal: No Solution\nExploring Operation: 6-3=3, Resulting Numbers: [3]\n3,82 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 82:[78, 4], Operations: ['66/6=11', '15-11=4']\nExploring Operation: 78*4=312, Resulting Numbers: [312]\n312,82 unequal: No Solution\nExploring Operation: 78+4=82, Resulting Numbers: [82]\n82,82 equal: Goal Reached\n", "role": "assistant" } ]
[ 39, 70, 33, 2 ]
43
[ "39+70=109", "33*2=66", "109-66=43" ]
Current State: 43:[39, 70, 33, 2], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [39, 33, 35] Generated Node #0,0: 43:[39, 33, 35] Operation: 70/2=35 Moving to Node #0,0 Current State: 43:[39, 33, 35], Operations: ['70/2=35'] Exploring Operation: 33+35=68, Resulting Numbers: [39, 68] Generated Node #0,0,0: 43:[39, 68] Operation: 33+35=68 Moving to Node #0,0,0 Current State: 43:[39, 68], Operations: ['70/2=35', '33+35=68'] Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,43 unequal: No Solution Moving to Node #0,0,0,0 Current State: 43:[29], Operations: ['70/2=35', '33+35=68', '68-39=29'] No solution found.
0
bfs_1
Current State: 43:[39, 70, 33, 2], Operations: [] Exploring Operation: 39+70=109, Resulting Numbers: [33, 2, 109] Generated Node #2: [33, 2, 109] from Operation: 39+70=109 Current State: 43:[33, 2, 109], Operations: ['39+70=109'] Exploring Operation: 33*2=66, Resulting Numbers: [109, 66] Generated Node #3: [109, 66] from Operation: 33*2=66 Current State: 43:[109, 66], Operations: ['39+70=109', '33*2=66'] Exploring Operation: 109-66=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
mult_heuristic
[ { "content": "Make 43 with the numbers [39, 70, 33, 2] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 43:[39, 70, 33, 2], Operations: []\nExploring Operation: 70/2=35, Resulting Numbers: [39, 33, 35]\nGenerated Node #0,0: 43:[39, 33, 35] Operation: 70/2=35\nMoving to Node #0,0\nCurrent State: 43:[39, 33, 35], Operations: ['70/2=35']\nExploring Operation: 33+35=68, Resulting Numbers: [39, 68]\nGenerated Node #0,0,0: 43:[39, 68] Operation: 33+35=68\nMoving to Node #0,0,0\nCurrent State: 43:[39, 68], Operations: ['70/2=35', '33+35=68']\nExploring Operation: 68-39=29, Resulting Numbers: [29]\n29,43 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 43:[29], Operations: ['70/2=35', '33+35=68', '68-39=29']\nNo solution found.", "role": "assistant" } ]
[ 56, 68, 78, 68 ]
21
[ "78-56=22", "68/68=1", "22-1=21" ]
Current State: 21:[56, 68, 78, 68], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [56, 68, 10] Generated Node #0,0: 21:[56, 68, 10] Operation: 78-68=10 Moving to Node #0,0 Current State: 21:[56, 68, 10], Operations: ['78-68=10'] Exploring Operation: 68-56=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 21:[10, 12] Operation: 68-56=12 Moving to Node #0,0,0 Current State: 21:[10, 12], Operations: ['78-68=10', '68-56=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,21 unequal: No Solution Moving to Node #0,0,0,0 Current State: 21:[22], Operations: ['78-68=10', '68-56=12', '10+12=22'] No solution found.
0
bfs_1
Current State: 21:[56, 68, 78, 68], Operations: [] Exploring Operation: 78-56=22, Resulting Numbers: [68, 68, 22] Generated Node #2: [68, 68, 22] from Operation: 78-56=22 Current State: 21:[68, 68, 22], Operations: ['78-56=22'] Exploring Operation: 68/68=1, Resulting Numbers: [22, 1] Generated Node #3: [22, 1] from Operation: 68/68=1 Current State: 21:[22, 1], Operations: ['78-56=22', '68/68=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
sum_heuristic
[ { "content": "Make 21 with the numbers [56, 68, 78, 68] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 21:[56, 68, 78, 68], Operations: []\nExploring Operation: 78-68=10, Resulting Numbers: [56, 68, 10]\nGenerated Node #0,0: 21:[56, 68, 10] Operation: 78-68=10\nMoving to Node #0,0\nCurrent State: 21:[56, 68, 10], Operations: ['78-68=10']\nExploring Operation: 68-56=12, Resulting Numbers: [10, 12]\nGenerated Node #0,0,0: 21:[10, 12] Operation: 68-56=12\nMoving to Node #0,0,0\nCurrent State: 21:[10, 12], Operations: ['78-68=10', '68-56=12']\nExploring Operation: 10+12=22, Resulting Numbers: [22]\n22,21 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 21:[22], Operations: ['78-68=10', '68-56=12', '10+12=22']\nNo solution found.", "role": "assistant" } ]
[ 60, 16, 50, 50 ]
10
[ "60+50=110", "50+110=160", "160/16=10" ]
Current State: 10:[60, 16, 50, 50], Operations: []
0
dfs
Current State: 10:[60, 16, 50, 50], Operations: [] Exploring Operation: 60+50=110, Resulting Numbers: [16, 110] Generated Node #2: [16, 110] from Operation: 60+50=110 Current State: 10:[16, 110], Operations: ['60+50=110'] Exploring Operation: 50+110=160, Resulting Numbers: [16, 160] Generated Node #3: [16, 160] from Operation: 50+110=160 Current State: 10:[16, 160], Operations: ['60+50=110', '50+110=160'] Exploring Operation: 160/16=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
sum_heuristic
[ { "content": "Make 10 with the numbers [60, 16, 50, 50] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 10:[60, 16, 50, 50], Operations: []\n", "role": "assistant" } ]
[ 91, 95, 71, 94 ]
92
[ "95-91=4", "94-71=23", "4*23=92" ]
Current State: 92:[91, 95, 71, 94], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [91, 95, 23] Generated Node #0,0: 92:[91, 95, 23] Operation: 94-71=23 Exploring Operation: 95-91=4, Resulting Numbers: [71, 94, 4] Generated Node #0,1: 92:[71, 94, 4] Operation: 95-91=4 Exploring Operation: 95-94=1, Resulting Numbers: [91, 71, 1] Generated Node #0,2: 92:[91, 71, 1] Operation: 95-94=1 Exploring Operation: 95-71=24, Resulting Numbers: [91, 94, 24] Generated Node #0,3: 92:[91, 94, 24] Operation: 95-71=24 Exploring Operation: 91-71=20, Resulting Numbers: [95, 94, 20] Generated Node #0,4: 92:[95, 94, 20] Operation: 91-71=20 Moving to Node #0,0 Current State: 92:[91, 95, 23], Operations: ['94-71=23'] Exploring Operation: 91+23=114, Resulting Numbers: [95, 114] Generated Node #0,0,0: 92:[95, 114] Operation: 91+23=114 Exploring Operation: 95+23=118, Resulting Numbers: [91, 118] Generated Node #0,0,1: 92:[91, 118] Operation: 95+23=118 Exploring Operation: 95-91=4, Resulting Numbers: [23, 4] Generated Node #0,0,2: 92:[23, 4] Operation: 95-91=4 Exploring Operation: 91-23=68, Resulting Numbers: [95, 68] Generated Node #0,0,3: 92:[95, 68] Operation: 91-23=68 Exploring Operation: 95-23=72, Resulting Numbers: [91, 72] Generated Node #0,0,4: 92:[91, 72] Operation: 95-23=72 Moving to Node #0,3 Current State: 92:[91, 94, 24], Operations: ['95-71=24'] Exploring Operation: 91-24=67, Resulting Numbers: [94, 67] Generated Node #0,3,0: 92:[94, 67] Operation: 91-24=67 Exploring Operation: 91+24=115, Resulting Numbers: [94, 115] Generated Node #0,3,1: 92:[94, 115] Operation: 91+24=115 Exploring Operation: 94-91=3, Resulting Numbers: [24, 3] Generated Node #0,3,2: 92:[24, 3] Operation: 94-91=3 Exploring Operation: 94-24=70, Resulting Numbers: [91, 70] Generated Node #0,3,3: 92:[91, 70] Operation: 94-24=70 Exploring Operation: 94+24=118, Resulting Numbers: [91, 118] Generated Node #0,3,4: 92:[91, 118] Operation: 94+24=118 Moving to Node #0,4 Current State: 92:[95, 94, 20], Operations: ['91-71=20'] Exploring Operation: 94+20=114, Resulting Numbers: [95, 114] Generated Node #0,4,0: 92:[95, 114] Operation: 94+20=114 Exploring Operation: 95+20=115, Resulting Numbers: [94, 115] Generated Node #0,4,1: 92:[94, 115] Operation: 95+20=115 Exploring Operation: 94-20=74, Resulting Numbers: [95, 74] Generated Node #0,4,2: 92:[95, 74] Operation: 94-20=74 Exploring Operation: 95-94=1, Resulting Numbers: [20, 1] Generated Node #0,4,3: 92:[20, 1] Operation: 95-94=1 Exploring Operation: 95-20=75, Resulting Numbers: [94, 75] Generated Node #0,4,4: 92:[94, 75] Operation: 95-20=75 Moving to Node #0,1 Current State: 92:[71, 94, 4], Operations: ['95-91=4'] Exploring Operation: 94-4=90, Resulting Numbers: [71, 90] Generated Node #0,1,0: 92:[71, 90] Operation: 94-4=90 Exploring Operation: 71-4=67, Resulting Numbers: [94, 67] Generated Node #0,1,1: 92:[94, 67] Operation: 71-4=67 Exploring Operation: 71+4=75, Resulting Numbers: [94, 75] Generated Node #0,1,2: 92:[94, 75] Operation: 71+4=75 Exploring Operation: 94-71=23, Resulting Numbers: [4, 23] Generated Node #0,1,3: 92:[4, 23] Operation: 94-71=23 Exploring Operation: 94+4=98, Resulting Numbers: [71, 98] Generated Node #0,1,4: 92:[71, 98] Operation: 94+4=98 Moving to Node #0,2 Current State: 92:[91, 71, 1], Operations: ['95-94=1'] Exploring Operation: 91+1=92, Resulting Numbers: [71, 92] Generated Node #0,2,0: 92:[71, 92] Operation: 91+1=92 Exploring Operation: 91*1=91, Resulting Numbers: [71, 91] Generated Node #0,2,1: 92:[71, 91] Operation: 91*1=91 Exploring Operation: 71+1=72, Resulting Numbers: [91, 72] Generated Node #0,2,2: 92:[91, 72] Operation: 71+1=72 Exploring Operation: 91-71=20, Resulting Numbers: [1, 20] Generated Node #0,2,3: 92:[1, 20] Operation: 91-71=20 Exploring Operation: 91/1=91, Resulting Numbers: [71, 91] Generated Node #0,2,4: 92:[71, 91] Operation: 91/1=91 Moving to Node #0,0,2 Current State: 92:[23, 4], Operations: ['94-71=23', '95-91=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.972222
bfs_5
Current State: 92:[91, 95, 71, 94], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [71, 94, 4] Generated Node #2: [71, 94, 4] from Operation: 95-91=4 Current State: 92:[71, 94, 4], Operations: ['95-91=4'] Exploring Operation: 94-71=23, Resulting Numbers: [4, 23] Generated Node #3: [4, 23] from Operation: 94-71=23 Current State: 92:[4, 23], Operations: ['95-91=4', '94-71=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
mult_heuristic
[ { "content": "Make 92 with the numbers [91, 95, 71, 94] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 92:[91, 95, 71, 94], Operations: []\nExploring Operation: 94-71=23, Resulting Numbers: [91, 95, 23]\nGenerated Node #0,0: 92:[91, 95, 23] Operation: 94-71=23\nExploring Operation: 95-91=4, Resulting Numbers: [71, 94, 4]\nGenerated Node #0,1: 92:[71, 94, 4] Operation: 95-91=4\nExploring Operation: 95-94=1, Resulting Numbers: [91, 71, 1]\nGenerated Node #0,2: 92:[91, 71, 1] Operation: 95-94=1\nExploring Operation: 95-71=24, Resulting Numbers: [91, 94, 24]\nGenerated Node #0,3: 92:[91, 94, 24] Operation: 95-71=24\nExploring Operation: 91-71=20, Resulting Numbers: [95, 94, 20]\nGenerated Node #0,4: 92:[95, 94, 20] Operation: 91-71=20\nMoving to Node #0,0\nCurrent State: 92:[91, 95, 23], Operations: ['94-71=23']\nExploring Operation: 91+23=114, Resulting Numbers: [95, 114]\nGenerated Node #0,0,0: 92:[95, 114] Operation: 91+23=114\nExploring Operation: 95+23=118, Resulting Numbers: [91, 118]\nGenerated Node #0,0,1: 92:[91, 118] Operation: 95+23=118\nExploring Operation: 95-91=4, Resulting Numbers: [23, 4]\nGenerated Node #0,0,2: 92:[23, 4] Operation: 95-91=4\nExploring Operation: 91-23=68, Resulting Numbers: [95, 68]\nGenerated Node #0,0,3: 92:[95, 68] Operation: 91-23=68\nExploring Operation: 95-23=72, Resulting Numbers: [91, 72]\nGenerated Node #0,0,4: 92:[91, 72] Operation: 95-23=72\nMoving to Node #0,3\nCurrent State: 92:[91, 94, 24], Operations: ['95-71=24']\nExploring Operation: 91-24=67, Resulting Numbers: [94, 67]\nGenerated Node #0,3,0: 92:[94, 67] Operation: 91-24=67\nExploring Operation: 91+24=115, Resulting Numbers: [94, 115]\nGenerated Node #0,3,1: 92:[94, 115] Operation: 91+24=115\nExploring Operation: 94-91=3, Resulting Numbers: [24, 3]\nGenerated Node #0,3,2: 92:[24, 3] Operation: 94-91=3\nExploring Operation: 94-24=70, Resulting Numbers: [91, 70]\nGenerated Node #0,3,3: 92:[91, 70] Operation: 94-24=70\nExploring Operation: 94+24=118, Resulting Numbers: [91, 118]\nGenerated Node #0,3,4: 92:[91, 118] Operation: 94+24=118\nMoving to Node #0,4\nCurrent State: 92:[95, 94, 20], Operations: ['91-71=20']\nExploring Operation: 94+20=114, Resulting Numbers: [95, 114]\nGenerated Node #0,4,0: 92:[95, 114] Operation: 94+20=114\nExploring Operation: 95+20=115, Resulting Numbers: [94, 115]\nGenerated Node #0,4,1: 92:[94, 115] Operation: 95+20=115\nExploring Operation: 94-20=74, Resulting Numbers: [95, 74]\nGenerated Node #0,4,2: 92:[95, 74] Operation: 94-20=74\nExploring Operation: 95-94=1, Resulting Numbers: [20, 1]\nGenerated Node #0,4,3: 92:[20, 1] Operation: 95-94=1\nExploring Operation: 95-20=75, Resulting Numbers: [94, 75]\nGenerated Node #0,4,4: 92:[94, 75] Operation: 95-20=75\nMoving to Node #0,1\nCurrent State: 92:[71, 94, 4], Operations: ['95-91=4']\nExploring Operation: 94-4=90, Resulting Numbers: [71, 90]\nGenerated Node #0,1,0: 92:[71, 90] Operation: 94-4=90\nExploring Operation: 71-4=67, Resulting Numbers: [94, 67]\nGenerated Node #0,1,1: 92:[94, 67] Operation: 71-4=67\nExploring Operation: 71+4=75, Resulting Numbers: [94, 75]\nGenerated Node #0,1,2: 92:[94, 75] Operation: 71+4=75\nExploring Operation: 94-71=23, Resulting Numbers: [4, 23]\nGenerated Node #0,1,3: 92:[4, 23] Operation: 94-71=23\nExploring Operation: 94+4=98, Resulting Numbers: [71, 98]\nGenerated Node #0,1,4: 92:[71, 98] Operation: 94+4=98\nMoving to Node #0,2\nCurrent State: 92:[91, 71, 1], Operations: ['95-94=1']\nExploring Operation: 91+1=92, Resulting Numbers: [71, 92]\nGenerated Node #0,2,0: 92:[71, 92] Operation: 91+1=92\nExploring Operation: 91*1=91, Resulting Numbers: [71, 91]\nGenerated Node #0,2,1: 92:[71, 91] Operation: 91*1=91\nExploring Operation: 71+1=72, Resulting Numbers: [91, 72]\nGenerated Node #0,2,2: 92:[91, 72] Operation: 71+1=72\nExploring Operation: 91-71=20, Resulting Numbers: [1, 20]\nGenerated Node #0,2,3: 92:[1, 20] Operation: 91-71=20\nExploring Operation: 91/1=91, Resulting Numbers: [71, 91]\nGenerated Node #0,2,4: 92:[71, 91] Operation: 91/1=91\nMoving to Node #0,0,2\nCurrent State: 92:[23, 4], Operations: ['94-71=23', '95-91=4']\nExploring Operation: 23*4=92, Resulting Numbers: [92]\n92,92 equal: Goal Reached\n", "role": "assistant" } ]
[ 36, 1, 56, 28 ]
38
[ "36*1=36", "56/28=2", "36+2=38" ]
Current State: 38:[36, 1, 56, 28], Operations: [] Exploring Operation: 36+1=37, Resulting Numbers: [56, 28, 37] Generated Node #0,0: 38:[56, 28, 37] Operation: 36+1=37 Moving to Node #0,0 Current State: 38:[56, 28, 37], Operations: ['36+1=37'] Exploring Operation: 56-28=28, Resulting Numbers: [37, 28] Generated Node #0,0,0: 38:[37, 28] Operation: 56-28=28 Moving to Node #0,0,0 Current State: 38:[37, 28], Operations: ['36+1=37', '56-28=28'] Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[37, 28], Operations: ['36+1=37', '56-28=28'] Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[56, 28, 37], Operations: ['36+1=37'] Exploring Operation: 56-37=19, Resulting Numbers: [28, 19] Generated Node #0,0,1: 38:[28, 19] Operation: 56-37=19 Moving to Node #0,0,1 Current State: 38:[28, 19], Operations: ['36+1=37', '56-37=19'] Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[28, 19], Operations: ['36+1=37', '56-37=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[56, 28, 37], Operations: ['36+1=37'] Exploring Operation: 56/28=2, Resulting Numbers: [37, 2] Generated Node #0,0,2: 38:[37, 2] Operation: 56/28=2 Moving to Node #0,0,2 Current State: 38:[37, 2], Operations: ['36+1=37', '56/28=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[37, 2], Operations: ['36+1=37', '56/28=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[37, 2], Operations: ['36+1=37', '56/28=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[56, 28, 37], Operations: ['36+1=37'] Exploring Operation: 28+37=65, Resulting Numbers: [56, 65] Generated Node #0,0,3: 38:[56, 65] Operation: 28+37=65 Moving to Node #0,0,3 Current State: 38:[56, 65], Operations: ['36+1=37', '28+37=65'] Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[56, 28, 37], Operations: ['36+1=37'] Exploring Operation: 56+28=84, Resulting Numbers: [37, 84] Generated Node #0,0,4: 38:[37, 84] Operation: 56+28=84 Moving to Node #0,0,4 Current State: 38:[37, 84], Operations: ['36+1=37', '56+28=84'] Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[56, 28, 37], Operations: ['36+1=37'] Exploring Operation: 37-28=9, Resulting Numbers: [56, 9] Generated Node #0,0,5: 38:[56, 9] Operation: 37-28=9 Moving to Node #0,0,5 Current State: 38:[56, 9], Operations: ['36+1=37', '37-28=9'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,0,5 Current State: 38:[56, 9], Operations: ['36+1=37', '37-28=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,38 unequal: No Solution Moving to Node #0,0 Current State: 38:[56, 28, 37], Operations: ['36+1=37'] Exploring Operation: 56+37=93, Resulting Numbers: [28, 93] Generated Node #0,0,6: 38:[28, 93] Operation: 56+37=93 Moving to Node #0,0,6 Current State: 38:[28, 93], Operations: ['36+1=37', '56+37=93'] Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,38 unequal: No Solution Moving to Node #0 Current State: 38:[36, 1, 56, 28], Operations: [] Exploring Operation: 56-1=55, Resulting Numbers: [36, 28, 55] Generated Node #0,1: 38:[36, 28, 55] Operation: 56-1=55 Moving to Node #0,1 Current State: 38:[36, 28, 55], Operations: ['56-1=55'] Exploring Operation: 55-28=27, Resulting Numbers: [36, 27] Generated Node #0,1,0: 38:[36, 27] Operation: 55-28=27 Moving to Node #0,1,0 Current State: 38:[36, 27], Operations: ['56-1=55', '55-28=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[36, 27], Operations: ['56-1=55', '55-28=27'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[36, 28, 55], Operations: ['56-1=55'] Exploring Operation: 55-36=19, Resulting Numbers: [28, 19] Generated Node #0,1,1: 38:[28, 19] Operation: 55-36=19 Moving to Node #0,1,1 Current State: 38:[28, 19], Operations: ['56-1=55', '55-36=19'] Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[28, 19], Operations: ['56-1=55', '55-36=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[36, 28, 55], Operations: ['56-1=55'] Exploring Operation: 36+28=64, Resulting Numbers: [55, 64] Generated Node #0,1,2: 38:[55, 64] Operation: 36+28=64 Moving to Node #0,1,2 Current State: 38:[55, 64], Operations: ['56-1=55', '36+28=64'] Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[36, 28, 55], Operations: ['56-1=55'] Exploring Operation: 36-28=8, Resulting Numbers: [55, 8] Generated Node #0,1,3: 38:[55, 8] Operation: 36-28=8 Moving to Node #0,1,3 Current State: 38:[55, 8], Operations: ['56-1=55', '36-28=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[55, 8], Operations: ['56-1=55', '36-28=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[36, 28, 55], Operations: ['56-1=55'] Exploring Operation: 28+55=83, Resulting Numbers: [36, 83] Generated Node #0,1,4: 38:[36, 83] Operation: 28+55=83 Moving to Node #0,1,4 Current State: 38:[36, 83], Operations: ['56-1=55', '28+55=83'] Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,1 Current State: 38:[36, 28, 55], Operations: ['56-1=55'] Exploring Operation: 36+55=91, Resulting Numbers: [28, 91] Generated Node #0,1,5: 38:[28, 91] Operation: 36+55=91 Moving to Node #0,1,5 Current State: 38:[28, 91], Operations: ['56-1=55', '36+55=91'] Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,38 unequal: No Solution Moving to Node #0 Current State: 38:[36, 1, 56, 28], Operations: [] Exploring Operation: 1+28=29, Resulting Numbers: [36, 56, 29] Generated Node #0,2: 38:[36, 56, 29] Operation: 1+28=29 Moving to Node #0,2 Current State: 38:[36, 56, 29], Operations: ['1+28=29'] Exploring Operation: 56-29=27, Resulting Numbers: [36, 27] Generated Node #0,2,0: 38:[36, 27] Operation: 56-29=27 Moving to Node #0,2,0 Current State: 38:[36, 27], Operations: ['1+28=29', '56-29=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[36, 27], Operations: ['1+28=29', '56-29=27'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[36, 56, 29], Operations: ['1+28=29'] Exploring Operation: 56-36=20, Resulting Numbers: [29, 20] Generated Node #0,2,1: 38:[29, 20] Operation: 56-36=20 Moving to Node #0,2,1 Current State: 38:[29, 20], Operations: ['1+28=29', '56-36=20'] Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[29, 20], Operations: ['1+28=29', '56-36=20'] Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[36, 56, 29], Operations: ['1+28=29'] Exploring Operation: 36+29=65, Resulting Numbers: [56, 65] Generated Node #0,2,2: 38:[56, 65] Operation: 36+29=65 Moving to Node #0,2,2 Current State: 38:[56, 65], Operations: ['1+28=29', '36+29=65'] Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[36, 56, 29], Operations: ['1+28=29'] Exploring Operation: 36-29=7, Resulting Numbers: [56, 7] Generated Node #0,2,3: 38:[56, 7] Operation: 36-29=7 Moving to Node #0,2,3 Current State: 38:[56, 7], Operations: ['1+28=29', '36-29=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[56, 7], Operations: ['1+28=29', '36-29=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[56, 7], Operations: ['1+28=29', '36-29=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[36, 56, 29], Operations: ['1+28=29'] Exploring Operation: 56+29=85, Resulting Numbers: [36, 85] Generated Node #0,2,4: 38:[36, 85] Operation: 56+29=85 Moving to Node #0,2,4 Current State: 38:[36, 85], Operations: ['1+28=29', '56+29=85'] Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,38 unequal: No Solution Moving to Node #0,2 Current State: 38:[36, 56, 29], Operations: ['1+28=29'] Exploring Operation: 36+56=92, Resulting Numbers: [29, 92] Generated Node #0,2,5: 38:[29, 92] Operation: 36+56=92 Moving to Node #0,2,5 Current State: 38:[29, 92], Operations: ['1+28=29', '36+56=92'] Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,38 unequal: No Solution Moving to Node #0 Current State: 38:[36, 1, 56, 28], Operations: [] Exploring Operation: 36*1=36, Resulting Numbers: [56, 28, 36] Generated Node #0,3: 38:[56, 28, 36] Operation: 36*1=36 Moving to Node #0,3 Current State: 38:[56, 28, 36], Operations: ['36*1=36'] Exploring Operation: 56-28=28, Resulting Numbers: [36, 28] Generated Node #0,3,0: 38:[36, 28] Operation: 56-28=28 Moving to Node #0,3,0 Current State: 38:[36, 28], Operations: ['36*1=36', '56-28=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[36, 28], Operations: ['36*1=36', '56-28=28'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,38 unequal: No Solution Moving to Node #0,3 Current State: 38:[56, 28, 36], Operations: ['36*1=36'] Exploring Operation: 56-36=20, Resulting Numbers: [28, 20] Generated Node #0,3,1: 38:[28, 20] Operation: 56-36=20 Moving to Node #0,3,1 Current State: 38:[28, 20], Operations: ['36*1=36', '56-36=20'] Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[28, 20], Operations: ['36*1=36', '56-36=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,38 unequal: No Solution Moving to Node #0,3 Current State: 38:[56, 28, 36], Operations: ['36*1=36'] Exploring Operation: 56/28=2, Resulting Numbers: [36, 2] Generated Node #0,3,2: 38:[36, 2] Operation: 56/28=2 Moving to Node #0,3,2 Current State: 38:[36, 2], Operations: ['36*1=36', '56/28=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.945313
dfs
Current State: 38:[36, 1, 56, 28], Operations: [] Exploring Operation: 36*1=36, Resulting Numbers: [56, 28, 36] Generated Node #2: [56, 28, 36] from Operation: 36*1=36 Current State: 38:[56, 28, 36], Operations: ['36*1=36'] Exploring Operation: 56/28=2, Resulting Numbers: [36, 2] Generated Node #3: [36, 2] from Operation: 56/28=2 Current State: 38:[36, 2], Operations: ['36*1=36', '56/28=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
sum_heuristic
[ { "content": "Make 38 with the numbers [36, 1, 56, 28] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 38:[36, 1, 56, 28], Operations: []\nExploring Operation: 36+1=37, Resulting Numbers: [56, 28, 37]\nGenerated Node #0,0: 38:[56, 28, 37] Operation: 36+1=37\nMoving to Node #0,0\nCurrent State: 38:[56, 28, 37], Operations: ['36+1=37']\nExploring Operation: 56-28=28, Resulting Numbers: [37, 28]\nGenerated Node #0,0,0: 38:[37, 28] Operation: 56-28=28\nMoving to Node #0,0,0\nCurrent State: 38:[37, 28], Operations: ['36+1=37', '56-28=28']\nExploring Operation: 37+28=65, Resulting Numbers: [65]\n65,38 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 38:[37, 28], Operations: ['36+1=37', '56-28=28']\nExploring Operation: 37-28=9, Resulting Numbers: [9]\n9,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[56, 28, 37], Operations: ['36+1=37']\nExploring Operation: 56-37=19, Resulting Numbers: [28, 19]\nGenerated Node #0,0,1: 38:[28, 19] Operation: 56-37=19\nMoving to Node #0,0,1\nCurrent State: 38:[28, 19], Operations: ['36+1=37', '56-37=19']\nExploring Operation: 28+19=47, Resulting Numbers: [47]\n47,38 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 38:[28, 19], Operations: ['36+1=37', '56-37=19']\nExploring Operation: 28-19=9, Resulting Numbers: [9]\n9,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[56, 28, 37], Operations: ['36+1=37']\nExploring Operation: 56/28=2, Resulting Numbers: [37, 2]\nGenerated Node #0,0,2: 38:[37, 2] Operation: 56/28=2\nMoving to Node #0,0,2\nCurrent State: 38:[37, 2], Operations: ['36+1=37', '56/28=2']\nExploring Operation: 37+2=39, Resulting Numbers: [39]\n39,38 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 38:[37, 2], Operations: ['36+1=37', '56/28=2']\nExploring Operation: 37-2=35, Resulting Numbers: [35]\n35,38 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 38:[37, 2], Operations: ['36+1=37', '56/28=2']\nExploring Operation: 37*2=74, Resulting Numbers: [74]\n74,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[56, 28, 37], Operations: ['36+1=37']\nExploring Operation: 28+37=65, Resulting Numbers: [56, 65]\nGenerated Node #0,0,3: 38:[56, 65] Operation: 28+37=65\nMoving to Node #0,0,3\nCurrent State: 38:[56, 65], Operations: ['36+1=37', '28+37=65']\nExploring Operation: 65-56=9, Resulting Numbers: [9]\n9,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[56, 28, 37], Operations: ['36+1=37']\nExploring Operation: 56+28=84, Resulting Numbers: [37, 84]\nGenerated Node #0,0,4: 38:[37, 84] Operation: 56+28=84\nMoving to Node #0,0,4\nCurrent State: 38:[37, 84], Operations: ['36+1=37', '56+28=84']\nExploring Operation: 84-37=47, Resulting Numbers: [47]\n47,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[56, 28, 37], Operations: ['36+1=37']\nExploring Operation: 37-28=9, Resulting Numbers: [56, 9]\nGenerated Node #0,0,5: 38:[56, 9] Operation: 37-28=9\nMoving to Node #0,0,5\nCurrent State: 38:[56, 9], Operations: ['36+1=37', '37-28=9']\nExploring Operation: 56-9=47, Resulting Numbers: [47]\n47,38 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 38:[56, 9], Operations: ['36+1=37', '37-28=9']\nExploring Operation: 56+9=65, Resulting Numbers: [65]\n65,38 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 38:[56, 28, 37], Operations: ['36+1=37']\nExploring Operation: 56+37=93, Resulting Numbers: [28, 93]\nGenerated Node #0,0,6: 38:[28, 93] Operation: 56+37=93\nMoving to Node #0,0,6\nCurrent State: 38:[28, 93], Operations: ['36+1=37', '56+37=93']\nExploring Operation: 93-28=65, Resulting Numbers: [65]\n65,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[36, 1, 56, 28], Operations: []\nExploring Operation: 56-1=55, Resulting Numbers: [36, 28, 55]\nGenerated Node #0,1: 38:[36, 28, 55] Operation: 56-1=55\nMoving to Node #0,1\nCurrent State: 38:[36, 28, 55], Operations: ['56-1=55']\nExploring Operation: 55-28=27, Resulting Numbers: [36, 27]\nGenerated Node #0,1,0: 38:[36, 27] Operation: 55-28=27\nMoving to Node #0,1,0\nCurrent State: 38:[36, 27], Operations: ['56-1=55', '55-28=27']\nExploring Operation: 36+27=63, Resulting Numbers: [63]\n63,38 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 38:[36, 27], Operations: ['56-1=55', '55-28=27']\nExploring Operation: 36-27=9, Resulting Numbers: [9]\n9,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[36, 28, 55], Operations: ['56-1=55']\nExploring Operation: 55-36=19, Resulting Numbers: [28, 19]\nGenerated Node #0,1,1: 38:[28, 19] Operation: 55-36=19\nMoving to Node #0,1,1\nCurrent State: 38:[28, 19], Operations: ['56-1=55', '55-36=19']\nExploring Operation: 28+19=47, Resulting Numbers: [47]\n47,38 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 38:[28, 19], Operations: ['56-1=55', '55-36=19']\nExploring Operation: 28-19=9, Resulting Numbers: [9]\n9,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[36, 28, 55], Operations: ['56-1=55']\nExploring Operation: 36+28=64, Resulting Numbers: [55, 64]\nGenerated Node #0,1,2: 38:[55, 64] Operation: 36+28=64\nMoving to Node #0,1,2\nCurrent State: 38:[55, 64], Operations: ['56-1=55', '36+28=64']\nExploring Operation: 64-55=9, Resulting Numbers: [9]\n9,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[36, 28, 55], Operations: ['56-1=55']\nExploring Operation: 36-28=8, Resulting Numbers: [55, 8]\nGenerated Node #0,1,3: 38:[55, 8] Operation: 36-28=8\nMoving to Node #0,1,3\nCurrent State: 38:[55, 8], Operations: ['56-1=55', '36-28=8']\nExploring Operation: 55-8=47, Resulting Numbers: [47]\n47,38 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 38:[55, 8], Operations: ['56-1=55', '36-28=8']\nExploring Operation: 55+8=63, Resulting Numbers: [63]\n63,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[36, 28, 55], Operations: ['56-1=55']\nExploring Operation: 28+55=83, Resulting Numbers: [36, 83]\nGenerated Node #0,1,4: 38:[36, 83] Operation: 28+55=83\nMoving to Node #0,1,4\nCurrent State: 38:[36, 83], Operations: ['56-1=55', '28+55=83']\nExploring Operation: 83-36=47, Resulting Numbers: [47]\n47,38 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 38:[36, 28, 55], Operations: ['56-1=55']\nExploring Operation: 36+55=91, Resulting Numbers: [28, 91]\nGenerated Node #0,1,5: 38:[28, 91] Operation: 36+55=91\nMoving to Node #0,1,5\nCurrent State: 38:[28, 91], Operations: ['56-1=55', '36+55=91']\nExploring Operation: 91-28=63, Resulting Numbers: [63]\n63,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[36, 1, 56, 28], Operations: []\nExploring Operation: 1+28=29, Resulting Numbers: [36, 56, 29]\nGenerated Node #0,2: 38:[36, 56, 29] Operation: 1+28=29\nMoving to Node #0,2\nCurrent State: 38:[36, 56, 29], Operations: ['1+28=29']\nExploring Operation: 56-29=27, Resulting Numbers: [36, 27]\nGenerated Node #0,2,0: 38:[36, 27] Operation: 56-29=27\nMoving to Node #0,2,0\nCurrent State: 38:[36, 27], Operations: ['1+28=29', '56-29=27']\nExploring Operation: 36+27=63, Resulting Numbers: [63]\n63,38 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 38:[36, 27], Operations: ['1+28=29', '56-29=27']\nExploring Operation: 36-27=9, Resulting Numbers: [9]\n9,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[36, 56, 29], Operations: ['1+28=29']\nExploring Operation: 56-36=20, Resulting Numbers: [29, 20]\nGenerated Node #0,2,1: 38:[29, 20] Operation: 56-36=20\nMoving to Node #0,2,1\nCurrent State: 38:[29, 20], Operations: ['1+28=29', '56-36=20']\nExploring Operation: 29+20=49, Resulting Numbers: [49]\n49,38 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 38:[29, 20], Operations: ['1+28=29', '56-36=20']\nExploring Operation: 29-20=9, Resulting Numbers: [9]\n9,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[36, 56, 29], Operations: ['1+28=29']\nExploring Operation: 36+29=65, Resulting Numbers: [56, 65]\nGenerated Node #0,2,2: 38:[56, 65] Operation: 36+29=65\nMoving to Node #0,2,2\nCurrent State: 38:[56, 65], Operations: ['1+28=29', '36+29=65']\nExploring Operation: 65-56=9, Resulting Numbers: [9]\n9,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[36, 56, 29], Operations: ['1+28=29']\nExploring Operation: 36-29=7, Resulting Numbers: [56, 7]\nGenerated Node #0,2,3: 38:[56, 7] Operation: 36-29=7\nMoving to Node #0,2,3\nCurrent State: 38:[56, 7], Operations: ['1+28=29', '36-29=7']\nExploring Operation: 56-7=49, Resulting Numbers: [49]\n49,38 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 38:[56, 7], Operations: ['1+28=29', '36-29=7']\nExploring Operation: 56+7=63, Resulting Numbers: [63]\n63,38 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 38:[56, 7], Operations: ['1+28=29', '36-29=7']\nExploring Operation: 56/7=8, Resulting Numbers: [8]\n8,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[36, 56, 29], Operations: ['1+28=29']\nExploring Operation: 56+29=85, Resulting Numbers: [36, 85]\nGenerated Node #0,2,4: 38:[36, 85] Operation: 56+29=85\nMoving to Node #0,2,4\nCurrent State: 38:[36, 85], Operations: ['1+28=29', '56+29=85']\nExploring Operation: 85-36=49, Resulting Numbers: [49]\n49,38 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 38:[36, 56, 29], Operations: ['1+28=29']\nExploring Operation: 36+56=92, Resulting Numbers: [29, 92]\nGenerated Node #0,2,5: 38:[29, 92] Operation: 36+56=92\nMoving to Node #0,2,5\nCurrent State: 38:[29, 92], Operations: ['1+28=29', '36+56=92']\nExploring Operation: 92-29=63, Resulting Numbers: [63]\n63,38 unequal: No Solution\nMoving to Node #0\nCurrent State: 38:[36, 1, 56, 28], Operations: []\nExploring Operation: 36*1=36, Resulting Numbers: [56, 28, 36]\nGenerated Node #0,3: 38:[56, 28, 36] Operation: 36*1=36\nMoving to Node #0,3\nCurrent State: 38:[56, 28, 36], Operations: ['36*1=36']\nExploring Operation: 56-28=28, Resulting Numbers: [36, 28]\nGenerated Node #0,3,0: 38:[36, 28] Operation: 56-28=28\nMoving to Node #0,3,0\nCurrent State: 38:[36, 28], Operations: ['36*1=36', '56-28=28']\nExploring Operation: 36+28=64, Resulting Numbers: [64]\n64,38 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 38:[36, 28], Operations: ['36*1=36', '56-28=28']\nExploring Operation: 36-28=8, Resulting Numbers: [8]\n8,38 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 38:[56, 28, 36], Operations: ['36*1=36']\nExploring Operation: 56-36=20, Resulting Numbers: [28, 20]\nGenerated Node #0,3,1: 38:[28, 20] Operation: 56-36=20\nMoving to Node #0,3,1\nCurrent State: 38:[28, 20], Operations: ['36*1=36', '56-36=20']\nExploring Operation: 28+20=48, Resulting Numbers: [48]\n48,38 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 38:[28, 20], Operations: ['36*1=36', '56-36=20']\nExploring Operation: 28-20=8, Resulting Numbers: [8]\n8,38 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 38:[56, 28, 36], Operations: ['36*1=36']\nExploring Operation: 56/28=2, Resulting Numbers: [36, 2]\nGenerated Node #0,3,2: 38:[36, 2] Operation: 56/28=2\nMoving to Node #0,3,2\nCurrent State: 38:[36, 2], Operations: ['36*1=36', '56/28=2']\nExploring Operation: 36+2=38, Resulting Numbers: [38]\n38,38 equal: Goal Reached\n", "role": "assistant" } ]
[ 2, 27, 67, 22 ]
51
[ "22/2=11", "67-27=40", "11+40=51" ]
Current State: 51:[2, 27, 67, 22], Operations: [] Exploring Operation: 67-22=45, Resulting Numbers: [2, 27, 45] Generated Node #0,0: 51:[2, 27, 45] Operation: 67-22=45 Exploring Operation: 67-27=40, Resulting Numbers: [2, 22, 40] Generated Node #0,1: 51:[2, 22, 40] Operation: 67-27=40 Moving to Node #0,0 Current State: 51:[2, 27, 45], Operations: ['67-22=45'] Exploring Operation: 45-27=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 51:[2, 18] Operation: 45-27=18 Exploring Operation: 2*27=54, Resulting Numbers: [45, 54] Generated Node #0,0,1: 51:[45, 54] Operation: 2*27=54 Moving to Node #0,1 Current State: 51:[2, 22, 40], Operations: ['67-27=40'] Exploring Operation: 40-22=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 51:[2, 18] Operation: 40-22=18 Exploring Operation: 40/2=20, Resulting Numbers: [22, 20] Generated Node #0,1,1: 51:[22, 20] Operation: 40/2=20 Moving to Node #0,0,0 Current State: 51:[2, 18], Operations: ['67-22=45', '45-27=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[2, 18], Operations: ['67-27=40', '40-22=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,51 unequal: No Solution Moving to Node #0,0,0,0 Current State: 51:[16], Operations: ['67-22=45', '45-27=18', '18-2=16'] Moving to Node #0,1,0,0 Current State: 51:[16], Operations: ['67-27=40', '40-22=18', '18-2=16'] Moving to Node #0,1,0,0 Current State: 51:[20], Operations: ['67-27=40', '40-22=18', '2+18=20'] Moving to Node #0,0,0,0 Current State: 51:[20], Operations: ['67-22=45', '45-27=18', '2+18=20'] Moving to Node #0,1,1 Current State: 51:[22, 20], Operations: ['67-27=40', '40/2=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[45, 54], Operations: ['67-22=45', '2*27=54'] Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,51 unequal: No Solution Moving to Node #0,1,1,0 Current State: 51:[2], Operations: ['67-27=40', '40/2=20', '22-20=2'] Moving to Node #0,0,1,0 Current State: 51:[9], Operations: ['67-22=45', '2*27=54', '54-45=9'] Moving to Node #0,1,1,0 Current State: 51:[42], Operations: ['67-27=40', '40/2=20', '22+20=42'] Moving to Node #0,0,1,0 Current State: 51:[99], Operations: ['67-22=45', '2*27=54', '45+54=99'] No solution found.
0
bfs_2
Current State: 51:[2, 27, 67, 22], Operations: [] Exploring Operation: 22/2=11, Resulting Numbers: [27, 67, 11] Generated Node #2: [27, 67, 11] from Operation: 22/2=11 Current State: 51:[27, 67, 11], Operations: ['22/2=11'] Exploring Operation: 67-27=40, Resulting Numbers: [11, 40] Generated Node #3: [11, 40] from Operation: 67-27=40 Current State: 51:[11, 40], Operations: ['22/2=11', '67-27=40'] Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
mult_heuristic
[ { "content": "Make 51 with the numbers [2, 27, 67, 22] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 51:[2, 27, 67, 22], Operations: []\nExploring Operation: 67-22=45, Resulting Numbers: [2, 27, 45]\nGenerated Node #0,0: 51:[2, 27, 45] Operation: 67-22=45\nExploring Operation: 67-27=40, Resulting Numbers: [2, 22, 40]\nGenerated Node #0,1: 51:[2, 22, 40] Operation: 67-27=40\nMoving to Node #0,0\nCurrent State: 51:[2, 27, 45], Operations: ['67-22=45']\nExploring Operation: 45-27=18, Resulting Numbers: [2, 18]\nGenerated Node #0,0,0: 51:[2, 18] Operation: 45-27=18\nExploring Operation: 2*27=54, Resulting Numbers: [45, 54]\nGenerated Node #0,0,1: 51:[45, 54] Operation: 2*27=54\nMoving to Node #0,1\nCurrent State: 51:[2, 22, 40], Operations: ['67-27=40']\nExploring Operation: 40-22=18, Resulting Numbers: [2, 18]\nGenerated Node #0,1,0: 51:[2, 18] Operation: 40-22=18\nExploring Operation: 40/2=20, Resulting Numbers: [22, 20]\nGenerated Node #0,1,1: 51:[22, 20] Operation: 40/2=20\nMoving to Node #0,0,0\nCurrent State: 51:[2, 18], Operations: ['67-22=45', '45-27=18']\nExploring Operation: 2+18=20, Resulting Numbers: [20]\n20,51 unequal: No Solution\nExploring Operation: 18-2=16, Resulting Numbers: [16]\n16,51 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 51:[2, 18], Operations: ['67-27=40', '40-22=18']\nExploring Operation: 2+18=20, Resulting Numbers: [20]\n20,51 unequal: No Solution\nExploring Operation: 18-2=16, Resulting Numbers: [16]\n16,51 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 51:[16], Operations: ['67-22=45', '45-27=18', '18-2=16']\nMoving to Node #0,1,0,0\nCurrent State: 51:[16], Operations: ['67-27=40', '40-22=18', '18-2=16']\nMoving to Node #0,1,0,0\nCurrent State: 51:[20], Operations: ['67-27=40', '40-22=18', '2+18=20']\nMoving to Node #0,0,0,0\nCurrent State: 51:[20], Operations: ['67-22=45', '45-27=18', '2+18=20']\nMoving to Node #0,1,1\nCurrent State: 51:[22, 20], Operations: ['67-27=40', '40/2=20']\nExploring Operation: 22+20=42, Resulting Numbers: [42]\n42,51 unequal: No Solution\nExploring Operation: 22-20=2, Resulting Numbers: [2]\n2,51 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 51:[45, 54], Operations: ['67-22=45', '2*27=54']\nExploring Operation: 54-45=9, Resulting Numbers: [9]\n9,51 unequal: No Solution\nExploring Operation: 45+54=99, Resulting Numbers: [99]\n99,51 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 51:[2], Operations: ['67-27=40', '40/2=20', '22-20=2']\nMoving to Node #0,0,1,0\nCurrent State: 51:[9], Operations: ['67-22=45', '2*27=54', '54-45=9']\nMoving to Node #0,1,1,0\nCurrent State: 51:[42], Operations: ['67-27=40', '40/2=20', '22+20=42']\nMoving to Node #0,0,1,0\nCurrent State: 51:[99], Operations: ['67-22=45', '2*27=54', '45+54=99']\nNo solution found.", "role": "assistant" } ]
[ 36, 60, 94, 55 ]
86
[ "60-55=5", "36*5=180", "180-94=86" ]
Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [36, 94, 5] Generated Node #0,0: 86:[36, 94, 5] Operation: 60-55=5 Moving to Node #0,0 Current State: 86:[36, 94, 5], Operations: ['60-55=5'] Exploring Operation: 36+5=41, Resulting Numbers: [94, 41] Generated Node #0,0,0: 86:[94, 41] Operation: 36+5=41 Moving to Node #0,0,0 Current State: 86:[94, 41], Operations: ['60-55=5', '36+5=41'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[94, 41], Operations: ['60-55=5', '36+5=41'] Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[36, 94, 5], Operations: ['60-55=5'] Exploring Operation: 94-5=89, Resulting Numbers: [36, 89] Generated Node #0,0,1: 86:[36, 89] Operation: 94-5=89 Moving to Node #0,0,1 Current State: 86:[36, 89], Operations: ['60-55=5', '94-5=89'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[36, 89], Operations: ['60-55=5', '94-5=89'] Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[36, 94, 5], Operations: ['60-55=5'] Exploring Operation: 94-36=58, Resulting Numbers: [5, 58] Generated Node #0,0,2: 86:[5, 58] Operation: 94-36=58 Moving to Node #0,0,2 Current State: 86:[5, 58], Operations: ['60-55=5', '94-36=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[5, 58], Operations: ['60-55=5', '94-36=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[36, 94, 5], Operations: ['60-55=5'] Exploring Operation: 36-5=31, Resulting Numbers: [94, 31] Generated Node #0,0,3: 86:[94, 31] Operation: 36-5=31 Moving to Node #0,0,3 Current State: 86:[94, 31], Operations: ['60-55=5', '36-5=31'] Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[94, 31], Operations: ['60-55=5', '36-5=31'] Exploring Operation: 94+31=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[36, 94, 5], Operations: ['60-55=5'] Exploring Operation: 94+5=99, Resulting Numbers: [36, 99] Generated Node #0,0,4: 86:[36, 99] Operation: 94+5=99 Moving to Node #0,0,4 Current State: 86:[36, 99], Operations: ['60-55=5', '94+5=99'] Exploring Operation: 99-36=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,0,4 Current State: 86:[36, 99], Operations: ['60-55=5', '94+5=99'] Exploring Operation: 36+99=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[36, 94, 5], Operations: ['60-55=5'] Exploring Operation: 36+94=130, Resulting Numbers: [5, 130] Generated Node #0,0,5: 86:[5, 130] Operation: 36+94=130 Moving to Node #0,0,5 Current State: 86:[5, 130], Operations: ['60-55=5', '36+94=130'] Exploring Operation: 130/5=26, Resulting Numbers: [26] 26,86 unequal: No Solution Moving to Node #0,0,5 Current State: 86:[5, 130], Operations: ['60-55=5', '36+94=130'] Exploring Operation: 130-5=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,0,5 Current State: 86:[5, 130], Operations: ['60-55=5', '36+94=130'] Exploring Operation: 5+130=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0 Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [36, 55, 34] Generated Node #0,1: 86:[36, 55, 34] Operation: 94-60=34 Moving to Node #0,1 Current State: 86:[36, 55, 34], Operations: ['94-60=34'] Exploring Operation: 55+34=89, Resulting Numbers: [36, 89] Generated Node #0,1,0: 86:[36, 89] Operation: 55+34=89 Moving to Node #0,1,0 Current State: 86:[36, 89], Operations: ['94-60=34', '55+34=89'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[36, 89], Operations: ['94-60=34', '55+34=89'] Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[36, 55, 34], Operations: ['94-60=34'] Exploring Operation: 36-34=2, Resulting Numbers: [55, 2] Generated Node #0,1,1: 86:[55, 2] Operation: 36-34=2 Moving to Node #0,1,1 Current State: 86:[55, 2], Operations: ['94-60=34', '36-34=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[55, 2], Operations: ['94-60=34', '36-34=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[55, 2], Operations: ['94-60=34', '36-34=2'] Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[36, 55, 34], Operations: ['94-60=34'] Exploring Operation: 36+55=91, Resulting Numbers: [34, 91] Generated Node #0,1,2: 86:[34, 91] Operation: 36+55=91 Moving to Node #0,1,2 Current State: 86:[34, 91], Operations: ['94-60=34', '36+55=91'] Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[34, 91], Operations: ['94-60=34', '36+55=91'] Exploring Operation: 34+91=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[36, 55, 34], Operations: ['94-60=34'] Exploring Operation: 55-36=19, Resulting Numbers: [34, 19] Generated Node #0,1,3: 86:[34, 19] Operation: 55-36=19 Moving to Node #0,1,3 Current State: 86:[34, 19], Operations: ['94-60=34', '55-36=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[34, 19], Operations: ['94-60=34', '55-36=19'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[36, 55, 34], Operations: ['94-60=34'] Exploring Operation: 55-34=21, Resulting Numbers: [36, 21] Generated Node #0,1,4: 86:[36, 21] Operation: 55-34=21 Moving to Node #0,1,4 Current State: 86:[36, 21], Operations: ['94-60=34', '55-34=21'] Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,1,4 Current State: 86:[36, 21], Operations: ['94-60=34', '55-34=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[36, 55, 34], Operations: ['94-60=34'] Exploring Operation: 36+34=70, Resulting Numbers: [55, 70] Generated Node #0,1,5: 86:[55, 70] Operation: 36+34=70 Moving to Node #0,1,5 Current State: 86:[55, 70], Operations: ['94-60=34', '36+34=70'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,1,5 Current State: 86:[55, 70], Operations: ['94-60=34', '36+34=70'] Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0 Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [36, 60, 39] Generated Node #0,2: 86:[36, 60, 39] Operation: 94-55=39 Moving to Node #0,2 Current State: 86:[36, 60, 39], Operations: ['94-55=39'] Exploring Operation: 36+60=96, Resulting Numbers: [39, 96] Generated Node #0,2,0: 86:[39, 96] Operation: 36+60=96 Moving to Node #0,2,0 Current State: 86:[39, 96], Operations: ['94-55=39', '36+60=96'] Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[39, 96], Operations: ['94-55=39', '36+60=96'] Exploring Operation: 39+96=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[36, 60, 39], Operations: ['94-55=39'] Exploring Operation: 39-36=3, Resulting Numbers: [60, 3] Generated Node #0,2,1: 86:[60, 3] Operation: 39-36=3 Moving to Node #0,2,1 Current State: 86:[60, 3], Operations: ['94-55=39', '39-36=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[60, 3], Operations: ['94-55=39', '39-36=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[60, 3], Operations: ['94-55=39', '39-36=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[36, 60, 39], Operations: ['94-55=39'] Exploring Operation: 60+39=99, Resulting Numbers: [36, 99] Generated Node #0,2,2: 86:[36, 99] Operation: 60+39=99 Moving to Node #0,2,2 Current State: 86:[36, 99], Operations: ['94-55=39', '60+39=99'] Exploring Operation: 99-36=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[36, 99], Operations: ['94-55=39', '60+39=99'] Exploring Operation: 36+99=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[36, 60, 39], Operations: ['94-55=39'] Exploring Operation: 60-36=24, Resulting Numbers: [39, 24] Generated Node #0,2,3: 86:[39, 24] Operation: 60-36=24 Moving to Node #0,2,3 Current State: 86:[39, 24], Operations: ['94-55=39', '60-36=24'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[39, 24], Operations: ['94-55=39', '60-36=24'] Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[36, 60, 39], Operations: ['94-55=39'] Exploring Operation: 60-39=21, Resulting Numbers: [36, 21] Generated Node #0,2,4: 86:[36, 21] Operation: 60-39=21 Moving to Node #0,2,4 Current State: 86:[36, 21], Operations: ['94-55=39', '60-39=21'] Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,2,4 Current State: 86:[36, 21], Operations: ['94-55=39', '60-39=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[36, 60, 39], Operations: ['94-55=39'] Exploring Operation: 36+39=75, Resulting Numbers: [60, 75] Generated Node #0,2,5: 86:[60, 75] Operation: 36+39=75 Moving to Node #0,2,5 Current State: 86:[60, 75], Operations: ['94-55=39', '36+39=75'] Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,2,5 Current State: 86:[60, 75], Operations: ['94-55=39', '36+39=75'] Exploring Operation: 60+75=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0 Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 36+60=96, Resulting Numbers: [94, 55, 96] Generated Node #0,3: 86:[94, 55, 96] Operation: 36+60=96 Moving to Node #0,3 Current State: 86:[94, 55, 96], Operations: ['36+60=96'] Exploring Operation: 96-55=41, Resulting Numbers: [94, 41] Generated Node #0,3,0: 86:[94, 41] Operation: 96-55=41 Moving to Node #0,3,0 Current State: 86:[94, 41], Operations: ['36+60=96', '96-55=41'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[94, 41], Operations: ['36+60=96', '96-55=41'] Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[94, 55, 96], Operations: ['36+60=96'] Exploring Operation: 96-94=2, Resulting Numbers: [55, 2] Generated Node #0,3,1: 86:[55, 2] Operation: 96-94=2 Moving to Node #0,3,1 Current State: 86:[55, 2], Operations: ['36+60=96', '96-94=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[55, 2], Operations: ['36+60=96', '96-94=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[55, 2], Operations: ['36+60=96', '96-94=2'] Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[94, 55, 96], Operations: ['36+60=96'] Exploring Operation: 94-55=39, Resulting Numbers: [96, 39] Generated Node #0,3,2: 86:[96, 39] Operation: 94-55=39 Moving to Node #0,3,2 Current State: 86:[96, 39], Operations: ['36+60=96', '94-55=39'] Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[96, 39], Operations: ['36+60=96', '94-55=39'] Exploring Operation: 96+39=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[94, 55, 96], Operations: ['36+60=96'] Exploring Operation: 94+55=149, Resulting Numbers: [96, 149] Generated Node #0,3,3: 86:[96, 149] Operation: 94+55=149 Moving to Node #0,3,3 Current State: 86:[96, 149], Operations: ['36+60=96', '94+55=149'] Exploring Operation: 149-96=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[94, 55, 96], Operations: ['36+60=96'] Exploring Operation: 55+96=151, Resulting Numbers: [94, 151] Generated Node #0,3,4: 86:[94, 151] Operation: 55+96=151 Moving to Node #0,3,4 Current State: 86:[94, 151], Operations: ['36+60=96', '55+96=151'] Exploring Operation: 151-94=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0 Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 36+55=91, Resulting Numbers: [60, 94, 91] Generated Node #0,4: 86:[60, 94, 91] Operation: 36+55=91 Moving to Node #0,4 Current State: 86:[60, 94, 91], Operations: ['36+55=91'] Exploring Operation: 94-60=34, Resulting Numbers: [91, 34] Generated Node #0,4,0: 86:[91, 34] Operation: 94-60=34 Moving to Node #0,4,0 Current State: 86:[91, 34], Operations: ['36+55=91', '94-60=34'] Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,4,0 Current State: 86:[91, 34], Operations: ['36+55=91', '94-60=34'] Exploring Operation: 91+34=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[60, 94, 91], Operations: ['36+55=91'] Exploring Operation: 94-91=3, Resulting Numbers: [60, 3] Generated Node #0,4,1: 86:[60, 3] Operation: 94-91=3 Moving to Node #0,4,1 Current State: 86:[60, 3], Operations: ['36+55=91', '94-91=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,4,1 Current State: 86:[60, 3], Operations: ['36+55=91', '94-91=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,4,1 Current State: 86:[60, 3], Operations: ['36+55=91', '94-91=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[60, 94, 91], Operations: ['36+55=91'] Exploring Operation: 91-60=31, Resulting Numbers: [94, 31] Generated Node #0,4,2: 86:[94, 31] Operation: 91-60=31 Moving to Node #0,4,2 Current State: 86:[94, 31], Operations: ['36+55=91', '91-60=31'] Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,4,2 Current State: 86:[94, 31], Operations: ['36+55=91', '91-60=31'] Exploring Operation: 94+31=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[60, 94, 91], Operations: ['36+55=91'] Exploring Operation: 60+94=154, Resulting Numbers: [91, 154] Generated Node #0,4,3: 86:[91, 154] Operation: 60+94=154 Moving to Node #0,4,3 Current State: 86:[91, 154], Operations: ['36+55=91', '60+94=154'] Exploring Operation: 154-91=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[60, 94, 91], Operations: ['36+55=91'] Exploring Operation: 60+91=151, Resulting Numbers: [94, 151] Generated Node #0,4,4: 86:[94, 151] Operation: 60+91=151 Moving to Node #0,4,4 Current State: 86:[94, 151], Operations: ['36+55=91', '60+91=151'] Exploring Operation: 151-94=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0 Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 60-36=24, Resulting Numbers: [94, 55, 24] Generated Node #0,5: 86:[94, 55, 24] Operation: 60-36=24 Moving to Node #0,5 Current State: 86:[94, 55, 24], Operations: ['60-36=24'] Exploring Operation: 55+24=79, Resulting Numbers: [94, 79] Generated Node #0,5,0: 86:[94, 79] Operation: 55+24=79 Moving to Node #0,5,0 Current State: 86:[94, 79], Operations: ['60-36=24', '55+24=79'] Exploring Operation: 94-79=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[94, 55, 24], Operations: ['60-36=24'] Exploring Operation: 55-24=31, Resulting Numbers: [94, 31] Generated Node #0,5,1: 86:[94, 31] Operation: 55-24=31 Moving to Node #0,5,1 Current State: 86:[94, 31], Operations: ['60-36=24', '55-24=31'] Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,5,1 Current State: 86:[94, 31], Operations: ['60-36=24', '55-24=31'] Exploring Operation: 94+31=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[94, 55, 24], Operations: ['60-36=24'] Exploring Operation: 94-55=39, Resulting Numbers: [24, 39] Generated Node #0,5,2: 86:[24, 39] Operation: 94-55=39 Moving to Node #0,5,2 Current State: 86:[24, 39], Operations: ['60-36=24', '94-55=39'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,5,2 Current State: 86:[24, 39], Operations: ['60-36=24', '94-55=39'] Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[94, 55, 24], Operations: ['60-36=24'] Exploring Operation: 94-24=70, Resulting Numbers: [55, 70] Generated Node #0,5,3: 86:[55, 70] Operation: 94-24=70 Moving to Node #0,5,3 Current State: 86:[55, 70], Operations: ['60-36=24', '94-24=70'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,5,3 Current State: 86:[55, 70], Operations: ['60-36=24', '94-24=70'] Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[94, 55, 24], Operations: ['60-36=24'] Exploring Operation: 94+24=118, Resulting Numbers: [55, 118] Generated Node #0,5,4: 86:[55, 118] Operation: 94+24=118 Moving to Node #0,5,4 Current State: 86:[55, 118], Operations: ['60-36=24', '94+24=118'] Exploring Operation: 118-55=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[94, 55, 24], Operations: ['60-36=24'] Exploring Operation: 94+55=149, Resulting Numbers: [24, 149] Generated Node #0,5,5: 86:[24, 149] Operation: 94+55=149 Moving to Node #0,5,5 Current State: 86:[24, 149], Operations: ['60-36=24', '94+55=149'] Exploring Operation: 149-24=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0 Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 55-36=19, Resulting Numbers: [60, 94, 19] Generated Node #0,6: 86:[60, 94, 19] Operation: 55-36=19 Moving to Node #0,6 Current State: 86:[60, 94, 19], Operations: ['55-36=19'] Exploring Operation: 60-19=41, Resulting Numbers: [94, 41] Generated Node #0,6,0: 86:[94, 41] Operation: 60-19=41 Moving to Node #0,6,0 Current State: 86:[94, 41], Operations: ['55-36=19', '60-19=41'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,6,0 Current State: 86:[94, 41], Operations: ['55-36=19', '60-19=41'] Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[60, 94, 19], Operations: ['55-36=19'] Exploring Operation: 60+19=79, Resulting Numbers: [94, 79] Generated Node #0,6,1: 86:[94, 79] Operation: 60+19=79 Moving to Node #0,6,1 Current State: 86:[94, 79], Operations: ['55-36=19', '60+19=79'] Exploring Operation: 94-79=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[60, 94, 19], Operations: ['55-36=19'] Exploring Operation: 94-60=34, Resulting Numbers: [19, 34] Generated Node #0,6,2: 86:[19, 34] Operation: 94-60=34 Moving to Node #0,6,2 Current State: 86:[19, 34], Operations: ['55-36=19', '94-60=34'] Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,6,2 Current State: 86:[19, 34], Operations: ['55-36=19', '94-60=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[60, 94, 19], Operations: ['55-36=19'] Exploring Operation: 94-19=75, Resulting Numbers: [60, 75] Generated Node #0,6,3: 86:[60, 75] Operation: 94-19=75 Moving to Node #0,6,3 Current State: 86:[60, 75], Operations: ['55-36=19', '94-19=75'] Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,6,3 Current State: 86:[60, 75], Operations: ['55-36=19', '94-19=75'] Exploring Operation: 60+75=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[60, 94, 19], Operations: ['55-36=19'] Exploring Operation: 94+19=113, Resulting Numbers: [60, 113] Generated Node #0,6,4: 86:[60, 113] Operation: 94+19=113 Moving to Node #0,6,4 Current State: 86:[60, 113], Operations: ['55-36=19', '94+19=113'] Exploring Operation: 113-60=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[60, 94, 19], Operations: ['55-36=19'] Exploring Operation: 60+94=154, Resulting Numbers: [19, 154] Generated Node #0,6,5: 86:[19, 154] Operation: 60+94=154 Moving to Node #0,6,5 Current State: 86:[19, 154], Operations: ['55-36=19', '60+94=154'] Exploring Operation: 154-19=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0 Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 94-36=58, Resulting Numbers: [60, 55, 58] Generated Node #0,7: 86:[60, 55, 58] Operation: 94-36=58 Moving to Node #0,7 Current State: 86:[60, 55, 58], Operations: ['94-36=58'] Exploring Operation: 60-58=2, Resulting Numbers: [55, 2] Generated Node #0,7,0: 86:[55, 2] Operation: 60-58=2 Moving to Node #0,7,0 Current State: 86:[55, 2], Operations: ['94-36=58', '60-58=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,7,0 Current State: 86:[55, 2], Operations: ['94-36=58', '60-58=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,7,0 Current State: 86:[55, 2], Operations: ['94-36=58', '60-58=2'] Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[60, 55, 58], Operations: ['94-36=58'] Exploring Operation: 60-55=5, Resulting Numbers: [58, 5] Generated Node #0,7,1: 86:[58, 5] Operation: 60-55=5 Moving to Node #0,7,1 Current State: 86:[58, 5], Operations: ['94-36=58', '60-55=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,7,1 Current State: 86:[58, 5], Operations: ['94-36=58', '60-55=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[60, 55, 58], Operations: ['94-36=58'] Exploring Operation: 58-55=3, Resulting Numbers: [60, 3] Generated Node #0,7,2: 86:[60, 3] Operation: 58-55=3 Moving to Node #0,7,2 Current State: 86:[60, 3], Operations: ['94-36=58', '58-55=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,7,2 Current State: 86:[60, 3], Operations: ['94-36=58', '58-55=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,7,2 Current State: 86:[60, 3], Operations: ['94-36=58', '58-55=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[60, 55, 58], Operations: ['94-36=58'] Exploring Operation: 60+55=115, Resulting Numbers: [58, 115] Generated Node #0,7,3: 86:[58, 115] Operation: 60+55=115 Moving to Node #0,7,3 Current State: 86:[58, 115], Operations: ['94-36=58', '60+55=115'] Exploring Operation: 115-58=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[60, 55, 58], Operations: ['94-36=58'] Exploring Operation: 60+58=118, Resulting Numbers: [55, 118] Generated Node #0,7,4: 86:[55, 118] Operation: 60+58=118 Moving to Node #0,7,4 Current State: 86:[55, 118], Operations: ['94-36=58', '60+58=118'] Exploring Operation: 118-55=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,7 Current State: 86:[60, 55, 58], Operations: ['94-36=58'] Exploring Operation: 55+58=113, Resulting Numbers: [60, 113] Generated Node #0,7,5: 86:[60, 113] Operation: 55+58=113 Moving to Node #0,7,5 Current State: 86:[60, 113], Operations: ['94-36=58', '55+58=113'] Exploring Operation: 113-60=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0 Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 60+55=115, Resulting Numbers: [36, 94, 115] Generated Node #0,8: 86:[36, 94, 115] Operation: 60+55=115 Moving to Node #0,8 Current State: 86:[36, 94, 115], Operations: ['60+55=115'] Exploring Operation: 115-36=79, Resulting Numbers: [94, 79] Generated Node #0,8,0: 86:[94, 79] Operation: 115-36=79 Moving to Node #0,8,0 Current State: 86:[94, 79], Operations: ['60+55=115', '115-36=79'] Exploring Operation: 94-79=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,8 Current State: 86:[36, 94, 115], Operations: ['60+55=115'] Exploring Operation: 115-94=21, Resulting Numbers: [36, 21] Generated Node #0,8,1: 86:[36, 21] Operation: 115-94=21 Moving to Node #0,8,1 Current State: 86:[36, 21], Operations: ['60+55=115', '115-94=21'] Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,8,1 Current State: 86:[36, 21], Operations: ['60+55=115', '115-94=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,8 Current State: 86:[36, 94, 115], Operations: ['60+55=115'] Exploring Operation: 94-36=58, Resulting Numbers: [115, 58] Generated Node #0,8,2: 86:[115, 58] Operation: 94-36=58 Moving to Node #0,8,2 Current State: 86:[115, 58], Operations: ['60+55=115', '94-36=58'] Exploring Operation: 115-58=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,8 Current State: 86:[36, 94, 115], Operations: ['60+55=115'] Exploring Operation: 36+94=130, Resulting Numbers: [115, 130] Generated Node #0,8,3: 86:[115, 130] Operation: 36+94=130 Moving to Node #0,8,3 Current State: 86:[115, 130], Operations: ['60+55=115', '36+94=130'] Exploring Operation: 130-115=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,8 Current State: 86:[36, 94, 115], Operations: ['60+55=115'] Exploring Operation: 36+115=151, Resulting Numbers: [94, 151] Generated Node #0,8,4: 86:[94, 151] Operation: 36+115=151 Moving to Node #0,8,4 Current State: 86:[94, 151], Operations: ['60+55=115', '36+115=151'] Exploring Operation: 151-94=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0 Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 36+94=130, Resulting Numbers: [60, 55, 130] Generated Node #0,9: 86:[60, 55, 130] Operation: 36+94=130 Moving to Node #0,9 Current State: 86:[60, 55, 130], Operations: ['36+94=130'] Exploring Operation: 130-60=70, Resulting Numbers: [55, 70] Generated Node #0,9,0: 86:[55, 70] Operation: 130-60=70 Moving to Node #0,9,0 Current State: 86:[55, 70], Operations: ['36+94=130', '130-60=70'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,9,0 Current State: 86:[55, 70], Operations: ['36+94=130', '130-60=70'] Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,9 Current State: 86:[60, 55, 130], Operations: ['36+94=130'] Exploring Operation: 130-55=75, Resulting Numbers: [60, 75] Generated Node #0,9,1: 86:[60, 75] Operation: 130-55=75 Moving to Node #0,9,1 Current State: 86:[60, 75], Operations: ['36+94=130', '130-55=75'] Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,9,1 Current State: 86:[60, 75], Operations: ['36+94=130', '130-55=75'] Exploring Operation: 60+75=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,9 Current State: 86:[60, 55, 130], Operations: ['36+94=130'] Exploring Operation: 60-55=5, Resulting Numbers: [130, 5] Generated Node #0,9,2: 86:[130, 5] Operation: 60-55=5 Moving to Node #0,9,2 Current State: 86:[130, 5], Operations: ['36+94=130', '60-55=5'] Exploring Operation: 130/5=26, Resulting Numbers: [26] 26,86 unequal: No Solution Moving to Node #0,9,2 Current State: 86:[130, 5], Operations: ['36+94=130', '60-55=5'] Exploring Operation: 130-5=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,9,2 Current State: 86:[130, 5], Operations: ['36+94=130', '60-55=5'] Exploring Operation: 130+5=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,9 Current State: 86:[60, 55, 130], Operations: ['36+94=130'] Exploring Operation: 60+55=115, Resulting Numbers: [130, 115] Generated Node #0,9,3: 86:[130, 115] Operation: 60+55=115 Moving to Node #0,9,3 Current State: 86:[130, 115], Operations: ['36+94=130', '60+55=115'] Exploring Operation: 130-115=15, Resulting Numbers: [15] 15,86 unequal: No Solution
0
dfs
Current State: 86:[36, 60, 94, 55], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [36, 94, 5] Generated Node #2: [36, 94, 5] from Operation: 60-55=5 Current State: 86:[36, 94, 5], Operations: ['60-55=5'] Exploring Operation: 36*5=180, Resulting Numbers: [94, 180] Generated Node #3: [94, 180] from Operation: 36*5=180 Current State: 86:[94, 180], Operations: ['60-55=5', '36*5=180'] Exploring Operation: 180-94=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
mult_heuristic
[ { "content": "Make 86 with the numbers [36, 60, 94, 55] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 60-55=5, Resulting Numbers: [36, 94, 5]\nGenerated Node #0,0: 86:[36, 94, 5] Operation: 60-55=5\nMoving to Node #0,0\nCurrent State: 86:[36, 94, 5], Operations: ['60-55=5']\nExploring Operation: 36+5=41, Resulting Numbers: [94, 41]\nGenerated Node #0,0,0: 86:[94, 41] Operation: 36+5=41\nMoving to Node #0,0,0\nCurrent State: 86:[94, 41], Operations: ['60-55=5', '36+5=41']\nExploring Operation: 94-41=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 86:[94, 41], Operations: ['60-55=5', '36+5=41']\nExploring Operation: 94+41=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[36, 94, 5], Operations: ['60-55=5']\nExploring Operation: 94-5=89, Resulting Numbers: [36, 89]\nGenerated Node #0,0,1: 86:[36, 89] Operation: 94-5=89\nMoving to Node #0,0,1\nCurrent State: 86:[36, 89], Operations: ['60-55=5', '94-5=89']\nExploring Operation: 89-36=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 86:[36, 89], Operations: ['60-55=5', '94-5=89']\nExploring Operation: 36+89=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[36, 94, 5], Operations: ['60-55=5']\nExploring Operation: 94-36=58, Resulting Numbers: [5, 58]\nGenerated Node #0,0,2: 86:[5, 58] Operation: 94-36=58\nMoving to Node #0,0,2\nCurrent State: 86:[5, 58], Operations: ['60-55=5', '94-36=58']\nExploring Operation: 58-5=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 86:[5, 58], Operations: ['60-55=5', '94-36=58']\nExploring Operation: 5+58=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[36, 94, 5], Operations: ['60-55=5']\nExploring Operation: 36-5=31, Resulting Numbers: [94, 31]\nGenerated Node #0,0,3: 86:[94, 31] Operation: 36-5=31\nMoving to Node #0,0,3\nCurrent State: 86:[94, 31], Operations: ['60-55=5', '36-5=31']\nExploring Operation: 94-31=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 86:[94, 31], Operations: ['60-55=5', '36-5=31']\nExploring Operation: 94+31=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[36, 94, 5], Operations: ['60-55=5']\nExploring Operation: 94+5=99, Resulting Numbers: [36, 99]\nGenerated Node #0,0,4: 86:[36, 99] Operation: 94+5=99\nMoving to Node #0,0,4\nCurrent State: 86:[36, 99], Operations: ['60-55=5', '94+5=99']\nExploring Operation: 99-36=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 86:[36, 99], Operations: ['60-55=5', '94+5=99']\nExploring Operation: 36+99=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 86:[36, 94, 5], Operations: ['60-55=5']\nExploring Operation: 36+94=130, Resulting Numbers: [5, 130]\nGenerated Node #0,0,5: 86:[5, 130] Operation: 36+94=130\nMoving to Node #0,0,5\nCurrent State: 86:[5, 130], Operations: ['60-55=5', '36+94=130']\nExploring Operation: 130/5=26, Resulting Numbers: [26]\n26,86 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 86:[5, 130], Operations: ['60-55=5', '36+94=130']\nExploring Operation: 130-5=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 86:[5, 130], Operations: ['60-55=5', '36+94=130']\nExploring Operation: 5+130=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 94-60=34, Resulting Numbers: [36, 55, 34]\nGenerated Node #0,1: 86:[36, 55, 34] Operation: 94-60=34\nMoving to Node #0,1\nCurrent State: 86:[36, 55, 34], Operations: ['94-60=34']\nExploring Operation: 55+34=89, Resulting Numbers: [36, 89]\nGenerated Node #0,1,0: 86:[36, 89] Operation: 55+34=89\nMoving to Node #0,1,0\nCurrent State: 86:[36, 89], Operations: ['94-60=34', '55+34=89']\nExploring Operation: 89-36=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 86:[36, 89], Operations: ['94-60=34', '55+34=89']\nExploring Operation: 36+89=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[36, 55, 34], Operations: ['94-60=34']\nExploring Operation: 36-34=2, Resulting Numbers: [55, 2]\nGenerated Node #0,1,1: 86:[55, 2] Operation: 36-34=2\nMoving to Node #0,1,1\nCurrent State: 86:[55, 2], Operations: ['94-60=34', '36-34=2']\nExploring Operation: 55-2=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 86:[55, 2], Operations: ['94-60=34', '36-34=2']\nExploring Operation: 55+2=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 86:[55, 2], Operations: ['94-60=34', '36-34=2']\nExploring Operation: 55*2=110, Resulting Numbers: [110]\n110,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[36, 55, 34], Operations: ['94-60=34']\nExploring Operation: 36+55=91, Resulting Numbers: [34, 91]\nGenerated Node #0,1,2: 86:[34, 91] Operation: 36+55=91\nMoving to Node #0,1,2\nCurrent State: 86:[34, 91], Operations: ['94-60=34', '36+55=91']\nExploring Operation: 91-34=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 86:[34, 91], Operations: ['94-60=34', '36+55=91']\nExploring Operation: 34+91=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[36, 55, 34], Operations: ['94-60=34']\nExploring Operation: 55-36=19, Resulting Numbers: [34, 19]\nGenerated Node #0,1,3: 86:[34, 19] Operation: 55-36=19\nMoving to Node #0,1,3\nCurrent State: 86:[34, 19], Operations: ['94-60=34', '55-36=19']\nExploring Operation: 34+19=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 86:[34, 19], Operations: ['94-60=34', '55-36=19']\nExploring Operation: 34-19=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[36, 55, 34], Operations: ['94-60=34']\nExploring Operation: 55-34=21, Resulting Numbers: [36, 21]\nGenerated Node #0,1,4: 86:[36, 21] Operation: 55-34=21\nMoving to Node #0,1,4\nCurrent State: 86:[36, 21], Operations: ['94-60=34', '55-34=21']\nExploring Operation: 36-21=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 86:[36, 21], Operations: ['94-60=34', '55-34=21']\nExploring Operation: 36+21=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 86:[36, 55, 34], Operations: ['94-60=34']\nExploring Operation: 36+34=70, Resulting Numbers: [55, 70]\nGenerated Node #0,1,5: 86:[55, 70] Operation: 36+34=70\nMoving to Node #0,1,5\nCurrent State: 86:[55, 70], Operations: ['94-60=34', '36+34=70']\nExploring Operation: 70-55=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 86:[55, 70], Operations: ['94-60=34', '36+34=70']\nExploring Operation: 55+70=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 94-55=39, Resulting Numbers: [36, 60, 39]\nGenerated Node #0,2: 86:[36, 60, 39] Operation: 94-55=39\nMoving to Node #0,2\nCurrent State: 86:[36, 60, 39], Operations: ['94-55=39']\nExploring Operation: 36+60=96, Resulting Numbers: [39, 96]\nGenerated Node #0,2,0: 86:[39, 96] Operation: 36+60=96\nMoving to Node #0,2,0\nCurrent State: 86:[39, 96], Operations: ['94-55=39', '36+60=96']\nExploring Operation: 96-39=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 86:[39, 96], Operations: ['94-55=39', '36+60=96']\nExploring Operation: 39+96=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[36, 60, 39], Operations: ['94-55=39']\nExploring Operation: 39-36=3, Resulting Numbers: [60, 3]\nGenerated Node #0,2,1: 86:[60, 3] Operation: 39-36=3\nMoving to Node #0,2,1\nCurrent State: 86:[60, 3], Operations: ['94-55=39', '39-36=3']\nExploring Operation: 60-3=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 86:[60, 3], Operations: ['94-55=39', '39-36=3']\nExploring Operation: 60/3=20, Resulting Numbers: [20]\n20,86 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 86:[60, 3], Operations: ['94-55=39', '39-36=3']\nExploring Operation: 60+3=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[36, 60, 39], Operations: ['94-55=39']\nExploring Operation: 60+39=99, Resulting Numbers: [36, 99]\nGenerated Node #0,2,2: 86:[36, 99] Operation: 60+39=99\nMoving to Node #0,2,2\nCurrent State: 86:[36, 99], Operations: ['94-55=39', '60+39=99']\nExploring Operation: 99-36=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 86:[36, 99], Operations: ['94-55=39', '60+39=99']\nExploring Operation: 36+99=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[36, 60, 39], Operations: ['94-55=39']\nExploring Operation: 60-36=24, Resulting Numbers: [39, 24]\nGenerated Node #0,2,3: 86:[39, 24] Operation: 60-36=24\nMoving to Node #0,2,3\nCurrent State: 86:[39, 24], Operations: ['94-55=39', '60-36=24']\nExploring Operation: 39-24=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 86:[39, 24], Operations: ['94-55=39', '60-36=24']\nExploring Operation: 39+24=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[36, 60, 39], Operations: ['94-55=39']\nExploring Operation: 60-39=21, Resulting Numbers: [36, 21]\nGenerated Node #0,2,4: 86:[36, 21] Operation: 60-39=21\nMoving to Node #0,2,4\nCurrent State: 86:[36, 21], Operations: ['94-55=39', '60-39=21']\nExploring Operation: 36-21=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 86:[36, 21], Operations: ['94-55=39', '60-39=21']\nExploring Operation: 36+21=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 86:[36, 60, 39], Operations: ['94-55=39']\nExploring Operation: 36+39=75, Resulting Numbers: [60, 75]\nGenerated Node #0,2,5: 86:[60, 75] Operation: 36+39=75\nMoving to Node #0,2,5\nCurrent State: 86:[60, 75], Operations: ['94-55=39', '36+39=75']\nExploring Operation: 75-60=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 86:[60, 75], Operations: ['94-55=39', '36+39=75']\nExploring Operation: 60+75=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 36+60=96, Resulting Numbers: [94, 55, 96]\nGenerated Node #0,3: 86:[94, 55, 96] Operation: 36+60=96\nMoving to Node #0,3\nCurrent State: 86:[94, 55, 96], Operations: ['36+60=96']\nExploring Operation: 96-55=41, Resulting Numbers: [94, 41]\nGenerated Node #0,3,0: 86:[94, 41] Operation: 96-55=41\nMoving to Node #0,3,0\nCurrent State: 86:[94, 41], Operations: ['36+60=96', '96-55=41']\nExploring Operation: 94-41=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 86:[94, 41], Operations: ['36+60=96', '96-55=41']\nExploring Operation: 94+41=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 86:[94, 55, 96], Operations: ['36+60=96']\nExploring Operation: 96-94=2, Resulting Numbers: [55, 2]\nGenerated Node #0,3,1: 86:[55, 2] Operation: 96-94=2\nMoving to Node #0,3,1\nCurrent State: 86:[55, 2], Operations: ['36+60=96', '96-94=2']\nExploring Operation: 55-2=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 86:[55, 2], Operations: ['36+60=96', '96-94=2']\nExploring Operation: 55+2=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 86:[55, 2], Operations: ['36+60=96', '96-94=2']\nExploring Operation: 55*2=110, Resulting Numbers: [110]\n110,86 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 86:[94, 55, 96], Operations: ['36+60=96']\nExploring Operation: 94-55=39, Resulting Numbers: [96, 39]\nGenerated Node #0,3,2: 86:[96, 39] Operation: 94-55=39\nMoving to Node #0,3,2\nCurrent State: 86:[96, 39], Operations: ['36+60=96', '94-55=39']\nExploring Operation: 96-39=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 86:[96, 39], Operations: ['36+60=96', '94-55=39']\nExploring Operation: 96+39=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 86:[94, 55, 96], Operations: ['36+60=96']\nExploring Operation: 94+55=149, Resulting Numbers: [96, 149]\nGenerated Node #0,3,3: 86:[96, 149] Operation: 94+55=149\nMoving to Node #0,3,3\nCurrent State: 86:[96, 149], Operations: ['36+60=96', '94+55=149']\nExploring Operation: 149-96=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 86:[94, 55, 96], Operations: ['36+60=96']\nExploring Operation: 55+96=151, Resulting Numbers: [94, 151]\nGenerated Node #0,3,4: 86:[94, 151] Operation: 55+96=151\nMoving to Node #0,3,4\nCurrent State: 86:[94, 151], Operations: ['36+60=96', '55+96=151']\nExploring Operation: 151-94=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 36+55=91, Resulting Numbers: [60, 94, 91]\nGenerated Node #0,4: 86:[60, 94, 91] Operation: 36+55=91\nMoving to Node #0,4\nCurrent State: 86:[60, 94, 91], Operations: ['36+55=91']\nExploring Operation: 94-60=34, Resulting Numbers: [91, 34]\nGenerated Node #0,4,0: 86:[91, 34] Operation: 94-60=34\nMoving to Node #0,4,0\nCurrent State: 86:[91, 34], Operations: ['36+55=91', '94-60=34']\nExploring Operation: 91-34=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 86:[91, 34], Operations: ['36+55=91', '94-60=34']\nExploring Operation: 91+34=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 86:[60, 94, 91], Operations: ['36+55=91']\nExploring Operation: 94-91=3, Resulting Numbers: [60, 3]\nGenerated Node #0,4,1: 86:[60, 3] Operation: 94-91=3\nMoving to Node #0,4,1\nCurrent State: 86:[60, 3], Operations: ['36+55=91', '94-91=3']\nExploring Operation: 60-3=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 86:[60, 3], Operations: ['36+55=91', '94-91=3']\nExploring Operation: 60/3=20, Resulting Numbers: [20]\n20,86 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 86:[60, 3], Operations: ['36+55=91', '94-91=3']\nExploring Operation: 60+3=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 86:[60, 94, 91], Operations: ['36+55=91']\nExploring Operation: 91-60=31, Resulting Numbers: [94, 31]\nGenerated Node #0,4,2: 86:[94, 31] Operation: 91-60=31\nMoving to Node #0,4,2\nCurrent State: 86:[94, 31], Operations: ['36+55=91', '91-60=31']\nExploring Operation: 94-31=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 86:[94, 31], Operations: ['36+55=91', '91-60=31']\nExploring Operation: 94+31=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 86:[60, 94, 91], Operations: ['36+55=91']\nExploring Operation: 60+94=154, Resulting Numbers: [91, 154]\nGenerated Node #0,4,3: 86:[91, 154] Operation: 60+94=154\nMoving to Node #0,4,3\nCurrent State: 86:[91, 154], Operations: ['36+55=91', '60+94=154']\nExploring Operation: 154-91=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 86:[60, 94, 91], Operations: ['36+55=91']\nExploring Operation: 60+91=151, Resulting Numbers: [94, 151]\nGenerated Node #0,4,4: 86:[94, 151] Operation: 60+91=151\nMoving to Node #0,4,4\nCurrent State: 86:[94, 151], Operations: ['36+55=91', '60+91=151']\nExploring Operation: 151-94=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 60-36=24, Resulting Numbers: [94, 55, 24]\nGenerated Node #0,5: 86:[94, 55, 24] Operation: 60-36=24\nMoving to Node #0,5\nCurrent State: 86:[94, 55, 24], Operations: ['60-36=24']\nExploring Operation: 55+24=79, Resulting Numbers: [94, 79]\nGenerated Node #0,5,0: 86:[94, 79] Operation: 55+24=79\nMoving to Node #0,5,0\nCurrent State: 86:[94, 79], Operations: ['60-36=24', '55+24=79']\nExploring Operation: 94-79=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 86:[94, 55, 24], Operations: ['60-36=24']\nExploring Operation: 55-24=31, Resulting Numbers: [94, 31]\nGenerated Node #0,5,1: 86:[94, 31] Operation: 55-24=31\nMoving to Node #0,5,1\nCurrent State: 86:[94, 31], Operations: ['60-36=24', '55-24=31']\nExploring Operation: 94-31=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 86:[94, 31], Operations: ['60-36=24', '55-24=31']\nExploring Operation: 94+31=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 86:[94, 55, 24], Operations: ['60-36=24']\nExploring Operation: 94-55=39, Resulting Numbers: [24, 39]\nGenerated Node #0,5,2: 86:[24, 39] Operation: 94-55=39\nMoving to Node #0,5,2\nCurrent State: 86:[24, 39], Operations: ['60-36=24', '94-55=39']\nExploring Operation: 39-24=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 86:[24, 39], Operations: ['60-36=24', '94-55=39']\nExploring Operation: 24+39=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 86:[94, 55, 24], Operations: ['60-36=24']\nExploring Operation: 94-24=70, Resulting Numbers: [55, 70]\nGenerated Node #0,5,3: 86:[55, 70] Operation: 94-24=70\nMoving to Node #0,5,3\nCurrent State: 86:[55, 70], Operations: ['60-36=24', '94-24=70']\nExploring Operation: 70-55=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 86:[55, 70], Operations: ['60-36=24', '94-24=70']\nExploring Operation: 55+70=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 86:[94, 55, 24], Operations: ['60-36=24']\nExploring Operation: 94+24=118, Resulting Numbers: [55, 118]\nGenerated Node #0,5,4: 86:[55, 118] Operation: 94+24=118\nMoving to Node #0,5,4\nCurrent State: 86:[55, 118], Operations: ['60-36=24', '94+24=118']\nExploring Operation: 118-55=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 86:[94, 55, 24], Operations: ['60-36=24']\nExploring Operation: 94+55=149, Resulting Numbers: [24, 149]\nGenerated Node #0,5,5: 86:[24, 149] Operation: 94+55=149\nMoving to Node #0,5,5\nCurrent State: 86:[24, 149], Operations: ['60-36=24', '94+55=149']\nExploring Operation: 149-24=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 55-36=19, Resulting Numbers: [60, 94, 19]\nGenerated Node #0,6: 86:[60, 94, 19] Operation: 55-36=19\nMoving to Node #0,6\nCurrent State: 86:[60, 94, 19], Operations: ['55-36=19']\nExploring Operation: 60-19=41, Resulting Numbers: [94, 41]\nGenerated Node #0,6,0: 86:[94, 41] Operation: 60-19=41\nMoving to Node #0,6,0\nCurrent State: 86:[94, 41], Operations: ['55-36=19', '60-19=41']\nExploring Operation: 94-41=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 86:[94, 41], Operations: ['55-36=19', '60-19=41']\nExploring Operation: 94+41=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[60, 94, 19], Operations: ['55-36=19']\nExploring Operation: 60+19=79, Resulting Numbers: [94, 79]\nGenerated Node #0,6,1: 86:[94, 79] Operation: 60+19=79\nMoving to Node #0,6,1\nCurrent State: 86:[94, 79], Operations: ['55-36=19', '60+19=79']\nExploring Operation: 94-79=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[60, 94, 19], Operations: ['55-36=19']\nExploring Operation: 94-60=34, Resulting Numbers: [19, 34]\nGenerated Node #0,6,2: 86:[19, 34] Operation: 94-60=34\nMoving to Node #0,6,2\nCurrent State: 86:[19, 34], Operations: ['55-36=19', '94-60=34']\nExploring Operation: 19+34=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 86:[19, 34], Operations: ['55-36=19', '94-60=34']\nExploring Operation: 34-19=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[60, 94, 19], Operations: ['55-36=19']\nExploring Operation: 94-19=75, Resulting Numbers: [60, 75]\nGenerated Node #0,6,3: 86:[60, 75] Operation: 94-19=75\nMoving to Node #0,6,3\nCurrent State: 86:[60, 75], Operations: ['55-36=19', '94-19=75']\nExploring Operation: 75-60=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 86:[60, 75], Operations: ['55-36=19', '94-19=75']\nExploring Operation: 60+75=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[60, 94, 19], Operations: ['55-36=19']\nExploring Operation: 94+19=113, Resulting Numbers: [60, 113]\nGenerated Node #0,6,4: 86:[60, 113] Operation: 94+19=113\nMoving to Node #0,6,4\nCurrent State: 86:[60, 113], Operations: ['55-36=19', '94+19=113']\nExploring Operation: 113-60=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 86:[60, 94, 19], Operations: ['55-36=19']\nExploring Operation: 60+94=154, Resulting Numbers: [19, 154]\nGenerated Node #0,6,5: 86:[19, 154] Operation: 60+94=154\nMoving to Node #0,6,5\nCurrent State: 86:[19, 154], Operations: ['55-36=19', '60+94=154']\nExploring Operation: 154-19=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 94-36=58, Resulting Numbers: [60, 55, 58]\nGenerated Node #0,7: 86:[60, 55, 58] Operation: 94-36=58\nMoving to Node #0,7\nCurrent State: 86:[60, 55, 58], Operations: ['94-36=58']\nExploring Operation: 60-58=2, Resulting Numbers: [55, 2]\nGenerated Node #0,7,0: 86:[55, 2] Operation: 60-58=2\nMoving to Node #0,7,0\nCurrent State: 86:[55, 2], Operations: ['94-36=58', '60-58=2']\nExploring Operation: 55-2=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 86:[55, 2], Operations: ['94-36=58', '60-58=2']\nExploring Operation: 55+2=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 86:[55, 2], Operations: ['94-36=58', '60-58=2']\nExploring Operation: 55*2=110, Resulting Numbers: [110]\n110,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[60, 55, 58], Operations: ['94-36=58']\nExploring Operation: 60-55=5, Resulting Numbers: [58, 5]\nGenerated Node #0,7,1: 86:[58, 5] Operation: 60-55=5\nMoving to Node #0,7,1\nCurrent State: 86:[58, 5], Operations: ['94-36=58', '60-55=5']\nExploring Operation: 58-5=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 86:[58, 5], Operations: ['94-36=58', '60-55=5']\nExploring Operation: 58+5=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[60, 55, 58], Operations: ['94-36=58']\nExploring Operation: 58-55=3, Resulting Numbers: [60, 3]\nGenerated Node #0,7,2: 86:[60, 3] Operation: 58-55=3\nMoving to Node #0,7,2\nCurrent State: 86:[60, 3], Operations: ['94-36=58', '58-55=3']\nExploring Operation: 60-3=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 86:[60, 3], Operations: ['94-36=58', '58-55=3']\nExploring Operation: 60/3=20, Resulting Numbers: [20]\n20,86 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 86:[60, 3], Operations: ['94-36=58', '58-55=3']\nExploring Operation: 60+3=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[60, 55, 58], Operations: ['94-36=58']\nExploring Operation: 60+55=115, Resulting Numbers: [58, 115]\nGenerated Node #0,7,3: 86:[58, 115] Operation: 60+55=115\nMoving to Node #0,7,3\nCurrent State: 86:[58, 115], Operations: ['94-36=58', '60+55=115']\nExploring Operation: 115-58=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[60, 55, 58], Operations: ['94-36=58']\nExploring Operation: 60+58=118, Resulting Numbers: [55, 118]\nGenerated Node #0,7,4: 86:[55, 118] Operation: 60+58=118\nMoving to Node #0,7,4\nCurrent State: 86:[55, 118], Operations: ['94-36=58', '60+58=118']\nExploring Operation: 118-55=63, Resulting Numbers: [63]\n63,86 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 86:[60, 55, 58], Operations: ['94-36=58']\nExploring Operation: 55+58=113, Resulting Numbers: [60, 113]\nGenerated Node #0,7,5: 86:[60, 113] Operation: 55+58=113\nMoving to Node #0,7,5\nCurrent State: 86:[60, 113], Operations: ['94-36=58', '55+58=113']\nExploring Operation: 113-60=53, Resulting Numbers: [53]\n53,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 60+55=115, Resulting Numbers: [36, 94, 115]\nGenerated Node #0,8: 86:[36, 94, 115] Operation: 60+55=115\nMoving to Node #0,8\nCurrent State: 86:[36, 94, 115], Operations: ['60+55=115']\nExploring Operation: 115-36=79, Resulting Numbers: [94, 79]\nGenerated Node #0,8,0: 86:[94, 79] Operation: 115-36=79\nMoving to Node #0,8,0\nCurrent State: 86:[94, 79], Operations: ['60+55=115', '115-36=79']\nExploring Operation: 94-79=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 86:[36, 94, 115], Operations: ['60+55=115']\nExploring Operation: 115-94=21, Resulting Numbers: [36, 21]\nGenerated Node #0,8,1: 86:[36, 21] Operation: 115-94=21\nMoving to Node #0,8,1\nCurrent State: 86:[36, 21], Operations: ['60+55=115', '115-94=21']\nExploring Operation: 36-21=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 86:[36, 21], Operations: ['60+55=115', '115-94=21']\nExploring Operation: 36+21=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 86:[36, 94, 115], Operations: ['60+55=115']\nExploring Operation: 94-36=58, Resulting Numbers: [115, 58]\nGenerated Node #0,8,2: 86:[115, 58] Operation: 94-36=58\nMoving to Node #0,8,2\nCurrent State: 86:[115, 58], Operations: ['60+55=115', '94-36=58']\nExploring Operation: 115-58=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 86:[36, 94, 115], Operations: ['60+55=115']\nExploring Operation: 36+94=130, Resulting Numbers: [115, 130]\nGenerated Node #0,8,3: 86:[115, 130] Operation: 36+94=130\nMoving to Node #0,8,3\nCurrent State: 86:[115, 130], Operations: ['60+55=115', '36+94=130']\nExploring Operation: 130-115=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 86:[36, 94, 115], Operations: ['60+55=115']\nExploring Operation: 36+115=151, Resulting Numbers: [94, 151]\nGenerated Node #0,8,4: 86:[94, 151] Operation: 36+115=151\nMoving to Node #0,8,4\nCurrent State: 86:[94, 151], Operations: ['60+55=115', '36+115=151']\nExploring Operation: 151-94=57, Resulting Numbers: [57]\n57,86 unequal: No Solution\nMoving to Node #0\nCurrent State: 86:[36, 60, 94, 55], Operations: []\nExploring Operation: 36+94=130, Resulting Numbers: [60, 55, 130]\nGenerated Node #0,9: 86:[60, 55, 130] Operation: 36+94=130\nMoving to Node #0,9\nCurrent State: 86:[60, 55, 130], Operations: ['36+94=130']\nExploring Operation: 130-60=70, Resulting Numbers: [55, 70]\nGenerated Node #0,9,0: 86:[55, 70] Operation: 130-60=70\nMoving to Node #0,9,0\nCurrent State: 86:[55, 70], Operations: ['36+94=130', '130-60=70']\nExploring Operation: 70-55=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 86:[55, 70], Operations: ['36+94=130', '130-60=70']\nExploring Operation: 55+70=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 86:[60, 55, 130], Operations: ['36+94=130']\nExploring Operation: 130-55=75, Resulting Numbers: [60, 75]\nGenerated Node #0,9,1: 86:[60, 75] Operation: 130-55=75\nMoving to Node #0,9,1\nCurrent State: 86:[60, 75], Operations: ['36+94=130', '130-55=75']\nExploring Operation: 75-60=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 86:[60, 75], Operations: ['36+94=130', '130-55=75']\nExploring Operation: 60+75=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 86:[60, 55, 130], Operations: ['36+94=130']\nExploring Operation: 60-55=5, Resulting Numbers: [130, 5]\nGenerated Node #0,9,2: 86:[130, 5] Operation: 60-55=5\nMoving to Node #0,9,2\nCurrent State: 86:[130, 5], Operations: ['36+94=130', '60-55=5']\nExploring Operation: 130/5=26, Resulting Numbers: [26]\n26,86 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 86:[130, 5], Operations: ['36+94=130', '60-55=5']\nExploring Operation: 130-5=125, Resulting Numbers: [125]\n125,86 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 86:[130, 5], Operations: ['36+94=130', '60-55=5']\nExploring Operation: 130+5=135, Resulting Numbers: [135]\n135,86 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 86:[60, 55, 130], Operations: ['36+94=130']\nExploring Operation: 60+55=115, Resulting Numbers: [130, 115]\nGenerated Node #0,9,3: 86:[130, 115] Operation: 60+55=115\nMoving to Node #0,9,3\nCurrent State: 86:[130, 115], Operations: ['36+94=130', '60+55=115']\nExploring Operation: 130-115=15, Resulting Numbers: [15]\n15,86 unequal: No Solution\n", "role": "assistant" } ]
[ 66, 64, 10, 4 ]
45
[ "66+10=76", "76/4=19", "64-19=45" ]
Current State: 45:[66, 64, 10, 4], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [66, 10, 16] Generated Node #0,0: 45:[66, 10, 16] Operation: 64/4=16 Exploring Operation: 66-10=56, Resulting Numbers: [64, 4, 56] Generated Node #0,1: 45:[64, 4, 56] Operation: 66-10=56 Exploring Operation: 66-64=2, Resulting Numbers: [10, 4, 2] Generated Node #0,2: 45:[10, 4, 2] Operation: 66-64=2 Moving to Node #0,2 Current State: 45:[10, 4, 2], Operations: ['66-64=2'] Exploring Operation: 10/2=5, Resulting Numbers: [4, 5] Generated Node #0,2,0: 45:[4, 5] Operation: 10/2=5 Exploring Operation: 10+4=14, Resulting Numbers: [2, 14] Generated Node #0,2,1: 45:[2, 14] Operation: 10+4=14 Exploring Operation: 10-4=6, Resulting Numbers: [2, 6] Generated Node #0,2,2: 45:[2, 6] Operation: 10-4=6 Moving to Node #0,0 Current State: 45:[66, 10, 16], Operations: ['64/4=16'] Exploring Operation: 66-10=56, Resulting Numbers: [16, 56] Generated Node #0,0,0: 45:[16, 56] Operation: 66-10=56 Exploring Operation: 16-10=6, Resulting Numbers: [66, 6] Generated Node #0,0,1: 45:[66, 6] Operation: 16-10=6 Exploring Operation: 66-16=50, Resulting Numbers: [10, 50] Generated Node #0,0,2: 45:[10, 50] Operation: 66-16=50 Moving to Node #0,1 Current State: 45:[64, 4, 56], Operations: ['66-10=56'] Exploring Operation: 64-56=8, Resulting Numbers: [4, 8] Generated Node #0,1,0: 45:[4, 8] Operation: 64-56=8 Exploring Operation: 56/4=14, Resulting Numbers: [64, 14] Generated Node #0,1,1: 45:[64, 14] Operation: 56/4=14 Exploring Operation: 64/4=16, Resulting Numbers: [56, 16] Generated Node #0,1,2: 45:[56, 16] Operation: 64/4=16 Moving to Node #0,2,0 Current State: 45:[4, 5], Operations: ['66-64=2', '10/2=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[2, 6], Operations: ['66-64=2', '10-4=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[4, 8], Operations: ['66-10=56', '64-56=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,45 unequal: No Solution Moving to Node #0,2,0,0 Current State: 45:[9], Operations: ['66-64=2', '10/2=5', '4+5=9'] Moving to Node #0,2,2,0 Current State: 45:[3], Operations: ['66-64=2', '10-4=6', '6/2=3'] Moving to Node #0,2,2,0 Current State: 45:[8], Operations: ['66-64=2', '10-4=6', '2+6=8'] Moving to Node #0,1,0,0 Current State: 45:[4], Operations: ['66-10=56', '64-56=8', '8-4=4'] Moving to Node #0,1,0,0 Current State: 45:[2], Operations: ['66-10=56', '64-56=8', '8/4=2'] Moving to Node #0,2,2,0 Current State: 45:[4], Operations: ['66-64=2', '10-4=6', '6-2=4'] Moving to Node #0,2,1 Current State: 45:[2, 14], Operations: ['66-64=2', '10+4=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,45 unequal: No Solution Moving to Node #0,2,0,0 Current State: 45:[1], Operations: ['66-64=2', '10/2=5', '5-4=1'] Moving to Node #0,1,0,0 Current State: 45:[12], Operations: ['66-10=56', '64-56=8', '4+8=12'] Moving to Node #0,2,1,0 Current State: 45:[16], Operations: ['66-64=2', '10+4=14', '2+14=16'] Moving to Node #0,2,1,0 Current State: 45:[7], Operations: ['66-64=2', '10+4=14', '14/2=7'] Moving to Node #0,2,1,0 Current State: 45:[12], Operations: ['66-64=2', '10+4=14', '14-2=12'] Moving to Node #0,2,0,0 Current State: 45:[20], Operations: ['66-64=2', '10/2=5', '4*5=20'] Moving to Node #0,0,2 Current State: 45:[10, 50], Operations: ['64/4=16', '66-16=50'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[56, 16], Operations: ['66-10=56', '64/4=16'] Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,45 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,45 unequal: No Solution Moving to Node #0,0,2,0 Current State: 45:[5], Operations: ['64/4=16', '66-16=50', '50/10=5'] Moving to Node #0,1,2,0 Current State: 45:[40], Operations: ['66-10=56', '64/4=16', '56-16=40'] Moving to Node #0,0,2,0 Current State: 45:[40], Operations: ['64/4=16', '66-16=50', '50-10=40'] Moving to Node #0,0,0 Current State: 45:[16, 56], Operations: ['64/4=16', '66-10=56'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 16+56=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 16*56=896, Resulting Numbers: [896] 896,45 unequal: No Solution Moving to Node #0,0,2,0 Current State: 45:[60], Operations: ['64/4=16', '66-16=50', '10+50=60'] Moving to Node #0,1,1 Current State: 45:[64, 14], Operations: ['66-10=56', '56/4=14'] Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,45 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,45 unequal: No Solution Moving to Node #0,0,0,0 Current State: 45:[40], Operations: ['64/4=16', '66-10=56', '56-16=40'] Moving to Node #0,1,1,0 Current State: 45:[50], Operations: ['66-10=56', '56/4=14', '64-14=50'] Moving to Node #0,0,1 Current State: 45:[66, 6], Operations: ['64/4=16', '16-10=6'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,45 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,45 unequal: No Solution Moving to Node #0,0,1,0 Current State: 45:[11], Operations: ['64/4=16', '16-10=6', '66/6=11'] Moving to Node #0,0,1,0 Current State: 45:[60], Operations: ['64/4=16', '16-10=6', '66-6=60'] Moving to Node #0,0,0,0 Current State: 45:[72], Operations: ['64/4=16', '66-10=56', '16+56=72'] Moving to Node #0,1,2,0 Current State: 45:[72], Operations: ['66-10=56', '64/4=16', '56+16=72'] Moving to Node #0,0,1,0 Current State: 45:[72], Operations: ['64/4=16', '16-10=6', '66+6=72'] Moving to Node #0,1,1,0 Current State: 45:[78], Operations: ['66-10=56', '56/4=14', '64+14=78'] Moving to Node #0,1,2,0 Current State: 45:[896], Operations: ['66-10=56', '64/4=16', '56*16=896'] Moving to Node #0,1,1,0 Current State: 45:[896], Operations: ['66-10=56', '56/4=14', '64*14=896'] Moving to Node #0,0,0,0 Current State: 45:[896], Operations: ['64/4=16', '66-10=56', '16*56=896'] No solution found.
0
bfs_3
Current State: 45:[66, 64, 10, 4], Operations: [] Exploring Operation: 66+10=76, Resulting Numbers: [64, 4, 76] Generated Node #2: [64, 4, 76] from Operation: 66+10=76 Current State: 45:[64, 4, 76], Operations: ['66+10=76'] Exploring Operation: 76/4=19, Resulting Numbers: [64, 19] Generated Node #3: [64, 19] from Operation: 76/4=19 Current State: 45:[64, 19], Operations: ['66+10=76', '76/4=19'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
mult_heuristic
[ { "content": "Make 45 with the numbers [66, 64, 10, 4] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 45:[66, 64, 10, 4], Operations: []\nExploring Operation: 64/4=16, Resulting Numbers: [66, 10, 16]\nGenerated Node #0,0: 45:[66, 10, 16] Operation: 64/4=16\nExploring Operation: 66-10=56, Resulting Numbers: [64, 4, 56]\nGenerated Node #0,1: 45:[64, 4, 56] Operation: 66-10=56\nExploring Operation: 66-64=2, Resulting Numbers: [10, 4, 2]\nGenerated Node #0,2: 45:[10, 4, 2] Operation: 66-64=2\nMoving to Node #0,2\nCurrent State: 45:[10, 4, 2], Operations: ['66-64=2']\nExploring Operation: 10/2=5, Resulting Numbers: [4, 5]\nGenerated Node #0,2,0: 45:[4, 5] Operation: 10/2=5\nExploring Operation: 10+4=14, Resulting Numbers: [2, 14]\nGenerated Node #0,2,1: 45:[2, 14] Operation: 10+4=14\nExploring Operation: 10-4=6, Resulting Numbers: [2, 6]\nGenerated Node #0,2,2: 45:[2, 6] Operation: 10-4=6\nMoving to Node #0,0\nCurrent State: 45:[66, 10, 16], Operations: ['64/4=16']\nExploring Operation: 66-10=56, Resulting Numbers: [16, 56]\nGenerated Node #0,0,0: 45:[16, 56] Operation: 66-10=56\nExploring Operation: 16-10=6, Resulting Numbers: [66, 6]\nGenerated Node #0,0,1: 45:[66, 6] Operation: 16-10=6\nExploring Operation: 66-16=50, Resulting Numbers: [10, 50]\nGenerated Node #0,0,2: 45:[10, 50] Operation: 66-16=50\nMoving to Node #0,1\nCurrent State: 45:[64, 4, 56], Operations: ['66-10=56']\nExploring Operation: 64-56=8, Resulting Numbers: [4, 8]\nGenerated Node #0,1,0: 45:[4, 8] Operation: 64-56=8\nExploring Operation: 56/4=14, Resulting Numbers: [64, 14]\nGenerated Node #0,1,1: 45:[64, 14] Operation: 56/4=14\nExploring Operation: 64/4=16, Resulting Numbers: [56, 16]\nGenerated Node #0,1,2: 45:[56, 16] Operation: 64/4=16\nMoving to Node #0,2,0\nCurrent State: 45:[4, 5], Operations: ['66-64=2', '10/2=5']\nExploring Operation: 5-4=1, Resulting Numbers: [1]\n1,45 unequal: No Solution\nExploring Operation: 4+5=9, Resulting Numbers: [9]\n9,45 unequal: No Solution\nExploring Operation: 4*5=20, Resulting Numbers: [20]\n20,45 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 45:[2, 6], Operations: ['66-64=2', '10-4=6']\nExploring Operation: 6/2=3, Resulting Numbers: [3]\n3,45 unequal: No Solution\nExploring Operation: 6-2=4, Resulting Numbers: [4]\n4,45 unequal: No Solution\nExploring Operation: 2+6=8, Resulting Numbers: [8]\n8,45 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 45:[4, 8], Operations: ['66-10=56', '64-56=8']\nExploring Operation: 8/4=2, Resulting Numbers: [2]\n2,45 unequal: No Solution\nExploring Operation: 8-4=4, Resulting Numbers: [4]\n4,45 unequal: No Solution\nExploring Operation: 4+8=12, Resulting Numbers: [12]\n12,45 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 45:[9], Operations: ['66-64=2', '10/2=5', '4+5=9']\nMoving to Node #0,2,2,0\nCurrent State: 45:[3], Operations: ['66-64=2', '10-4=6', '6/2=3']\nMoving to Node #0,2,2,0\nCurrent State: 45:[8], Operations: ['66-64=2', '10-4=6', '2+6=8']\nMoving to Node #0,1,0,0\nCurrent State: 45:[4], Operations: ['66-10=56', '64-56=8', '8-4=4']\nMoving to Node #0,1,0,0\nCurrent State: 45:[2], Operations: ['66-10=56', '64-56=8', '8/4=2']\nMoving to Node #0,2,2,0\nCurrent State: 45:[4], Operations: ['66-64=2', '10-4=6', '6-2=4']\nMoving to Node #0,2,1\nCurrent State: 45:[2, 14], Operations: ['66-64=2', '10+4=14']\nExploring Operation: 14-2=12, Resulting Numbers: [12]\n12,45 unequal: No Solution\nExploring Operation: 2+14=16, Resulting Numbers: [16]\n16,45 unequal: No Solution\nExploring Operation: 14/2=7, Resulting Numbers: [7]\n7,45 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 45:[1], Operations: ['66-64=2', '10/2=5', '5-4=1']\nMoving to Node #0,1,0,0\nCurrent State: 45:[12], Operations: ['66-10=56', '64-56=8', '4+8=12']\nMoving to Node #0,2,1,0\nCurrent State: 45:[16], Operations: ['66-64=2', '10+4=14', '2+14=16']\nMoving to Node #0,2,1,0\nCurrent State: 45:[7], Operations: ['66-64=2', '10+4=14', '14/2=7']\nMoving to Node #0,2,1,0\nCurrent State: 45:[12], Operations: ['66-64=2', '10+4=14', '14-2=12']\nMoving to Node #0,2,0,0\nCurrent State: 45:[20], Operations: ['66-64=2', '10/2=5', '4*5=20']\nMoving to Node #0,0,2\nCurrent State: 45:[10, 50], Operations: ['64/4=16', '66-16=50']\nExploring Operation: 50-10=40, Resulting Numbers: [40]\n40,45 unequal: No Solution\nExploring Operation: 50/10=5, Resulting Numbers: [5]\n5,45 unequal: No Solution\nExploring Operation: 10+50=60, Resulting Numbers: [60]\n60,45 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 45:[56, 16], Operations: ['66-10=56', '64/4=16']\nExploring Operation: 56*16=896, Resulting Numbers: [896]\n896,45 unequal: No Solution\nExploring Operation: 56-16=40, Resulting Numbers: [40]\n40,45 unequal: No Solution\nExploring Operation: 56+16=72, Resulting Numbers: [72]\n72,45 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 45:[5], Operations: ['64/4=16', '66-16=50', '50/10=5']\nMoving to Node #0,1,2,0\nCurrent State: 45:[40], Operations: ['66-10=56', '64/4=16', '56-16=40']\nMoving to Node #0,0,2,0\nCurrent State: 45:[40], Operations: ['64/4=16', '66-16=50', '50-10=40']\nMoving to Node #0,0,0\nCurrent State: 45:[16, 56], Operations: ['64/4=16', '66-10=56']\nExploring Operation: 56-16=40, Resulting Numbers: [40]\n40,45 unequal: No Solution\nExploring Operation: 16+56=72, Resulting Numbers: [72]\n72,45 unequal: No Solution\nExploring Operation: 16*56=896, Resulting Numbers: [896]\n896,45 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 45:[60], Operations: ['64/4=16', '66-16=50', '10+50=60']\nMoving to Node #0,1,1\nCurrent State: 45:[64, 14], Operations: ['66-10=56', '56/4=14']\nExploring Operation: 64*14=896, Resulting Numbers: [896]\n896,45 unequal: No Solution\nExploring Operation: 64-14=50, Resulting Numbers: [50]\n50,45 unequal: No Solution\nExploring Operation: 64+14=78, Resulting Numbers: [78]\n78,45 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 45:[40], Operations: ['64/4=16', '66-10=56', '56-16=40']\nMoving to Node #0,1,1,0\nCurrent State: 45:[50], Operations: ['66-10=56', '56/4=14', '64-14=50']\nMoving to Node #0,0,1\nCurrent State: 45:[66, 6], Operations: ['64/4=16', '16-10=6']\nExploring Operation: 66-6=60, Resulting Numbers: [60]\n60,45 unequal: No Solution\nExploring Operation: 66/6=11, Resulting Numbers: [11]\n11,45 unequal: No Solution\nExploring Operation: 66+6=72, Resulting Numbers: [72]\n72,45 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 45:[11], Operations: ['64/4=16', '16-10=6', '66/6=11']\nMoving to Node #0,0,1,0\nCurrent State: 45:[60], Operations: ['64/4=16', '16-10=6', '66-6=60']\nMoving to Node #0,0,0,0\nCurrent State: 45:[72], Operations: ['64/4=16', '66-10=56', '16+56=72']\nMoving to Node #0,1,2,0\nCurrent State: 45:[72], Operations: ['66-10=56', '64/4=16', '56+16=72']\nMoving to Node #0,0,1,0\nCurrent State: 45:[72], Operations: ['64/4=16', '16-10=6', '66+6=72']\nMoving to Node #0,1,1,0\nCurrent State: 45:[78], Operations: ['66-10=56', '56/4=14', '64+14=78']\nMoving to Node #0,1,2,0\nCurrent State: 45:[896], Operations: ['66-10=56', '64/4=16', '56*16=896']\nMoving to Node #0,1,1,0\nCurrent State: 45:[896], Operations: ['66-10=56', '56/4=14', '64*14=896']\nMoving to Node #0,0,0,0\nCurrent State: 45:[896], Operations: ['64/4=16', '66-10=56', '16*56=896']\nNo solution found.", "role": "assistant" } ]
[ 17, 97, 66, 91 ]
77
[ "97-17=80", "66+91=157", "157-80=77" ]
Current State: 77:[17, 97, 66, 91], Operations: [] Exploring Operation: 97-17=80, Resulting Numbers: [66, 91, 80] Generated Node #0,0: 77:[66, 91, 80] Operation: 97-17=80 Moving to Node #0,0 Current State: 77:[66, 91, 80], Operations: ['97-17=80'] Exploring Operation: 91-66=25, Resulting Numbers: [80, 25] Generated Node #0,0,0: 77:[80, 25] Operation: 91-66=25 Moving to Node #0,0,0 Current State: 77:[80, 25], Operations: ['97-17=80', '91-66=25'] Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,77 unequal: No Solution Moving to Node #0,0,0,0 Current State: 77:[55], Operations: ['97-17=80', '91-66=25', '80-25=55'] No solution found.
0
bfs_1
Current State: 77:[17, 97, 66, 91], Operations: [] Exploring Operation: 97-17=80, Resulting Numbers: [66, 91, 80] Generated Node #2: [66, 91, 80] from Operation: 97-17=80 Current State: 77:[66, 91, 80], Operations: ['97-17=80'] Exploring Operation: 66+91=157, Resulting Numbers: [80, 157] Generated Node #3: [80, 157] from Operation: 66+91=157 Current State: 77:[80, 157], Operations: ['97-17=80', '66+91=157'] Exploring Operation: 157-80=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
sum_heuristic
[ { "content": "Make 77 with the numbers [17, 97, 66, 91] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 77:[17, 97, 66, 91], Operations: []\nExploring Operation: 97-17=80, Resulting Numbers: [66, 91, 80]\nGenerated Node #0,0: 77:[66, 91, 80] Operation: 97-17=80\nMoving to Node #0,0\nCurrent State: 77:[66, 91, 80], Operations: ['97-17=80']\nExploring Operation: 91-66=25, Resulting Numbers: [80, 25]\nGenerated Node #0,0,0: 77:[80, 25] Operation: 91-66=25\nMoving to Node #0,0,0\nCurrent State: 77:[80, 25], Operations: ['97-17=80', '91-66=25']\nExploring Operation: 80-25=55, Resulting Numbers: [55]\n55,77 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 77:[55], Operations: ['97-17=80', '91-66=25', '80-25=55']\nNo solution found.", "role": "assistant" } ]
[ 10, 24, 14, 24 ]
44
[ "10+24=34", "24-14=10", "34+10=44" ]
Current State: 44:[10, 24, 14, 24], Operations: [] Exploring Operation: 10+24=34, Resulting Numbers: [14, 24, 34] Generated Node #0,0: 44:[14, 24, 34] Operation: 10+24=34 Moving to Node #0,0 Current State: 44:[14, 24, 34], Operations: ['10+24=34'] Exploring Operation: 14+24=38, Resulting Numbers: [34, 38] Generated Node #0,0,0: 44:[34, 38] Operation: 14+24=38 Moving to Node #0,0,0 Current State: 44:[34, 38], Operations: ['10+24=34', '14+24=38'] Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[34, 38], Operations: ['10+24=34', '14+24=38'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,44 unequal: No Solution Moving to Node #0,0 Current State: 44:[14, 24, 34], Operations: ['10+24=34'] Exploring Operation: 14+34=48, Resulting Numbers: [24, 48] Generated Node #0,0,1: 44:[24, 48] Operation: 14+34=48 Moving to Node #0,0,1 Current State: 44:[24, 48], Operations: ['10+24=34', '14+34=48'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[24, 48], Operations: ['10+24=34', '14+34=48'] Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[24, 48], Operations: ['10+24=34', '14+34=48'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,0 Current State: 44:[14, 24, 34], Operations: ['10+24=34'] Exploring Operation: 24-14=10, Resulting Numbers: [34, 10] Generated Node #0,0,2: 44:[34, 10] Operation: 24-14=10 Moving to Node #0,0,2 Current State: 44:[34, 10], Operations: ['10+24=34', '24-14=10'] Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.990451
dfs
Current State: 44:[10, 24, 14, 24], Operations: [] Exploring Operation: 10+24=34, Resulting Numbers: [14, 34] Generated Node #2: [14, 34] from Operation: 10+24=34 Current State: 44:[14, 34], Operations: ['10+24=34'] Exploring Operation: 24-14=10, Resulting Numbers: [34, 10] Generated Node #3: [34, 10] from Operation: 24-14=10 Current State: 44:[34, 10], Operations: ['10+24=34', '24-14=10'] Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
sum_heuristic
[ { "content": "Make 44 with the numbers [10, 24, 14, 24] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 44:[10, 24, 14, 24], Operations: []\nExploring Operation: 10+24=34, Resulting Numbers: [14, 24, 34]\nGenerated Node #0,0: 44:[14, 24, 34] Operation: 10+24=34\nMoving to Node #0,0\nCurrent State: 44:[14, 24, 34], Operations: ['10+24=34']\nExploring Operation: 14+24=38, Resulting Numbers: [34, 38]\nGenerated Node #0,0,0: 44:[34, 38] Operation: 14+24=38\nMoving to Node #0,0,0\nCurrent State: 44:[34, 38], Operations: ['10+24=34', '14+24=38']\nExploring Operation: 34+38=72, Resulting Numbers: [72]\n72,44 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 44:[34, 38], Operations: ['10+24=34', '14+24=38']\nExploring Operation: 38-34=4, Resulting Numbers: [4]\n4,44 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 44:[14, 24, 34], Operations: ['10+24=34']\nExploring Operation: 14+34=48, Resulting Numbers: [24, 48]\nGenerated Node #0,0,1: 44:[24, 48] Operation: 14+34=48\nMoving to Node #0,0,1\nCurrent State: 44:[24, 48], Operations: ['10+24=34', '14+34=48']\nExploring Operation: 48-24=24, Resulting Numbers: [24]\n24,44 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 44:[24, 48], Operations: ['10+24=34', '14+34=48']\nExploring Operation: 24+48=72, Resulting Numbers: [72]\n72,44 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 44:[24, 48], Operations: ['10+24=34', '14+34=48']\nExploring Operation: 48/24=2, Resulting Numbers: [2]\n2,44 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 44:[14, 24, 34], Operations: ['10+24=34']\nExploring Operation: 24-14=10, Resulting Numbers: [34, 10]\nGenerated Node #0,0,2: 44:[34, 10] Operation: 24-14=10\nMoving to Node #0,0,2\nCurrent State: 44:[34, 10], Operations: ['10+24=34', '24-14=10']\nExploring Operation: 34+10=44, Resulting Numbers: [44]\n44,44 equal: Goal Reached\n", "role": "assistant" } ]
[ 63, 57, 25, 51 ]
50
[ "63+51=114", "114/57=2", "25*2=50" ]
Current State: 50:[63, 57, 25, 51], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [25, 51, 6] Generated Node #0,0: 50:[25, 51, 6] Operation: 63-57=6 Exploring Operation: 63-25=38, Resulting Numbers: [57, 51, 38] Generated Node #0,1: 50:[57, 51, 38] Operation: 63-25=38 Exploring Operation: 57-51=6, Resulting Numbers: [63, 25, 6] Generated Node #0,2: 50:[63, 25, 6] Operation: 57-51=6 Exploring Operation: 63-51=12, Resulting Numbers: [57, 25, 12] Generated Node #0,3: 50:[57, 25, 12] Operation: 63-51=12 Moving to Node #0,0 Current State: 50:[25, 51, 6], Operations: ['63-57=6'] Exploring Operation: 25-6=19, Resulting Numbers: [51, 19] Generated Node #0,0,0: 50:[51, 19] Operation: 25-6=19 Exploring Operation: 25+6=31, Resulting Numbers: [51, 31] Generated Node #0,0,1: 50:[51, 31] Operation: 25+6=31 Exploring Operation: 51-25=26, Resulting Numbers: [6, 26] Generated Node #0,0,2: 50:[6, 26] Operation: 51-25=26 Exploring Operation: 51-6=45, Resulting Numbers: [25, 45] Generated Node #0,0,3: 50:[25, 45] Operation: 51-6=45 Moving to Node #0,3 Current State: 50:[57, 25, 12], Operations: ['63-51=12'] Exploring Operation: 57-25=32, Resulting Numbers: [12, 32] Generated Node #0,3,0: 50:[12, 32] Operation: 57-25=32 Exploring Operation: 25-12=13, Resulting Numbers: [57, 13] Generated Node #0,3,1: 50:[57, 13] Operation: 25-12=13 Exploring Operation: 57+12=69, Resulting Numbers: [25, 69] Generated Node #0,3,2: 50:[25, 69] Operation: 57+12=69 Exploring Operation: 57-12=45, Resulting Numbers: [25, 45] Generated Node #0,3,3: 50:[25, 45] Operation: 57-12=45 Moving to Node #0,2 Current State: 50:[63, 25, 6], Operations: ['57-51=6'] Exploring Operation: 63-25=38, Resulting Numbers: [6, 38] Generated Node #0,2,0: 50:[6, 38] Operation: 63-25=38 Exploring Operation: 63-6=57, Resulting Numbers: [25, 57] Generated Node #0,2,1: 50:[25, 57] Operation: 63-6=57 Exploring Operation: 25+6=31, Resulting Numbers: [63, 31] Generated Node #0,2,2: 50:[63, 31] Operation: 25+6=31 Exploring Operation: 63+6=69, Resulting Numbers: [25, 69] Generated Node #0,2,3: 50:[25, 69] Operation: 63+6=69 Moving to Node #0,1 Current State: 50:[57, 51, 38], Operations: ['63-25=38'] Exploring Operation: 57-51=6, Resulting Numbers: [38, 6] Generated Node #0,1,0: 50:[38, 6] Operation: 57-51=6 Exploring Operation: 57+38=95, Resulting Numbers: [51, 95] Generated Node #0,1,1: 50:[51, 95] Operation: 57+38=95 Exploring Operation: 51-38=13, Resulting Numbers: [57, 13] Generated Node #0,1,2: 50:[57, 13] Operation: 51-38=13 Exploring Operation: 57-38=19, Resulting Numbers: [51, 19] Generated Node #0,1,3: 50:[51, 19] Operation: 57-38=19 Moving to Node #0,0,2 Current State: 50:[6, 26], Operations: ['63-57=6', '51-25=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,50 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[25, 45], Operations: ['63-57=6', '51-6=45'] Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,50 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[25, 45], Operations: ['63-51=12', '57-12=45'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[51, 19], Operations: ['63-57=6', '25-6=19'] Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 51*19=969, Resulting Numbers: [969] 969,50 unequal: No Solution Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,50 unequal: No Solution Moving to Node #0,0,2,0 Current State: 50:[20], Operations: ['63-57=6', '51-25=26', '26-6=20'] Moving to Node #0,0,3,0 Current State: 50:[20], Operations: ['63-57=6', '51-6=45', '45-25=20'] Moving to Node #0,3,3,0 Current State: 50:[20], Operations: ['63-51=12', '57-12=45', '45-25=20'] Moving to Node #0,1,3 Current State: 50:[51, 19], Operations: ['63-25=38', '57-38=19'] Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 51*19=969, Resulting Numbers: [969] 969,50 unequal: No Solution Moving to Node #0,0,2,0 Current State: 50:[32], Operations: ['63-57=6', '51-25=26', '6+26=32'] Moving to Node #0,0,0,0 Current State: 50:[32], Operations: ['63-57=6', '25-6=19', '51-19=32'] Moving to Node #0,1,3,0 Current State: 50:[32], Operations: ['63-25=38', '57-38=19', '51-19=32'] Moving to Node #0,0,1 Current State: 50:[51, 31], Operations: ['63-57=6', '25+6=31'] Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 51*31=1581, Resulting Numbers: [1581] 1581,50 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,50 unequal: No Solution Moving to Node #0,0,1,0 Current State: 50:[20], Operations: ['63-57=6', '25+6=31', '51-31=20'] Moving to Node #0,2,1 Current State: 50:[25, 57], Operations: ['57-51=6', '63-6=57'] Exploring Operation: 25*57=1425, Resulting Numbers: [1425] 1425,50 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 25+57=82, Resulting Numbers: [82] 82,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[12, 32], Operations: ['63-51=12', '57-25=32'] Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,50 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[57, 13], Operations: ['63-51=12', '25-12=13'] Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,50 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,50 unequal: No Solution Moving to Node #0,3,0,0 Current State: 50:[20], Operations: ['63-51=12', '57-25=32', '32-12=20'] Moving to Node #0,3,1,0 Current State: 50:[44], Operations: ['63-51=12', '25-12=13', '57-13=44'] Moving to Node #0,3,0,0 Current State: 50:[44], Operations: ['63-51=12', '57-25=32', '12+32=44'] Moving to Node #0,2,1,0 Current State: 50:[32], Operations: ['57-51=6', '63-6=57', '57-25=32'] Moving to Node #0,1,2 Current State: 50:[57, 13], Operations: ['63-25=38', '51-38=13'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[6, 38], Operations: ['57-51=6', '63-25=38'] Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,50 unequal: No Solution Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[38, 6], Operations: ['63-25=38', '57-51=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[25, 69], Operations: ['57-51=6', '63+6=69'] Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 25+69=94, Resulting Numbers: [94] 94,50 unequal: No Solution Exploring Operation: 25*69=1725, Resulting Numbers: [1725] 1725,50 unequal: No Solution Moving to Node #0,1,2,0 Current State: 50:[44], Operations: ['63-25=38', '51-38=13', '57-13=44'] Moving to Node #0,1,0,0 Current State: 50:[44], Operations: ['63-25=38', '57-51=6', '38+6=44'] Moving to Node #0,2,3,0 Current State: 50:[44], Operations: ['57-51=6', '63+6=69', '69-25=44'] Moving to Node #0,2,0,0 Current State: 50:[44], Operations: ['57-51=6', '63-25=38', '6+38=44'] Moving to Node #0,2,0,0 Current State: 50:[32], Operations: ['57-51=6', '63-25=38', '38-6=32'] Moving to Node #0,1,0,0 Current State: 50:[32], Operations: ['63-25=38', '57-51=6', '38-6=32'] Moving to Node #0,2,2 Current State: 50:[63, 31], Operations: ['57-51=6', '25+6=31'] Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 63*31=1953, Resulting Numbers: [1953] 1953,50 unequal: No Solution Exploring Operation: 63+31=94, Resulting Numbers: [94] 94,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[25, 69], Operations: ['63-51=12', '57+12=69'] Exploring Operation: 25+69=94, Resulting Numbers: [94] 94,50 unequal: No Solution Exploring Operation: 25*69=1725, Resulting Numbers: [1725] 1725,50 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,50 unequal: No Solution Moving to Node #0,3,2,0 Current State: 50:[44], Operations: ['63-51=12', '57+12=69', '69-25=44'] Moving to Node #0,2,2,0 Current State: 50:[32], Operations: ['57-51=6', '25+6=31', '63-31=32'] Moving to Node #0,0,0,0 Current State: 50:[70], Operations: ['63-57=6', '25-6=19', '51+19=70'] Moving to Node #0,3,1,0 Current State: 50:[70], Operations: ['63-51=12', '25-12=13', '57+13=70'] Moving to Node #0,3,3,0 Current State: 50:[70], Operations: ['63-51=12', '57-12=45', '25+45=70'] Moving to Node #0,1,2,0 Current State: 50:[70], Operations: ['63-25=38', '51-38=13', '57+13=70'] Moving to Node #0,0,3,0 Current State: 50:[70], Operations: ['63-57=6', '51-6=45', '25+45=70'] Moving to Node #0,1,3,0 Current State: 50:[70], Operations: ['63-25=38', '57-38=19', '51+19=70'] Moving to Node #0,0,1,0 Current State: 50:[82], Operations: ['63-57=6', '25+6=31', '51+31=82'] Moving to Node #0,2,1,0 Current State: 50:[82], Operations: ['57-51=6', '63-6=57', '25+57=82'] Moving to Node #0,2,3,0 Current State: 50:[94], Operations: ['57-51=6', '63+6=69', '25+69=94'] Moving to Node #0,3,2,0 Current State: 50:[94], Operations: ['63-51=12', '57+12=69', '25+69=94'] Moving to Node #0,2,2,0 Current State: 50:[94], Operations: ['57-51=6', '25+6=31', '63+31=94'] Moving to Node #0,1,1 Current State: 50:[51, 95], Operations: ['63-25=38', '57+38=95'] Exploring Operation: 51+95=146, Resulting Numbers: [146] 146,50 unequal: No Solution Exploring Operation: 95-51=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 51*95=4845, Resulting Numbers: [4845] 4845,50 unequal: No Solution Moving to Node #0,0,2,0 Current State: 50:[156], Operations: ['63-57=6', '51-25=26', '6*26=156'] Moving to Node #0,1,0,0 Current State: 50:[228], Operations: ['63-25=38', '57-51=6', '38*6=228'] Moving to Node #0,1,1,0 Current State: 50:[44], Operations: ['63-25=38', '57+38=95', '95-51=44'] Moving to Node #0,1,1,0 Current State: 50:[146], Operations: ['63-25=38', '57+38=95', '51+95=146'] Moving to Node #0,2,0,0 Current State: 50:[228], Operations: ['57-51=6', '63-25=38', '6*38=228'] Moving to Node #0,3,0,0 Current State: 50:[384], Operations: ['63-51=12', '57-25=32', '12*32=384'] Moving to Node #0,1,2,0 Current State: 50:[741], Operations: ['63-25=38', '51-38=13', '57*13=741'] Moving to Node #0,3,1,0 Current State: 50:[741], Operations: ['63-51=12', '25-12=13', '57*13=741'] Moving to Node #0,0,0,0 Current State: 50:[969], Operations: ['63-57=6', '25-6=19', '51*19=969'] Moving to Node #0,1,3,0 Current State: 50:[969], Operations: ['63-25=38', '57-38=19', '51*19=969'] Moving to Node #0,0,3,0 Current State: 50:[1125], Operations: ['63-57=6', '51-6=45', '25*45=1125'] Moving to Node #0,3,3,0 Current State: 50:[1125], Operations: ['63-51=12', '57-12=45', '25*45=1125'] Moving to Node #0,2,1,0 Current State: 50:[1425], Operations: ['57-51=6', '63-6=57', '25*57=1425'] Moving to Node #0,0,1,0 Current State: 50:[1581], Operations: ['63-57=6', '25+6=31', '51*31=1581'] Moving to Node #0,2,3,0 Current State: 50:[1725], Operations: ['57-51=6', '63+6=69', '25*69=1725'] Moving to Node #0,3,2,0 Current State: 50:[1725], Operations: ['63-51=12', '57+12=69', '25*69=1725'] Moving to Node #0,2,2,0 Current State: 50:[1953], Operations: ['57-51=6', '25+6=31', '63*31=1953'] Moving to Node #0,1,1,0 Current State: 50:[4845], Operations: ['63-25=38', '57+38=95', '51*95=4845'] No solution found.
0
bfs_4
Current State: 50:[63, 57, 25, 51], Operations: [] Exploring Operation: 63+51=114, Resulting Numbers: [57, 25, 114] Generated Node #2: [57, 25, 114] from Operation: 63+51=114 Current State: 50:[57, 25, 114], Operations: ['63+51=114'] Exploring Operation: 114/57=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 114/57=2 Current State: 50:[25, 2], Operations: ['63+51=114', '114/57=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
mult_heuristic
[ { "content": "Make 50 with the numbers [63, 57, 25, 51] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 50:[63, 57, 25, 51], Operations: []\nExploring Operation: 63-57=6, Resulting Numbers: [25, 51, 6]\nGenerated Node #0,0: 50:[25, 51, 6] Operation: 63-57=6\nExploring Operation: 63-25=38, Resulting Numbers: [57, 51, 38]\nGenerated Node #0,1: 50:[57, 51, 38] Operation: 63-25=38\nExploring Operation: 57-51=6, Resulting Numbers: [63, 25, 6]\nGenerated Node #0,2: 50:[63, 25, 6] Operation: 57-51=6\nExploring Operation: 63-51=12, Resulting Numbers: [57, 25, 12]\nGenerated Node #0,3: 50:[57, 25, 12] Operation: 63-51=12\nMoving to Node #0,0\nCurrent State: 50:[25, 51, 6], Operations: ['63-57=6']\nExploring Operation: 25-6=19, Resulting Numbers: [51, 19]\nGenerated Node #0,0,0: 50:[51, 19] Operation: 25-6=19\nExploring Operation: 25+6=31, Resulting Numbers: [51, 31]\nGenerated Node #0,0,1: 50:[51, 31] Operation: 25+6=31\nExploring Operation: 51-25=26, Resulting Numbers: [6, 26]\nGenerated Node #0,0,2: 50:[6, 26] Operation: 51-25=26\nExploring Operation: 51-6=45, Resulting Numbers: [25, 45]\nGenerated Node #0,0,3: 50:[25, 45] Operation: 51-6=45\nMoving to Node #0,3\nCurrent State: 50:[57, 25, 12], Operations: ['63-51=12']\nExploring Operation: 57-25=32, Resulting Numbers: [12, 32]\nGenerated Node #0,3,0: 50:[12, 32] Operation: 57-25=32\nExploring Operation: 25-12=13, Resulting Numbers: [57, 13]\nGenerated Node #0,3,1: 50:[57, 13] Operation: 25-12=13\nExploring Operation: 57+12=69, Resulting Numbers: [25, 69]\nGenerated Node #0,3,2: 50:[25, 69] Operation: 57+12=69\nExploring Operation: 57-12=45, Resulting Numbers: [25, 45]\nGenerated Node #0,3,3: 50:[25, 45] Operation: 57-12=45\nMoving to Node #0,2\nCurrent State: 50:[63, 25, 6], Operations: ['57-51=6']\nExploring Operation: 63-25=38, Resulting Numbers: [6, 38]\nGenerated Node #0,2,0: 50:[6, 38] Operation: 63-25=38\nExploring Operation: 63-6=57, Resulting Numbers: [25, 57]\nGenerated Node #0,2,1: 50:[25, 57] Operation: 63-6=57\nExploring Operation: 25+6=31, Resulting Numbers: [63, 31]\nGenerated Node #0,2,2: 50:[63, 31] Operation: 25+6=31\nExploring Operation: 63+6=69, Resulting Numbers: [25, 69]\nGenerated Node #0,2,3: 50:[25, 69] Operation: 63+6=69\nMoving to Node #0,1\nCurrent State: 50:[57, 51, 38], Operations: ['63-25=38']\nExploring Operation: 57-51=6, Resulting Numbers: [38, 6]\nGenerated Node #0,1,0: 50:[38, 6] Operation: 57-51=6\nExploring Operation: 57+38=95, Resulting Numbers: [51, 95]\nGenerated Node #0,1,1: 50:[51, 95] Operation: 57+38=95\nExploring Operation: 51-38=13, Resulting Numbers: [57, 13]\nGenerated Node #0,1,2: 50:[57, 13] Operation: 51-38=13\nExploring Operation: 57-38=19, Resulting Numbers: [51, 19]\nGenerated Node #0,1,3: 50:[51, 19] Operation: 57-38=19\nMoving to Node #0,0,2\nCurrent State: 50:[6, 26], Operations: ['63-57=6', '51-25=26']\nExploring Operation: 6+26=32, Resulting Numbers: [32]\n32,50 unequal: No Solution\nExploring Operation: 6*26=156, Resulting Numbers: [156]\n156,50 unequal: No Solution\nExploring Operation: 26-6=20, Resulting Numbers: [20]\n20,50 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 50:[25, 45], Operations: ['63-57=6', '51-6=45']\nExploring Operation: 25*45=1125, Resulting Numbers: [1125]\n1125,50 unequal: No Solution\nExploring Operation: 25+45=70, Resulting Numbers: [70]\n70,50 unequal: No Solution\nExploring Operation: 45-25=20, Resulting Numbers: [20]\n20,50 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 50:[25, 45], Operations: ['63-51=12', '57-12=45']\nExploring Operation: 45-25=20, Resulting Numbers: [20]\n20,50 unequal: No Solution\nExploring Operation: 25+45=70, Resulting Numbers: [70]\n70,50 unequal: No Solution\nExploring Operation: 25*45=1125, Resulting Numbers: [1125]\n1125,50 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 50:[51, 19], Operations: ['63-57=6', '25-6=19']\nExploring Operation: 51-19=32, Resulting Numbers: [32]\n32,50 unequal: No Solution\nExploring Operation: 51*19=969, Resulting Numbers: [969]\n969,50 unequal: No Solution\nExploring Operation: 51+19=70, Resulting Numbers: [70]\n70,50 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 50:[20], Operations: ['63-57=6', '51-25=26', '26-6=20']\nMoving to Node #0,0,3,0\nCurrent State: 50:[20], Operations: ['63-57=6', '51-6=45', '45-25=20']\nMoving to Node #0,3,3,0\nCurrent State: 50:[20], Operations: ['63-51=12', '57-12=45', '45-25=20']\nMoving to Node #0,1,3\nCurrent State: 50:[51, 19], Operations: ['63-25=38', '57-38=19']\nExploring Operation: 51-19=32, Resulting Numbers: [32]\n32,50 unequal: No Solution\nExploring Operation: 51+19=70, Resulting Numbers: [70]\n70,50 unequal: No Solution\nExploring Operation: 51*19=969, Resulting Numbers: [969]\n969,50 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 50:[32], Operations: ['63-57=6', '51-25=26', '6+26=32']\nMoving to Node #0,0,0,0\nCurrent State: 50:[32], Operations: ['63-57=6', '25-6=19', '51-19=32']\nMoving to Node #0,1,3,0\nCurrent State: 50:[32], Operations: ['63-25=38', '57-38=19', '51-19=32']\nMoving to Node #0,0,1\nCurrent State: 50:[51, 31], Operations: ['63-57=6', '25+6=31']\nExploring Operation: 51+31=82, Resulting Numbers: [82]\n82,50 unequal: No Solution\nExploring Operation: 51*31=1581, Resulting Numbers: [1581]\n1581,50 unequal: No Solution\nExploring Operation: 51-31=20, Resulting Numbers: [20]\n20,50 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 50:[20], Operations: ['63-57=6', '25+6=31', '51-31=20']\nMoving to Node #0,2,1\nCurrent State: 50:[25, 57], Operations: ['57-51=6', '63-6=57']\nExploring Operation: 25*57=1425, Resulting Numbers: [1425]\n1425,50 unequal: No Solution\nExploring Operation: 57-25=32, Resulting Numbers: [32]\n32,50 unequal: No Solution\nExploring Operation: 25+57=82, Resulting Numbers: [82]\n82,50 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 50:[12, 32], Operations: ['63-51=12', '57-25=32']\nExploring Operation: 12*32=384, Resulting Numbers: [384]\n384,50 unequal: No Solution\nExploring Operation: 12+32=44, Resulting Numbers: [44]\n44,50 unequal: No Solution\nExploring Operation: 32-12=20, Resulting Numbers: [20]\n20,50 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 50:[57, 13], Operations: ['63-51=12', '25-12=13']\nExploring Operation: 57*13=741, Resulting Numbers: [741]\n741,50 unequal: No Solution\nExploring Operation: 57+13=70, Resulting Numbers: [70]\n70,50 unequal: No Solution\nExploring Operation: 57-13=44, Resulting Numbers: [44]\n44,50 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 50:[20], Operations: ['63-51=12', '57-25=32', '32-12=20']\nMoving to Node #0,3,1,0\nCurrent State: 50:[44], Operations: ['63-51=12', '25-12=13', '57-13=44']\nMoving to Node #0,3,0,0\nCurrent State: 50:[44], Operations: ['63-51=12', '57-25=32', '12+32=44']\nMoving to Node #0,2,1,0\nCurrent State: 50:[32], Operations: ['57-51=6', '63-6=57', '57-25=32']\nMoving to Node #0,1,2\nCurrent State: 50:[57, 13], Operations: ['63-25=38', '51-38=13']\nExploring Operation: 57-13=44, Resulting Numbers: [44]\n44,50 unequal: No Solution\nExploring Operation: 57+13=70, Resulting Numbers: [70]\n70,50 unequal: No Solution\nExploring Operation: 57*13=741, Resulting Numbers: [741]\n741,50 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 50:[6, 38], Operations: ['57-51=6', '63-25=38']\nExploring Operation: 6*38=228, Resulting Numbers: [228]\n228,50 unequal: No Solution\nExploring Operation: 6+38=44, Resulting Numbers: [44]\n44,50 unequal: No Solution\nExploring Operation: 38-6=32, Resulting Numbers: [32]\n32,50 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 50:[38, 6], Operations: ['63-25=38', '57-51=6']\nExploring Operation: 38+6=44, Resulting Numbers: [44]\n44,50 unequal: No Solution\nExploring Operation: 38-6=32, Resulting Numbers: [32]\n32,50 unequal: No Solution\nExploring Operation: 38*6=228, Resulting Numbers: [228]\n228,50 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 50:[25, 69], Operations: ['57-51=6', '63+6=69']\nExploring Operation: 69-25=44, Resulting Numbers: [44]\n44,50 unequal: No Solution\nExploring Operation: 25+69=94, Resulting Numbers: [94]\n94,50 unequal: No Solution\nExploring Operation: 25*69=1725, Resulting Numbers: [1725]\n1725,50 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 50:[44], Operations: ['63-25=38', '51-38=13', '57-13=44']\nMoving to Node #0,1,0,0\nCurrent State: 50:[44], Operations: ['63-25=38', '57-51=6', '38+6=44']\nMoving to Node #0,2,3,0\nCurrent State: 50:[44], Operations: ['57-51=6', '63+6=69', '69-25=44']\nMoving to Node #0,2,0,0\nCurrent State: 50:[44], Operations: ['57-51=6', '63-25=38', '6+38=44']\nMoving to Node #0,2,0,0\nCurrent State: 50:[32], Operations: ['57-51=6', '63-25=38', '38-6=32']\nMoving to Node #0,1,0,0\nCurrent State: 50:[32], Operations: ['63-25=38', '57-51=6', '38-6=32']\nMoving to Node #0,2,2\nCurrent State: 50:[63, 31], Operations: ['57-51=6', '25+6=31']\nExploring Operation: 63-31=32, Resulting Numbers: [32]\n32,50 unequal: No Solution\nExploring Operation: 63*31=1953, Resulting Numbers: [1953]\n1953,50 unequal: No Solution\nExploring Operation: 63+31=94, Resulting Numbers: [94]\n94,50 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 50:[25, 69], Operations: ['63-51=12', '57+12=69']\nExploring Operation: 25+69=94, Resulting Numbers: [94]\n94,50 unequal: No Solution\nExploring Operation: 25*69=1725, Resulting Numbers: [1725]\n1725,50 unequal: No Solution\nExploring Operation: 69-25=44, Resulting Numbers: [44]\n44,50 unequal: No Solution\nMoving to Node #0,3,2,0\nCurrent State: 50:[44], Operations: ['63-51=12', '57+12=69', '69-25=44']\nMoving to Node #0,2,2,0\nCurrent State: 50:[32], Operations: ['57-51=6', '25+6=31', '63-31=32']\nMoving to Node #0,0,0,0\nCurrent State: 50:[70], Operations: ['63-57=6', '25-6=19', '51+19=70']\nMoving to Node #0,3,1,0\nCurrent State: 50:[70], Operations: ['63-51=12', '25-12=13', '57+13=70']\nMoving to Node #0,3,3,0\nCurrent State: 50:[70], Operations: ['63-51=12', '57-12=45', '25+45=70']\nMoving to Node #0,1,2,0\nCurrent State: 50:[70], Operations: ['63-25=38', '51-38=13', '57+13=70']\nMoving to Node #0,0,3,0\nCurrent State: 50:[70], Operations: ['63-57=6', '51-6=45', '25+45=70']\nMoving to Node #0,1,3,0\nCurrent State: 50:[70], Operations: ['63-25=38', '57-38=19', '51+19=70']\nMoving to Node #0,0,1,0\nCurrent State: 50:[82], Operations: ['63-57=6', '25+6=31', '51+31=82']\nMoving to Node #0,2,1,0\nCurrent State: 50:[82], Operations: ['57-51=6', '63-6=57', '25+57=82']\nMoving to Node #0,2,3,0\nCurrent State: 50:[94], Operations: ['57-51=6', '63+6=69', '25+69=94']\nMoving to Node #0,3,2,0\nCurrent State: 50:[94], Operations: ['63-51=12', '57+12=69', '25+69=94']\nMoving to Node #0,2,2,0\nCurrent State: 50:[94], Operations: ['57-51=6', '25+6=31', '63+31=94']\nMoving to Node #0,1,1\nCurrent State: 50:[51, 95], Operations: ['63-25=38', '57+38=95']\nExploring Operation: 51+95=146, Resulting Numbers: [146]\n146,50 unequal: No Solution\nExploring Operation: 95-51=44, Resulting Numbers: [44]\n44,50 unequal: No Solution\nExploring Operation: 51*95=4845, Resulting Numbers: [4845]\n4845,50 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 50:[156], Operations: ['63-57=6', '51-25=26', '6*26=156']\nMoving to Node #0,1,0,0\nCurrent State: 50:[228], Operations: ['63-25=38', '57-51=6', '38*6=228']\nMoving to Node #0,1,1,0\nCurrent State: 50:[44], Operations: ['63-25=38', '57+38=95', '95-51=44']\nMoving to Node #0,1,1,0\nCurrent State: 50:[146], Operations: ['63-25=38', '57+38=95', '51+95=146']\nMoving to Node #0,2,0,0\nCurrent State: 50:[228], Operations: ['57-51=6', '63-25=38', '6*38=228']\nMoving to Node #0,3,0,0\nCurrent State: 50:[384], Operations: ['63-51=12', '57-25=32', '12*32=384']\nMoving to Node #0,1,2,0\nCurrent State: 50:[741], Operations: ['63-25=38', '51-38=13', '57*13=741']\nMoving to Node #0,3,1,0\nCurrent State: 50:[741], Operations: ['63-51=12', '25-12=13', '57*13=741']\nMoving to Node #0,0,0,0\nCurrent State: 50:[969], Operations: ['63-57=6', '25-6=19', '51*19=969']\nMoving to Node #0,1,3,0\nCurrent State: 50:[969], Operations: ['63-25=38', '57-38=19', '51*19=969']\nMoving to Node #0,0,3,0\nCurrent State: 50:[1125], Operations: ['63-57=6', '51-6=45', '25*45=1125']\nMoving to Node #0,3,3,0\nCurrent State: 50:[1125], Operations: ['63-51=12', '57-12=45', '25*45=1125']\nMoving to Node #0,2,1,0\nCurrent State: 50:[1425], Operations: ['57-51=6', '63-6=57', '25*57=1425']\nMoving to Node #0,0,1,0\nCurrent State: 50:[1581], Operations: ['63-57=6', '25+6=31', '51*31=1581']\nMoving to Node #0,2,3,0\nCurrent State: 50:[1725], Operations: ['57-51=6', '63+6=69', '25*69=1725']\nMoving to Node #0,3,2,0\nCurrent State: 50:[1725], Operations: ['63-51=12', '57+12=69', '25*69=1725']\nMoving to Node #0,2,2,0\nCurrent State: 50:[1953], Operations: ['57-51=6', '25+6=31', '63*31=1953']\nMoving to Node #0,1,1,0\nCurrent State: 50:[4845], Operations: ['63-25=38', '57+38=95', '51*95=4845']\nNo solution found.", "role": "assistant" } ]
[ 66, 64, 76, 42 ]
73
[ "64-42=22", "66/22=3", "76-3=73" ]
Current State: 73:[66, 64, 76, 42], Operations: [] Exploring Operation: 64+42=106, Resulting Numbers: [66, 76, 106] Generated Node #0,0: 73:[66, 76, 106] Operation: 64+42=106 Moving to Node #0,0 Current State: 73:[66, 76, 106], Operations: ['64+42=106'] Exploring Operation: 106-66=40, Resulting Numbers: [76, 40] Generated Node #0,0,0: 73:[76, 40] Operation: 106-66=40 Moving to Node #0,0,0 Current State: 73:[76, 40], Operations: ['64+42=106', '106-66=40'] Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[76, 40], Operations: ['64+42=106', '106-66=40'] Exploring Operation: 76+40=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,0 Current State: 73:[66, 76, 106], Operations: ['64+42=106'] Exploring Operation: 106-76=30, Resulting Numbers: [66, 30] Generated Node #0,0,1: 73:[66, 30] Operation: 106-76=30 Moving to Node #0,0,1 Current State: 73:[66, 30], Operations: ['64+42=106', '106-76=30'] Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[66, 30], Operations: ['64+42=106', '106-76=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,0 Current State: 73:[66, 76, 106], Operations: ['64+42=106'] Exploring Operation: 76-66=10, Resulting Numbers: [106, 10] Generated Node #0,0,2: 73:[106, 10] Operation: 76-66=10 Moving to Node #0,0,2 Current State: 73:[106, 10], Operations: ['64+42=106', '76-66=10'] Exploring Operation: 106-10=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[106, 10], Operations: ['64+42=106', '76-66=10'] Exploring Operation: 106+10=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,0 Current State: 73:[66, 76, 106], Operations: ['64+42=106'] Exploring Operation: 66+76=142, Resulting Numbers: [106, 142] Generated Node #0,0,3: 73:[106, 142] Operation: 66+76=142 Moving to Node #0,0,3 Current State: 73:[106, 142], Operations: ['64+42=106', '66+76=142'] Exploring Operation: 142-106=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,0 Current State: 73:[66, 76, 106], Operations: ['64+42=106'] Exploring Operation: 66+106=172, Resulting Numbers: [76, 172] Generated Node #0,0,4: 73:[76, 172] Operation: 66+106=172 Moving to Node #0,0,4 Current State: 73:[76, 172], Operations: ['64+42=106', '66+106=172'] Exploring Operation: 172-76=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,0 Current State: 73:[66, 76, 106], Operations: ['64+42=106'] Exploring Operation: 76+106=182, Resulting Numbers: [66, 182] Generated Node #0,0,5: 73:[66, 182] Operation: 76+106=182 Moving to Node #0,0,5 Current State: 73:[66, 182], Operations: ['64+42=106', '76+106=182'] Exploring Operation: 182-66=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0 Current State: 73:[66, 64, 76, 42], Operations: [] Exploring Operation: 66+42=108, Resulting Numbers: [64, 76, 108] Generated Node #0,1: 73:[64, 76, 108] Operation: 66+42=108 Moving to Node #0,1 Current State: 73:[64, 76, 108], Operations: ['66+42=108'] Exploring Operation: 108-64=44, Resulting Numbers: [76, 44] Generated Node #0,1,0: 73:[76, 44] Operation: 108-64=44 Moving to Node #0,1,0 Current State: 73:[76, 44], Operations: ['66+42=108', '108-64=44'] Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[76, 44], Operations: ['66+42=108', '108-64=44'] Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,73 unequal: No Solution Moving to Node #0,1 Current State: 73:[64, 76, 108], Operations: ['66+42=108'] Exploring Operation: 108-76=32, Resulting Numbers: [64, 32] Generated Node #0,1,1: 73:[64, 32] Operation: 108-76=32 Moving to Node #0,1,1 Current State: 73:[64, 32], Operations: ['66+42=108', '108-76=32'] Exploring Operation: 64+32=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[64, 32], Operations: ['66+42=108', '108-76=32'] Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[64, 32], Operations: ['66+42=108', '108-76=32'] Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,73 unequal: No Solution Moving to Node #0,1 Current State: 73:[64, 76, 108], Operations: ['66+42=108'] Exploring Operation: 76-64=12, Resulting Numbers: [108, 12] Generated Node #0,1,2: 73:[108, 12] Operation: 76-64=12 Moving to Node #0,1,2 Current State: 73:[108, 12], Operations: ['66+42=108', '76-64=12'] Exploring Operation: 108-12=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[108, 12], Operations: ['66+42=108', '76-64=12'] Exploring Operation: 108+12=120, Resulting Numbers: [120] 120,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[108, 12], Operations: ['66+42=108', '76-64=12'] Exploring Operation: 108/12=9, Resulting Numbers: [9] 9,73 unequal: No Solution Moving to Node #0,1 Current State: 73:[64, 76, 108], Operations: ['66+42=108'] Exploring Operation: 64+76=140, Resulting Numbers: [108, 140] Generated Node #0,1,3: 73:[108, 140] Operation: 64+76=140 Moving to Node #0,1,3 Current State: 73:[108, 140], Operations: ['66+42=108', '64+76=140'] Exploring Operation: 140-108=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,1 Current State: 73:[64, 76, 108], Operations: ['66+42=108'] Exploring Operation: 64+108=172, Resulting Numbers: [76, 172] Generated Node #0,1,4: 73:[76, 172] Operation: 64+108=172 Moving to Node #0,1,4 Current State: 73:[76, 172], Operations: ['66+42=108', '64+108=172'] Exploring Operation: 172-76=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,1 Current State: 73:[64, 76, 108], Operations: ['66+42=108'] Exploring Operation: 76+108=184, Resulting Numbers: [64, 184] Generated Node #0,1,5: 73:[64, 184] Operation: 76+108=184 Moving to Node #0,1,5 Current State: 73:[64, 184], Operations: ['66+42=108', '76+108=184'] Exploring Operation: 184-64=120, Resulting Numbers: [120] 120,73 unequal: No Solution Moving to Node #0 Current State: 73:[66, 64, 76, 42], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [66, 64, 34] Generated Node #0,2: 73:[66, 64, 34] Operation: 76-42=34 Moving to Node #0,2 Current State: 73:[66, 64, 34], Operations: ['76-42=34'] Exploring Operation: 64+34=98, Resulting Numbers: [66, 98] Generated Node #0,2,0: 73:[66, 98] Operation: 64+34=98 Moving to Node #0,2,0 Current State: 73:[66, 98], Operations: ['76-42=34', '64+34=98'] Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,2 Current State: 73:[66, 64, 34], Operations: ['76-42=34'] Exploring Operation: 66+34=100, Resulting Numbers: [64, 100] Generated Node #0,2,1: 73:[64, 100] Operation: 66+34=100 Moving to Node #0,2,1 Current State: 73:[64, 100], Operations: ['76-42=34', '66+34=100'] Exploring Operation: 100-64=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,2 Current State: 73:[66, 64, 34], Operations: ['76-42=34'] Exploring Operation: 66-34=32, Resulting Numbers: [64, 32] Generated Node #0,2,2: 73:[64, 32] Operation: 66-34=32 Moving to Node #0,2,2 Current State: 73:[64, 32], Operations: ['76-42=34', '66-34=32'] Exploring Operation: 64+32=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[64, 32], Operations: ['76-42=34', '66-34=32'] Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[64, 32], Operations: ['76-42=34', '66-34=32'] Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,73 unequal: No Solution Moving to Node #0,2 Current State: 73:[66, 64, 34], Operations: ['76-42=34'] Exploring Operation: 64-34=30, Resulting Numbers: [66, 30] Generated Node #0,2,3: 73:[66, 30] Operation: 64-34=30 Moving to Node #0,2,3 Current State: 73:[66, 30], Operations: ['76-42=34', '64-34=30'] Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[66, 30], Operations: ['76-42=34', '64-34=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,2 Current State: 73:[66, 64, 34], Operations: ['76-42=34'] Exploring Operation: 66+64=130, Resulting Numbers: [34, 130] Generated Node #0,2,4: 73:[34, 130] Operation: 66+64=130 Moving to Node #0,2,4 Current State: 73:[34, 130], Operations: ['76-42=34', '66+64=130'] Exploring Operation: 130-34=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,2 Current State: 73:[66, 64, 34], Operations: ['76-42=34'] Exploring Operation: 66-64=2, Resulting Numbers: [34, 2] Generated Node #0,2,5: 73:[34, 2] Operation: 66-64=2 Moving to Node #0,2,5 Current State: 73:[34, 2], Operations: ['76-42=34', '66-64=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,73 unequal: No Solution Moving to Node #0,2,5 Current State: 73:[34, 2], Operations: ['76-42=34', '66-64=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,2,5 Current State: 73:[34, 2], Operations: ['76-42=34', '66-64=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,2,5 Current State: 73:[34, 2], Operations: ['76-42=34', '66-64=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,73 unequal: No Solution Moving to Node #0 Current State: 73:[66, 64, 76, 42], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [64, 76, 24] Generated Node #0,3: 73:[64, 76, 24] Operation: 66-42=24 Moving to Node #0,3 Current State: 73:[64, 76, 24], Operations: ['66-42=24'] Exploring Operation: 64+24=88, Resulting Numbers: [76, 88] Generated Node #0,3,0: 73:[76, 88] Operation: 64+24=88 Moving to Node #0,3,0 Current State: 73:[76, 88], Operations: ['66-42=24', '64+24=88'] Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,3 Current State: 73:[64, 76, 24], Operations: ['66-42=24'] Exploring Operation: 76-24=52, Resulting Numbers: [64, 52] Generated Node #0,3,1: 73:[64, 52] Operation: 76-24=52 Moving to Node #0,3,1 Current State: 73:[64, 52], Operations: ['66-42=24', '76-24=52'] Exploring Operation: 64+52=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[64, 52], Operations: ['66-42=24', '76-24=52'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,3 Current State: 73:[64, 76, 24], Operations: ['66-42=24'] Exploring Operation: 64-24=40, Resulting Numbers: [76, 40] Generated Node #0,3,2: 73:[76, 40] Operation: 64-24=40 Moving to Node #0,3,2 Current State: 73:[76, 40], Operations: ['66-42=24', '64-24=40'] Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[76, 40], Operations: ['66-42=24', '64-24=40'] Exploring Operation: 76+40=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,3 Current State: 73:[64, 76, 24], Operations: ['66-42=24'] Exploring Operation: 76+24=100, Resulting Numbers: [64, 100] Generated Node #0,3,3: 73:[64, 100] Operation: 76+24=100 Moving to Node #0,3,3 Current State: 73:[64, 100], Operations: ['66-42=24', '76+24=100'] Exploring Operation: 100-64=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,3 Current State: 73:[64, 76, 24], Operations: ['66-42=24'] Exploring Operation: 76-64=12, Resulting Numbers: [24, 12] Generated Node #0,3,4: 73:[24, 12] Operation: 76-64=12 Moving to Node #0,3,4 Current State: 73:[24, 12], Operations: ['66-42=24', '76-64=12'] Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[24, 12], Operations: ['66-42=24', '76-64=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[24, 12], Operations: ['66-42=24', '76-64=12'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,73 unequal: No Solution Moving to Node #0,3 Current State: 73:[64, 76, 24], Operations: ['66-42=24'] Exploring Operation: 64+76=140, Resulting Numbers: [24, 140] Generated Node #0,3,5: 73:[24, 140] Operation: 64+76=140 Moving to Node #0,3,5 Current State: 73:[24, 140], Operations: ['66-42=24', '64+76=140'] Exploring Operation: 140-24=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0 Current State: 73:[66, 64, 76, 42], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [66, 76, 22] Generated Node #0,4: 73:[66, 76, 22] Operation: 64-42=22 Moving to Node #0,4 Current State: 73:[66, 76, 22], Operations: ['64-42=22'] Exploring Operation: 66+22=88, Resulting Numbers: [76, 88] Generated Node #0,4,0: 73:[76, 88] Operation: 66+22=88 Moving to Node #0,4,0 Current State: 73:[76, 88], Operations: ['64-42=22', '66+22=88'] Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,4 Current State: 73:[66, 76, 22], Operations: ['64-42=22'] Exploring Operation: 76-22=54, Resulting Numbers: [66, 54] Generated Node #0,4,1: 73:[66, 54] Operation: 76-22=54 Moving to Node #0,4,1 Current State: 73:[66, 54], Operations: ['64-42=22', '76-22=54'] Exploring Operation: 66+54=120, Resulting Numbers: [120] 120,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[66, 54], Operations: ['64-42=22', '76-22=54'] Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,4 Current State: 73:[66, 76, 22], Operations: ['64-42=22'] Exploring Operation: 66-22=44, Resulting Numbers: [76, 44] Generated Node #0,4,2: 73:[76, 44] Operation: 66-22=44 Moving to Node #0,4,2 Current State: 73:[76, 44], Operations: ['64-42=22', '66-22=44'] Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[76, 44], Operations: ['64-42=22', '66-22=44'] Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,73 unequal: No Solution Moving to Node #0,4 Current State: 73:[66, 76, 22], Operations: ['64-42=22'] Exploring Operation: 76+22=98, Resulting Numbers: [66, 98] Generated Node #0,4,3: 73:[66, 98] Operation: 76+22=98 Moving to Node #0,4,3 Current State: 73:[66, 98], Operations: ['64-42=22', '76+22=98'] Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,4 Current State: 73:[66, 76, 22], Operations: ['64-42=22'] Exploring Operation: 66/22=3, Resulting Numbers: [76, 3] Generated Node #0,4,4: 73:[76, 3] Operation: 66/22=3 Moving to Node #0,4,4 Current State: 73:[76, 3], Operations: ['64-42=22', '66/22=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.927083
dfs
Current State: 73:[66, 64, 76, 42], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [66, 76, 22] Generated Node #2: [66, 76, 22] from Operation: 64-42=22 Current State: 73:[66, 76, 22], Operations: ['64-42=22'] Exploring Operation: 66/22=3, Resulting Numbers: [76, 3] Generated Node #3: [76, 3] from Operation: 66/22=3 Current State: 73:[76, 3], Operations: ['64-42=22', '66/22=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
sum_heuristic
[ { "content": "Make 73 with the numbers [66, 64, 76, 42] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 73:[66, 64, 76, 42], Operations: []\nExploring Operation: 64+42=106, Resulting Numbers: [66, 76, 106]\nGenerated Node #0,0: 73:[66, 76, 106] Operation: 64+42=106\nMoving to Node #0,0\nCurrent State: 73:[66, 76, 106], Operations: ['64+42=106']\nExploring Operation: 106-66=40, Resulting Numbers: [76, 40]\nGenerated Node #0,0,0: 73:[76, 40] Operation: 106-66=40\nMoving to Node #0,0,0\nCurrent State: 73:[76, 40], Operations: ['64+42=106', '106-66=40']\nExploring Operation: 76-40=36, Resulting Numbers: [36]\n36,73 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 73:[76, 40], Operations: ['64+42=106', '106-66=40']\nExploring Operation: 76+40=116, Resulting Numbers: [116]\n116,73 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 73:[66, 76, 106], Operations: ['64+42=106']\nExploring Operation: 106-76=30, Resulting Numbers: [66, 30]\nGenerated Node #0,0,1: 73:[66, 30] Operation: 106-76=30\nMoving to Node #0,0,1\nCurrent State: 73:[66, 30], Operations: ['64+42=106', '106-76=30']\nExploring Operation: 66+30=96, Resulting Numbers: [96]\n96,73 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 73:[66, 30], Operations: ['64+42=106', '106-76=30']\nExploring Operation: 66-30=36, Resulting Numbers: [36]\n36,73 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 73:[66, 76, 106], Operations: ['64+42=106']\nExploring Operation: 76-66=10, Resulting Numbers: [106, 10]\nGenerated Node #0,0,2: 73:[106, 10] Operation: 76-66=10\nMoving to Node #0,0,2\nCurrent State: 73:[106, 10], Operations: ['64+42=106', '76-66=10']\nExploring Operation: 106-10=96, Resulting Numbers: [96]\n96,73 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 73:[106, 10], Operations: ['64+42=106', '76-66=10']\nExploring Operation: 106+10=116, Resulting Numbers: [116]\n116,73 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 73:[66, 76, 106], Operations: ['64+42=106']\nExploring Operation: 66+76=142, Resulting Numbers: [106, 142]\nGenerated Node #0,0,3: 73:[106, 142] Operation: 66+76=142\nMoving to Node #0,0,3\nCurrent State: 73:[106, 142], Operations: ['64+42=106', '66+76=142']\nExploring Operation: 142-106=36, Resulting Numbers: [36]\n36,73 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 73:[66, 76, 106], Operations: ['64+42=106']\nExploring Operation: 66+106=172, Resulting Numbers: [76, 172]\nGenerated Node #0,0,4: 73:[76, 172] Operation: 66+106=172\nMoving to Node #0,0,4\nCurrent State: 73:[76, 172], Operations: ['64+42=106', '66+106=172']\nExploring Operation: 172-76=96, Resulting Numbers: [96]\n96,73 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 73:[66, 76, 106], Operations: ['64+42=106']\nExploring Operation: 76+106=182, Resulting Numbers: [66, 182]\nGenerated Node #0,0,5: 73:[66, 182] Operation: 76+106=182\nMoving to Node #0,0,5\nCurrent State: 73:[66, 182], Operations: ['64+42=106', '76+106=182']\nExploring Operation: 182-66=116, Resulting Numbers: [116]\n116,73 unequal: No Solution\nMoving to Node #0\nCurrent State: 73:[66, 64, 76, 42], Operations: []\nExploring Operation: 66+42=108, Resulting Numbers: [64, 76, 108]\nGenerated Node #0,1: 73:[64, 76, 108] Operation: 66+42=108\nMoving to Node #0,1\nCurrent State: 73:[64, 76, 108], Operations: ['66+42=108']\nExploring Operation: 108-64=44, Resulting Numbers: [76, 44]\nGenerated Node #0,1,0: 73:[76, 44] Operation: 108-64=44\nMoving to Node #0,1,0\nCurrent State: 73:[76, 44], Operations: ['66+42=108', '108-64=44']\nExploring Operation: 76-44=32, Resulting Numbers: [32]\n32,73 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 73:[76, 44], Operations: ['66+42=108', '108-64=44']\nExploring Operation: 76+44=120, Resulting Numbers: [120]\n120,73 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 73:[64, 76, 108], Operations: ['66+42=108']\nExploring Operation: 108-76=32, Resulting Numbers: [64, 32]\nGenerated Node #0,1,1: 73:[64, 32] Operation: 108-76=32\nMoving to Node #0,1,1\nCurrent State: 73:[64, 32], Operations: ['66+42=108', '108-76=32']\nExploring Operation: 64+32=96, Resulting Numbers: [96]\n96,73 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 73:[64, 32], Operations: ['66+42=108', '108-76=32']\nExploring Operation: 64-32=32, Resulting Numbers: [32]\n32,73 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 73:[64, 32], Operations: ['66+42=108', '108-76=32']\nExploring Operation: 64/32=2, Resulting Numbers: [2]\n2,73 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 73:[64, 76, 108], Operations: ['66+42=108']\nExploring Operation: 76-64=12, Resulting Numbers: [108, 12]\nGenerated Node #0,1,2: 73:[108, 12] Operation: 76-64=12\nMoving to Node #0,1,2\nCurrent State: 73:[108, 12], Operations: ['66+42=108', '76-64=12']\nExploring Operation: 108-12=96, Resulting Numbers: [96]\n96,73 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 73:[108, 12], Operations: ['66+42=108', '76-64=12']\nExploring Operation: 108+12=120, Resulting Numbers: [120]\n120,73 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 73:[108, 12], Operations: ['66+42=108', '76-64=12']\nExploring Operation: 108/12=9, Resulting Numbers: [9]\n9,73 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 73:[64, 76, 108], Operations: ['66+42=108']\nExploring Operation: 64+76=140, Resulting Numbers: [108, 140]\nGenerated Node #0,1,3: 73:[108, 140] Operation: 64+76=140\nMoving to Node #0,1,3\nCurrent State: 73:[108, 140], Operations: ['66+42=108', '64+76=140']\nExploring Operation: 140-108=32, Resulting Numbers: [32]\n32,73 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 73:[64, 76, 108], Operations: ['66+42=108']\nExploring Operation: 64+108=172, Resulting Numbers: [76, 172]\nGenerated Node #0,1,4: 73:[76, 172] Operation: 64+108=172\nMoving to Node #0,1,4\nCurrent State: 73:[76, 172], Operations: ['66+42=108', '64+108=172']\nExploring Operation: 172-76=96, Resulting Numbers: [96]\n96,73 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 73:[64, 76, 108], Operations: ['66+42=108']\nExploring Operation: 76+108=184, Resulting Numbers: [64, 184]\nGenerated Node #0,1,5: 73:[64, 184] Operation: 76+108=184\nMoving to Node #0,1,5\nCurrent State: 73:[64, 184], Operations: ['66+42=108', '76+108=184']\nExploring Operation: 184-64=120, Resulting Numbers: [120]\n120,73 unequal: No Solution\nMoving to Node #0\nCurrent State: 73:[66, 64, 76, 42], Operations: []\nExploring Operation: 76-42=34, Resulting Numbers: [66, 64, 34]\nGenerated Node #0,2: 73:[66, 64, 34] Operation: 76-42=34\nMoving to Node #0,2\nCurrent State: 73:[66, 64, 34], Operations: ['76-42=34']\nExploring Operation: 64+34=98, Resulting Numbers: [66, 98]\nGenerated Node #0,2,0: 73:[66, 98] Operation: 64+34=98\nMoving to Node #0,2,0\nCurrent State: 73:[66, 98], Operations: ['76-42=34', '64+34=98']\nExploring Operation: 98-66=32, Resulting Numbers: [32]\n32,73 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 73:[66, 64, 34], Operations: ['76-42=34']\nExploring Operation: 66+34=100, Resulting Numbers: [64, 100]\nGenerated Node #0,2,1: 73:[64, 100] Operation: 66+34=100\nMoving to Node #0,2,1\nCurrent State: 73:[64, 100], Operations: ['76-42=34', '66+34=100']\nExploring Operation: 100-64=36, Resulting Numbers: [36]\n36,73 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 73:[66, 64, 34], Operations: ['76-42=34']\nExploring Operation: 66-34=32, Resulting Numbers: [64, 32]\nGenerated Node #0,2,2: 73:[64, 32] Operation: 66-34=32\nMoving to Node #0,2,2\nCurrent State: 73:[64, 32], Operations: ['76-42=34', '66-34=32']\nExploring Operation: 64+32=96, Resulting Numbers: [96]\n96,73 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 73:[64, 32], Operations: ['76-42=34', '66-34=32']\nExploring Operation: 64-32=32, Resulting Numbers: [32]\n32,73 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 73:[64, 32], Operations: ['76-42=34', '66-34=32']\nExploring Operation: 64/32=2, Resulting Numbers: [2]\n2,73 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 73:[66, 64, 34], Operations: ['76-42=34']\nExploring Operation: 64-34=30, Resulting Numbers: [66, 30]\nGenerated Node #0,2,3: 73:[66, 30] Operation: 64-34=30\nMoving to Node #0,2,3\nCurrent State: 73:[66, 30], Operations: ['76-42=34', '64-34=30']\nExploring Operation: 66+30=96, Resulting Numbers: [96]\n96,73 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 73:[66, 30], Operations: ['76-42=34', '64-34=30']\nExploring Operation: 66-30=36, Resulting Numbers: [36]\n36,73 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 73:[66, 64, 34], Operations: ['76-42=34']\nExploring Operation: 66+64=130, Resulting Numbers: [34, 130]\nGenerated Node #0,2,4: 73:[34, 130] Operation: 66+64=130\nMoving to Node #0,2,4\nCurrent State: 73:[34, 130], Operations: ['76-42=34', '66+64=130']\nExploring Operation: 130-34=96, Resulting Numbers: [96]\n96,73 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 73:[66, 64, 34], Operations: ['76-42=34']\nExploring Operation: 66-64=2, Resulting Numbers: [34, 2]\nGenerated Node #0,2,5: 73:[34, 2] Operation: 66-64=2\nMoving to Node #0,2,5\nCurrent State: 73:[34, 2], Operations: ['76-42=34', '66-64=2']\nExploring Operation: 34*2=68, Resulting Numbers: [68]\n68,73 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 73:[34, 2], Operations: ['76-42=34', '66-64=2']\nExploring Operation: 34+2=36, Resulting Numbers: [36]\n36,73 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 73:[34, 2], Operations: ['76-42=34', '66-64=2']\nExploring Operation: 34-2=32, Resulting Numbers: [32]\n32,73 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 73:[34, 2], Operations: ['76-42=34', '66-64=2']\nExploring Operation: 34/2=17, Resulting Numbers: [17]\n17,73 unequal: No Solution\nMoving to Node #0\nCurrent State: 73:[66, 64, 76, 42], Operations: []\nExploring Operation: 66-42=24, Resulting Numbers: [64, 76, 24]\nGenerated Node #0,3: 73:[64, 76, 24] Operation: 66-42=24\nMoving to Node #0,3\nCurrent State: 73:[64, 76, 24], Operations: ['66-42=24']\nExploring Operation: 64+24=88, Resulting Numbers: [76, 88]\nGenerated Node #0,3,0: 73:[76, 88] Operation: 64+24=88\nMoving to Node #0,3,0\nCurrent State: 73:[76, 88], Operations: ['66-42=24', '64+24=88']\nExploring Operation: 88-76=12, Resulting Numbers: [12]\n12,73 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 73:[64, 76, 24], Operations: ['66-42=24']\nExploring Operation: 76-24=52, Resulting Numbers: [64, 52]\nGenerated Node #0,3,1: 73:[64, 52] Operation: 76-24=52\nMoving to Node #0,3,1\nCurrent State: 73:[64, 52], Operations: ['66-42=24', '76-24=52']\nExploring Operation: 64+52=116, Resulting Numbers: [116]\n116,73 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 73:[64, 52], Operations: ['66-42=24', '76-24=52']\nExploring Operation: 64-52=12, Resulting Numbers: [12]\n12,73 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 73:[64, 76, 24], Operations: ['66-42=24']\nExploring Operation: 64-24=40, Resulting Numbers: [76, 40]\nGenerated Node #0,3,2: 73:[76, 40] Operation: 64-24=40\nMoving to Node #0,3,2\nCurrent State: 73:[76, 40], Operations: ['66-42=24', '64-24=40']\nExploring Operation: 76-40=36, Resulting Numbers: [36]\n36,73 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 73:[76, 40], Operations: ['66-42=24', '64-24=40']\nExploring Operation: 76+40=116, Resulting Numbers: [116]\n116,73 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 73:[64, 76, 24], Operations: ['66-42=24']\nExploring Operation: 76+24=100, Resulting Numbers: [64, 100]\nGenerated Node #0,3,3: 73:[64, 100] Operation: 76+24=100\nMoving to Node #0,3,3\nCurrent State: 73:[64, 100], Operations: ['66-42=24', '76+24=100']\nExploring Operation: 100-64=36, Resulting Numbers: [36]\n36,73 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 73:[64, 76, 24], Operations: ['66-42=24']\nExploring Operation: 76-64=12, Resulting Numbers: [24, 12]\nGenerated Node #0,3,4: 73:[24, 12] Operation: 76-64=12\nMoving to Node #0,3,4\nCurrent State: 73:[24, 12], Operations: ['66-42=24', '76-64=12']\nExploring Operation: 24+12=36, Resulting Numbers: [36]\n36,73 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 73:[24, 12], Operations: ['66-42=24', '76-64=12']\nExploring Operation: 24-12=12, Resulting Numbers: [12]\n12,73 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 73:[24, 12], Operations: ['66-42=24', '76-64=12']\nExploring Operation: 24/12=2, Resulting Numbers: [2]\n2,73 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 73:[64, 76, 24], Operations: ['66-42=24']\nExploring Operation: 64+76=140, Resulting Numbers: [24, 140]\nGenerated Node #0,3,5: 73:[24, 140] Operation: 64+76=140\nMoving to Node #0,3,5\nCurrent State: 73:[24, 140], Operations: ['66-42=24', '64+76=140']\nExploring Operation: 140-24=116, Resulting Numbers: [116]\n116,73 unequal: No Solution\nMoving to Node #0\nCurrent State: 73:[66, 64, 76, 42], Operations: []\nExploring Operation: 64-42=22, Resulting Numbers: [66, 76, 22]\nGenerated Node #0,4: 73:[66, 76, 22] Operation: 64-42=22\nMoving to Node #0,4\nCurrent State: 73:[66, 76, 22], Operations: ['64-42=22']\nExploring Operation: 66+22=88, Resulting Numbers: [76, 88]\nGenerated Node #0,4,0: 73:[76, 88] Operation: 66+22=88\nMoving to Node #0,4,0\nCurrent State: 73:[76, 88], Operations: ['64-42=22', '66+22=88']\nExploring Operation: 88-76=12, Resulting Numbers: [12]\n12,73 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 73:[66, 76, 22], Operations: ['64-42=22']\nExploring Operation: 76-22=54, Resulting Numbers: [66, 54]\nGenerated Node #0,4,1: 73:[66, 54] Operation: 76-22=54\nMoving to Node #0,4,1\nCurrent State: 73:[66, 54], Operations: ['64-42=22', '76-22=54']\nExploring Operation: 66+54=120, Resulting Numbers: [120]\n120,73 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 73:[66, 54], Operations: ['64-42=22', '76-22=54']\nExploring Operation: 66-54=12, Resulting Numbers: [12]\n12,73 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 73:[66, 76, 22], Operations: ['64-42=22']\nExploring Operation: 66-22=44, Resulting Numbers: [76, 44]\nGenerated Node #0,4,2: 73:[76, 44] Operation: 66-22=44\nMoving to Node #0,4,2\nCurrent State: 73:[76, 44], Operations: ['64-42=22', '66-22=44']\nExploring Operation: 76-44=32, Resulting Numbers: [32]\n32,73 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 73:[76, 44], Operations: ['64-42=22', '66-22=44']\nExploring Operation: 76+44=120, Resulting Numbers: [120]\n120,73 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 73:[66, 76, 22], Operations: ['64-42=22']\nExploring Operation: 76+22=98, Resulting Numbers: [66, 98]\nGenerated Node #0,4,3: 73:[66, 98] Operation: 76+22=98\nMoving to Node #0,4,3\nCurrent State: 73:[66, 98], Operations: ['64-42=22', '76+22=98']\nExploring Operation: 98-66=32, Resulting Numbers: [32]\n32,73 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 73:[66, 76, 22], Operations: ['64-42=22']\nExploring Operation: 66/22=3, Resulting Numbers: [76, 3]\nGenerated Node #0,4,4: 73:[76, 3] Operation: 66/22=3\nMoving to Node #0,4,4\nCurrent State: 73:[76, 3], Operations: ['64-42=22', '66/22=3']\nExploring Operation: 76-3=73, Resulting Numbers: [73]\n73,73 equal: Goal Reached\n", "role": "assistant" } ]
[ 71, 50, 90, 95 ]
69
[ "95-50=45", "90/45=2", "71-2=69" ]
Current State: 69:[71, 50, 90, 95], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [71, 50, 5] Generated Node #0,0: 69:[71, 50, 5] Operation: 95-90=5 Moving to Node #0,0 Current State: 69:[71, 50, 5], Operations: ['95-90=5'] Exploring Operation: 71-50=21, Resulting Numbers: [5, 21] Generated Node #0,0,0: 69:[5, 21] Operation: 71-50=21 Moving to Node #0,0,0 Current State: 69:[5, 21], Operations: ['95-90=5', '71-50=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[5, 21], Operations: ['95-90=5', '71-50=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[5, 21], Operations: ['95-90=5', '71-50=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[71, 50, 5], Operations: ['95-90=5'] Exploring Operation: 50/5=10, Resulting Numbers: [71, 10] Generated Node #0,0,1: 69:[71, 10] Operation: 50/5=10 Moving to Node #0,0,1 Current State: 69:[71, 10], Operations: ['95-90=5', '50/5=10'] Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[71, 10], Operations: ['95-90=5', '50/5=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[71, 50, 5], Operations: ['95-90=5'] Exploring Operation: 50+5=55, Resulting Numbers: [71, 55] Generated Node #0,0,2: 69:[71, 55] Operation: 50+5=55 Moving to Node #0,0,2 Current State: 69:[71, 55], Operations: ['95-90=5', '50+5=55'] Exploring Operation: 71-55=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[71, 55], Operations: ['95-90=5', '50+5=55'] Exploring Operation: 71+55=126, Resulting Numbers: [126] 126,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[71, 50, 5], Operations: ['95-90=5'] Exploring Operation: 71-5=66, Resulting Numbers: [50, 66] Generated Node #0,0,3: 69:[50, 66] Operation: 71-5=66 Moving to Node #0,0,3 Current State: 69:[50, 66], Operations: ['95-90=5', '71-5=66'] Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[50, 66], Operations: ['95-90=5', '71-5=66'] Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[71, 50, 5], Operations: ['95-90=5'] Exploring Operation: 50-5=45, Resulting Numbers: [71, 45] Generated Node #0,0,4: 69:[71, 45] Operation: 50-5=45 Moving to Node #0,0,4 Current State: 69:[71, 45], Operations: ['95-90=5', '50-5=45'] Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[71, 45], Operations: ['95-90=5', '50-5=45'] Exploring Operation: 71+45=116, Resulting Numbers: [116] 116,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[71, 50, 5], Operations: ['95-90=5'] Exploring Operation: 71+5=76, Resulting Numbers: [50, 76] Generated Node #0,0,5: 69:[50, 76] Operation: 71+5=76 Moving to Node #0,0,5 Current State: 69:[50, 76], Operations: ['95-90=5', '71+5=76'] Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,69 unequal: No Solution Moving to Node #0,0,5 Current State: 69:[50, 76], Operations: ['95-90=5', '71+5=76'] Exploring Operation: 50+76=126, Resulting Numbers: [126] 126,69 unequal: No Solution Moving to Node #0,0 Current State: 69:[71, 50, 5], Operations: ['95-90=5'] Exploring Operation: 71+50=121, Resulting Numbers: [5, 121] Generated Node #0,0,6: 69:[5, 121] Operation: 71+50=121 Moving to Node #0,0,6 Current State: 69:[5, 121], Operations: ['95-90=5', '71+50=121'] Exploring Operation: 121-5=116, Resulting Numbers: [116] 116,69 unequal: No Solution Moving to Node #0,0,6 Current State: 69:[5, 121], Operations: ['95-90=5', '71+50=121'] Exploring Operation: 5+121=126, Resulting Numbers: [126] 126,69 unequal: No Solution Moving to Node #0 Current State: 69:[71, 50, 90, 95], Operations: [] Exploring Operation: 95-71=24, Resulting Numbers: [50, 90, 24] Generated Node #0,1: 69:[50, 90, 24] Operation: 95-71=24 Moving to Node #0,1 Current State: 69:[50, 90, 24], Operations: ['95-71=24'] Exploring Operation: 90-50=40, Resulting Numbers: [24, 40] Generated Node #0,1,0: 69:[24, 40] Operation: 90-50=40 Moving to Node #0,1,0 Current State: 69:[24, 40], Operations: ['95-71=24', '90-50=40'] Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[24, 40], Operations: ['95-71=24', '90-50=40'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[50, 90, 24], Operations: ['95-71=24'] Exploring Operation: 90-24=66, Resulting Numbers: [50, 66] Generated Node #0,1,1: 69:[50, 66] Operation: 90-24=66 Moving to Node #0,1,1 Current State: 69:[50, 66], Operations: ['95-71=24', '90-24=66'] Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[50, 66], Operations: ['95-71=24', '90-24=66'] Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[50, 90, 24], Operations: ['95-71=24'] Exploring Operation: 50-24=26, Resulting Numbers: [90, 26] Generated Node #0,1,2: 69:[90, 26] Operation: 50-24=26 Moving to Node #0,1,2 Current State: 69:[90, 26], Operations: ['95-71=24', '50-24=26'] Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[90, 26], Operations: ['95-71=24', '50-24=26'] Exploring Operation: 90+26=116, Resulting Numbers: [116] 116,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[50, 90, 24], Operations: ['95-71=24'] Exploring Operation: 50+24=74, Resulting Numbers: [90, 74] Generated Node #0,1,3: 69:[90, 74] Operation: 50+24=74 Moving to Node #0,1,3 Current State: 69:[90, 74], Operations: ['95-71=24', '50+24=74'] Exploring Operation: 90-74=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,1 Current State: 69:[50, 90, 24], Operations: ['95-71=24'] Exploring Operation: 90+24=114, Resulting Numbers: [50, 114] Generated Node #0,1,4: 69:[50, 114] Operation: 90+24=114 Moving to Node #0,1,4 Current State: 69:[50, 114], Operations: ['95-71=24', '90+24=114'] Exploring Operation: 114-50=64, Resulting Numbers: [64] 64,69 unequal: No Solution Moving to Node #0 Current State: 69:[71, 50, 90, 95], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [71, 95, 40] Generated Node #0,2: 69:[71, 95, 40] Operation: 90-50=40 Moving to Node #0,2 Current State: 69:[71, 95, 40], Operations: ['90-50=40'] Exploring Operation: 95-40=55, Resulting Numbers: [71, 55] Generated Node #0,2,0: 69:[71, 55] Operation: 95-40=55 Moving to Node #0,2,0 Current State: 69:[71, 55], Operations: ['90-50=40', '95-40=55'] Exploring Operation: 71-55=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[71, 55], Operations: ['90-50=40', '95-40=55'] Exploring Operation: 71+55=126, Resulting Numbers: [126] 126,69 unequal: No Solution Moving to Node #0,2 Current State: 69:[71, 95, 40], Operations: ['90-50=40'] Exploring Operation: 95-71=24, Resulting Numbers: [40, 24] Generated Node #0,2,1: 69:[40, 24] Operation: 95-71=24 Moving to Node #0,2,1 Current State: 69:[40, 24], Operations: ['90-50=40', '95-71=24'] Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[40, 24], Operations: ['90-50=40', '95-71=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,2 Current State: 69:[71, 95, 40], Operations: ['90-50=40'] Exploring Operation: 71-40=31, Resulting Numbers: [95, 31] Generated Node #0,2,2: 69:[95, 31] Operation: 71-40=31 Moving to Node #0,2,2 Current State: 69:[95, 31], Operations: ['90-50=40', '71-40=31'] Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[95, 31], Operations: ['90-50=40', '71-40=31'] Exploring Operation: 95+31=126, Resulting Numbers: [126] 126,69 unequal: No Solution Moving to Node #0,2 Current State: 69:[71, 95, 40], Operations: ['90-50=40'] Exploring Operation: 71+40=111, Resulting Numbers: [95, 111] Generated Node #0,2,3: 69:[95, 111] Operation: 71+40=111 Moving to Node #0,2,3 Current State: 69:[95, 111], Operations: ['90-50=40', '71+40=111'] Exploring Operation: 111-95=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,2 Current State: 69:[71, 95, 40], Operations: ['90-50=40'] Exploring Operation: 95+40=135, Resulting Numbers: [71, 135] Generated Node #0,2,4: 69:[71, 135] Operation: 95+40=135 Moving to Node #0,2,4 Current State: 69:[71, 135], Operations: ['90-50=40', '95+40=135'] Exploring Operation: 135-71=64, Resulting Numbers: [64] 64,69 unequal: No Solution Moving to Node #0 Current State: 69:[71, 50, 90, 95], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [71, 90, 45] Generated Node #0,3: 69:[71, 90, 45] Operation: 95-50=45 Moving to Node #0,3 Current State: 69:[71, 90, 45], Operations: ['95-50=45'] Exploring Operation: 90/45=2, Resulting Numbers: [71, 2] Generated Node #0,3,0: 69:[71, 2] Operation: 90/45=2 Moving to Node #0,3,0 Current State: 69:[71, 2], Operations: ['95-50=45', '90/45=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.952257
dfs
Current State: 69:[71, 50, 90, 95], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [71, 90, 45] Generated Node #2: [71, 90, 45] from Operation: 95-50=45 Current State: 69:[71, 90, 45], Operations: ['95-50=45'] Exploring Operation: 90/45=2, Resulting Numbers: [71, 2] Generated Node #3: [71, 2] from Operation: 90/45=2 Current State: 69:[71, 2], Operations: ['95-50=45', '90/45=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
mult_heuristic
[ { "content": "Make 69 with the numbers [71, 50, 90, 95] using standard arithmetic operations.", "role": "user" }, { "content": "Current State: 69:[71, 50, 90, 95], Operations: []\nExploring Operation: 95-90=5, Resulting Numbers: [71, 50, 5]\nGenerated Node #0,0: 69:[71, 50, 5] Operation: 95-90=5\nMoving to Node #0,0\nCurrent State: 69:[71, 50, 5], Operations: ['95-90=5']\nExploring Operation: 71-50=21, Resulting Numbers: [5, 21]\nGenerated Node #0,0,0: 69:[5, 21] Operation: 71-50=21\nMoving to Node #0,0,0\nCurrent State: 69:[5, 21], Operations: ['95-90=5', '71-50=21']\nExploring Operation: 5+21=26, Resulting Numbers: [26]\n26,69 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 69:[5, 21], Operations: ['95-90=5', '71-50=21']\nExploring Operation: 21-5=16, Resulting Numbers: [16]\n16,69 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 69:[5, 21], Operations: ['95-90=5', '71-50=21']\nExploring Operation: 5*21=105, Resulting Numbers: [105]\n105,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[71, 50, 5], Operations: ['95-90=5']\nExploring Operation: 50/5=10, Resulting Numbers: [71, 10]\nGenerated Node #0,0,1: 69:[71, 10] Operation: 50/5=10\nMoving to Node #0,0,1\nCurrent State: 69:[71, 10], Operations: ['95-90=5', '50/5=10']\nExploring Operation: 71-10=61, Resulting Numbers: [61]\n61,69 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 69:[71, 10], Operations: ['95-90=5', '50/5=10']\nExploring Operation: 71+10=81, Resulting Numbers: [81]\n81,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[71, 50, 5], Operations: ['95-90=5']\nExploring Operation: 50+5=55, Resulting Numbers: [71, 55]\nGenerated Node #0,0,2: 69:[71, 55] Operation: 50+5=55\nMoving to Node #0,0,2\nCurrent State: 69:[71, 55], Operations: ['95-90=5', '50+5=55']\nExploring Operation: 71-55=16, Resulting Numbers: [16]\n16,69 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 69:[71, 55], Operations: ['95-90=5', '50+5=55']\nExploring Operation: 71+55=126, Resulting Numbers: [126]\n126,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[71, 50, 5], Operations: ['95-90=5']\nExploring Operation: 71-5=66, Resulting Numbers: [50, 66]\nGenerated Node #0,0,3: 69:[50, 66] Operation: 71-5=66\nMoving to Node #0,0,3\nCurrent State: 69:[50, 66], Operations: ['95-90=5', '71-5=66']\nExploring Operation: 66-50=16, Resulting Numbers: [16]\n16,69 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 69:[50, 66], Operations: ['95-90=5', '71-5=66']\nExploring Operation: 50+66=116, Resulting Numbers: [116]\n116,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[71, 50, 5], Operations: ['95-90=5']\nExploring Operation: 50-5=45, Resulting Numbers: [71, 45]\nGenerated Node #0,0,4: 69:[71, 45] Operation: 50-5=45\nMoving to Node #0,0,4\nCurrent State: 69:[71, 45], Operations: ['95-90=5', '50-5=45']\nExploring Operation: 71-45=26, Resulting Numbers: [26]\n26,69 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 69:[71, 45], Operations: ['95-90=5', '50-5=45']\nExploring Operation: 71+45=116, Resulting Numbers: [116]\n116,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[71, 50, 5], Operations: ['95-90=5']\nExploring Operation: 71+5=76, Resulting Numbers: [50, 76]\nGenerated Node #0,0,5: 69:[50, 76] Operation: 71+5=76\nMoving to Node #0,0,5\nCurrent State: 69:[50, 76], Operations: ['95-90=5', '71+5=76']\nExploring Operation: 76-50=26, Resulting Numbers: [26]\n26,69 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 69:[50, 76], Operations: ['95-90=5', '71+5=76']\nExploring Operation: 50+76=126, Resulting Numbers: [126]\n126,69 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 69:[71, 50, 5], Operations: ['95-90=5']\nExploring Operation: 71+50=121, Resulting Numbers: [5, 121]\nGenerated Node #0,0,6: 69:[5, 121] Operation: 71+50=121\nMoving to Node #0,0,6\nCurrent State: 69:[5, 121], Operations: ['95-90=5', '71+50=121']\nExploring Operation: 121-5=116, Resulting Numbers: [116]\n116,69 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 69:[5, 121], Operations: ['95-90=5', '71+50=121']\nExploring Operation: 5+121=126, Resulting Numbers: [126]\n126,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[71, 50, 90, 95], Operations: []\nExploring Operation: 95-71=24, Resulting Numbers: [50, 90, 24]\nGenerated Node #0,1: 69:[50, 90, 24] Operation: 95-71=24\nMoving to Node #0,1\nCurrent State: 69:[50, 90, 24], Operations: ['95-71=24']\nExploring Operation: 90-50=40, Resulting Numbers: [24, 40]\nGenerated Node #0,1,0: 69:[24, 40] Operation: 90-50=40\nMoving to Node #0,1,0\nCurrent State: 69:[24, 40], Operations: ['95-71=24', '90-50=40']\nExploring Operation: 24+40=64, Resulting Numbers: [64]\n64,69 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 69:[24, 40], Operations: ['95-71=24', '90-50=40']\nExploring Operation: 40-24=16, Resulting Numbers: [16]\n16,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[50, 90, 24], Operations: ['95-71=24']\nExploring Operation: 90-24=66, Resulting Numbers: [50, 66]\nGenerated Node #0,1,1: 69:[50, 66] Operation: 90-24=66\nMoving to Node #0,1,1\nCurrent State: 69:[50, 66], Operations: ['95-71=24', '90-24=66']\nExploring Operation: 66-50=16, Resulting Numbers: [16]\n16,69 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 69:[50, 66], Operations: ['95-71=24', '90-24=66']\nExploring Operation: 50+66=116, Resulting Numbers: [116]\n116,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[50, 90, 24], Operations: ['95-71=24']\nExploring Operation: 50-24=26, Resulting Numbers: [90, 26]\nGenerated Node #0,1,2: 69:[90, 26] Operation: 50-24=26\nMoving to Node #0,1,2\nCurrent State: 69:[90, 26], Operations: ['95-71=24', '50-24=26']\nExploring Operation: 90-26=64, Resulting Numbers: [64]\n64,69 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 69:[90, 26], Operations: ['95-71=24', '50-24=26']\nExploring Operation: 90+26=116, Resulting Numbers: [116]\n116,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[50, 90, 24], Operations: ['95-71=24']\nExploring Operation: 50+24=74, Resulting Numbers: [90, 74]\nGenerated Node #0,1,3: 69:[90, 74] Operation: 50+24=74\nMoving to Node #0,1,3\nCurrent State: 69:[90, 74], Operations: ['95-71=24', '50+24=74']\nExploring Operation: 90-74=16, Resulting Numbers: [16]\n16,69 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 69:[50, 90, 24], Operations: ['95-71=24']\nExploring Operation: 90+24=114, Resulting Numbers: [50, 114]\nGenerated Node #0,1,4: 69:[50, 114] Operation: 90+24=114\nMoving to Node #0,1,4\nCurrent State: 69:[50, 114], Operations: ['95-71=24', '90+24=114']\nExploring Operation: 114-50=64, Resulting Numbers: [64]\n64,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[71, 50, 90, 95], Operations: []\nExploring Operation: 90-50=40, Resulting Numbers: [71, 95, 40]\nGenerated Node #0,2: 69:[71, 95, 40] Operation: 90-50=40\nMoving to Node #0,2\nCurrent State: 69:[71, 95, 40], Operations: ['90-50=40']\nExploring Operation: 95-40=55, Resulting Numbers: [71, 55]\nGenerated Node #0,2,0: 69:[71, 55] Operation: 95-40=55\nMoving to Node #0,2,0\nCurrent State: 69:[71, 55], Operations: ['90-50=40', '95-40=55']\nExploring Operation: 71-55=16, Resulting Numbers: [16]\n16,69 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 69:[71, 55], Operations: ['90-50=40', '95-40=55']\nExploring Operation: 71+55=126, Resulting Numbers: [126]\n126,69 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 69:[71, 95, 40], Operations: ['90-50=40']\nExploring Operation: 95-71=24, Resulting Numbers: [40, 24]\nGenerated Node #0,2,1: 69:[40, 24] Operation: 95-71=24\nMoving to Node #0,2,1\nCurrent State: 69:[40, 24], Operations: ['90-50=40', '95-71=24']\nExploring Operation: 40+24=64, Resulting Numbers: [64]\n64,69 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 69:[40, 24], Operations: ['90-50=40', '95-71=24']\nExploring Operation: 40-24=16, Resulting Numbers: [16]\n16,69 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 69:[71, 95, 40], Operations: ['90-50=40']\nExploring Operation: 71-40=31, Resulting Numbers: [95, 31]\nGenerated Node #0,2,2: 69:[95, 31] Operation: 71-40=31\nMoving to Node #0,2,2\nCurrent State: 69:[95, 31], Operations: ['90-50=40', '71-40=31']\nExploring Operation: 95-31=64, Resulting Numbers: [64]\n64,69 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 69:[95, 31], Operations: ['90-50=40', '71-40=31']\nExploring Operation: 95+31=126, Resulting Numbers: [126]\n126,69 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 69:[71, 95, 40], Operations: ['90-50=40']\nExploring Operation: 71+40=111, Resulting Numbers: [95, 111]\nGenerated Node #0,2,3: 69:[95, 111] Operation: 71+40=111\nMoving to Node #0,2,3\nCurrent State: 69:[95, 111], Operations: ['90-50=40', '71+40=111']\nExploring Operation: 111-95=16, Resulting Numbers: [16]\n16,69 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 69:[71, 95, 40], Operations: ['90-50=40']\nExploring Operation: 95+40=135, Resulting Numbers: [71, 135]\nGenerated Node #0,2,4: 69:[71, 135] Operation: 95+40=135\nMoving to Node #0,2,4\nCurrent State: 69:[71, 135], Operations: ['90-50=40', '95+40=135']\nExploring Operation: 135-71=64, Resulting Numbers: [64]\n64,69 unequal: No Solution\nMoving to Node #0\nCurrent State: 69:[71, 50, 90, 95], Operations: []\nExploring Operation: 95-50=45, Resulting Numbers: [71, 90, 45]\nGenerated Node #0,3: 69:[71, 90, 45] Operation: 95-50=45\nMoving to Node #0,3\nCurrent State: 69:[71, 90, 45], Operations: ['95-50=45']\nExploring Operation: 90/45=2, Resulting Numbers: [71, 2]\nGenerated Node #0,3,0: 69:[71, 2] Operation: 90/45=2\nMoving to Node #0,3,0\nCurrent State: 69:[71, 2], Operations: ['95-50=45', '90/45=2']\nExploring Operation: 71-2=69, Resulting Numbers: [69]\n69,69 equal: Goal Reached\n", "role": "assistant" } ]