messages
listlengths 2
2
| nums
listlengths 4
4
| target
int64 10
199
| search_type
stringclasses 6
values | heuristic
stringclasses 2
values | rating
float64 0
1
|
|---|---|---|---|---|---|
[
{
"content": "Given the numbers [34, 3, 191, 78] and the target 199, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 199:[34, 3, 191, 78], Operations: []\nExploring Operation: 34*3=102, Resulting Numbers: [191, 78, 102]\nGenerated Node #0,0: 199:[191, 78, 102] Operation: 34*3=102\nExploring Operation: 3*78=234, Resulting Numbers: [34, 191, 234]\nGenerated Node #0,1: 199:[34, 191, 234] Operation: 3*78=234\nMoving to Node #0,1\nCurrent State: 199:[34, 191, 234], Operations: ['3*78=234']\nExploring Operation: 34+191=225, Resulting Numbers: [234, 225]\nGenerated Node #0,1,0: 199:[234, 225] Operation: 34+191=225\nExploring Operation: 234-34=200, Resulting Numbers: [191, 200]\nGenerated Node #0,1,1: 199:[191, 200] Operation: 234-34=200\nMoving to Node #0,0\nCurrent State: 199:[191, 78, 102], Operations: ['34*3=102']\nExploring Operation: 191+78=269, Resulting Numbers: [102, 269]\nGenerated Node #0,0,0: 199:[102, 269] Operation: 191+78=269\nExploring Operation: 78+102=180, Resulting Numbers: [191, 180]\nGenerated Node #0,0,1: 199:[191, 180] Operation: 78+102=180\nMoving to Node #0,1,1\nCurrent State: 199:[191, 200], Operations: ['3*78=234', '234-34=200']\nExploring Operation: 200-191=9, Resulting Numbers: [9]\n9,199 unequal: No Solution\nExploring Operation: 191+200=391, Resulting Numbers: [391]\n391,199 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 199:[191, 180], Operations: ['34*3=102', '78+102=180']\nExploring Operation: 191+180=371, Resulting Numbers: [371]\n371,199 unequal: No Solution\nExploring Operation: 191-180=11, Resulting Numbers: [11]\n11,199 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 199:[234, 225], Operations: ['3*78=234', '34+191=225']\nExploring Operation: 234+225=459, Resulting Numbers: [459]\n459,199 unequal: No Solution\nExploring Operation: 234-225=9, Resulting Numbers: [9]\n9,199 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 199:[102, 269], Operations: ['34*3=102', '191+78=269']\nExploring Operation: 102+269=371, Resulting Numbers: [371]\n371,199 unequal: No Solution\nExploring Operation: 269-102=167, Resulting Numbers: [167]\n167,199 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 199:[167], Operations: ['34*3=102', '191+78=269', '269-102=167']\nMoving to Node #0,0,1,0\nCurrent State: 199:[371], Operations: ['34*3=102', '78+102=180', '191+180=371']\nMoving to Node #0,0,0,0\nCurrent State: 199:[371], Operations: ['34*3=102', '191+78=269', '102+269=371']\nMoving to Node #0,0,1,0\nCurrent State: 199:[11], Operations: ['34*3=102', '78+102=180', '191-180=11']\nMoving to Node #0,1,0,0\nCurrent State: 199:[9], Operations: ['3*78=234', '34+191=225', '234-225=9']\nMoving to Node #0,1,1,0\nCurrent State: 199:[9], Operations: ['3*78=234', '234-34=200', '200-191=9']\nMoving to Node #0,1,1,0\nCurrent State: 199:[391], Operations: ['3*78=234', '234-34=200', '191+200=391']\nMoving to Node #0,1,0,0\nCurrent State: 199:[459], Operations: ['3*78=234', '34+191=225', '234+225=459']",
"role": "assistant"
}
] |
[
34,
3,
191,
78
] | 199
|
bfs_2
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [49, 145, 171, 183] and the target 182, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 182:[49, 145, 171, 183], Operations: []\nExploring Operation: 183-49=134, Resulting Numbers: [145, 171, 134]\nGenerated Node #0,0: 182:[145, 171, 134] Operation: 183-49=134\nExploring Operation: 49+171=220, Resulting Numbers: [145, 183, 220]\nGenerated Node #0,1: 182:[145, 183, 220] Operation: 49+171=220\nExploring Operation: 49+145=194, Resulting Numbers: [171, 183, 194]\nGenerated Node #0,2: 182:[171, 183, 194] Operation: 49+145=194\nMoving to Node #0,2\nCurrent State: 182:[171, 183, 194], Operations: ['49+145=194']\nExploring Operation: 194-183=11, Resulting Numbers: [171, 11]\nGenerated Node #0,2,0: 182:[171, 11] Operation: 194-183=11\nExploring Operation: 183-171=12, Resulting Numbers: [194, 12]\nGenerated Node #0,2,1: 182:[194, 12] Operation: 183-171=12\nExploring Operation: 194-171=23, Resulting Numbers: [183, 23]\nGenerated Node #0,2,2: 182:[183, 23] Operation: 194-171=23\nMoving to Node #0,1\nCurrent State: 182:[145, 183, 220], Operations: ['49+171=220']\nExploring Operation: 220-145=75, Resulting Numbers: [183, 75]\nGenerated Node #0,1,0: 182:[183, 75] Operation: 220-145=75\nExploring Operation: 183-145=38, Resulting Numbers: [220, 38]\nGenerated Node #0,1,1: 182:[220, 38] Operation: 183-145=38\nExploring Operation: 220-183=37, Resulting Numbers: [145, 37]\nGenerated Node #0,1,2: 182:[145, 37] Operation: 220-183=37\nMoving to Node #0,0\nCurrent State: 182:[145, 171, 134], Operations: ['183-49=134']\nExploring Operation: 145+171=316, Resulting Numbers: [134, 316]\nGenerated Node #0,0,0: 182:[134, 316] Operation: 145+171=316\nExploring Operation: 171+134=305, Resulting Numbers: [145, 305]\nGenerated Node #0,0,1: 182:[145, 305] Operation: 171+134=305\nExploring Operation: 145+134=279, Resulting Numbers: [171, 279]\nGenerated Node #0,0,2: 182:[171, 279] Operation: 145+134=279\nMoving to Node #0,1,0\nCurrent State: 182:[183, 75], Operations: ['49+171=220', '220-145=75']\nExploring Operation: 183-75=108, Resulting Numbers: [108]\n108,182 unequal: No Solution\nExploring Operation: 183+75=258, Resulting Numbers: [258]\n258,182 unequal: No Solution\nExploring Operation: 183*75=13725, Resulting Numbers: [13725]\n13725,182 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 182:[171, 279], Operations: ['183-49=134', '145+134=279']\nExploring Operation: 279-171=108, Resulting Numbers: [108]\n108,182 unequal: No Solution\nExploring Operation: 171+279=450, Resulting Numbers: [450]\n450,182 unequal: No Solution\nExploring Operation: 171*279=47709, Resulting Numbers: [47709]\n47709,182 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 182:[183, 23], Operations: ['49+145=194', '194-171=23']\nExploring Operation: 183-23=160, Resulting Numbers: [160]\n160,182 unequal: No Solution\nExploring Operation: 183*23=4209, Resulting Numbers: [4209]\n4209,182 unequal: No Solution\nExploring Operation: 183+23=206, Resulting Numbers: [206]\n206,182 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 182:[160], Operations: ['49+145=194', '194-171=23', '183-23=160']\nMoving to Node #0,2,2,0\nCurrent State: 182:[206], Operations: ['49+145=194', '194-171=23', '183+23=206']\nMoving to Node #0,1,0,0\nCurrent State: 182:[108], Operations: ['49+171=220', '220-145=75', '183-75=108']\nMoving to Node #0,0,2,0\nCurrent State: 182:[108], Operations: ['183-49=134', '145+134=279', '279-171=108']\nMoving to Node #0,1,0,0\nCurrent State: 182:[258], Operations: ['49+171=220', '220-145=75', '183+75=258']\nMoving to Node #0,0,1\nCurrent State: 182:[145, 305], Operations: ['183-49=134', '171+134=305']\nExploring Operation: 145+305=450, Resulting Numbers: [450]\n450,182 unequal: No Solution\nExploring Operation: 145*305=44225, Resulting Numbers: [44225]\n44225,182 unequal: No Solution\nExploring Operation: 305-145=160, Resulting Numbers: [160]\n160,182 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 182:[160], Operations: ['183-49=134', '171+134=305', '305-145=160']\nMoving to Node #0,1,2\nCurrent State: 182:[145, 37], Operations: ['49+171=220', '220-183=37']\nExploring Operation: 145+37=182, Resulting Numbers: [182]\n182,182 equal: Goal Reached\nFinal operations:\n49+171=220\n220-183=37\n145+37=182",
"role": "assistant"
}
] |
[
49,
145,
171,
183
] | 182
|
bfs_3
|
sum_heuristic
| 0.977431
|
[
{
"content": "Given the numbers [25, 45, 165, 43] and the target 95, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 95:[25, 45, 165, 43], Operations: []\nExploring Operation: 165-25=140, Resulting Numbers: [45, 43, 140]\nGenerated Node #0,0: 95:[45, 43, 140] Operation: 165-25=140\nExploring Operation: 25+45=70, Resulting Numbers: [165, 43, 70]\nGenerated Node #0,1: 95:[165, 43, 70] Operation: 25+45=70\nMoving to Node #0,0\nCurrent State: 95:[45, 43, 140], Operations: ['165-25=140']\nExploring Operation: 140-45=95, Resulting Numbers: [43, 95]\nGenerated Node #0,0,0: 95:[43, 95] Operation: 140-45=95\nExploring Operation: 45+43=88, Resulting Numbers: [140, 88]\nGenerated Node #0,0,1: 95:[140, 88] Operation: 45+43=88\nMoving to Node #0,1\nCurrent State: 95:[165, 43, 70], Operations: ['25+45=70']\nExploring Operation: 165-43=122, Resulting Numbers: [70, 122]\nGenerated Node #0,1,0: 95:[70, 122] Operation: 165-43=122\nExploring Operation: 165-70=95, Resulting Numbers: [43, 95]\nGenerated Node #0,1,1: 95:[43, 95] Operation: 165-70=95\nMoving to Node #0,0,0\nCurrent State: 95:[43, 95], Operations: ['165-25=140', '140-45=95']\nExploring Operation: 43+95=138, Resulting Numbers: [138]\n138,95 unequal: No Solution\nExploring Operation: 95-43=52, Resulting Numbers: [52]\n52,95 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 95:[70, 122], Operations: ['25+45=70', '165-43=122']\nExploring Operation: 122-70=52, Resulting Numbers: [52]\n52,95 unequal: No Solution\nExploring Operation: 70+122=192, Resulting Numbers: [192]\n192,95 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 95:[140, 88], Operations: ['165-25=140', '45+43=88']\nExploring Operation: 140-88=52, Resulting Numbers: [52]\n52,95 unequal: No Solution\nExploring Operation: 140+88=228, Resulting Numbers: [228]\n228,95 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 95:[43, 95], Operations: ['25+45=70', '165-70=95']\nExploring Operation: 43+95=138, Resulting Numbers: [138]\n138,95 unequal: No Solution\nExploring Operation: 95-43=52, Resulting Numbers: [52]\n52,95 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 95:[138], Operations: ['165-25=140', '140-45=95', '43+95=138']\nMoving to Node #0,1,1,0\nCurrent State: 95:[138], Operations: ['25+45=70', '165-70=95', '43+95=138']\nMoving to Node #0,1,1,0\nCurrent State: 95:[52], Operations: ['25+45=70', '165-70=95', '95-43=52']\nMoving to Node #0,1,0,0\nCurrent State: 95:[52], Operations: ['25+45=70', '165-43=122', '122-70=52']\nMoving to Node #0,0,1,0\nCurrent State: 95:[52], Operations: ['165-25=140', '45+43=88', '140-88=52']\nMoving to Node #0,0,0,0\nCurrent State: 95:[52], Operations: ['165-25=140', '140-45=95', '95-43=52']\nMoving to Node #0,1,0,0\nCurrent State: 95:[192], Operations: ['25+45=70', '165-43=122', '70+122=192']\nMoving to Node #0,0,1,0\nCurrent State: 95:[228], Operations: ['165-25=140', '45+43=88', '140+88=228']",
"role": "assistant"
}
] |
[
25,
45,
165,
43
] | 95
|
bfs_2
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [97, 134, 14, 81] and the target 164, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 164:[97, 134, 14, 81], Operations: []\nExploring Operation: 97+14=111, Resulting Numbers: [134, 81, 111]\nGenerated Node #0,0: 164:[134, 81, 111] Operation: 97+14=111\nMoving to Node #0,0\nCurrent State: 164:[134, 81, 111], Operations: ['97+14=111']\nExploring Operation: 81+111=192, Resulting Numbers: [134, 192]\nGenerated Node #0,0,0: 164:[134, 192] Operation: 81+111=192\nMoving to Node #0,0,0\nCurrent State: 164:[134, 192], Operations: ['97+14=111', '81+111=192']\nExploring Operation: 192-134=58, Resulting Numbers: [58]\n58,164 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 164:[134, 192], Operations: ['97+14=111', '81+111=192']\nExploring Operation: 134+192=326, Resulting Numbers: [326]\n326,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[134, 81, 111], Operations: ['97+14=111']\nExploring Operation: 134+81=215, Resulting Numbers: [111, 215]\nGenerated Node #0,0,1: 164:[111, 215] Operation: 134+81=215\nMoving to Node #0,0,1\nCurrent State: 164:[111, 215], Operations: ['97+14=111', '134+81=215']\nExploring Operation: 215-111=104, Resulting Numbers: [104]\n104,164 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 164:[111, 215], Operations: ['97+14=111', '134+81=215']\nExploring Operation: 111+215=326, Resulting Numbers: [326]\n326,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[134, 81, 111], Operations: ['97+14=111']\nExploring Operation: 134-81=53, Resulting Numbers: [111, 53]\nGenerated Node #0,0,2: 164:[111, 53] Operation: 134-81=53\nMoving to Node #0,0,2\nCurrent State: 164:[111, 53], Operations: ['97+14=111', '134-81=53']\nExploring Operation: 111+53=164, Resulting Numbers: [164]\n164,164 equal: Goal Reached\nFinal operations:\n97+14=111\n134-81=53\n111+53=164",
"role": "assistant"
}
] |
[
97,
134,
14,
81
] | 164
|
dfs
|
sum_heuristic
| 0.991319
|
[
{
"content": "Given the numbers [165, 130, 140, 88] and the target 67, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 67:[165, 130, 140, 88], Operations: []\nExploring Operation: 165-130=35, Resulting Numbers: [140, 88, 35]\nGenerated Node #0,0: 67:[140, 88, 35] Operation: 165-130=35\nMoving to Node #0,0\nCurrent State: 67:[140, 88, 35], Operations: ['165-130=35']\nExploring Operation: 140-88=52, Resulting Numbers: [35, 52]\nGenerated Node #0,0,0: 67:[35, 52] Operation: 140-88=52\nMoving to Node #0,0,0\nCurrent State: 67:[35, 52], Operations: ['165-130=35', '140-88=52']\nExploring Operation: 35+52=87, Resulting Numbers: [87]\n87,67 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 67:[35, 52], Operations: ['165-130=35', '140-88=52']\nExploring Operation: 52-35=17, Resulting Numbers: [17]\n17,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[140, 88, 35], Operations: ['165-130=35']\nExploring Operation: 140-35=105, Resulting Numbers: [88, 105]\nGenerated Node #0,0,1: 67:[88, 105] Operation: 140-35=105\nMoving to Node #0,0,1\nCurrent State: 67:[88, 105], Operations: ['165-130=35', '140-35=105']\nExploring Operation: 105-88=17, Resulting Numbers: [17]\n17,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[140, 88, 35], Operations: ['165-130=35']\nExploring Operation: 140/35=4, Resulting Numbers: [88, 4]\nGenerated Node #0,0,2: 67:[88, 4] Operation: 140/35=4\nMoving to Node #0,0,2\nCurrent State: 67:[88, 4], Operations: ['165-130=35', '140/35=4']\nExploring Operation: 88-4=84, Resulting Numbers: [84]\n84,67 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 67:[88, 4], Operations: ['165-130=35', '140/35=4']\nExploring Operation: 88+4=92, Resulting Numbers: [92]\n92,67 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 67:[88, 4], Operations: ['165-130=35', '140/35=4']\nExploring Operation: 88/4=22, Resulting Numbers: [22]\n22,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[140, 88, 35], Operations: ['165-130=35']\nExploring Operation: 88-35=53, Resulting Numbers: [140, 53]\nGenerated Node #0,0,3: 67:[140, 53] Operation: 88-35=53\nMoving to Node #0,0,3\nCurrent State: 67:[140, 53], Operations: ['165-130=35', '88-35=53']\nExploring Operation: 140-53=87, Resulting Numbers: [87]\n87,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[140, 88, 35], Operations: ['165-130=35']\nExploring Operation: 140+35=175, Resulting Numbers: [88, 175]\nGenerated Node #0,0,4: 67:[88, 175] Operation: 140+35=175\nMoving to Node #0,0,4\nCurrent State: 67:[88, 175], Operations: ['165-130=35', '140+35=175']\nExploring Operation: 175-88=87, Resulting Numbers: [87]\n87,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[140, 88, 35], Operations: ['165-130=35']\nExploring Operation: 88+35=123, Resulting Numbers: [140, 123]\nGenerated Node #0,0,5: 67:[140, 123] Operation: 88+35=123\nMoving to Node #0,0,5\nCurrent State: 67:[140, 123], Operations: ['165-130=35', '88+35=123']\nExploring Operation: 140-123=17, Resulting Numbers: [17]\n17,67 unequal: No Solution\nMoving to Node #0\nCurrent State: 67:[165, 130, 140, 88], Operations: []\nExploring Operation: 165-140=25, Resulting Numbers: [130, 88, 25]\nGenerated Node #0,1: 67:[130, 88, 25] Operation: 165-140=25\nMoving to Node #0,1\nCurrent State: 67:[130, 88, 25], Operations: ['165-140=25']\nExploring Operation: 130-25=105, Resulting Numbers: [88, 105]\nGenerated Node #0,1,0: 67:[88, 105] Operation: 130-25=105\nMoving to Node #0,1,0\nCurrent State: 67:[88, 105], Operations: ['165-140=25', '130-25=105']\nExploring Operation: 105-88=17, Resulting Numbers: [17]\n17,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[130, 88, 25], Operations: ['165-140=25']\nExploring Operation: 130-88=42, Resulting Numbers: [25, 42]\nGenerated Node #0,1,1: 67:[25, 42] Operation: 130-88=42\nMoving to Node #0,1,1\nCurrent State: 67:[25, 42], Operations: ['165-140=25', '130-88=42']\nExploring Operation: 25+42=67, Resulting Numbers: [67]\n67,67 equal: Goal Reached\nFinal operations:\n165-140=25\n130-88=42\n25+42=67",
"role": "assistant"
}
] |
[
165,
130,
140,
88
] | 67
|
dfs
|
sum_heuristic
| 0.980903
|
[
{
"content": "Given the numbers [155, 67, 21, 135] and the target 26, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 26:[155, 67, 21, 135], Operations: []",
"role": "assistant"
}
] |
[
155,
67,
21,
135
] | 26
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [30, 35, 77, 105] and the target 98, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 98:[30, 35, 77, 105], Operations: []\nExploring Operation: 30+35=65, Resulting Numbers: [77, 105, 65]\nGenerated Node #0,0: 98:[77, 105, 65] Operation: 30+35=65\nMoving to Node #0,0\nCurrent State: 98:[77, 105, 65], Operations: ['30+35=65']\nExploring Operation: 77+65=142, Resulting Numbers: [105, 142]\nGenerated Node #0,0,0: 98:[105, 142] Operation: 77+65=142\nMoving to Node #0,0,0\nCurrent State: 98:[105, 142], Operations: ['30+35=65', '77+65=142']\nExploring Operation: 142-105=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[77, 105, 65], Operations: ['30+35=65']\nExploring Operation: 105-65=40, Resulting Numbers: [77, 40]\nGenerated Node #0,0,1: 98:[77, 40] Operation: 105-65=40\nMoving to Node #0,0,1\nCurrent State: 98:[77, 40], Operations: ['30+35=65', '105-65=40']\nExploring Operation: 77+40=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 98:[77, 40], Operations: ['30+35=65', '105-65=40']\nExploring Operation: 77-40=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[77, 105, 65], Operations: ['30+35=65']\nExploring Operation: 77-65=12, Resulting Numbers: [105, 12]\nGenerated Node #0,0,2: 98:[105, 12] Operation: 77-65=12\nMoving to Node #0,0,2\nCurrent State: 98:[105, 12], Operations: ['30+35=65', '77-65=12']\nExploring Operation: 105-12=93, Resulting Numbers: [93]\n93,98 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 98:[105, 12], Operations: ['30+35=65', '77-65=12']\nExploring Operation: 105+12=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[77, 105, 65], Operations: ['30+35=65']\nExploring Operation: 105+65=170, Resulting Numbers: [77, 170]\nGenerated Node #0,0,3: 98:[77, 170] Operation: 105+65=170\nMoving to Node #0,0,3\nCurrent State: 98:[77, 170], Operations: ['30+35=65', '105+65=170']\nExploring Operation: 170-77=93, Resulting Numbers: [93]\n93,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[77, 105, 65], Operations: ['30+35=65']\nExploring Operation: 105-77=28, Resulting Numbers: [65, 28]\nGenerated Node #0,0,4: 98:[65, 28] Operation: 105-77=28\nMoving to Node #0,0,4\nCurrent State: 98:[65, 28], Operations: ['30+35=65', '105-77=28']\nExploring Operation: 65+28=93, Resulting Numbers: [93]\n93,98 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 98:[65, 28], Operations: ['30+35=65', '105-77=28']\nExploring Operation: 65-28=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[77, 105, 65], Operations: ['30+35=65']\nExploring Operation: 77+105=182, Resulting Numbers: [65, 182]\nGenerated Node #0,0,5: 98:[65, 182] Operation: 77+105=182\nMoving to Node #0,0,5\nCurrent State: 98:[65, 182], Operations: ['30+35=65', '77+105=182']\nExploring Operation: 182-65=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[30, 35, 77, 105], Operations: []\nExploring Operation: 30+77=107, Resulting Numbers: [35, 105, 107]\nGenerated Node #0,1: 98:[35, 105, 107] Operation: 30+77=107\nMoving to Node #0,1\nCurrent State: 98:[35, 105, 107], Operations: ['30+77=107']\nExploring Operation: 107-35=72, Resulting Numbers: [105, 72]\nGenerated Node #0,1,0: 98:[105, 72] Operation: 107-35=72\nMoving to Node #0,1,0\nCurrent State: 98:[105, 72], Operations: ['30+77=107', '107-35=72']\nExploring Operation: 105-72=33, Resulting Numbers: [33]\n33,98 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 98:[105, 72], Operations: ['30+77=107', '107-35=72']\nExploring Operation: 105+72=177, Resulting Numbers: [177]\n177,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[35, 105, 107], Operations: ['30+77=107']\nExploring Operation: 105-35=70, Resulting Numbers: [107, 70]\nGenerated Node #0,1,1: 98:[107, 70] Operation: 105-35=70\nMoving to Node #0,1,1\nCurrent State: 98:[107, 70], Operations: ['30+77=107', '105-35=70']\nExploring Operation: 107-70=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 98:[107, 70], Operations: ['30+77=107', '105-35=70']\nExploring Operation: 107+70=177, Resulting Numbers: [177]\n177,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[35, 105, 107], Operations: ['30+77=107']\nExploring Operation: 35+105=140, Resulting Numbers: [107, 140]\nGenerated Node #0,1,2: 98:[107, 140] Operation: 35+105=140\nMoving to Node #0,1,2\nCurrent State: 98:[107, 140], Operations: ['30+77=107', '35+105=140']\nExploring Operation: 140-107=33, Resulting Numbers: [33]\n33,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[35, 105, 107], Operations: ['30+77=107']\nExploring Operation: 35+107=142, Resulting Numbers: [105, 142]\nGenerated Node #0,1,3: 98:[105, 142] Operation: 35+107=142\nMoving to Node #0,1,3\nCurrent State: 98:[105, 142], Operations: ['30+77=107', '35+107=142']\nExploring Operation: 142-105=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[35, 105, 107], Operations: ['30+77=107']\nExploring Operation: 105/35=3, Resulting Numbers: [107, 3]\nGenerated Node #0,1,4: 98:[107, 3] Operation: 105/35=3\nMoving to Node #0,1,4\nCurrent State: 98:[107, 3], Operations: ['30+77=107', '105/35=3']\nExploring Operation: 107-3=104, Resulting Numbers: [104]\n104,98 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 98:[107, 3], Operations: ['30+77=107', '105/35=3']\nExploring Operation: 107+3=110, Resulting Numbers: [110]\n110,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[35, 105, 107], Operations: ['30+77=107']\nExploring Operation: 107-105=2, Resulting Numbers: [35, 2]\nGenerated Node #0,1,5: 98:[35, 2] Operation: 107-105=2\nMoving to Node #0,1,5\nCurrent State: 98:[35, 2], Operations: ['30+77=107', '107-105=2']\nExploring Operation: 35*2=70, Resulting Numbers: [70]\n70,98 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 98:[35, 2], Operations: ['30+77=107', '107-105=2']\nExploring Operation: 35+2=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 98:[35, 2], Operations: ['30+77=107', '107-105=2']\nExploring Operation: 35-2=33, Resulting Numbers: [33]\n33,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[35, 105, 107], Operations: ['30+77=107']\nExploring Operation: 105+107=212, Resulting Numbers: [35, 212]\nGenerated Node #0,1,6: 98:[35, 212] Operation: 105+107=212\nMoving to Node #0,1,6\nCurrent State: 98:[35, 212], Operations: ['30+77=107', '105+107=212']\nExploring Operation: 212-35=177, Resulting Numbers: [177]\n177,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[30, 35, 77, 105], Operations: []\nExploring Operation: 35+77=112, Resulting Numbers: [30, 105, 112]\nGenerated Node #0,2: 98:[30, 105, 112] Operation: 35+77=112\nMoving to Node #0,2\nCurrent State: 98:[30, 105, 112], Operations: ['35+77=112']\nExploring Operation: 112-30=82, Resulting Numbers: [105, 82]\nGenerated Node #0,2,0: 98:[105, 82] Operation: 112-30=82\nMoving to Node #0,2,0\nCurrent State: 98:[105, 82], Operations: ['35+77=112', '112-30=82']\nExploring Operation: 105-82=23, Resulting Numbers: [23]\n23,98 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 98:[105, 82], Operations: ['35+77=112', '112-30=82']\nExploring Operation: 105+82=187, Resulting Numbers: [187]\n187,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[30, 105, 112], Operations: ['35+77=112']\nExploring Operation: 105-30=75, Resulting Numbers: [112, 75]\nGenerated Node #0,2,1: 98:[112, 75] Operation: 105-30=75\nMoving to Node #0,2,1\nCurrent State: 98:[112, 75], Operations: ['35+77=112', '105-30=75']\nExploring Operation: 112-75=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 98:[112, 75], Operations: ['35+77=112', '105-30=75']\nExploring Operation: 112+75=187, Resulting Numbers: [187]\n187,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[30, 105, 112], Operations: ['35+77=112']\nExploring Operation: 30+105=135, Resulting Numbers: [112, 135]\nGenerated Node #0,2,2: 98:[112, 135] Operation: 30+105=135\nMoving to Node #0,2,2\nCurrent State: 98:[112, 135], Operations: ['35+77=112', '30+105=135']\nExploring Operation: 135-112=23, Resulting Numbers: [23]\n23,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[30, 105, 112], Operations: ['35+77=112']\nExploring Operation: 30+112=142, Resulting Numbers: [105, 142]\nGenerated Node #0,2,3: 98:[105, 142] Operation: 30+112=142\nMoving to Node #0,2,3\nCurrent State: 98:[105, 142], Operations: ['35+77=112', '30+112=142']\nExploring Operation: 142-105=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[30, 105, 112], Operations: ['35+77=112']\nExploring Operation: 112-105=7, Resulting Numbers: [30, 7]\nGenerated Node #0,2,4: 98:[30, 7] Operation: 112-105=7\nMoving to Node #0,2,4\nCurrent State: 98:[30, 7], Operations: ['35+77=112', '112-105=7']\nExploring Operation: 30+7=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 98:[30, 7], Operations: ['35+77=112', '112-105=7']\nExploring Operation: 30-7=23, Resulting Numbers: [23]\n23,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[30, 105, 112], Operations: ['35+77=112']\nExploring Operation: 105+112=217, Resulting Numbers: [30, 217]\nGenerated Node #0,2,5: 98:[30, 217] Operation: 105+112=217\nMoving to Node #0,2,5\nCurrent State: 98:[30, 217], Operations: ['35+77=112', '105+112=217']\nExploring Operation: 217-30=187, Resulting Numbers: [187]\n187,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[30, 35, 77, 105], Operations: []\nExploring Operation: 105-30=75, Resulting Numbers: [35, 77, 75]\nGenerated Node #0,3: 98:[35, 77, 75] Operation: 105-30=75\nMoving to Node #0,3\nCurrent State: 98:[35, 77, 75], Operations: ['105-30=75']\nExploring Operation: 35+75=110, Resulting Numbers: [77, 110]\nGenerated Node #0,3,0: 98:[77, 110] Operation: 35+75=110\nMoving to Node #0,3,0\nCurrent State: 98:[77, 110], Operations: ['105-30=75', '35+75=110']\nExploring Operation: 110-77=33, Resulting Numbers: [33]\n33,98 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 98:[77, 110], Operations: ['105-30=75', '35+75=110']\nExploring Operation: 77+110=187, Resulting Numbers: [187]\n187,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[35, 77, 75], Operations: ['105-30=75']\nExploring Operation: 35+77=112, Resulting Numbers: [75, 112]\nGenerated Node #0,3,1: 98:[75, 112] Operation: 35+77=112\nMoving to Node #0,3,1\nCurrent State: 98:[75, 112], Operations: ['105-30=75', '35+77=112']\nExploring Operation: 112-75=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 98:[75, 112], Operations: ['105-30=75', '35+77=112']\nExploring Operation: 75+112=187, Resulting Numbers: [187]\n187,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[35, 77, 75], Operations: ['105-30=75']\nExploring Operation: 77-35=42, Resulting Numbers: [75, 42]\nGenerated Node #0,3,2: 98:[75, 42] Operation: 77-35=42\nMoving to Node #0,3,2\nCurrent State: 98:[75, 42], Operations: ['105-30=75', '77-35=42']\nExploring Operation: 75+42=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 98:[75, 42], Operations: ['105-30=75', '77-35=42']\nExploring Operation: 75-42=33, Resulting Numbers: [33]\n33,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[35, 77, 75], Operations: ['105-30=75']\nExploring Operation: 75-35=40, Resulting Numbers: [77, 40]\nGenerated Node #0,3,3: 98:[77, 40] Operation: 75-35=40\nMoving to Node #0,3,3\nCurrent State: 98:[77, 40], Operations: ['105-30=75', '75-35=40']\nExploring Operation: 77+40=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 98:[77, 40], Operations: ['105-30=75', '75-35=40']\nExploring Operation: 77-40=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[35, 77, 75], Operations: ['105-30=75']\nExploring Operation: 77+75=152, Resulting Numbers: [35, 152]\nGenerated Node #0,3,4: 98:[35, 152] Operation: 77+75=152\nMoving to Node #0,3,4\nCurrent State: 98:[35, 152], Operations: ['105-30=75', '77+75=152']\nExploring Operation: 152-35=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 98:[35, 152], Operations: ['105-30=75', '77+75=152']\nExploring Operation: 35+152=187, Resulting Numbers: [187]\n187,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[35, 77, 75], Operations: ['105-30=75']\nExploring Operation: 77-75=2, Resulting Numbers: [35, 2]\nGenerated Node #0,3,5: 98:[35, 2] Operation: 77-75=2\nMoving to Node #0,3,5\nCurrent State: 98:[35, 2], Operations: ['105-30=75', '77-75=2']\nExploring Operation: 35*2=70, Resulting Numbers: [70]\n70,98 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 98:[35, 2], Operations: ['105-30=75', '77-75=2']\nExploring Operation: 35+2=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 98:[35, 2], Operations: ['105-30=75', '77-75=2']\nExploring Operation: 35-2=33, Resulting Numbers: [33]\n33,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[30, 35, 77, 105], Operations: []\nExploring Operation: 105-35=70, Resulting Numbers: [30, 77, 70]\nGenerated Node #0,4: 98:[30, 77, 70] Operation: 105-35=70\nMoving to Node #0,4\nCurrent State: 98:[30, 77, 70], Operations: ['105-35=70']\nExploring Operation: 30+70=100, Resulting Numbers: [77, 100]\nGenerated Node #0,4,0: 98:[77, 100] Operation: 30+70=100\nMoving to Node #0,4,0\nCurrent State: 98:[77, 100], Operations: ['105-35=70', '30+70=100']\nExploring Operation: 100-77=23, Resulting Numbers: [23]\n23,98 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 98:[77, 100], Operations: ['105-35=70', '30+70=100']\nExploring Operation: 77+100=177, Resulting Numbers: [177]\n177,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[30, 77, 70], Operations: ['105-35=70']\nExploring Operation: 30+77=107, Resulting Numbers: [70, 107]\nGenerated Node #0,4,1: 98:[70, 107] Operation: 30+77=107\nMoving to Node #0,4,1\nCurrent State: 98:[70, 107], Operations: ['105-35=70', '30+77=107']\nExploring Operation: 107-70=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 98:[70, 107], Operations: ['105-35=70', '30+77=107']\nExploring Operation: 70+107=177, Resulting Numbers: [177]\n177,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[30, 77, 70], Operations: ['105-35=70']\nExploring Operation: 77-30=47, Resulting Numbers: [70, 47]\nGenerated Node #0,4,2: 98:[70, 47] Operation: 77-30=47\nMoving to Node #0,4,2\nCurrent State: 98:[70, 47], Operations: ['105-35=70', '77-30=47']\nExploring Operation: 70+47=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 98:[70, 47], Operations: ['105-35=70', '77-30=47']\nExploring Operation: 70-47=23, Resulting Numbers: [23]\n23,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[30, 77, 70], Operations: ['105-35=70']\nExploring Operation: 70-30=40, Resulting Numbers: [77, 40]\nGenerated Node #0,4,3: 98:[77, 40] Operation: 70-30=40\nMoving to Node #0,4,3\nCurrent State: 98:[77, 40], Operations: ['105-35=70', '70-30=40']\nExploring Operation: 77+40=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 98:[77, 40], Operations: ['105-35=70', '70-30=40']\nExploring Operation: 77-40=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[30, 77, 70], Operations: ['105-35=70']\nExploring Operation: 77+70=147, Resulting Numbers: [30, 147]\nGenerated Node #0,4,4: 98:[30, 147] Operation: 77+70=147\nMoving to Node #0,4,4\nCurrent State: 98:[30, 147], Operations: ['105-35=70', '77+70=147']\nExploring Operation: 147-30=117, Resulting Numbers: [117]\n117,98 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 98:[30, 147], Operations: ['105-35=70', '77+70=147']\nExploring Operation: 30+147=177, Resulting Numbers: [177]\n177,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[30, 77, 70], Operations: ['105-35=70']\nExploring Operation: 77-70=7, Resulting Numbers: [30, 7]\nGenerated Node #0,4,5: 98:[30, 7] Operation: 77-70=7\nMoving to Node #0,4,5\nCurrent State: 98:[30, 7], Operations: ['105-35=70', '77-70=7']\nExploring Operation: 30+7=37, Resulting Numbers: [37]\n37,98 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 98:[30, 7], Operations: ['105-35=70', '77-70=7']\nExploring Operation: 30-7=23, Resulting Numbers: [23]\n23,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[30, 35, 77, 105], Operations: []\nExploring Operation: 35-30=5, Resulting Numbers: [77, 105, 5]\nGenerated Node #0,5: 98:[77, 105, 5] Operation: 35-30=5\nMoving to Node #0,5\nCurrent State: 98:[77, 105, 5], Operations: ['35-30=5']\nExploring Operation: 77+5=82, Resulting Numbers: [105, 82]\nGenerated Node #0,5,0: 98:[105, 82] Operation: 77+5=82\nMoving to Node #0,5,0\nCurrent State: 98:[105, 82], Operations: ['35-30=5', '77+5=82']\nExploring Operation: 105-82=23, Resulting Numbers: [23]\n23,98 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 98:[105, 82], Operations: ['35-30=5', '77+5=82']\nExploring Operation: 105+82=187, Resulting Numbers: [187]\n187,98 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 98:[77, 105, 5], Operations: ['35-30=5']\nExploring Operation: 105-5=100, Resulting Numbers: [77, 100]\nGenerated Node #0,5,1: 98:[77, 100] Operation: 105-5=100\nMoving to Node #0,5,1\nCurrent State: 98:[77, 100], Operations: ['35-30=5', '105-5=100']\nExploring Operation: 100-77=23, Resulting Numbers: [23]\n23,98 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 98:[77, 100], Operations: ['35-30=5', '105-5=100']\nExploring Operation: 77+100=177, Resulting Numbers: [177]\n177,98 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 98:[77, 105, 5], Operations: ['35-30=5']\nExploring Operation: 77-5=72, Resulting Numbers: [105, 72]\nGenerated Node #0,5,2: 98:[105, 72] Operation: 77-5=72\nMoving to Node #0,5,2\nCurrent State: 98:[105, 72], Operations: ['35-30=5', '77-5=72']\nExploring Operation: 105-72=33, Resulting Numbers: [33]\n33,98 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 98:[105, 72], Operations: ['35-30=5', '77-5=72']\nExploring Operation: 105+72=177, Resulting Numbers: [177]\n177,98 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 98:[77, 105, 5], Operations: ['35-30=5']\nExploring Operation: 105+5=110, Resulting Numbers: [77, 110]\nGenerated Node #0,5,3: 98:[77, 110] Operation: 105+5=110\nMoving to Node #0,5,3\nCurrent State: 98:[77, 110], Operations: ['35-30=5', '105+5=110']\nExploring Operation: 110-77=33, Resulting Numbers: [33]\n33,98 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 98:[77, 110], Operations: ['35-30=5', '105+5=110']\nExploring Operation: 77+110=187, Resulting Numbers: [187]\n187,98 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 98:[77, 105, 5], Operations: ['35-30=5']\nExploring Operation: 105/5=21, Resulting Numbers: [77, 21]\nGenerated Node #0,5,4: 98:[77, 21] Operation: 105/5=21\nMoving to Node #0,5,4\nCurrent State: 98:[77, 21], Operations: ['35-30=5', '105/5=21']\nExploring Operation: 77+21=98, Resulting Numbers: [98]\n98,98 equal: Goal Reached\nFinal operations:\n35-30=5\n105/5=21\n77+21=98",
"role": "assistant"
}
] |
[
30,
35,
77,
105
] | 98
|
dfs
|
sum_heuristic
| 0.907118
|
[
{
"content": "Given the numbers [87, 75, 102, 109] and the target 199, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 199:[87, 75, 102, 109], Operations: []\nExploring Operation: 87+75=162, Resulting Numbers: [102, 109, 162]\nGenerated Node #0,0: 199:[102, 109, 162] Operation: 87+75=162\nMoving to Node #0,0\nCurrent State: 199:[102, 109, 162], Operations: ['87+75=162']\nExploring Operation: 102+109=211, Resulting Numbers: [162, 211]\nGenerated Node #0,0,0: 199:[162, 211] Operation: 102+109=211\nMoving to Node #0,0,0\nCurrent State: 199:[162, 211], Operations: ['87+75=162', '102+109=211']\nExploring Operation: 211-162=49, Resulting Numbers: [49]\n49,199 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 199:[162, 211], Operations: ['87+75=162', '102+109=211']\nExploring Operation: 162+211=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[102, 109, 162], Operations: ['87+75=162']\nExploring Operation: 102+162=264, Resulting Numbers: [109, 264]\nGenerated Node #0,0,1: 199:[109, 264] Operation: 102+162=264\nMoving to Node #0,0,1\nCurrent State: 199:[109, 264], Operations: ['87+75=162', '102+162=264']\nExploring Operation: 264-109=155, Resulting Numbers: [155]\n155,199 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 199:[109, 264], Operations: ['87+75=162', '102+162=264']\nExploring Operation: 109+264=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[102, 109, 162], Operations: ['87+75=162']\nExploring Operation: 109+162=271, Resulting Numbers: [102, 271]\nGenerated Node #0,0,2: 199:[102, 271] Operation: 109+162=271\nMoving to Node #0,0,2\nCurrent State: 199:[102, 271], Operations: ['87+75=162', '109+162=271']\nExploring Operation: 271-102=169, Resulting Numbers: [169]\n169,199 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 199:[102, 271], Operations: ['87+75=162', '109+162=271']\nExploring Operation: 102+271=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[102, 109, 162], Operations: ['87+75=162']\nExploring Operation: 109-102=7, Resulting Numbers: [162, 7]\nGenerated Node #0,0,3: 199:[162, 7] Operation: 109-102=7\nMoving to Node #0,0,3\nCurrent State: 199:[162, 7], Operations: ['87+75=162', '109-102=7']\nExploring Operation: 162+7=169, Resulting Numbers: [169]\n169,199 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 199:[162, 7], Operations: ['87+75=162', '109-102=7']\nExploring Operation: 162-7=155, Resulting Numbers: [155]\n155,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[102, 109, 162], Operations: ['87+75=162']\nExploring Operation: 162-102=60, Resulting Numbers: [109, 60]\nGenerated Node #0,0,4: 199:[109, 60] Operation: 162-102=60\nMoving to Node #0,0,4\nCurrent State: 199:[109, 60], Operations: ['87+75=162', '162-102=60']\nExploring Operation: 109+60=169, Resulting Numbers: [169]\n169,199 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 199:[109, 60], Operations: ['87+75=162', '162-102=60']\nExploring Operation: 109-60=49, Resulting Numbers: [49]\n49,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[102, 109, 162], Operations: ['87+75=162']\nExploring Operation: 162-109=53, Resulting Numbers: [102, 53]\nGenerated Node #0,0,5: 199:[102, 53] Operation: 162-109=53\nMoving to Node #0,0,5\nCurrent State: 199:[102, 53], Operations: ['87+75=162', '162-109=53']\nExploring Operation: 102+53=155, Resulting Numbers: [155]\n155,199 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 199:[102, 53], Operations: ['87+75=162', '162-109=53']\nExploring Operation: 102-53=49, Resulting Numbers: [49]\n49,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[87, 75, 102, 109], Operations: []\nExploring Operation: 87+102=189, Resulting Numbers: [75, 109, 189]\nGenerated Node #0,1: 199:[75, 109, 189] Operation: 87+102=189\nMoving to Node #0,1\nCurrent State: 199:[75, 109, 189], Operations: ['87+102=189']\nExploring Operation: 75+109=184, Resulting Numbers: [189, 184]\nGenerated Node #0,1,0: 199:[189, 184] Operation: 75+109=184\nMoving to Node #0,1,0\nCurrent State: 199:[189, 184], Operations: ['87+102=189', '75+109=184']\nExploring Operation: 189+184=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 199:[189, 184], Operations: ['87+102=189', '75+109=184']\nExploring Operation: 189-184=5, Resulting Numbers: [5]\n5,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[75, 109, 189], Operations: ['87+102=189']\nExploring Operation: 75+189=264, Resulting Numbers: [109, 264]\nGenerated Node #0,1,1: 199:[109, 264] Operation: 75+189=264\nMoving to Node #0,1,1\nCurrent State: 199:[109, 264], Operations: ['87+102=189', '75+189=264']\nExploring Operation: 264-109=155, Resulting Numbers: [155]\n155,199 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 199:[109, 264], Operations: ['87+102=189', '75+189=264']\nExploring Operation: 109+264=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[75, 109, 189], Operations: ['87+102=189']\nExploring Operation: 109-75=34, Resulting Numbers: [189, 34]\nGenerated Node #0,1,2: 199:[189, 34] Operation: 109-75=34\nMoving to Node #0,1,2\nCurrent State: 199:[189, 34], Operations: ['87+102=189', '109-75=34']\nExploring Operation: 189+34=223, Resulting Numbers: [223]\n223,199 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 199:[189, 34], Operations: ['87+102=189', '109-75=34']\nExploring Operation: 189-34=155, Resulting Numbers: [155]\n155,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[75, 109, 189], Operations: ['87+102=189']\nExploring Operation: 189-75=114, Resulting Numbers: [109, 114]\nGenerated Node #0,1,3: 199:[109, 114] Operation: 189-75=114\nMoving to Node #0,1,3\nCurrent State: 199:[109, 114], Operations: ['87+102=189', '189-75=114']\nExploring Operation: 109+114=223, Resulting Numbers: [223]\n223,199 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 199:[109, 114], Operations: ['87+102=189', '189-75=114']\nExploring Operation: 114-109=5, Resulting Numbers: [5]\n5,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[75, 109, 189], Operations: ['87+102=189']\nExploring Operation: 109+189=298, Resulting Numbers: [75, 298]\nGenerated Node #0,1,4: 199:[75, 298] Operation: 109+189=298\nMoving to Node #0,1,4\nCurrent State: 199:[75, 298], Operations: ['87+102=189', '109+189=298']\nExploring Operation: 298-75=223, Resulting Numbers: [223]\n223,199 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 199:[75, 298], Operations: ['87+102=189', '109+189=298']\nExploring Operation: 75+298=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[75, 109, 189], Operations: ['87+102=189']\nExploring Operation: 189-109=80, Resulting Numbers: [75, 80]\nGenerated Node #0,1,5: 199:[75, 80] Operation: 189-109=80\nMoving to Node #0,1,5\nCurrent State: 199:[75, 80], Operations: ['87+102=189', '189-109=80']\nExploring Operation: 75+80=155, Resulting Numbers: [155]\n155,199 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 199:[75, 80], Operations: ['87+102=189', '189-109=80']\nExploring Operation: 80-75=5, Resulting Numbers: [5]\n5,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[87, 75, 102, 109], Operations: []\nExploring Operation: 87+109=196, Resulting Numbers: [75, 102, 196]\nGenerated Node #0,2: 199:[75, 102, 196] Operation: 87+109=196\nMoving to Node #0,2\nCurrent State: 199:[75, 102, 196], Operations: ['87+109=196']\nExploring Operation: 75+102=177, Resulting Numbers: [196, 177]\nGenerated Node #0,2,0: 199:[196, 177] Operation: 75+102=177\nMoving to Node #0,2,0\nCurrent State: 199:[196, 177], Operations: ['87+109=196', '75+102=177']\nExploring Operation: 196+177=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 199:[196, 177], Operations: ['87+109=196', '75+102=177']\nExploring Operation: 196-177=19, Resulting Numbers: [19]\n19,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[75, 102, 196], Operations: ['87+109=196']\nExploring Operation: 75+196=271, Resulting Numbers: [102, 271]\nGenerated Node #0,2,1: 199:[102, 271] Operation: 75+196=271\nMoving to Node #0,2,1\nCurrent State: 199:[102, 271], Operations: ['87+109=196', '75+196=271']\nExploring Operation: 271-102=169, Resulting Numbers: [169]\n169,199 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 199:[102, 271], Operations: ['87+109=196', '75+196=271']\nExploring Operation: 102+271=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[75, 102, 196], Operations: ['87+109=196']\nExploring Operation: 102-75=27, Resulting Numbers: [196, 27]\nGenerated Node #0,2,2: 199:[196, 27] Operation: 102-75=27\nMoving to Node #0,2,2\nCurrent State: 199:[196, 27], Operations: ['87+109=196', '102-75=27']\nExploring Operation: 196+27=223, Resulting Numbers: [223]\n223,199 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 199:[196, 27], Operations: ['87+109=196', '102-75=27']\nExploring Operation: 196-27=169, Resulting Numbers: [169]\n169,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[75, 102, 196], Operations: ['87+109=196']\nExploring Operation: 196-75=121, Resulting Numbers: [102, 121]\nGenerated Node #0,2,3: 199:[102, 121] Operation: 196-75=121\nMoving to Node #0,2,3\nCurrent State: 199:[102, 121], Operations: ['87+109=196', '196-75=121']\nExploring Operation: 102+121=223, Resulting Numbers: [223]\n223,199 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 199:[102, 121], Operations: ['87+109=196', '196-75=121']\nExploring Operation: 121-102=19, Resulting Numbers: [19]\n19,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[75, 102, 196], Operations: ['87+109=196']\nExploring Operation: 102+196=298, Resulting Numbers: [75, 298]\nGenerated Node #0,2,4: 199:[75, 298] Operation: 102+196=298\nMoving to Node #0,2,4\nCurrent State: 199:[75, 298], Operations: ['87+109=196', '102+196=298']\nExploring Operation: 298-75=223, Resulting Numbers: [223]\n223,199 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 199:[75, 298], Operations: ['87+109=196', '102+196=298']\nExploring Operation: 75+298=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[75, 102, 196], Operations: ['87+109=196']\nExploring Operation: 196-102=94, Resulting Numbers: [75, 94]\nGenerated Node #0,2,5: 199:[75, 94] Operation: 196-102=94\nMoving to Node #0,2,5\nCurrent State: 199:[75, 94], Operations: ['87+109=196', '196-102=94']\nExploring Operation: 75+94=169, Resulting Numbers: [169]\n169,199 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 199:[75, 94], Operations: ['87+109=196', '196-102=94']\nExploring Operation: 94-75=19, Resulting Numbers: [19]\n19,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[87, 75, 102, 109], Operations: []\nExploring Operation: 75+102=177, Resulting Numbers: [87, 109, 177]\nGenerated Node #0,3: 199:[87, 109, 177] Operation: 75+102=177\nMoving to Node #0,3\nCurrent State: 199:[87, 109, 177], Operations: ['75+102=177']\nExploring Operation: 87+109=196, Resulting Numbers: [177, 196]\nGenerated Node #0,3,0: 199:[177, 196] Operation: 87+109=196\nMoving to Node #0,3,0\nCurrent State: 199:[177, 196], Operations: ['75+102=177', '87+109=196']\nExploring Operation: 177+196=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 199:[177, 196], Operations: ['75+102=177', '87+109=196']\nExploring Operation: 196-177=19, Resulting Numbers: [19]\n19,199 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 199:[87, 109, 177], Operations: ['75+102=177']\nExploring Operation: 87+177=264, Resulting Numbers: [109, 264]\nGenerated Node #0,3,1: 199:[109, 264] Operation: 87+177=264\nMoving to Node #0,3,1\nCurrent State: 199:[109, 264], Operations: ['75+102=177', '87+177=264']\nExploring Operation: 264-109=155, Resulting Numbers: [155]\n155,199 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 199:[109, 264], Operations: ['75+102=177', '87+177=264']\nExploring Operation: 109+264=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 199:[87, 109, 177], Operations: ['75+102=177']\nExploring Operation: 109-87=22, Resulting Numbers: [177, 22]\nGenerated Node #0,3,2: 199:[177, 22] Operation: 109-87=22\nMoving to Node #0,3,2\nCurrent State: 199:[177, 22], Operations: ['75+102=177', '109-87=22']\nExploring Operation: 177+22=199, Resulting Numbers: [199]\n199,199 equal: Goal Reached\nFinal operations:\n75+102=177\n109-87=22\n177+22=199",
"role": "assistant"
}
] |
[
87,
75,
102,
109
] | 199
|
dfs
|
sum_heuristic
| 0.94184
|
[
{
"content": "Given the numbers [113, 67, 110, 8] and the target 164, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 164:[113, 67, 110, 8], Operations: []\nExploring Operation: 113-110=3, Resulting Numbers: [67, 8, 3]\nGenerated Node #0,0: 164:[67, 8, 3] Operation: 113-110=3\nMoving to Node #0,0\nCurrent State: 164:[67, 8, 3], Operations: ['113-110=3']\nExploring Operation: 67+8=75, Resulting Numbers: [3, 75]\nGenerated Node #0,0,0: 164:[3, 75] Operation: 67+8=75\nMoving to Node #0,0,0\nCurrent State: 164:[3, 75], Operations: ['113-110=3', '67+8=75']\nExploring Operation: 3+75=78, Resulting Numbers: [78]\n78,164 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 164:[3, 75], Operations: ['113-110=3', '67+8=75']\nExploring Operation: 75-3=72, Resulting Numbers: [72]\n72,164 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 164:[3, 75], Operations: ['113-110=3', '67+8=75']\nExploring Operation: 75/3=25, Resulting Numbers: [25]\n25,164 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 164:[3, 75], Operations: ['113-110=3', '67+8=75']\nExploring Operation: 3*75=225, Resulting Numbers: [225]\n225,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[67, 8, 3], Operations: ['113-110=3']\nExploring Operation: 67+3=70, Resulting Numbers: [8, 70]\nGenerated Node #0,0,1: 164:[8, 70] Operation: 67+3=70\nMoving to Node #0,0,1\nCurrent State: 164:[8, 70], Operations: ['113-110=3', '67+3=70']\nExploring Operation: 8+70=78, Resulting Numbers: [78]\n78,164 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 164:[8, 70], Operations: ['113-110=3', '67+3=70']\nExploring Operation: 70-8=62, Resulting Numbers: [62]\n62,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[67, 8, 3], Operations: ['113-110=3']\nExploring Operation: 8-3=5, Resulting Numbers: [67, 5]\nGenerated Node #0,0,2: 164:[67, 5] Operation: 8-3=5\nMoving to Node #0,0,2\nCurrent State: 164:[67, 5], Operations: ['113-110=3', '8-3=5']\nExploring Operation: 67+5=72, Resulting Numbers: [72]\n72,164 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 164:[67, 5], Operations: ['113-110=3', '8-3=5']\nExploring Operation: 67-5=62, Resulting Numbers: [62]\n62,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[67, 8, 3], Operations: ['113-110=3']\nExploring Operation: 67-8=59, Resulting Numbers: [3, 59]\nGenerated Node #0,0,3: 164:[3, 59] Operation: 67-8=59\nMoving to Node #0,0,3\nCurrent State: 164:[3, 59], Operations: ['113-110=3', '67-8=59']\nExploring Operation: 3*59=177, Resulting Numbers: [177]\n177,164 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 164:[3, 59], Operations: ['113-110=3', '67-8=59']\nExploring Operation: 59-3=56, Resulting Numbers: [56]\n56,164 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 164:[3, 59], Operations: ['113-110=3', '67-8=59']\nExploring Operation: 3+59=62, Resulting Numbers: [62]\n62,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[67, 8, 3], Operations: ['113-110=3']\nExploring Operation: 67-3=64, Resulting Numbers: [8, 64]\nGenerated Node #0,0,4: 164:[8, 64] Operation: 67-3=64\nMoving to Node #0,0,4\nCurrent State: 164:[8, 64], Operations: ['113-110=3', '67-3=64']\nExploring Operation: 64/8=8, Resulting Numbers: [8]\n8,164 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 164:[8, 64], Operations: ['113-110=3', '67-3=64']\nExploring Operation: 8+64=72, Resulting Numbers: [72]\n72,164 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 164:[8, 64], Operations: ['113-110=3', '67-3=64']\nExploring Operation: 64-8=56, Resulting Numbers: [56]\n56,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[67, 8, 3], Operations: ['113-110=3']\nExploring Operation: 8+3=11, Resulting Numbers: [67, 11]\nGenerated Node #0,0,5: 164:[67, 11] Operation: 8+3=11\nMoving to Node #0,0,5\nCurrent State: 164:[67, 11], Operations: ['113-110=3', '8+3=11']\nExploring Operation: 67+11=78, Resulting Numbers: [78]\n78,164 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 164:[67, 11], Operations: ['113-110=3', '8+3=11']\nExploring Operation: 67-11=56, Resulting Numbers: [56]\n56,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[67, 8, 3], Operations: ['113-110=3']\nExploring Operation: 8*3=24, Resulting Numbers: [67, 24]\nGenerated Node #0,0,6: 164:[67, 24] Operation: 8*3=24\nMoving to Node #0,0,6\nCurrent State: 164:[67, 24], Operations: ['113-110=3', '8*3=24']\nExploring Operation: 67-24=43, Resulting Numbers: [43]\n43,164 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 164:[67, 24], Operations: ['113-110=3', '8*3=24']\nExploring Operation: 67+24=91, Resulting Numbers: [91]\n91,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[67, 8, 3], Operations: ['113-110=3']\nExploring Operation: 67*3=201, Resulting Numbers: [8, 201]\nGenerated Node #0,0,7: 164:[8, 201] Operation: 67*3=201\nMoving to Node #0,0,7\nCurrent State: 164:[8, 201], Operations: ['113-110=3', '67*3=201']\nExploring Operation: 201-8=193, Resulting Numbers: [193]\n193,164 unequal: No Solution\nMoving to Node #0,0,7\nCurrent State: 164:[8, 201], Operations: ['113-110=3', '67*3=201']\nExploring Operation: 8+201=209, Resulting Numbers: [209]\n209,164 unequal: No Solution\nMoving to Node #0\nCurrent State: 164:[113, 67, 110, 8], Operations: []\nExploring Operation: 113-67=46, Resulting Numbers: [110, 8, 46]\nGenerated Node #0,1: 164:[110, 8, 46] Operation: 113-67=46\nMoving to Node #0,1\nCurrent State: 164:[110, 8, 46], Operations: ['113-67=46']\nExploring Operation: 110+46=156, Resulting Numbers: [8, 156]\nGenerated Node #0,1,0: 164:[8, 156] Operation: 110+46=156\nMoving to Node #0,1,0\nCurrent State: 164:[8, 156], Operations: ['113-67=46', '110+46=156']\nExploring Operation: 8+156=164, Resulting Numbers: [164]\n164,164 equal: Goal Reached\nFinal operations:\n113-67=46\n110+46=156\n8+156=164",
"role": "assistant"
}
] |
[
113,
67,
110,
8
] | 164
|
dfs
|
mult_heuristic
| 0.971354
|
[
{
"content": "Given the numbers [138, 157, 25, 121] and the target 199, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 199:[138, 157, 25, 121], Operations: []\nExploring Operation: 138+25=163, Resulting Numbers: [157, 121, 163]\nGenerated Node #0,0: 199:[157, 121, 163] Operation: 138+25=163\nExploring Operation: 138-25=113, Resulting Numbers: [157, 121, 113]\nGenerated Node #0,1: 199:[157, 121, 113] Operation: 138-25=113\nExploring Operation: 25+121=146, Resulting Numbers: [138, 157, 146]\nGenerated Node #0,2: 199:[138, 157, 146] Operation: 25+121=146\nExploring Operation: 157+25=182, Resulting Numbers: [138, 121, 182]\nGenerated Node #0,3: 199:[138, 121, 182] Operation: 157+25=182\nMoving to Node #0,0\nCurrent State: 199:[157, 121, 163], Operations: ['138+25=163']\nExploring Operation: 157-121=36, Resulting Numbers: [163, 36]\nGenerated Node #0,0,0: 199:[163, 36] Operation: 157-121=36\nExploring Operation: 157+121=278, Resulting Numbers: [163, 278]\nGenerated Node #0,0,1: 199:[163, 278] Operation: 157+121=278\nExploring Operation: 121+163=284, Resulting Numbers: [157, 284]\nGenerated Node #0,0,2: 199:[157, 284] Operation: 121+163=284\nExploring Operation: 157+163=320, Resulting Numbers: [121, 320]\nGenerated Node #0,0,3: 199:[121, 320] Operation: 157+163=320\nMoving to Node #0,3\nCurrent State: 199:[138, 121, 182], Operations: ['157+25=182']\nExploring Operation: 121+182=303, Resulting Numbers: [138, 303]\nGenerated Node #0,3,0: 199:[138, 303] Operation: 121+182=303\nExploring Operation: 138+182=320, Resulting Numbers: [121, 320]\nGenerated Node #0,3,1: 199:[121, 320] Operation: 138+182=320\nExploring Operation: 138-121=17, Resulting Numbers: [182, 17]\nGenerated Node #0,3,2: 199:[182, 17] Operation: 138-121=17\nExploring Operation: 138+121=259, Resulting Numbers: [182, 259]\nGenerated Node #0,3,3: 199:[182, 259] Operation: 138+121=259\nMoving to Node #0,2\nCurrent State: 199:[138, 157, 146], Operations: ['25+121=146']\nExploring Operation: 157-138=19, Resulting Numbers: [146, 19]\nGenerated Node #0,2,0: 199:[146, 19] Operation: 157-138=19\nExploring Operation: 138+157=295, Resulting Numbers: [146, 295]\nGenerated Node #0,2,1: 199:[146, 295] Operation: 138+157=295\nExploring Operation: 138+146=284, Resulting Numbers: [157, 284]\nGenerated Node #0,2,2: 199:[157, 284] Operation: 138+146=284\nExploring Operation: 157+146=303, Resulting Numbers: [138, 303]\nGenerated Node #0,2,3: 199:[138, 303] Operation: 157+146=303\nMoving to Node #0,1\nCurrent State: 199:[157, 121, 113], Operations: ['138-25=113']\nExploring Operation: 157-113=44, Resulting Numbers: [121, 44]\nGenerated Node #0,1,0: 199:[121, 44] Operation: 157-113=44\nExploring Operation: 157+113=270, Resulting Numbers: [121, 270]\nGenerated Node #0,1,1: 199:[121, 270] Operation: 157+113=270\nExploring Operation: 121+113=234, Resulting Numbers: [157, 234]\nGenerated Node #0,1,2: 199:[157, 234] Operation: 121+113=234\nExploring Operation: 157+121=278, Resulting Numbers: [113, 278]\nGenerated Node #0,1,3: 199:[113, 278] Operation: 157+121=278\nMoving to Node #0,3,3\nCurrent State: 199:[182, 259], Operations: ['157+25=182', '138+121=259']\nExploring Operation: 182*259=47138, Resulting Numbers: [47138]\n47138,199 unequal: No Solution\nExploring Operation: 182+259=441, Resulting Numbers: [441]\n441,199 unequal: No Solution\nExploring Operation: 259-182=77, Resulting Numbers: [77]\n77,199 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 199:[157, 234], Operations: ['138-25=113', '121+113=234']\nExploring Operation: 157*234=36738, Resulting Numbers: [36738]\n36738,199 unequal: No Solution\nExploring Operation: 157+234=391, Resulting Numbers: [391]\n391,199 unequal: No Solution\nExploring Operation: 234-157=77, Resulting Numbers: [77]\n77,199 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 199:[163, 278], Operations: ['138+25=163', '157+121=278']\nExploring Operation: 278-163=115, Resulting Numbers: [115]\n115,199 unequal: No Solution\nExploring Operation: 163+278=441, Resulting Numbers: [441]\n441,199 unequal: No Solution\nExploring Operation: 163*278=45314, Resulting Numbers: [45314]\n45314,199 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 199:[157, 284], Operations: ['138+25=163', '121+163=284']\nExploring Operation: 284-157=127, Resulting Numbers: [127]\n127,199 unequal: No Solution\nExploring Operation: 157*284=44588, Resulting Numbers: [44588]\n44588,199 unequal: No Solution\nExploring Operation: 157+284=441, Resulting Numbers: [441]\n441,199 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 199:[157, 284], Operations: ['25+121=146', '138+146=284']\nExploring Operation: 157*284=44588, Resulting Numbers: [44588]\n44588,199 unequal: No Solution\nExploring Operation: 157+284=441, Resulting Numbers: [441]\n441,199 unequal: No Solution\nExploring Operation: 284-157=127, Resulting Numbers: [127]\n127,199 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 199:[127], Operations: ['138+25=163', '121+163=284', '284-157=127']\nMoving to Node #0,1,1\nCurrent State: 199:[121, 270], Operations: ['138-25=113', '157+113=270']\nExploring Operation: 121+270=391, Resulting Numbers: [391]\n391,199 unequal: No Solution\nExploring Operation: 270-121=149, Resulting Numbers: [149]\n149,199 unequal: No Solution\nExploring Operation: 121*270=32670, Resulting Numbers: [32670]\n32670,199 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 199:[146, 295], Operations: ['25+121=146', '138+157=295']\nExploring Operation: 295-146=149, Resulting Numbers: [149]\n149,199 unequal: No Solution\nExploring Operation: 146*295=43070, Resulting Numbers: [43070]\n43070,199 unequal: No Solution\nExploring Operation: 146+295=441, Resulting Numbers: [441]\n441,199 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 199:[149], Operations: ['138-25=113', '157+113=270', '270-121=149']\nMoving to Node #0,2,1,0\nCurrent State: 199:[149], Operations: ['25+121=146', '138+157=295', '295-146=149']\nMoving to Node #0,2,2,0\nCurrent State: 199:[127], Operations: ['25+121=146', '138+146=284', '284-157=127']\nMoving to Node #0,3,0\nCurrent State: 199:[138, 303], Operations: ['157+25=182', '121+182=303']\nExploring Operation: 138*303=41814, Resulting Numbers: [41814]\n41814,199 unequal: No Solution\nExploring Operation: 303-138=165, Resulting Numbers: [165]\n165,199 unequal: No Solution\nExploring Operation: 138+303=441, Resulting Numbers: [441]\n441,199 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 199:[165], Operations: ['157+25=182', '121+182=303', '303-138=165']\nMoving to Node #0,1,3\nCurrent State: 199:[113, 278], Operations: ['138-25=113', '157+121=278']\nExploring Operation: 113*278=31414, Resulting Numbers: [31414]\n31414,199 unequal: No Solution\nExploring Operation: 113+278=391, Resulting Numbers: [391]\n391,199 unequal: No Solution\nExploring Operation: 278-113=165, Resulting Numbers: [165]\n165,199 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 199:[138, 303], Operations: ['25+121=146', '157+146=303']\nExploring Operation: 303-138=165, Resulting Numbers: [165]\n165,199 unequal: No Solution\nExploring Operation: 138+303=441, Resulting Numbers: [441]\n441,199 unequal: No Solution\nExploring Operation: 138*303=41814, Resulting Numbers: [41814]\n41814,199 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 199:[115], Operations: ['138+25=163', '157+121=278', '278-163=115']\nMoving to Node #0,1,3,0\nCurrent State: 199:[165], Operations: ['138-25=113', '157+121=278', '278-113=165']\nMoving to Node #0,2,3,0\nCurrent State: 199:[165], Operations: ['25+121=146', '157+146=303', '303-138=165']\nMoving to Node #0,0,0\nCurrent State: 199:[163, 36], Operations: ['138+25=163', '157-121=36']\nExploring Operation: 163*36=5868, Resulting Numbers: [5868]\n5868,199 unequal: No Solution\nExploring Operation: 163+36=199, Resulting Numbers: [199]\n199,199 equal: Goal Reached\nFinal operations:\n138+25=163\n157-121=36\n163+36=199",
"role": "assistant"
}
] |
[
138,
157,
25,
121
] | 199
|
bfs_4
|
sum_heuristic
| 0.953993
|
[
{
"content": "Given the numbers [161, 9, 14, 168] and the target 182, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 182:[161, 9, 14, 168], Operations: []\nExploring Operation: 168-161=7, Resulting Numbers: [9, 14, 7]\nGenerated Node #0,0: 182:[9, 14, 7] Operation: 168-161=7\nExploring Operation: 161+14=175, Resulting Numbers: [9, 168, 175]\nGenerated Node #0,1: 182:[9, 168, 175] Operation: 161+14=175\nMoving to Node #0,0\nCurrent State: 182:[9, 14, 7], Operations: ['168-161=7']\nExploring Operation: 9-7=2, Resulting Numbers: [14, 2]\nGenerated Node #0,0,0: 182:[14, 2] Operation: 9-7=2\nExploring Operation: 14-9=5, Resulting Numbers: [7, 5]\nGenerated Node #0,0,1: 182:[7, 5] Operation: 14-9=5\nMoving to Node #0,1\nCurrent State: 182:[9, 168, 175], Operations: ['161+14=175']\nExploring Operation: 9+168=177, Resulting Numbers: [175, 177]\nGenerated Node #0,1,0: 182:[175, 177] Operation: 9+168=177\nExploring Operation: 175-168=7, Resulting Numbers: [9, 7]\nGenerated Node #0,1,1: 182:[9, 7] Operation: 175-168=7\nMoving to Node #0,0,0\nCurrent State: 182:[14, 2], Operations: ['168-161=7', '9-7=2']\nExploring Operation: 14/2=7, Resulting Numbers: [7]\n7,182 unequal: No Solution\nExploring Operation: 14-2=12, Resulting Numbers: [12]\n12,182 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 182:[9, 7], Operations: ['161+14=175', '175-168=7']\nExploring Operation: 9-7=2, Resulting Numbers: [2]\n2,182 unequal: No Solution\nExploring Operation: 9+7=16, Resulting Numbers: [16]\n16,182 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 182:[7], Operations: ['168-161=7', '9-7=2', '14/2=7']\nMoving to Node #0,1,1,0\nCurrent State: 182:[2], Operations: ['161+14=175', '175-168=7', '9-7=2']\nMoving to Node #0,0,0,0\nCurrent State: 182:[12], Operations: ['168-161=7', '9-7=2', '14-2=12']\nMoving to Node #0,0,1\nCurrent State: 182:[7, 5], Operations: ['168-161=7', '14-9=5']\nExploring Operation: 7+5=12, Resulting Numbers: [12]\n12,182 unequal: No Solution\nExploring Operation: 7-5=2, Resulting Numbers: [2]\n2,182 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 182:[2], Operations: ['168-161=7', '14-9=5', '7-5=2']\nMoving to Node #0,0,1,0\nCurrent State: 182:[12], Operations: ['168-161=7', '14-9=5', '7+5=12']\nMoving to Node #0,1,1,0\nCurrent State: 182:[16], Operations: ['161+14=175', '175-168=7', '9+7=16']\nMoving to Node #0,1,0\nCurrent State: 182:[175, 177], Operations: ['161+14=175', '9+168=177']\nExploring Operation: 177-175=2, Resulting Numbers: [2]\n2,182 unequal: No Solution\nExploring Operation: 175+177=352, Resulting Numbers: [352]\n352,182 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 182:[2], Operations: ['161+14=175', '9+168=177', '177-175=2']\nMoving to Node #0,1,0,0\nCurrent State: 182:[352], Operations: ['161+14=175', '9+168=177', '175+177=352']",
"role": "assistant"
}
] |
[
161,
9,
14,
168
] | 182
|
bfs_2
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [41, 44, 121, 116] and the target 161, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 161:[41, 44, 121, 116], Operations: []\nExploring Operation: 41+44=85, Resulting Numbers: [121, 116, 85]\nGenerated Node #0,0: 161:[121, 116, 85] Operation: 41+44=85\nExploring Operation: 44+116=160, Resulting Numbers: [41, 121, 160]\nGenerated Node #0,1: 161:[41, 121, 160] Operation: 44+116=160\nExploring Operation: 41+116=157, Resulting Numbers: [44, 121, 157]\nGenerated Node #0,2: 161:[44, 121, 157] Operation: 41+116=157\nMoving to Node #0,0\nCurrent State: 161:[121, 116, 85], Operations: ['41+44=85']\nExploring Operation: 121+85=206, Resulting Numbers: [116, 206]\nGenerated Node #0,0,0: 161:[116, 206] Operation: 121+85=206\nExploring Operation: 116+85=201, Resulting Numbers: [121, 201]\nGenerated Node #0,0,1: 161:[121, 201] Operation: 116+85=201\nExploring Operation: 121+116=237, Resulting Numbers: [85, 237]\nGenerated Node #0,0,2: 161:[85, 237] Operation: 121+116=237\nMoving to Node #0,1\nCurrent State: 161:[41, 121, 160], Operations: ['44+116=160']\nExploring Operation: 41+160=201, Resulting Numbers: [121, 201]\nGenerated Node #0,1,0: 161:[121, 201] Operation: 41+160=201\nExploring Operation: 121-41=80, Resulting Numbers: [160, 80]\nGenerated Node #0,1,1: 161:[160, 80] Operation: 121-41=80\nExploring Operation: 41+121=162, Resulting Numbers: [160, 162]\nGenerated Node #0,1,2: 161:[160, 162] Operation: 41+121=162\nMoving to Node #0,2\nCurrent State: 161:[44, 121, 157], Operations: ['41+116=157']\nExploring Operation: 44+157=201, Resulting Numbers: [121, 201]\nGenerated Node #0,2,0: 161:[121, 201] Operation: 44+157=201\nExploring Operation: 44+121=165, Resulting Numbers: [157, 165]\nGenerated Node #0,2,1: 161:[157, 165] Operation: 44+121=165\nExploring Operation: 121-44=77, Resulting Numbers: [157, 77]\nGenerated Node #0,2,2: 161:[157, 77] Operation: 121-44=77\nMoving to Node #0,1,2\nCurrent State: 161:[160, 162], Operations: ['44+116=160', '41+121=162']\nExploring Operation: 162-160=2, Resulting Numbers: [2]\n2,161 unequal: No Solution\nExploring Operation: 160+162=322, Resulting Numbers: [322]\n322,161 unequal: No Solution\nExploring Operation: 160*162=25920, Resulting Numbers: [25920]\n25920,161 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 161:[157, 165], Operations: ['41+116=157', '44+121=165']\nExploring Operation: 157+165=322, Resulting Numbers: [322]\n322,161 unequal: No Solution\nExploring Operation: 157*165=25905, Resulting Numbers: [25905]\n25905,161 unequal: No Solution\nExploring Operation: 165-157=8, Resulting Numbers: [8]\n8,161 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 161:[121, 201], Operations: ['41+44=85', '116+85=201']\nExploring Operation: 201-121=80, Resulting Numbers: [80]\n80,161 unequal: No Solution\nExploring Operation: 121+201=322, Resulting Numbers: [322]\n322,161 unequal: No Solution\nExploring Operation: 121*201=24321, Resulting Numbers: [24321]\n24321,161 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 161:[121, 201], Operations: ['44+116=160', '41+160=201']\nExploring Operation: 121*201=24321, Resulting Numbers: [24321]\n24321,161 unequal: No Solution\nExploring Operation: 121+201=322, Resulting Numbers: [322]\n322,161 unequal: No Solution\nExploring Operation: 201-121=80, Resulting Numbers: [80]\n80,161 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 161:[121, 201], Operations: ['41+116=157', '44+157=201']\nExploring Operation: 121*201=24321, Resulting Numbers: [24321]\n24321,161 unequal: No Solution\nExploring Operation: 121+201=322, Resulting Numbers: [322]\n322,161 unequal: No Solution\nExploring Operation: 201-121=80, Resulting Numbers: [80]\n80,161 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 161:[160, 80], Operations: ['44+116=160', '121-41=80']\nExploring Operation: 160+80=240, Resulting Numbers: [240]\n240,161 unequal: No Solution\nExploring Operation: 160-80=80, Resulting Numbers: [80]\n80,161 unequal: No Solution\nExploring Operation: 160/80=2, Resulting Numbers: [2]\n2,161 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 161:[157, 77], Operations: ['41+116=157', '121-44=77']\nExploring Operation: 157+77=234, Resulting Numbers: [234]\n234,161 unequal: No Solution\nExploring Operation: 157*77=12089, Resulting Numbers: [12089]\n12089,161 unequal: No Solution\nExploring Operation: 157-77=80, Resulting Numbers: [80]\n80,161 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 161:[116, 206], Operations: ['41+44=85', '121+85=206']\nExploring Operation: 116+206=322, Resulting Numbers: [322]\n322,161 unequal: No Solution\nExploring Operation: 206-116=90, Resulting Numbers: [90]\n90,161 unequal: No Solution\nExploring Operation: 116*206=23896, Resulting Numbers: [23896]\n23896,161 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 161:[85, 237], Operations: ['41+44=85', '121+116=237']\nExploring Operation: 237-85=152, Resulting Numbers: [152]\n152,161 unequal: No Solution\nExploring Operation: 85*237=20145, Resulting Numbers: [20145]\n20145,161 unequal: No Solution\nExploring Operation: 85+237=322, Resulting Numbers: [322]\n322,161 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 161:[152], Operations: ['41+44=85', '121+116=237', '237-85=152']\nMoving to Node #0,0,0,0\nCurrent State: 161:[90], Operations: ['41+44=85', '121+85=206', '206-116=90']\nMoving to Node #0,2,2,0\nCurrent State: 161:[234], Operations: ['41+116=157', '121-44=77', '157+77=234']\nMoving to Node #0,1,1,0\nCurrent State: 161:[240], Operations: ['44+116=160', '121-41=80', '160+80=240']\nMoving to Node #0,0,1,0\nCurrent State: 161:[80], Operations: ['41+44=85', '116+85=201', '201-121=80']\nMoving to Node #0,1,0,0\nCurrent State: 161:[80], Operations: ['44+116=160', '41+160=201', '201-121=80']\nMoving to Node #0,2,2,0\nCurrent State: 161:[80], Operations: ['41+116=157', '121-44=77', '157-77=80']\nMoving to Node #0,1,1,0\nCurrent State: 161:[80], Operations: ['44+116=160', '121-41=80', '160-80=80']\nMoving to Node #0,2,0,0\nCurrent State: 161:[80], Operations: ['41+116=157', '44+157=201', '201-121=80']\nMoving to Node #0,2,1,0\nCurrent State: 161:[8], Operations: ['41+116=157', '44+121=165', '165-157=8']\nMoving to Node #0,1,2,0\nCurrent State: 161:[2], Operations: ['44+116=160', '41+121=162', '162-160=2']\nMoving to Node #0,1,1,0\nCurrent State: 161:[2], Operations: ['44+116=160', '121-41=80', '160/80=2']\nMoving to Node #0,1,0,0\nCurrent State: 161:[322], Operations: ['44+116=160', '41+160=201', '121+201=322']\nMoving to Node #0,0,2,0\nCurrent State: 161:[322], Operations: ['41+44=85', '121+116=237', '85+237=322']\nMoving to Node #0,0,1,0\nCurrent State: 161:[322], Operations: ['41+44=85', '116+85=201', '121+201=322']\nMoving to Node #0,0,0,0\nCurrent State: 161:[322], Operations: ['41+44=85', '121+85=206', '116+206=322']\nMoving to Node #0,2,0,0\nCurrent State: 161:[322], Operations: ['41+116=157', '44+157=201', '121+201=322']\nMoving to Node #0,2,1,0\nCurrent State: 161:[322], Operations: ['41+116=157', '44+121=165', '157+165=322']\nMoving to Node #0,1,2,0\nCurrent State: 161:[322], Operations: ['44+116=160', '41+121=162', '160+162=322']\nMoving to Node #0,2,2,0\nCurrent State: 161:[12089], Operations: ['41+116=157', '121-44=77', '157*77=12089']\nMoving to Node #0,0,2,0\nCurrent State: 161:[20145], Operations: ['41+44=85', '121+116=237', '85*237=20145']\nMoving to Node #0,0,0,0\nCurrent State: 161:[23896], Operations: ['41+44=85', '121+85=206', '116*206=23896']\nMoving to Node #0,1,0,0\nCurrent State: 161:[24321], Operations: ['44+116=160', '41+160=201', '121*201=24321']\nMoving to Node #0,0,1,0\nCurrent State: 161:[24321], Operations: ['41+44=85', '116+85=201', '121*201=24321']\nMoving to Node #0,2,0,0\nCurrent State: 161:[24321], Operations: ['41+116=157', '44+157=201', '121*201=24321']\nMoving to Node #0,2,1,0\nCurrent State: 161:[25905], Operations: ['41+116=157', '44+121=165', '157*165=25905']\nMoving to Node #0,1,2,0\nCurrent State: 161:[25920], Operations: ['44+116=160', '41+121=162', '160*162=25920']",
"role": "assistant"
}
] |
[
41,
44,
121,
116
] | 161
|
bfs_3
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [67, 88, 28, 143] and the target 136, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 136:[67, 88, 28, 143], Operations: []\nExploring Operation: 88-28=60, Resulting Numbers: [67, 143, 60]\nGenerated Node #0,0: 136:[67, 143, 60] Operation: 88-28=60\nMoving to Node #0,0\nCurrent State: 136:[67, 143, 60], Operations: ['88-28=60']\nExploring Operation: 67-60=7, Resulting Numbers: [143, 7]\nGenerated Node #0,0,0: 136:[143, 7] Operation: 67-60=7\nMoving to Node #0,0,0\nCurrent State: 136:[143, 7], Operations: ['88-28=60', '67-60=7']\nExploring Operation: 143-7=136, Resulting Numbers: [136]\n136,136 equal: Goal Reached\nFinal operations:\n88-28=60\n67-60=7\n143-7=136",
"role": "assistant"
}
] |
[
67,
88,
28,
143
] | 136
|
dfs
|
mult_heuristic
| 0.996528
|
[
{
"content": "Given the numbers [61, 131, 194, 137] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[61, 131, 194, 137], Operations: []\nExploring Operation: 194-61=133, Resulting Numbers: [131, 137, 133]\nGenerated Node #0,0: 127:[131, 137, 133] Operation: 194-61=133\nMoving to Node #0,0\nCurrent State: 127:[131, 137, 133], Operations: ['194-61=133']\nExploring Operation: 137-131=6, Resulting Numbers: [133, 6]\nGenerated Node #0,0,0: 127:[133, 6] Operation: 137-131=6\nMoving to Node #0,0,0\nCurrent State: 127:[133, 6], Operations: ['194-61=133', '137-131=6']\nExploring Operation: 133-6=127, Resulting Numbers: [127]\n127,127 equal: Goal Reached\nFinal operations:\n194-61=133\n137-131=6\n133-6=127",
"role": "assistant"
}
] |
[
61,
131,
194,
137
] | 127
|
bfs_1
|
mult_heuristic
| 0.996528
|
[
{
"content": "Given the numbers [125, 128, 83, 147] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[125, 128, 83, 147], Operations: []\nExploring Operation: 147-83=64, Resulting Numbers: [125, 128, 64]\nGenerated Node #0,0: 127:[125, 128, 64] Operation: 147-83=64\nMoving to Node #0,0\nCurrent State: 127:[125, 128, 64], Operations: ['147-83=64']\nExploring Operation: 125+64=189, Resulting Numbers: [128, 189]\nGenerated Node #0,0,0: 127:[128, 189] Operation: 125+64=189\nMoving to Node #0,0,0\nCurrent State: 127:[128, 189], Operations: ['147-83=64', '125+64=189']\nExploring Operation: 189-128=61, Resulting Numbers: [61]\n61,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[125, 128, 64], Operations: ['147-83=64']\nExploring Operation: 128-64=64, Resulting Numbers: [125, 64]\nGenerated Node #0,0,1: 127:[125, 64] Operation: 128-64=64\nMoving to Node #0,0,1\nCurrent State: 127:[125, 64], Operations: ['147-83=64', '128-64=64']\nExploring Operation: 125+64=189, Resulting Numbers: [189]\n189,127 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 127:[125, 64], Operations: ['147-83=64', '128-64=64']\nExploring Operation: 125-64=61, Resulting Numbers: [61]\n61,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[125, 128, 64], Operations: ['147-83=64']\nExploring Operation: 125-64=61, Resulting Numbers: [128, 61]\nGenerated Node #0,0,2: 127:[128, 61] Operation: 125-64=61\nMoving to Node #0,0,2\nCurrent State: 127:[128, 61], Operations: ['147-83=64', '125-64=61']\nExploring Operation: 128-61=67, Resulting Numbers: [67]\n67,127 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 127:[128, 61], Operations: ['147-83=64', '125-64=61']\nExploring Operation: 128+61=189, Resulting Numbers: [189]\n189,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[125, 128, 64], Operations: ['147-83=64']\nExploring Operation: 128+64=192, Resulting Numbers: [125, 192]\nGenerated Node #0,0,3: 127:[125, 192] Operation: 128+64=192\nMoving to Node #0,0,3\nCurrent State: 127:[125, 192], Operations: ['147-83=64', '128+64=192']\nExploring Operation: 192-125=67, Resulting Numbers: [67]\n67,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[125, 128, 64], Operations: ['147-83=64']\nExploring Operation: 128/64=2, Resulting Numbers: [125, 2]\nGenerated Node #0,0,4: 127:[125, 2] Operation: 128/64=2\nMoving to Node #0,0,4\nCurrent State: 127:[125, 2], Operations: ['147-83=64', '128/64=2']\nExploring Operation: 125+2=127, Resulting Numbers: [127]\n127,127 equal: Goal Reached\nFinal operations:\n147-83=64\n128/64=2\n125+2=127",
"role": "assistant"
}
] |
[
125,
128,
83,
147
] | 127
|
dfs
|
sum_heuristic
| 0.987847
|
[
{
"content": "Given the numbers [45, 51, 34, 34] and the target 74, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 74:[45, 51, 34, 34], Operations: []\nExploring Operation: 45+34=79, Resulting Numbers: [51, 34, 79]\nGenerated Node #0,0: 74:[51, 34, 79] Operation: 45+34=79\nExploring Operation: 51+34=85, Resulting Numbers: [45, 34, 85]\nGenerated Node #0,1: 74:[45, 34, 85] Operation: 51+34=85\nExploring Operation: 51-45=6, Resulting Numbers: [34, 34, 6]\nGenerated Node #0,2: 74:[34, 34, 6] Operation: 51-45=6\nExploring Operation: 45+34=79, Resulting Numbers: [51, 34, 79]\nGenerated Node #0,3: 74:[51, 34, 79] Operation: 45+34=79\nMoving to Node #0,2\nCurrent State: 74:[34, 34, 6], Operations: ['51-45=6']\nExploring Operation: 34+6=40, Resulting Numbers: [34, 40]\nGenerated Node #0,2,0: 74:[34, 40] Operation: 34+6=40\nExploring Operation: 34/34=1, Resulting Numbers: [6, 1]\nGenerated Node #0,2,1: 74:[6, 1] Operation: 34/34=1\nExploring Operation: 34-34=0, Resulting Numbers: [6, 0]\nGenerated Node #0,2,2: 74:[6, 0] Operation: 34-34=0\nExploring Operation: 34+6=40, Resulting Numbers: [34, 40]\nGenerated Node #0,2,3: 74:[34, 40] Operation: 34+6=40\nMoving to Node #0,1\nCurrent State: 74:[45, 34, 85], Operations: ['51+34=85']\nExploring Operation: 85-34=51, Resulting Numbers: [45, 51]\nGenerated Node #0,1,0: 74:[45, 51] Operation: 85-34=51\nExploring Operation: 85-45=40, Resulting Numbers: [34, 40]\nGenerated Node #0,1,1: 74:[34, 40] Operation: 85-45=40\nExploring Operation: 45-34=11, Resulting Numbers: [85, 11]\nGenerated Node #0,1,2: 74:[85, 11] Operation: 45-34=11\nExploring Operation: 45+34=79, Resulting Numbers: [85, 79]\nGenerated Node #0,1,3: 74:[85, 79] Operation: 45+34=79\nMoving to Node #0,0\nCurrent State: 74:[51, 34, 79], Operations: ['45+34=79']\nExploring Operation: 51-34=17, Resulting Numbers: [79, 17]\nGenerated Node #0,0,0: 74:[79, 17] Operation: 51-34=17\nExploring Operation: 79-34=45, Resulting Numbers: [51, 45]\nGenerated Node #0,0,1: 74:[51, 45] Operation: 79-34=45\nExploring Operation: 51+34=85, Resulting Numbers: [79, 85]\nGenerated Node #0,0,2: 74:[79, 85] Operation: 51+34=85\nExploring Operation: 79-51=28, Resulting Numbers: [34, 28]\nGenerated Node #0,0,3: 74:[34, 28] Operation: 79-51=28\nMoving to Node #0,3\nCurrent State: 74:[51, 34, 79], Operations: ['45+34=79']\nExploring Operation: 79-51=28, Resulting Numbers: [34, 28]\nGenerated Node #0,3,0: 74:[34, 28] Operation: 79-51=28\nExploring Operation: 51-34=17, Resulting Numbers: [79, 17]\nGenerated Node #0,3,1: 74:[79, 17] Operation: 51-34=17\nExploring Operation: 51+34=85, Resulting Numbers: [79, 85]\nGenerated Node #0,3,2: 74:[79, 85] Operation: 51+34=85\nExploring Operation: 79-34=45, Resulting Numbers: [51, 45]\nGenerated Node #0,3,3: 74:[51, 45] Operation: 79-34=45\nMoving to Node #0,2,1\nCurrent State: 74:[6, 1], Operations: ['51-45=6', '34/34=1']\nExploring Operation: 6/1=6, Resulting Numbers: [6]\n6,74 unequal: No Solution\nExploring Operation: 6+1=7, Resulting Numbers: [7]\n7,74 unequal: No Solution\nExploring Operation: 6*1=6, Resulting Numbers: [6]\n6,74 unequal: No Solution\nExploring Operation: 6-1=5, Resulting Numbers: [5]\n5,74 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 74:[6, 0], Operations: ['51-45=6', '34-34=0']\nExploring Operation: 6-0=6, Resulting Numbers: [6]\n6,74 unequal: No Solution\nExploring Operation: 6+0=6, Resulting Numbers: [6]\n6,74 unequal: No Solution\nExploring Operation: 6*0=0, Resulting Numbers: [0]\n0,74 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 74:[34, 40], Operations: ['51-45=6', '34+6=40']\nExploring Operation: 40-34=6, Resulting Numbers: [6]\n6,74 unequal: No Solution\nExploring Operation: 34*40=1360, Resulting Numbers: [1360]\n1360,74 unequal: No Solution\nExploring Operation: 34+40=74, Resulting Numbers: [74]\n74,74 equal: Goal Reached\nFinal operations:\n51-45=6\n34+6=40\n34+40=74",
"role": "assistant"
}
] |
[
45,
51,
34,
34
] | 74
|
bfs_4
|
mult_heuristic
| 0.97309
|
[
{
"content": "Given the numbers [118, 170, 116, 31] and the target 199, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 199:[118, 170, 116, 31], Operations: []\nExploring Operation: 170+31=201, Resulting Numbers: [118, 116, 201]\nGenerated Node #0,0: 199:[118, 116, 201] Operation: 170+31=201\nExploring Operation: 170-31=139, Resulting Numbers: [118, 116, 139]\nGenerated Node #0,1: 199:[118, 116, 139] Operation: 170-31=139\nExploring Operation: 118+31=149, Resulting Numbers: [170, 116, 149]\nGenerated Node #0,2: 199:[170, 116, 149] Operation: 118+31=149\nExploring Operation: 116+31=147, Resulting Numbers: [118, 170, 147]\nGenerated Node #0,3: 199:[118, 170, 147] Operation: 116+31=147\nExploring Operation: 118-31=87, Resulting Numbers: [170, 116, 87]\nGenerated Node #0,4: 199:[170, 116, 87] Operation: 118-31=87\nMoving to Node #0,2\nCurrent State: 199:[170, 116, 149], Operations: ['118+31=149']\nExploring Operation: 149-116=33, Resulting Numbers: [170, 33]\nGenerated Node #0,2,0: 199:[170, 33] Operation: 149-116=33\nExploring Operation: 170-116=54, Resulting Numbers: [149, 54]\nGenerated Node #0,2,1: 199:[149, 54] Operation: 170-116=54\nExploring Operation: 170+116=286, Resulting Numbers: [149, 286]\nGenerated Node #0,2,2: 199:[149, 286] Operation: 170+116=286\nExploring Operation: 170+149=319, Resulting Numbers: [116, 319]\nGenerated Node #0,2,3: 199:[116, 319] Operation: 170+149=319\nExploring Operation: 116+149=265, Resulting Numbers: [170, 265]\nGenerated Node #0,2,4: 199:[170, 265] Operation: 116+149=265\nMoving to Node #0,3\nCurrent State: 199:[118, 170, 147], Operations: ['116+31=147']\nExploring Operation: 170+147=317, Resulting Numbers: [118, 317]\nGenerated Node #0,3,0: 199:[118, 317] Operation: 170+147=317\nExploring Operation: 170-118=52, Resulting Numbers: [147, 52]\nGenerated Node #0,3,1: 199:[147, 52] Operation: 170-118=52\nExploring Operation: 147-118=29, Resulting Numbers: [170, 29]\nGenerated Node #0,3,2: 199:[170, 29] Operation: 147-118=29\nExploring Operation: 118+170=288, Resulting Numbers: [147, 288]\nGenerated Node #0,3,3: 199:[147, 288] Operation: 118+170=288\nExploring Operation: 118+147=265, Resulting Numbers: [170, 265]\nGenerated Node #0,3,4: 199:[170, 265] Operation: 118+147=265\nMoving to Node #0,0\nCurrent State: 199:[118, 116, 201], Operations: ['170+31=201']\nExploring Operation: 116+201=317, Resulting Numbers: [118, 317]\nGenerated Node #0,0,0: 199:[118, 317] Operation: 116+201=317\nExploring Operation: 201-118=83, Resulting Numbers: [116, 83]\nGenerated Node #0,0,1: 199:[116, 83] Operation: 201-118=83\nExploring Operation: 118+116=234, Resulting Numbers: [201, 234]\nGenerated Node #0,0,2: 199:[201, 234] Operation: 118+116=234\nExploring Operation: 118-116=2, Resulting Numbers: [201, 2]\nGenerated Node #0,0,3: 199:[201, 2] Operation: 118-116=2\nExploring Operation: 201-116=85, Resulting Numbers: [118, 85]\nGenerated Node #0,0,4: 199:[118, 85] Operation: 201-116=85\nMoving to Node #0,1\nCurrent State: 199:[118, 116, 139], Operations: ['170-31=139']\nExploring Operation: 116+139=255, Resulting Numbers: [118, 255]\nGenerated Node #0,1,0: 199:[118, 255] Operation: 116+139=255\nExploring Operation: 118+116=234, Resulting Numbers: [139, 234]\nGenerated Node #0,1,1: 199:[139, 234] Operation: 118+116=234\nExploring Operation: 139-116=23, Resulting Numbers: [118, 23]\nGenerated Node #0,1,2: 199:[118, 23] Operation: 139-116=23\nExploring Operation: 118+139=257, Resulting Numbers: [116, 257]\nGenerated Node #0,1,3: 199:[116, 257] Operation: 118+139=257\nExploring Operation: 118-116=2, Resulting Numbers: [139, 2]\nGenerated Node #0,1,4: 199:[139, 2] Operation: 118-116=2\nMoving to Node #0,4\nCurrent State: 199:[170, 116, 87], Operations: ['118-31=87']\nExploring Operation: 116+87=203, Resulting Numbers: [170, 203]\nGenerated Node #0,4,0: 199:[170, 203] Operation: 116+87=203\nExploring Operation: 170-87=83, Resulting Numbers: [116, 83]\nGenerated Node #0,4,1: 199:[116, 83] Operation: 170-87=83\nExploring Operation: 170+87=257, Resulting Numbers: [116, 257]\nGenerated Node #0,4,2: 199:[116, 257] Operation: 170+87=257\nExploring Operation: 116-87=29, Resulting Numbers: [170, 29]\nGenerated Node #0,4,3: 199:[170, 29] Operation: 116-87=29\nExploring Operation: 170+116=286, Resulting Numbers: [87, 286]\nGenerated Node #0,4,4: 199:[87, 286] Operation: 170+116=286\nMoving to Node #0,4,0\nCurrent State: 199:[170, 203], Operations: ['118-31=87', '116+87=203']\nExploring Operation: 170+203=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nExploring Operation: 170*203=34510, Resulting Numbers: [34510]\n34510,199 unequal: No Solution\nExploring Operation: 203-170=33, Resulting Numbers: [33]\n33,199 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 199:[201, 234], Operations: ['170+31=201', '118+116=234']\nExploring Operation: 201+234=435, Resulting Numbers: [435]\n435,199 unequal: No Solution\nExploring Operation: 234-201=33, Resulting Numbers: [33]\n33,199 unequal: No Solution\nExploring Operation: 201*234=47034, Resulting Numbers: [47034]\n47034,199 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 199:[170, 265], Operations: ['116+31=147', '118+147=265']\nExploring Operation: 265-170=95, Resulting Numbers: [95]\n95,199 unequal: No Solution\nExploring Operation: 170+265=435, Resulting Numbers: [435]\n435,199 unequal: No Solution\nExploring Operation: 170*265=45050, Resulting Numbers: [45050]\n45050,199 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 199:[170, 265], Operations: ['118+31=149', '116+149=265']\nExploring Operation: 170*265=45050, Resulting Numbers: [45050]\n45050,199 unequal: No Solution\nExploring Operation: 265-170=95, Resulting Numbers: [95]\n95,199 unequal: No Solution\nExploring Operation: 170+265=435, Resulting Numbers: [435]\n435,199 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 199:[139, 234], Operations: ['170-31=139', '118+116=234']\nExploring Operation: 139+234=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nExploring Operation: 234-139=95, Resulting Numbers: [95]\n95,199 unequal: No Solution\nExploring Operation: 139*234=32526, Resulting Numbers: [32526]\n32526,199 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 199:[149, 286], Operations: ['118+31=149', '170+116=286']\nExploring Operation: 286-149=137, Resulting Numbers: [137]\n137,199 unequal: No Solution\nExploring Operation: 149+286=435, Resulting Numbers: [435]\n435,199 unequal: No Solution\nExploring Operation: 149*286=42614, Resulting Numbers: [42614]\n42614,199 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 199:[118, 255], Operations: ['170-31=139', '116+139=255']\nExploring Operation: 118+255=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nExploring Operation: 118*255=30090, Resulting Numbers: [30090]\n30090,199 unequal: No Solution\nExploring Operation: 255-118=137, Resulting Numbers: [137]\n137,199 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 199:[147, 288], Operations: ['116+31=147', '118+170=288']\nExploring Operation: 147+288=435, Resulting Numbers: [435]\n435,199 unequal: No Solution\nExploring Operation: 288-147=141, Resulting Numbers: [141]\n141,199 unequal: No Solution\nExploring Operation: 147*288=42336, Resulting Numbers: [42336]\n42336,199 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 199:[116, 257], Operations: ['118-31=87', '170+87=257']\nExploring Operation: 257-116=141, Resulting Numbers: [141]\n141,199 unequal: No Solution\nExploring Operation: 116+257=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nExploring Operation: 116*257=29812, Resulting Numbers: [29812]\n29812,199 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 199:[116, 257], Operations: ['170-31=139', '118+139=257']\nExploring Operation: 116+257=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nExploring Operation: 257-116=141, Resulting Numbers: [141]\n141,199 unequal: No Solution\nExploring Operation: 116*257=29812, Resulting Numbers: [29812]\n29812,199 unequal: No Solution\nMoving to Node #0,3,3,0\nCurrent State: 199:[141], Operations: ['116+31=147', '118+170=288', '288-147=141']\nMoving to Node #0,4,2,0\nCurrent State: 199:[141], Operations: ['118-31=87', '170+87=257', '257-116=141']\nMoving to Node #0,1,3,0\nCurrent State: 199:[141], Operations: ['170-31=139', '118+139=257', '257-116=141']\nMoving to Node #0,2,2,0\nCurrent State: 199:[137], Operations: ['118+31=149', '170+116=286', '286-149=137']\nMoving to Node #0,1,0,0\nCurrent State: 199:[137], Operations: ['170-31=139', '116+139=255', '255-118=137']\nMoving to Node #0,2,0\nCurrent State: 199:[170, 33], Operations: ['118+31=149', '149-116=33']\nExploring Operation: 170-33=137, Resulting Numbers: [137]\n137,199 unequal: No Solution\nExploring Operation: 170*33=5610, Resulting Numbers: [5610]\n5610,199 unequal: No Solution\nExploring Operation: 170+33=203, Resulting Numbers: [203]\n203,199 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 199:[118, 85], Operations: ['170+31=201', '201-116=85']\nExploring Operation: 118+85=203, Resulting Numbers: [203]\n203,199 unequal: No Solution\nExploring Operation: 118-85=33, Resulting Numbers: [33]\n33,199 unequal: No Solution\nExploring Operation: 118*85=10030, Resulting Numbers: [10030]\n10030,199 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 199:[149, 54], Operations: ['118+31=149', '170-116=54']\nExploring Operation: 149+54=203, Resulting Numbers: [203]\n203,199 unequal: No Solution\nExploring Operation: 149*54=8046, Resulting Numbers: [8046]\n8046,199 unequal: No Solution\nExploring Operation: 149-54=95, Resulting Numbers: [95]\n95,199 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 199:[201, 2], Operations: ['170+31=201', '118-116=2']\nExploring Operation: 201-2=199, Resulting Numbers: [199]\n199,199 equal: Goal Reached\nFinal operations:\n170+31=201\n118-116=2\n201-2=199",
"role": "assistant"
}
] |
[
118,
170,
116,
31
] | 199
|
bfs_5
|
sum_heuristic
| 0.938368
|
[
{
"content": "Given the numbers [120, 179, 79, 88] and the target 108, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 108:[120, 179, 79, 88], Operations: []\nExploring Operation: 179-79=100, Resulting Numbers: [120, 88, 100]\nGenerated Node #0,0: 108:[120, 88, 100] Operation: 179-79=100\nMoving to Node #0,0\nCurrent State: 108:[120, 88, 100], Operations: ['179-79=100']\nExploring Operation: 120-88=32, Resulting Numbers: [100, 32]\nGenerated Node #0,0,0: 108:[100, 32] Operation: 120-88=32\nMoving to Node #0,0,0\nCurrent State: 108:[100, 32], Operations: ['179-79=100', '120-88=32']\nExploring Operation: 100-32=68, Resulting Numbers: [68]\n68,108 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 108:[100, 32], Operations: ['179-79=100', '120-88=32']\nExploring Operation: 100+32=132, Resulting Numbers: [132]\n132,108 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 108:[120, 88, 100], Operations: ['179-79=100']\nExploring Operation: 100-88=12, Resulting Numbers: [120, 12]\nGenerated Node #0,0,1: 108:[120, 12] Operation: 100-88=12\nMoving to Node #0,0,1\nCurrent State: 108:[120, 12], Operations: ['179-79=100', '100-88=12']\nExploring Operation: 120-12=108, Resulting Numbers: [108]\n108,108 equal: Goal Reached\nFinal operations:\n179-79=100\n100-88=12\n120-12=108",
"role": "assistant"
}
] |
[
120,
179,
79,
88
] | 108
|
dfs
|
mult_heuristic
| 0.993924
|
[
{
"content": "Given the numbers [94, 16, 83, 187] and the target 182, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 182:[94, 16, 83, 187], Operations: []\nExploring Operation: 16+83=99, Resulting Numbers: [94, 187, 99]\nGenerated Node #0,0: 182:[94, 187, 99] Operation: 16+83=99\nExploring Operation: 94+16=110, Resulting Numbers: [83, 187, 110]\nGenerated Node #0,1: 182:[83, 187, 110] Operation: 94+16=110\nExploring Operation: 94+83=177, Resulting Numbers: [16, 187, 177]\nGenerated Node #0,2: 182:[16, 187, 177] Operation: 94+83=177\nMoving to Node #0,0\nCurrent State: 182:[94, 187, 99], Operations: ['16+83=99']\nExploring Operation: 94+187=281, Resulting Numbers: [99, 281]\nGenerated Node #0,0,0: 182:[99, 281] Operation: 94+187=281\nExploring Operation: 187-94=93, Resulting Numbers: [99, 93]\nGenerated Node #0,0,1: 182:[99, 93] Operation: 187-94=93\nExploring Operation: 94+99=193, Resulting Numbers: [187, 193]\nGenerated Node #0,0,2: 182:[187, 193] Operation: 94+99=193\nMoving to Node #0,1\nCurrent State: 182:[83, 187, 110], Operations: ['94+16=110']\nExploring Operation: 83+187=270, Resulting Numbers: [110, 270]\nGenerated Node #0,1,0: 182:[110, 270] Operation: 83+187=270\nExploring Operation: 83+110=193, Resulting Numbers: [187, 193]\nGenerated Node #0,1,1: 182:[187, 193] Operation: 83+110=193\nExploring Operation: 187-83=104, Resulting Numbers: [110, 104]\nGenerated Node #0,1,2: 182:[110, 104] Operation: 187-83=104\nMoving to Node #0,2\nCurrent State: 182:[16, 187, 177], Operations: ['94+83=177']\nExploring Operation: 16+177=193, Resulting Numbers: [187, 193]\nGenerated Node #0,2,0: 182:[187, 193] Operation: 16+177=193\nExploring Operation: 187-16=171, Resulting Numbers: [177, 171]\nGenerated Node #0,2,1: 182:[177, 171] Operation: 187-16=171\nExploring Operation: 16+187=203, Resulting Numbers: [177, 203]\nGenerated Node #0,2,2: 182:[177, 203] Operation: 16+187=203\nMoving to Node #0,0,2\nCurrent State: 182:[187, 193], Operations: ['16+83=99', '94+99=193']\nExploring Operation: 187+193=380, Resulting Numbers: [380]\n380,182 unequal: No Solution\nExploring Operation: 193-187=6, Resulting Numbers: [6]\n6,182 unequal: No Solution\nExploring Operation: 187*193=36091, Resulting Numbers: [36091]\n36091,182 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 182:[187, 193], Operations: ['94+83=177', '16+177=193']\nExploring Operation: 187+193=380, Resulting Numbers: [380]\n380,182 unequal: No Solution\nExploring Operation: 193-187=6, Resulting Numbers: [6]\n6,182 unequal: No Solution\nExploring Operation: 187*193=36091, Resulting Numbers: [36091]\n36091,182 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 182:[187, 193], Operations: ['94+16=110', '83+110=193']\nExploring Operation: 187*193=36091, Resulting Numbers: [36091]\n36091,182 unequal: No Solution\nExploring Operation: 193-187=6, Resulting Numbers: [6]\n6,182 unequal: No Solution\nExploring Operation: 187+193=380, Resulting Numbers: [380]\n380,182 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 182:[177, 171], Operations: ['94+83=177', '187-16=171']\nExploring Operation: 177+171=348, Resulting Numbers: [348]\n348,182 unequal: No Solution\nExploring Operation: 177-171=6, Resulting Numbers: [6]\n6,182 unequal: No Solution\nExploring Operation: 177*171=30267, Resulting Numbers: [30267]\n30267,182 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 182:[177, 203], Operations: ['94+83=177', '16+187=203']\nExploring Operation: 177*203=35931, Resulting Numbers: [35931]\n35931,182 unequal: No Solution\nExploring Operation: 177+203=380, Resulting Numbers: [380]\n380,182 unequal: No Solution\nExploring Operation: 203-177=26, Resulting Numbers: [26]\n26,182 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 182:[110, 104], Operations: ['94+16=110', '187-83=104']\nExploring Operation: 110-104=6, Resulting Numbers: [6]\n6,182 unequal: No Solution\nExploring Operation: 110*104=11440, Resulting Numbers: [11440]\n11440,182 unequal: No Solution\nExploring Operation: 110+104=214, Resulting Numbers: [214]\n214,182 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 182:[214], Operations: ['94+16=110', '187-83=104', '110+104=214']\nMoving to Node #0,1,0\nCurrent State: 182:[110, 270], Operations: ['94+16=110', '83+187=270']\nExploring Operation: 270-110=160, Resulting Numbers: [160]\n160,182 unequal: No Solution\nExploring Operation: 110*270=29700, Resulting Numbers: [29700]\n29700,182 unequal: No Solution\nExploring Operation: 110+270=380, Resulting Numbers: [380]\n380,182 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 182:[99, 93], Operations: ['16+83=99', '187-94=93']\nExploring Operation: 99+93=192, Resulting Numbers: [192]\n192,182 unequal: No Solution\nExploring Operation: 99-93=6, Resulting Numbers: [6]\n6,182 unequal: No Solution\nExploring Operation: 99*93=9207, Resulting Numbers: [9207]\n9207,182 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 182:[192], Operations: ['16+83=99', '187-94=93', '99+93=192']\nMoving to Node #0,1,0,0\nCurrent State: 182:[160], Operations: ['94+16=110', '83+187=270', '270-110=160']\nMoving to Node #0,0,0\nCurrent State: 182:[99, 281], Operations: ['16+83=99', '94+187=281']\nExploring Operation: 99+281=380, Resulting Numbers: [380]\n380,182 unequal: No Solution\nExploring Operation: 281-99=182, Resulting Numbers: [182]\n182,182 equal: Goal Reached\nFinal operations:\n16+83=99\n94+187=281\n281-99=182",
"role": "assistant"
}
] |
[
94,
16,
83,
187
] | 182
|
bfs_3
|
sum_heuristic
| 0.966146
|
[
{
"content": "Given the numbers [56, 73, 48, 157] and the target 98, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 98:[56, 73, 48, 157], Operations: []\nExploring Operation: 157-73=84, Resulting Numbers: [56, 48, 84]\nGenerated Node #0,0: 98:[56, 48, 84] Operation: 157-73=84\nMoving to Node #0,0\nCurrent State: 98:[56, 48, 84], Operations: ['157-73=84']\nExploring Operation: 56-48=8, Resulting Numbers: [84, 8]\nGenerated Node #0,0,0: 98:[84, 8] Operation: 56-48=8\nMoving to Node #0,0,0\nCurrent State: 98:[84, 8], Operations: ['157-73=84', '56-48=8']\nExploring Operation: 84+8=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 98:[84, 8], Operations: ['157-73=84', '56-48=8']\nExploring Operation: 84-8=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[56, 48, 84], Operations: ['157-73=84']\nExploring Operation: 84-56=28, Resulting Numbers: [48, 28]\nGenerated Node #0,0,1: 98:[48, 28] Operation: 84-56=28\nMoving to Node #0,0,1\nCurrent State: 98:[48, 28], Operations: ['157-73=84', '84-56=28']\nExploring Operation: 48-28=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 98:[48, 28], Operations: ['157-73=84', '84-56=28']\nExploring Operation: 48+28=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[56, 48, 84], Operations: ['157-73=84']\nExploring Operation: 56+48=104, Resulting Numbers: [84, 104]\nGenerated Node #0,0,2: 98:[84, 104] Operation: 56+48=104\nMoving to Node #0,0,2\nCurrent State: 98:[84, 104], Operations: ['157-73=84', '56+48=104']\nExploring Operation: 104-84=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 98:[84, 104], Operations: ['157-73=84', '56+48=104']\nExploring Operation: 84+104=188, Resulting Numbers: [188]\n188,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[56, 48, 84], Operations: ['157-73=84']\nExploring Operation: 84-48=36, Resulting Numbers: [56, 36]\nGenerated Node #0,0,3: 98:[56, 36] Operation: 84-48=36\nMoving to Node #0,0,3\nCurrent State: 98:[56, 36], Operations: ['157-73=84', '84-48=36']\nExploring Operation: 56+36=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 98:[56, 36], Operations: ['157-73=84', '84-48=36']\nExploring Operation: 56-36=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[56, 48, 84], Operations: ['157-73=84']\nExploring Operation: 48+84=132, Resulting Numbers: [56, 132]\nGenerated Node #0,0,4: 98:[56, 132] Operation: 48+84=132\nMoving to Node #0,0,4\nCurrent State: 98:[56, 132], Operations: ['157-73=84', '48+84=132']\nExploring Operation: 132-56=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 98:[56, 132], Operations: ['157-73=84', '48+84=132']\nExploring Operation: 56+132=188, Resulting Numbers: [188]\n188,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[56, 48, 84], Operations: ['157-73=84']\nExploring Operation: 56+84=140, Resulting Numbers: [48, 140]\nGenerated Node #0,0,5: 98:[48, 140] Operation: 56+84=140\nMoving to Node #0,0,5\nCurrent State: 98:[48, 140], Operations: ['157-73=84', '56+84=140']\nExploring Operation: 140-48=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 98:[48, 140], Operations: ['157-73=84', '56+84=140']\nExploring Operation: 48+140=188, Resulting Numbers: [188]\n188,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[56, 73, 48, 157], Operations: []\nExploring Operation: 157-56=101, Resulting Numbers: [73, 48, 101]\nGenerated Node #0,1: 98:[73, 48, 101] Operation: 157-56=101\nMoving to Node #0,1\nCurrent State: 98:[73, 48, 101], Operations: ['157-56=101']\nExploring Operation: 73-48=25, Resulting Numbers: [101, 25]\nGenerated Node #0,1,0: 98:[101, 25] Operation: 73-48=25\nMoving to Node #0,1,0\nCurrent State: 98:[101, 25], Operations: ['157-56=101', '73-48=25']\nExploring Operation: 101-25=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 98:[101, 25], Operations: ['157-56=101', '73-48=25']\nExploring Operation: 101+25=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[73, 48, 101], Operations: ['157-56=101']\nExploring Operation: 101-73=28, Resulting Numbers: [48, 28]\nGenerated Node #0,1,1: 98:[48, 28] Operation: 101-73=28\nMoving to Node #0,1,1\nCurrent State: 98:[48, 28], Operations: ['157-56=101', '101-73=28']\nExploring Operation: 48-28=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 98:[48, 28], Operations: ['157-56=101', '101-73=28']\nExploring Operation: 48+28=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[73, 48, 101], Operations: ['157-56=101']\nExploring Operation: 73+48=121, Resulting Numbers: [101, 121]\nGenerated Node #0,1,2: 98:[101, 121] Operation: 73+48=121\nMoving to Node #0,1,2\nCurrent State: 98:[101, 121], Operations: ['157-56=101', '73+48=121']\nExploring Operation: 121-101=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[73, 48, 101], Operations: ['157-56=101']\nExploring Operation: 101-48=53, Resulting Numbers: [73, 53]\nGenerated Node #0,1,3: 98:[73, 53] Operation: 101-48=53\nMoving to Node #0,1,3\nCurrent State: 98:[73, 53], Operations: ['157-56=101', '101-48=53']\nExploring Operation: 73-53=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 98:[73, 53], Operations: ['157-56=101', '101-48=53']\nExploring Operation: 73+53=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[73, 48, 101], Operations: ['157-56=101']\nExploring Operation: 48+101=149, Resulting Numbers: [73, 149]\nGenerated Node #0,1,4: 98:[73, 149] Operation: 48+101=149\nMoving to Node #0,1,4\nCurrent State: 98:[73, 149], Operations: ['157-56=101', '48+101=149']\nExploring Operation: 149-73=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[73, 48, 101], Operations: ['157-56=101']\nExploring Operation: 73+101=174, Resulting Numbers: [48, 174]\nGenerated Node #0,1,5: 98:[48, 174] Operation: 73+101=174\nMoving to Node #0,1,5\nCurrent State: 98:[48, 174], Operations: ['157-56=101', '73+101=174']\nExploring Operation: 174-48=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[56, 73, 48, 157], Operations: []\nExploring Operation: 157-48=109, Resulting Numbers: [56, 73, 109]\nGenerated Node #0,2: 98:[56, 73, 109] Operation: 157-48=109\nMoving to Node #0,2\nCurrent State: 98:[56, 73, 109], Operations: ['157-48=109']\nExploring Operation: 73-56=17, Resulting Numbers: [109, 17]\nGenerated Node #0,2,0: 98:[109, 17] Operation: 73-56=17\nMoving to Node #0,2,0\nCurrent State: 98:[109, 17], Operations: ['157-48=109', '73-56=17']\nExploring Operation: 109-17=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 98:[109, 17], Operations: ['157-48=109', '73-56=17']\nExploring Operation: 109+17=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[56, 73, 109], Operations: ['157-48=109']\nExploring Operation: 109-73=36, Resulting Numbers: [56, 36]\nGenerated Node #0,2,1: 98:[56, 36] Operation: 109-73=36\nMoving to Node #0,2,1\nCurrent State: 98:[56, 36], Operations: ['157-48=109', '109-73=36']\nExploring Operation: 56+36=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 98:[56, 36], Operations: ['157-48=109', '109-73=36']\nExploring Operation: 56-36=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[56, 73, 109], Operations: ['157-48=109']\nExploring Operation: 109-56=53, Resulting Numbers: [73, 53]\nGenerated Node #0,2,2: 98:[73, 53] Operation: 109-56=53\nMoving to Node #0,2,2\nCurrent State: 98:[73, 53], Operations: ['157-48=109', '109-56=53']\nExploring Operation: 73-53=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 98:[73, 53], Operations: ['157-48=109', '109-56=53']\nExploring Operation: 73+53=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[56, 73, 109], Operations: ['157-48=109']\nExploring Operation: 56+73=129, Resulting Numbers: [109, 129]\nGenerated Node #0,2,3: 98:[109, 129] Operation: 56+73=129\nMoving to Node #0,2,3\nCurrent State: 98:[109, 129], Operations: ['157-48=109', '56+73=129']\nExploring Operation: 129-109=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[56, 73, 109], Operations: ['157-48=109']\nExploring Operation: 56+109=165, Resulting Numbers: [73, 165]\nGenerated Node #0,2,4: 98:[73, 165] Operation: 56+109=165\nMoving to Node #0,2,4\nCurrent State: 98:[73, 165], Operations: ['157-48=109', '56+109=165']\nExploring Operation: 165-73=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[56, 73, 109], Operations: ['157-48=109']\nExploring Operation: 73+109=182, Resulting Numbers: [56, 182]\nGenerated Node #0,2,5: 98:[56, 182] Operation: 73+109=182\nMoving to Node #0,2,5\nCurrent State: 98:[56, 182], Operations: ['157-48=109', '73+109=182']\nExploring Operation: 182-56=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[56, 73, 48, 157], Operations: []\nExploring Operation: 73-56=17, Resulting Numbers: [48, 157, 17]\nGenerated Node #0,3: 98:[48, 157, 17] Operation: 73-56=17\nMoving to Node #0,3\nCurrent State: 98:[48, 157, 17], Operations: ['73-56=17']\nExploring Operation: 157-48=109, Resulting Numbers: [17, 109]\nGenerated Node #0,3,0: 98:[17, 109] Operation: 157-48=109\nMoving to Node #0,3,0\nCurrent State: 98:[17, 109], Operations: ['73-56=17', '157-48=109']\nExploring Operation: 109-17=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 98:[17, 109], Operations: ['73-56=17', '157-48=109']\nExploring Operation: 17+109=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[48, 157, 17], Operations: ['73-56=17']\nExploring Operation: 157-17=140, Resulting Numbers: [48, 140]\nGenerated Node #0,3,1: 98:[48, 140] Operation: 157-17=140\nMoving to Node #0,3,1\nCurrent State: 98:[48, 140], Operations: ['73-56=17', '157-17=140']\nExploring Operation: 140-48=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 98:[48, 140], Operations: ['73-56=17', '157-17=140']\nExploring Operation: 48+140=188, Resulting Numbers: [188]\n188,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[48, 157, 17], Operations: ['73-56=17']\nExploring Operation: 48+17=65, Resulting Numbers: [157, 65]\nGenerated Node #0,3,2: 98:[157, 65] Operation: 48+17=65\nMoving to Node #0,3,2\nCurrent State: 98:[157, 65], Operations: ['73-56=17', '48+17=65']\nExploring Operation: 157-65=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[48, 157, 17], Operations: ['73-56=17']\nExploring Operation: 48-17=31, Resulting Numbers: [157, 31]\nGenerated Node #0,3,3: 98:[157, 31] Operation: 48-17=31\nMoving to Node #0,3,3\nCurrent State: 98:[157, 31], Operations: ['73-56=17', '48-17=31']\nExploring Operation: 157-31=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 98:[157, 31], Operations: ['73-56=17', '48-17=31']\nExploring Operation: 157+31=188, Resulting Numbers: [188]\n188,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[48, 157, 17], Operations: ['73-56=17']\nExploring Operation: 157+17=174, Resulting Numbers: [48, 174]\nGenerated Node #0,3,4: 98:[48, 174] Operation: 157+17=174\nMoving to Node #0,3,4\nCurrent State: 98:[48, 174], Operations: ['73-56=17', '157+17=174']\nExploring Operation: 174-48=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[56, 73, 48, 157], Operations: []\nExploring Operation: 73-48=25, Resulting Numbers: [56, 157, 25]\nGenerated Node #0,4: 98:[56, 157, 25] Operation: 73-48=25\nMoving to Node #0,4\nCurrent State: 98:[56, 157, 25], Operations: ['73-48=25']\nExploring Operation: 157-56=101, Resulting Numbers: [25, 101]\nGenerated Node #0,4,0: 98:[25, 101] Operation: 157-56=101\nMoving to Node #0,4,0\nCurrent State: 98:[25, 101], Operations: ['73-48=25', '157-56=101']\nExploring Operation: 101-25=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 98:[25, 101], Operations: ['73-48=25', '157-56=101']\nExploring Operation: 25+101=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[56, 157, 25], Operations: ['73-48=25']\nExploring Operation: 157-25=132, Resulting Numbers: [56, 132]\nGenerated Node #0,4,1: 98:[56, 132] Operation: 157-25=132\nMoving to Node #0,4,1\nCurrent State: 98:[56, 132], Operations: ['73-48=25', '157-25=132']\nExploring Operation: 132-56=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 98:[56, 132], Operations: ['73-48=25', '157-25=132']\nExploring Operation: 56+132=188, Resulting Numbers: [188]\n188,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[56, 157, 25], Operations: ['73-48=25']\nExploring Operation: 56+25=81, Resulting Numbers: [157, 81]\nGenerated Node #0,4,2: 98:[157, 81] Operation: 56+25=81\nMoving to Node #0,4,2\nCurrent State: 98:[157, 81], Operations: ['73-48=25', '56+25=81']\nExploring Operation: 157-81=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[56, 157, 25], Operations: ['73-48=25']\nExploring Operation: 56-25=31, Resulting Numbers: [157, 31]\nGenerated Node #0,4,3: 98:[157, 31] Operation: 56-25=31\nMoving to Node #0,4,3\nCurrent State: 98:[157, 31], Operations: ['73-48=25', '56-25=31']\nExploring Operation: 157-31=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 98:[157, 31], Operations: ['73-48=25', '56-25=31']\nExploring Operation: 157+31=188, Resulting Numbers: [188]\n188,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[56, 157, 25], Operations: ['73-48=25']\nExploring Operation: 157+25=182, Resulting Numbers: [56, 182]\nGenerated Node #0,4,4: 98:[56, 182] Operation: 157+25=182\nMoving to Node #0,4,4\nCurrent State: 98:[56, 182], Operations: ['73-48=25', '157+25=182']\nExploring Operation: 182-56=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[56, 73, 48, 157], Operations: []\nExploring Operation: 56-48=8, Resulting Numbers: [73, 157, 8]\nGenerated Node #0,5: 98:[73, 157, 8] Operation: 56-48=8\nMoving to Node #0,5\nCurrent State: 98:[73, 157, 8], Operations: ['56-48=8']\nExploring Operation: 157-73=84, Resulting Numbers: [8, 84]\nGenerated Node #0,5,0: 98:[8, 84] Operation: 157-73=84\nMoving to Node #0,5,0\nCurrent State: 98:[8, 84], Operations: ['56-48=8', '157-73=84']\nExploring Operation: 8+84=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 98:[8, 84], Operations: ['56-48=8', '157-73=84']\nExploring Operation: 84-8=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 98:[73, 157, 8], Operations: ['56-48=8']\nExploring Operation: 73-8=65, Resulting Numbers: [157, 65]\nGenerated Node #0,5,1: 98:[157, 65] Operation: 73-8=65\nMoving to Node #0,5,1\nCurrent State: 98:[157, 65], Operations: ['56-48=8', '73-8=65']\nExploring Operation: 157-65=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 98:[73, 157, 8], Operations: ['56-48=8']\nExploring Operation: 157-8=149, Resulting Numbers: [73, 149]\nGenerated Node #0,5,2: 98:[73, 149] Operation: 157-8=149\nMoving to Node #0,5,2\nCurrent State: 98:[73, 149], Operations: ['56-48=8', '157-8=149']\nExploring Operation: 149-73=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 98:[73, 157, 8], Operations: ['56-48=8']\nExploring Operation: 73+8=81, Resulting Numbers: [157, 81]\nGenerated Node #0,5,3: 98:[157, 81] Operation: 73+8=81\nMoving to Node #0,5,3\nCurrent State: 98:[157, 81], Operations: ['56-48=8', '73+8=81']\nExploring Operation: 157-81=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 98:[73, 157, 8], Operations: ['56-48=8']\nExploring Operation: 157+8=165, Resulting Numbers: [73, 165]\nGenerated Node #0,5,4: 98:[73, 165] Operation: 157+8=165\nMoving to Node #0,5,4\nCurrent State: 98:[73, 165], Operations: ['56-48=8', '157+8=165']\nExploring Operation: 165-73=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[56, 73, 48, 157], Operations: []\nExploring Operation: 56+48=104, Resulting Numbers: [73, 157, 104]\nGenerated Node #0,6: 98:[73, 157, 104] Operation: 56+48=104\nMoving to Node #0,6\nCurrent State: 98:[73, 157, 104], Operations: ['56+48=104']\nExploring Operation: 157-73=84, Resulting Numbers: [104, 84]\nGenerated Node #0,6,0: 98:[104, 84] Operation: 157-73=84\nMoving to Node #0,6,0\nCurrent State: 98:[104, 84], Operations: ['56+48=104', '157-73=84']\nExploring Operation: 104-84=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 98:[104, 84], Operations: ['56+48=104', '157-73=84']\nExploring Operation: 104+84=188, Resulting Numbers: [188]\n188,98 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 98:[73, 157, 104], Operations: ['56+48=104']\nExploring Operation: 157-104=53, Resulting Numbers: [73, 53]\nGenerated Node #0,6,1: 98:[73, 53] Operation: 157-104=53\nMoving to Node #0,6,1\nCurrent State: 98:[73, 53], Operations: ['56+48=104', '157-104=53']\nExploring Operation: 73-53=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 98:[73, 53], Operations: ['56+48=104', '157-104=53']\nExploring Operation: 73+53=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 98:[73, 157, 104], Operations: ['56+48=104']\nExploring Operation: 104-73=31, Resulting Numbers: [157, 31]\nGenerated Node #0,6,2: 98:[157, 31] Operation: 104-73=31\nMoving to Node #0,6,2\nCurrent State: 98:[157, 31], Operations: ['56+48=104', '104-73=31']\nExploring Operation: 157-31=126, Resulting Numbers: [126]\n126,98 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 98:[157, 31], Operations: ['56+48=104', '104-73=31']\nExploring Operation: 157+31=188, Resulting Numbers: [188]\n188,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[56, 73, 48, 157], Operations: []\nExploring Operation: 73+48=121, Resulting Numbers: [56, 157, 121]\nGenerated Node #0,7: 98:[56, 157, 121] Operation: 73+48=121\nMoving to Node #0,7\nCurrent State: 98:[56, 157, 121], Operations: ['73+48=121']\nExploring Operation: 157-121=36, Resulting Numbers: [56, 36]\nGenerated Node #0,7,0: 98:[56, 36] Operation: 157-121=36\nMoving to Node #0,7,0\nCurrent State: 98:[56, 36], Operations: ['73+48=121', '157-121=36']\nExploring Operation: 56+36=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 98:[56, 36], Operations: ['73+48=121', '157-121=36']\nExploring Operation: 56-36=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 98:[56, 157, 121], Operations: ['73+48=121']\nExploring Operation: 157-56=101, Resulting Numbers: [121, 101]\nGenerated Node #0,7,1: 98:[121, 101] Operation: 157-56=101\nMoving to Node #0,7,1\nCurrent State: 98:[121, 101], Operations: ['73+48=121', '157-56=101']\nExploring Operation: 121-101=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 98:[56, 157, 121], Operations: ['73+48=121']\nExploring Operation: 121-56=65, Resulting Numbers: [157, 65]\nGenerated Node #0,7,2: 98:[157, 65] Operation: 121-56=65\nMoving to Node #0,7,2\nCurrent State: 98:[157, 65], Operations: ['73+48=121', '121-56=65']\nExploring Operation: 157-65=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[56, 73, 48, 157], Operations: []\nExploring Operation: 56+73=129, Resulting Numbers: [48, 157, 129]\nGenerated Node #0,8: 98:[48, 157, 129] Operation: 56+73=129\nMoving to Node #0,8\nCurrent State: 98:[48, 157, 129], Operations: ['56+73=129']\nExploring Operation: 157-129=28, Resulting Numbers: [48, 28]\nGenerated Node #0,8,0: 98:[48, 28] Operation: 157-129=28\nMoving to Node #0,8,0\nCurrent State: 98:[48, 28], Operations: ['56+73=129', '157-129=28']\nExploring Operation: 48-28=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 98:[48, 28], Operations: ['56+73=129', '157-129=28']\nExploring Operation: 48+28=76, Resulting Numbers: [76]\n76,98 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 98:[48, 157, 129], Operations: ['56+73=129']\nExploring Operation: 157-48=109, Resulting Numbers: [129, 109]\nGenerated Node #0,8,1: 98:[129, 109] Operation: 157-48=109\nMoving to Node #0,8,1\nCurrent State: 98:[129, 109], Operations: ['56+73=129', '157-48=109']\nExploring Operation: 129-109=20, Resulting Numbers: [20]\n20,98 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 98:[48, 157, 129], Operations: ['56+73=129']\nExploring Operation: 129-48=81, Resulting Numbers: [157, 81]\nGenerated Node #0,8,2: 98:[157, 81] Operation: 129-48=81\nMoving to Node #0,8,2\nCurrent State: 98:[157, 81], Operations: ['56+73=129', '129-48=81']\nExploring Operation: 157-81=76, Resulting Numbers: [76]\n76,98 unequal: No Solution",
"role": "assistant"
}
] |
[
56,
73,
48,
157
] | 98
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [11, 25, 4, 113] and the target 103, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 103:[11, 25, 4, 113], Operations: []\nExploring Operation: 11+25=36, Resulting Numbers: [4, 113, 36]\nGenerated Node #0,0: 103:[4, 113, 36] Operation: 11+25=36\nExploring Operation: 11*4=44, Resulting Numbers: [25, 113, 44]\nGenerated Node #0,1: 103:[25, 113, 44] Operation: 11*4=44\nExploring Operation: 11+4=15, Resulting Numbers: [25, 113, 15]\nGenerated Node #0,2: 103:[25, 113, 15] Operation: 11+4=15\nExploring Operation: 25+4=29, Resulting Numbers: [11, 113, 29]\nGenerated Node #0,3: 103:[11, 113, 29] Operation: 25+4=29\nExploring Operation: 25*4=100, Resulting Numbers: [11, 113, 100]\nGenerated Node #0,4: 103:[11, 113, 100] Operation: 25*4=100\nMoving to Node #0,4\nCurrent State: 103:[11, 113, 100], Operations: ['25*4=100']\nExploring Operation: 11+100=111, Resulting Numbers: [113, 111]\nGenerated Node #0,4,0: 103:[113, 111] Operation: 11+100=111\nExploring Operation: 113-11=102, Resulting Numbers: [100, 102]\nGenerated Node #0,4,1: 103:[100, 102] Operation: 113-11=102\nExploring Operation: 11+113=124, Resulting Numbers: [100, 124]\nGenerated Node #0,4,2: 103:[100, 124] Operation: 11+113=124\nExploring Operation: 113-100=13, Resulting Numbers: [11, 13]\nGenerated Node #0,4,3: 103:[11, 13] Operation: 113-100=13\nExploring Operation: 100-11=89, Resulting Numbers: [113, 89]\nGenerated Node #0,4,4: 103:[113, 89] Operation: 100-11=89\nMoving to Node #0,1\nCurrent State: 103:[25, 113, 44], Operations: ['11*4=44']\nExploring Operation: 25+44=69, Resulting Numbers: [113, 69]\nGenerated Node #0,1,0: 103:[113, 69] Operation: 25+44=69\nExploring Operation: 25+113=138, Resulting Numbers: [44, 138]\nGenerated Node #0,1,1: 103:[44, 138] Operation: 25+113=138\nExploring Operation: 44-25=19, Resulting Numbers: [113, 19]\nGenerated Node #0,1,2: 103:[113, 19] Operation: 44-25=19\nExploring Operation: 113-44=69, Resulting Numbers: [25, 69]\nGenerated Node #0,1,3: 103:[25, 69] Operation: 113-44=69\nExploring Operation: 113-25=88, Resulting Numbers: [44, 88]\nGenerated Node #0,1,4: 103:[44, 88] Operation: 113-25=88\nMoving to Node #0,0\nCurrent State: 103:[4, 113, 36], Operations: ['11+25=36']\nExploring Operation: 4*36=144, Resulting Numbers: [113, 144]\nGenerated Node #0,0,0: 103:[113, 144] Operation: 4*36=144\nExploring Operation: 113-4=109, Resulting Numbers: [36, 109]\nGenerated Node #0,0,1: 103:[36, 109] Operation: 113-4=109\nExploring Operation: 36-4=32, Resulting Numbers: [113, 32]\nGenerated Node #0,0,2: 103:[113, 32] Operation: 36-4=32\nExploring Operation: 4+113=117, Resulting Numbers: [36, 117]\nGenerated Node #0,0,3: 103:[36, 117] Operation: 4+113=117\nExploring Operation: 4+36=40, Resulting Numbers: [113, 40]\nGenerated Node #0,0,4: 103:[113, 40] Operation: 4+36=40\nMoving to Node #0,2\nCurrent State: 103:[25, 113, 15], Operations: ['11+4=15']\nExploring Operation: 113-15=98, Resulting Numbers: [25, 98]\nGenerated Node #0,2,0: 103:[25, 98] Operation: 113-15=98\nExploring Operation: 113+15=128, Resulting Numbers: [25, 128]\nGenerated Node #0,2,1: 103:[25, 128] Operation: 113+15=128\nExploring Operation: 25-15=10, Resulting Numbers: [113, 10]\nGenerated Node #0,2,2: 103:[113, 10] Operation: 25-15=10\nExploring Operation: 113-25=88, Resulting Numbers: [15, 88]\nGenerated Node #0,2,3: 103:[15, 88] Operation: 113-25=88\nExploring Operation: 25+15=40, Resulting Numbers: [113, 40]\nGenerated Node #0,2,4: 103:[113, 40] Operation: 25+15=40\nMoving to Node #0,3\nCurrent State: 103:[11, 113, 29], Operations: ['25+4=29']\nExploring Operation: 113-11=102, Resulting Numbers: [29, 102]\nGenerated Node #0,3,0: 103:[29, 102] Operation: 113-11=102\nExploring Operation: 29-11=18, Resulting Numbers: [113, 18]\nGenerated Node #0,3,1: 103:[113, 18] Operation: 29-11=18\nExploring Operation: 11+29=40, Resulting Numbers: [113, 40]\nGenerated Node #0,3,2: 103:[113, 40] Operation: 11+29=40\nExploring Operation: 11+113=124, Resulting Numbers: [29, 124]\nGenerated Node #0,3,3: 103:[29, 124] Operation: 11+113=124\nExploring Operation: 113-29=84, Resulting Numbers: [11, 84]\nGenerated Node #0,3,4: 103:[11, 84] Operation: 113-29=84\nMoving to Node #0,4,1\nCurrent State: 103:[100, 102], Operations: ['25*4=100', '113-11=102']\nExploring Operation: 102-100=2, Resulting Numbers: [2]\n2,103 unequal: No Solution\nExploring Operation: 100*102=10200, Resulting Numbers: [10200]\n10200,103 unequal: No Solution\nExploring Operation: 100+102=202, Resulting Numbers: [202]\n202,103 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 103:[113, 111], Operations: ['25*4=100', '11+100=111']\nExploring Operation: 113-111=2, Resulting Numbers: [2]\n2,103 unequal: No Solution\nExploring Operation: 113+111=224, Resulting Numbers: [224]\n224,103 unequal: No Solution\nExploring Operation: 113*111=12543, Resulting Numbers: [12543]\n12543,103 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 103:[100, 124], Operations: ['25*4=100', '11+113=124']\nExploring Operation: 100+124=224, Resulting Numbers: [224]\n224,103 unequal: No Solution\nExploring Operation: 124-100=24, Resulting Numbers: [24]\n24,103 unequal: No Solution\nExploring Operation: 100*124=12400, Resulting Numbers: [12400]\n12400,103 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 103:[113, 89], Operations: ['25*4=100', '100-11=89']\nExploring Operation: 113+89=202, Resulting Numbers: [202]\n202,103 unequal: No Solution\nExploring Operation: 113-89=24, Resulting Numbers: [24]\n24,103 unequal: No Solution\nExploring Operation: 113*89=10057, Resulting Numbers: [10057]\n10057,103 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 103:[113, 69], Operations: ['11*4=44', '25+44=69']\nExploring Operation: 113*69=7797, Resulting Numbers: [7797]\n7797,103 unequal: No Solution\nExploring Operation: 113-69=44, Resulting Numbers: [44]\n44,103 unequal: No Solution\nExploring Operation: 113+69=182, Resulting Numbers: [182]\n182,103 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 103:[113, 144], Operations: ['11+25=36', '4*36=144']\nExploring Operation: 113+144=257, Resulting Numbers: [257]\n257,103 unequal: No Solution\nExploring Operation: 144-113=31, Resulting Numbers: [31]\n31,103 unequal: No Solution\nExploring Operation: 113*144=16272, Resulting Numbers: [16272]\n16272,103 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 103:[44], Operations: ['11*4=44', '25+44=69', '113-69=44']\nMoving to Node #0,0,4\nCurrent State: 103:[113, 40], Operations: ['11+25=36', '4+36=40']\nExploring Operation: 113*40=4520, Resulting Numbers: [4520]\n4520,103 unequal: No Solution\nExploring Operation: 113-40=73, Resulting Numbers: [73]\n73,103 unequal: No Solution\nExploring Operation: 113+40=153, Resulting Numbers: [153]\n153,103 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 103:[36, 109], Operations: ['11+25=36', '113-4=109']\nExploring Operation: 36*109=3924, Resulting Numbers: [3924]\n3924,103 unequal: No Solution\nExploring Operation: 109-36=73, Resulting Numbers: [73]\n73,103 unequal: No Solution\nExploring Operation: 36+109=145, Resulting Numbers: [145]\n145,103 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 103:[113, 40], Operations: ['25+4=29', '11+29=40']\nExploring Operation: 113+40=153, Resulting Numbers: [153]\n153,103 unequal: No Solution\nExploring Operation: 113*40=4520, Resulting Numbers: [4520]\n4520,103 unequal: No Solution\nExploring Operation: 113-40=73, Resulting Numbers: [73]\n73,103 unequal: No Solution\nMoving to Node #0,0,4,0\nCurrent State: 103:[73], Operations: ['11+25=36', '4+36=40', '113-40=73']\nMoving to Node #0,0,1,0\nCurrent State: 103:[73], Operations: ['11+25=36', '113-4=109', '109-36=73']\nMoving to Node #0,3,2,0\nCurrent State: 103:[73], Operations: ['25+4=29', '11+29=40', '113-40=73']\nMoving to Node #0,0,1,0\nCurrent State: 103:[145], Operations: ['11+25=36', '113-4=109', '36+109=145']\nMoving to Node #0,3,2,0\nCurrent State: 103:[153], Operations: ['25+4=29', '11+29=40', '113+40=153']\nMoving to Node #0,0,4,0\nCurrent State: 103:[153], Operations: ['11+25=36', '4+36=40', '113+40=153']\nMoving to Node #0,0,0,0\nCurrent State: 103:[31], Operations: ['11+25=36', '4*36=144', '144-113=31']\nMoving to Node #0,2,4\nCurrent State: 103:[113, 40], Operations: ['11+4=15', '25+15=40']\nExploring Operation: 113+40=153, Resulting Numbers: [153]\n153,103 unequal: No Solution\nExploring Operation: 113-40=73, Resulting Numbers: [73]\n73,103 unequal: No Solution\nExploring Operation: 113*40=4520, Resulting Numbers: [4520]\n4520,103 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 103:[44, 88], Operations: ['11*4=44', '113-25=88']\nExploring Operation: 44+88=132, Resulting Numbers: [132]\n132,103 unequal: No Solution\nExploring Operation: 44*88=3872, Resulting Numbers: [3872]\n3872,103 unequal: No Solution\nExploring Operation: 88/44=2, Resulting Numbers: [2]\n2,103 unequal: No Solution\nExploring Operation: 88-44=44, Resulting Numbers: [44]\n44,103 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 103:[29, 102], Operations: ['25+4=29', '113-11=102']\nExploring Operation: 29*102=2958, Resulting Numbers: [2958]\n2958,103 unequal: No Solution\nExploring Operation: 102-29=73, Resulting Numbers: [73]\n73,103 unequal: No Solution\nExploring Operation: 29+102=131, Resulting Numbers: [131]\n131,103 unequal: No Solution\nMoving to Node #0,3,0,0\nCurrent State: 103:[131], Operations: ['25+4=29', '113-11=102', '29+102=131']\nMoving to Node #0,1,4,0\nCurrent State: 103:[132], Operations: ['11*4=44', '113-25=88', '44+88=132']\nMoving to Node #0,2,4,0\nCurrent State: 103:[73], Operations: ['11+4=15', '25+15=40', '113-40=73']\nMoving to Node #0,3,0,0\nCurrent State: 103:[73], Operations: ['25+4=29', '113-11=102', '102-29=73']\nMoving to Node #0,2,4,0\nCurrent State: 103:[153], Operations: ['11+4=15', '25+15=40', '113+40=153']\nMoving to Node #0,1,4,0\nCurrent State: 103:[44], Operations: ['11*4=44', '113-25=88', '88-44=44']\nMoving to Node #0,4,2,0\nCurrent State: 103:[24], Operations: ['25*4=100', '11+113=124', '124-100=24']\nMoving to Node #0,4,4,0\nCurrent State: 103:[24], Operations: ['25*4=100', '100-11=89', '113-89=24']\nMoving to Node #0,1,0,0\nCurrent State: 103:[182], Operations: ['11*4=44', '25+44=69', '113+69=182']\nMoving to Node #0,0,3\nCurrent State: 103:[36, 117], Operations: ['11+25=36', '4+113=117']\nExploring Operation: 36+117=153, Resulting Numbers: [153]\n153,103 unequal: No Solution\nExploring Operation: 36*117=4212, Resulting Numbers: [4212]\n4212,103 unequal: No Solution\nExploring Operation: 117-36=81, Resulting Numbers: [81]\n81,103 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 103:[81], Operations: ['11+25=36', '4+113=117', '117-36=81']\nMoving to Node #0,0,3,0\nCurrent State: 103:[153], Operations: ['11+25=36', '4+113=117', '36+117=153']\nMoving to Node #0,0,2\nCurrent State: 103:[113, 32], Operations: ['11+25=36', '36-4=32']\nExploring Operation: 113-32=81, Resulting Numbers: [81]\n81,103 unequal: No Solution\nExploring Operation: 113*32=3616, Resulting Numbers: [3616]\n3616,103 unequal: No Solution\nExploring Operation: 113+32=145, Resulting Numbers: [145]\n145,103 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 103:[25, 98], Operations: ['11+4=15', '113-15=98']\nExploring Operation: 25+98=123, Resulting Numbers: [123]\n123,103 unequal: No Solution\nExploring Operation: 25*98=2450, Resulting Numbers: [2450]\n2450,103 unequal: No Solution\nExploring Operation: 98-25=73, Resulting Numbers: [73]\n73,103 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 103:[44, 138], Operations: ['11*4=44', '25+113=138']\nExploring Operation: 138-44=94, Resulting Numbers: [94]\n94,103 unequal: No Solution\nExploring Operation: 44+138=182, Resulting Numbers: [182]\n182,103 unequal: No Solution\nExploring Operation: 44*138=6072, Resulting Numbers: [6072]\n6072,103 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 103:[94], Operations: ['11*4=44', '25+113=138', '138-44=94']\nMoving to Node #0,2,0,0\nCurrent State: 103:[123], Operations: ['11+4=15', '113-15=98', '25+98=123']\nMoving to Node #0,0,2,0\nCurrent State: 103:[81], Operations: ['11+25=36', '36-4=32', '113-32=81']\nMoving to Node #0,2,0,0\nCurrent State: 103:[73], Operations: ['11+4=15', '113-15=98', '98-25=73']\nMoving to Node #0,0,2,0\nCurrent State: 103:[145], Operations: ['11+25=36', '36-4=32', '113+32=145']\nMoving to Node #0,1,1,0\nCurrent State: 103:[182], Operations: ['11*4=44', '25+113=138', '44+138=182']\nMoving to Node #0,1,2\nCurrent State: 103:[113, 19], Operations: ['11*4=44', '44-25=19']\nExploring Operation: 113+19=132, Resulting Numbers: [132]\n132,103 unequal: No Solution\nExploring Operation: 113*19=2147, Resulting Numbers: [2147]\n2147,103 unequal: No Solution\nExploring Operation: 113-19=94, Resulting Numbers: [94]\n94,103 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 103:[29, 124], Operations: ['25+4=29', '11+113=124']\nExploring Operation: 29*124=3596, Resulting Numbers: [3596]\n3596,103 unequal: No Solution\nExploring Operation: 124-29=95, Resulting Numbers: [95]\n95,103 unequal: No Solution\nExploring Operation: 29+124=153, Resulting Numbers: [153]\n153,103 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 103:[113, 18], Operations: ['25+4=29', '29-11=18']\nExploring Operation: 113-18=95, Resulting Numbers: [95]\n95,103 unequal: No Solution\nExploring Operation: 113*18=2034, Resulting Numbers: [2034]\n2034,103 unequal: No Solution\nExploring Operation: 113+18=131, Resulting Numbers: [131]\n131,103 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 103:[202], Operations: ['25*4=100', '100-11=89', '113+89=202']\nMoving to Node #0,3,3,0\nCurrent State: 103:[95], Operations: ['25+4=29', '11+113=124', '124-29=95']\nMoving to Node #0,3,1,0\nCurrent State: 103:[95], Operations: ['25+4=29', '29-11=18', '113-18=95']\nMoving to Node #0,1,2,0\nCurrent State: 103:[94], Operations: ['11*4=44', '44-25=19', '113-19=94']\nMoving to Node #0,3,1,0\nCurrent State: 103:[131], Operations: ['25+4=29', '29-11=18', '113+18=131']\nMoving to Node #0,1,2,0\nCurrent State: 103:[132], Operations: ['11*4=44', '44-25=19', '113+19=132']\nMoving to Node #0,3,3,0\nCurrent State: 103:[153], Operations: ['25+4=29', '11+113=124', '29+124=153']\nMoving to Node #0,4,1,0\nCurrent State: 103:[202], Operations: ['25*4=100', '113-11=102', '100+102=202']\nMoving to Node #0,4,0,0\nCurrent State: 103:[2], Operations: ['25*4=100', '11+100=111', '113-111=2']\nMoving to Node #0,4,1,0\nCurrent State: 103:[2], Operations: ['25*4=100', '113-11=102', '102-100=2']\nMoving to Node #0,1,4,0\nCurrent State: 103:[2], Operations: ['11*4=44', '113-25=88', '88/44=2']\nMoving to Node #0,2,3\nCurrent State: 103:[15, 88], Operations: ['11+4=15', '113-25=88']\nExploring Operation: 88-15=73, Resulting Numbers: [73]\n73,103 unequal: No Solution\nExploring Operation: 15*88=1320, Resulting Numbers: [1320]\n1320,103 unequal: No Solution\nExploring Operation: 15+88=103, Resulting Numbers: [103]\n103,103 equal: Goal Reached\nFinal operations:\n11+4=15\n113-25=88\n15+88=103",
"role": "assistant"
}
] |
[
11,
25,
4,
113
] | 103
|
bfs_5
|
mult_heuristic
| 0.920139
|
[
{
"content": "Given the numbers [42, 194, 112, 98] and the target 199, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 199:[42, 194, 112, 98], Operations: []\nExploring Operation: 112+98=210, Resulting Numbers: [42, 194, 210]\nGenerated Node #0,0: 199:[42, 194, 210] Operation: 112+98=210\nExploring Operation: 42+98=140, Resulting Numbers: [194, 112, 140]\nGenerated Node #0,1: 199:[194, 112, 140] Operation: 42+98=140\nExploring Operation: 42+112=154, Resulting Numbers: [194, 98, 154]\nGenerated Node #0,2: 199:[194, 98, 154] Operation: 42+112=154\nExploring Operation: 42+194=236, Resulting Numbers: [112, 98, 236]\nGenerated Node #0,3: 199:[112, 98, 236] Operation: 42+194=236\nMoving to Node #0,1\nCurrent State: 199:[194, 112, 140], Operations: ['42+98=140']\nExploring Operation: 194-112=82, Resulting Numbers: [140, 82]\nGenerated Node #0,1,0: 199:[140, 82] Operation: 194-112=82\nExploring Operation: 194+112=306, Resulting Numbers: [140, 306]\nGenerated Node #0,1,1: 199:[140, 306] Operation: 194+112=306\nExploring Operation: 112+140=252, Resulting Numbers: [194, 252]\nGenerated Node #0,1,2: 199:[194, 252] Operation: 112+140=252\nExploring Operation: 140-112=28, Resulting Numbers: [194, 28]\nGenerated Node #0,1,3: 199:[194, 28] Operation: 140-112=28\nMoving to Node #0,2\nCurrent State: 199:[194, 98, 154], Operations: ['42+112=154']\nExploring Operation: 98+154=252, Resulting Numbers: [194, 252]\nGenerated Node #0,2,0: 199:[194, 252] Operation: 98+154=252\nExploring Operation: 194+98=292, Resulting Numbers: [154, 292]\nGenerated Node #0,2,1: 199:[154, 292] Operation: 194+98=292\nExploring Operation: 194-98=96, Resulting Numbers: [154, 96]\nGenerated Node #0,2,2: 199:[154, 96] Operation: 194-98=96\nExploring Operation: 154-98=56, Resulting Numbers: [194, 56]\nGenerated Node #0,2,3: 199:[194, 56] Operation: 154-98=56\nMoving to Node #0,0\nCurrent State: 199:[42, 194, 210], Operations: ['112+98=210']\nExploring Operation: 194-42=152, Resulting Numbers: [210, 152]\nGenerated Node #0,0,0: 199:[210, 152] Operation: 194-42=152\nExploring Operation: 42+210=252, Resulting Numbers: [194, 252]\nGenerated Node #0,0,1: 199:[194, 252] Operation: 42+210=252\nExploring Operation: 42+194=236, Resulting Numbers: [210, 236]\nGenerated Node #0,0,2: 199:[210, 236] Operation: 42+194=236\nExploring Operation: 210-42=168, Resulting Numbers: [194, 168]\nGenerated Node #0,0,3: 199:[194, 168] Operation: 210-42=168\nMoving to Node #0,3\nCurrent State: 199:[112, 98, 236], Operations: ['42+194=236']\nExploring Operation: 112+98=210, Resulting Numbers: [236, 210]\nGenerated Node #0,3,0: 199:[236, 210] Operation: 112+98=210\nExploring Operation: 112-98=14, Resulting Numbers: [236, 14]\nGenerated Node #0,3,1: 199:[236, 14] Operation: 112-98=14\nExploring Operation: 236-112=124, Resulting Numbers: [98, 124]\nGenerated Node #0,3,2: 199:[98, 124] Operation: 236-112=124\nExploring Operation: 236-98=138, Resulting Numbers: [112, 138]\nGenerated Node #0,3,3: 199:[112, 138] Operation: 236-98=138\nMoving to Node #0,0,3\nCurrent State: 199:[194, 168], Operations: ['112+98=210', '210-42=168']\nExploring Operation: 194*168=32592, Resulting Numbers: [32592]\n32592,199 unequal: No Solution\nExploring Operation: 194+168=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nExploring Operation: 194-168=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 199:[236, 210], Operations: ['42+194=236', '112+98=210']\nExploring Operation: 236+210=446, Resulting Numbers: [446]\n446,199 unequal: No Solution\nExploring Operation: 236-210=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nExploring Operation: 236*210=49560, Resulting Numbers: [49560]\n49560,199 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 199:[210, 236], Operations: ['112+98=210', '42+194=236']\nExploring Operation: 210+236=446, Resulting Numbers: [446]\n446,199 unequal: No Solution\nExploring Operation: 210*236=49560, Resulting Numbers: [49560]\n49560,199 unequal: No Solution\nExploring Operation: 236-210=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 199:[194, 252], Operations: ['112+98=210', '42+210=252']\nExploring Operation: 194*252=48888, Resulting Numbers: [48888]\n48888,199 unequal: No Solution\nExploring Operation: 194+252=446, Resulting Numbers: [446]\n446,199 unequal: No Solution\nExploring Operation: 252-194=58, Resulting Numbers: [58]\n58,199 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 199:[194, 252], Operations: ['42+98=140', '112+140=252']\nExploring Operation: 194*252=48888, Resulting Numbers: [48888]\n48888,199 unequal: No Solution\nExploring Operation: 194+252=446, Resulting Numbers: [446]\n446,199 unequal: No Solution\nExploring Operation: 252-194=58, Resulting Numbers: [58]\n58,199 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 199:[210, 152], Operations: ['112+98=210', '194-42=152']\nExploring Operation: 210+152=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nExploring Operation: 210-152=58, Resulting Numbers: [58]\n58,199 unequal: No Solution\nExploring Operation: 210*152=31920, Resulting Numbers: [31920]\n31920,199 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 199:[194, 252], Operations: ['42+112=154', '98+154=252']\nExploring Operation: 194+252=446, Resulting Numbers: [446]\n446,199 unequal: No Solution\nExploring Operation: 252-194=58, Resulting Numbers: [58]\n58,199 unequal: No Solution\nExploring Operation: 194*252=48888, Resulting Numbers: [48888]\n48888,199 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 199:[154, 292], Operations: ['42+112=154', '194+98=292']\nExploring Operation: 154+292=446, Resulting Numbers: [446]\n446,199 unequal: No Solution\nExploring Operation: 154*292=44968, Resulting Numbers: [44968]\n44968,199 unequal: No Solution\nExploring Operation: 292-154=138, Resulting Numbers: [138]\n138,199 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 199:[138], Operations: ['42+112=154', '194+98=292', '292-154=138']\nMoving to Node #0,0,1,0\nCurrent State: 199:[58], Operations: ['112+98=210', '42+210=252', '252-194=58']\nMoving to Node #0,0,0,0\nCurrent State: 199:[58], Operations: ['112+98=210', '194-42=152', '210-152=58']\nMoving to Node #0,2,0,0\nCurrent State: 199:[58], Operations: ['42+112=154', '98+154=252', '252-194=58']\nMoving to Node #0,1,2,0\nCurrent State: 199:[58], Operations: ['42+98=140', '112+140=252', '252-194=58']\nMoving to Node #0,2,2\nCurrent State: 199:[154, 96], Operations: ['42+112=154', '194-98=96']\nExploring Operation: 154-96=58, Resulting Numbers: [58]\n58,199 unequal: No Solution\nExploring Operation: 154*96=14784, Resulting Numbers: [14784]\n14784,199 unequal: No Solution\nExploring Operation: 154+96=250, Resulting Numbers: [250]\n250,199 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 199:[112, 138], Operations: ['42+194=236', '236-98=138']\nExploring Operation: 138-112=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nExploring Operation: 112*138=15456, Resulting Numbers: [15456]\n15456,199 unequal: No Solution\nExploring Operation: 112+138=250, Resulting Numbers: [250]\n250,199 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 199:[194, 56], Operations: ['42+112=154', '154-98=56']\nExploring Operation: 194*56=10864, Resulting Numbers: [10864]\n10864,199 unequal: No Solution\nExploring Operation: 194+56=250, Resulting Numbers: [250]\n250,199 unequal: No Solution\nExploring Operation: 194-56=138, Resulting Numbers: [138]\n138,199 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 199:[250], Operations: ['42+112=154', '194-98=96', '154+96=250']\nMoving to Node #0,3,3,0\nCurrent State: 199:[250], Operations: ['42+194=236', '236-98=138', '112+138=250']\nMoving to Node #0,2,3,0\nCurrent State: 199:[250], Operations: ['42+112=154', '154-98=56', '194+56=250']\nMoving to Node #0,2,3,0\nCurrent State: 199:[138], Operations: ['42+112=154', '154-98=56', '194-56=138']\nMoving to Node #0,2,2,0\nCurrent State: 199:[58], Operations: ['42+112=154', '194-98=96', '154-96=58']\nMoving to Node #0,0,3,0\nCurrent State: 199:[362], Operations: ['112+98=210', '210-42=168', '194+168=362']\nMoving to Node #0,0,0,0\nCurrent State: 199:[362], Operations: ['112+98=210', '194-42=152', '210+152=362']\nMoving to Node #0,1,1\nCurrent State: 199:[140, 306], Operations: ['42+98=140', '194+112=306']\nExploring Operation: 140+306=446, Resulting Numbers: [446]\n446,199 unequal: No Solution\nExploring Operation: 140*306=42840, Resulting Numbers: [42840]\n42840,199 unequal: No Solution\nExploring Operation: 306-140=166, Resulting Numbers: [166]\n166,199 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 199:[166], Operations: ['42+98=140', '194+112=306', '306-140=166']\nMoving to Node #0,0,3,0\nCurrent State: 199:[26], Operations: ['112+98=210', '210-42=168', '194-168=26']\nMoving to Node #0,3,3,0\nCurrent State: 199:[26], Operations: ['42+194=236', '236-98=138', '138-112=26']\nMoving to Node #0,0,2,0\nCurrent State: 199:[26], Operations: ['112+98=210', '42+194=236', '236-210=26']\nMoving to Node #0,3,0,0\nCurrent State: 199:[26], Operations: ['42+194=236', '112+98=210', '236-210=26']\nMoving to Node #0,1,0\nCurrent State: 199:[140, 82], Operations: ['42+98=140', '194-112=82']\nExploring Operation: 140+82=222, Resulting Numbers: [222]\n222,199 unequal: No Solution\nExploring Operation: 140*82=11480, Resulting Numbers: [11480]\n11480,199 unequal: No Solution\nExploring Operation: 140-82=58, Resulting Numbers: [58]\n58,199 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 199:[194, 28], Operations: ['42+98=140', '140-112=28']\nExploring Operation: 194+28=222, Resulting Numbers: [222]\n222,199 unequal: No Solution\nExploring Operation: 194-28=166, Resulting Numbers: [166]\n166,199 unequal: No Solution\nExploring Operation: 194*28=5432, Resulting Numbers: [5432]\n5432,199 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 199:[98, 124], Operations: ['42+194=236', '236-112=124']\nExploring Operation: 98*124=12152, Resulting Numbers: [12152]\n12152,199 unequal: No Solution\nExploring Operation: 98+124=222, Resulting Numbers: [222]\n222,199 unequal: No Solution\nExploring Operation: 124-98=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 199:[222], Operations: ['42+98=140', '194-112=82', '140+82=222']\nMoving to Node #0,1,3,0\nCurrent State: 199:[222], Operations: ['42+98=140', '140-112=28', '194+28=222']\nMoving to Node #0,3,2,0\nCurrent State: 199:[222], Operations: ['42+194=236', '236-112=124', '98+124=222']\nMoving to Node #0,1,3,0\nCurrent State: 199:[166], Operations: ['42+98=140', '140-112=28', '194-28=166']\nMoving to Node #0,1,0,0\nCurrent State: 199:[58], Operations: ['42+98=140', '194-112=82', '140-82=58']\nMoving to Node #0,3,2,0\nCurrent State: 199:[26], Operations: ['42+194=236', '236-112=124', '124-98=26']\nMoving to Node #0,3,1\nCurrent State: 199:[236, 14], Operations: ['42+194=236', '112-98=14']\nExploring Operation: 236+14=250, Resulting Numbers: [250]\n250,199 unequal: No Solution\nExploring Operation: 236-14=222, Resulting Numbers: [222]\n222,199 unequal: No Solution\nExploring Operation: 236*14=3304, Resulting Numbers: [3304]\n3304,199 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 199:[446], Operations: ['112+98=210', '42+210=252', '194+252=446']\nMoving to Node #0,3,1,0\nCurrent State: 199:[222], Operations: ['42+194=236', '112-98=14', '236-14=222']\nMoving to Node #0,3,1,0\nCurrent State: 199:[250], Operations: ['42+194=236', '112-98=14', '236+14=250']\nMoving to Node #0,1,1,0\nCurrent State: 199:[446], Operations: ['42+98=140', '194+112=306', '140+306=446']\nMoving to Node #0,2,1,0\nCurrent State: 199:[446], Operations: ['42+112=154', '194+98=292', '154+292=446']\nMoving to Node #0,1,2,0\nCurrent State: 199:[446], Operations: ['42+98=140', '112+140=252', '194+252=446']\nMoving to Node #0,0,2,0\nCurrent State: 199:[446], Operations: ['112+98=210', '42+194=236', '210+236=446']\nMoving to Node #0,3,0,0\nCurrent State: 199:[446], Operations: ['42+194=236', '112+98=210', '236+210=446']\nMoving to Node #0,2,0,0\nCurrent State: 199:[446], Operations: ['42+112=154', '98+154=252', '194+252=446']\nMoving to Node #0,3,1,0\nCurrent State: 199:[3304], Operations: ['42+194=236', '112-98=14', '236*14=3304']\nMoving to Node #0,1,3,0\nCurrent State: 199:[5432], Operations: ['42+98=140', '140-112=28', '194*28=5432']\nMoving to Node #0,2,3,0\nCurrent State: 199:[10864], Operations: ['42+112=154', '154-98=56', '194*56=10864']\nMoving to Node #0,1,0,0\nCurrent State: 199:[11480], Operations: ['42+98=140', '194-112=82', '140*82=11480']\nMoving to Node #0,3,2,0\nCurrent State: 199:[12152], Operations: ['42+194=236', '236-112=124', '98*124=12152']\nMoving to Node #0,2,2,0\nCurrent State: 199:[14784], Operations: ['42+112=154', '194-98=96', '154*96=14784']\nMoving to Node #0,3,3,0\nCurrent State: 199:[15456], Operations: ['42+194=236', '236-98=138', '112*138=15456']\nMoving to Node #0,0,0,0\nCurrent State: 199:[31920], Operations: ['112+98=210', '194-42=152', '210*152=31920']\nMoving to Node #0,0,3,0\nCurrent State: 199:[32592], Operations: ['112+98=210', '210-42=168', '194*168=32592']\nMoving to Node #0,1,1,0\nCurrent State: 199:[42840], Operations: ['42+98=140', '194+112=306', '140*306=42840']\nMoving to Node #0,2,1,0\nCurrent State: 199:[44968], Operations: ['42+112=154', '194+98=292', '154*292=44968']\nMoving to Node #0,1,2,0\nCurrent State: 199:[48888], Operations: ['42+98=140', '112+140=252', '194*252=48888']\nMoving to Node #0,2,0,0\nCurrent State: 199:[48888], Operations: ['42+112=154', '98+154=252', '194*252=48888']\nMoving to Node #0,0,1,0\nCurrent State: 199:[48888], Operations: ['112+98=210', '42+210=252', '194*252=48888']\nMoving to Node #0,0,2,0\nCurrent State: 199:[49560], Operations: ['112+98=210', '42+194=236', '210*236=49560']\nMoving to Node #0,3,0,0\nCurrent State: 199:[49560], Operations: ['42+194=236', '112+98=210', '236*210=49560']",
"role": "assistant"
}
] |
[
42,
194,
112,
98
] | 199
|
bfs_4
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [16, 37, 117, 109] and the target 26, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 26:[16, 37, 117, 109], Operations: []\nExploring Operation: 117-109=8, Resulting Numbers: [16, 37, 8]\nGenerated Node #0,0: 26:[16, 37, 8] Operation: 117-109=8\nMoving to Node #0,0\nCurrent State: 26:[16, 37, 8], Operations: ['117-109=8']\nExploring Operation: 37-8=29, Resulting Numbers: [16, 29]\nGenerated Node #0,0,0: 26:[16, 29] Operation: 37-8=29\nMoving to Node #0,0,0\nCurrent State: 26:[16, 29], Operations: ['117-109=8', '37-8=29']\nExploring Operation: 29-16=13, Resulting Numbers: [13]\n13,26 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 26:[16, 29], Operations: ['117-109=8', '37-8=29']\nExploring Operation: 16+29=45, Resulting Numbers: [45]\n45,26 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 26:[16, 37, 8], Operations: ['117-109=8']\nExploring Operation: 37-16=21, Resulting Numbers: [8, 21]\nGenerated Node #0,0,1: 26:[8, 21] Operation: 37-16=21\nMoving to Node #0,0,1\nCurrent State: 26:[8, 21], Operations: ['117-109=8', '37-16=21']\nExploring Operation: 21-8=13, Resulting Numbers: [13]\n13,26 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 26:[8, 21], Operations: ['117-109=8', '37-16=21']\nExploring Operation: 8+21=29, Resulting Numbers: [29]\n29,26 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 26:[16, 37, 8], Operations: ['117-109=8']\nExploring Operation: 16/8=2, Resulting Numbers: [37, 2]\nGenerated Node #0,0,2: 26:[37, 2] Operation: 16/8=2\nMoving to Node #0,0,2\nCurrent State: 26:[37, 2], Operations: ['117-109=8', '16/8=2']\nExploring Operation: 37-2=35, Resulting Numbers: [35]\n35,26 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 26:[37, 2], Operations: ['117-109=8', '16/8=2']\nExploring Operation: 37+2=39, Resulting Numbers: [39]\n39,26 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 26:[16, 37, 8], Operations: ['117-109=8']\nExploring Operation: 16+8=24, Resulting Numbers: [37, 24]\nGenerated Node #0,0,3: 26:[37, 24] Operation: 16+8=24\nMoving to Node #0,0,3\nCurrent State: 26:[37, 24], Operations: ['117-109=8', '16+8=24']\nExploring Operation: 37-24=13, Resulting Numbers: [13]\n13,26 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 26:[16, 37, 8], Operations: ['117-109=8']\nExploring Operation: 16-8=8, Resulting Numbers: [37, 8]\nGenerated Node #0,0,4: 26:[37, 8] Operation: 16-8=8\nMoving to Node #0,0,4\nCurrent State: 26:[37, 8], Operations: ['117-109=8', '16-8=8']\nExploring Operation: 37-8=29, Resulting Numbers: [29]\n29,26 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 26:[37, 8], Operations: ['117-109=8', '16-8=8']\nExploring Operation: 37+8=45, Resulting Numbers: [45]\n45,26 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 26:[16, 37, 8], Operations: ['117-109=8']\nExploring Operation: 37+8=45, Resulting Numbers: [16, 45]\nGenerated Node #0,0,5: 26:[16, 45] Operation: 37+8=45\nMoving to Node #0,0,5\nCurrent State: 26:[16, 45], Operations: ['117-109=8', '37+8=45']\nExploring Operation: 45-16=29, Resulting Numbers: [29]\n29,26 unequal: No Solution",
"role": "assistant"
}
] |
[
16,
37,
117,
109
] | 26
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [92, 163, 157, 46] and the target 182, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 182:[92, 163, 157, 46], Operations: []\nExploring Operation: 92+46=138, Resulting Numbers: [163, 157, 138]\nGenerated Node #0,0: 182:[163, 157, 138] Operation: 92+46=138\nExploring Operation: 157+46=203, Resulting Numbers: [92, 163, 203]\nGenerated Node #0,1: 182:[92, 163, 203] Operation: 157+46=203\nExploring Operation: 163+46=209, Resulting Numbers: [92, 157, 209]\nGenerated Node #0,2: 182:[92, 157, 209] Operation: 163+46=209\nMoving to Node #0,0\nCurrent State: 182:[163, 157, 138], Operations: ['92+46=138']\nExploring Operation: 157+138=295, Resulting Numbers: [163, 295]\nGenerated Node #0,0,0: 182:[163, 295] Operation: 157+138=295\nExploring Operation: 163+157=320, Resulting Numbers: [138, 320]\nGenerated Node #0,0,1: 182:[138, 320] Operation: 163+157=320\nExploring Operation: 163+138=301, Resulting Numbers: [157, 301]\nGenerated Node #0,0,2: 182:[157, 301] Operation: 163+138=301\nMoving to Node #0,1\nCurrent State: 182:[92, 163, 203], Operations: ['157+46=203']\nExploring Operation: 92+163=255, Resulting Numbers: [203, 255]\nGenerated Node #0,1,0: 182:[203, 255] Operation: 92+163=255\nExploring Operation: 163-92=71, Resulting Numbers: [203, 71]\nGenerated Node #0,1,1: 182:[203, 71] Operation: 163-92=71\nExploring Operation: 203-92=111, Resulting Numbers: [163, 111]\nGenerated Node #0,1,2: 182:[163, 111] Operation: 203-92=111\nMoving to Node #0,2\nCurrent State: 182:[92, 157, 209], Operations: ['163+46=209']\nExploring Operation: 92+157=249, Resulting Numbers: [209, 249]\nGenerated Node #0,2,0: 182:[209, 249] Operation: 92+157=249\nExploring Operation: 157-92=65, Resulting Numbers: [209, 65]\nGenerated Node #0,2,1: 182:[209, 65] Operation: 157-92=65\nExploring Operation: 209-92=117, Resulting Numbers: [157, 117]\nGenerated Node #0,2,2: 182:[157, 117] Operation: 209-92=117\nMoving to Node #0,1,2\nCurrent State: 182:[163, 111], Operations: ['157+46=203', '203-92=111']\nExploring Operation: 163+111=274, Resulting Numbers: [274]\n274,182 unequal: No Solution\nExploring Operation: 163*111=18093, Resulting Numbers: [18093]\n18093,182 unequal: No Solution\nExploring Operation: 163-111=52, Resulting Numbers: [52]\n52,182 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 182:[157, 117], Operations: ['163+46=209', '209-92=117']\nExploring Operation: 157*117=18369, Resulting Numbers: [18369]\n18369,182 unequal: No Solution\nExploring Operation: 157+117=274, Resulting Numbers: [274]\n274,182 unequal: No Solution\nExploring Operation: 157-117=40, Resulting Numbers: [40]\n40,182 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 182:[203, 255], Operations: ['157+46=203', '92+163=255']\nExploring Operation: 255-203=52, Resulting Numbers: [52]\n52,182 unequal: No Solution\nExploring Operation: 203+255=458, Resulting Numbers: [458]\n458,182 unequal: No Solution\nExploring Operation: 203*255=51765, Resulting Numbers: [51765]\n51765,182 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 182:[209, 249], Operations: ['163+46=209', '92+157=249']\nExploring Operation: 249-209=40, Resulting Numbers: [40]\n40,182 unequal: No Solution\nExploring Operation: 209*249=52041, Resulting Numbers: [52041]\n52041,182 unequal: No Solution\nExploring Operation: 209+249=458, Resulting Numbers: [458]\n458,182 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 182:[203, 71], Operations: ['157+46=203', '163-92=71']\nExploring Operation: 203*71=14413, Resulting Numbers: [14413]\n14413,182 unequal: No Solution\nExploring Operation: 203-71=132, Resulting Numbers: [132]\n132,182 unequal: No Solution\nExploring Operation: 203+71=274, Resulting Numbers: [274]\n274,182 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 182:[163, 295], Operations: ['92+46=138', '157+138=295']\nExploring Operation: 163+295=458, Resulting Numbers: [458]\n458,182 unequal: No Solution\nExploring Operation: 295-163=132, Resulting Numbers: [132]\n132,182 unequal: No Solution\nExploring Operation: 163*295=48085, Resulting Numbers: [48085]\n48085,182 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 182:[132], Operations: ['157+46=203', '163-92=71', '203-71=132']\nMoving to Node #0,0,0,0\nCurrent State: 182:[132], Operations: ['92+46=138', '157+138=295', '295-163=132']\nMoving to Node #0,2,1\nCurrent State: 182:[209, 65], Operations: ['163+46=209', '157-92=65']\nExploring Operation: 209+65=274, Resulting Numbers: [274]\n274,182 unequal: No Solution\nExploring Operation: 209-65=144, Resulting Numbers: [144]\n144,182 unequal: No Solution\nExploring Operation: 209*65=13585, Resulting Numbers: [13585]\n13585,182 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 182:[144], Operations: ['163+46=209', '157-92=65', '209-65=144']\nMoving to Node #0,0,2\nCurrent State: 182:[157, 301], Operations: ['92+46=138', '163+138=301']\nExploring Operation: 301-157=144, Resulting Numbers: [144]\n144,182 unequal: No Solution\nExploring Operation: 157+301=458, Resulting Numbers: [458]\n458,182 unequal: No Solution\nExploring Operation: 157*301=47257, Resulting Numbers: [47257]\n47257,182 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 182:[138, 320], Operations: ['92+46=138', '163+157=320']\nExploring Operation: 138+320=458, Resulting Numbers: [458]\n458,182 unequal: No Solution\nExploring Operation: 138*320=44160, Resulting Numbers: [44160]\n44160,182 unequal: No Solution\nExploring Operation: 320-138=182, Resulting Numbers: [182]\n182,182 equal: Goal Reached\nFinal operations:\n92+46=138\n163+157=320\n320-138=182",
"role": "assistant"
}
] |
[
92,
163,
157,
46
] | 182
|
bfs_3
|
sum_heuristic
| 0.965278
|
[
{
"content": "Given the numbers [88, 144, 64, 99] and the target 98, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 98:[88, 144, 64, 99], Operations: []\nExploring Operation: 144-64=80, Resulting Numbers: [88, 99, 80]\nGenerated Node #0,0: 98:[88, 99, 80] Operation: 144-64=80\nExploring Operation: 144-88=56, Resulting Numbers: [64, 99, 56]\nGenerated Node #0,1: 98:[64, 99, 56] Operation: 144-88=56\nMoving to Node #0,0\nCurrent State: 98:[88, 99, 80], Operations: ['144-64=80']\nExploring Operation: 88+80=168, Resulting Numbers: [99, 168]\nGenerated Node #0,0,0: 98:[99, 168] Operation: 88+80=168\nExploring Operation: 99-80=19, Resulting Numbers: [88, 19]\nGenerated Node #0,0,1: 98:[88, 19] Operation: 99-80=19\nMoving to Node #0,1\nCurrent State: 98:[64, 99, 56], Operations: ['144-88=56']\nExploring Operation: 64+56=120, Resulting Numbers: [99, 120]\nGenerated Node #0,1,0: 98:[99, 120] Operation: 64+56=120\nExploring Operation: 99-56=43, Resulting Numbers: [64, 43]\nGenerated Node #0,1,1: 98:[64, 43] Operation: 99-56=43\nMoving to Node #0,1,0\nCurrent State: 98:[99, 120], Operations: ['144-88=56', '64+56=120']\nExploring Operation: 99+120=219, Resulting Numbers: [219]\n219,98 unequal: No Solution\nExploring Operation: 120-99=21, Resulting Numbers: [21]\n21,98 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 98:[99, 168], Operations: ['144-64=80', '88+80=168']\nExploring Operation: 99+168=267, Resulting Numbers: [267]\n267,98 unequal: No Solution\nExploring Operation: 168-99=69, Resulting Numbers: [69]\n69,98 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 98:[69], Operations: ['144-64=80', '88+80=168', '168-99=69']\nMoving to Node #0,0,1\nCurrent State: 98:[88, 19], Operations: ['144-64=80', '99-80=19']\nExploring Operation: 88-19=69, Resulting Numbers: [69]\n69,98 unequal: No Solution\nExploring Operation: 88+19=107, Resulting Numbers: [107]\n107,98 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 98:[107], Operations: ['144-64=80', '99-80=19', '88+19=107']\nMoving to Node #0,0,1,0\nCurrent State: 98:[69], Operations: ['144-64=80', '99-80=19', '88-19=69']\nMoving to Node #0,1,1\nCurrent State: 98:[64, 43], Operations: ['144-88=56', '99-56=43']\nExploring Operation: 64+43=107, Resulting Numbers: [107]\n107,98 unequal: No Solution\nExploring Operation: 64-43=21, Resulting Numbers: [21]\n21,98 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 98:[21], Operations: ['144-88=56', '64+56=120', '120-99=21']\nMoving to Node #0,1,1,0\nCurrent State: 98:[107], Operations: ['144-88=56', '99-56=43', '64+43=107']\nMoving to Node #0,1,1,0\nCurrent State: 98:[21], Operations: ['144-88=56', '99-56=43', '64-43=21']\nMoving to Node #0,1,0,0\nCurrent State: 98:[219], Operations: ['144-88=56', '64+56=120', '99+120=219']\nMoving to Node #0,0,0,0\nCurrent State: 98:[267], Operations: ['144-64=80', '88+80=168', '99+168=267']",
"role": "assistant"
}
] |
[
88,
144,
64,
99
] | 98
|
bfs_2
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [56, 22, 102, 124] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[56, 22, 102, 124], Operations: []\nExploring Operation: 56+22=78, Resulting Numbers: [102, 124, 78]\nGenerated Node #0,0: 127:[102, 124, 78] Operation: 56+22=78\nMoving to Node #0,0\nCurrent State: 127:[102, 124, 78], Operations: ['56+22=78']\nExploring Operation: 102+78=180, Resulting Numbers: [124, 180]\nGenerated Node #0,0,0: 127:[124, 180] Operation: 102+78=180\nMoving to Node #0,0,0\nCurrent State: 127:[124, 180], Operations: ['56+22=78', '102+78=180']\nExploring Operation: 180-124=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[102, 124, 78], Operations: ['56+22=78']\nExploring Operation: 124+78=202, Resulting Numbers: [102, 202]\nGenerated Node #0,0,1: 127:[102, 202] Operation: 124+78=202\nMoving to Node #0,0,1\nCurrent State: 127:[102, 202], Operations: ['56+22=78', '124+78=202']\nExploring Operation: 202-102=100, Resulting Numbers: [100]\n100,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[102, 124, 78], Operations: ['56+22=78']\nExploring Operation: 102-78=24, Resulting Numbers: [124, 24]\nGenerated Node #0,0,2: 127:[124, 24] Operation: 102-78=24\nMoving to Node #0,0,2\nCurrent State: 127:[124, 24], Operations: ['56+22=78', '102-78=24']\nExploring Operation: 124+24=148, Resulting Numbers: [148]\n148,127 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 127:[124, 24], Operations: ['56+22=78', '102-78=24']\nExploring Operation: 124-24=100, Resulting Numbers: [100]\n100,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[102, 124, 78], Operations: ['56+22=78']\nExploring Operation: 124-78=46, Resulting Numbers: [102, 46]\nGenerated Node #0,0,3: 127:[102, 46] Operation: 124-78=46\nMoving to Node #0,0,3\nCurrent State: 127:[102, 46], Operations: ['56+22=78', '124-78=46']\nExploring Operation: 102+46=148, Resulting Numbers: [148]\n148,127 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 127:[102, 46], Operations: ['56+22=78', '124-78=46']\nExploring Operation: 102-46=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[102, 124, 78], Operations: ['56+22=78']\nExploring Operation: 102+124=226, Resulting Numbers: [78, 226]\nGenerated Node #0,0,4: 127:[78, 226] Operation: 102+124=226\nMoving to Node #0,0,4\nCurrent State: 127:[78, 226], Operations: ['56+22=78', '102+124=226']\nExploring Operation: 226-78=148, Resulting Numbers: [148]\n148,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[102, 124, 78], Operations: ['56+22=78']\nExploring Operation: 124-102=22, Resulting Numbers: [78, 22]\nGenerated Node #0,0,5: 127:[78, 22] Operation: 124-102=22\nMoving to Node #0,0,5\nCurrent State: 127:[78, 22], Operations: ['56+22=78', '124-102=22']\nExploring Operation: 78+22=100, Resulting Numbers: [100]\n100,127 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 127:[78, 22], Operations: ['56+22=78', '124-102=22']\nExploring Operation: 78-22=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0\nCurrent State: 127:[56, 22, 102, 124], Operations: []\nExploring Operation: 22+102=124, Resulting Numbers: [56, 124, 124]\nGenerated Node #0,1: 127:[56, 124, 124] Operation: 22+102=124\nMoving to Node #0,1\nCurrent State: 127:[56, 124, 124], Operations: ['22+102=124']\nExploring Operation: 56+124=180, Resulting Numbers: [124, 180]\nGenerated Node #0,1,0: 127:[124, 180] Operation: 56+124=180\nMoving to Node #0,1,0\nCurrent State: 127:[124, 180], Operations: ['22+102=124', '56+124=180']\nExploring Operation: 180-124=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 127:[56, 124, 124], Operations: ['22+102=124']\nExploring Operation: 56+124=180, Resulting Numbers: [124, 180]\nGenerated Node #0,1,1: 127:[124, 180] Operation: 56+124=180\nMoving to Node #0,1,1\nCurrent State: 127:[124, 180], Operations: ['22+102=124', '56+124=180']\nExploring Operation: 180-124=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 127:[56, 124, 124], Operations: ['22+102=124']\nExploring Operation: 124-56=68, Resulting Numbers: [124, 68]\nGenerated Node #0,1,2: 127:[124, 68] Operation: 124-56=68\nMoving to Node #0,1,2\nCurrent State: 127:[124, 68], Operations: ['22+102=124', '124-56=68']\nExploring Operation: 124+68=192, Resulting Numbers: [192]\n192,127 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 127:[124, 68], Operations: ['22+102=124', '124-56=68']\nExploring Operation: 124-68=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 127:[56, 124, 124], Operations: ['22+102=124']\nExploring Operation: 124-56=68, Resulting Numbers: [124, 68]\nGenerated Node #0,1,3: 127:[124, 68] Operation: 124-56=68\nMoving to Node #0,1,3\nCurrent State: 127:[124, 68], Operations: ['22+102=124', '124-56=68']\nExploring Operation: 124+68=192, Resulting Numbers: [192]\n192,127 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 127:[124, 68], Operations: ['22+102=124', '124-56=68']\nExploring Operation: 124-68=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 127:[56, 124, 124], Operations: ['22+102=124']\nExploring Operation: 124+124=248, Resulting Numbers: [56, 248]\nGenerated Node #0,1,4: 127:[56, 248] Operation: 124+124=248\nMoving to Node #0,1,4\nCurrent State: 127:[56, 248], Operations: ['22+102=124', '124+124=248']\nExploring Operation: 248-56=192, Resulting Numbers: [192]\n192,127 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 127:[56, 124, 124], Operations: ['22+102=124']\nExploring Operation: 124/124=1, Resulting Numbers: [56, 1]\nGenerated Node #0,1,5: 127:[56, 1] Operation: 124/124=1\nMoving to Node #0,1,5\nCurrent State: 127:[56, 1], Operations: ['22+102=124', '124/124=1']\nExploring Operation: 56+1=57, Resulting Numbers: [57]\n57,127 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 127:[56, 1], Operations: ['22+102=124', '124/124=1']\nExploring Operation: 56*1=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 127:[56, 1], Operations: ['22+102=124', '124/124=1']\nExploring Operation: 56/1=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 127:[56, 1], Operations: ['22+102=124', '124/124=1']\nExploring Operation: 56-1=55, Resulting Numbers: [55]\n55,127 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 127:[56, 124, 124], Operations: ['22+102=124']\nExploring Operation: 124-124=0, Resulting Numbers: [56, 0]\nGenerated Node #0,1,6: 127:[56, 0] Operation: 124-124=0\nMoving to Node #0,1,6\nCurrent State: 127:[56, 0], Operations: ['22+102=124', '124-124=0']\nExploring Operation: 56+0=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 127:[56, 0], Operations: ['22+102=124', '124-124=0']\nExploring Operation: 56-0=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 127:[56, 0], Operations: ['22+102=124', '124-124=0']\nExploring Operation: 56*0=0, Resulting Numbers: [0]\n0,127 unequal: No Solution\nMoving to Node #0\nCurrent State: 127:[56, 22, 102, 124], Operations: []\nExploring Operation: 22+124=146, Resulting Numbers: [56, 102, 146]\nGenerated Node #0,2: 127:[56, 102, 146] Operation: 22+124=146\nMoving to Node #0,2\nCurrent State: 127:[56, 102, 146], Operations: ['22+124=146']\nExploring Operation: 56+102=158, Resulting Numbers: [146, 158]\nGenerated Node #0,2,0: 127:[146, 158] Operation: 56+102=158\nMoving to Node #0,2,0\nCurrent State: 127:[146, 158], Operations: ['22+124=146', '56+102=158']\nExploring Operation: 158-146=12, Resulting Numbers: [12]\n12,127 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 127:[56, 102, 146], Operations: ['22+124=146']\nExploring Operation: 146-56=90, Resulting Numbers: [102, 90]\nGenerated Node #0,2,1: 127:[102, 90] Operation: 146-56=90\nMoving to Node #0,2,1\nCurrent State: 127:[102, 90], Operations: ['22+124=146', '146-56=90']\nExploring Operation: 102+90=192, Resulting Numbers: [192]\n192,127 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 127:[102, 90], Operations: ['22+124=146', '146-56=90']\nExploring Operation: 102-90=12, Resulting Numbers: [12]\n12,127 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 127:[56, 102, 146], Operations: ['22+124=146']\nExploring Operation: 102-56=46, Resulting Numbers: [146, 46]\nGenerated Node #0,2,2: 127:[146, 46] Operation: 102-56=46\nMoving to Node #0,2,2\nCurrent State: 127:[146, 46], Operations: ['22+124=146', '102-56=46']\nExploring Operation: 146-46=100, Resulting Numbers: [100]\n100,127 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 127:[146, 46], Operations: ['22+124=146', '102-56=46']\nExploring Operation: 146+46=192, Resulting Numbers: [192]\n192,127 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 127:[56, 102, 146], Operations: ['22+124=146']\nExploring Operation: 56+146=202, Resulting Numbers: [102, 202]\nGenerated Node #0,2,3: 127:[102, 202] Operation: 56+146=202\nMoving to Node #0,2,3\nCurrent State: 127:[102, 202], Operations: ['22+124=146', '56+146=202']\nExploring Operation: 202-102=100, Resulting Numbers: [100]\n100,127 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 127:[56, 102, 146], Operations: ['22+124=146']\nExploring Operation: 146-102=44, Resulting Numbers: [56, 44]\nGenerated Node #0,2,4: 127:[56, 44] Operation: 146-102=44\nMoving to Node #0,2,4\nCurrent State: 127:[56, 44], Operations: ['22+124=146', '146-102=44']\nExploring Operation: 56+44=100, Resulting Numbers: [100]\n100,127 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 127:[56, 44], Operations: ['22+124=146', '146-102=44']\nExploring Operation: 56-44=12, Resulting Numbers: [12]\n12,127 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 127:[56, 102, 146], Operations: ['22+124=146']\nExploring Operation: 102+146=248, Resulting Numbers: [56, 248]\nGenerated Node #0,2,5: 127:[56, 248] Operation: 102+146=248\nMoving to Node #0,2,5\nCurrent State: 127:[56, 248], Operations: ['22+124=146', '102+146=248']\nExploring Operation: 248-56=192, Resulting Numbers: [192]\n192,127 unequal: No Solution\nMoving to Node #0\nCurrent State: 127:[56, 22, 102, 124], Operations: []\nExploring Operation: 56-22=34, Resulting Numbers: [102, 124, 34]\nGenerated Node #0,3: 127:[102, 124, 34] Operation: 56-22=34\nMoving to Node #0,3\nCurrent State: 127:[102, 124, 34], Operations: ['56-22=34']\nExploring Operation: 102+34=136, Resulting Numbers: [124, 136]\nGenerated Node #0,3,0: 127:[124, 136] Operation: 102+34=136\nMoving to Node #0,3,0\nCurrent State: 127:[124, 136], Operations: ['56-22=34', '102+34=136']\nExploring Operation: 136-124=12, Resulting Numbers: [12]\n12,127 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 127:[102, 124, 34], Operations: ['56-22=34']\nExploring Operation: 124+34=158, Resulting Numbers: [102, 158]\nGenerated Node #0,3,1: 127:[102, 158] Operation: 124+34=158\nMoving to Node #0,3,1\nCurrent State: 127:[102, 158], Operations: ['56-22=34', '124+34=158']\nExploring Operation: 158-102=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 127:[102, 124, 34], Operations: ['56-22=34']\nExploring Operation: 102-34=68, Resulting Numbers: [124, 68]\nGenerated Node #0,3,2: 127:[124, 68] Operation: 102-34=68\nMoving to Node #0,3,2\nCurrent State: 127:[124, 68], Operations: ['56-22=34', '102-34=68']\nExploring Operation: 124+68=192, Resulting Numbers: [192]\n192,127 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 127:[124, 68], Operations: ['56-22=34', '102-34=68']\nExploring Operation: 124-68=56, Resulting Numbers: [56]\n56,127 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 127:[102, 124, 34], Operations: ['56-22=34']\nExploring Operation: 124-34=90, Resulting Numbers: [102, 90]\nGenerated Node #0,3,3: 127:[102, 90] Operation: 124-34=90\nMoving to Node #0,3,3\nCurrent State: 127:[102, 90], Operations: ['56-22=34', '124-34=90']\nExploring Operation: 102+90=192, Resulting Numbers: [192]\n192,127 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 127:[102, 90], Operations: ['56-22=34', '124-34=90']\nExploring Operation: 102-90=12, Resulting Numbers: [12]\n12,127 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 127:[102, 124, 34], Operations: ['56-22=34']\nExploring Operation: 102/34=3, Resulting Numbers: [124, 3]\nGenerated Node #0,3,4: 127:[124, 3] Operation: 102/34=3\nMoving to Node #0,3,4\nCurrent State: 127:[124, 3], Operations: ['56-22=34', '102/34=3']\nExploring Operation: 124+3=127, Resulting Numbers: [127]\n127,127 equal: Goal Reached\nFinal operations:\n56-22=34\n102/34=3\n124+3=127",
"role": "assistant"
}
] |
[
56,
22,
102,
124
] | 127
|
dfs
|
sum_heuristic
| 0.940972
|
[
{
"content": "Given the numbers [16, 26, 17, 195] and the target 103, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 103:[16, 26, 17, 195], Operations: []\nExploring Operation: 195-16=179, Resulting Numbers: [26, 17, 179]\nGenerated Node #0,0: 103:[26, 17, 179] Operation: 195-16=179\nExploring Operation: 16+26=42, Resulting Numbers: [17, 195, 42]\nGenerated Node #0,1: 103:[17, 195, 42] Operation: 16+26=42\nExploring Operation: 16+17=33, Resulting Numbers: [26, 195, 33]\nGenerated Node #0,2: 103:[26, 195, 33] Operation: 16+17=33\nExploring Operation: 26+17=43, Resulting Numbers: [16, 195, 43]\nGenerated Node #0,3: 103:[16, 195, 43] Operation: 26+17=43\nMoving to Node #0,0\nCurrent State: 103:[26, 17, 179], Operations: ['195-16=179']\nExploring Operation: 179-17=162, Resulting Numbers: [26, 162]\nGenerated Node #0,0,0: 103:[26, 162] Operation: 179-17=162\nExploring Operation: 26-17=9, Resulting Numbers: [179, 9]\nGenerated Node #0,0,1: 103:[179, 9] Operation: 26-17=9\nExploring Operation: 26+17=43, Resulting Numbers: [179, 43]\nGenerated Node #0,0,2: 103:[179, 43] Operation: 26+17=43\nExploring Operation: 179-26=153, Resulting Numbers: [17, 153]\nGenerated Node #0,0,3: 103:[17, 153] Operation: 179-26=153\nMoving to Node #0,2\nCurrent State: 103:[26, 195, 33], Operations: ['16+17=33']\nExploring Operation: 195-26=169, Resulting Numbers: [33, 169]\nGenerated Node #0,2,0: 103:[33, 169] Operation: 195-26=169\nExploring Operation: 26+33=59, Resulting Numbers: [195, 59]\nGenerated Node #0,2,1: 103:[195, 59] Operation: 26+33=59\nExploring Operation: 26+195=221, Resulting Numbers: [33, 221]\nGenerated Node #0,2,2: 103:[33, 221] Operation: 26+195=221\nExploring Operation: 195-33=162, Resulting Numbers: [26, 162]\nGenerated Node #0,2,3: 103:[26, 162] Operation: 195-33=162\nMoving to Node #0,1\nCurrent State: 103:[17, 195, 42], Operations: ['16+26=42']\nExploring Operation: 195-17=178, Resulting Numbers: [42, 178]\nGenerated Node #0,1,0: 103:[42, 178] Operation: 195-17=178\nExploring Operation: 195-42=153, Resulting Numbers: [17, 153]\nGenerated Node #0,1,1: 103:[17, 153] Operation: 195-42=153\nExploring Operation: 17+42=59, Resulting Numbers: [195, 59]\nGenerated Node #0,1,2: 103:[195, 59] Operation: 17+42=59\nExploring Operation: 17+195=212, Resulting Numbers: [42, 212]\nGenerated Node #0,1,3: 103:[42, 212] Operation: 17+195=212\nMoving to Node #0,3\nCurrent State: 103:[16, 195, 43], Operations: ['26+17=43']\nExploring Operation: 16+43=59, Resulting Numbers: [195, 59]\nGenerated Node #0,3,0: 103:[195, 59] Operation: 16+43=59\nExploring Operation: 195-43=152, Resulting Numbers: [16, 152]\nGenerated Node #0,3,1: 103:[16, 152] Operation: 195-43=152\nExploring Operation: 16+195=211, Resulting Numbers: [43, 211]\nGenerated Node #0,3,2: 103:[43, 211] Operation: 16+195=211\nExploring Operation: 195-16=179, Resulting Numbers: [43, 179]\nGenerated Node #0,3,3: 103:[43, 179] Operation: 195-16=179\nMoving to Node #0,0,0\nCurrent State: 103:[26, 162], Operations: ['195-16=179', '179-17=162']\nExploring Operation: 26*162=4212, Resulting Numbers: [4212]\n4212,103 unequal: No Solution\nExploring Operation: 162-26=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nExploring Operation: 26+162=188, Resulting Numbers: [188]\n188,103 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 103:[17, 153], Operations: ['195-16=179', '179-26=153']\nExploring Operation: 153-17=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nExploring Operation: 17*153=2601, Resulting Numbers: [2601]\n2601,103 unequal: No Solution\nExploring Operation: 17+153=170, Resulting Numbers: [170]\n170,103 unequal: No Solution\nExploring Operation: 153/17=9, Resulting Numbers: [9]\n9,103 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 103:[26, 162], Operations: ['16+17=33', '195-33=162']\nExploring Operation: 162-26=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nExploring Operation: 26+162=188, Resulting Numbers: [188]\n188,103 unequal: No Solution\nExploring Operation: 26*162=4212, Resulting Numbers: [4212]\n4212,103 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 103:[43, 179], Operations: ['26+17=43', '195-16=179']\nExploring Operation: 179-43=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nExploring Operation: 43*179=7697, Resulting Numbers: [7697]\n7697,103 unequal: No Solution\nExploring Operation: 43+179=222, Resulting Numbers: [222]\n222,103 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 103:[136], Operations: ['195-16=179', '179-17=162', '162-26=136']\nMoving to Node #0,0,3,0\nCurrent State: 103:[136], Operations: ['195-16=179', '179-26=153', '153-17=136']\nMoving to Node #0,2,3,0\nCurrent State: 103:[136], Operations: ['16+17=33', '195-33=162', '162-26=136']\nMoving to Node #0,3,3,0\nCurrent State: 103:[136], Operations: ['26+17=43', '195-16=179', '179-43=136']\nMoving to Node #0,0,3,0\nCurrent State: 103:[170], Operations: ['195-16=179', '179-26=153', '17+153=170']\nMoving to Node #0,3,1\nCurrent State: 103:[16, 152], Operations: ['26+17=43', '195-43=152']\nExploring Operation: 16+152=168, Resulting Numbers: [168]\n168,103 unequal: No Solution\nExploring Operation: 152-16=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nExploring Operation: 16*152=2432, Resulting Numbers: [2432]\n2432,103 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 103:[195, 59], Operations: ['16+17=33', '26+33=59']\nExploring Operation: 195*59=11505, Resulting Numbers: [11505]\n11505,103 unequal: No Solution\nExploring Operation: 195+59=254, Resulting Numbers: [254]\n254,103 unequal: No Solution\nExploring Operation: 195-59=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 103:[195, 59], Operations: ['26+17=43', '16+43=59']\nExploring Operation: 195*59=11505, Resulting Numbers: [11505]\n11505,103 unequal: No Solution\nExploring Operation: 195-59=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nExploring Operation: 195+59=254, Resulting Numbers: [254]\n254,103 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 103:[136], Operations: ['26+17=43', '195-43=152', '152-16=136']\nMoving to Node #0,3,0,0\nCurrent State: 103:[136], Operations: ['26+17=43', '16+43=59', '195-59=136']\nMoving to Node #0,2,1,0\nCurrent State: 103:[136], Operations: ['16+17=33', '26+33=59', '195-59=136']\nMoving to Node #0,3,1,0\nCurrent State: 103:[168], Operations: ['26+17=43', '195-43=152', '16+152=168']\nMoving to Node #0,1,1\nCurrent State: 103:[17, 153], Operations: ['16+26=42', '195-42=153']\nExploring Operation: 153-17=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nExploring Operation: 17+153=170, Resulting Numbers: [170]\n170,103 unequal: No Solution\nExploring Operation: 153/17=9, Resulting Numbers: [9]\n9,103 unequal: No Solution\nExploring Operation: 17*153=2601, Resulting Numbers: [2601]\n2601,103 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 103:[195, 59], Operations: ['16+26=42', '17+42=59']\nExploring Operation: 195*59=11505, Resulting Numbers: [11505]\n11505,103 unequal: No Solution\nExploring Operation: 195+59=254, Resulting Numbers: [254]\n254,103 unequal: No Solution\nExploring Operation: 195-59=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 103:[33, 169], Operations: ['16+17=33', '195-26=169']\nExploring Operation: 33+169=202, Resulting Numbers: [202]\n202,103 unequal: No Solution\nExploring Operation: 33*169=5577, Resulting Numbers: [5577]\n5577,103 unequal: No Solution\nExploring Operation: 169-33=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 103:[179, 43], Operations: ['195-16=179', '26+17=43']\nExploring Operation: 179+43=222, Resulting Numbers: [222]\n222,103 unequal: No Solution\nExploring Operation: 179-43=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nExploring Operation: 179*43=7697, Resulting Numbers: [7697]\n7697,103 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 103:[136], Operations: ['16+26=42', '195-42=153', '153-17=136']\nMoving to Node #0,2,0,0\nCurrent State: 103:[136], Operations: ['16+17=33', '195-26=169', '169-33=136']\nMoving to Node #0,0,2,0\nCurrent State: 103:[136], Operations: ['195-16=179', '26+17=43', '179-43=136']\nMoving to Node #0,1,2,0\nCurrent State: 103:[136], Operations: ['16+26=42', '17+42=59', '195-59=136']\nMoving to Node #0,1,1,0\nCurrent State: 103:[170], Operations: ['16+26=42', '195-42=153', '17+153=170']\nMoving to Node #0,1,0\nCurrent State: 103:[42, 178], Operations: ['16+26=42', '195-17=178']\nExploring Operation: 178-42=136, Resulting Numbers: [136]\n136,103 unequal: No Solution\nExploring Operation: 42+178=220, Resulting Numbers: [220]\n220,103 unequal: No Solution\nExploring Operation: 42*178=7476, Resulting Numbers: [7476]\n7476,103 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 103:[43, 211], Operations: ['26+17=43', '16+195=211']\nExploring Operation: 43+211=254, Resulting Numbers: [254]\n254,103 unequal: No Solution\nExploring Operation: 43*211=9073, Resulting Numbers: [9073]\n9073,103 unequal: No Solution\nExploring Operation: 211-43=168, Resulting Numbers: [168]\n168,103 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 103:[188], Operations: ['195-16=179', '179-17=162', '26+162=188']\nMoving to Node #0,1,0,0\nCurrent State: 103:[136], Operations: ['16+26=42', '195-17=178', '178-42=136']\nMoving to Node #0,3,2,0\nCurrent State: 103:[168], Operations: ['26+17=43', '16+195=211', '211-43=168']\nMoving to Node #0,2,3,0\nCurrent State: 103:[188], Operations: ['16+17=33', '195-33=162', '26+162=188']\nMoving to Node #0,1,3\nCurrent State: 103:[42, 212], Operations: ['16+26=42', '17+195=212']\nExploring Operation: 42*212=8904, Resulting Numbers: [8904]\n8904,103 unequal: No Solution\nExploring Operation: 212-42=170, Resulting Numbers: [170]\n170,103 unequal: No Solution\nExploring Operation: 42+212=254, Resulting Numbers: [254]\n254,103 unequal: No Solution\nMoving to Node #0,1,3,0\nCurrent State: 103:[170], Operations: ['16+26=42', '17+195=212', '212-42=170']\nMoving to Node #0,0,1\nCurrent State: 103:[179, 9], Operations: ['195-16=179', '26-17=9']\nExploring Operation: 179*9=1611, Resulting Numbers: [1611]\n1611,103 unequal: No Solution\nExploring Operation: 179-9=170, Resulting Numbers: [170]\n170,103 unequal: No Solution\nExploring Operation: 179+9=188, Resulting Numbers: [188]\n188,103 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 103:[33, 221], Operations: ['16+17=33', '26+195=221']\nExploring Operation: 33+221=254, Resulting Numbers: [254]\n254,103 unequal: No Solution\nExploring Operation: 221-33=188, Resulting Numbers: [188]\n188,103 unequal: No Solution\nExploring Operation: 33*221=7293, Resulting Numbers: [7293]\n7293,103 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 103:[9], Operations: ['195-16=179', '179-26=153', '153/17=9']\nMoving to Node #0,0,1,0\nCurrent State: 103:[170], Operations: ['195-16=179', '26-17=9', '179-9=170']\nMoving to Node #0,0,1,0\nCurrent State: 103:[188], Operations: ['195-16=179', '26-17=9', '179+9=188']\nMoving to Node #0,2,2,0\nCurrent State: 103:[188], Operations: ['16+17=33', '26+195=221', '221-33=188']\nMoving to Node #0,1,1,0\nCurrent State: 103:[9], Operations: ['16+26=42', '195-42=153', '153/17=9']\nMoving to Node #0,2,0,0\nCurrent State: 103:[202], Operations: ['16+17=33', '195-26=169', '33+169=202']\nMoving to Node #0,1,0,0\nCurrent State: 103:[220], Operations: ['16+26=42', '195-17=178', '42+178=220']\nMoving to Node #0,0,2,0\nCurrent State: 103:[222], Operations: ['195-16=179', '26+17=43', '179+43=222']\nMoving to Node #0,3,3,0\nCurrent State: 103:[222], Operations: ['26+17=43', '195-16=179', '43+179=222']\nMoving to Node #0,2,2,0\nCurrent State: 103:[254], Operations: ['16+17=33', '26+195=221', '33+221=254']\nMoving to Node #0,3,2,0\nCurrent State: 103:[254], Operations: ['26+17=43', '16+195=211', '43+211=254']\nMoving to Node #0,1,3,0\nCurrent State: 103:[254], Operations: ['16+26=42', '17+195=212', '42+212=254']\nMoving to Node #0,1,2,0\nCurrent State: 103:[254], Operations: ['16+26=42', '17+42=59', '195+59=254']\nMoving to Node #0,3,0,0\nCurrent State: 103:[254], Operations: ['26+17=43', '16+43=59', '195+59=254']\nMoving to Node #0,2,1,0\nCurrent State: 103:[254], Operations: ['16+17=33', '26+33=59', '195+59=254']\nMoving to Node #0,0,1,0\nCurrent State: 103:[1611], Operations: ['195-16=179', '26-17=9', '179*9=1611']\nMoving to Node #0,3,1,0\nCurrent State: 103:[2432], Operations: ['26+17=43', '195-43=152', '16*152=2432']\nMoving to Node #0,1,1,0\nCurrent State: 103:[2601], Operations: ['16+26=42', '195-42=153', '17*153=2601']\nMoving to Node #0,0,3,0\nCurrent State: 103:[2601], Operations: ['195-16=179', '179-26=153', '17*153=2601']\nMoving to Node #0,0,0,0\nCurrent State: 103:[4212], Operations: ['195-16=179', '179-17=162', '26*162=4212']\nMoving to Node #0,2,3,0\nCurrent State: 103:[4212], Operations: ['16+17=33', '195-33=162', '26*162=4212']\nMoving to Node #0,2,0,0\nCurrent State: 103:[5577], Operations: ['16+17=33', '195-26=169', '33*169=5577']\nMoving to Node #0,2,2,0\nCurrent State: 103:[7293], Operations: ['16+17=33', '26+195=221', '33*221=7293']\nMoving to Node #0,1,0,0\nCurrent State: 103:[7476], Operations: ['16+26=42', '195-17=178', '42*178=7476']\nMoving to Node #0,3,3,0\nCurrent State: 103:[7697], Operations: ['26+17=43', '195-16=179', '43*179=7697']\nMoving to Node #0,0,2,0\nCurrent State: 103:[7697], Operations: ['195-16=179', '26+17=43', '179*43=7697']\nMoving to Node #0,1,3,0\nCurrent State: 103:[8904], Operations: ['16+26=42', '17+195=212', '42*212=8904']\nMoving to Node #0,3,2,0\nCurrent State: 103:[9073], Operations: ['26+17=43', '16+195=211', '43*211=9073']\nMoving to Node #0,3,0,0\nCurrent State: 103:[11505], Operations: ['26+17=43', '16+43=59', '195*59=11505']\nMoving to Node #0,1,2,0\nCurrent State: 103:[11505], Operations: ['16+26=42', '17+42=59', '195*59=11505']\nMoving to Node #0,2,1,0\nCurrent State: 103:[11505], Operations: ['16+17=33', '26+33=59', '195*59=11505']",
"role": "assistant"
}
] |
[
16,
26,
17,
195
] | 103
|
bfs_4
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [176, 48, 73, 27] and the target 26, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 26:[176, 48, 73, 27], Operations: []\nExploring Operation: 73-48=25, Resulting Numbers: [176, 27, 25]\nGenerated Node #0,0: 26:[176, 27, 25] Operation: 73-48=25\nExploring Operation: 176-73=103, Resulting Numbers: [48, 27, 103]\nGenerated Node #0,1: 26:[48, 27, 103] Operation: 176-73=103\nExploring Operation: 176-48=128, Resulting Numbers: [73, 27, 128]\nGenerated Node #0,2: 26:[73, 27, 128] Operation: 176-48=128\nMoving to Node #0,1\nCurrent State: 26:[48, 27, 103], Operations: ['176-73=103']\nExploring Operation: 103-48=55, Resulting Numbers: [27, 55]\nGenerated Node #0,1,0: 26:[27, 55] Operation: 103-48=55\nExploring Operation: 103-27=76, Resulting Numbers: [48, 76]\nGenerated Node #0,1,1: 26:[48, 76] Operation: 103-27=76\nExploring Operation: 48-27=21, Resulting Numbers: [103, 21]\nGenerated Node #0,1,2: 26:[103, 21] Operation: 48-27=21\nMoving to Node #0,2\nCurrent State: 26:[73, 27, 128], Operations: ['176-48=128']\nExploring Operation: 128-73=55, Resulting Numbers: [27, 55]\nGenerated Node #0,2,0: 26:[27, 55] Operation: 128-73=55\nExploring Operation: 128-27=101, Resulting Numbers: [73, 101]\nGenerated Node #0,2,1: 26:[73, 101] Operation: 128-27=101\nExploring Operation: 73-27=46, Resulting Numbers: [128, 46]\nGenerated Node #0,2,2: 26:[128, 46] Operation: 73-27=46\nMoving to Node #0,0\nCurrent State: 26:[176, 27, 25], Operations: ['73-48=25']\nExploring Operation: 176-25=151, Resulting Numbers: [27, 151]\nGenerated Node #0,0,0: 26:[27, 151] Operation: 176-25=151\nExploring Operation: 176-27=149, Resulting Numbers: [25, 149]\nGenerated Node #0,0,1: 26:[25, 149] Operation: 176-27=149\nExploring Operation: 27-25=2, Resulting Numbers: [176, 2]\nGenerated Node #0,0,2: 26:[176, 2] Operation: 27-25=2\nMoving to Node #0,1,0\nCurrent State: 26:[27, 55], Operations: ['176-73=103', '103-48=55']\nExploring Operation: 27+55=82, Resulting Numbers: [82]\n82,26 unequal: No Solution\nExploring Operation: 27*55=1485, Resulting Numbers: [1485]\n1485,26 unequal: No Solution\nExploring Operation: 55-27=28, Resulting Numbers: [28]\n28,26 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 26:[27, 55], Operations: ['176-48=128', '128-73=55']\nExploring Operation: 55-27=28, Resulting Numbers: [28]\n28,26 unequal: No Solution\nExploring Operation: 27+55=82, Resulting Numbers: [82]\n82,26 unequal: No Solution\nExploring Operation: 27*55=1485, Resulting Numbers: [1485]\n1485,26 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 26:[48, 76], Operations: ['176-73=103', '103-27=76']\nExploring Operation: 48*76=3648, Resulting Numbers: [3648]\n3648,26 unequal: No Solution\nExploring Operation: 76-48=28, Resulting Numbers: [28]\n28,26 unequal: No Solution\nExploring Operation: 48+76=124, Resulting Numbers: [124]\n124,26 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 26:[28], Operations: ['176-73=103', '103-48=55', '55-27=28']\nMoving to Node #0,1,1,0\nCurrent State: 26:[28], Operations: ['176-73=103', '103-27=76', '76-48=28']\nMoving to Node #0,2,0,0\nCurrent State: 26:[28], Operations: ['176-48=128', '128-73=55', '55-27=28']\nMoving to Node #0,1,0,0\nCurrent State: 26:[82], Operations: ['176-73=103', '103-48=55', '27+55=82']\nMoving to Node #0,2,0,0\nCurrent State: 26:[82], Operations: ['176-48=128', '128-73=55', '27+55=82']\nMoving to Node #0,1,2\nCurrent State: 26:[103, 21], Operations: ['176-73=103', '48-27=21']\nExploring Operation: 103+21=124, Resulting Numbers: [124]\n124,26 unequal: No Solution\nExploring Operation: 103-21=82, Resulting Numbers: [82]\n82,26 unequal: No Solution\nExploring Operation: 103*21=2163, Resulting Numbers: [2163]\n2163,26 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 26:[82], Operations: ['176-73=103', '48-27=21', '103-21=82']\nMoving to Node #0,1,1,0\nCurrent State: 26:[124], Operations: ['176-73=103', '103-27=76', '48+76=124']\nMoving to Node #0,1,2,0\nCurrent State: 26:[124], Operations: ['176-73=103', '48-27=21', '103+21=124']\nMoving to Node #0,2,2\nCurrent State: 26:[128, 46], Operations: ['176-48=128', '73-27=46']\nExploring Operation: 128+46=174, Resulting Numbers: [174]\n174,26 unequal: No Solution\nExploring Operation: 128-46=82, Resulting Numbers: [82]\n82,26 unequal: No Solution\nExploring Operation: 128*46=5888, Resulting Numbers: [5888]\n5888,26 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 26:[73, 101], Operations: ['176-48=128', '128-27=101']\nExploring Operation: 73*101=7373, Resulting Numbers: [7373]\n7373,26 unequal: No Solution\nExploring Operation: 101-73=28, Resulting Numbers: [28]\n28,26 unequal: No Solution\nExploring Operation: 73+101=174, Resulting Numbers: [174]\n174,26 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 26:[25, 149], Operations: ['73-48=25', '176-27=149']\nExploring Operation: 149-25=124, Resulting Numbers: [124]\n124,26 unequal: No Solution\nExploring Operation: 25+149=174, Resulting Numbers: [174]\n174,26 unequal: No Solution\nExploring Operation: 25*149=3725, Resulting Numbers: [3725]\n3725,26 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 26:[28], Operations: ['176-48=128', '128-27=101', '101-73=28']\nMoving to Node #0,2,2,0\nCurrent State: 26:[82], Operations: ['176-48=128', '73-27=46', '128-46=82']\nMoving to Node #0,0,1,0\nCurrent State: 26:[124], Operations: ['73-48=25', '176-27=149', '149-25=124']\nMoving to Node #0,0,0\nCurrent State: 26:[27, 151], Operations: ['73-48=25', '176-25=151']\nExploring Operation: 27*151=4077, Resulting Numbers: [4077]\n4077,26 unequal: No Solution\nExploring Operation: 151-27=124, Resulting Numbers: [124]\n124,26 unequal: No Solution\nExploring Operation: 27+151=178, Resulting Numbers: [178]\n178,26 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 26:[174], Operations: ['73-48=25', '176-27=149', '25+149=174']\nMoving to Node #0,2,2,0\nCurrent State: 26:[174], Operations: ['176-48=128', '73-27=46', '128+46=174']\nMoving to Node #0,0,0,0\nCurrent State: 26:[124], Operations: ['73-48=25', '176-25=151', '151-27=124']\nMoving to Node #0,2,1,0\nCurrent State: 26:[174], Operations: ['176-48=128', '128-27=101', '73+101=174']\nMoving to Node #0,0,2\nCurrent State: 26:[176, 2], Operations: ['73-48=25', '27-25=2']\nExploring Operation: 176/2=88, Resulting Numbers: [88]\n88,26 unequal: No Solution\nExploring Operation: 176+2=178, Resulting Numbers: [178]\n178,26 unequal: No Solution\nExploring Operation: 176-2=174, Resulting Numbers: [174]\n174,26 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 26:[88], Operations: ['73-48=25', '27-25=2', '176/2=88']\nMoving to Node #0,0,2,0\nCurrent State: 26:[174], Operations: ['73-48=25', '27-25=2', '176-2=174']\nMoving to Node #0,0,2,0\nCurrent State: 26:[178], Operations: ['73-48=25', '27-25=2', '176+2=178']\nMoving to Node #0,0,0,0\nCurrent State: 26:[178], Operations: ['73-48=25', '176-25=151', '27+151=178']\nMoving to Node #0,2,0,0\nCurrent State: 26:[1485], Operations: ['176-48=128', '128-73=55', '27*55=1485']\nMoving to Node #0,1,0,0\nCurrent State: 26:[1485], Operations: ['176-73=103', '103-48=55', '27*55=1485']\nMoving to Node #0,1,2,0\nCurrent State: 26:[2163], Operations: ['176-73=103', '48-27=21', '103*21=2163']\nMoving to Node #0,1,1,0\nCurrent State: 26:[3648], Operations: ['176-73=103', '103-27=76', '48*76=3648']\nMoving to Node #0,0,1,0\nCurrent State: 26:[3725], Operations: ['73-48=25', '176-27=149', '25*149=3725']\nMoving to Node #0,0,0,0\nCurrent State: 26:[4077], Operations: ['73-48=25', '176-25=151', '27*151=4077']\nMoving to Node #0,2,2,0\nCurrent State: 26:[5888], Operations: ['176-48=128', '73-27=46', '128*46=5888']\nMoving to Node #0,2,1,0\nCurrent State: 26:[7373], Operations: ['176-48=128', '128-27=101', '73*101=7373']",
"role": "assistant"
}
] |
[
176,
48,
73,
27
] | 26
|
bfs_3
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [57, 102, 14, 131] and the target 14, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 14:[57, 102, 14, 131], Operations: []",
"role": "assistant"
}
] |
[
57,
102,
14,
131
] | 14
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [65, 107, 126, 29] and the target 26, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 26:[65, 107, 126, 29], Operations: []\nExploring Operation: 126-107=19, Resulting Numbers: [65, 29, 19]\nGenerated Node #0,0: 26:[65, 29, 19] Operation: 126-107=19\nMoving to Node #0,0\nCurrent State: 26:[65, 29, 19], Operations: ['126-107=19']\nExploring Operation: 65-29=36, Resulting Numbers: [19, 36]\nGenerated Node #0,0,0: 26:[19, 36] Operation: 65-29=36\nMoving to Node #0,0,0\nCurrent State: 26:[19, 36], Operations: ['126-107=19', '65-29=36']\nExploring Operation: 36-19=17, Resulting Numbers: [17]\n17,26 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 26:[65, 29, 19], Operations: ['126-107=19']\nExploring Operation: 65-19=46, Resulting Numbers: [29, 46]\nGenerated Node #0,0,1: 26:[29, 46] Operation: 65-19=46\nMoving to Node #0,0,1\nCurrent State: 26:[29, 46], Operations: ['126-107=19', '65-19=46']\nExploring Operation: 46-29=17, Resulting Numbers: [17]\n17,26 unequal: No Solution",
"role": "assistant"
}
] |
[
65,
107,
126,
29
] | 26
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [120, 40, 139, 119] and the target 98, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 98:[120, 40, 139, 119], Operations: []\nExploring Operation: 139-40=99, Resulting Numbers: [120, 119, 99]\nGenerated Node #0,0: 98:[120, 119, 99] Operation: 139-40=99\nExploring Operation: 120+40=160, Resulting Numbers: [139, 119, 160]\nGenerated Node #0,1: 98:[139, 119, 160] Operation: 120+40=160\nExploring Operation: 120-40=80, Resulting Numbers: [139, 119, 80]\nGenerated Node #0,2: 98:[139, 119, 80] Operation: 120-40=80\nExploring Operation: 119-40=79, Resulting Numbers: [120, 139, 79]\nGenerated Node #0,3: 98:[120, 139, 79] Operation: 119-40=79\nMoving to Node #0,0\nCurrent State: 98:[120, 119, 99], Operations: ['139-40=99']\nExploring Operation: 120-99=21, Resulting Numbers: [119, 21]\nGenerated Node #0,0,0: 98:[119, 21] Operation: 120-99=21\nExploring Operation: 119-99=20, Resulting Numbers: [120, 20]\nGenerated Node #0,0,1: 98:[120, 20] Operation: 119-99=20\nExploring Operation: 120-119=1, Resulting Numbers: [99, 1]\nGenerated Node #0,0,2: 98:[99, 1] Operation: 120-119=1\nExploring Operation: 120+119=239, Resulting Numbers: [99, 239]\nGenerated Node #0,0,3: 98:[99, 239] Operation: 120+119=239\nMoving to Node #0,2\nCurrent State: 98:[139, 119, 80], Operations: ['120-40=80']\nExploring Operation: 139-119=20, Resulting Numbers: [80, 20]\nGenerated Node #0,2,0: 98:[80, 20] Operation: 139-119=20\nExploring Operation: 139+80=219, Resulting Numbers: [119, 219]\nGenerated Node #0,2,1: 98:[119, 219] Operation: 139+80=219\nExploring Operation: 139-80=59, Resulting Numbers: [119, 59]\nGenerated Node #0,2,2: 98:[119, 59] Operation: 139-80=59\nExploring Operation: 119-80=39, Resulting Numbers: [139, 39]\nGenerated Node #0,2,3: 98:[139, 39] Operation: 119-80=39\nMoving to Node #0,3\nCurrent State: 98:[120, 139, 79], Operations: ['119-40=79']\nExploring Operation: 120-79=41, Resulting Numbers: [139, 41]\nGenerated Node #0,3,0: 98:[139, 41] Operation: 120-79=41\nExploring Operation: 139-120=19, Resulting Numbers: [79, 19]\nGenerated Node #0,3,1: 98:[79, 19] Operation: 139-120=19\nExploring Operation: 120+79=199, Resulting Numbers: [139, 199]\nGenerated Node #0,3,2: 98:[139, 199] Operation: 120+79=199\nExploring Operation: 139-79=60, Resulting Numbers: [120, 60]\nGenerated Node #0,3,3: 98:[120, 60] Operation: 139-79=60\nMoving to Node #0,1\nCurrent State: 98:[139, 119, 160], Operations: ['120+40=160']\nExploring Operation: 160-119=41, Resulting Numbers: [139, 41]\nGenerated Node #0,1,0: 98:[139, 41] Operation: 160-119=41\nExploring Operation: 139-119=20, Resulting Numbers: [160, 20]\nGenerated Node #0,1,1: 98:[160, 20] Operation: 139-119=20\nExploring Operation: 139+119=258, Resulting Numbers: [160, 258]\nGenerated Node #0,1,2: 98:[160, 258] Operation: 139+119=258\nExploring Operation: 160-139=21, Resulting Numbers: [119, 21]\nGenerated Node #0,1,3: 98:[119, 21] Operation: 160-139=21\nMoving to Node #0,2,2\nCurrent State: 98:[119, 59], Operations: ['120-40=80', '139-80=59']\nExploring Operation: 119*59=7021, Resulting Numbers: [7021]\n7021,98 unequal: No Solution\nExploring Operation: 119-59=60, Resulting Numbers: [60]\n60,98 unequal: No Solution\nExploring Operation: 119+59=178, Resulting Numbers: [178]\n178,98 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 98:[120, 60], Operations: ['119-40=79', '139-79=60']\nExploring Operation: 120*60=7200, Resulting Numbers: [7200]\n7200,98 unequal: No Solution\nExploring Operation: 120+60=180, Resulting Numbers: [180]\n180,98 unequal: No Solution\nExploring Operation: 120-60=60, Resulting Numbers: [60]\n60,98 unequal: No Solution\nExploring Operation: 120/60=2, Resulting Numbers: [2]\n2,98 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 98:[80, 20], Operations: ['120-40=80', '139-119=20']\nExploring Operation: 80/20=4, Resulting Numbers: [4]\n4,98 unequal: No Solution\nExploring Operation: 80*20=1600, Resulting Numbers: [1600]\n1600,98 unequal: No Solution\nExploring Operation: 80+20=100, Resulting Numbers: [100]\n100,98 unequal: No Solution\nExploring Operation: 80-20=60, Resulting Numbers: [60]\n60,98 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 98:[119, 21], Operations: ['120+40=160', '160-139=21']\nExploring Operation: 119+21=140, Resulting Numbers: [140]\n140,98 unequal: No Solution\nExploring Operation: 119-21=98, Resulting Numbers: [98]\n98,98 equal: Goal Reached\nFinal operations:\n120+40=160\n160-139=21\n119-21=98",
"role": "assistant"
}
] |
[
120,
40,
139,
119
] | 98
|
bfs_4
|
sum_heuristic
| 0.970486
|
[
{
"content": "Given the numbers [183, 67, 124, 198] and the target 176, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 176:[183, 67, 124, 198], Operations: []\nExploring Operation: 124-67=57, Resulting Numbers: [183, 198, 57]\nGenerated Node #0,0: 176:[183, 198, 57] Operation: 124-67=57\nMoving to Node #0,0\nCurrent State: 176:[183, 198, 57], Operations: ['124-67=57']\nExploring Operation: 198-183=15, Resulting Numbers: [57, 15]\nGenerated Node #0,0,0: 176:[57, 15] Operation: 198-183=15\nMoving to Node #0,0,0\nCurrent State: 176:[57, 15], Operations: ['124-67=57', '198-183=15']\nExploring Operation: 57-15=42, Resulting Numbers: [42]\n42,176 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 176:[57, 15], Operations: ['124-67=57', '198-183=15']\nExploring Operation: 57+15=72, Resulting Numbers: [72]\n72,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[183, 198, 57], Operations: ['124-67=57']\nExploring Operation: 198-57=141, Resulting Numbers: [183, 141]\nGenerated Node #0,0,1: 176:[183, 141] Operation: 198-57=141\nMoving to Node #0,0,1\nCurrent State: 176:[183, 141], Operations: ['124-67=57', '198-57=141']\nExploring Operation: 183-141=42, Resulting Numbers: [42]\n42,176 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 176:[183, 141], Operations: ['124-67=57', '198-57=141']\nExploring Operation: 183+141=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[183, 198, 57], Operations: ['124-67=57']\nExploring Operation: 183-57=126, Resulting Numbers: [198, 126]\nGenerated Node #0,0,2: 176:[198, 126] Operation: 183-57=126\nMoving to Node #0,0,2\nCurrent State: 176:[198, 126], Operations: ['124-67=57', '183-57=126']\nExploring Operation: 198-126=72, Resulting Numbers: [72]\n72,176 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 176:[198, 126], Operations: ['124-67=57', '183-57=126']\nExploring Operation: 198+126=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[183, 198, 57], Operations: ['124-67=57']\nExploring Operation: 183+57=240, Resulting Numbers: [198, 240]\nGenerated Node #0,0,3: 176:[198, 240] Operation: 183+57=240\nMoving to Node #0,0,3\nCurrent State: 176:[198, 240], Operations: ['124-67=57', '183+57=240']\nExploring Operation: 240-198=42, Resulting Numbers: [42]\n42,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[183, 198, 57], Operations: ['124-67=57']\nExploring Operation: 198+57=255, Resulting Numbers: [183, 255]\nGenerated Node #0,0,4: 176:[183, 255] Operation: 198+57=255\nMoving to Node #0,0,4\nCurrent State: 176:[183, 255], Operations: ['124-67=57', '198+57=255']\nExploring Operation: 255-183=72, Resulting Numbers: [72]\n72,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[183, 67, 124, 198], Operations: []\nExploring Operation: 198-124=74, Resulting Numbers: [183, 67, 74]\nGenerated Node #0,1: 176:[183, 67, 74] Operation: 198-124=74\nMoving to Node #0,1\nCurrent State: 176:[183, 67, 74], Operations: ['198-124=74']\nExploring Operation: 74-67=7, Resulting Numbers: [183, 7]\nGenerated Node #0,1,0: 176:[183, 7] Operation: 74-67=7\nMoving to Node #0,1,0\nCurrent State: 176:[183, 7], Operations: ['198-124=74', '74-67=7']\nExploring Operation: 183-7=176, Resulting Numbers: [176]\n176,176 equal: Goal Reached\nFinal operations:\n198-124=74\n74-67=7\n183-7=176",
"role": "assistant"
}
] |
[
183,
67,
124,
198
] | 176
|
dfs
|
mult_heuristic
| 0.984375
|
[
{
"content": "Given the numbers [78, 26, 48, 82] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[78, 26, 48, 82], Operations: []\nExploring Operation: 78+26=104, Resulting Numbers: [48, 82, 104]\nGenerated Node #0,0: 127:[48, 82, 104] Operation: 78+26=104\nExploring Operation: 78+48=126, Resulting Numbers: [26, 82, 126]\nGenerated Node #0,1: 127:[26, 82, 126] Operation: 78+48=126\nMoving to Node #0,0\nCurrent State: 127:[48, 82, 104], Operations: ['78+26=104']\nExploring Operation: 48+82=130, Resulting Numbers: [104, 130]\nGenerated Node #0,0,0: 127:[104, 130] Operation: 48+82=130\nExploring Operation: 48+104=152, Resulting Numbers: [82, 152]\nGenerated Node #0,0,1: 127:[82, 152] Operation: 48+104=152\nMoving to Node #0,1\nCurrent State: 127:[26, 82, 126], Operations: ['78+48=126']\nExploring Operation: 26+126=152, Resulting Numbers: [82, 152]\nGenerated Node #0,1,0: 127:[82, 152] Operation: 26+126=152\nExploring Operation: 26+82=108, Resulting Numbers: [126, 108]\nGenerated Node #0,1,1: 127:[126, 108] Operation: 26+82=108\nMoving to Node #0,1,1\nCurrent State: 127:[126, 108], Operations: ['78+48=126', '26+82=108']\nExploring Operation: 126+108=234, Resulting Numbers: [234]\n234,127 unequal: No Solution\nExploring Operation: 126-108=18, Resulting Numbers: [18]\n18,127 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 127:[104, 130], Operations: ['78+26=104', '48+82=130']\nExploring Operation: 130-104=26, Resulting Numbers: [26]\n26,127 unequal: No Solution\nExploring Operation: 104+130=234, Resulting Numbers: [234]\n234,127 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 127:[82, 152], Operations: ['78+26=104', '48+104=152']\nExploring Operation: 152-82=70, Resulting Numbers: [70]\n70,127 unequal: No Solution\nExploring Operation: 82+152=234, Resulting Numbers: [234]\n234,127 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 127:[82, 152], Operations: ['78+48=126', '26+126=152']\nExploring Operation: 152-82=70, Resulting Numbers: [70]\n70,127 unequal: No Solution\nExploring Operation: 82+152=234, Resulting Numbers: [234]\n234,127 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 127:[70], Operations: ['78+26=104', '48+104=152', '152-82=70']\nMoving to Node #0,1,0,0\nCurrent State: 127:[70], Operations: ['78+48=126', '26+126=152', '152-82=70']\nMoving to Node #0,0,0,0\nCurrent State: 127:[26], Operations: ['78+26=104', '48+82=130', '130-104=26']\nMoving to Node #0,1,1,0\nCurrent State: 127:[234], Operations: ['78+48=126', '26+82=108', '126+108=234']\nMoving to Node #0,0,1,0\nCurrent State: 127:[234], Operations: ['78+26=104', '48+104=152', '82+152=234']\nMoving to Node #0,0,0,0\nCurrent State: 127:[234], Operations: ['78+26=104', '48+82=130', '104+130=234']\nMoving to Node #0,1,0,0\nCurrent State: 127:[234], Operations: ['78+48=126', '26+126=152', '82+152=234']\nMoving to Node #0,1,1,0\nCurrent State: 127:[18], Operations: ['78+48=126', '26+82=108', '126-108=18']",
"role": "assistant"
}
] |
[
78,
26,
48,
82
] | 127
|
bfs_2
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [6, 50, 132, 194] and the target 136, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 136:[6, 50, 132, 194], Operations: []\nExploring Operation: 194-132=62, Resulting Numbers: [6, 50, 62]\nGenerated Node #0,0: 136:[6, 50, 62] Operation: 194-132=62\nExploring Operation: 194-50=144, Resulting Numbers: [6, 132, 144]\nGenerated Node #0,1: 136:[6, 132, 144] Operation: 194-50=144\nExploring Operation: 50-6=44, Resulting Numbers: [132, 194, 44]\nGenerated Node #0,2: 136:[132, 194, 44] Operation: 50-6=44\nExploring Operation: 194-6=188, Resulting Numbers: [50, 132, 188]\nGenerated Node #0,3: 136:[50, 132, 188] Operation: 194-6=188\nMoving to Node #0,1\nCurrent State: 136:[6, 132, 144], Operations: ['194-50=144']\nExploring Operation: 144/6=24, Resulting Numbers: [132, 24]\nGenerated Node #0,1,0: 136:[132, 24] Operation: 144/6=24\nExploring Operation: 144-132=12, Resulting Numbers: [6, 12]\nGenerated Node #0,1,1: 136:[6, 12] Operation: 144-132=12\nExploring Operation: 6+132=138, Resulting Numbers: [144, 138]\nGenerated Node #0,1,2: 136:[144, 138] Operation: 6+132=138\nExploring Operation: 144-6=138, Resulting Numbers: [132, 138]\nGenerated Node #0,1,3: 136:[132, 138] Operation: 144-6=138\nMoving to Node #0,0\nCurrent State: 136:[6, 50, 62], Operations: ['194-132=62']\nExploring Operation: 62-50=12, Resulting Numbers: [6, 12]\nGenerated Node #0,0,0: 136:[6, 12] Operation: 62-50=12\nExploring Operation: 50-6=44, Resulting Numbers: [62, 44]\nGenerated Node #0,0,1: 136:[62, 44] Operation: 50-6=44\nExploring Operation: 6+62=68, Resulting Numbers: [50, 68]\nGenerated Node #0,0,2: 136:[50, 68] Operation: 6+62=68\nExploring Operation: 6+50=56, Resulting Numbers: [62, 56]\nGenerated Node #0,0,3: 136:[62, 56] Operation: 6+50=56\nMoving to Node #0,3\nCurrent State: 136:[50, 132, 188], Operations: ['194-6=188']\nExploring Operation: 132-50=82, Resulting Numbers: [188, 82]\nGenerated Node #0,3,0: 136:[188, 82] Operation: 132-50=82\nExploring Operation: 188-50=138, Resulting Numbers: [132, 138]\nGenerated Node #0,3,1: 136:[132, 138] Operation: 188-50=138\nExploring Operation: 188-132=56, Resulting Numbers: [50, 56]\nGenerated Node #0,3,2: 136:[50, 56] Operation: 188-132=56\nExploring Operation: 50+132=182, Resulting Numbers: [188, 182]\nGenerated Node #0,3,3: 136:[188, 182] Operation: 50+132=182\nMoving to Node #0,2\nCurrent State: 136:[132, 194, 44], Operations: ['50-6=44']\nExploring Operation: 132/44=3, Resulting Numbers: [194, 3]\nGenerated Node #0,2,0: 136:[194, 3] Operation: 132/44=3\nExploring Operation: 132-44=88, Resulting Numbers: [194, 88]\nGenerated Node #0,2,1: 136:[194, 88] Operation: 132-44=88\nExploring Operation: 194-132=62, Resulting Numbers: [44, 62]\nGenerated Node #0,2,2: 136:[44, 62] Operation: 194-132=62\nExploring Operation: 194-44=150, Resulting Numbers: [132, 150]\nGenerated Node #0,2,3: 136:[132, 150] Operation: 194-44=150\nMoving to Node #0,1,1\nCurrent State: 136:[6, 12], Operations: ['194-50=144', '144-132=12']\nExploring Operation: 6+12=18, Resulting Numbers: [18]\n18,136 unequal: No Solution\nExploring Operation: 12-6=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 12/6=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nExploring Operation: 6*12=72, Resulting Numbers: [72]\n72,136 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 136:[132, 138], Operations: ['194-50=144', '144-6=138']\nExploring Operation: 132*138=18216, Resulting Numbers: [18216]\n18216,136 unequal: No Solution\nExploring Operation: 132+138=270, Resulting Numbers: [270]\n270,136 unequal: No Solution\nExploring Operation: 138-132=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 136:[6, 12], Operations: ['194-132=62', '62-50=12']\nExploring Operation: 6*12=72, Resulting Numbers: [72]\n72,136 unequal: No Solution\nExploring Operation: 6+12=18, Resulting Numbers: [18]\n18,136 unequal: No Solution\nExploring Operation: 12-6=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 12/6=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 136:[132, 138], Operations: ['194-6=188', '188-50=138']\nExploring Operation: 132+138=270, Resulting Numbers: [270]\n270,136 unequal: No Solution\nExploring Operation: 138-132=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 132*138=18216, Resulting Numbers: [18216]\n18216,136 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 136:[2], Operations: ['194-50=144', '144-132=12', '12/6=2']\nMoving to Node #0,0,0,0\nCurrent State: 136:[2], Operations: ['194-132=62', '62-50=12', '12/6=2']\nMoving to Node #0,1,1,0\nCurrent State: 136:[18], Operations: ['194-50=144', '144-132=12', '6+12=18']\nMoving to Node #0,0,0,0\nCurrent State: 136:[18], Operations: ['194-132=62', '62-50=12', '6+12=18']\nMoving to Node #0,1,1,0\nCurrent State: 136:[6], Operations: ['194-50=144', '144-132=12', '12-6=6']\nMoving to Node #0,3,1,0\nCurrent State: 136:[6], Operations: ['194-6=188', '188-50=138', '138-132=6']\nMoving to Node #0,0,0,0\nCurrent State: 136:[6], Operations: ['194-132=62', '62-50=12', '12-6=6']\nMoving to Node #0,1,3,0\nCurrent State: 136:[6], Operations: ['194-50=144', '144-6=138', '138-132=6']\nMoving to Node #0,0,0,0\nCurrent State: 136:[72], Operations: ['194-132=62', '62-50=12', '6*12=72']\nMoving to Node #0,1,1,0\nCurrent State: 136:[72], Operations: ['194-50=144', '144-132=12', '6*12=72']\nMoving to Node #0,1,2\nCurrent State: 136:[144, 138], Operations: ['194-50=144', '6+132=138']\nExploring Operation: 144+138=282, Resulting Numbers: [282]\n282,136 unequal: No Solution\nExploring Operation: 144-138=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 144*138=19872, Resulting Numbers: [19872]\n19872,136 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 136:[132, 24], Operations: ['194-50=144', '144/6=24']\nExploring Operation: 132-24=108, Resulting Numbers: [108]\n108,136 unequal: No Solution\nExploring Operation: 132*24=3168, Resulting Numbers: [3168]\n3168,136 unequal: No Solution\nExploring Operation: 132+24=156, Resulting Numbers: [156]\n156,136 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 136:[6], Operations: ['194-50=144', '6+132=138', '144-138=6']\nMoving to Node #0,2,2\nCurrent State: 136:[44, 62], Operations: ['50-6=44', '194-132=62']\nExploring Operation: 62-44=18, Resulting Numbers: [18]\n18,136 unequal: No Solution\nExploring Operation: 44+62=106, Resulting Numbers: [106]\n106,136 unequal: No Solution\nExploring Operation: 44*62=2728, Resulting Numbers: [2728]\n2728,136 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 136:[62, 44], Operations: ['194-132=62', '50-6=44']\nExploring Operation: 62*44=2728, Resulting Numbers: [2728]\n2728,136 unequal: No Solution\nExploring Operation: 62-44=18, Resulting Numbers: [18]\n18,136 unequal: No Solution\nExploring Operation: 62+44=106, Resulting Numbers: [106]\n106,136 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 136:[50, 68], Operations: ['194-132=62', '6+62=68']\nExploring Operation: 50*68=3400, Resulting Numbers: [3400]\n3400,136 unequal: No Solution\nExploring Operation: 68-50=18, Resulting Numbers: [18]\n18,136 unequal: No Solution\nExploring Operation: 50+68=118, Resulting Numbers: [118]\n118,136 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 136:[18], Operations: ['50-6=44', '194-132=62', '62-44=18']\nMoving to Node #0,0,1,0\nCurrent State: 136:[18], Operations: ['194-132=62', '50-6=44', '62-44=18']\nMoving to Node #0,0,2,0\nCurrent State: 136:[18], Operations: ['194-132=62', '6+62=68', '68-50=18']\nMoving to Node #0,0,2,0\nCurrent State: 136:[118], Operations: ['194-132=62', '6+62=68', '50+68=118']\nMoving to Node #0,0,3\nCurrent State: 136:[62, 56], Operations: ['194-132=62', '6+50=56']\nExploring Operation: 62+56=118, Resulting Numbers: [118]\n118,136 unequal: No Solution\nExploring Operation: 62*56=3472, Resulting Numbers: [3472]\n3472,136 unequal: No Solution\nExploring Operation: 62-56=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 136:[132, 150], Operations: ['50-6=44', '194-44=150']\nExploring Operation: 132*150=19800, Resulting Numbers: [19800]\n19800,136 unequal: No Solution\nExploring Operation: 150-132=18, Resulting Numbers: [18]\n18,136 unequal: No Solution\nExploring Operation: 132+150=282, Resulting Numbers: [282]\n282,136 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 136:[156], Operations: ['194-50=144', '144/6=24', '132+24=156']\nMoving to Node #0,1,0,0\nCurrent State: 136:[108], Operations: ['194-50=144', '144/6=24', '132-24=108']\nMoving to Node #0,2,3,0\nCurrent State: 136:[18], Operations: ['50-6=44', '194-44=150', '150-132=18']\nMoving to Node #0,0,3,0\nCurrent State: 136:[6], Operations: ['194-132=62', '6+50=56', '62-56=6']\nMoving to Node #0,0,3,0\nCurrent State: 136:[118], Operations: ['194-132=62', '6+50=56', '62+56=118']\nMoving to Node #0,3,2\nCurrent State: 136:[50, 56], Operations: ['194-6=188', '188-132=56']\nExploring Operation: 50+56=106, Resulting Numbers: [106]\n106,136 unequal: No Solution\nExploring Operation: 50*56=2800, Resulting Numbers: [2800]\n2800,136 unequal: No Solution\nExploring Operation: 56-50=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nMoving to Node #0,3,2,0\nCurrent State: 136:[6], Operations: ['194-6=188', '188-132=56', '56-50=6']\nMoving to Node #0,0,1,0\nCurrent State: 136:[106], Operations: ['194-132=62', '50-6=44', '62+44=106']\nMoving to Node #0,2,2,0\nCurrent State: 136:[106], Operations: ['50-6=44', '194-132=62', '44+62=106']\nMoving to Node #0,3,2,0\nCurrent State: 136:[106], Operations: ['194-6=188', '188-132=56', '50+56=106']\nMoving to Node #0,2,0\nCurrent State: 136:[194, 3], Operations: ['50-6=44', '132/44=3']\nExploring Operation: 194+3=197, Resulting Numbers: [197]\n197,136 unequal: No Solution\nExploring Operation: 194*3=582, Resulting Numbers: [582]\n582,136 unequal: No Solution\nExploring Operation: 194-3=191, Resulting Numbers: [191]\n191,136 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 136:[188, 82], Operations: ['194-6=188', '132-50=82']\nExploring Operation: 188+82=270, Resulting Numbers: [270]\n270,136 unequal: No Solution\nExploring Operation: 188*82=15416, Resulting Numbers: [15416]\n15416,136 unequal: No Solution\nExploring Operation: 188-82=106, Resulting Numbers: [106]\n106,136 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 136:[194, 88], Operations: ['50-6=44', '132-44=88']\nExploring Operation: 194-88=106, Resulting Numbers: [106]\n106,136 unequal: No Solution\nExploring Operation: 194+88=282, Resulting Numbers: [282]\n282,136 unequal: No Solution\nExploring Operation: 194*88=17072, Resulting Numbers: [17072]\n17072,136 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 136:[188, 182], Operations: ['194-6=188', '50+132=182']\nExploring Operation: 188*182=34216, Resulting Numbers: [34216]\n34216,136 unequal: No Solution\nExploring Operation: 188-182=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 188+182=370, Resulting Numbers: [370]\n370,136 unequal: No Solution\nMoving to Node #0,3,3,0\nCurrent State: 136:[6], Operations: ['194-6=188', '50+132=182', '188-182=6']\nMoving to Node #0,3,0,0\nCurrent State: 136:[106], Operations: ['194-6=188', '132-50=82', '188-82=106']\nMoving to Node #0,2,1,0\nCurrent State: 136:[106], Operations: ['50-6=44', '132-44=88', '194-88=106']\nMoving to Node #0,2,0,0\nCurrent State: 136:[191], Operations: ['50-6=44', '132/44=3', '194-3=191']\nMoving to Node #0,2,0,0\nCurrent State: 136:[197], Operations: ['50-6=44', '132/44=3', '194+3=197']\nMoving to Node #0,3,1,0\nCurrent State: 136:[270], Operations: ['194-6=188', '188-50=138', '132+138=270']\nMoving to Node #0,1,3,0\nCurrent State: 136:[270], Operations: ['194-50=144', '144-6=138', '132+138=270']\nMoving to Node #0,3,0,0\nCurrent State: 136:[270], Operations: ['194-6=188', '132-50=82', '188+82=270']\nMoving to Node #0,2,1,0\nCurrent State: 136:[282], Operations: ['50-6=44', '132-44=88', '194+88=282']\nMoving to Node #0,2,3,0\nCurrent State: 136:[282], Operations: ['50-6=44', '194-44=150', '132+150=282']\nMoving to Node #0,1,2,0\nCurrent State: 136:[282], Operations: ['194-50=144', '6+132=138', '144+138=282']\nMoving to Node #0,3,3,0\nCurrent State: 136:[370], Operations: ['194-6=188', '50+132=182', '188+182=370']\nMoving to Node #0,2,0,0\nCurrent State: 136:[582], Operations: ['50-6=44', '132/44=3', '194*3=582']\nMoving to Node #0,2,2,0\nCurrent State: 136:[2728], Operations: ['50-6=44', '194-132=62', '44*62=2728']\nMoving to Node #0,0,1,0\nCurrent State: 136:[2728], Operations: ['194-132=62', '50-6=44', '62*44=2728']\nMoving to Node #0,3,2,0\nCurrent State: 136:[2800], Operations: ['194-6=188', '188-132=56', '50*56=2800']\nMoving to Node #0,1,0,0\nCurrent State: 136:[3168], Operations: ['194-50=144', '144/6=24', '132*24=3168']\nMoving to Node #0,0,2,0\nCurrent State: 136:[3400], Operations: ['194-132=62', '6+62=68', '50*68=3400']\nMoving to Node #0,0,3,0\nCurrent State: 136:[3472], Operations: ['194-132=62', '6+50=56', '62*56=3472']\nMoving to Node #0,3,0,0\nCurrent State: 136:[15416], Operations: ['194-6=188', '132-50=82', '188*82=15416']\nMoving to Node #0,2,1,0\nCurrent State: 136:[17072], Operations: ['50-6=44', '132-44=88', '194*88=17072']\nMoving to Node #0,1,3,0\nCurrent State: 136:[18216], Operations: ['194-50=144', '144-6=138', '132*138=18216']\nMoving to Node #0,3,1,0\nCurrent State: 136:[18216], Operations: ['194-6=188', '188-50=138', '132*138=18216']\nMoving to Node #0,2,3,0\nCurrent State: 136:[19800], Operations: ['50-6=44', '194-44=150', '132*150=19800']\nMoving to Node #0,1,2,0\nCurrent State: 136:[19872], Operations: ['194-50=144', '6+132=138', '144*138=19872']\nMoving to Node #0,3,3,0\nCurrent State: 136:[34216], Operations: ['194-6=188', '50+132=182', '188*182=34216']",
"role": "assistant"
}
] |
[
6,
50,
132,
194
] | 136
|
bfs_4
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [109, 45, 114, 14] and the target 103, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 103:[109, 45, 114, 14], Operations: []\nExploring Operation: 45+14=59, Resulting Numbers: [109, 114, 59]\nGenerated Node #0,0: 103:[109, 114, 59] Operation: 45+14=59\nExploring Operation: 114-14=100, Resulting Numbers: [109, 45, 100]\nGenerated Node #0,1: 103:[109, 45, 100] Operation: 114-14=100\nMoving to Node #0,0\nCurrent State: 103:[109, 114, 59], Operations: ['45+14=59']\nExploring Operation: 109-59=50, Resulting Numbers: [114, 50]\nGenerated Node #0,0,0: 103:[114, 50] Operation: 109-59=50\nExploring Operation: 114-59=55, Resulting Numbers: [109, 55]\nGenerated Node #0,0,1: 103:[109, 55] Operation: 114-59=55\nMoving to Node #0,1\nCurrent State: 103:[109, 45, 100], Operations: ['114-14=100']\nExploring Operation: 45+100=145, Resulting Numbers: [109, 145]\nGenerated Node #0,1,0: 103:[109, 145] Operation: 45+100=145\nExploring Operation: 109-45=64, Resulting Numbers: [100, 64]\nGenerated Node #0,1,1: 103:[100, 64] Operation: 109-45=64\nMoving to Node #0,1,1\nCurrent State: 103:[100, 64], Operations: ['114-14=100', '109-45=64']\nExploring Operation: 100-64=36, Resulting Numbers: [36]\n36,103 unequal: No Solution\nExploring Operation: 100+64=164, Resulting Numbers: [164]\n164,103 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 103:[109, 145], Operations: ['114-14=100', '45+100=145']\nExploring Operation: 145-109=36, Resulting Numbers: [36]\n36,103 unequal: No Solution\nExploring Operation: 109+145=254, Resulting Numbers: [254]\n254,103 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 103:[109, 55], Operations: ['45+14=59', '114-59=55']\nExploring Operation: 109+55=164, Resulting Numbers: [164]\n164,103 unequal: No Solution\nExploring Operation: 109-55=54, Resulting Numbers: [54]\n54,103 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 103:[114, 50], Operations: ['45+14=59', '109-59=50']\nExploring Operation: 114-50=64, Resulting Numbers: [64]\n64,103 unequal: No Solution\nExploring Operation: 114+50=164, Resulting Numbers: [164]\n164,103 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 103:[64], Operations: ['45+14=59', '109-59=50', '114-50=64']\nMoving to Node #0,0,1,0\nCurrent State: 103:[54], Operations: ['45+14=59', '114-59=55', '109-55=54']\nMoving to Node #0,0,1,0\nCurrent State: 103:[164], Operations: ['45+14=59', '114-59=55', '109+55=164']\nMoving to Node #0,1,1,0\nCurrent State: 103:[164], Operations: ['114-14=100', '109-45=64', '100+64=164']\nMoving to Node #0,0,0,0\nCurrent State: 103:[164], Operations: ['45+14=59', '109-59=50', '114+50=164']\nMoving to Node #0,1,1,0\nCurrent State: 103:[36], Operations: ['114-14=100', '109-45=64', '100-64=36']\nMoving to Node #0,1,0,0\nCurrent State: 103:[36], Operations: ['114-14=100', '45+100=145', '145-109=36']\nMoving to Node #0,1,0,0\nCurrent State: 103:[254], Operations: ['114-14=100', '45+100=145', '109+145=254']",
"role": "assistant"
}
] |
[
109,
45,
114,
14
] | 103
|
bfs_2
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [93, 82, 177, 177] and the target 176, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 176:[93, 82, 177, 177], Operations: []\nExploring Operation: 93-82=11, Resulting Numbers: [177, 177, 11]\nGenerated Node #0,0: 176:[177, 177, 11] Operation: 93-82=11\nExploring Operation: 93+82=175, Resulting Numbers: [177, 177, 175]\nGenerated Node #0,1: 176:[177, 177, 175] Operation: 93+82=175\nMoving to Node #0,0\nCurrent State: 176:[177, 177, 11], Operations: ['93-82=11']\nExploring Operation: 177-177=0, Resulting Numbers: [11, 0]\nGenerated Node #0,0,0: 176:[11, 0] Operation: 177-177=0\nExploring Operation: 177/177=1, Resulting Numbers: [11, 1]\nGenerated Node #0,0,1: 176:[11, 1] Operation: 177/177=1\nMoving to Node #0,1\nCurrent State: 176:[177, 177, 175], Operations: ['93+82=175']\nExploring Operation: 177-175=2, Resulting Numbers: [177, 2]\nGenerated Node #0,1,0: 176:[177, 2] Operation: 177-175=2\nExploring Operation: 177-175=2, Resulting Numbers: [177, 2]\nGenerated Node #0,1,1: 176:[177, 2] Operation: 177-175=2\nMoving to Node #0,0,1\nCurrent State: 176:[11, 1], Operations: ['93-82=11', '177/177=1']\nExploring Operation: 11/1=11, Resulting Numbers: [11]\n11,176 unequal: No Solution\nExploring Operation: 11*1=11, Resulting Numbers: [11]\n11,176 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 176:[177, 2], Operations: ['93+82=175', '177-175=2']\nExploring Operation: 177-2=175, Resulting Numbers: [175]\n175,176 unequal: No Solution\nExploring Operation: 177+2=179, Resulting Numbers: [179]\n179,176 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 176:[11], Operations: ['93-82=11', '177/177=1', '11/1=11']\nMoving to Node #0,0,1,0\nCurrent State: 176:[11], Operations: ['93-82=11', '177/177=1', '11*1=11']\nMoving to Node #0,1,1\nCurrent State: 176:[177, 2], Operations: ['93+82=175', '177-175=2']\nExploring Operation: 177+2=179, Resulting Numbers: [179]\n179,176 unequal: No Solution\nExploring Operation: 177-2=175, Resulting Numbers: [175]\n175,176 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 176:[175], Operations: ['93+82=175', '177-175=2', '177-2=175']\nMoving to Node #0,1,1,0\nCurrent State: 176:[175], Operations: ['93+82=175', '177-175=2', '177-2=175']\nMoving to Node #0,0,0\nCurrent State: 176:[11, 0], Operations: ['93-82=11', '177-177=0']\nExploring Operation: 11-0=11, Resulting Numbers: [11]\n11,176 unequal: No Solution\nExploring Operation: 11+0=11, Resulting Numbers: [11]\n11,176 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 176:[11], Operations: ['93-82=11', '177-177=0', '11-0=11']\nMoving to Node #0,0,0,0\nCurrent State: 176:[11], Operations: ['93-82=11', '177-177=0', '11+0=11']\nMoving to Node #0,1,1,0\nCurrent State: 176:[179], Operations: ['93+82=175', '177-175=2', '177+2=179']\nMoving to Node #0,1,0,0\nCurrent State: 176:[179], Operations: ['93+82=175', '177-175=2', '177+2=179']",
"role": "assistant"
}
] |
[
93,
82,
177,
177
] | 176
|
bfs_2
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [89, 88, 147, 18] and the target 164, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 164:[89, 88, 147, 18], Operations: []\nExploring Operation: 147+18=165, Resulting Numbers: [89, 88, 165]\nGenerated Node #0,0: 164:[89, 88, 165] Operation: 147+18=165\nMoving to Node #0,0\nCurrent State: 164:[89, 88, 165], Operations: ['147+18=165']\nExploring Operation: 89-88=1, Resulting Numbers: [165, 1]\nGenerated Node #0,0,0: 164:[165, 1] Operation: 89-88=1\nMoving to Node #0,0,0\nCurrent State: 164:[165, 1], Operations: ['147+18=165', '89-88=1']\nExploring Operation: 165-1=164, Resulting Numbers: [164]\n164,164 equal: Goal Reached\nFinal operations:\n147+18=165\n89-88=1\n165-1=164",
"role": "assistant"
}
] |
[
89,
88,
147,
18
] | 164
|
bfs_1
|
mult_heuristic
| 0.996528
|
[
{
"content": "Given the numbers [79, 75, 145, 4] and the target 161, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 161:[79, 75, 145, 4], Operations: []\nExploring Operation: 79+75=154, Resulting Numbers: [145, 4, 154]\nGenerated Node #0,0: 161:[145, 4, 154] Operation: 79+75=154\nExploring Operation: 79+4=83, Resulting Numbers: [75, 145, 83]\nGenerated Node #0,1: 161:[75, 145, 83] Operation: 79+4=83\nMoving to Node #0,0\nCurrent State: 161:[145, 4, 154], Operations: ['79+75=154']\nExploring Operation: 4+154=158, Resulting Numbers: [145, 158]\nGenerated Node #0,0,0: 161:[145, 158] Operation: 4+154=158\nExploring Operation: 145+4=149, Resulting Numbers: [154, 149]\nGenerated Node #0,0,1: 161:[154, 149] Operation: 145+4=149\nMoving to Node #0,1\nCurrent State: 161:[75, 145, 83], Operations: ['79+4=83']\nExploring Operation: 75+83=158, Resulting Numbers: [145, 158]\nGenerated Node #0,1,0: 161:[145, 158] Operation: 75+83=158\nExploring Operation: 75+145=220, Resulting Numbers: [83, 220]\nGenerated Node #0,1,1: 161:[83, 220] Operation: 75+145=220\nMoving to Node #0,0,0\nCurrent State: 161:[145, 158], Operations: ['79+75=154', '4+154=158']\nExploring Operation: 145+158=303, Resulting Numbers: [303]\n303,161 unequal: No Solution\nExploring Operation: 158-145=13, Resulting Numbers: [13]\n13,161 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 161:[145, 158], Operations: ['79+4=83', '75+83=158']\nExploring Operation: 158-145=13, Resulting Numbers: [13]\n13,161 unequal: No Solution\nExploring Operation: 145+158=303, Resulting Numbers: [303]\n303,161 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 161:[154, 149], Operations: ['79+75=154', '145+4=149']\nExploring Operation: 154-149=5, Resulting Numbers: [5]\n5,161 unequal: No Solution\nExploring Operation: 154+149=303, Resulting Numbers: [303]\n303,161 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 161:[83, 220], Operations: ['79+4=83', '75+145=220']\nExploring Operation: 83+220=303, Resulting Numbers: [303]\n303,161 unequal: No Solution\nExploring Operation: 220-83=137, Resulting Numbers: [137]\n137,161 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 161:[137], Operations: ['79+4=83', '75+145=220', '220-83=137']\nMoving to Node #0,0,0,0\nCurrent State: 161:[303], Operations: ['79+75=154', '4+154=158', '145+158=303']\nMoving to Node #0,1,0,0\nCurrent State: 161:[303], Operations: ['79+4=83', '75+83=158', '145+158=303']\nMoving to Node #0,0,1,0\nCurrent State: 161:[303], Operations: ['79+75=154', '145+4=149', '154+149=303']\nMoving to Node #0,1,1,0\nCurrent State: 161:[303], Operations: ['79+4=83', '75+145=220', '83+220=303']\nMoving to Node #0,1,0,0\nCurrent State: 161:[13], Operations: ['79+4=83', '75+83=158', '158-145=13']\nMoving to Node #0,0,0,0\nCurrent State: 161:[13], Operations: ['79+75=154', '4+154=158', '158-145=13']\nMoving to Node #0,0,1,0\nCurrent State: 161:[5], Operations: ['79+75=154', '145+4=149', '154-149=5']",
"role": "assistant"
}
] |
[
79,
75,
145,
4
] | 161
|
bfs_2
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [88, 9, 63, 58] and the target 74, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 74:[88, 9, 63, 58], Operations: []\nExploring Operation: 88-9=79, Resulting Numbers: [63, 58, 79]\nGenerated Node #0,0: 74:[63, 58, 79] Operation: 88-9=79\nMoving to Node #0,0\nCurrent State: 74:[63, 58, 79], Operations: ['88-9=79']\nExploring Operation: 63+58=121, Resulting Numbers: [79, 121]\nGenerated Node #0,0,0: 74:[79, 121] Operation: 63+58=121\nMoving to Node #0,0,0\nCurrent State: 74:[79, 121], Operations: ['88-9=79', '63+58=121']\nExploring Operation: 121-79=42, Resulting Numbers: [42]\n42,74 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 74:[42], Operations: ['88-9=79', '63+58=121', '121-79=42']",
"role": "assistant"
}
] |
[
88,
9,
63,
58
] | 74
|
bfs_1
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [43, 123, 23, 31] and the target 10, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 10:[43, 123, 23, 31], Operations: []",
"role": "assistant"
}
] |
[
43,
123,
23,
31
] | 10
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [199, 2, 77, 194] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[199, 2, 77, 194], Operations: []\nExploring Operation: 194/2=97, Resulting Numbers: [199, 77, 97]\nGenerated Node #0,0: 127:[199, 77, 97] Operation: 194/2=97\nExploring Operation: 199-2=197, Resulting Numbers: [77, 194, 197]\nGenerated Node #0,1: 127:[77, 194, 197] Operation: 199-2=197\nExploring Operation: 2*77=154, Resulting Numbers: [199, 194, 154]\nGenerated Node #0,2: 127:[199, 194, 154] Operation: 2*77=154\nExploring Operation: 2+77=79, Resulting Numbers: [199, 194, 79]\nGenerated Node #0,3: 127:[199, 194, 79] Operation: 2+77=79\nMoving to Node #0,0\nCurrent State: 127:[199, 77, 97], Operations: ['194/2=97']\nExploring Operation: 199-77=122, Resulting Numbers: [97, 122]\nGenerated Node #0,0,0: 127:[97, 122] Operation: 199-77=122\nExploring Operation: 77+97=174, Resulting Numbers: [199, 174]\nGenerated Node #0,0,1: 127:[199, 174] Operation: 77+97=174\nExploring Operation: 199+77=276, Resulting Numbers: [97, 276]\nGenerated Node #0,0,2: 127:[97, 276] Operation: 199+77=276\nExploring Operation: 199-97=102, Resulting Numbers: [77, 102]\nGenerated Node #0,0,3: 127:[77, 102] Operation: 199-97=102\nMoving to Node #0,2\nCurrent State: 127:[199, 194, 154], Operations: ['2*77=154']\nExploring Operation: 199-154=45, Resulting Numbers: [194, 45]\nGenerated Node #0,2,0: 127:[194, 45] Operation: 199-154=45\nExploring Operation: 199+194=393, Resulting Numbers: [154, 393]\nGenerated Node #0,2,1: 127:[154, 393] Operation: 199+194=393\nExploring Operation: 194-154=40, Resulting Numbers: [199, 40]\nGenerated Node #0,2,2: 127:[199, 40] Operation: 194-154=40\nExploring Operation: 199-194=5, Resulting Numbers: [154, 5]\nGenerated Node #0,2,3: 127:[154, 5] Operation: 199-194=5\nMoving to Node #0,3\nCurrent State: 127:[199, 194, 79], Operations: ['2+77=79']\nExploring Operation: 194-79=115, Resulting Numbers: [199, 115]\nGenerated Node #0,3,0: 127:[199, 115] Operation: 194-79=115\nExploring Operation: 199-194=5, Resulting Numbers: [79, 5]\nGenerated Node #0,3,1: 127:[79, 5] Operation: 199-194=5\nExploring Operation: 199+79=278, Resulting Numbers: [194, 278]\nGenerated Node #0,3,2: 127:[194, 278] Operation: 199+79=278\nExploring Operation: 199-79=120, Resulting Numbers: [194, 120]\nGenerated Node #0,3,3: 127:[194, 120] Operation: 199-79=120\nMoving to Node #0,1\nCurrent State: 127:[77, 194, 197], Operations: ['199-2=197']\nExploring Operation: 194-77=117, Resulting Numbers: [197, 117]\nGenerated Node #0,1,0: 127:[197, 117] Operation: 194-77=117\nExploring Operation: 197-77=120, Resulting Numbers: [194, 120]\nGenerated Node #0,1,1: 127:[194, 120] Operation: 197-77=120\nExploring Operation: 77+194=271, Resulting Numbers: [197, 271]\nGenerated Node #0,1,2: 127:[197, 271] Operation: 77+194=271\nExploring Operation: 197-194=3, Resulting Numbers: [77, 3]\nGenerated Node #0,1,3: 127:[77, 3] Operation: 197-194=3\nMoving to Node #0,0,0\nCurrent State: 127:[97, 122], Operations: ['194/2=97', '199-77=122']\nExploring Operation: 122-97=25, Resulting Numbers: [25]\n25,127 unequal: No Solution\nExploring Operation: 97*122=11834, Resulting Numbers: [11834]\n11834,127 unequal: No Solution\nExploring Operation: 97+122=219, Resulting Numbers: [219]\n219,127 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 127:[194, 120], Operations: ['199-2=197', '197-77=120']\nExploring Operation: 194+120=314, Resulting Numbers: [314]\n314,127 unequal: No Solution\nExploring Operation: 194*120=23280, Resulting Numbers: [23280]\n23280,127 unequal: No Solution\nExploring Operation: 194-120=74, Resulting Numbers: [74]\n74,127 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 127:[194, 120], Operations: ['2+77=79', '199-79=120']\nExploring Operation: 194-120=74, Resulting Numbers: [74]\n74,127 unequal: No Solution\nExploring Operation: 194+120=314, Resulting Numbers: [314]\n314,127 unequal: No Solution\nExploring Operation: 194*120=23280, Resulting Numbers: [23280]\n23280,127 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 127:[77, 102], Operations: ['194/2=97', '199-97=102']\nExploring Operation: 77*102=7854, Resulting Numbers: [7854]\n7854,127 unequal: No Solution\nExploring Operation: 102-77=25, Resulting Numbers: [25]\n25,127 unequal: No Solution\nExploring Operation: 77+102=179, Resulting Numbers: [179]\n179,127 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 127:[197, 117], Operations: ['199-2=197', '194-77=117']\nExploring Operation: 197-117=80, Resulting Numbers: [80]\n80,127 unequal: No Solution\nExploring Operation: 197+117=314, Resulting Numbers: [314]\n314,127 unequal: No Solution\nExploring Operation: 197*117=23049, Resulting Numbers: [23049]\n23049,127 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 127:[199, 115], Operations: ['2+77=79', '194-79=115']\nExploring Operation: 199*115=22885, Resulting Numbers: [22885]\n22885,127 unequal: No Solution\nExploring Operation: 199+115=314, Resulting Numbers: [314]\n314,127 unequal: No Solution\nExploring Operation: 199-115=84, Resulting Numbers: [84]\n84,127 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 127:[179], Operations: ['194/2=97', '199-97=102', '77+102=179']\nMoving to Node #0,1,1,0\nCurrent State: 127:[74], Operations: ['199-2=197', '197-77=120', '194-120=74']\nMoving to Node #0,3,0,0\nCurrent State: 127:[84], Operations: ['2+77=79', '194-79=115', '199-115=84']\nMoving to Node #0,1,0,0\nCurrent State: 127:[80], Operations: ['199-2=197', '194-77=117', '197-117=80']\nMoving to Node #0,3,3,0\nCurrent State: 127:[74], Operations: ['2+77=79', '199-79=120', '194-120=74']\nMoving to Node #0,0,1\nCurrent State: 127:[199, 174], Operations: ['194/2=97', '77+97=174']\nExploring Operation: 199+174=373, Resulting Numbers: [373]\n373,127 unequal: No Solution\nExploring Operation: 199*174=34626, Resulting Numbers: [34626]\n34626,127 unequal: No Solution\nExploring Operation: 199-174=25, Resulting Numbers: [25]\n25,127 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 127:[154, 5], Operations: ['2*77=154', '199-194=5']\nExploring Operation: 154*5=770, Resulting Numbers: [770]\n770,127 unequal: No Solution\nExploring Operation: 154-5=149, Resulting Numbers: [149]\n149,127 unequal: No Solution\nExploring Operation: 154+5=159, Resulting Numbers: [159]\n159,127 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 127:[194, 45], Operations: ['2*77=154', '199-154=45']\nExploring Operation: 194+45=239, Resulting Numbers: [239]\n239,127 unequal: No Solution\nExploring Operation: 194-45=149, Resulting Numbers: [149]\n149,127 unequal: No Solution\nExploring Operation: 194*45=8730, Resulting Numbers: [8730]\n8730,127 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 127:[199, 40], Operations: ['2*77=154', '194-154=40']\nExploring Operation: 199-40=159, Resulting Numbers: [159]\n159,127 unequal: No Solution\nExploring Operation: 199+40=239, Resulting Numbers: [239]\n239,127 unequal: No Solution\nExploring Operation: 199*40=7960, Resulting Numbers: [7960]\n7960,127 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 127:[79, 5], Operations: ['2+77=79', '199-194=5']\nExploring Operation: 79*5=395, Resulting Numbers: [395]\n395,127 unequal: No Solution\nExploring Operation: 79-5=74, Resulting Numbers: [74]\n74,127 unequal: No Solution\nExploring Operation: 79+5=84, Resulting Numbers: [84]\n84,127 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 127:[149], Operations: ['2*77=154', '199-194=5', '154-5=149']\nMoving to Node #0,2,0,0\nCurrent State: 127:[149], Operations: ['2*77=154', '199-154=45', '194-45=149']\nMoving to Node #0,2,2,0\nCurrent State: 127:[159], Operations: ['2*77=154', '194-154=40', '199-40=159']\nMoving to Node #0,2,3,0\nCurrent State: 127:[159], Operations: ['2*77=154', '199-194=5', '154+5=159']\nMoving to Node #0,3,1,0\nCurrent State: 127:[84], Operations: ['2+77=79', '199-194=5', '79+5=84']\nMoving to Node #0,3,1,0\nCurrent State: 127:[74], Operations: ['2+77=79', '199-194=5', '79-5=74']\nMoving to Node #0,1,3\nCurrent State: 127:[77, 3], Operations: ['199-2=197', '197-194=3']\nExploring Operation: 77*3=231, Resulting Numbers: [231]\n231,127 unequal: No Solution\nExploring Operation: 77+3=80, Resulting Numbers: [80]\n80,127 unequal: No Solution\nExploring Operation: 77-3=74, Resulting Numbers: [74]\n74,127 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 127:[97, 276], Operations: ['194/2=97', '199+77=276']\nExploring Operation: 97*276=26772, Resulting Numbers: [26772]\n26772,127 unequal: No Solution\nExploring Operation: 276-97=179, Resulting Numbers: [179]\n179,127 unequal: No Solution\nExploring Operation: 97+276=373, Resulting Numbers: [373]\n373,127 unequal: No Solution\nMoving to Node #0,1,3,0\nCurrent State: 127:[80], Operations: ['199-2=197', '197-194=3', '77+3=80']\nMoving to Node #0,0,2,0\nCurrent State: 127:[179], Operations: ['194/2=97', '199+77=276', '276-97=179']\nMoving to Node #0,1,3,0\nCurrent State: 127:[74], Operations: ['199-2=197', '197-194=3', '77-3=74']\nMoving to Node #0,0,0,0\nCurrent State: 127:[219], Operations: ['194/2=97', '199-77=122', '97+122=219']\nMoving to Node #0,0,0,0\nCurrent State: 127:[25], Operations: ['194/2=97', '199-77=122', '122-97=25']\nMoving to Node #0,0,1,0\nCurrent State: 127:[25], Operations: ['194/2=97', '77+97=174', '199-174=25']\nMoving to Node #0,0,3,0\nCurrent State: 127:[25], Operations: ['194/2=97', '199-97=102', '102-77=25']\nMoving to Node #0,1,3,0\nCurrent State: 127:[231], Operations: ['199-2=197', '197-194=3', '77*3=231']\nMoving to Node #0,1,2\nCurrent State: 127:[197, 271], Operations: ['199-2=197', '77+194=271']\nExploring Operation: 197*271=53387, Resulting Numbers: [53387]\n53387,127 unequal: No Solution\nExploring Operation: 197+271=468, Resulting Numbers: [468]\n468,127 unequal: No Solution\nExploring Operation: 271-197=74, Resulting Numbers: [74]\n74,127 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 127:[194, 278], Operations: ['2+77=79', '199+79=278']\nExploring Operation: 194+278=472, Resulting Numbers: [472]\n472,127 unequal: No Solution\nExploring Operation: 194*278=53932, Resulting Numbers: [53932]\n53932,127 unequal: No Solution\nExploring Operation: 278-194=84, Resulting Numbers: [84]\n84,127 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 127:[239], Operations: ['2*77=154', '194-154=40', '199+40=239']\nMoving to Node #0,2,0,0\nCurrent State: 127:[239], Operations: ['2*77=154', '199-154=45', '194+45=239']\nMoving to Node #0,3,2,0\nCurrent State: 127:[84], Operations: ['2+77=79', '199+79=278', '278-194=84']\nMoving to Node #0,1,2,0\nCurrent State: 127:[74], Operations: ['199-2=197', '77+194=271', '271-197=74']\nMoving to Node #0,2,1\nCurrent State: 127:[154, 393], Operations: ['2*77=154', '199+194=393']\nExploring Operation: 154*393=60522, Resulting Numbers: [60522]\n60522,127 unequal: No Solution\nExploring Operation: 154+393=547, Resulting Numbers: [547]\n547,127 unequal: No Solution\nExploring Operation: 393-154=239, Resulting Numbers: [239]\n239,127 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 127:[314], Operations: ['199-2=197', '194-77=117', '197+117=314']\nMoving to Node #0,2,1,0\nCurrent State: 127:[239], Operations: ['2*77=154', '199+194=393', '393-154=239']\nMoving to Node #0,3,0,0\nCurrent State: 127:[314], Operations: ['2+77=79', '194-79=115', '199+115=314']\nMoving to Node #0,3,3,0\nCurrent State: 127:[314], Operations: ['2+77=79', '199-79=120', '194+120=314']\nMoving to Node #0,1,1,0\nCurrent State: 127:[314], Operations: ['199-2=197', '197-77=120', '194+120=314']\nMoving to Node #0,0,2,0\nCurrent State: 127:[373], Operations: ['194/2=97', '199+77=276', '97+276=373']\nMoving to Node #0,0,1,0\nCurrent State: 127:[373], Operations: ['194/2=97', '77+97=174', '199+174=373']\nMoving to Node #0,3,1,0\nCurrent State: 127:[395], Operations: ['2+77=79', '199-194=5', '79*5=395']\nMoving to Node #0,1,2,0\nCurrent State: 127:[468], Operations: ['199-2=197', '77+194=271', '197+271=468']\nMoving to Node #0,3,2,0\nCurrent State: 127:[472], Operations: ['2+77=79', '199+79=278', '194+278=472']\nMoving to Node #0,2,1,0\nCurrent State: 127:[547], Operations: ['2*77=154', '199+194=393', '154+393=547']\nMoving to Node #0,2,3,0\nCurrent State: 127:[770], Operations: ['2*77=154', '199-194=5', '154*5=770']\nMoving to Node #0,0,3,0\nCurrent State: 127:[7854], Operations: ['194/2=97', '199-97=102', '77*102=7854']\nMoving to Node #0,2,2,0\nCurrent State: 127:[7960], Operations: ['2*77=154', '194-154=40', '199*40=7960']\nMoving to Node #0,2,0,0\nCurrent State: 127:[8730], Operations: ['2*77=154', '199-154=45', '194*45=8730']\nMoving to Node #0,0,0,0\nCurrent State: 127:[11834], Operations: ['194/2=97', '199-77=122', '97*122=11834']\nMoving to Node #0,3,0,0\nCurrent State: 127:[22885], Operations: ['2+77=79', '194-79=115', '199*115=22885']\nMoving to Node #0,1,0,0\nCurrent State: 127:[23049], Operations: ['199-2=197', '194-77=117', '197*117=23049']\nMoving to Node #0,3,3,0\nCurrent State: 127:[23280], Operations: ['2+77=79', '199-79=120', '194*120=23280']\nMoving to Node #0,1,1,0\nCurrent State: 127:[23280], Operations: ['199-2=197', '197-77=120', '194*120=23280']\nMoving to Node #0,0,2,0\nCurrent State: 127:[26772], Operations: ['194/2=97', '199+77=276', '97*276=26772']\nMoving to Node #0,0,1,0\nCurrent State: 127:[34626], Operations: ['194/2=97', '77+97=174', '199*174=34626']\nMoving to Node #0,1,2,0\nCurrent State: 127:[53387], Operations: ['199-2=197', '77+194=271', '197*271=53387']\nMoving to Node #0,3,2,0\nCurrent State: 127:[53932], Operations: ['2+77=79', '199+79=278', '194*278=53932']\nMoving to Node #0,2,1,0\nCurrent State: 127:[60522], Operations: ['2*77=154', '199+194=393', '154*393=60522']",
"role": "assistant"
}
] |
[
199,
2,
77,
194
] | 127
|
bfs_4
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [43, 81, 45, 38] and the target 31, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 31:[43, 81, 45, 38], Operations: []\nExploring Operation: 81-45=36, Resulting Numbers: [43, 38, 36]\nGenerated Node #0,0: 31:[43, 38, 36] Operation: 81-45=36\nMoving to Node #0,0\nCurrent State: 31:[43, 38, 36], Operations: ['81-45=36']\nExploring Operation: 43-38=5, Resulting Numbers: [36, 5]\nGenerated Node #0,0,0: 31:[36, 5] Operation: 43-38=5\nMoving to Node #0,0,0\nCurrent State: 31:[36, 5], Operations: ['81-45=36', '43-38=5']\nExploring Operation: 36-5=31, Resulting Numbers: [31]\n31,31 equal: Goal Reached\nFinal operations:\n81-45=36\n43-38=5\n36-5=31",
"role": "assistant"
}
] |
[
43,
81,
45,
38
] | 31
|
dfs
|
sum_heuristic
| 0.996528
|
[
{
"content": "Given the numbers [43, 119, 64, 72] and the target 26, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 26:[43, 119, 64, 72], Operations: []\nExploring Operation: 119-72=47, Resulting Numbers: [43, 64, 47]\nGenerated Node #0,0: 26:[43, 64, 47] Operation: 119-72=47\nMoving to Node #0,0\nCurrent State: 26:[43, 64, 47], Operations: ['119-72=47']\nExploring Operation: 64-47=17, Resulting Numbers: [43, 17]\nGenerated Node #0,0,0: 26:[43, 17] Operation: 64-47=17\nMoving to Node #0,0,0\nCurrent State: 26:[43, 17], Operations: ['119-72=47', '64-47=17']\nExploring Operation: 43-17=26, Resulting Numbers: [26]\n26,26 equal: Goal Reached\nFinal operations:\n119-72=47\n64-47=17\n43-17=26",
"role": "assistant"
}
] |
[
43,
119,
64,
72
] | 26
|
bfs_1
|
mult_heuristic
| 0.996528
|
[
{
"content": "Given the numbers [24, 122, 13, 112] and the target 182, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 182:[24, 122, 13, 112], Operations: []\nExploring Operation: 112-24=88, Resulting Numbers: [122, 13, 88]\nGenerated Node #0,0: 182:[122, 13, 88] Operation: 112-24=88\nExploring Operation: 122-13=109, Resulting Numbers: [24, 112, 109]\nGenerated Node #0,1: 182:[24, 112, 109] Operation: 122-13=109\nExploring Operation: 122-112=10, Resulting Numbers: [24, 13, 10]\nGenerated Node #0,2: 182:[24, 13, 10] Operation: 122-112=10\nExploring Operation: 122-24=98, Resulting Numbers: [13, 112, 98]\nGenerated Node #0,3: 182:[13, 112, 98] Operation: 122-24=98\nExploring Operation: 112-13=99, Resulting Numbers: [24, 122, 99]\nGenerated Node #0,4: 182:[24, 122, 99] Operation: 112-13=99\nMoving to Node #0,2\nCurrent State: 182:[24, 13, 10], Operations: ['122-112=10']\nExploring Operation: 24-10=14, Resulting Numbers: [13, 14]\nGenerated Node #0,2,0: 182:[13, 14] Operation: 24-10=14\nExploring Operation: 13+10=23, Resulting Numbers: [24, 23]\nGenerated Node #0,2,1: 182:[24, 23] Operation: 13+10=23\nExploring Operation: 13-10=3, Resulting Numbers: [24, 3]\nGenerated Node #0,2,2: 182:[24, 3] Operation: 13-10=3\nExploring Operation: 24-13=11, Resulting Numbers: [10, 11]\nGenerated Node #0,2,3: 182:[10, 11] Operation: 24-13=11\nExploring Operation: 24+10=34, Resulting Numbers: [13, 34]\nGenerated Node #0,2,4: 182:[13, 34] Operation: 24+10=34\nMoving to Node #0,3\nCurrent State: 182:[13, 112, 98], Operations: ['122-24=98']\nExploring Operation: 13+112=125, Resulting Numbers: [98, 125]\nGenerated Node #0,3,0: 182:[98, 125] Operation: 13+112=125\nExploring Operation: 112-13=99, Resulting Numbers: [98, 99]\nGenerated Node #0,3,1: 182:[98, 99] Operation: 112-13=99\nExploring Operation: 112-98=14, Resulting Numbers: [13, 14]\nGenerated Node #0,3,2: 182:[13, 14] Operation: 112-98=14\nExploring Operation: 112+98=210, Resulting Numbers: [13, 210]\nGenerated Node #0,3,3: 182:[13, 210] Operation: 112+98=210\nExploring Operation: 98-13=85, Resulting Numbers: [112, 85]\nGenerated Node #0,3,4: 182:[112, 85] Operation: 98-13=85\nMoving to Node #0,0\nCurrent State: 182:[122, 13, 88], Operations: ['112-24=88']\nExploring Operation: 122-13=109, Resulting Numbers: [88, 109]\nGenerated Node #0,0,0: 182:[88, 109] Operation: 122-13=109\nExploring Operation: 122+88=210, Resulting Numbers: [13, 210]\nGenerated Node #0,0,1: 182:[13, 210] Operation: 122+88=210\nExploring Operation: 13+88=101, Resulting Numbers: [122, 101]\nGenerated Node #0,0,2: 182:[122, 101] Operation: 13+88=101\nExploring Operation: 122-88=34, Resulting Numbers: [13, 34]\nGenerated Node #0,0,3: 182:[13, 34] Operation: 122-88=34\nExploring Operation: 122+13=135, Resulting Numbers: [88, 135]\nGenerated Node #0,0,4: 182:[88, 135] Operation: 122+13=135\nMoving to Node #0,1\nCurrent State: 182:[24, 112, 109], Operations: ['122-13=109']\nExploring Operation: 109-24=85, Resulting Numbers: [112, 85]\nGenerated Node #0,1,0: 182:[112, 85] Operation: 109-24=85\nExploring Operation: 112-24=88, Resulting Numbers: [109, 88]\nGenerated Node #0,1,1: 182:[109, 88] Operation: 112-24=88\nExploring Operation: 112-109=3, Resulting Numbers: [24, 3]\nGenerated Node #0,1,2: 182:[24, 3] Operation: 112-109=3\nExploring Operation: 24+112=136, Resulting Numbers: [109, 136]\nGenerated Node #0,1,3: 182:[109, 136] Operation: 24+112=136\nExploring Operation: 112+109=221, Resulting Numbers: [24, 221]\nGenerated Node #0,1,4: 182:[24, 221] Operation: 112+109=221\nMoving to Node #0,4\nCurrent State: 182:[24, 122, 99], Operations: ['112-13=99']\nExploring Operation: 24+122=146, Resulting Numbers: [99, 146]\nGenerated Node #0,4,0: 182:[99, 146] Operation: 24+122=146\nExploring Operation: 122-99=23, Resulting Numbers: [24, 23]\nGenerated Node #0,4,1: 182:[24, 23] Operation: 122-99=23\nExploring Operation: 122+99=221, Resulting Numbers: [24, 221]\nGenerated Node #0,4,2: 182:[24, 221] Operation: 122+99=221\nExploring Operation: 99-24=75, Resulting Numbers: [122, 75]\nGenerated Node #0,4,3: 182:[122, 75] Operation: 99-24=75\nExploring Operation: 122-24=98, Resulting Numbers: [99, 98]\nGenerated Node #0,4,4: 182:[99, 98] Operation: 122-24=98\nMoving to Node #0,2,0\nCurrent State: 182:[13, 14], Operations: ['122-112=10', '24-10=14']\nExploring Operation: 14-13=1, Resulting Numbers: [1]\n1,182 unequal: No Solution\nExploring Operation: 13+14=27, Resulting Numbers: [27]\n27,182 unequal: No Solution\nExploring Operation: 13*14=182, Resulting Numbers: [182]\n182,182 equal: Goal Reached\nFinal operations:\n122-112=10\n24-10=14\n13*14=182",
"role": "assistant"
}
] |
[
24,
122,
13,
112
] | 182
|
bfs_5
|
mult_heuristic
| 0.970486
|
[
{
"content": "Given the numbers [141, 69, 3, 30] and the target 10, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 10:[141, 69, 3, 30], Operations: []\nExploring Operation: 141-69=72, Resulting Numbers: [3, 30, 72]\nGenerated Node #0,0: 10:[3, 30, 72] Operation: 141-69=72\nMoving to Node #0,0\nCurrent State: 10:[3, 30, 72], Operations: ['141-69=72']\nExploring Operation: 72-30=42, Resulting Numbers: [3, 42]\nGenerated Node #0,0,0: 10:[3, 42] Operation: 72-30=42\nMoving to Node #0,0,0\nCurrent State: 10:[3, 42], Operations: ['141-69=72', '72-30=42']\nExploring Operation: 42/3=14, Resulting Numbers: [14]\n14,10 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 10:[14], Operations: ['141-69=72', '72-30=42', '42/3=14']",
"role": "assistant"
}
] |
[
141,
69,
3,
30
] | 10
|
bfs_1
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [92, 118, 74, 81] and the target 182, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 182:[92, 118, 74, 81], Operations: []\nExploring Operation: 92+74=166, Resulting Numbers: [118, 81, 166]\nGenerated Node #0,0: 182:[118, 81, 166] Operation: 92+74=166\nMoving to Node #0,0\nCurrent State: 182:[118, 81, 166], Operations: ['92+74=166']\nExploring Operation: 118+81=199, Resulting Numbers: [166, 199]\nGenerated Node #0,0,0: 182:[166, 199] Operation: 118+81=199\nMoving to Node #0,0,0\nCurrent State: 182:[166, 199], Operations: ['92+74=166', '118+81=199']\nExploring Operation: 199-166=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 182:[118, 81, 166], Operations: ['92+74=166']\nExploring Operation: 81+166=247, Resulting Numbers: [118, 247]\nGenerated Node #0,0,1: 182:[118, 247] Operation: 81+166=247\nMoving to Node #0,0,1\nCurrent State: 182:[118, 247], Operations: ['92+74=166', '81+166=247']\nExploring Operation: 247-118=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 182:[118, 81, 166], Operations: ['92+74=166']\nExploring Operation: 118-81=37, Resulting Numbers: [166, 37]\nGenerated Node #0,0,2: 182:[166, 37] Operation: 118-81=37\nMoving to Node #0,0,2\nCurrent State: 182:[166, 37], Operations: ['92+74=166', '118-81=37']\nExploring Operation: 166+37=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 182:[166, 37], Operations: ['92+74=166', '118-81=37']\nExploring Operation: 166-37=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 182:[118, 81, 166], Operations: ['92+74=166']\nExploring Operation: 166-81=85, Resulting Numbers: [118, 85]\nGenerated Node #0,0,3: 182:[118, 85] Operation: 166-81=85\nMoving to Node #0,0,3\nCurrent State: 182:[118, 85], Operations: ['92+74=166', '166-81=85']\nExploring Operation: 118+85=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 182:[118, 85], Operations: ['92+74=166', '166-81=85']\nExploring Operation: 118-85=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 182:[118, 81, 166], Operations: ['92+74=166']\nExploring Operation: 118+166=284, Resulting Numbers: [81, 284]\nGenerated Node #0,0,4: 182:[81, 284] Operation: 118+166=284\nMoving to Node #0,0,4\nCurrent State: 182:[81, 284], Operations: ['92+74=166', '118+166=284']\nExploring Operation: 284-81=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 182:[118, 81, 166], Operations: ['92+74=166']\nExploring Operation: 166-118=48, Resulting Numbers: [81, 48]\nGenerated Node #0,0,5: 182:[81, 48] Operation: 166-118=48\nMoving to Node #0,0,5\nCurrent State: 182:[81, 48], Operations: ['92+74=166', '166-118=48']\nExploring Operation: 81+48=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 182:[81, 48], Operations: ['92+74=166', '166-118=48']\nExploring Operation: 81-48=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0\nCurrent State: 182:[92, 118, 74, 81], Operations: []\nExploring Operation: 92+81=173, Resulting Numbers: [118, 74, 173]\nGenerated Node #0,1: 182:[118, 74, 173] Operation: 92+81=173\nMoving to Node #0,1\nCurrent State: 182:[118, 74, 173], Operations: ['92+81=173']\nExploring Operation: 118+74=192, Resulting Numbers: [173, 192]\nGenerated Node #0,1,0: 182:[173, 192] Operation: 118+74=192\nMoving to Node #0,1,0\nCurrent State: 182:[173, 192], Operations: ['92+81=173', '118+74=192']\nExploring Operation: 192-173=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 182:[118, 74, 173], Operations: ['92+81=173']\nExploring Operation: 74+173=247, Resulting Numbers: [118, 247]\nGenerated Node #0,1,1: 182:[118, 247] Operation: 74+173=247\nMoving to Node #0,1,1\nCurrent State: 182:[118, 247], Operations: ['92+81=173', '74+173=247']\nExploring Operation: 247-118=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 182:[118, 74, 173], Operations: ['92+81=173']\nExploring Operation: 118-74=44, Resulting Numbers: [173, 44]\nGenerated Node #0,1,2: 182:[173, 44] Operation: 118-74=44\nMoving to Node #0,1,2\nCurrent State: 182:[173, 44], Operations: ['92+81=173', '118-74=44']\nExploring Operation: 173+44=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 182:[173, 44], Operations: ['92+81=173', '118-74=44']\nExploring Operation: 173-44=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 182:[118, 74, 173], Operations: ['92+81=173']\nExploring Operation: 173-74=99, Resulting Numbers: [118, 99]\nGenerated Node #0,1,3: 182:[118, 99] Operation: 173-74=99\nMoving to Node #0,1,3\nCurrent State: 182:[118, 99], Operations: ['92+81=173', '173-74=99']\nExploring Operation: 118+99=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 182:[118, 99], Operations: ['92+81=173', '173-74=99']\nExploring Operation: 118-99=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 182:[118, 74, 173], Operations: ['92+81=173']\nExploring Operation: 118+173=291, Resulting Numbers: [74, 291]\nGenerated Node #0,1,4: 182:[74, 291] Operation: 118+173=291\nMoving to Node #0,1,4\nCurrent State: 182:[74, 291], Operations: ['92+81=173', '118+173=291']\nExploring Operation: 291-74=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 182:[118, 74, 173], Operations: ['92+81=173']\nExploring Operation: 173-118=55, Resulting Numbers: [74, 55]\nGenerated Node #0,1,5: 182:[74, 55] Operation: 173-118=55\nMoving to Node #0,1,5\nCurrent State: 182:[74, 55], Operations: ['92+81=173', '173-118=55']\nExploring Operation: 74+55=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 182:[74, 55], Operations: ['92+81=173', '173-118=55']\nExploring Operation: 74-55=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0\nCurrent State: 182:[92, 118, 74, 81], Operations: []\nExploring Operation: 74+81=155, Resulting Numbers: [92, 118, 155]\nGenerated Node #0,2: 182:[92, 118, 155] Operation: 74+81=155\nMoving to Node #0,2\nCurrent State: 182:[92, 118, 155], Operations: ['74+81=155']\nExploring Operation: 92+118=210, Resulting Numbers: [155, 210]\nGenerated Node #0,2,0: 182:[155, 210] Operation: 92+118=210\nMoving to Node #0,2,0\nCurrent State: 182:[155, 210], Operations: ['74+81=155', '92+118=210']\nExploring Operation: 210-155=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 182:[92, 118, 155], Operations: ['74+81=155']\nExploring Operation: 92+155=247, Resulting Numbers: [118, 247]\nGenerated Node #0,2,1: 182:[118, 247] Operation: 92+155=247\nMoving to Node #0,2,1\nCurrent State: 182:[118, 247], Operations: ['74+81=155', '92+155=247']\nExploring Operation: 247-118=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 182:[92, 118, 155], Operations: ['74+81=155']\nExploring Operation: 118+155=273, Resulting Numbers: [92, 273]\nGenerated Node #0,2,2: 182:[92, 273] Operation: 118+155=273\nMoving to Node #0,2,2\nCurrent State: 182:[92, 273], Operations: ['74+81=155', '118+155=273']\nExploring Operation: 273-92=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 182:[92, 118, 155], Operations: ['74+81=155']\nExploring Operation: 118-92=26, Resulting Numbers: [155, 26]\nGenerated Node #0,2,3: 182:[155, 26] Operation: 118-92=26\nMoving to Node #0,2,3\nCurrent State: 182:[155, 26], Operations: ['74+81=155', '118-92=26']\nExploring Operation: 155+26=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 182:[155, 26], Operations: ['74+81=155', '118-92=26']\nExploring Operation: 155-26=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 182:[92, 118, 155], Operations: ['74+81=155']\nExploring Operation: 155-92=63, Resulting Numbers: [118, 63]\nGenerated Node #0,2,4: 182:[118, 63] Operation: 155-92=63\nMoving to Node #0,2,4\nCurrent State: 182:[118, 63], Operations: ['74+81=155', '155-92=63']\nExploring Operation: 118+63=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 182:[118, 63], Operations: ['74+81=155', '155-92=63']\nExploring Operation: 118-63=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 182:[92, 118, 155], Operations: ['74+81=155']\nExploring Operation: 155-118=37, Resulting Numbers: [92, 37]\nGenerated Node #0,2,5: 182:[92, 37] Operation: 155-118=37\nMoving to Node #0,2,5\nCurrent State: 182:[92, 37], Operations: ['74+81=155', '155-118=37']\nExploring Operation: 92+37=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 182:[92, 37], Operations: ['74+81=155', '155-118=37']\nExploring Operation: 92-37=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0\nCurrent State: 182:[92, 118, 74, 81], Operations: []\nExploring Operation: 118+74=192, Resulting Numbers: [92, 81, 192]\nGenerated Node #0,3: 182:[92, 81, 192] Operation: 118+74=192\nMoving to Node #0,3\nCurrent State: 182:[92, 81, 192], Operations: ['118+74=192']\nExploring Operation: 92+81=173, Resulting Numbers: [192, 173]\nGenerated Node #0,3,0: 182:[192, 173] Operation: 92+81=173\nMoving to Node #0,3,0\nCurrent State: 182:[192, 173], Operations: ['118+74=192', '92+81=173']\nExploring Operation: 192-173=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 182:[92, 81, 192], Operations: ['118+74=192']\nExploring Operation: 192-81=111, Resulting Numbers: [92, 111]\nGenerated Node #0,3,1: 182:[92, 111] Operation: 192-81=111\nMoving to Node #0,3,1\nCurrent State: 182:[92, 111], Operations: ['118+74=192', '192-81=111']\nExploring Operation: 92+111=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 182:[92, 111], Operations: ['118+74=192', '192-81=111']\nExploring Operation: 111-92=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 182:[92, 81, 192], Operations: ['118+74=192']\nExploring Operation: 92-81=11, Resulting Numbers: [192, 11]\nGenerated Node #0,3,2: 182:[192, 11] Operation: 92-81=11\nMoving to Node #0,3,2\nCurrent State: 182:[192, 11], Operations: ['118+74=192', '92-81=11']\nExploring Operation: 192-11=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 182:[192, 11], Operations: ['118+74=192', '92-81=11']\nExploring Operation: 192+11=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 182:[92, 81, 192], Operations: ['118+74=192']\nExploring Operation: 81+192=273, Resulting Numbers: [92, 273]\nGenerated Node #0,3,3: 182:[92, 273] Operation: 81+192=273\nMoving to Node #0,3,3\nCurrent State: 182:[92, 273], Operations: ['118+74=192', '81+192=273']\nExploring Operation: 273-92=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 182:[92, 81, 192], Operations: ['118+74=192']\nExploring Operation: 192-92=100, Resulting Numbers: [81, 100]\nGenerated Node #0,3,4: 182:[81, 100] Operation: 192-92=100\nMoving to Node #0,3,4\nCurrent State: 182:[81, 100], Operations: ['118+74=192', '192-92=100']\nExploring Operation: 81+100=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 182:[81, 100], Operations: ['118+74=192', '192-92=100']\nExploring Operation: 100-81=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 182:[92, 81, 192], Operations: ['118+74=192']\nExploring Operation: 92+192=284, Resulting Numbers: [81, 284]\nGenerated Node #0,3,5: 182:[81, 284] Operation: 92+192=284\nMoving to Node #0,3,5\nCurrent State: 182:[81, 284], Operations: ['118+74=192', '92+192=284']\nExploring Operation: 284-81=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0\nCurrent State: 182:[92, 118, 74, 81], Operations: []\nExploring Operation: 118+81=199, Resulting Numbers: [92, 74, 199]\nGenerated Node #0,4: 182:[92, 74, 199] Operation: 118+81=199\nMoving to Node #0,4\nCurrent State: 182:[92, 74, 199], Operations: ['118+81=199']\nExploring Operation: 92+74=166, Resulting Numbers: [199, 166]\nGenerated Node #0,4,0: 182:[199, 166] Operation: 92+74=166\nMoving to Node #0,4,0\nCurrent State: 182:[199, 166], Operations: ['118+81=199', '92+74=166']\nExploring Operation: 199-166=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 182:[92, 74, 199], Operations: ['118+81=199']\nExploring Operation: 199-74=125, Resulting Numbers: [92, 125]\nGenerated Node #0,4,1: 182:[92, 125] Operation: 199-74=125\nMoving to Node #0,4,1\nCurrent State: 182:[92, 125], Operations: ['118+81=199', '199-74=125']\nExploring Operation: 92+125=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 182:[92, 125], Operations: ['118+81=199', '199-74=125']\nExploring Operation: 125-92=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 182:[92, 74, 199], Operations: ['118+81=199']\nExploring Operation: 92-74=18, Resulting Numbers: [199, 18]\nGenerated Node #0,4,2: 182:[199, 18] Operation: 92-74=18\nMoving to Node #0,4,2\nCurrent State: 182:[199, 18], Operations: ['118+81=199', '92-74=18']\nExploring Operation: 199-18=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 182:[199, 18], Operations: ['118+81=199', '92-74=18']\nExploring Operation: 199+18=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 182:[92, 74, 199], Operations: ['118+81=199']\nExploring Operation: 74+199=273, Resulting Numbers: [92, 273]\nGenerated Node #0,4,3: 182:[92, 273] Operation: 74+199=273\nMoving to Node #0,4,3\nCurrent State: 182:[92, 273], Operations: ['118+81=199', '74+199=273']\nExploring Operation: 273-92=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 182:[92, 74, 199], Operations: ['118+81=199']\nExploring Operation: 199-92=107, Resulting Numbers: [74, 107]\nGenerated Node #0,4,4: 182:[74, 107] Operation: 199-92=107\nMoving to Node #0,4,4\nCurrent State: 182:[74, 107], Operations: ['118+81=199', '199-92=107']\nExploring Operation: 74+107=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 182:[74, 107], Operations: ['118+81=199', '199-92=107']\nExploring Operation: 107-74=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 182:[92, 74, 199], Operations: ['118+81=199']\nExploring Operation: 92+199=291, Resulting Numbers: [74, 291]\nGenerated Node #0,4,5: 182:[74, 291] Operation: 92+199=291\nMoving to Node #0,4,5\nCurrent State: 182:[74, 291], Operations: ['118+81=199', '92+199=291']\nExploring Operation: 291-74=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0\nCurrent State: 182:[92, 118, 74, 81], Operations: []\nExploring Operation: 92+118=210, Resulting Numbers: [74, 81, 210]\nGenerated Node #0,5: 182:[74, 81, 210] Operation: 92+118=210\nMoving to Node #0,5\nCurrent State: 182:[74, 81, 210], Operations: ['92+118=210']\nExploring Operation: 74+81=155, Resulting Numbers: [210, 155]\nGenerated Node #0,5,0: 182:[210, 155] Operation: 74+81=155\nMoving to Node #0,5,0\nCurrent State: 182:[210, 155], Operations: ['92+118=210', '74+81=155']\nExploring Operation: 210-155=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 182:[74, 81, 210], Operations: ['92+118=210']\nExploring Operation: 210-74=136, Resulting Numbers: [81, 136]\nGenerated Node #0,5,1: 182:[81, 136] Operation: 210-74=136\nMoving to Node #0,5,1\nCurrent State: 182:[81, 136], Operations: ['92+118=210', '210-74=136']\nExploring Operation: 81+136=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 182:[81, 136], Operations: ['92+118=210', '210-74=136']\nExploring Operation: 136-81=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 182:[74, 81, 210], Operations: ['92+118=210']\nExploring Operation: 210-81=129, Resulting Numbers: [74, 129]\nGenerated Node #0,5,2: 182:[74, 129] Operation: 210-81=129\nMoving to Node #0,5,2\nCurrent State: 182:[74, 129], Operations: ['92+118=210', '210-81=129']\nExploring Operation: 74+129=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 182:[74, 129], Operations: ['92+118=210', '210-81=129']\nExploring Operation: 129-74=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 182:[74, 81, 210], Operations: ['92+118=210']\nExploring Operation: 81-74=7, Resulting Numbers: [210, 7]\nGenerated Node #0,5,3: 182:[210, 7] Operation: 81-74=7\nMoving to Node #0,5,3\nCurrent State: 182:[210, 7], Operations: ['92+118=210', '81-74=7']\nExploring Operation: 210-7=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 182:[210, 7], Operations: ['92+118=210', '81-74=7']\nExploring Operation: 210+7=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 182:[210, 7], Operations: ['92+118=210', '81-74=7']\nExploring Operation: 210/7=30, Resulting Numbers: [30]\n30,182 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 182:[74, 81, 210], Operations: ['92+118=210']\nExploring Operation: 74+210=284, Resulting Numbers: [81, 284]\nGenerated Node #0,5,4: 182:[81, 284] Operation: 74+210=284\nMoving to Node #0,5,4\nCurrent State: 182:[81, 284], Operations: ['92+118=210', '74+210=284']\nExploring Operation: 284-81=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 182:[74, 81, 210], Operations: ['92+118=210']\nExploring Operation: 81+210=291, Resulting Numbers: [74, 291]\nGenerated Node #0,5,5: 182:[74, 291] Operation: 81+210=291\nMoving to Node #0,5,5\nCurrent State: 182:[74, 291], Operations: ['92+118=210', '81+210=291']\nExploring Operation: 291-74=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0\nCurrent State: 182:[92, 118, 74, 81], Operations: []\nExploring Operation: 92-74=18, Resulting Numbers: [118, 81, 18]\nGenerated Node #0,6: 182:[118, 81, 18] Operation: 92-74=18\nMoving to Node #0,6\nCurrent State: 182:[118, 81, 18], Operations: ['92-74=18']\nExploring Operation: 118+18=136, Resulting Numbers: [81, 136]\nGenerated Node #0,6,0: 182:[81, 136] Operation: 118+18=136\nMoving to Node #0,6,0\nCurrent State: 182:[81, 136], Operations: ['92-74=18', '118+18=136']\nExploring Operation: 81+136=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 182:[81, 136], Operations: ['92-74=18', '118+18=136']\nExploring Operation: 136-81=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 182:[118, 81, 18], Operations: ['92-74=18']\nExploring Operation: 81+18=99, Resulting Numbers: [118, 99]\nGenerated Node #0,6,1: 182:[118, 99] Operation: 81+18=99\nMoving to Node #0,6,1\nCurrent State: 182:[118, 99], Operations: ['92-74=18', '81+18=99']\nExploring Operation: 118+99=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 182:[118, 99], Operations: ['92-74=18', '81+18=99']\nExploring Operation: 118-99=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 182:[118, 81, 18], Operations: ['92-74=18']\nExploring Operation: 118+81=199, Resulting Numbers: [18, 199]\nGenerated Node #0,6,2: 182:[18, 199] Operation: 118+81=199\nMoving to Node #0,6,2\nCurrent State: 182:[18, 199], Operations: ['92-74=18', '118+81=199']\nExploring Operation: 199-18=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 182:[18, 199], Operations: ['92-74=18', '118+81=199']\nExploring Operation: 18+199=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 182:[118, 81, 18], Operations: ['92-74=18']\nExploring Operation: 118-18=100, Resulting Numbers: [81, 100]\nGenerated Node #0,6,3: 182:[81, 100] Operation: 118-18=100\nMoving to Node #0,6,3\nCurrent State: 182:[81, 100], Operations: ['92-74=18', '118-18=100']\nExploring Operation: 81+100=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 182:[81, 100], Operations: ['92-74=18', '118-18=100']\nExploring Operation: 100-81=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 182:[118, 81, 18], Operations: ['92-74=18']\nExploring Operation: 81-18=63, Resulting Numbers: [118, 63]\nGenerated Node #0,6,4: 182:[118, 63] Operation: 81-18=63\nMoving to Node #0,6,4\nCurrent State: 182:[118, 63], Operations: ['92-74=18', '81-18=63']\nExploring Operation: 118+63=181, Resulting Numbers: [181]\n181,182 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 182:[118, 63], Operations: ['92-74=18', '81-18=63']\nExploring Operation: 118-63=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 182:[118, 81, 18], Operations: ['92-74=18']\nExploring Operation: 118-81=37, Resulting Numbers: [18, 37]\nGenerated Node #0,6,5: 182:[18, 37] Operation: 118-81=37\nMoving to Node #0,6,5\nCurrent State: 182:[18, 37], Operations: ['92-74=18', '118-81=37']\nExploring Operation: 18+37=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 182:[18, 37], Operations: ['92-74=18', '118-81=37']\nExploring Operation: 37-18=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0\nCurrent State: 182:[92, 118, 74, 81], Operations: []\nExploring Operation: 118-74=44, Resulting Numbers: [92, 81, 44]\nGenerated Node #0,7: 182:[92, 81, 44] Operation: 118-74=44\nMoving to Node #0,7\nCurrent State: 182:[92, 81, 44], Operations: ['118-74=44']\nExploring Operation: 92+81=173, Resulting Numbers: [44, 173]\nGenerated Node #0,7,0: 182:[44, 173] Operation: 92+81=173\nMoving to Node #0,7,0\nCurrent State: 182:[44, 173], Operations: ['118-74=44', '92+81=173']\nExploring Operation: 44+173=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 182:[44, 173], Operations: ['118-74=44', '92+81=173']\nExploring Operation: 173-44=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 182:[92, 81, 44], Operations: ['118-74=44']\nExploring Operation: 92+44=136, Resulting Numbers: [81, 136]\nGenerated Node #0,7,1: 182:[81, 136] Operation: 92+44=136\nMoving to Node #0,7,1\nCurrent State: 182:[81, 136], Operations: ['118-74=44', '92+44=136']\nExploring Operation: 81+136=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 182:[81, 136], Operations: ['118-74=44', '92+44=136']\nExploring Operation: 136-81=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 182:[92, 81, 44], Operations: ['118-74=44']\nExploring Operation: 81+44=125, Resulting Numbers: [92, 125]\nGenerated Node #0,7,2: 182:[92, 125] Operation: 81+44=125\nMoving to Node #0,7,2\nCurrent State: 182:[92, 125], Operations: ['118-74=44', '81+44=125']\nExploring Operation: 92+125=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 182:[92, 125], Operations: ['118-74=44', '81+44=125']\nExploring Operation: 125-92=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 182:[92, 81, 44], Operations: ['118-74=44']\nExploring Operation: 92-44=48, Resulting Numbers: [81, 48]\nGenerated Node #0,7,3: 182:[81, 48] Operation: 92-44=48\nMoving to Node #0,7,3\nCurrent State: 182:[81, 48], Operations: ['118-74=44', '92-44=48']\nExploring Operation: 81+48=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 182:[81, 48], Operations: ['118-74=44', '92-44=48']\nExploring Operation: 81-48=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 182:[92, 81, 44], Operations: ['118-74=44']\nExploring Operation: 81-44=37, Resulting Numbers: [92, 37]\nGenerated Node #0,7,4: 182:[92, 37] Operation: 81-44=37\nMoving to Node #0,7,4\nCurrent State: 182:[92, 37], Operations: ['118-74=44', '81-44=37']\nExploring Operation: 92+37=129, Resulting Numbers: [129]\n129,182 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 182:[92, 37], Operations: ['118-74=44', '81-44=37']\nExploring Operation: 92-37=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 182:[92, 81, 44], Operations: ['118-74=44']\nExploring Operation: 92-81=11, Resulting Numbers: [44, 11]\nGenerated Node #0,7,5: 182:[44, 11] Operation: 92-81=11\nMoving to Node #0,7,5\nCurrent State: 182:[44, 11], Operations: ['118-74=44', '92-81=11']\nExploring Operation: 44+11=55, Resulting Numbers: [55]\n55,182 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 182:[44, 11], Operations: ['118-74=44', '92-81=11']\nExploring Operation: 44-11=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 182:[44, 11], Operations: ['118-74=44', '92-81=11']\nExploring Operation: 44/11=4, Resulting Numbers: [4]\n4,182 unequal: No Solution\nMoving to Node #0\nCurrent State: 182:[92, 118, 74, 81], Operations: []\nExploring Operation: 81-74=7, Resulting Numbers: [92, 118, 7]\nGenerated Node #0,8: 182:[92, 118, 7] Operation: 81-74=7\nMoving to Node #0,8\nCurrent State: 182:[92, 118, 7], Operations: ['81-74=7']\nExploring Operation: 92+7=99, Resulting Numbers: [118, 99]\nGenerated Node #0,8,0: 182:[118, 99] Operation: 92+7=99\nMoving to Node #0,8,0\nCurrent State: 182:[118, 99], Operations: ['81-74=7', '92+7=99']\nExploring Operation: 118+99=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 182:[118, 99], Operations: ['81-74=7', '92+7=99']\nExploring Operation: 118-99=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 182:[92, 118, 7], Operations: ['81-74=7']\nExploring Operation: 118+7=125, Resulting Numbers: [92, 125]\nGenerated Node #0,8,1: 182:[92, 125] Operation: 118+7=125\nMoving to Node #0,8,1\nCurrent State: 182:[92, 125], Operations: ['81-74=7', '118+7=125']\nExploring Operation: 92+125=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 182:[92, 125], Operations: ['81-74=7', '118+7=125']\nExploring Operation: 125-92=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 182:[92, 118, 7], Operations: ['81-74=7']\nExploring Operation: 92-7=85, Resulting Numbers: [118, 85]\nGenerated Node #0,8,2: 182:[118, 85] Operation: 92-7=85\nMoving to Node #0,8,2\nCurrent State: 182:[118, 85], Operations: ['81-74=7', '92-7=85']\nExploring Operation: 118+85=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 182:[118, 85], Operations: ['81-74=7', '92-7=85']\nExploring Operation: 118-85=33, Resulting Numbers: [33]\n33,182 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 182:[92, 118, 7], Operations: ['81-74=7']\nExploring Operation: 118-7=111, Resulting Numbers: [92, 111]\nGenerated Node #0,8,3: 182:[92, 111] Operation: 118-7=111\nMoving to Node #0,8,3\nCurrent State: 182:[92, 111], Operations: ['81-74=7', '118-7=111']\nExploring Operation: 92+111=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 182:[92, 111], Operations: ['81-74=7', '118-7=111']\nExploring Operation: 111-92=19, Resulting Numbers: [19]\n19,182 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 182:[92, 118, 7], Operations: ['81-74=7']\nExploring Operation: 92+118=210, Resulting Numbers: [7, 210]\nGenerated Node #0,8,4: 182:[7, 210] Operation: 92+118=210\nMoving to Node #0,8,4\nCurrent State: 182:[7, 210], Operations: ['81-74=7', '92+118=210']\nExploring Operation: 210-7=203, Resulting Numbers: [203]\n203,182 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 182:[7, 210], Operations: ['81-74=7', '92+118=210']\nExploring Operation: 7+210=217, Resulting Numbers: [217]\n217,182 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 182:[7, 210], Operations: ['81-74=7', '92+118=210']\nExploring Operation: 210/7=30, Resulting Numbers: [30]\n30,182 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 182:[92, 118, 7], Operations: ['81-74=7']\nExploring Operation: 118-92=26, Resulting Numbers: [7, 26]\nGenerated Node #0,8,5: 182:[7, 26] Operation: 118-92=26\nMoving to Node #0,8,5\nCurrent State: 182:[7, 26], Operations: ['81-74=7', '118-92=26']\nExploring Operation: 7*26=182, Resulting Numbers: [182]\n182,182 equal: Goal Reached\nFinal operations:\n81-74=7\n118-92=26\n7*26=182",
"role": "assistant"
}
] |
[
92,
118,
74,
81
] | 182
|
dfs
|
sum_heuristic
| 0.864583
|
[
{
"content": "Given the numbers [76, 37, 60, 136] and the target 31, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 31:[76, 37, 60, 136], Operations: []\nExploring Operation: 136-60=76, Resulting Numbers: [76, 37, 76]\nGenerated Node #0,0: 31:[76, 37, 76] Operation: 136-60=76\nExploring Operation: 136-76=60, Resulting Numbers: [37, 60, 60]\nGenerated Node #0,1: 31:[37, 60, 60] Operation: 136-76=60\nMoving to Node #0,1\nCurrent State: 31:[37, 60, 60], Operations: ['136-76=60']\nExploring Operation: 60/60=1, Resulting Numbers: [37, 1]\nGenerated Node #0,1,0: 31:[37, 1] Operation: 60/60=1\nExploring Operation: 60-37=23, Resulting Numbers: [60, 23]\nGenerated Node #0,1,1: 31:[60, 23] Operation: 60-37=23\nMoving to Node #0,0\nCurrent State: 31:[76, 37, 76], Operations: ['136-60=76']\nExploring Operation: 76/76=1, Resulting Numbers: [37, 1]\nGenerated Node #0,0,0: 31:[37, 1] Operation: 76/76=1\nExploring Operation: 76-76=0, Resulting Numbers: [37, 0]\nGenerated Node #0,0,1: 31:[37, 0] Operation: 76-76=0\nMoving to Node #0,1,0\nCurrent State: 31:[37, 1], Operations: ['136-76=60', '60/60=1']\nExploring Operation: 37-1=36, Resulting Numbers: [36]\n36,31 unequal: No Solution\nExploring Operation: 37*1=37, Resulting Numbers: [37]\n37,31 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 31:[37, 1], Operations: ['136-60=76', '76/76=1']\nExploring Operation: 37*1=37, Resulting Numbers: [37]\n37,31 unequal: No Solution\nExploring Operation: 37-1=36, Resulting Numbers: [36]\n36,31 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 31:[36], Operations: ['136-76=60', '60/60=1', '37-1=36']\nMoving to Node #0,0,0,0\nCurrent State: 31:[36], Operations: ['136-60=76', '76/76=1', '37-1=36']\nMoving to Node #0,0,0,0\nCurrent State: 31:[37], Operations: ['136-60=76', '76/76=1', '37*1=37']\nMoving to Node #0,1,0,0\nCurrent State: 31:[37], Operations: ['136-76=60', '60/60=1', '37*1=37']\nMoving to Node #0,0,1\nCurrent State: 31:[37, 0], Operations: ['136-60=76', '76-76=0']\nExploring Operation: 37+0=37, Resulting Numbers: [37]\n37,31 unequal: No Solution\nExploring Operation: 37-0=37, Resulting Numbers: [37]\n37,31 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 31:[60, 23], Operations: ['136-76=60', '60-37=23']\nExploring Operation: 60-23=37, Resulting Numbers: [37]\n37,31 unequal: No Solution\nExploring Operation: 60+23=83, Resulting Numbers: [83]\n83,31 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 31:[37], Operations: ['136-60=76', '76-76=0', '37+0=37']\nMoving to Node #0,1,1,0\nCurrent State: 31:[37], Operations: ['136-76=60', '60-37=23', '60-23=37']\nMoving to Node #0,0,1,0\nCurrent State: 31:[37], Operations: ['136-60=76', '76-76=0', '37-0=37']\nMoving to Node #0,1,1,0\nCurrent State: 31:[83], Operations: ['136-76=60', '60-37=23', '60+23=83']",
"role": "assistant"
}
] |
[
76,
37,
60,
136
] | 31
|
bfs_2
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [147, 105, 145, 7] and the target 110, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 110:[147, 105, 145, 7], Operations: []\nExploring Operation: 147-145=2, Resulting Numbers: [105, 7, 2]\nGenerated Node #0,0: 110:[105, 7, 2] Operation: 147-145=2\nMoving to Node #0,0\nCurrent State: 110:[105, 7, 2], Operations: ['147-145=2']\nExploring Operation: 105+7=112, Resulting Numbers: [2, 112]\nGenerated Node #0,0,0: 110:[2, 112] Operation: 105+7=112\nMoving to Node #0,0,0\nCurrent State: 110:[2, 112], Operations: ['147-145=2', '105+7=112']\nExploring Operation: 112-2=110, Resulting Numbers: [110]\n110,110 equal: Goal Reached\nFinal operations:\n147-145=2\n105+7=112\n112-2=110",
"role": "assistant"
}
] |
[
147,
105,
145,
7
] | 110
|
bfs_1
|
mult_heuristic
| 0.996528
|
[
{
"content": "Given the numbers [141, 195, 120, 52] and the target 164, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 164:[141, 195, 120, 52], Operations: []\nExploring Operation: 141+52=193, Resulting Numbers: [195, 120, 193]\nGenerated Node #0,0: 164:[195, 120, 193] Operation: 141+52=193\nExploring Operation: 141-52=89, Resulting Numbers: [195, 120, 89]\nGenerated Node #0,1: 164:[195, 120, 89] Operation: 141-52=89\nExploring Operation: 195-52=143, Resulting Numbers: [141, 120, 143]\nGenerated Node #0,2: 164:[141, 120, 143] Operation: 195-52=143\nExploring Operation: 120+52=172, Resulting Numbers: [141, 195, 172]\nGenerated Node #0,3: 164:[141, 195, 172] Operation: 120+52=172\nMoving to Node #0,3\nCurrent State: 164:[141, 195, 172], Operations: ['120+52=172']\nExploring Operation: 172-141=31, Resulting Numbers: [195, 31]\nGenerated Node #0,3,0: 164:[195, 31] Operation: 172-141=31\nExploring Operation: 195-141=54, Resulting Numbers: [172, 54]\nGenerated Node #0,3,1: 164:[172, 54] Operation: 195-141=54\nExploring Operation: 141+195=336, Resulting Numbers: [172, 336]\nGenerated Node #0,3,2: 164:[172, 336] Operation: 141+195=336\nExploring Operation: 195-172=23, Resulting Numbers: [141, 23]\nGenerated Node #0,3,3: 164:[141, 23] Operation: 195-172=23\nMoving to Node #0,2\nCurrent State: 164:[141, 120, 143], Operations: ['195-52=143']\nExploring Operation: 120+143=263, Resulting Numbers: [141, 263]\nGenerated Node #0,2,0: 164:[141, 263] Operation: 120+143=263\nExploring Operation: 141+120=261, Resulting Numbers: [143, 261]\nGenerated Node #0,2,1: 164:[143, 261] Operation: 141+120=261\nExploring Operation: 141+143=284, Resulting Numbers: [120, 284]\nGenerated Node #0,2,2: 164:[120, 284] Operation: 141+143=284\nExploring Operation: 141-120=21, Resulting Numbers: [143, 21]\nGenerated Node #0,2,3: 164:[143, 21] Operation: 141-120=21\nMoving to Node #0,0\nCurrent State: 164:[195, 120, 193], Operations: ['141+52=193']\nExploring Operation: 120+193=313, Resulting Numbers: [195, 313]\nGenerated Node #0,0,0: 164:[195, 313] Operation: 120+193=313\nExploring Operation: 195-120=75, Resulting Numbers: [193, 75]\nGenerated Node #0,0,1: 164:[193, 75] Operation: 195-120=75\nExploring Operation: 193-120=73, Resulting Numbers: [195, 73]\nGenerated Node #0,0,2: 164:[195, 73] Operation: 193-120=73\nExploring Operation: 195+120=315, Resulting Numbers: [193, 315]\nGenerated Node #0,0,3: 164:[193, 315] Operation: 195+120=315\nMoving to Node #0,1\nCurrent State: 164:[195, 120, 89], Operations: ['141-52=89']\nExploring Operation: 195-120=75, Resulting Numbers: [89, 75]\nGenerated Node #0,1,0: 164:[89, 75] Operation: 195-120=75\nExploring Operation: 120+89=209, Resulting Numbers: [195, 209]\nGenerated Node #0,1,1: 164:[195, 209] Operation: 120+89=209\nExploring Operation: 195-89=106, Resulting Numbers: [120, 106]\nGenerated Node #0,1,2: 164:[120, 106] Operation: 195-89=106\nExploring Operation: 195+89=284, Resulting Numbers: [120, 284]\nGenerated Node #0,1,3: 164:[120, 284] Operation: 195+89=284\nMoving to Node #0,1,1\nCurrent State: 164:[195, 209], Operations: ['141-52=89', '120+89=209']\nExploring Operation: 195*209=40755, Resulting Numbers: [40755]\n40755,164 unequal: No Solution\nExploring Operation: 195+209=404, Resulting Numbers: [404]\n404,164 unequal: No Solution\nExploring Operation: 209-195=14, Resulting Numbers: [14]\n14,164 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 164:[120, 106], Operations: ['141-52=89', '195-89=106']\nExploring Operation: 120-106=14, Resulting Numbers: [14]\n14,164 unequal: No Solution\nExploring Operation: 120*106=12720, Resulting Numbers: [12720]\n12720,164 unequal: No Solution\nExploring Operation: 120+106=226, Resulting Numbers: [226]\n226,164 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 164:[172, 54], Operations: ['120+52=172', '195-141=54']\nExploring Operation: 172*54=9288, Resulting Numbers: [9288]\n9288,164 unequal: No Solution\nExploring Operation: 172-54=118, Resulting Numbers: [118]\n118,164 unequal: No Solution\nExploring Operation: 172+54=226, Resulting Numbers: [226]\n226,164 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 164:[143, 261], Operations: ['195-52=143', '141+120=261']\nExploring Operation: 261-143=118, Resulting Numbers: [118]\n118,164 unequal: No Solution\nExploring Operation: 143+261=404, Resulting Numbers: [404]\n404,164 unequal: No Solution\nExploring Operation: 143*261=37323, Resulting Numbers: [37323]\n37323,164 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 164:[118], Operations: ['120+52=172', '195-141=54', '172-54=118']\nMoving to Node #0,2,1,0\nCurrent State: 164:[118], Operations: ['195-52=143', '141+120=261', '261-143=118']\nMoving to Node #0,0,1\nCurrent State: 164:[193, 75], Operations: ['141+52=193', '195-120=75']\nExploring Operation: 193-75=118, Resulting Numbers: [118]\n118,164 unequal: No Solution\nExploring Operation: 193+75=268, Resulting Numbers: [268]\n268,164 unequal: No Solution\nExploring Operation: 193*75=14475, Resulting Numbers: [14475]\n14475,164 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 164:[141, 263], Operations: ['195-52=143', '120+143=263']\nExploring Operation: 263-141=122, Resulting Numbers: [122]\n122,164 unequal: No Solution\nExploring Operation: 141+263=404, Resulting Numbers: [404]\n404,164 unequal: No Solution\nExploring Operation: 141*263=37083, Resulting Numbers: [37083]\n37083,164 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 164:[122], Operations: ['195-52=143', '120+143=263', '263-141=122']\nMoving to Node #0,0,1,0\nCurrent State: 164:[118], Operations: ['141+52=193', '195-120=75', '193-75=118']\nMoving to Node #0,0,2\nCurrent State: 164:[195, 73], Operations: ['141+52=193', '193-120=73']\nExploring Operation: 195-73=122, Resulting Numbers: [122]\n122,164 unequal: No Solution\nExploring Operation: 195*73=14235, Resulting Numbers: [14235]\n14235,164 unequal: No Solution\nExploring Operation: 195+73=268, Resulting Numbers: [268]\n268,164 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 164:[226], Operations: ['120+52=172', '195-141=54', '172+54=226']\nMoving to Node #0,0,2,0\nCurrent State: 164:[122], Operations: ['141+52=193', '193-120=73', '195-73=122']\nMoving to Node #0,1,2,0\nCurrent State: 164:[226], Operations: ['141-52=89', '195-89=106', '120+106=226']\nMoving to Node #0,1,0\nCurrent State: 164:[89, 75], Operations: ['141-52=89', '195-120=75']\nExploring Operation: 89+75=164, Resulting Numbers: [164]\n164,164 equal: Goal Reached\nFinal operations:\n141-52=89\n195-120=75\n89+75=164",
"role": "assistant"
}
] |
[
141,
195,
120,
52
] | 164
|
bfs_4
|
sum_heuristic
| 0.962674
|
[
{
"content": "Given the numbers [118, 136, 84, 101] and the target 110, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 110:[118, 136, 84, 101], Operations: []\nExploring Operation: 136-84=52, Resulting Numbers: [118, 101, 52]\nGenerated Node #0,0: 110:[118, 101, 52] Operation: 136-84=52\nMoving to Node #0,0\nCurrent State: 110:[118, 101, 52], Operations: ['136-84=52']\nExploring Operation: 118-101=17, Resulting Numbers: [52, 17]\nGenerated Node #0,0,0: 110:[52, 17] Operation: 118-101=17\nMoving to Node #0,0,0\nCurrent State: 110:[52, 17], Operations: ['136-84=52', '118-101=17']\nExploring Operation: 52-17=35, Resulting Numbers: [35]\n35,110 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 110:[52, 17], Operations: ['136-84=52', '118-101=17']\nExploring Operation: 52+17=69, Resulting Numbers: [69]\n69,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[118, 101, 52], Operations: ['136-84=52']\nExploring Operation: 101-52=49, Resulting Numbers: [118, 49]\nGenerated Node #0,0,1: 110:[118, 49] Operation: 101-52=49\nMoving to Node #0,0,1\nCurrent State: 110:[118, 49], Operations: ['136-84=52', '101-52=49']\nExploring Operation: 118-49=69, Resulting Numbers: [69]\n69,110 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 110:[118, 49], Operations: ['136-84=52', '101-52=49']\nExploring Operation: 118+49=167, Resulting Numbers: [167]\n167,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[118, 101, 52], Operations: ['136-84=52']\nExploring Operation: 118-52=66, Resulting Numbers: [101, 66]\nGenerated Node #0,0,2: 110:[101, 66] Operation: 118-52=66\nMoving to Node #0,0,2\nCurrent State: 110:[101, 66], Operations: ['136-84=52', '118-52=66']\nExploring Operation: 101-66=35, Resulting Numbers: [35]\n35,110 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 110:[101, 66], Operations: ['136-84=52', '118-52=66']\nExploring Operation: 101+66=167, Resulting Numbers: [167]\n167,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[118, 101, 52], Operations: ['136-84=52']\nExploring Operation: 101+52=153, Resulting Numbers: [118, 153]\nGenerated Node #0,0,3: 110:[118, 153] Operation: 101+52=153\nMoving to Node #0,0,3\nCurrent State: 110:[118, 153], Operations: ['136-84=52', '101+52=153']\nExploring Operation: 153-118=35, Resulting Numbers: [35]\n35,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[118, 101, 52], Operations: ['136-84=52']\nExploring Operation: 118+52=170, Resulting Numbers: [101, 170]\nGenerated Node #0,0,4: 110:[101, 170] Operation: 118+52=170\nMoving to Node #0,0,4\nCurrent State: 110:[101, 170], Operations: ['136-84=52', '118+52=170']\nExploring Operation: 170-101=69, Resulting Numbers: [69]\n69,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[118, 136, 84, 101], Operations: []\nExploring Operation: 136-118=18, Resulting Numbers: [84, 101, 18]\nGenerated Node #0,1: 110:[84, 101, 18] Operation: 136-118=18\nMoving to Node #0,1\nCurrent State: 110:[84, 101, 18], Operations: ['136-118=18']\nExploring Operation: 101-84=17, Resulting Numbers: [18, 17]\nGenerated Node #0,1,0: 110:[18, 17] Operation: 101-84=17\nMoving to Node #0,1,0\nCurrent State: 110:[18, 17], Operations: ['136-118=18', '101-84=17']\nExploring Operation: 18-17=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 110:[18, 17], Operations: ['136-118=18', '101-84=17']\nExploring Operation: 18+17=35, Resulting Numbers: [35]\n35,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[84, 101, 18], Operations: ['136-118=18']\nExploring Operation: 84+18=102, Resulting Numbers: [101, 102]\nGenerated Node #0,1,1: 110:[101, 102] Operation: 84+18=102\nMoving to Node #0,1,1\nCurrent State: 110:[101, 102], Operations: ['136-118=18', '84+18=102']\nExploring Operation: 102-101=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 110:[101, 102], Operations: ['136-118=18', '84+18=102']\nExploring Operation: 101+102=203, Resulting Numbers: [203]\n203,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[84, 101, 18], Operations: ['136-118=18']\nExploring Operation: 84-18=66, Resulting Numbers: [101, 66]\nGenerated Node #0,1,2: 110:[101, 66] Operation: 84-18=66\nMoving to Node #0,1,2\nCurrent State: 110:[101, 66], Operations: ['136-118=18', '84-18=66']\nExploring Operation: 101-66=35, Resulting Numbers: [35]\n35,110 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 110:[101, 66], Operations: ['136-118=18', '84-18=66']\nExploring Operation: 101+66=167, Resulting Numbers: [167]\n167,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[84, 101, 18], Operations: ['136-118=18']\nExploring Operation: 101+18=119, Resulting Numbers: [84, 119]\nGenerated Node #0,1,3: 110:[84, 119] Operation: 101+18=119\nMoving to Node #0,1,3\nCurrent State: 110:[84, 119], Operations: ['136-118=18', '101+18=119']\nExploring Operation: 119-84=35, Resulting Numbers: [35]\n35,110 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 110:[84, 119], Operations: ['136-118=18', '101+18=119']\nExploring Operation: 84+119=203, Resulting Numbers: [203]\n203,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[84, 101, 18], Operations: ['136-118=18']\nExploring Operation: 101-18=83, Resulting Numbers: [84, 83]\nGenerated Node #0,1,4: 110:[84, 83] Operation: 101-18=83\nMoving to Node #0,1,4\nCurrent State: 110:[84, 83], Operations: ['136-118=18', '101-18=83']\nExploring Operation: 84-83=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 110:[84, 83], Operations: ['136-118=18', '101-18=83']\nExploring Operation: 84+83=167, Resulting Numbers: [167]\n167,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[84, 101, 18], Operations: ['136-118=18']\nExploring Operation: 84+101=185, Resulting Numbers: [18, 185]\nGenerated Node #0,1,5: 110:[18, 185] Operation: 84+101=185\nMoving to Node #0,1,5\nCurrent State: 110:[18, 185], Operations: ['136-118=18', '84+101=185']\nExploring Operation: 185-18=167, Resulting Numbers: [167]\n167,110 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 110:[18, 185], Operations: ['136-118=18', '84+101=185']\nExploring Operation: 18+185=203, Resulting Numbers: [203]\n203,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[118, 136, 84, 101], Operations: []\nExploring Operation: 101-84=17, Resulting Numbers: [118, 136, 17]\nGenerated Node #0,2: 110:[118, 136, 17] Operation: 101-84=17\nMoving to Node #0,2\nCurrent State: 110:[118, 136, 17], Operations: ['101-84=17']\nExploring Operation: 136-118=18, Resulting Numbers: [17, 18]\nGenerated Node #0,2,0: 110:[17, 18] Operation: 136-118=18\nMoving to Node #0,2,0\nCurrent State: 110:[17, 18], Operations: ['101-84=17', '136-118=18']\nExploring Operation: 18-17=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 110:[17, 18], Operations: ['101-84=17', '136-118=18']\nExploring Operation: 17+18=35, Resulting Numbers: [35]\n35,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[118, 136, 17], Operations: ['101-84=17']\nExploring Operation: 136/17=8, Resulting Numbers: [118, 8]\nGenerated Node #0,2,1: 110:[118, 8] Operation: 136/17=8\nMoving to Node #0,2,1\nCurrent State: 110:[118, 8], Operations: ['101-84=17', '136/17=8']\nExploring Operation: 118-8=110, Resulting Numbers: [110]\n110,110 equal: Goal Reached\nFinal operations:\n101-84=17\n136/17=8\n118-8=110",
"role": "assistant"
}
] |
[
118,
136,
84,
101
] | 110
|
dfs
|
mult_heuristic
| 0.965278
|
[
{
"content": "Given the numbers [4, 175, 193, 82] and the target 10, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 10:[4, 175, 193, 82], Operations: []",
"role": "assistant"
}
] |
[
4,
175,
193,
82
] | 10
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [48, 40, 26, 76] and the target 110, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 110:[48, 40, 26, 76], Operations: []\nExploring Operation: 48+40=88, Resulting Numbers: [26, 76, 88]\nGenerated Node #0,0: 110:[26, 76, 88] Operation: 48+40=88\nMoving to Node #0,0\nCurrent State: 110:[26, 76, 88], Operations: ['48+40=88']\nExploring Operation: 26+76=102, Resulting Numbers: [88, 102]\nGenerated Node #0,0,0: 110:[88, 102] Operation: 26+76=102\nMoving to Node #0,0,0\nCurrent State: 110:[88, 102], Operations: ['48+40=88', '26+76=102']\nExploring Operation: 88+102=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 110:[88, 102], Operations: ['48+40=88', '26+76=102']\nExploring Operation: 102-88=14, Resulting Numbers: [14]\n14,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[26, 76, 88], Operations: ['48+40=88']\nExploring Operation: 26+88=114, Resulting Numbers: [76, 114]\nGenerated Node #0,0,1: 110:[76, 114] Operation: 26+88=114\nMoving to Node #0,0,1\nCurrent State: 110:[76, 114], Operations: ['48+40=88', '26+88=114']\nExploring Operation: 114-76=38, Resulting Numbers: [38]\n38,110 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 110:[76, 114], Operations: ['48+40=88', '26+88=114']\nExploring Operation: 76+114=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[26, 76, 88], Operations: ['48+40=88']\nExploring Operation: 76-26=50, Resulting Numbers: [88, 50]\nGenerated Node #0,0,2: 110:[88, 50] Operation: 76-26=50\nMoving to Node #0,0,2\nCurrent State: 110:[88, 50], Operations: ['48+40=88', '76-26=50']\nExploring Operation: 88+50=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 110:[88, 50], Operations: ['48+40=88', '76-26=50']\nExploring Operation: 88-50=38, Resulting Numbers: [38]\n38,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[26, 76, 88], Operations: ['48+40=88']\nExploring Operation: 88-26=62, Resulting Numbers: [76, 62]\nGenerated Node #0,0,3: 110:[76, 62] Operation: 88-26=62\nMoving to Node #0,0,3\nCurrent State: 110:[76, 62], Operations: ['48+40=88', '88-26=62']\nExploring Operation: 76+62=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 110:[76, 62], Operations: ['48+40=88', '88-26=62']\nExploring Operation: 76-62=14, Resulting Numbers: [14]\n14,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[26, 76, 88], Operations: ['48+40=88']\nExploring Operation: 76+88=164, Resulting Numbers: [26, 164]\nGenerated Node #0,0,4: 110:[26, 164] Operation: 76+88=164\nMoving to Node #0,0,4\nCurrent State: 110:[26, 164], Operations: ['48+40=88', '76+88=164']\nExploring Operation: 164-26=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 110:[26, 164], Operations: ['48+40=88', '76+88=164']\nExploring Operation: 26+164=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[26, 76, 88], Operations: ['48+40=88']\nExploring Operation: 88-76=12, Resulting Numbers: [26, 12]\nGenerated Node #0,0,5: 110:[26, 12] Operation: 88-76=12\nMoving to Node #0,0,5\nCurrent State: 110:[26, 12], Operations: ['48+40=88', '88-76=12']\nExploring Operation: 26+12=38, Resulting Numbers: [38]\n38,110 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 110:[26, 12], Operations: ['48+40=88', '88-76=12']\nExploring Operation: 26-12=14, Resulting Numbers: [14]\n14,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[48, 40, 26, 76], Operations: []\nExploring Operation: 48+26=74, Resulting Numbers: [40, 76, 74]\nGenerated Node #0,1: 110:[40, 76, 74] Operation: 48+26=74\nMoving to Node #0,1\nCurrent State: 110:[40, 76, 74], Operations: ['48+26=74']\nExploring Operation: 40+74=114, Resulting Numbers: [76, 114]\nGenerated Node #0,1,0: 110:[76, 114] Operation: 40+74=114\nMoving to Node #0,1,0\nCurrent State: 110:[76, 114], Operations: ['48+26=74', '40+74=114']\nExploring Operation: 114-76=38, Resulting Numbers: [38]\n38,110 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 110:[76, 114], Operations: ['48+26=74', '40+74=114']\nExploring Operation: 76+114=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[40, 76, 74], Operations: ['48+26=74']\nExploring Operation: 40+76=116, Resulting Numbers: [74, 116]\nGenerated Node #0,1,1: 110:[74, 116] Operation: 40+76=116\nMoving to Node #0,1,1\nCurrent State: 110:[74, 116], Operations: ['48+26=74', '40+76=116']\nExploring Operation: 116-74=42, Resulting Numbers: [42]\n42,110 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 110:[74, 116], Operations: ['48+26=74', '40+76=116']\nExploring Operation: 74+116=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[40, 76, 74], Operations: ['48+26=74']\nExploring Operation: 76-40=36, Resulting Numbers: [74, 36]\nGenerated Node #0,1,2: 110:[74, 36] Operation: 76-40=36\nMoving to Node #0,1,2\nCurrent State: 110:[74, 36], Operations: ['48+26=74', '76-40=36']\nExploring Operation: 74+36=110, Resulting Numbers: [110]\n110,110 equal: Goal Reached\nFinal operations:\n48+26=74\n76-40=36\n74+36=110",
"role": "assistant"
}
] |
[
48,
40,
26,
76
] | 110
|
dfs
|
sum_heuristic
| 0.974826
|
[
{
"content": "Given the numbers [156, 84, 13, 3] and the target 10, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 10:[156, 84, 13, 3], Operations: []",
"role": "assistant"
}
] |
[
156,
84,
13,
3
] | 10
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [34, 5, 184, 21] and the target 176, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 176:[34, 5, 184, 21], Operations: []\nExploring Operation: 34-21=13, Resulting Numbers: [5, 184, 13]\nGenerated Node #0,0: 176:[5, 184, 13] Operation: 34-21=13\nMoving to Node #0,0\nCurrent State: 176:[5, 184, 13], Operations: ['34-21=13']\nExploring Operation: 184-5=179, Resulting Numbers: [13, 179]\nGenerated Node #0,0,0: 176:[13, 179] Operation: 184-5=179\nMoving to Node #0,0,0\nCurrent State: 176:[13, 179], Operations: ['34-21=13', '184-5=179']\nExploring Operation: 179-13=166, Resulting Numbers: [166]\n166,176 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 176:[13, 179], Operations: ['34-21=13', '184-5=179']\nExploring Operation: 13+179=192, Resulting Numbers: [192]\n192,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[5, 184, 13], Operations: ['34-21=13']\nExploring Operation: 184-13=171, Resulting Numbers: [5, 171]\nGenerated Node #0,0,1: 176:[5, 171] Operation: 184-13=171\nMoving to Node #0,0,1\nCurrent State: 176:[5, 171], Operations: ['34-21=13', '184-13=171']\nExploring Operation: 5+171=176, Resulting Numbers: [176]\n176,176 equal: Goal Reached\nFinal operations:\n34-21=13\n184-13=171\n5+171=176",
"role": "assistant"
}
] |
[
34,
5,
184,
21
] | 176
|
dfs
|
mult_heuristic
| 0.993924
|
[
{
"content": "Given the numbers [66, 161, 156, 89] and the target 31, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 31:[66, 161, 156, 89], Operations: []\nExploring Operation: 161-89=72, Resulting Numbers: [66, 156, 72]\nGenerated Node #0,0: 31:[66, 156, 72] Operation: 161-89=72\nExploring Operation: 161-156=5, Resulting Numbers: [66, 89, 5]\nGenerated Node #0,1: 31:[66, 89, 5] Operation: 161-156=5\nExploring Operation: 156-66=90, Resulting Numbers: [161, 89, 90]\nGenerated Node #0,2: 31:[161, 89, 90] Operation: 156-66=90\nExploring Operation: 161-66=95, Resulting Numbers: [156, 89, 95]\nGenerated Node #0,3: 31:[156, 89, 95] Operation: 161-66=95\nExploring Operation: 156-89=67, Resulting Numbers: [66, 161, 67]\nGenerated Node #0,4: 31:[66, 161, 67] Operation: 156-89=67\nMoving to Node #0,1\nCurrent State: 31:[66, 89, 5], Operations: ['161-156=5']\nExploring Operation: 89-66=23, Resulting Numbers: [5, 23]\nGenerated Node #0,1,0: 31:[5, 23] Operation: 89-66=23\nExploring Operation: 89-5=84, Resulting Numbers: [66, 84]\nGenerated Node #0,1,1: 31:[66, 84] Operation: 89-5=84\nExploring Operation: 66-5=61, Resulting Numbers: [89, 61]\nGenerated Node #0,1,2: 31:[89, 61] Operation: 66-5=61\nExploring Operation: 66+5=71, Resulting Numbers: [89, 71]\nGenerated Node #0,1,3: 31:[89, 71] Operation: 66+5=71\nExploring Operation: 89+5=94, Resulting Numbers: [66, 94]\nGenerated Node #0,1,4: 31:[66, 94] Operation: 89+5=94\nMoving to Node #0,4\nCurrent State: 31:[66, 161, 67], Operations: ['156-89=67']\nExploring Operation: 161-66=95, Resulting Numbers: [67, 95]\nGenerated Node #0,4,0: 31:[67, 95] Operation: 161-66=95\nExploring Operation: 161-67=94, Resulting Numbers: [66, 94]\nGenerated Node #0,4,1: 31:[66, 94] Operation: 161-67=94\nExploring Operation: 67-66=1, Resulting Numbers: [161, 1]\nGenerated Node #0,4,2: 31:[161, 1] Operation: 67-66=1\nExploring Operation: 66+67=133, Resulting Numbers: [161, 133]\nGenerated Node #0,4,3: 31:[161, 133] Operation: 66+67=133\nExploring Operation: 66+161=227, Resulting Numbers: [67, 227]\nGenerated Node #0,4,4: 31:[67, 227] Operation: 66+161=227\nMoving to Node #0,0\nCurrent State: 31:[66, 156, 72], Operations: ['161-89=72']\nExploring Operation: 72-66=6, Resulting Numbers: [156, 6]\nGenerated Node #0,0,0: 31:[156, 6] Operation: 72-66=6\nExploring Operation: 66+156=222, Resulting Numbers: [72, 222]\nGenerated Node #0,0,1: 31:[72, 222] Operation: 66+156=222\nExploring Operation: 66+72=138, Resulting Numbers: [156, 138]\nGenerated Node #0,0,2: 31:[156, 138] Operation: 66+72=138\nExploring Operation: 156-72=84, Resulting Numbers: [66, 84]\nGenerated Node #0,0,3: 31:[66, 84] Operation: 156-72=84\nExploring Operation: 156-66=90, Resulting Numbers: [72, 90]\nGenerated Node #0,0,4: 31:[72, 90] Operation: 156-66=90\nMoving to Node #0,2\nCurrent State: 31:[161, 89, 90], Operations: ['156-66=90']\nExploring Operation: 161+90=251, Resulting Numbers: [89, 251]\nGenerated Node #0,2,0: 31:[89, 251] Operation: 161+90=251\nExploring Operation: 161-89=72, Resulting Numbers: [90, 72]\nGenerated Node #0,2,1: 31:[90, 72] Operation: 161-89=72\nExploring Operation: 161+89=250, Resulting Numbers: [90, 250]\nGenerated Node #0,2,2: 31:[90, 250] Operation: 161+89=250\nExploring Operation: 90-89=1, Resulting Numbers: [161, 1]\nGenerated Node #0,2,3: 31:[161, 1] Operation: 90-89=1\nExploring Operation: 161-90=71, Resulting Numbers: [89, 71]\nGenerated Node #0,2,4: 31:[89, 71] Operation: 161-90=71\nMoving to Node #0,3\nCurrent State: 31:[156, 89, 95], Operations: ['161-66=95']\nExploring Operation: 156+89=245, Resulting Numbers: [95, 245]\nGenerated Node #0,3,0: 31:[95, 245] Operation: 156+89=245\nExploring Operation: 156-95=61, Resulting Numbers: [89, 61]\nGenerated Node #0,3,1: 31:[89, 61] Operation: 156-95=61\nExploring Operation: 156+95=251, Resulting Numbers: [89, 251]\nGenerated Node #0,3,2: 31:[89, 251] Operation: 156+95=251\nExploring Operation: 95-89=6, Resulting Numbers: [156, 6]\nGenerated Node #0,3,3: 31:[156, 6] Operation: 95-89=6\nExploring Operation: 156-89=67, Resulting Numbers: [95, 67]\nGenerated Node #0,3,4: 31:[95, 67] Operation: 156-89=67\nMoving to Node #0,1,0\nCurrent State: 31:[5, 23], Operations: ['161-156=5', '89-66=23']\nExploring Operation: 5*23=115, Resulting Numbers: [115]\n115,31 unequal: No Solution\nExploring Operation: 23-5=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nExploring Operation: 5+23=28, Resulting Numbers: [28]\n28,31 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 31:[89, 61], Operations: ['161-156=5', '66-5=61']\nExploring Operation: 89+61=150, Resulting Numbers: [150]\n150,31 unequal: No Solution\nExploring Operation: 89*61=5429, Resulting Numbers: [5429]\n5429,31 unequal: No Solution\nExploring Operation: 89-61=28, Resulting Numbers: [28]\n28,31 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 31:[66, 84], Operations: ['161-156=5', '89-5=84']\nExploring Operation: 84-66=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nExploring Operation: 66*84=5544, Resulting Numbers: [5544]\n5544,31 unequal: No Solution\nExploring Operation: 66+84=150, Resulting Numbers: [150]\n150,31 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 31:[66, 84], Operations: ['161-89=72', '156-72=84']\nExploring Operation: 66*84=5544, Resulting Numbers: [5544]\n5544,31 unequal: No Solution\nExploring Operation: 66+84=150, Resulting Numbers: [150]\n150,31 unequal: No Solution\nExploring Operation: 84-66=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 31:[89, 61], Operations: ['161-66=95', '156-95=61']\nExploring Operation: 89-61=28, Resulting Numbers: [28]\n28,31 unequal: No Solution\nExploring Operation: 89+61=150, Resulting Numbers: [150]\n150,31 unequal: No Solution\nExploring Operation: 89*61=5429, Resulting Numbers: [5429]\n5429,31 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 31:[28], Operations: ['161-156=5', '89-66=23', '5+23=28']\nMoving to Node #0,1,2,0\nCurrent State: 31:[28], Operations: ['161-156=5', '66-5=61', '89-61=28']\nMoving to Node #0,3,1,0\nCurrent State: 31:[28], Operations: ['161-66=95', '156-95=61', '89-61=28']\nMoving to Node #0,0,3,0\nCurrent State: 31:[18], Operations: ['161-89=72', '156-72=84', '84-66=18']\nMoving to Node #0,1,1,0\nCurrent State: 31:[18], Operations: ['161-156=5', '89-5=84', '84-66=18']\nMoving to Node #0,1,0,0\nCurrent State: 31:[18], Operations: ['161-156=5', '89-66=23', '23-5=18']\nMoving to Node #0,1,0,0\nCurrent State: 31:[115], Operations: ['161-156=5', '89-66=23', '5*23=115']\nMoving to Node #0,4,1\nCurrent State: 31:[66, 94], Operations: ['156-89=67', '161-67=94']\nExploring Operation: 66+94=160, Resulting Numbers: [160]\n160,31 unequal: No Solution\nExploring Operation: 94-66=28, Resulting Numbers: [28]\n28,31 unequal: No Solution\nExploring Operation: 66*94=6204, Resulting Numbers: [6204]\n6204,31 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 31:[66, 94], Operations: ['161-156=5', '89+5=94']\nExploring Operation: 66*94=6204, Resulting Numbers: [6204]\n6204,31 unequal: No Solution\nExploring Operation: 66+94=160, Resulting Numbers: [160]\n160,31 unequal: No Solution\nExploring Operation: 94-66=28, Resulting Numbers: [28]\n28,31 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 31:[89, 71], Operations: ['161-156=5', '66+5=71']\nExploring Operation: 89-71=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nExploring Operation: 89+71=160, Resulting Numbers: [160]\n160,31 unequal: No Solution\nExploring Operation: 89*71=6319, Resulting Numbers: [6319]\n6319,31 unequal: No Solution\nMoving to Node #0,4,1,0\nCurrent State: 31:[28], Operations: ['156-89=67', '161-67=94', '94-66=28']\nMoving to Node #0,1,4,0\nCurrent State: 31:[28], Operations: ['161-156=5', '89+5=94', '94-66=28']\nMoving to Node #0,1,3,0\nCurrent State: 31:[18], Operations: ['161-156=5', '66+5=71', '89-71=18']\nMoving to Node #0,2,4\nCurrent State: 31:[89, 71], Operations: ['156-66=90', '161-90=71']\nExploring Operation: 89+71=160, Resulting Numbers: [160]\n160,31 unequal: No Solution\nExploring Operation: 89-71=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nExploring Operation: 89*71=6319, Resulting Numbers: [6319]\n6319,31 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 31:[67, 95], Operations: ['156-89=67', '161-66=95']\nExploring Operation: 67*95=6365, Resulting Numbers: [6365]\n6365,31 unequal: No Solution\nExploring Operation: 67+95=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 95-67=28, Resulting Numbers: [28]\n28,31 unequal: No Solution\nMoving to Node #0,4,0,0\nCurrent State: 31:[28], Operations: ['156-89=67', '161-66=95', '95-67=28']\nMoving to Node #0,2,4,0\nCurrent State: 31:[18], Operations: ['156-66=90', '161-90=71', '89-71=18']\nMoving to Node #0,0,4\nCurrent State: 31:[72, 90], Operations: ['161-89=72', '156-66=90']\nExploring Operation: 72+90=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 90-72=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nExploring Operation: 72*90=6480, Resulting Numbers: [6480]\n6480,31 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 31:[95, 67], Operations: ['161-66=95', '156-89=67']\nExploring Operation: 95+67=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 95*67=6365, Resulting Numbers: [6365]\n6365,31 unequal: No Solution\nExploring Operation: 95-67=28, Resulting Numbers: [28]\n28,31 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 31:[90, 72], Operations: ['156-66=90', '161-89=72']\nExploring Operation: 90+72=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 90-72=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nExploring Operation: 90*72=6480, Resulting Numbers: [6480]\n6480,31 unequal: No Solution\nMoving to Node #0,3,4,0\nCurrent State: 31:[28], Operations: ['161-66=95', '156-89=67', '95-67=28']\nMoving to Node #0,0,4,0\nCurrent State: 31:[18], Operations: ['161-89=72', '156-66=90', '90-72=18']\nMoving to Node #0,2,1,0\nCurrent State: 31:[18], Operations: ['156-66=90', '161-89=72', '90-72=18']\nMoving to Node #0,0,3,0\nCurrent State: 31:[150], Operations: ['161-89=72', '156-72=84', '66+84=150']\nMoving to Node #0,1,1,0\nCurrent State: 31:[150], Operations: ['161-156=5', '89-5=84', '66+84=150']\nMoving to Node #0,1,2,0\nCurrent State: 31:[150], Operations: ['161-156=5', '66-5=61', '89+61=150']\nMoving to Node #0,3,1,0\nCurrent State: 31:[150], Operations: ['161-66=95', '156-95=61', '89+61=150']\nMoving to Node #0,2,4,0\nCurrent State: 31:[160], Operations: ['156-66=90', '161-90=71', '89+71=160']\nMoving to Node #0,1,4,0\nCurrent State: 31:[160], Operations: ['161-156=5', '89+5=94', '66+94=160']\nMoving to Node #0,4,1,0\nCurrent State: 31:[160], Operations: ['156-89=67', '161-67=94', '66+94=160']\nMoving to Node #0,1,3,0\nCurrent State: 31:[160], Operations: ['161-156=5', '66+5=71', '89+71=160']\nMoving to Node #0,2,1,0\nCurrent State: 31:[162], Operations: ['156-66=90', '161-89=72', '90+72=162']\nMoving to Node #0,4,0,0\nCurrent State: 31:[162], Operations: ['156-89=67', '161-66=95', '67+95=162']\nMoving to Node #0,3,4,0\nCurrent State: 31:[162], Operations: ['161-66=95', '156-89=67', '95+67=162']\nMoving to Node #0,0,4,0\nCurrent State: 31:[162], Operations: ['161-89=72', '156-66=90', '72+90=162']\nMoving to Node #0,0,0\nCurrent State: 31:[156, 6], Operations: ['161-89=72', '72-66=6']\nExploring Operation: 156-6=150, Resulting Numbers: [150]\n150,31 unequal: No Solution\nExploring Operation: 156+6=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 156*6=936, Resulting Numbers: [936]\n936,31 unequal: No Solution\nExploring Operation: 156/6=26, Resulting Numbers: [26]\n26,31 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 31:[156, 6], Operations: ['161-66=95', '95-89=6']\nExploring Operation: 156+6=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 156-6=150, Resulting Numbers: [150]\n150,31 unequal: No Solution\nExploring Operation: 156/6=26, Resulting Numbers: [26]\n26,31 unequal: No Solution\nExploring Operation: 156*6=936, Resulting Numbers: [936]\n936,31 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 31:[161, 1], Operations: ['156-89=67', '67-66=1']\nExploring Operation: 161+1=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 161*1=161, Resulting Numbers: [161]\n161,31 unequal: No Solution\nExploring Operation: 161/1=161, Resulting Numbers: [161]\n161,31 unequal: No Solution\nExploring Operation: 161-1=160, Resulting Numbers: [160]\n160,31 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 31:[161, 1], Operations: ['156-66=90', '90-89=1']\nExploring Operation: 161*1=161, Resulting Numbers: [161]\n161,31 unequal: No Solution\nExploring Operation: 161/1=161, Resulting Numbers: [161]\n161,31 unequal: No Solution\nExploring Operation: 161+1=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 161-1=160, Resulting Numbers: [160]\n160,31 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 31:[161, 133], Operations: ['156-89=67', '66+67=133']\nExploring Operation: 161*133=21413, Resulting Numbers: [21413]\n21413,31 unequal: No Solution\nExploring Operation: 161-133=28, Resulting Numbers: [28]\n28,31 unequal: No Solution\nExploring Operation: 161+133=294, Resulting Numbers: [294]\n294,31 unequal: No Solution\nMoving to Node #0,4,3,0\nCurrent State: 31:[28], Operations: ['156-89=67', '66+67=133', '161-133=28']\nMoving to Node #0,3,3,0\nCurrent State: 31:[26], Operations: ['161-66=95', '95-89=6', '156/6=26']\nMoving to Node #0,0,0,0\nCurrent State: 31:[26], Operations: ['161-89=72', '72-66=6', '156/6=26']\nMoving to Node #0,3,3,0\nCurrent State: 31:[150], Operations: ['161-66=95', '95-89=6', '156-6=150']\nMoving to Node #0,0,0,0\nCurrent State: 31:[150], Operations: ['161-89=72', '72-66=6', '156-6=150']\nMoving to Node #0,4,2,0\nCurrent State: 31:[160], Operations: ['156-89=67', '67-66=1', '161-1=160']\nMoving to Node #0,2,3,0\nCurrent State: 31:[160], Operations: ['156-66=90', '90-89=1', '161-1=160']\nMoving to Node #0,4,2,0\nCurrent State: 31:[161], Operations: ['156-89=67', '67-66=1', '161/1=161']\nMoving to Node #0,4,2,0\nCurrent State: 31:[161], Operations: ['156-89=67', '67-66=1', '161*1=161']\nMoving to Node #0,2,3,0\nCurrent State: 31:[161], Operations: ['156-66=90', '90-89=1', '161*1=161']\nMoving to Node #0,2,3,0\nCurrent State: 31:[161], Operations: ['156-66=90', '90-89=1', '161/1=161']\nMoving to Node #0,4,2,0\nCurrent State: 31:[162], Operations: ['156-89=67', '67-66=1', '161+1=162']\nMoving to Node #0,3,3,0\nCurrent State: 31:[162], Operations: ['161-66=95', '95-89=6', '156+6=162']\nMoving to Node #0,0,0,0\nCurrent State: 31:[162], Operations: ['161-89=72', '72-66=6', '156+6=162']\nMoving to Node #0,2,3,0\nCurrent State: 31:[162], Operations: ['156-66=90', '90-89=1', '161+1=162']\nMoving to Node #0,0,2\nCurrent State: 31:[156, 138], Operations: ['161-89=72', '66+72=138']\nExploring Operation: 156*138=21528, Resulting Numbers: [21528]\n21528,31 unequal: No Solution\nExploring Operation: 156+138=294, Resulting Numbers: [294]\n294,31 unequal: No Solution\nExploring Operation: 156-138=18, Resulting Numbers: [18]\n18,31 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 31:[72, 222], Operations: ['161-89=72', '66+156=222']\nExploring Operation: 222-72=150, Resulting Numbers: [150]\n150,31 unequal: No Solution\nExploring Operation: 72+222=294, Resulting Numbers: [294]\n294,31 unequal: No Solution\nExploring Operation: 72*222=15984, Resulting Numbers: [15984]\n15984,31 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 31:[67, 227], Operations: ['156-89=67', '66+161=227']\nExploring Operation: 67+227=294, Resulting Numbers: [294]\n294,31 unequal: No Solution\nExploring Operation: 227-67=160, Resulting Numbers: [160]\n160,31 unequal: No Solution\nExploring Operation: 67*227=15209, Resulting Numbers: [15209]\n15209,31 unequal: No Solution\nMoving to Node #0,4,3,0\nCurrent State: 31:[294], Operations: ['156-89=67', '66+67=133', '161+133=294']\nMoving to Node #0,3,0\nCurrent State: 31:[95, 245], Operations: ['161-66=95', '156+89=245']\nExploring Operation: 95+245=340, Resulting Numbers: [340]\n340,31 unequal: No Solution\nExploring Operation: 245-95=150, Resulting Numbers: [150]\n150,31 unequal: No Solution\nExploring Operation: 95*245=23275, Resulting Numbers: [23275]\n23275,31 unequal: No Solution\nMoving to Node #0,0,2,0\nCurrent State: 31:[18], Operations: ['161-89=72', '66+72=138', '156-138=18']\nMoving to Node #0,3,0,0\nCurrent State: 31:[150], Operations: ['161-66=95', '156+89=245', '245-95=150']\nMoving to Node #0,0,1,0\nCurrent State: 31:[150], Operations: ['161-89=72', '66+156=222', '222-72=150']\nMoving to Node #0,4,4,0\nCurrent State: 31:[160], Operations: ['156-89=67', '66+161=227', '227-67=160']\nMoving to Node #0,4,4,0\nCurrent State: 31:[294], Operations: ['156-89=67', '66+161=227', '67+227=294']\nMoving to Node #0,0,2,0\nCurrent State: 31:[294], Operations: ['161-89=72', '66+72=138', '156+138=294']\nMoving to Node #0,0,1,0\nCurrent State: 31:[294], Operations: ['161-89=72', '66+156=222', '72+222=294']\nMoving to Node #0,3,2\nCurrent State: 31:[89, 251], Operations: ['161-66=95', '156+95=251']\nExploring Operation: 251-89=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 89+251=340, Resulting Numbers: [340]\n340,31 unequal: No Solution\nExploring Operation: 89*251=22339, Resulting Numbers: [22339]\n22339,31 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 31:[90, 250], Operations: ['156-66=90', '161+89=250']\nExploring Operation: 250-90=160, Resulting Numbers: [160]\n160,31 unequal: No Solution\nExploring Operation: 90*250=22500, Resulting Numbers: [22500]\n22500,31 unequal: No Solution\nExploring Operation: 90+250=340, Resulting Numbers: [340]\n340,31 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 31:[89, 251], Operations: ['156-66=90', '161+90=251']\nExploring Operation: 89+251=340, Resulting Numbers: [340]\n340,31 unequal: No Solution\nExploring Operation: 251-89=162, Resulting Numbers: [162]\n162,31 unequal: No Solution\nExploring Operation: 89*251=22339, Resulting Numbers: [22339]\n22339,31 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 31:[160], Operations: ['156-66=90', '161+89=250', '250-90=160']\nMoving to Node #0,3,2,0\nCurrent State: 31:[162], Operations: ['161-66=95', '156+95=251', '251-89=162']\nMoving to Node #0,2,0,0\nCurrent State: 31:[162], Operations: ['156-66=90', '161+90=251', '251-89=162']\nMoving to Node #0,2,0,0\nCurrent State: 31:[340], Operations: ['156-66=90', '161+90=251', '89+251=340']\nMoving to Node #0,2,2,0\nCurrent State: 31:[340], Operations: ['156-66=90', '161+89=250', '90+250=340']\nMoving to Node #0,3,0,0\nCurrent State: 31:[340], Operations: ['161-66=95', '156+89=245', '95+245=340']\nMoving to Node #0,3,2,0\nCurrent State: 31:[340], Operations: ['161-66=95', '156+95=251', '89+251=340']\nMoving to Node #0,3,3,0\nCurrent State: 31:[936], Operations: ['161-66=95', '95-89=6', '156*6=936']\nMoving to Node #0,0,0,0\nCurrent State: 31:[936], Operations: ['161-89=72', '72-66=6', '156*6=936']\nMoving to Node #0,3,1,0\nCurrent State: 31:[5429], Operations: ['161-66=95', '156-95=61', '89*61=5429']\nMoving to Node #0,1,2,0\nCurrent State: 31:[5429], Operations: ['161-156=5', '66-5=61', '89*61=5429']\nMoving to Node #0,1,1,0\nCurrent State: 31:[5544], Operations: ['161-156=5', '89-5=84', '66*84=5544']\nMoving to Node #0,0,3,0\nCurrent State: 31:[5544], Operations: ['161-89=72', '156-72=84', '66*84=5544']\nMoving to Node #0,1,4,0\nCurrent State: 31:[6204], Operations: ['161-156=5', '89+5=94', '66*94=6204']\nMoving to Node #0,4,1,0\nCurrent State: 31:[6204], Operations: ['156-89=67', '161-67=94', '66*94=6204']\nMoving to Node #0,1,3,0\nCurrent State: 31:[6319], Operations: ['161-156=5', '66+5=71', '89*71=6319']\nMoving to Node #0,2,4,0\nCurrent State: 31:[6319], Operations: ['156-66=90', '161-90=71', '89*71=6319']\nMoving to Node #0,4,0,0\nCurrent State: 31:[6365], Operations: ['156-89=67', '161-66=95', '67*95=6365']\nMoving to Node #0,3,4,0\nCurrent State: 31:[6365], Operations: ['161-66=95', '156-89=67', '95*67=6365']\nMoving to Node #0,2,1,0\nCurrent State: 31:[6480], Operations: ['156-66=90', '161-89=72', '90*72=6480']\nMoving to Node #0,0,4,0\nCurrent State: 31:[6480], Operations: ['161-89=72', '156-66=90', '72*90=6480']\nMoving to Node #0,4,4,0\nCurrent State: 31:[15209], Operations: ['156-89=67', '66+161=227', '67*227=15209']\nMoving to Node #0,0,1,0\nCurrent State: 31:[15984], Operations: ['161-89=72', '66+156=222', '72*222=15984']\nMoving to Node #0,4,3,0\nCurrent State: 31:[21413], Operations: ['156-89=67', '66+67=133', '161*133=21413']\nMoving to Node #0,0,2,0\nCurrent State: 31:[21528], Operations: ['161-89=72', '66+72=138', '156*138=21528']\nMoving to Node #0,2,0,0\nCurrent State: 31:[22339], Operations: ['156-66=90', '161+90=251', '89*251=22339']\nMoving to Node #0,3,2,0\nCurrent State: 31:[22339], Operations: ['161-66=95', '156+95=251', '89*251=22339']\nMoving to Node #0,2,2,0\nCurrent State: 31:[22500], Operations: ['156-66=90', '161+89=250', '90*250=22500']\nMoving to Node #0,3,0,0\nCurrent State: 31:[23275], Operations: ['161-66=95', '156+89=245', '95*245=23275']",
"role": "assistant"
}
] |
[
66,
161,
156,
89
] | 31
|
bfs_5
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [66, 161, 163, 22] and the target 108, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 108:[66, 161, 163, 22], Operations: []\nExploring Operation: 163-161=2, Resulting Numbers: [66, 22, 2]\nGenerated Node #0,0: 108:[66, 22, 2] Operation: 163-161=2\nMoving to Node #0,0\nCurrent State: 108:[66, 22, 2], Operations: ['163-161=2']\nExploring Operation: 66/22=3, Resulting Numbers: [2, 3]\nGenerated Node #0,0,0: 108:[2, 3] Operation: 66/22=3\nMoving to Node #0,0,0\nCurrent State: 108:[2, 3], Operations: ['163-161=2', '66/22=3']\nExploring Operation: 2*3=6, Resulting Numbers: [6]\n6,108 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 108:[6], Operations: ['163-161=2', '66/22=3', '2*3=6']",
"role": "assistant"
}
] |
[
66,
161,
163,
22
] | 108
|
bfs_1
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [63, 138, 150, 69] and the target 67, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 67:[63, 138, 150, 69], Operations: []\nExploring Operation: 150-69=81, Resulting Numbers: [63, 138, 81]\nGenerated Node #0,0: 67:[63, 138, 81] Operation: 150-69=81\nExploring Operation: 150-138=12, Resulting Numbers: [63, 69, 12]\nGenerated Node #0,1: 67:[63, 69, 12] Operation: 150-138=12\nExploring Operation: 138-69=69, Resulting Numbers: [63, 150, 69]\nGenerated Node #0,2: 67:[63, 150, 69] Operation: 138-69=69\nMoving to Node #0,1\nCurrent State: 67:[63, 69, 12], Operations: ['150-138=12']\nExploring Operation: 69-12=57, Resulting Numbers: [63, 57]\nGenerated Node #0,1,0: 67:[63, 57] Operation: 69-12=57\nExploring Operation: 63-12=51, Resulting Numbers: [69, 51]\nGenerated Node #0,1,1: 67:[69, 51] Operation: 63-12=51\nExploring Operation: 63+12=75, Resulting Numbers: [69, 75]\nGenerated Node #0,1,2: 67:[69, 75] Operation: 63+12=75\nMoving to Node #0,0\nCurrent State: 67:[63, 138, 81], Operations: ['150-69=81']\nExploring Operation: 138-63=75, Resulting Numbers: [81, 75]\nGenerated Node #0,0,0: 67:[81, 75] Operation: 138-63=75\nExploring Operation: 81-63=18, Resulting Numbers: [138, 18]\nGenerated Node #0,0,1: 67:[138, 18] Operation: 81-63=18\nExploring Operation: 138-81=57, Resulting Numbers: [63, 57]\nGenerated Node #0,0,2: 67:[63, 57] Operation: 138-81=57\nMoving to Node #0,2\nCurrent State: 67:[63, 150, 69], Operations: ['138-69=69']\nExploring Operation: 150-69=81, Resulting Numbers: [63, 81]\nGenerated Node #0,2,0: 67:[63, 81] Operation: 150-69=81\nExploring Operation: 150-63=87, Resulting Numbers: [69, 87]\nGenerated Node #0,2,1: 67:[69, 87] Operation: 150-63=87\nExploring Operation: 69-63=6, Resulting Numbers: [150, 6]\nGenerated Node #0,2,2: 67:[150, 6] Operation: 69-63=6\nMoving to Node #0,1,2\nCurrent State: 67:[69, 75], Operations: ['150-138=12', '63+12=75']\nExploring Operation: 75-69=6, Resulting Numbers: [6]\n6,67 unequal: No Solution\nExploring Operation: 69*75=5175, Resulting Numbers: [5175]\n5175,67 unequal: No Solution\nExploring Operation: 69+75=144, Resulting Numbers: [144]\n144,67 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 67:[63, 57], Operations: ['150-138=12', '69-12=57']\nExploring Operation: 63*57=3591, Resulting Numbers: [3591]\n3591,67 unequal: No Solution\nExploring Operation: 63+57=120, Resulting Numbers: [120]\n120,67 unequal: No Solution\nExploring Operation: 63-57=6, Resulting Numbers: [6]\n6,67 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 67:[63, 57], Operations: ['150-69=81', '138-81=57']\nExploring Operation: 63+57=120, Resulting Numbers: [120]\n120,67 unequal: No Solution\nExploring Operation: 63*57=3591, Resulting Numbers: [3591]\n3591,67 unequal: No Solution\nExploring Operation: 63-57=6, Resulting Numbers: [6]\n6,67 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 67:[69, 51], Operations: ['150-138=12', '63-12=51']\nExploring Operation: 69+51=120, Resulting Numbers: [120]\n120,67 unequal: No Solution\nExploring Operation: 69*51=3519, Resulting Numbers: [3519]\n3519,67 unequal: No Solution\nExploring Operation: 69-51=18, Resulting Numbers: [18]\n18,67 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 67:[63, 81], Operations: ['138-69=69', '150-69=81']\nExploring Operation: 81-63=18, Resulting Numbers: [18]\n18,67 unequal: No Solution\nExploring Operation: 63+81=144, Resulting Numbers: [144]\n144,67 unequal: No Solution\nExploring Operation: 63*81=5103, Resulting Numbers: [5103]\n5103,67 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 67:[81, 75], Operations: ['150-69=81', '138-63=75']\nExploring Operation: 81-75=6, Resulting Numbers: [6]\n6,67 unequal: No Solution\nExploring Operation: 81*75=6075, Resulting Numbers: [6075]\n6075,67 unequal: No Solution\nExploring Operation: 81+75=156, Resulting Numbers: [156]\n156,67 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 67:[69, 87], Operations: ['138-69=69', '150-63=87']\nExploring Operation: 69+87=156, Resulting Numbers: [156]\n156,67 unequal: No Solution\nExploring Operation: 69*87=6003, Resulting Numbers: [6003]\n6003,67 unequal: No Solution\nExploring Operation: 87-69=18, Resulting Numbers: [18]\n18,67 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 67:[18], Operations: ['150-138=12', '63-12=51', '69-51=18']\nMoving to Node #0,2,0,0\nCurrent State: 67:[18], Operations: ['138-69=69', '150-69=81', '81-63=18']\nMoving to Node #0,2,1,0\nCurrent State: 67:[18], Operations: ['138-69=69', '150-63=87', '87-69=18']\nMoving to Node #0,0,2,0\nCurrent State: 67:[120], Operations: ['150-69=81', '138-81=57', '63+57=120']\nMoving to Node #0,1,1,0\nCurrent State: 67:[120], Operations: ['150-138=12', '63-12=51', '69+51=120']\nMoving to Node #0,1,0,0\nCurrent State: 67:[120], Operations: ['150-138=12', '69-12=57', '63+57=120']\nMoving to Node #0,1,2,0\nCurrent State: 67:[6], Operations: ['150-138=12', '63+12=75', '75-69=6']\nMoving to Node #0,1,0,0\nCurrent State: 67:[6], Operations: ['150-138=12', '69-12=57', '63-57=6']\nMoving to Node #0,0,0,0\nCurrent State: 67:[6], Operations: ['150-69=81', '138-63=75', '81-75=6']\nMoving to Node #0,0,2,0\nCurrent State: 67:[6], Operations: ['150-69=81', '138-81=57', '63-57=6']\nMoving to Node #0,1,2,0\nCurrent State: 67:[144], Operations: ['150-138=12', '63+12=75', '69+75=144']\nMoving to Node #0,2,0,0\nCurrent State: 67:[144], Operations: ['138-69=69', '150-69=81', '63+81=144']\nMoving to Node #0,0,0,0\nCurrent State: 67:[156], Operations: ['150-69=81', '138-63=75', '81+75=156']\nMoving to Node #0,2,1,0\nCurrent State: 67:[156], Operations: ['138-69=69', '150-63=87', '69+87=156']\nMoving to Node #0,0,1\nCurrent State: 67:[138, 18], Operations: ['150-69=81', '81-63=18']\nExploring Operation: 138-18=120, Resulting Numbers: [120]\n120,67 unequal: No Solution\nExploring Operation: 138+18=156, Resulting Numbers: [156]\n156,67 unequal: No Solution\nExploring Operation: 138*18=2484, Resulting Numbers: [2484]\n2484,67 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 67:[150, 6], Operations: ['138-69=69', '69-63=6']\nExploring Operation: 150-6=144, Resulting Numbers: [144]\n144,67 unequal: No Solution\nExploring Operation: 150+6=156, Resulting Numbers: [156]\n156,67 unequal: No Solution\nExploring Operation: 150/6=25, Resulting Numbers: [25]\n25,67 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 67:[3519], Operations: ['150-138=12', '63-12=51', '69*51=3519']\nMoving to Node #0,2,2,0\nCurrent State: 67:[25], Operations: ['138-69=69', '69-63=6', '150/6=25']\nMoving to Node #0,0,1,0\nCurrent State: 67:[120], Operations: ['150-69=81', '81-63=18', '138-18=120']\nMoving to Node #0,2,2,0\nCurrent State: 67:[144], Operations: ['138-69=69', '69-63=6', '150-6=144']\nMoving to Node #0,2,2,0\nCurrent State: 67:[156], Operations: ['138-69=69', '69-63=6', '150+6=156']\nMoving to Node #0,0,1,0\nCurrent State: 67:[156], Operations: ['150-69=81', '81-63=18', '138+18=156']\nMoving to Node #0,0,1,0\nCurrent State: 67:[2484], Operations: ['150-69=81', '81-63=18', '138*18=2484']\nMoving to Node #0,1,0,0\nCurrent State: 67:[3591], Operations: ['150-138=12', '69-12=57', '63*57=3591']\nMoving to Node #0,0,2,0\nCurrent State: 67:[3591], Operations: ['150-69=81', '138-81=57', '63*57=3591']\nMoving to Node #0,2,0,0\nCurrent State: 67:[5103], Operations: ['138-69=69', '150-69=81', '63*81=5103']\nMoving to Node #0,1,2,0\nCurrent State: 67:[5175], Operations: ['150-138=12', '63+12=75', '69*75=5175']\nMoving to Node #0,2,1,0\nCurrent State: 67:[6003], Operations: ['138-69=69', '150-63=87', '69*87=6003']\nMoving to Node #0,0,0,0\nCurrent State: 67:[6075], Operations: ['150-69=81', '138-63=75', '81*75=6075']",
"role": "assistant"
}
] |
[
63,
138,
150,
69
] | 67
|
bfs_3
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [29, 104, 139, 4] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[29, 104, 139, 4], Operations: []\nExploring Operation: 104+4=108, Resulting Numbers: [29, 139, 108]\nGenerated Node #0,0: 127:[29, 139, 108] Operation: 104+4=108\nExploring Operation: 29*4=116, Resulting Numbers: [104, 139, 116]\nGenerated Node #0,1: 127:[104, 139, 116] Operation: 29*4=116\nExploring Operation: 139-4=135, Resulting Numbers: [29, 104, 135]\nGenerated Node #0,2: 127:[29, 104, 135] Operation: 139-4=135\nExploring Operation: 29+4=33, Resulting Numbers: [104, 139, 33]\nGenerated Node #0,3: 127:[104, 139, 33] Operation: 29+4=33\nExploring Operation: 29-4=25, Resulting Numbers: [104, 139, 25]\nGenerated Node #0,4: 127:[104, 139, 25] Operation: 29-4=25\nMoving to Node #0,1\nCurrent State: 127:[104, 139, 116], Operations: ['29*4=116']\nExploring Operation: 139-104=35, Resulting Numbers: [116, 35]\nGenerated Node #0,1,0: 127:[116, 35] Operation: 139-104=35\nExploring Operation: 104+116=220, Resulting Numbers: [139, 220]\nGenerated Node #0,1,1: 127:[139, 220] Operation: 104+116=220\nExploring Operation: 116-104=12, Resulting Numbers: [139, 12]\nGenerated Node #0,1,2: 127:[139, 12] Operation: 116-104=12\nExploring Operation: 139-116=23, Resulting Numbers: [104, 23]\nGenerated Node #0,1,3: 127:[104, 23] Operation: 139-116=23\nExploring Operation: 104+139=243, Resulting Numbers: [116, 243]\nGenerated Node #0,1,4: 127:[116, 243] Operation: 104+139=243\nMoving to Node #0,2\nCurrent State: 127:[29, 104, 135], Operations: ['139-4=135']\nExploring Operation: 29+104=133, Resulting Numbers: [135, 133]\nGenerated Node #0,2,0: 127:[135, 133] Operation: 29+104=133\nExploring Operation: 104-29=75, Resulting Numbers: [135, 75]\nGenerated Node #0,2,1: 127:[135, 75] Operation: 104-29=75\nExploring Operation: 135-104=31, Resulting Numbers: [29, 31]\nGenerated Node #0,2,2: 127:[29, 31] Operation: 135-104=31\nExploring Operation: 29+135=164, Resulting Numbers: [104, 164]\nGenerated Node #0,2,3: 127:[104, 164] Operation: 29+135=164\nExploring Operation: 135-29=106, Resulting Numbers: [104, 106]\nGenerated Node #0,2,4: 127:[104, 106] Operation: 135-29=106\nMoving to Node #0,0\nCurrent State: 127:[29, 139, 108], Operations: ['104+4=108']\nExploring Operation: 29+139=168, Resulting Numbers: [108, 168]\nGenerated Node #0,0,0: 127:[108, 168] Operation: 29+139=168\nExploring Operation: 139-108=31, Resulting Numbers: [29, 31]\nGenerated Node #0,0,1: 127:[29, 31] Operation: 139-108=31\nExploring Operation: 29+108=137, Resulting Numbers: [139, 137]\nGenerated Node #0,0,2: 127:[139, 137] Operation: 29+108=137\nExploring Operation: 139-29=110, Resulting Numbers: [108, 110]\nGenerated Node #0,0,3: 127:[108, 110] Operation: 139-29=110\nExploring Operation: 108-29=79, Resulting Numbers: [139, 79]\nGenerated Node #0,0,4: 127:[139, 79] Operation: 108-29=79\nMoving to Node #0,3\nCurrent State: 127:[104, 139, 33], Operations: ['29+4=33']\nExploring Operation: 139-104=35, Resulting Numbers: [33, 35]\nGenerated Node #0,3,0: 127:[33, 35] Operation: 139-104=35\nExploring Operation: 104+33=137, Resulting Numbers: [139, 137]\nGenerated Node #0,3,1: 127:[139, 137] Operation: 104+33=137\nExploring Operation: 139-33=106, Resulting Numbers: [104, 106]\nGenerated Node #0,3,2: 127:[104, 106] Operation: 139-33=106\nExploring Operation: 139+33=172, Resulting Numbers: [104, 172]\nGenerated Node #0,3,3: 127:[104, 172] Operation: 139+33=172\nExploring Operation: 104-33=71, Resulting Numbers: [139, 71]\nGenerated Node #0,3,4: 127:[139, 71] Operation: 104-33=71\nMoving to Node #0,4\nCurrent State: 127:[104, 139, 25], Operations: ['29-4=25']\nExploring Operation: 139-25=114, Resulting Numbers: [104, 114]\nGenerated Node #0,4,0: 127:[104, 114] Operation: 139-25=114\nExploring Operation: 104+25=129, Resulting Numbers: [139, 129]\nGenerated Node #0,4,1: 127:[139, 129] Operation: 104+25=129\nExploring Operation: 139+25=164, Resulting Numbers: [104, 164]\nGenerated Node #0,4,2: 127:[104, 164] Operation: 139+25=164\nExploring Operation: 104-25=79, Resulting Numbers: [139, 79]\nGenerated Node #0,4,3: 127:[139, 79] Operation: 104-25=79\nExploring Operation: 139-104=35, Resulting Numbers: [25, 35]\nGenerated Node #0,4,4: 127:[25, 35] Operation: 139-104=35\nMoving to Node #0,2,0\nCurrent State: 127:[135, 133], Operations: ['139-4=135', '29+104=133']\nExploring Operation: 135+133=268, Resulting Numbers: [268]\n268,127 unequal: No Solution\nExploring Operation: 135-133=2, Resulting Numbers: [2]\n2,127 unequal: No Solution\nExploring Operation: 135*133=17955, Resulting Numbers: [17955]\n17955,127 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 127:[139, 129], Operations: ['29-4=25', '104+25=129']\nExploring Operation: 139+129=268, Resulting Numbers: [268]\n268,127 unequal: No Solution\nExploring Operation: 139-129=10, Resulting Numbers: [10]\n10,127 unequal: No Solution\nExploring Operation: 139*129=17931, Resulting Numbers: [17931]\n17931,127 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 127:[139, 137], Operations: ['104+4=108', '29+108=137']\nExploring Operation: 139+137=276, Resulting Numbers: [276]\n276,127 unequal: No Solution\nExploring Operation: 139-137=2, Resulting Numbers: [2]\n2,127 unequal: No Solution\nExploring Operation: 139*137=19043, Resulting Numbers: [19043]\n19043,127 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 127:[139, 137], Operations: ['29+4=33', '104+33=137']\nExploring Operation: 139*137=19043, Resulting Numbers: [19043]\n19043,127 unequal: No Solution\nExploring Operation: 139+137=276, Resulting Numbers: [276]\n276,127 unequal: No Solution\nExploring Operation: 139-137=2, Resulting Numbers: [2]\n2,127 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 127:[108, 110], Operations: ['104+4=108', '139-29=110']\nExploring Operation: 108+110=218, Resulting Numbers: [218]\n218,127 unequal: No Solution\nExploring Operation: 108*110=11880, Resulting Numbers: [11880]\n11880,127 unequal: No Solution\nExploring Operation: 110-108=2, Resulting Numbers: [2]\n2,127 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 127:[104, 114], Operations: ['29-4=25', '139-25=114']\nExploring Operation: 104+114=218, Resulting Numbers: [218]\n218,127 unequal: No Solution\nExploring Operation: 104*114=11856, Resulting Numbers: [11856]\n11856,127 unequal: No Solution\nExploring Operation: 114-104=10, Resulting Numbers: [10]\n10,127 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 127:[104, 106], Operations: ['139-4=135', '135-29=106']\nExploring Operation: 106-104=2, Resulting Numbers: [2]\n2,127 unequal: No Solution\nExploring Operation: 104*106=11024, Resulting Numbers: [11024]\n11024,127 unequal: No Solution\nExploring Operation: 104+106=210, Resulting Numbers: [210]\n210,127 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 127:[104, 106], Operations: ['29+4=33', '139-33=106']\nExploring Operation: 104*106=11024, Resulting Numbers: [11024]\n11024,127 unequal: No Solution\nExploring Operation: 106-104=2, Resulting Numbers: [2]\n2,127 unequal: No Solution\nExploring Operation: 104+106=210, Resulting Numbers: [210]\n210,127 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 127:[139, 79], Operations: ['104+4=108', '108-29=79']\nExploring Operation: 139+79=218, Resulting Numbers: [218]\n218,127 unequal: No Solution\nExploring Operation: 139-79=60, Resulting Numbers: [60]\n60,127 unequal: No Solution\nExploring Operation: 139*79=10981, Resulting Numbers: [10981]\n10981,127 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 127:[108, 168], Operations: ['104+4=108', '29+139=168']\nExploring Operation: 108*168=18144, Resulting Numbers: [18144]\n18144,127 unequal: No Solution\nExploring Operation: 168-108=60, Resulting Numbers: [60]\n60,127 unequal: No Solution\nExploring Operation: 108+168=276, Resulting Numbers: [276]\n276,127 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 127:[139, 79], Operations: ['29-4=25', '104-25=79']\nExploring Operation: 139+79=218, Resulting Numbers: [218]\n218,127 unequal: No Solution\nExploring Operation: 139*79=10981, Resulting Numbers: [10981]\n10981,127 unequal: No Solution\nExploring Operation: 139-79=60, Resulting Numbers: [60]\n60,127 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 127:[104, 164], Operations: ['29-4=25', '139+25=164']\nExploring Operation: 104*164=17056, Resulting Numbers: [17056]\n17056,127 unequal: No Solution\nExploring Operation: 164-104=60, Resulting Numbers: [60]\n60,127 unequal: No Solution\nExploring Operation: 104+164=268, Resulting Numbers: [268]\n268,127 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 127:[135, 75], Operations: ['139-4=135', '104-29=75']\nExploring Operation: 135-75=60, Resulting Numbers: [60]\n60,127 unequal: No Solution\nExploring Operation: 135+75=210, Resulting Numbers: [210]\n210,127 unequal: No Solution\nExploring Operation: 135*75=10125, Resulting Numbers: [10125]\n10125,127 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 127:[104, 164], Operations: ['139-4=135', '29+135=164']\nExploring Operation: 164-104=60, Resulting Numbers: [60]\n60,127 unequal: No Solution\nExploring Operation: 104*164=17056, Resulting Numbers: [17056]\n17056,127 unequal: No Solution\nExploring Operation: 104+164=268, Resulting Numbers: [268]\n268,127 unequal: No Solution\nMoving to Node #0,0,4,0\nCurrent State: 127:[60], Operations: ['104+4=108', '108-29=79', '139-79=60']\nMoving to Node #0,0,0,0\nCurrent State: 127:[60], Operations: ['104+4=108', '29+139=168', '168-108=60']\nMoving to Node #0,2,3,0\nCurrent State: 127:[60], Operations: ['139-4=135', '29+135=164', '164-104=60']\nMoving to Node #0,4,3,0\nCurrent State: 127:[60], Operations: ['29-4=25', '104-25=79', '139-79=60']\nMoving to Node #0,4,2,0\nCurrent State: 127:[60], Operations: ['29-4=25', '139+25=164', '164-104=60']\nMoving to Node #0,2,1,0\nCurrent State: 127:[60], Operations: ['139-4=135', '104-29=75', '135-75=60']\nMoving to Node #0,3,3\nCurrent State: 127:[104, 172], Operations: ['29+4=33', '139+33=172']\nExploring Operation: 172-104=68, Resulting Numbers: [68]\n68,127 unequal: No Solution\nExploring Operation: 104*172=17888, Resulting Numbers: [17888]\n17888,127 unequal: No Solution\nExploring Operation: 104+172=276, Resulting Numbers: [276]\n276,127 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 127:[139, 71], Operations: ['29+4=33', '104-33=71']\nExploring Operation: 139+71=210, Resulting Numbers: [210]\n210,127 unequal: No Solution\nExploring Operation: 139*71=9869, Resulting Numbers: [9869]\n9869,127 unequal: No Solution\nExploring Operation: 139-71=68, Resulting Numbers: [68]\n68,127 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 127:[210], Operations: ['139-4=135', '104-29=75', '135+75=210']\nMoving to Node #0,3,2,0\nCurrent State: 127:[210], Operations: ['29+4=33', '139-33=106', '104+106=210']\nMoving to Node #0,2,4,0\nCurrent State: 127:[210], Operations: ['139-4=135', '135-29=106', '104+106=210']\nMoving to Node #0,3,3,0\nCurrent State: 127:[68], Operations: ['29+4=33', '139+33=172', '172-104=68']\nMoving to Node #0,3,4,0\nCurrent State: 127:[68], Operations: ['29+4=33', '104-33=71', '139-71=68']\nMoving to Node #0,3,4,0\nCurrent State: 127:[210], Operations: ['29+4=33', '104-33=71', '139+71=210']\nMoving to Node #0,4,0,0\nCurrent State: 127:[218], Operations: ['29-4=25', '139-25=114', '104+114=218']\nMoving to Node #0,0,4,0\nCurrent State: 127:[218], Operations: ['104+4=108', '108-29=79', '139+79=218']\nMoving to Node #0,4,3,0\nCurrent State: 127:[218], Operations: ['29-4=25', '104-25=79', '139+79=218']\nMoving to Node #0,0,3,0\nCurrent State: 127:[218], Operations: ['104+4=108', '139-29=110', '108+110=218']\nMoving to Node #0,1,0\nCurrent State: 127:[116, 35], Operations: ['29*4=116', '139-104=35']\nExploring Operation: 116*35=4060, Resulting Numbers: [4060]\n4060,127 unequal: No Solution\nExploring Operation: 116-35=81, Resulting Numbers: [81]\n81,127 unequal: No Solution\nExploring Operation: 116+35=151, Resulting Numbers: [151]\n151,127 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 127:[139, 220], Operations: ['29*4=116', '104+116=220']\nExploring Operation: 139*220=30580, Resulting Numbers: [30580]\n30580,127 unequal: No Solution\nExploring Operation: 139+220=359, Resulting Numbers: [359]\n359,127 unequal: No Solution\nExploring Operation: 220-139=81, Resulting Numbers: [81]\n81,127 unequal: No Solution\nMoving to Node #0,4,1,0\nCurrent State: 127:[10], Operations: ['29-4=25', '104+25=129', '139-129=10']\nMoving to Node #0,1,0,0\nCurrent State: 127:[151], Operations: ['29*4=116', '139-104=35', '116+35=151']\nMoving to Node #0,1,0,0\nCurrent State: 127:[81], Operations: ['29*4=116', '139-104=35', '116-35=81']\nMoving to Node #0,1,1,0\nCurrent State: 127:[81], Operations: ['29*4=116', '104+116=220', '220-139=81']\nMoving to Node #0,4,0,0\nCurrent State: 127:[10], Operations: ['29-4=25', '139-25=114', '114-104=10']\nMoving to Node #0,3,1,0\nCurrent State: 127:[2], Operations: ['29+4=33', '104+33=137', '139-137=2']\nMoving to Node #0,0,2,0\nCurrent State: 127:[2], Operations: ['104+4=108', '29+108=137', '139-137=2']\nMoving to Node #0,2,0,0\nCurrent State: 127:[2], Operations: ['139-4=135', '29+104=133', '135-133=2']\nMoving to Node #0,3,2,0\nCurrent State: 127:[2], Operations: ['29+4=33', '139-33=106', '106-104=2']\nMoving to Node #0,2,4,0\nCurrent State: 127:[2], Operations: ['139-4=135', '135-29=106', '106-104=2']\nMoving to Node #0,0,3,0\nCurrent State: 127:[2], Operations: ['104+4=108', '139-29=110', '110-108=2']\nMoving to Node #0,1,3\nCurrent State: 127:[104, 23], Operations: ['29*4=116', '139-116=23']\nExploring Operation: 104+23=127, Resulting Numbers: [127]\n127,127 equal: Goal Reached\nFinal operations:\n29*4=116\n139-116=23\n104+23=127",
"role": "assistant"
}
] |
[
29,
104,
139,
4
] | 127
|
bfs_5
|
mult_heuristic
| 0.925347
|
[
{
"content": "Given the numbers [82, 18, 88, 61] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[82, 18, 88, 61], Operations: []\nExploring Operation: 18+88=106, Resulting Numbers: [82, 61, 106]\nGenerated Node #0,0: 127:[82, 61, 106] Operation: 18+88=106\nExploring Operation: 18+61=79, Resulting Numbers: [82, 88, 79]\nGenerated Node #0,1: 127:[82, 88, 79] Operation: 18+61=79\nExploring Operation: 82+18=100, Resulting Numbers: [88, 61, 100]\nGenerated Node #0,2: 127:[88, 61, 100] Operation: 82+18=100\nExploring Operation: 82+61=143, Resulting Numbers: [18, 88, 143]\nGenerated Node #0,3: 127:[18, 88, 143] Operation: 82+61=143\nMoving to Node #0,0\nCurrent State: 127:[82, 61, 106], Operations: ['18+88=106']\nExploring Operation: 82+106=188, Resulting Numbers: [61, 188]\nGenerated Node #0,0,0: 127:[61, 188] Operation: 82+106=188\nExploring Operation: 61+106=167, Resulting Numbers: [82, 167]\nGenerated Node #0,0,1: 127:[82, 167] Operation: 61+106=167\nExploring Operation: 82+61=143, Resulting Numbers: [106, 143]\nGenerated Node #0,0,2: 127:[106, 143] Operation: 82+61=143\nExploring Operation: 82-61=21, Resulting Numbers: [106, 21]\nGenerated Node #0,0,3: 127:[106, 21] Operation: 82-61=21\nMoving to Node #0,2\nCurrent State: 127:[88, 61, 100], Operations: ['82+18=100']\nExploring Operation: 88-61=27, Resulting Numbers: [100, 27]\nGenerated Node #0,2,0: 127:[100, 27] Operation: 88-61=27\nExploring Operation: 88+100=188, Resulting Numbers: [61, 188]\nGenerated Node #0,2,1: 127:[61, 188] Operation: 88+100=188\nExploring Operation: 61+100=161, Resulting Numbers: [88, 161]\nGenerated Node #0,2,2: 127:[88, 161] Operation: 61+100=161\nExploring Operation: 88+61=149, Resulting Numbers: [100, 149]\nGenerated Node #0,2,3: 127:[100, 149] Operation: 88+61=149\nMoving to Node #0,1\nCurrent State: 127:[82, 88, 79], Operations: ['18+61=79']\nExploring Operation: 82-79=3, Resulting Numbers: [88, 3]\nGenerated Node #0,1,0: 127:[88, 3] Operation: 82-79=3\nExploring Operation: 88+79=167, Resulting Numbers: [82, 167]\nGenerated Node #0,1,1: 127:[82, 167] Operation: 88+79=167\nExploring Operation: 82+88=170, Resulting Numbers: [79, 170]\nGenerated Node #0,1,2: 127:[79, 170] Operation: 82+88=170\nExploring Operation: 82+79=161, Resulting Numbers: [88, 161]\nGenerated Node #0,1,3: 127:[88, 161] Operation: 82+79=161\nMoving to Node #0,3\nCurrent State: 127:[18, 88, 143], Operations: ['82+61=143']\nExploring Operation: 143-18=125, Resulting Numbers: [88, 125]\nGenerated Node #0,3,0: 127:[88, 125] Operation: 143-18=125\nExploring Operation: 88-18=70, Resulting Numbers: [143, 70]\nGenerated Node #0,3,1: 127:[143, 70] Operation: 88-18=70\nExploring Operation: 18+88=106, Resulting Numbers: [143, 106]\nGenerated Node #0,3,2: 127:[143, 106] Operation: 18+88=106\nExploring Operation: 18+143=161, Resulting Numbers: [88, 161]\nGenerated Node #0,3,3: 127:[88, 161] Operation: 18+143=161\nMoving to Node #0,0,2\nCurrent State: 127:[106, 143], Operations: ['18+88=106', '82+61=143']\nExploring Operation: 106+143=249, Resulting Numbers: [249]\n249,127 unequal: No Solution\nExploring Operation: 143-106=37, Resulting Numbers: [37]\n37,127 unequal: No Solution\nExploring Operation: 106*143=15158, Resulting Numbers: [15158]\n15158,127 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 127:[143, 106], Operations: ['82+61=143', '18+88=106']\nExploring Operation: 143*106=15158, Resulting Numbers: [15158]\n15158,127 unequal: No Solution\nExploring Operation: 143-106=37, Resulting Numbers: [37]\n37,127 unequal: No Solution\nExploring Operation: 143+106=249, Resulting Numbers: [249]\n249,127 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 127:[88, 125], Operations: ['82+61=143', '143-18=125']\nExploring Operation: 125-88=37, Resulting Numbers: [37]\n37,127 unequal: No Solution\nExploring Operation: 88+125=213, Resulting Numbers: [213]\n213,127 unequal: No Solution\nExploring Operation: 88*125=11000, Resulting Numbers: [11000]\n11000,127 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 127:[100, 149], Operations: ['82+18=100', '88+61=149']\nExploring Operation: 149-100=49, Resulting Numbers: [49]\n49,127 unequal: No Solution\nExploring Operation: 100+149=249, Resulting Numbers: [249]\n249,127 unequal: No Solution\nExploring Operation: 100*149=14900, Resulting Numbers: [14900]\n14900,127 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 127:[143, 70], Operations: ['82+61=143', '88-18=70']\nExploring Operation: 143+70=213, Resulting Numbers: [213]\n213,127 unequal: No Solution\nExploring Operation: 143*70=10010, Resulting Numbers: [10010]\n10010,127 unequal: No Solution\nExploring Operation: 143-70=73, Resulting Numbers: [73]\n73,127 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 127:[88, 161], Operations: ['82+18=100', '61+100=161']\nExploring Operation: 88+161=249, Resulting Numbers: [249]\n249,127 unequal: No Solution\nExploring Operation: 161-88=73, Resulting Numbers: [73]\n73,127 unequal: No Solution\nExploring Operation: 88*161=14168, Resulting Numbers: [14168]\n14168,127 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 127:[88, 161], Operations: ['18+61=79', '82+79=161']\nExploring Operation: 161-88=73, Resulting Numbers: [73]\n73,127 unequal: No Solution\nExploring Operation: 88*161=14168, Resulting Numbers: [14168]\n14168,127 unequal: No Solution\nExploring Operation: 88+161=249, Resulting Numbers: [249]\n249,127 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 127:[88, 161], Operations: ['82+61=143', '18+143=161']\nExploring Operation: 161-88=73, Resulting Numbers: [73]\n73,127 unequal: No Solution\nExploring Operation: 88+161=249, Resulting Numbers: [249]\n249,127 unequal: No Solution\nExploring Operation: 88*161=14168, Resulting Numbers: [14168]\n14168,127 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 127:[73], Operations: ['82+61=143', '88-18=70', '143-70=73']\nMoving to Node #0,2,2,0\nCurrent State: 127:[73], Operations: ['82+18=100', '61+100=161', '161-88=73']\nMoving to Node #0,3,3,0\nCurrent State: 127:[73], Operations: ['82+61=143', '18+143=161', '161-88=73']\nMoving to Node #0,1,3,0\nCurrent State: 127:[73], Operations: ['18+61=79', '82+79=161', '161-88=73']\nMoving to Node #0,2,3,0\nCurrent State: 127:[49], Operations: ['82+18=100', '88+61=149', '149-100=49']\nMoving to Node #0,0,1\nCurrent State: 127:[82, 167], Operations: ['18+88=106', '61+106=167']\nExploring Operation: 82+167=249, Resulting Numbers: [249]\n249,127 unequal: No Solution\nExploring Operation: 167-82=85, Resulting Numbers: [85]\n85,127 unequal: No Solution\nExploring Operation: 82*167=13694, Resulting Numbers: [13694]\n13694,127 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 127:[82, 167], Operations: ['18+61=79', '88+79=167']\nExploring Operation: 82+167=249, Resulting Numbers: [249]\n249,127 unequal: No Solution\nExploring Operation: 167-82=85, Resulting Numbers: [85]\n85,127 unequal: No Solution\nExploring Operation: 82*167=13694, Resulting Numbers: [13694]\n13694,127 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 127:[213], Operations: ['82+61=143', '88-18=70', '143+70=213']\nMoving to Node #0,0,1,0\nCurrent State: 127:[85], Operations: ['18+88=106', '61+106=167', '167-82=85']\nMoving to Node #0,1,1,0\nCurrent State: 127:[85], Operations: ['18+61=79', '88+79=167', '167-82=85']\nMoving to Node #0,3,0,0\nCurrent State: 127:[213], Operations: ['82+61=143', '143-18=125', '88+125=213']\nMoving to Node #0,0,2,0\nCurrent State: 127:[37], Operations: ['18+88=106', '82+61=143', '143-106=37']\nMoving to Node #0,3,0,0\nCurrent State: 127:[37], Operations: ['82+61=143', '143-18=125', '125-88=37']\nMoving to Node #0,3,2,0\nCurrent State: 127:[37], Operations: ['82+61=143', '18+88=106', '143-106=37']\nMoving to Node #0,1,2\nCurrent State: 127:[79, 170], Operations: ['18+61=79', '82+88=170']\nExploring Operation: 170-79=91, Resulting Numbers: [91]\n91,127 unequal: No Solution\nExploring Operation: 79+170=249, Resulting Numbers: [249]\n249,127 unequal: No Solution\nExploring Operation: 79*170=13430, Resulting Numbers: [13430]\n13430,127 unequal: No Solution\nMoving to Node #0,3,3,0\nCurrent State: 127:[249], Operations: ['82+61=143', '18+143=161', '88+161=249']\nMoving to Node #0,1,2,0\nCurrent State: 127:[91], Operations: ['18+61=79', '82+88=170', '170-79=91']\nMoving to Node #0,1,3,0\nCurrent State: 127:[249], Operations: ['18+61=79', '82+79=161', '88+161=249']\nMoving to Node #0,0,1,0\nCurrent State: 127:[249], Operations: ['18+88=106', '61+106=167', '82+167=249']\nMoving to Node #0,1,1,0\nCurrent State: 127:[249], Operations: ['18+61=79', '88+79=167', '82+167=249']\nMoving to Node #0,2,2,0\nCurrent State: 127:[249], Operations: ['82+18=100', '61+100=161', '88+161=249']\nMoving to Node #0,1,2,0\nCurrent State: 127:[249], Operations: ['18+61=79', '82+88=170', '79+170=249']\nMoving to Node #0,0,2,0\nCurrent State: 127:[249], Operations: ['18+88=106', '82+61=143', '106+143=249']\nMoving to Node #0,2,3,0\nCurrent State: 127:[249], Operations: ['82+18=100', '88+61=149', '100+149=249']\nMoving to Node #0,3,2,0\nCurrent State: 127:[249], Operations: ['82+61=143', '18+88=106', '143+106=249']\nMoving to Node #0,2,0\nCurrent State: 127:[100, 27], Operations: ['82+18=100', '88-61=27']\nExploring Operation: 100+27=127, Resulting Numbers: [127]\n127,127 equal: Goal Reached\nFinal operations:\n82+18=100\n88-61=27\n100+27=127",
"role": "assistant"
}
] |
[
82,
18,
88,
61
] | 127
|
bfs_4
|
mult_heuristic
| 0.952257
|
[
{
"content": "Given the numbers [10, 62, 44, 75] and the target 103, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 103:[10, 62, 44, 75], Operations: []",
"role": "assistant"
}
] |
[
10,
62,
44,
75
] | 103
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [17, 21, 103, 2] and the target 67, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 67:[17, 21, 103, 2], Operations: []\nExploring Operation: 21*2=42, Resulting Numbers: [17, 103, 42]\nGenerated Node #0,0: 67:[17, 103, 42] Operation: 21*2=42\nMoving to Node #0,0\nCurrent State: 67:[17, 103, 42], Operations: ['21*2=42']\nExploring Operation: 103-17=86, Resulting Numbers: [42, 86]\nGenerated Node #0,0,0: 67:[42, 86] Operation: 103-17=86\nMoving to Node #0,0,0\nCurrent State: 67:[42, 86], Operations: ['21*2=42', '103-17=86']\nExploring Operation: 86-42=44, Resulting Numbers: [44]\n44,67 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 67:[42, 86], Operations: ['21*2=42', '103-17=86']\nExploring Operation: 42+86=128, Resulting Numbers: [128]\n128,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[17, 103, 42], Operations: ['21*2=42']\nExploring Operation: 17+42=59, Resulting Numbers: [103, 59]\nGenerated Node #0,0,1: 67:[103, 59] Operation: 17+42=59\nMoving to Node #0,0,1\nCurrent State: 67:[103, 59], Operations: ['21*2=42', '17+42=59']\nExploring Operation: 103-59=44, Resulting Numbers: [44]\n44,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[17, 103, 42], Operations: ['21*2=42']\nExploring Operation: 103-42=61, Resulting Numbers: [17, 61]\nGenerated Node #0,0,2: 67:[17, 61] Operation: 103-42=61\nMoving to Node #0,0,2\nCurrent State: 67:[17, 61], Operations: ['21*2=42', '103-42=61']\nExploring Operation: 17+61=78, Resulting Numbers: [78]\n78,67 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 67:[17, 61], Operations: ['21*2=42', '103-42=61']\nExploring Operation: 61-17=44, Resulting Numbers: [44]\n44,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[17, 103, 42], Operations: ['21*2=42']\nExploring Operation: 17+103=120, Resulting Numbers: [42, 120]\nGenerated Node #0,0,3: 67:[42, 120] Operation: 17+103=120\nMoving to Node #0,0,3\nCurrent State: 67:[42, 120], Operations: ['21*2=42', '17+103=120']\nExploring Operation: 120-42=78, Resulting Numbers: [78]\n78,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[17, 103, 42], Operations: ['21*2=42']\nExploring Operation: 42-17=25, Resulting Numbers: [103, 25]\nGenerated Node #0,0,4: 67:[103, 25] Operation: 42-17=25\nMoving to Node #0,0,4\nCurrent State: 67:[103, 25], Operations: ['21*2=42', '42-17=25']\nExploring Operation: 103-25=78, Resulting Numbers: [78]\n78,67 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 67:[103, 25], Operations: ['21*2=42', '42-17=25']\nExploring Operation: 103+25=128, Resulting Numbers: [128]\n128,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[17, 103, 42], Operations: ['21*2=42']\nExploring Operation: 103+42=145, Resulting Numbers: [17, 145]\nGenerated Node #0,0,5: 67:[17, 145] Operation: 103+42=145\nMoving to Node #0,0,5\nCurrent State: 67:[17, 145], Operations: ['21*2=42', '103+42=145']\nExploring Operation: 145-17=128, Resulting Numbers: [128]\n128,67 unequal: No Solution\nMoving to Node #0\nCurrent State: 67:[17, 21, 103, 2], Operations: []\nExploring Operation: 17*2=34, Resulting Numbers: [21, 103, 34]\nGenerated Node #0,1: 67:[21, 103, 34] Operation: 17*2=34\nMoving to Node #0,1\nCurrent State: 67:[21, 103, 34], Operations: ['17*2=34']\nExploring Operation: 103-21=82, Resulting Numbers: [34, 82]\nGenerated Node #0,1,0: 67:[34, 82] Operation: 103-21=82\nMoving to Node #0,1,0\nCurrent State: 67:[34, 82], Operations: ['17*2=34', '103-21=82']\nExploring Operation: 82-34=48, Resulting Numbers: [48]\n48,67 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 67:[34, 82], Operations: ['17*2=34', '103-21=82']\nExploring Operation: 34+82=116, Resulting Numbers: [116]\n116,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[21, 103, 34], Operations: ['17*2=34']\nExploring Operation: 21+34=55, Resulting Numbers: [103, 55]\nGenerated Node #0,1,1: 67:[103, 55] Operation: 21+34=55\nMoving to Node #0,1,1\nCurrent State: 67:[103, 55], Operations: ['17*2=34', '21+34=55']\nExploring Operation: 103-55=48, Resulting Numbers: [48]\n48,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[21, 103, 34], Operations: ['17*2=34']\nExploring Operation: 103-34=69, Resulting Numbers: [21, 69]\nGenerated Node #0,1,2: 67:[21, 69] Operation: 103-34=69\nMoving to Node #0,1,2\nCurrent State: 67:[21, 69], Operations: ['17*2=34', '103-34=69']\nExploring Operation: 69-21=48, Resulting Numbers: [48]\n48,67 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 67:[21, 69], Operations: ['17*2=34', '103-34=69']\nExploring Operation: 21+69=90, Resulting Numbers: [90]\n90,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[21, 103, 34], Operations: ['17*2=34']\nExploring Operation: 21+103=124, Resulting Numbers: [34, 124]\nGenerated Node #0,1,3: 67:[34, 124] Operation: 21+103=124\nMoving to Node #0,1,3\nCurrent State: 67:[34, 124], Operations: ['17*2=34', '21+103=124']\nExploring Operation: 124-34=90, Resulting Numbers: [90]\n90,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[21, 103, 34], Operations: ['17*2=34']\nExploring Operation: 34-21=13, Resulting Numbers: [103, 13]\nGenerated Node #0,1,4: 67:[103, 13] Operation: 34-21=13\nMoving to Node #0,1,4\nCurrent State: 67:[103, 13], Operations: ['17*2=34', '34-21=13']\nExploring Operation: 103-13=90, Resulting Numbers: [90]\n90,67 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 67:[103, 13], Operations: ['17*2=34', '34-21=13']\nExploring Operation: 103+13=116, Resulting Numbers: [116]\n116,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[21, 103, 34], Operations: ['17*2=34']\nExploring Operation: 103+34=137, Resulting Numbers: [21, 137]\nGenerated Node #0,1,5: 67:[21, 137] Operation: 103+34=137\nMoving to Node #0,1,5\nCurrent State: 67:[21, 137], Operations: ['17*2=34', '103+34=137']\nExploring Operation: 137-21=116, Resulting Numbers: [116]\n116,67 unequal: No Solution\nMoving to Node #0\nCurrent State: 67:[17, 21, 103, 2], Operations: []\nExploring Operation: 17+21=38, Resulting Numbers: [103, 2, 38]\nGenerated Node #0,2: 67:[103, 2, 38] Operation: 17+21=38\nMoving to Node #0,2\nCurrent State: 67:[103, 2, 38], Operations: ['17+21=38']\nExploring Operation: 2*38=76, Resulting Numbers: [103, 76]\nGenerated Node #0,2,0: 67:[103, 76] Operation: 2*38=76\nMoving to Node #0,2,0\nCurrent State: 67:[103, 76], Operations: ['17+21=38', '2*38=76']\nExploring Operation: 103-76=27, Resulting Numbers: [27]\n27,67 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 67:[103, 2, 38], Operations: ['17+21=38']\nExploring Operation: 103-2=101, Resulting Numbers: [38, 101]\nGenerated Node #0,2,1: 67:[38, 101] Operation: 103-2=101\nMoving to Node #0,2,1\nCurrent State: 67:[38, 101], Operations: ['17+21=38', '103-2=101']\nExploring Operation: 101-38=63, Resulting Numbers: [63]\n63,67 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 67:[103, 2, 38], Operations: ['17+21=38']\nExploring Operation: 2+38=40, Resulting Numbers: [103, 40]\nGenerated Node #0,2,2: 67:[103, 40] Operation: 2+38=40\nMoving to Node #0,2,2\nCurrent State: 67:[103, 40], Operations: ['17+21=38', '2+38=40']\nExploring Operation: 103-40=63, Resulting Numbers: [63]\n63,67 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 67:[103, 2, 38], Operations: ['17+21=38']\nExploring Operation: 103+2=105, Resulting Numbers: [38, 105]\nGenerated Node #0,2,3: 67:[38, 105] Operation: 103+2=105\nMoving to Node #0,2,3\nCurrent State: 67:[38, 105], Operations: ['17+21=38', '103+2=105']\nExploring Operation: 105-38=67, Resulting Numbers: [67]\n67,67 equal: Goal Reached\nFinal operations:\n17+21=38\n103+2=105\n105-38=67",
"role": "assistant"
}
] |
[
17,
21,
103,
2
] | 67
|
dfs
|
sum_heuristic
| 0.963542
|
[
{
"content": "Given the numbers [124, 140, 57, 51] and the target 10, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 10:[124, 140, 57, 51], Operations: []",
"role": "assistant"
}
] |
[
124,
140,
57,
51
] | 10
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [8, 47, 13, 11] and the target 31, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 31:[8, 47, 13, 11], Operations: []\nExploring Operation: 47-8=39, Resulting Numbers: [13, 11, 39]\nGenerated Node #0,0: 31:[13, 11, 39] Operation: 47-8=39\nMoving to Node #0,0\nCurrent State: 31:[13, 11, 39], Operations: ['47-8=39']\nExploring Operation: 13+11=24, Resulting Numbers: [39, 24]\nGenerated Node #0,0,0: 31:[39, 24] Operation: 13+11=24\nMoving to Node #0,0,0\nCurrent State: 31:[39, 24], Operations: ['47-8=39', '13+11=24']\nExploring Operation: 39-24=15, Resulting Numbers: [15]\n15,31 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 31:[15], Operations: ['47-8=39', '13+11=24', '39-24=15']",
"role": "assistant"
}
] |
[
8,
47,
13,
11
] | 31
|
bfs_1
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [95, 171, 193, 140] and the target 67, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 67:[95, 171, 193, 140], Operations: []",
"role": "assistant"
}
] |
[
95,
171,
193,
140
] | 67
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [34, 111, 108, 188] and the target 74, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 74:[34, 111, 108, 188], Operations: []\nExploring Operation: 188-111=77, Resulting Numbers: [34, 108, 77]\nGenerated Node #0,0: 74:[34, 108, 77] Operation: 188-111=77\nMoving to Node #0,0\nCurrent State: 74:[34, 108, 77], Operations: ['188-111=77']\nExploring Operation: 108-34=74, Resulting Numbers: [77, 74]\nGenerated Node #0,0,0: 74:[77, 74] Operation: 108-34=74\nMoving to Node #0,0,0\nCurrent State: 74:[77, 74], Operations: ['188-111=77', '108-34=74']\nExploring Operation: 77-74=3, Resulting Numbers: [3]\n3,74 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 74:[3], Operations: ['188-111=77', '108-34=74', '77-74=3']",
"role": "assistant"
}
] |
[
34,
111,
108,
188
] | 74
|
bfs_1
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [36, 58, 117, 143] and the target 14, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 14:[36, 58, 117, 143], Operations: []",
"role": "assistant"
}
] |
[
36,
58,
117,
143
] | 14
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [181, 175, 13, 7] and the target 199, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 13*7=91, Resulting Numbers: [181, 175, 91]\nGenerated Node #0,0: 199:[181, 175, 91] Operation: 13*7=91\nMoving to Node #0,0\nCurrent State: 199:[181, 175, 91], Operations: ['13*7=91']\nExploring Operation: 175+91=266, Resulting Numbers: [181, 266]\nGenerated Node #0,0,0: 199:[181, 266] Operation: 175+91=266\nMoving to Node #0,0,0\nCurrent State: 199:[181, 266], Operations: ['13*7=91', '175+91=266']\nExploring Operation: 266-181=85, Resulting Numbers: [85]\n85,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[181, 175, 91], Operations: ['13*7=91']\nExploring Operation: 181+91=272, Resulting Numbers: [175, 272]\nGenerated Node #0,0,1: 199:[175, 272] Operation: 181+91=272\nMoving to Node #0,0,1\nCurrent State: 199:[175, 272], Operations: ['13*7=91', '181+91=272']\nExploring Operation: 272-175=97, Resulting Numbers: [97]\n97,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[181, 175, 91], Operations: ['13*7=91']\nExploring Operation: 181-91=90, Resulting Numbers: [175, 90]\nGenerated Node #0,0,2: 199:[175, 90] Operation: 181-91=90\nMoving to Node #0,0,2\nCurrent State: 199:[175, 90], Operations: ['13*7=91', '181-91=90']\nExploring Operation: 175+90=265, Resulting Numbers: [265]\n265,199 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 199:[175, 90], Operations: ['13*7=91', '181-91=90']\nExploring Operation: 175-90=85, Resulting Numbers: [85]\n85,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[181, 175, 91], Operations: ['13*7=91']\nExploring Operation: 175-91=84, Resulting Numbers: [181, 84]\nGenerated Node #0,0,3: 199:[181, 84] Operation: 175-91=84\nMoving to Node #0,0,3\nCurrent State: 199:[181, 84], Operations: ['13*7=91', '175-91=84']\nExploring Operation: 181+84=265, Resulting Numbers: [265]\n265,199 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 199:[181, 84], Operations: ['13*7=91', '175-91=84']\nExploring Operation: 181-84=97, Resulting Numbers: [97]\n97,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[181, 175, 91], Operations: ['13*7=91']\nExploring Operation: 181+175=356, Resulting Numbers: [91, 356]\nGenerated Node #0,0,4: 199:[91, 356] Operation: 181+175=356\nMoving to Node #0,0,4\nCurrent State: 199:[91, 356], Operations: ['13*7=91', '181+175=356']\nExploring Operation: 356-91=265, Resulting Numbers: [265]\n265,199 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 199:[181, 175, 91], Operations: ['13*7=91']\nExploring Operation: 181-175=6, Resulting Numbers: [91, 6]\nGenerated Node #0,0,5: 199:[91, 6] Operation: 181-175=6\nMoving to Node #0,0,5\nCurrent State: 199:[91, 6], Operations: ['13*7=91', '181-175=6']\nExploring Operation: 91+6=97, Resulting Numbers: [97]\n97,199 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 199:[91, 6], Operations: ['13*7=91', '181-175=6']\nExploring Operation: 91-6=85, Resulting Numbers: [85]\n85,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 181+13=194, Resulting Numbers: [175, 7, 194]\nGenerated Node #0,1: 199:[175, 7, 194] Operation: 181+13=194\nMoving to Node #0,1\nCurrent State: 199:[175, 7, 194], Operations: ['181+13=194']\nExploring Operation: 175+7=182, Resulting Numbers: [194, 182]\nGenerated Node #0,1,0: 199:[194, 182] Operation: 175+7=182\nMoving to Node #0,1,0\nCurrent State: 199:[194, 182], Operations: ['181+13=194', '175+7=182']\nExploring Operation: 194+182=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 199:[194, 182], Operations: ['181+13=194', '175+7=182']\nExploring Operation: 194-182=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[175, 7, 194], Operations: ['181+13=194']\nExploring Operation: 7+194=201, Resulting Numbers: [175, 201]\nGenerated Node #0,1,1: 199:[175, 201] Operation: 7+194=201\nMoving to Node #0,1,1\nCurrent State: 199:[175, 201], Operations: ['181+13=194', '7+194=201']\nExploring Operation: 201-175=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 199:[175, 201], Operations: ['181+13=194', '7+194=201']\nExploring Operation: 175+201=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[175, 7, 194], Operations: ['181+13=194']\nExploring Operation: 175-7=168, Resulting Numbers: [194, 168]\nGenerated Node #0,1,2: 199:[194, 168] Operation: 175-7=168\nMoving to Node #0,1,2\nCurrent State: 199:[194, 168], Operations: ['181+13=194', '175-7=168']\nExploring Operation: 194+168=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 199:[194, 168], Operations: ['181+13=194', '175-7=168']\nExploring Operation: 194-168=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[175, 7, 194], Operations: ['181+13=194']\nExploring Operation: 194-7=187, Resulting Numbers: [175, 187]\nGenerated Node #0,1,3: 199:[175, 187] Operation: 194-7=187\nMoving to Node #0,1,3\nCurrent State: 199:[175, 187], Operations: ['181+13=194', '194-7=187']\nExploring Operation: 175+187=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 199:[175, 187], Operations: ['181+13=194', '194-7=187']\nExploring Operation: 187-175=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[175, 7, 194], Operations: ['181+13=194']\nExploring Operation: 175/7=25, Resulting Numbers: [194, 25]\nGenerated Node #0,1,4: 199:[194, 25] Operation: 175/7=25\nMoving to Node #0,1,4\nCurrent State: 199:[194, 25], Operations: ['181+13=194', '175/7=25']\nExploring Operation: 194+25=219, Resulting Numbers: [219]\n219,199 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 199:[194, 25], Operations: ['181+13=194', '175/7=25']\nExploring Operation: 194-25=169, Resulting Numbers: [169]\n169,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[175, 7, 194], Operations: ['181+13=194']\nExploring Operation: 175+194=369, Resulting Numbers: [7, 369]\nGenerated Node #0,1,5: 199:[7, 369] Operation: 175+194=369\nMoving to Node #0,1,5\nCurrent State: 199:[7, 369], Operations: ['181+13=194', '175+194=369']\nExploring Operation: 369-7=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 199:[7, 369], Operations: ['181+13=194', '175+194=369']\nExploring Operation: 7+369=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 199:[175, 7, 194], Operations: ['181+13=194']\nExploring Operation: 194-175=19, Resulting Numbers: [7, 19]\nGenerated Node #0,1,6: 199:[7, 19] Operation: 194-175=19\nMoving to Node #0,1,6\nCurrent State: 199:[7, 19], Operations: ['181+13=194', '194-175=19']\nExploring Operation: 7*19=133, Resulting Numbers: [133]\n133,199 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 199:[7, 19], Operations: ['181+13=194', '194-175=19']\nExploring Operation: 7+19=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 199:[7, 19], Operations: ['181+13=194', '194-175=19']\nExploring Operation: 19-7=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 181+7=188, Resulting Numbers: [175, 13, 188]\nGenerated Node #0,2: 199:[175, 13, 188] Operation: 181+7=188\nMoving to Node #0,2\nCurrent State: 199:[175, 13, 188], Operations: ['181+7=188']\nExploring Operation: 175+13=188, Resulting Numbers: [188, 188]\nGenerated Node #0,2,0: 199:[188, 188] Operation: 175+13=188\nMoving to Node #0,2,0\nCurrent State: 199:[188, 188], Operations: ['181+7=188', '175+13=188']\nExploring Operation: 188+188=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 199:[188, 188], Operations: ['181+7=188', '175+13=188']\nExploring Operation: 188/188=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 199:[188, 188], Operations: ['181+7=188', '175+13=188']\nExploring Operation: 188-188=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[175, 13, 188], Operations: ['181+7=188']\nExploring Operation: 13+188=201, Resulting Numbers: [175, 201]\nGenerated Node #0,2,1: 199:[175, 201] Operation: 13+188=201\nMoving to Node #0,2,1\nCurrent State: 199:[175, 201], Operations: ['181+7=188', '13+188=201']\nExploring Operation: 201-175=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 199:[175, 201], Operations: ['181+7=188', '13+188=201']\nExploring Operation: 175+201=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[175, 13, 188], Operations: ['181+7=188']\nExploring Operation: 175-13=162, Resulting Numbers: [188, 162]\nGenerated Node #0,2,2: 199:[188, 162] Operation: 175-13=162\nMoving to Node #0,2,2\nCurrent State: 199:[188, 162], Operations: ['181+7=188', '175-13=162']\nExploring Operation: 188+162=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 199:[188, 162], Operations: ['181+7=188', '175-13=162']\nExploring Operation: 188-162=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[175, 13, 188], Operations: ['181+7=188']\nExploring Operation: 188-13=175, Resulting Numbers: [175, 175]\nGenerated Node #0,2,3: 199:[175, 175] Operation: 188-13=175\nMoving to Node #0,2,3\nCurrent State: 199:[175, 175], Operations: ['181+7=188', '188-13=175']\nExploring Operation: 175+175=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 199:[175, 175], Operations: ['181+7=188', '188-13=175']\nExploring Operation: 175/175=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 199:[175, 175], Operations: ['181+7=188', '188-13=175']\nExploring Operation: 175-175=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[175, 13, 188], Operations: ['181+7=188']\nExploring Operation: 175+188=363, Resulting Numbers: [13, 363]\nGenerated Node #0,2,4: 199:[13, 363] Operation: 175+188=363\nMoving to Node #0,2,4\nCurrent State: 199:[13, 363], Operations: ['181+7=188', '175+188=363']\nExploring Operation: 363-13=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 199:[13, 363], Operations: ['181+7=188', '175+188=363']\nExploring Operation: 13+363=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 199:[175, 13, 188], Operations: ['181+7=188']\nExploring Operation: 188-175=13, Resulting Numbers: [13, 13]\nGenerated Node #0,2,5: 199:[13, 13] Operation: 188-175=13\nMoving to Node #0,2,5\nCurrent State: 199:[13, 13], Operations: ['181+7=188', '188-175=13']\nExploring Operation: 13*13=169, Resulting Numbers: [169]\n169,199 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 199:[13, 13], Operations: ['181+7=188', '188-175=13']\nExploring Operation: 13+13=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 199:[13, 13], Operations: ['181+7=188', '188-175=13']\nExploring Operation: 13/13=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 199:[13, 13], Operations: ['181+7=188', '188-175=13']\nExploring Operation: 13-13=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 175+13=188, Resulting Numbers: [181, 7, 188]\nGenerated Node #0,3: 199:[181, 7, 188] Operation: 175+13=188\nMoving to Node #0,3\nCurrent State: 199:[181, 7, 188], Operations: ['175+13=188']\nExploring Operation: 181+7=188, Resulting Numbers: [188, 188]\nGenerated Node #0,3,0: 199:[188, 188] Operation: 181+7=188\nMoving to Node #0,3,0\nCurrent State: 199:[188, 188], Operations: ['175+13=188', '181+7=188']\nExploring Operation: 188+188=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 199:[188, 188], Operations: ['175+13=188', '181+7=188']\nExploring Operation: 188/188=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 199:[188, 188], Operations: ['175+13=188', '181+7=188']\nExploring Operation: 188-188=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 199:[181, 7, 188], Operations: ['175+13=188']\nExploring Operation: 7+188=195, Resulting Numbers: [181, 195]\nGenerated Node #0,3,1: 199:[181, 195] Operation: 7+188=195\nMoving to Node #0,3,1\nCurrent State: 199:[181, 195], Operations: ['175+13=188', '7+188=195']\nExploring Operation: 181+195=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 199:[181, 195], Operations: ['175+13=188', '7+188=195']\nExploring Operation: 195-181=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 199:[181, 7, 188], Operations: ['175+13=188']\nExploring Operation: 181-7=174, Resulting Numbers: [188, 174]\nGenerated Node #0,3,2: 199:[188, 174] Operation: 181-7=174\nMoving to Node #0,3,2\nCurrent State: 199:[188, 174], Operations: ['175+13=188', '181-7=174']\nExploring Operation: 188+174=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 199:[188, 174], Operations: ['175+13=188', '181-7=174']\nExploring Operation: 188-174=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 199:[181, 7, 188], Operations: ['175+13=188']\nExploring Operation: 188-7=181, Resulting Numbers: [181, 181]\nGenerated Node #0,3,3: 199:[181, 181] Operation: 188-7=181\nMoving to Node #0,3,3\nCurrent State: 199:[181, 181], Operations: ['175+13=188', '188-7=181']\nExploring Operation: 181+181=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 199:[181, 181], Operations: ['175+13=188', '188-7=181']\nExploring Operation: 181/181=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 199:[181, 181], Operations: ['175+13=188', '188-7=181']\nExploring Operation: 181-181=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 199:[181, 7, 188], Operations: ['175+13=188']\nExploring Operation: 181+188=369, Resulting Numbers: [7, 369]\nGenerated Node #0,3,4: 199:[7, 369] Operation: 181+188=369\nMoving to Node #0,3,4\nCurrent State: 199:[7, 369], Operations: ['175+13=188', '181+188=369']\nExploring Operation: 369-7=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 199:[7, 369], Operations: ['175+13=188', '181+188=369']\nExploring Operation: 7+369=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 199:[181, 7, 188], Operations: ['175+13=188']\nExploring Operation: 188-181=7, Resulting Numbers: [7, 7]\nGenerated Node #0,3,5: 199:[7, 7] Operation: 188-181=7\nMoving to Node #0,3,5\nCurrent State: 199:[7, 7], Operations: ['175+13=188', '188-181=7']\nExploring Operation: 7*7=49, Resulting Numbers: [49]\n49,199 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 199:[7, 7], Operations: ['175+13=188', '188-181=7']\nExploring Operation: 7+7=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 199:[7, 7], Operations: ['175+13=188', '188-181=7']\nExploring Operation: 7/7=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 199:[7, 7], Operations: ['175+13=188', '188-181=7']\nExploring Operation: 7-7=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 175+7=182, Resulting Numbers: [181, 13, 182]\nGenerated Node #0,4: 199:[181, 13, 182] Operation: 175+7=182\nMoving to Node #0,4\nCurrent State: 199:[181, 13, 182], Operations: ['175+7=182']\nExploring Operation: 181+13=194, Resulting Numbers: [182, 194]\nGenerated Node #0,4,0: 199:[182, 194] Operation: 181+13=194\nMoving to Node #0,4,0\nCurrent State: 199:[182, 194], Operations: ['175+7=182', '181+13=194']\nExploring Operation: 182+194=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 199:[182, 194], Operations: ['175+7=182', '181+13=194']\nExploring Operation: 194-182=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 199:[181, 13, 182], Operations: ['175+7=182']\nExploring Operation: 13+182=195, Resulting Numbers: [181, 195]\nGenerated Node #0,4,1: 199:[181, 195] Operation: 13+182=195\nMoving to Node #0,4,1\nCurrent State: 199:[181, 195], Operations: ['175+7=182', '13+182=195']\nExploring Operation: 181+195=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 199:[181, 195], Operations: ['175+7=182', '13+182=195']\nExploring Operation: 195-181=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 199:[181, 13, 182], Operations: ['175+7=182']\nExploring Operation: 181-13=168, Resulting Numbers: [182, 168]\nGenerated Node #0,4,2: 199:[182, 168] Operation: 181-13=168\nMoving to Node #0,4,2\nCurrent State: 199:[182, 168], Operations: ['175+7=182', '181-13=168']\nExploring Operation: 182+168=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 199:[182, 168], Operations: ['175+7=182', '181-13=168']\nExploring Operation: 182-168=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 199:[181, 13, 182], Operations: ['175+7=182']\nExploring Operation: 182-13=169, Resulting Numbers: [181, 169]\nGenerated Node #0,4,3: 199:[181, 169] Operation: 182-13=169\nMoving to Node #0,4,3\nCurrent State: 199:[181, 169], Operations: ['175+7=182', '182-13=169']\nExploring Operation: 181+169=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 199:[181, 169], Operations: ['175+7=182', '182-13=169']\nExploring Operation: 181-169=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 199:[181, 13, 182], Operations: ['175+7=182']\nExploring Operation: 182/13=14, Resulting Numbers: [181, 14]\nGenerated Node #0,4,4: 199:[181, 14] Operation: 182/13=14\nMoving to Node #0,4,4\nCurrent State: 199:[181, 14], Operations: ['175+7=182', '182/13=14']\nExploring Operation: 181+14=195, Resulting Numbers: [195]\n195,199 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 199:[181, 14], Operations: ['175+7=182', '182/13=14']\nExploring Operation: 181-14=167, Resulting Numbers: [167]\n167,199 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 199:[181, 13, 182], Operations: ['175+7=182']\nExploring Operation: 181+182=363, Resulting Numbers: [13, 363]\nGenerated Node #0,4,5: 199:[13, 363] Operation: 181+182=363\nMoving to Node #0,4,5\nCurrent State: 199:[13, 363], Operations: ['175+7=182', '181+182=363']\nExploring Operation: 363-13=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 199:[13, 363], Operations: ['175+7=182', '181+182=363']\nExploring Operation: 13+363=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 199:[181, 13, 182], Operations: ['175+7=182']\nExploring Operation: 182-181=1, Resulting Numbers: [13, 1]\nGenerated Node #0,4,6: 199:[13, 1] Operation: 182-181=1\nMoving to Node #0,4,6\nCurrent State: 199:[13, 1], Operations: ['175+7=182', '182-181=1']\nExploring Operation: 13+1=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,4,6\nCurrent State: 199:[13, 1], Operations: ['175+7=182', '182-181=1']\nExploring Operation: 13*1=13, Resulting Numbers: [13]\n13,199 unequal: No Solution\nMoving to Node #0,4,6\nCurrent State: 199:[13, 1], Operations: ['175+7=182', '182-181=1']\nExploring Operation: 13/1=13, Resulting Numbers: [13]\n13,199 unequal: No Solution\nMoving to Node #0,4,6\nCurrent State: 199:[13, 1], Operations: ['175+7=182', '182-181=1']\nExploring Operation: 13-1=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 13+7=20, Resulting Numbers: [181, 175, 20]\nGenerated Node #0,5: 199:[181, 175, 20] Operation: 13+7=20\nMoving to Node #0,5\nCurrent State: 199:[181, 175, 20], Operations: ['13+7=20']\nExploring Operation: 175+20=195, Resulting Numbers: [181, 195]\nGenerated Node #0,5,0: 199:[181, 195] Operation: 175+20=195\nMoving to Node #0,5,0\nCurrent State: 199:[181, 195], Operations: ['13+7=20', '175+20=195']\nExploring Operation: 181+195=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 199:[181, 195], Operations: ['13+7=20', '175+20=195']\nExploring Operation: 195-181=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 199:[181, 175, 20], Operations: ['13+7=20']\nExploring Operation: 181+20=201, Resulting Numbers: [175, 201]\nGenerated Node #0,5,1: 199:[175, 201] Operation: 181+20=201\nMoving to Node #0,5,1\nCurrent State: 199:[175, 201], Operations: ['13+7=20', '181+20=201']\nExploring Operation: 201-175=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 199:[175, 201], Operations: ['13+7=20', '181+20=201']\nExploring Operation: 175+201=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 199:[181, 175, 20], Operations: ['13+7=20']\nExploring Operation: 181-20=161, Resulting Numbers: [175, 161]\nGenerated Node #0,5,2: 199:[175, 161] Operation: 181-20=161\nMoving to Node #0,5,2\nCurrent State: 199:[175, 161], Operations: ['13+7=20', '181-20=161']\nExploring Operation: 175+161=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 199:[175, 161], Operations: ['13+7=20', '181-20=161']\nExploring Operation: 175-161=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 199:[181, 175, 20], Operations: ['13+7=20']\nExploring Operation: 175-20=155, Resulting Numbers: [181, 155]\nGenerated Node #0,5,3: 199:[181, 155] Operation: 175-20=155\nMoving to Node #0,5,3\nCurrent State: 199:[181, 155], Operations: ['13+7=20', '175-20=155']\nExploring Operation: 181+155=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 199:[181, 155], Operations: ['13+7=20', '175-20=155']\nExploring Operation: 181-155=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 199:[181, 175, 20], Operations: ['13+7=20']\nExploring Operation: 181+175=356, Resulting Numbers: [20, 356]\nGenerated Node #0,5,4: 199:[20, 356] Operation: 181+175=356\nMoving to Node #0,5,4\nCurrent State: 199:[20, 356], Operations: ['13+7=20', '181+175=356']\nExploring Operation: 356-20=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 199:[20, 356], Operations: ['13+7=20', '181+175=356']\nExploring Operation: 20+356=376, Resulting Numbers: [376]\n376,199 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 199:[181, 175, 20], Operations: ['13+7=20']\nExploring Operation: 181-175=6, Resulting Numbers: [20, 6]\nGenerated Node #0,5,5: 199:[20, 6] Operation: 181-175=6\nMoving to Node #0,5,5\nCurrent State: 199:[20, 6], Operations: ['13+7=20', '181-175=6']\nExploring Operation: 20*6=120, Resulting Numbers: [120]\n120,199 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 199:[20, 6], Operations: ['13+7=20', '181-175=6']\nExploring Operation: 20+6=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 199:[20, 6], Operations: ['13+7=20', '181-175=6']\nExploring Operation: 20-6=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 181-7=174, Resulting Numbers: [175, 13, 174]\nGenerated Node #0,6: 199:[175, 13, 174] Operation: 181-7=174\nMoving to Node #0,6\nCurrent State: 199:[175, 13, 174], Operations: ['181-7=174']\nExploring Operation: 175+13=188, Resulting Numbers: [174, 188]\nGenerated Node #0,6,0: 199:[174, 188] Operation: 175+13=188\nMoving to Node #0,6,0\nCurrent State: 199:[174, 188], Operations: ['181-7=174', '175+13=188']\nExploring Operation: 174+188=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 199:[174, 188], Operations: ['181-7=174', '175+13=188']\nExploring Operation: 188-174=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 199:[175, 13, 174], Operations: ['181-7=174']\nExploring Operation: 13+174=187, Resulting Numbers: [175, 187]\nGenerated Node #0,6,1: 199:[175, 187] Operation: 13+174=187\nMoving to Node #0,6,1\nCurrent State: 199:[175, 187], Operations: ['181-7=174', '13+174=187']\nExploring Operation: 175+187=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 199:[175, 187], Operations: ['181-7=174', '13+174=187']\nExploring Operation: 187-175=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 199:[175, 13, 174], Operations: ['181-7=174']\nExploring Operation: 175-13=162, Resulting Numbers: [174, 162]\nGenerated Node #0,6,2: 199:[174, 162] Operation: 175-13=162\nMoving to Node #0,6,2\nCurrent State: 199:[174, 162], Operations: ['181-7=174', '175-13=162']\nExploring Operation: 174+162=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 199:[174, 162], Operations: ['181-7=174', '175-13=162']\nExploring Operation: 174-162=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 199:[175, 13, 174], Operations: ['181-7=174']\nExploring Operation: 174-13=161, Resulting Numbers: [175, 161]\nGenerated Node #0,6,3: 199:[175, 161] Operation: 174-13=161\nMoving to Node #0,6,3\nCurrent State: 199:[175, 161], Operations: ['181-7=174', '174-13=161']\nExploring Operation: 175+161=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 199:[175, 161], Operations: ['181-7=174', '174-13=161']\nExploring Operation: 175-161=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 199:[175, 13, 174], Operations: ['181-7=174']\nExploring Operation: 175+174=349, Resulting Numbers: [13, 349]\nGenerated Node #0,6,4: 199:[13, 349] Operation: 175+174=349\nMoving to Node #0,6,4\nCurrent State: 199:[13, 349], Operations: ['181-7=174', '175+174=349']\nExploring Operation: 349-13=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 199:[13, 349], Operations: ['181-7=174', '175+174=349']\nExploring Operation: 13+349=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 199:[175, 13, 174], Operations: ['181-7=174']\nExploring Operation: 175-174=1, Resulting Numbers: [13, 1]\nGenerated Node #0,6,5: 199:[13, 1] Operation: 175-174=1\nMoving to Node #0,6,5\nCurrent State: 199:[13, 1], Operations: ['181-7=174', '175-174=1']\nExploring Operation: 13+1=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 199:[13, 1], Operations: ['181-7=174', '175-174=1']\nExploring Operation: 13*1=13, Resulting Numbers: [13]\n13,199 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 199:[13, 1], Operations: ['181-7=174', '175-174=1']\nExploring Operation: 13/1=13, Resulting Numbers: [13]\n13,199 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 199:[13, 1], Operations: ['181-7=174', '175-174=1']\nExploring Operation: 13-1=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 175-7=168, Resulting Numbers: [181, 13, 168]\nGenerated Node #0,7: 199:[181, 13, 168] Operation: 175-7=168\nMoving to Node #0,7\nCurrent State: 199:[181, 13, 168], Operations: ['175-7=168']\nExploring Operation: 181+13=194, Resulting Numbers: [168, 194]\nGenerated Node #0,7,0: 199:[168, 194] Operation: 181+13=194\nMoving to Node #0,7,0\nCurrent State: 199:[168, 194], Operations: ['175-7=168', '181+13=194']\nExploring Operation: 168+194=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 199:[168, 194], Operations: ['175-7=168', '181+13=194']\nExploring Operation: 194-168=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 199:[181, 13, 168], Operations: ['175-7=168']\nExploring Operation: 13+168=181, Resulting Numbers: [181, 181]\nGenerated Node #0,7,1: 199:[181, 181] Operation: 13+168=181\nMoving to Node #0,7,1\nCurrent State: 199:[181, 181], Operations: ['175-7=168', '13+168=181']\nExploring Operation: 181+181=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 199:[181, 181], Operations: ['175-7=168', '13+168=181']\nExploring Operation: 181/181=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 199:[181, 181], Operations: ['175-7=168', '13+168=181']\nExploring Operation: 181-181=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 199:[181, 13, 168], Operations: ['175-7=168']\nExploring Operation: 181-13=168, Resulting Numbers: [168, 168]\nGenerated Node #0,7,2: 199:[168, 168] Operation: 181-13=168\nMoving to Node #0,7,2\nCurrent State: 199:[168, 168], Operations: ['175-7=168', '181-13=168']\nExploring Operation: 168+168=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 199:[168, 168], Operations: ['175-7=168', '181-13=168']\nExploring Operation: 168/168=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 199:[168, 168], Operations: ['175-7=168', '181-13=168']\nExploring Operation: 168-168=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 199:[181, 13, 168], Operations: ['175-7=168']\nExploring Operation: 168-13=155, Resulting Numbers: [181, 155]\nGenerated Node #0,7,3: 199:[181, 155] Operation: 168-13=155\nMoving to Node #0,7,3\nCurrent State: 199:[181, 155], Operations: ['175-7=168', '168-13=155']\nExploring Operation: 181+155=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 199:[181, 155], Operations: ['175-7=168', '168-13=155']\nExploring Operation: 181-155=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 199:[181, 13, 168], Operations: ['175-7=168']\nExploring Operation: 181+168=349, Resulting Numbers: [13, 349]\nGenerated Node #0,7,4: 199:[13, 349] Operation: 181+168=349\nMoving to Node #0,7,4\nCurrent State: 199:[13, 349], Operations: ['175-7=168', '181+168=349']\nExploring Operation: 349-13=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 199:[13, 349], Operations: ['175-7=168', '181+168=349']\nExploring Operation: 13+349=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 199:[181, 13, 168], Operations: ['175-7=168']\nExploring Operation: 181-168=13, Resulting Numbers: [13, 13]\nGenerated Node #0,7,5: 199:[13, 13] Operation: 181-168=13\nMoving to Node #0,7,5\nCurrent State: 199:[13, 13], Operations: ['175-7=168', '181-168=13']\nExploring Operation: 13*13=169, Resulting Numbers: [169]\n169,199 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 199:[13, 13], Operations: ['175-7=168', '181-168=13']\nExploring Operation: 13+13=26, Resulting Numbers: [26]\n26,199 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 199:[13, 13], Operations: ['175-7=168', '181-168=13']\nExploring Operation: 13/13=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 199:[13, 13], Operations: ['175-7=168', '181-168=13']\nExploring Operation: 13-13=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 13-7=6, Resulting Numbers: [181, 175, 6]\nGenerated Node #0,8: 199:[181, 175, 6] Operation: 13-7=6\nMoving to Node #0,8\nCurrent State: 199:[181, 175, 6], Operations: ['13-7=6']\nExploring Operation: 181+6=187, Resulting Numbers: [175, 187]\nGenerated Node #0,8,0: 199:[175, 187] Operation: 181+6=187\nMoving to Node #0,8,0\nCurrent State: 199:[175, 187], Operations: ['13-7=6', '181+6=187']\nExploring Operation: 175+187=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 199:[175, 187], Operations: ['13-7=6', '181+6=187']\nExploring Operation: 187-175=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 199:[181, 175, 6], Operations: ['13-7=6']\nExploring Operation: 175+6=181, Resulting Numbers: [181, 181]\nGenerated Node #0,8,1: 199:[181, 181] Operation: 175+6=181\nMoving to Node #0,8,1\nCurrent State: 199:[181, 181], Operations: ['13-7=6', '175+6=181']\nExploring Operation: 181+181=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 199:[181, 181], Operations: ['13-7=6', '175+6=181']\nExploring Operation: 181/181=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 199:[181, 181], Operations: ['13-7=6', '175+6=181']\nExploring Operation: 181-181=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 199:[181, 175, 6], Operations: ['13-7=6']\nExploring Operation: 181-6=175, Resulting Numbers: [175, 175]\nGenerated Node #0,8,2: 199:[175, 175] Operation: 181-6=175\nMoving to Node #0,8,2\nCurrent State: 199:[175, 175], Operations: ['13-7=6', '181-6=175']\nExploring Operation: 175+175=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 199:[175, 175], Operations: ['13-7=6', '181-6=175']\nExploring Operation: 175/175=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 199:[175, 175], Operations: ['13-7=6', '181-6=175']\nExploring Operation: 175-175=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 199:[181, 175, 6], Operations: ['13-7=6']\nExploring Operation: 175-6=169, Resulting Numbers: [181, 169]\nGenerated Node #0,8,3: 199:[181, 169] Operation: 175-6=169\nMoving to Node #0,8,3\nCurrent State: 199:[181, 169], Operations: ['13-7=6', '175-6=169']\nExploring Operation: 181+169=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 199:[181, 169], Operations: ['13-7=6', '175-6=169']\nExploring Operation: 181-169=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 199:[181, 175, 6], Operations: ['13-7=6']\nExploring Operation: 181+175=356, Resulting Numbers: [6, 356]\nGenerated Node #0,8,4: 199:[6, 356] Operation: 181+175=356\nMoving to Node #0,8,4\nCurrent State: 199:[6, 356], Operations: ['13-7=6', '181+175=356']\nExploring Operation: 356-6=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 199:[6, 356], Operations: ['13-7=6', '181+175=356']\nExploring Operation: 6+356=362, Resulting Numbers: [362]\n362,199 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 199:[181, 175, 6], Operations: ['13-7=6']\nExploring Operation: 181-175=6, Resulting Numbers: [6, 6]\nGenerated Node #0,8,5: 199:[6, 6] Operation: 181-175=6\nMoving to Node #0,8,5\nCurrent State: 199:[6, 6], Operations: ['13-7=6', '181-175=6']\nExploring Operation: 6*6=36, Resulting Numbers: [36]\n36,199 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 199:[6, 6], Operations: ['13-7=6', '181-175=6']\nExploring Operation: 6+6=12, Resulting Numbers: [12]\n12,199 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 199:[6, 6], Operations: ['13-7=6', '181-175=6']\nExploring Operation: 6/6=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 199:[6, 6], Operations: ['13-7=6', '181-175=6']\nExploring Operation: 6-6=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0\nCurrent State: 199:[181, 175, 13, 7], Operations: []\nExploring Operation: 181-13=168, Resulting Numbers: [175, 7, 168]\nGenerated Node #0,9: 199:[175, 7, 168] Operation: 181-13=168\nMoving to Node #0,9\nCurrent State: 199:[175, 7, 168], Operations: ['181-13=168']\nExploring Operation: 175+7=182, Resulting Numbers: [168, 182]\nGenerated Node #0,9,0: 199:[168, 182] Operation: 175+7=182\nMoving to Node #0,9,0\nCurrent State: 199:[168, 182], Operations: ['181-13=168', '175+7=182']\nExploring Operation: 168+182=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 199:[168, 182], Operations: ['181-13=168', '175+7=182']\nExploring Operation: 182-168=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 199:[175, 7, 168], Operations: ['181-13=168']\nExploring Operation: 7+168=175, Resulting Numbers: [175, 175]\nGenerated Node #0,9,1: 199:[175, 175] Operation: 7+168=175\nMoving to Node #0,9,1\nCurrent State: 199:[175, 175], Operations: ['181-13=168', '7+168=175']\nExploring Operation: 175+175=350, Resulting Numbers: [350]\n350,199 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 199:[175, 175], Operations: ['181-13=168', '7+168=175']\nExploring Operation: 175/175=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 199:[175, 175], Operations: ['181-13=168', '7+168=175']\nExploring Operation: 175-175=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 199:[175, 7, 168], Operations: ['181-13=168']\nExploring Operation: 175-7=168, Resulting Numbers: [168, 168]\nGenerated Node #0,9,2: 199:[168, 168] Operation: 175-7=168\nMoving to Node #0,9,2\nCurrent State: 199:[168, 168], Operations: ['181-13=168', '175-7=168']\nExploring Operation: 168+168=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 199:[168, 168], Operations: ['181-13=168', '175-7=168']\nExploring Operation: 168/168=1, Resulting Numbers: [1]\n1,199 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 199:[168, 168], Operations: ['181-13=168', '175-7=168']\nExploring Operation: 168-168=0, Resulting Numbers: [0]\n0,199 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 199:[175, 7, 168], Operations: ['181-13=168']\nExploring Operation: 168-7=161, Resulting Numbers: [175, 161]\nGenerated Node #0,9,3: 199:[175, 161] Operation: 168-7=161\nMoving to Node #0,9,3\nCurrent State: 199:[175, 161], Operations: ['181-13=168', '168-7=161']\nExploring Operation: 175+161=336, Resulting Numbers: [336]\n336,199 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 199:[175, 161], Operations: ['181-13=168', '168-7=161']\nExploring Operation: 175-161=14, Resulting Numbers: [14]\n14,199 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 199:[175, 7, 168], Operations: ['181-13=168']\nExploring Operation: 168/7=24, Resulting Numbers: [175, 24]\nGenerated Node #0,9,4: 199:[175, 24] Operation: 168/7=24\nMoving to Node #0,9,4\nCurrent State: 199:[175, 24], Operations: ['181-13=168', '168/7=24']\nExploring Operation: 175+24=199, Resulting Numbers: [199]\n199,199 equal: Goal Reached\nFinal operations:\n181-13=168\n168/7=24\n175+24=199",
"role": "assistant"
}
] |
[
181,
175,
13,
7
] | 199
|
dfs
|
sum_heuristic
| 0.814236
|
[
{
"content": "Given the numbers [15, 12, 175, 19] and the target 14, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 14:[15, 12, 175, 19], Operations: []\nExploring Operation: 19-12=7, Resulting Numbers: [15, 175, 7]\nGenerated Node #0,0: 14:[15, 175, 7] Operation: 19-12=7\nExploring Operation: 19-15=4, Resulting Numbers: [12, 175, 4]\nGenerated Node #0,1: 14:[12, 175, 4] Operation: 19-15=4\nExploring Operation: 175-19=156, Resulting Numbers: [15, 12, 156]\nGenerated Node #0,2: 14:[15, 12, 156] Operation: 175-19=156\nExploring Operation: 175-15=160, Resulting Numbers: [12, 19, 160]\nGenerated Node #0,3: 14:[12, 19, 160] Operation: 175-15=160\nExploring Operation: 175-12=163, Resulting Numbers: [15, 19, 163]\nGenerated Node #0,4: 14:[15, 19, 163] Operation: 175-12=163\nMoving to Node #0,2\nCurrent State: 14:[15, 12, 156], Operations: ['175-19=156']\nExploring Operation: 156-15=141, Resulting Numbers: [12, 141]\nGenerated Node #0,2,0: 14:[12, 141] Operation: 156-15=141\nExploring Operation: 15-12=3, Resulting Numbers: [156, 3]\nGenerated Node #0,2,1: 14:[156, 3] Operation: 15-12=3\nExploring Operation: 15+12=27, Resulting Numbers: [156, 27]\nGenerated Node #0,2,2: 14:[156, 27] Operation: 15+12=27\nExploring Operation: 156-12=144, Resulting Numbers: [15, 144]\nGenerated Node #0,2,3: 14:[15, 144] Operation: 156-12=144\nExploring Operation: 156/12=13, Resulting Numbers: [15, 13]\nGenerated Node #0,2,4: 14:[15, 13] Operation: 156/12=13\nMoving to Node #0,3\nCurrent State: 14:[12, 19, 160], Operations: ['175-15=160']\nExploring Operation: 160-12=148, Resulting Numbers: [19, 148]\nGenerated Node #0,3,0: 14:[19, 148] Operation: 160-12=148\nExploring Operation: 19-12=7, Resulting Numbers: [160, 7]\nGenerated Node #0,3,1: 14:[160, 7] Operation: 19-12=7\nExploring Operation: 160-19=141, Resulting Numbers: [12, 141]\nGenerated Node #0,3,2: 14:[12, 141] Operation: 160-19=141\nExploring Operation: 12+19=31, Resulting Numbers: [160, 31]\nGenerated Node #0,3,3: 14:[160, 31] Operation: 12+19=31\nExploring Operation: 12+160=172, Resulting Numbers: [19, 172]\nGenerated Node #0,3,4: 14:[19, 172] Operation: 12+160=172\nMoving to Node #0,4\nCurrent State: 14:[15, 19, 163], Operations: ['175-12=163']\nExploring Operation: 15+19=34, Resulting Numbers: [163, 34]\nGenerated Node #0,4,0: 14:[163, 34] Operation: 15+19=34\nExploring Operation: 19-15=4, Resulting Numbers: [163, 4]\nGenerated Node #0,4,1: 14:[163, 4] Operation: 19-15=4\nExploring Operation: 15+163=178, Resulting Numbers: [19, 178]\nGenerated Node #0,4,2: 14:[19, 178] Operation: 15+163=178\nExploring Operation: 163-15=148, Resulting Numbers: [19, 148]\nGenerated Node #0,4,3: 14:[19, 148] Operation: 163-15=148\nExploring Operation: 163-19=144, Resulting Numbers: [15, 144]\nGenerated Node #0,4,4: 14:[15, 144] Operation: 163-19=144\nMoving to Node #0,0\nCurrent State: 14:[15, 175, 7], Operations: ['19-12=7']\nExploring Operation: 175/7=25, Resulting Numbers: [15, 25]\nGenerated Node #0,0,0: 14:[15, 25] Operation: 175/7=25\nExploring Operation: 15-7=8, Resulting Numbers: [175, 8]\nGenerated Node #0,0,1: 14:[175, 8] Operation: 15-7=8\nExploring Operation: 175-7=168, Resulting Numbers: [15, 168]\nGenerated Node #0,0,2: 14:[15, 168] Operation: 175-7=168\nExploring Operation: 175-15=160, Resulting Numbers: [7, 160]\nGenerated Node #0,0,3: 14:[7, 160] Operation: 175-15=160\nExploring Operation: 15+7=22, Resulting Numbers: [175, 22]\nGenerated Node #0,0,4: 14:[175, 22] Operation: 15+7=22\nMoving to Node #0,1\nCurrent State: 14:[12, 175, 4], Operations: ['19-15=4']\nExploring Operation: 175-12=163, Resulting Numbers: [4, 163]\nGenerated Node #0,1,0: 14:[4, 163] Operation: 175-12=163\nExploring Operation: 12+4=16, Resulting Numbers: [175, 16]\nGenerated Node #0,1,1: 14:[175, 16] Operation: 12+4=16\nExploring Operation: 175-4=171, Resulting Numbers: [12, 171]\nGenerated Node #0,1,2: 14:[12, 171] Operation: 175-4=171\nExploring Operation: 12-4=8, Resulting Numbers: [175, 8]\nGenerated Node #0,1,3: 14:[175, 8] Operation: 12-4=8\nExploring Operation: 12/4=3, Resulting Numbers: [175, 3]\nGenerated Node #0,1,4: 14:[175, 3] Operation: 12/4=3\nMoving to Node #0,2,4\nCurrent State: 14:[15, 13], Operations: ['175-19=156', '156/12=13']\nExploring Operation: 15+13=28, Resulting Numbers: [28]\n28,14 unequal: No Solution\nExploring Operation: 15*13=195, Resulting Numbers: [195]\n195,14 unequal: No Solution\nExploring Operation: 15-13=2, Resulting Numbers: [2]\n2,14 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 14:[15, 25], Operations: ['19-12=7', '175/7=25']\nExploring Operation: 25-15=10, Resulting Numbers: [10]\n10,14 unequal: No Solution\nExploring Operation: 15+25=40, Resulting Numbers: [40]\n40,14 unequal: No Solution\nExploring Operation: 15*25=375, Resulting Numbers: [375]\n375,14 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 14:[12, 141], Operations: ['175-15=160', '160-19=141']\nExploring Operation: 141-12=129, Resulting Numbers: [129]\n129,14 unequal: No Solution\nExploring Operation: 12+141=153, Resulting Numbers: [153]\n153,14 unequal: No Solution\nExploring Operation: 12*141=1692, Resulting Numbers: [1692]\n1692,14 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 14:[12, 141], Operations: ['175-19=156', '156-15=141']\nExploring Operation: 141-12=129, Resulting Numbers: [129]\n129,14 unequal: No Solution\nExploring Operation: 12+141=153, Resulting Numbers: [153]\n153,14 unequal: No Solution\nExploring Operation: 12*141=1692, Resulting Numbers: [1692]\n1692,14 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 14:[15, 144], Operations: ['175-19=156', '156-12=144']\nExploring Operation: 15+144=159, Resulting Numbers: [159]\n159,14 unequal: No Solution\nExploring Operation: 144-15=129, Resulting Numbers: [129]\n129,14 unequal: No Solution\nExploring Operation: 15*144=2160, Resulting Numbers: [2160]\n2160,14 unequal: No Solution\nMoving to Node #0,2,4,0\nCurrent State: 14:[2], Operations: ['175-19=156', '156/12=13', '15-13=2']\nMoving to Node #0,0,0,0\nCurrent State: 14:[10], Operations: ['19-12=7', '175/7=25', '25-15=10']\nMoving to Node #0,2,4,0\nCurrent State: 14:[28], Operations: ['175-19=156', '156/12=13', '15+13=28']\nMoving to Node #0,0,0,0\nCurrent State: 14:[40], Operations: ['19-12=7', '175/7=25', '15+25=40']\nMoving to Node #0,2,0,0\nCurrent State: 14:[129], Operations: ['175-19=156', '156-15=141', '141-12=129']\nMoving to Node #0,3,2,0\nCurrent State: 14:[129], Operations: ['175-15=160', '160-19=141', '141-12=129']\nMoving to Node #0,2,3,0\nCurrent State: 14:[129], Operations: ['175-19=156', '156-12=144', '144-15=129']\nMoving to Node #0,4,4\nCurrent State: 14:[15, 144], Operations: ['175-12=163', '163-19=144']\nExploring Operation: 15+144=159, Resulting Numbers: [159]\n159,14 unequal: No Solution\nExploring Operation: 15*144=2160, Resulting Numbers: [2160]\n2160,14 unequal: No Solution\nExploring Operation: 144-15=129, Resulting Numbers: [129]\n129,14 unequal: No Solution\nMoving to Node #0,3,2,0\nCurrent State: 14:[153], Operations: ['175-15=160', '160-19=141', '12+141=153']\nMoving to Node #0,2,0,0\nCurrent State: 14:[153], Operations: ['175-19=156', '156-15=141', '12+141=153']\nMoving to Node #0,4,4,0\nCurrent State: 14:[129], Operations: ['175-12=163', '163-19=144', '144-15=129']\nMoving to Node #0,3,0\nCurrent State: 14:[19, 148], Operations: ['175-15=160', '160-12=148']\nExploring Operation: 19*148=2812, Resulting Numbers: [2812]\n2812,14 unequal: No Solution\nExploring Operation: 19+148=167, Resulting Numbers: [167]\n167,14 unequal: No Solution\nExploring Operation: 148-19=129, Resulting Numbers: [129]\n129,14 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 14:[19, 148], Operations: ['175-12=163', '163-15=148']\nExploring Operation: 19+148=167, Resulting Numbers: [167]\n167,14 unequal: No Solution\nExploring Operation: 148-19=129, Resulting Numbers: [129]\n129,14 unequal: No Solution\nExploring Operation: 19*148=2812, Resulting Numbers: [2812]\n2812,14 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 14:[156, 3], Operations: ['175-19=156', '15-12=3']\nExploring Operation: 156/3=52, Resulting Numbers: [52]\n52,14 unequal: No Solution\nExploring Operation: 156*3=468, Resulting Numbers: [468]\n468,14 unequal: No Solution\nExploring Operation: 156-3=153, Resulting Numbers: [153]\n153,14 unequal: No Solution\nExploring Operation: 156+3=159, Resulting Numbers: [159]\n159,14 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 14:[159], Operations: ['175-12=163', '163-19=144', '15+144=159']\nMoving to Node #0,2,1,0\nCurrent State: 14:[52], Operations: ['175-19=156', '15-12=3', '156/3=52']\nMoving to Node #0,3,0,0\nCurrent State: 14:[129], Operations: ['175-15=160', '160-12=148', '148-19=129']\nMoving to Node #0,4,3,0\nCurrent State: 14:[129], Operations: ['175-12=163', '163-15=148', '148-19=129']\nMoving to Node #0,2,1,0\nCurrent State: 14:[153], Operations: ['175-19=156', '15-12=3', '156-3=153']\nMoving to Node #0,2,3,0\nCurrent State: 14:[159], Operations: ['175-19=156', '156-12=144', '15+144=159']\nMoving to Node #0,2,1,0\nCurrent State: 14:[159], Operations: ['175-19=156', '15-12=3', '156+3=159']\nMoving to Node #0,0,3\nCurrent State: 14:[7, 160], Operations: ['19-12=7', '175-15=160']\nExploring Operation: 160-7=153, Resulting Numbers: [153]\n153,14 unequal: No Solution\nExploring Operation: 7*160=1120, Resulting Numbers: [1120]\n1120,14 unequal: No Solution\nExploring Operation: 7+160=167, Resulting Numbers: [167]\n167,14 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 14:[160, 7], Operations: ['175-15=160', '19-12=7']\nExploring Operation: 160-7=153, Resulting Numbers: [153]\n153,14 unequal: No Solution\nExploring Operation: 160+7=167, Resulting Numbers: [167]\n167,14 unequal: No Solution\nExploring Operation: 160*7=1120, Resulting Numbers: [1120]\n1120,14 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 14:[163, 4], Operations: ['175-12=163', '19-15=4']\nExploring Operation: 163+4=167, Resulting Numbers: [167]\n167,14 unequal: No Solution\nExploring Operation: 163-4=159, Resulting Numbers: [159]\n159,14 unequal: No Solution\nExploring Operation: 163*4=652, Resulting Numbers: [652]\n652,14 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 14:[4, 163], Operations: ['19-15=4', '175-12=163']\nExploring Operation: 4+163=167, Resulting Numbers: [167]\n167,14 unequal: No Solution\nExploring Operation: 4*163=652, Resulting Numbers: [652]\n652,14 unequal: No Solution\nExploring Operation: 163-4=159, Resulting Numbers: [159]\n159,14 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 14:[153], Operations: ['19-12=7', '175-15=160', '160-7=153']\nMoving to Node #0,3,1,0\nCurrent State: 14:[153], Operations: ['175-15=160', '19-12=7', '160-7=153']\nMoving to Node #0,4,1,0\nCurrent State: 14:[159], Operations: ['175-12=163', '19-15=4', '163-4=159']\nMoving to Node #0,1,0,0\nCurrent State: 14:[159], Operations: ['19-15=4', '175-12=163', '163-4=159']\nMoving to Node #0,3,1,0\nCurrent State: 14:[167], Operations: ['175-15=160', '19-12=7', '160+7=167']\nMoving to Node #0,4,1,0\nCurrent State: 14:[167], Operations: ['175-12=163', '19-15=4', '163+4=167']\nMoving to Node #0,4,3,0\nCurrent State: 14:[167], Operations: ['175-12=163', '163-15=148', '19+148=167']\nMoving to Node #0,3,0,0\nCurrent State: 14:[167], Operations: ['175-15=160', '160-12=148', '19+148=167']\nMoving to Node #0,0,3,0\nCurrent State: 14:[167], Operations: ['19-12=7', '175-15=160', '7+160=167']\nMoving to Node #0,1,0,0\nCurrent State: 14:[167], Operations: ['19-15=4', '175-12=163', '4+163=167']\nMoving to Node #0,2,2\nCurrent State: 14:[156, 27], Operations: ['175-19=156', '15+12=27']\nExploring Operation: 156-27=129, Resulting Numbers: [129]\n129,14 unequal: No Solution\nExploring Operation: 156+27=183, Resulting Numbers: [183]\n183,14 unequal: No Solution\nExploring Operation: 156*27=4212, Resulting Numbers: [4212]\n4212,14 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 14:[15, 168], Operations: ['19-12=7', '175-7=168']\nExploring Operation: 15*168=2520, Resulting Numbers: [2520]\n2520,14 unequal: No Solution\nExploring Operation: 168-15=153, Resulting Numbers: [153]\n153,14 unequal: No Solution\nExploring Operation: 15+168=183, Resulting Numbers: [183]\n183,14 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 14:[12, 171], Operations: ['19-15=4', '175-4=171']\nExploring Operation: 12+171=183, Resulting Numbers: [183]\n183,14 unequal: No Solution\nExploring Operation: 12*171=2052, Resulting Numbers: [2052]\n2052,14 unequal: No Solution\nExploring Operation: 171-12=159, Resulting Numbers: [159]\n159,14 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 14:[175, 3], Operations: ['19-15=4', '12/4=3']\nExploring Operation: 175+3=178, Resulting Numbers: [178]\n178,14 unequal: No Solution\nExploring Operation: 175*3=525, Resulting Numbers: [525]\n525,14 unequal: No Solution\nExploring Operation: 175-3=172, Resulting Numbers: [172]\n172,14 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 14:[175, 8], Operations: ['19-15=4', '12-4=8']\nExploring Operation: 175-8=167, Resulting Numbers: [167]\n167,14 unequal: No Solution\nExploring Operation: 175+8=183, Resulting Numbers: [183]\n183,14 unequal: No Solution\nExploring Operation: 175*8=1400, Resulting Numbers: [1400]\n1400,14 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 14:[129], Operations: ['175-19=156', '15+12=27', '156-27=129']\nMoving to Node #0,0,2,0\nCurrent State: 14:[153], Operations: ['19-12=7', '175-7=168', '168-15=153']\nMoving to Node #0,1,2,0\nCurrent State: 14:[159], Operations: ['19-15=4', '175-4=171', '171-12=159']\nMoving to Node #0,1,3,0\nCurrent State: 14:[167], Operations: ['19-15=4', '12-4=8', '175-8=167']\nMoving to Node #0,1,4,0\nCurrent State: 14:[172], Operations: ['19-15=4', '12/4=3', '175-3=172']\nMoving to Node #0,0,1\nCurrent State: 14:[175, 8], Operations: ['19-12=7', '15-7=8']\nExploring Operation: 175*8=1400, Resulting Numbers: [1400]\n1400,14 unequal: No Solution\nExploring Operation: 175+8=183, Resulting Numbers: [183]\n183,14 unequal: No Solution\nExploring Operation: 175-8=167, Resulting Numbers: [167]\n167,14 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 14:[19, 172], Operations: ['175-15=160', '12+160=172']\nExploring Operation: 172-19=153, Resulting Numbers: [153]\n153,14 unequal: No Solution\nExploring Operation: 19+172=191, Resulting Numbers: [191]\n191,14 unequal: No Solution\nExploring Operation: 19*172=3268, Resulting Numbers: [3268]\n3268,14 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 14:[160, 31], Operations: ['175-15=160', '12+19=31']\nExploring Operation: 160+31=191, Resulting Numbers: [191]\n191,14 unequal: No Solution\nExploring Operation: 160-31=129, Resulting Numbers: [129]\n129,14 unequal: No Solution\nExploring Operation: 160*31=4960, Resulting Numbers: [4960]\n4960,14 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 14:[175, 16], Operations: ['19-15=4', '12+4=16']\nExploring Operation: 175+16=191, Resulting Numbers: [191]\n191,14 unequal: No Solution\nExploring Operation: 175*16=2800, Resulting Numbers: [2800]\n2800,14 unequal: No Solution\nExploring Operation: 175-16=159, Resulting Numbers: [159]\n159,14 unequal: No Solution\nMoving to Node #0,1,4,0\nCurrent State: 14:[178], Operations: ['19-15=4', '12/4=3', '175+3=178']\nMoving to Node #0,3,3,0\nCurrent State: 14:[129], Operations: ['175-15=160', '12+19=31', '160-31=129']\nMoving to Node #0,3,4,0\nCurrent State: 14:[153], Operations: ['175-15=160', '12+160=172', '172-19=153']\nMoving to Node #0,1,1,0\nCurrent State: 14:[159], Operations: ['19-15=4', '12+4=16', '175-16=159']\nMoving to Node #0,0,1,0\nCurrent State: 14:[167], Operations: ['19-12=7', '15-7=8', '175-8=167']\nMoving to Node #0,1,2,0\nCurrent State: 14:[183], Operations: ['19-15=4', '175-4=171', '12+171=183']\nMoving to Node #0,0,2,0\nCurrent State: 14:[183], Operations: ['19-12=7', '175-7=168', '15+168=183']\nMoving to Node #0,0,1,0\nCurrent State: 14:[183], Operations: ['19-12=7', '15-7=8', '175+8=183']\nMoving to Node #0,4,2\nCurrent State: 14:[19, 178], Operations: ['175-12=163', '15+163=178']\nExploring Operation: 19+178=197, Resulting Numbers: [197]\n197,14 unequal: No Solution\nExploring Operation: 19*178=3382, Resulting Numbers: [3382]\n3382,14 unequal: No Solution\nExploring Operation: 178-19=159, Resulting Numbers: [159]\n159,14 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 14:[175, 22], Operations: ['19-12=7', '15+7=22']\nExploring Operation: 175-22=153, Resulting Numbers: [153]\n153,14 unequal: No Solution\nExploring Operation: 175*22=3850, Resulting Numbers: [3850]\n3850,14 unequal: No Solution\nExploring Operation: 175+22=197, Resulting Numbers: [197]\n197,14 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 14:[183], Operations: ['175-19=156', '15+12=27', '156+27=183']\nMoving to Node #0,0,4,0\nCurrent State: 14:[153], Operations: ['19-12=7', '15+7=22', '175-22=153']\nMoving to Node #0,4,2,0\nCurrent State: 14:[159], Operations: ['175-12=163', '15+163=178', '178-19=159']\nMoving to Node #0,4,0\nCurrent State: 14:[163, 34], Operations: ['175-12=163', '15+19=34']\nExploring Operation: 163+34=197, Resulting Numbers: [197]\n197,14 unequal: No Solution\nExploring Operation: 163*34=5542, Resulting Numbers: [5542]\n5542,14 unequal: No Solution\nExploring Operation: 163-34=129, Resulting Numbers: [129]\n129,14 unequal: No Solution\nMoving to Node #0,1,3,0\nCurrent State: 14:[183], Operations: ['19-15=4', '12-4=8', '175+8=183']\nMoving to Node #0,3,4,0\nCurrent State: 14:[191], Operations: ['175-15=160', '12+160=172', '19+172=191']\nMoving to Node #0,4,0,0\nCurrent State: 14:[129], Operations: ['175-12=163', '15+19=34', '163-34=129']\nMoving to Node #0,3,3,0\nCurrent State: 14:[191], Operations: ['175-15=160', '12+19=31', '160+31=191']\nMoving to Node #0,1,1,0\nCurrent State: 14:[191], Operations: ['19-15=4', '12+4=16', '175+16=191']\nMoving to Node #0,2,4,0\nCurrent State: 14:[195], Operations: ['175-19=156', '156/12=13', '15*13=195']\nMoving to Node #0,4,2,0\nCurrent State: 14:[197], Operations: ['175-12=163', '15+163=178', '19+178=197']\nMoving to Node #0,4,0,0\nCurrent State: 14:[197], Operations: ['175-12=163', '15+19=34', '163+34=197']\nMoving to Node #0,0,4,0\nCurrent State: 14:[197], Operations: ['19-12=7', '15+7=22', '175+22=197']\nMoving to Node #0,0,0,0\nCurrent State: 14:[375], Operations: ['19-12=7', '175/7=25', '15*25=375']\nMoving to Node #0,2,1,0\nCurrent State: 14:[468], Operations: ['175-19=156', '15-12=3', '156*3=468']\nMoving to Node #0,1,4,0\nCurrent State: 14:[525], Operations: ['19-15=4', '12/4=3', '175*3=525']\nMoving to Node #0,1,0,0\nCurrent State: 14:[652], Operations: ['19-15=4', '175-12=163', '4*163=652']\nMoving to Node #0,4,1,0\nCurrent State: 14:[652], Operations: ['175-12=163', '19-15=4', '163*4=652']\nMoving to Node #0,0,3,0\nCurrent State: 14:[1120], Operations: ['19-12=7', '175-15=160', '7*160=1120']\nMoving to Node #0,3,1,0\nCurrent State: 14:[1120], Operations: ['175-15=160', '19-12=7', '160*7=1120']\nMoving to Node #0,1,3,0\nCurrent State: 14:[1400], Operations: ['19-15=4', '12-4=8', '175*8=1400']\nMoving to Node #0,0,1,0\nCurrent State: 14:[1400], Operations: ['19-12=7', '15-7=8', '175*8=1400']\nMoving to Node #0,2,0,0\nCurrent State: 14:[1692], Operations: ['175-19=156', '156-15=141', '12*141=1692']\nMoving to Node #0,3,2,0\nCurrent State: 14:[1692], Operations: ['175-15=160', '160-19=141', '12*141=1692']\nMoving to Node #0,1,2,0\nCurrent State: 14:[2052], Operations: ['19-15=4', '175-4=171', '12*171=2052']\nMoving to Node #0,2,3,0\nCurrent State: 14:[2160], Operations: ['175-19=156', '156-12=144', '15*144=2160']\nMoving to Node #0,4,4,0\nCurrent State: 14:[2160], Operations: ['175-12=163', '163-19=144', '15*144=2160']\nMoving to Node #0,0,2,0\nCurrent State: 14:[2520], Operations: ['19-12=7', '175-7=168', '15*168=2520']\nMoving to Node #0,1,1,0\nCurrent State: 14:[2800], Operations: ['19-15=4', '12+4=16', '175*16=2800']\nMoving to Node #0,4,3,0\nCurrent State: 14:[2812], Operations: ['175-12=163', '163-15=148', '19*148=2812']\nMoving to Node #0,3,0,0\nCurrent State: 14:[2812], Operations: ['175-15=160', '160-12=148', '19*148=2812']\nMoving to Node #0,3,4,0\nCurrent State: 14:[3268], Operations: ['175-15=160', '12+160=172', '19*172=3268']\nMoving to Node #0,4,2,0\nCurrent State: 14:[3382], Operations: ['175-12=163', '15+163=178', '19*178=3382']\nMoving to Node #0,0,4,0\nCurrent State: 14:[3850], Operations: ['19-12=7', '15+7=22', '175*22=3850']\nMoving to Node #0,2,2,0\nCurrent State: 14:[4212], Operations: ['175-19=156', '15+12=27', '156*27=4212']\nMoving to Node #0,3,3,0\nCurrent State: 14:[4960], Operations: ['175-15=160', '12+19=31', '160*31=4960']\nMoving to Node #0,4,0,0\nCurrent State: 14:[5542], Operations: ['175-12=163', '15+19=34', '163*34=5542']",
"role": "assistant"
}
] |
[
15,
12,
175,
19
] | 14
|
bfs_5
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [30, 52, 159, 87] and the target 10, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 10:[30, 52, 159, 87], Operations: []",
"role": "assistant"
}
] |
[
30,
52,
159,
87
] | 10
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [75, 2, 28, 89] and the target 110, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 89-75=14, Resulting Numbers: [2, 28, 14]\nGenerated Node #0,0: 110:[2, 28, 14] Operation: 89-75=14\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 28/14=2, Resulting Numbers: [2, 2]\nGenerated Node #0,0,0: 110:[2, 2] Operation: 28/14=2\nMoving to Node #0,0,0\nCurrent State: 110:[2, 2], Operations: ['89-75=14', '28/14=2']\nExploring Operation: 2+2=4, Resulting Numbers: [4]\n4,110 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 110:[2, 2], Operations: ['89-75=14', '28/14=2']\nExploring Operation: 2*2=4, Resulting Numbers: [4]\n4,110 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 110:[2, 2], Operations: ['89-75=14', '28/14=2']\nExploring Operation: 2/2=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 110:[2, 2], Operations: ['89-75=14', '28/14=2']\nExploring Operation: 2-2=0, Resulting Numbers: [0]\n0,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 28-14=14, Resulting Numbers: [2, 14]\nGenerated Node #0,0,1: 110:[2, 14] Operation: 28-14=14\nMoving to Node #0,0,1\nCurrent State: 110:[2, 14], Operations: ['89-75=14', '28-14=14']\nExploring Operation: 14-2=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 110:[2, 14], Operations: ['89-75=14', '28-14=14']\nExploring Operation: 14/2=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 110:[2, 14], Operations: ['89-75=14', '28-14=14']\nExploring Operation: 2+14=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 110:[2, 14], Operations: ['89-75=14', '28-14=14']\nExploring Operation: 2*14=28, Resulting Numbers: [28]\n28,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 2*28=56, Resulting Numbers: [14, 56]\nGenerated Node #0,0,2: 110:[14, 56] Operation: 2*28=56\nMoving to Node #0,0,2\nCurrent State: 110:[14, 56], Operations: ['89-75=14', '2*28=56']\nExploring Operation: 56/14=4, Resulting Numbers: [4]\n4,110 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 110:[14, 56], Operations: ['89-75=14', '2*28=56']\nExploring Operation: 56-14=42, Resulting Numbers: [42]\n42,110 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 110:[14, 56], Operations: ['89-75=14', '2*28=56']\nExploring Operation: 14+56=70, Resulting Numbers: [70]\n70,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 28/2=14, Resulting Numbers: [14, 14]\nGenerated Node #0,0,3: 110:[14, 14] Operation: 28/2=14\nMoving to Node #0,0,3\nCurrent State: 110:[14, 14], Operations: ['89-75=14', '28/2=14']\nExploring Operation: 14/14=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 110:[14, 14], Operations: ['89-75=14', '28/2=14']\nExploring Operation: 14-14=0, Resulting Numbers: [0]\n0,110 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 110:[14, 14], Operations: ['89-75=14', '28/2=14']\nExploring Operation: 14+14=28, Resulting Numbers: [28]\n28,110 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 110:[14, 14], Operations: ['89-75=14', '28/2=14']\nExploring Operation: 14*14=196, Resulting Numbers: [196]\n196,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 28-2=26, Resulting Numbers: [14, 26]\nGenerated Node #0,0,4: 110:[14, 26] Operation: 28-2=26\nMoving to Node #0,0,4\nCurrent State: 110:[14, 26], Operations: ['89-75=14', '28-2=26']\nExploring Operation: 26-14=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 110:[14, 26], Operations: ['89-75=14', '28-2=26']\nExploring Operation: 14+26=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 14-2=12, Resulting Numbers: [28, 12]\nGenerated Node #0,0,5: 110:[28, 12] Operation: 14-2=12\nMoving to Node #0,0,5\nCurrent State: 110:[28, 12], Operations: ['89-75=14', '14-2=12']\nExploring Operation: 28-12=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 110:[28, 12], Operations: ['89-75=14', '14-2=12']\nExploring Operation: 28+12=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 14/2=7, Resulting Numbers: [28, 7]\nGenerated Node #0,0,6: 110:[28, 7] Operation: 14/2=7\nMoving to Node #0,0,6\nCurrent State: 110:[28, 7], Operations: ['89-75=14', '14/2=7']\nExploring Operation: 28-7=21, Resulting Numbers: [21]\n21,110 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 110:[28, 7], Operations: ['89-75=14', '14/2=7']\nExploring Operation: 28/7=4, Resulting Numbers: [4]\n4,110 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 110:[28, 7], Operations: ['89-75=14', '14/2=7']\nExploring Operation: 28+7=35, Resulting Numbers: [35]\n35,110 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 110:[28, 7], Operations: ['89-75=14', '14/2=7']\nExploring Operation: 28*7=196, Resulting Numbers: [196]\n196,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 2+28=30, Resulting Numbers: [14, 30]\nGenerated Node #0,0,7: 110:[14, 30] Operation: 2+28=30\nMoving to Node #0,0,7\nCurrent State: 110:[14, 30], Operations: ['89-75=14', '2+28=30']\nExploring Operation: 30-14=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,0,7\nCurrent State: 110:[14, 30], Operations: ['89-75=14', '2+28=30']\nExploring Operation: 14+30=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 2+14=16, Resulting Numbers: [28, 16]\nGenerated Node #0,0,8: 110:[28, 16] Operation: 2+14=16\nMoving to Node #0,0,8\nCurrent State: 110:[28, 16], Operations: ['89-75=14', '2+14=16']\nExploring Operation: 28-16=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,0,8\nCurrent State: 110:[28, 16], Operations: ['89-75=14', '2+14=16']\nExploring Operation: 28+16=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 2*14=28, Resulting Numbers: [28, 28]\nGenerated Node #0,0,9: 110:[28, 28] Operation: 2*14=28\nMoving to Node #0,0,9\nCurrent State: 110:[28, 28], Operations: ['89-75=14', '2*14=28']\nExploring Operation: 28+28=56, Resulting Numbers: [56]\n56,110 unequal: No Solution\nMoving to Node #0,0,9\nCurrent State: 110:[28, 28], Operations: ['89-75=14', '2*14=28']\nExploring Operation: 28/28=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,0,9\nCurrent State: 110:[28, 28], Operations: ['89-75=14', '2*14=28']\nExploring Operation: 28-28=0, Resulting Numbers: [0]\n0,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[2, 28, 14], Operations: ['89-75=14']\nExploring Operation: 28+14=42, Resulting Numbers: [2, 42]\nGenerated Node #0,0,10: 110:[2, 42] Operation: 28+14=42\nMoving to Node #0,0,10\nCurrent State: 110:[2, 42], Operations: ['89-75=14', '28+14=42']\nExploring Operation: 42/2=21, Resulting Numbers: [21]\n21,110 unequal: No Solution\nMoving to Node #0,0,10\nCurrent State: 110:[2, 42], Operations: ['89-75=14', '28+14=42']\nExploring Operation: 2+42=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,0,10\nCurrent State: 110:[2, 42], Operations: ['89-75=14', '28+14=42']\nExploring Operation: 42-2=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,0,10\nCurrent State: 110:[2, 42], Operations: ['89-75=14', '28+14=42']\nExploring Operation: 2*42=84, Resulting Numbers: [84]\n84,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 89-28=61, Resulting Numbers: [75, 2, 61]\nGenerated Node #0,1: 110:[75, 2, 61] Operation: 89-28=61\nMoving to Node #0,1\nCurrent State: 110:[75, 2, 61], Operations: ['89-28=61']\nExploring Operation: 75-61=14, Resulting Numbers: [2, 14]\nGenerated Node #0,1,0: 110:[2, 14] Operation: 75-61=14\nMoving to Node #0,1,0\nCurrent State: 110:[2, 14], Operations: ['89-28=61', '75-61=14']\nExploring Operation: 14-2=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 110:[2, 14], Operations: ['89-28=61', '75-61=14']\nExploring Operation: 14/2=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 110:[2, 14], Operations: ['89-28=61', '75-61=14']\nExploring Operation: 2+14=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 110:[2, 14], Operations: ['89-28=61', '75-61=14']\nExploring Operation: 2*14=28, Resulting Numbers: [28]\n28,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[75, 2, 61], Operations: ['89-28=61']\nExploring Operation: 75-2=73, Resulting Numbers: [61, 73]\nGenerated Node #0,1,1: 110:[61, 73] Operation: 75-2=73\nMoving to Node #0,1,1\nCurrent State: 110:[61, 73], Operations: ['89-28=61', '75-2=73']\nExploring Operation: 73-61=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 110:[61, 73], Operations: ['89-28=61', '75-2=73']\nExploring Operation: 61+73=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[75, 2, 61], Operations: ['89-28=61']\nExploring Operation: 61-2=59, Resulting Numbers: [75, 59]\nGenerated Node #0,1,2: 110:[75, 59] Operation: 61-2=59\nMoving to Node #0,1,2\nCurrent State: 110:[75, 59], Operations: ['89-28=61', '61-2=59']\nExploring Operation: 75-59=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 110:[75, 59], Operations: ['89-28=61', '61-2=59']\nExploring Operation: 75+59=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[75, 2, 61], Operations: ['89-28=61']\nExploring Operation: 75+61=136, Resulting Numbers: [2, 136]\nGenerated Node #0,1,3: 110:[2, 136] Operation: 75+61=136\nMoving to Node #0,1,3\nCurrent State: 110:[2, 136], Operations: ['89-28=61', '75+61=136']\nExploring Operation: 136/2=68, Resulting Numbers: [68]\n68,110 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 110:[2, 136], Operations: ['89-28=61', '75+61=136']\nExploring Operation: 136-2=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 110:[2, 136], Operations: ['89-28=61', '75+61=136']\nExploring Operation: 2+136=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[75, 2, 61], Operations: ['89-28=61']\nExploring Operation: 75+2=77, Resulting Numbers: [61, 77]\nGenerated Node #0,1,4: 110:[61, 77] Operation: 75+2=77\nMoving to Node #0,1,4\nCurrent State: 110:[61, 77], Operations: ['89-28=61', '75+2=77']\nExploring Operation: 77-61=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 110:[61, 77], Operations: ['89-28=61', '75+2=77']\nExploring Operation: 61+77=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[75, 2, 61], Operations: ['89-28=61']\nExploring Operation: 2+61=63, Resulting Numbers: [75, 63]\nGenerated Node #0,1,5: 110:[75, 63] Operation: 2+61=63\nMoving to Node #0,1,5\nCurrent State: 110:[75, 63], Operations: ['89-28=61', '2+61=63']\nExploring Operation: 75-63=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 110:[75, 63], Operations: ['89-28=61', '2+61=63']\nExploring Operation: 75+63=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[75, 2, 61], Operations: ['89-28=61']\nExploring Operation: 2*61=122, Resulting Numbers: [75, 122]\nGenerated Node #0,1,6: 110:[75, 122] Operation: 2*61=122\nMoving to Node #0,1,6\nCurrent State: 110:[75, 122], Operations: ['89-28=61', '2*61=122']\nExploring Operation: 122-75=47, Resulting Numbers: [47]\n47,110 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 110:[75, 122], Operations: ['89-28=61', '2*61=122']\nExploring Operation: 75+122=197, Resulting Numbers: [197]\n197,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[75, 2, 61], Operations: ['89-28=61']\nExploring Operation: 75*2=150, Resulting Numbers: [61, 150]\nGenerated Node #0,1,7: 110:[61, 150] Operation: 75*2=150\nMoving to Node #0,1,7\nCurrent State: 110:[61, 150], Operations: ['89-28=61', '75*2=150']\nExploring Operation: 150-61=89, Resulting Numbers: [89]\n89,110 unequal: No Solution\nMoving to Node #0,1,7\nCurrent State: 110:[61, 150], Operations: ['89-28=61', '75*2=150']\nExploring Operation: 61+150=211, Resulting Numbers: [211]\n211,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 28+89=117, Resulting Numbers: [75, 2, 117]\nGenerated Node #0,2: 110:[75, 2, 117] Operation: 28+89=117\nMoving to Node #0,2\nCurrent State: 110:[75, 2, 117], Operations: ['28+89=117']\nExploring Operation: 117-75=42, Resulting Numbers: [2, 42]\nGenerated Node #0,2,0: 110:[2, 42] Operation: 117-75=42\nMoving to Node #0,2,0\nCurrent State: 110:[2, 42], Operations: ['28+89=117', '117-75=42']\nExploring Operation: 42/2=21, Resulting Numbers: [21]\n21,110 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 110:[2, 42], Operations: ['28+89=117', '117-75=42']\nExploring Operation: 2+42=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 110:[2, 42], Operations: ['28+89=117', '117-75=42']\nExploring Operation: 42-2=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 110:[2, 42], Operations: ['28+89=117', '117-75=42']\nExploring Operation: 2*42=84, Resulting Numbers: [84]\n84,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[75, 2, 117], Operations: ['28+89=117']\nExploring Operation: 75-2=73, Resulting Numbers: [117, 73]\nGenerated Node #0,2,1: 110:[117, 73] Operation: 75-2=73\nMoving to Node #0,2,1\nCurrent State: 110:[117, 73], Operations: ['28+89=117', '75-2=73']\nExploring Operation: 117-73=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 110:[117, 73], Operations: ['28+89=117', '75-2=73']\nExploring Operation: 117+73=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[75, 2, 117], Operations: ['28+89=117']\nExploring Operation: 117-2=115, Resulting Numbers: [75, 115]\nGenerated Node #0,2,2: 110:[75, 115] Operation: 117-2=115\nMoving to Node #0,2,2\nCurrent State: 110:[75, 115], Operations: ['28+89=117', '117-2=115']\nExploring Operation: 115-75=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 110:[75, 115], Operations: ['28+89=117', '117-2=115']\nExploring Operation: 75+115=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[75, 2, 117], Operations: ['28+89=117']\nExploring Operation: 75+2=77, Resulting Numbers: [117, 77]\nGenerated Node #0,2,3: 110:[117, 77] Operation: 75+2=77\nMoving to Node #0,2,3\nCurrent State: 110:[117, 77], Operations: ['28+89=117', '75+2=77']\nExploring Operation: 117-77=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 110:[117, 77], Operations: ['28+89=117', '75+2=77']\nExploring Operation: 117+77=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[75, 2, 117], Operations: ['28+89=117']\nExploring Operation: 2+117=119, Resulting Numbers: [75, 119]\nGenerated Node #0,2,4: 110:[75, 119] Operation: 2+117=119\nMoving to Node #0,2,4\nCurrent State: 110:[75, 119], Operations: ['28+89=117', '2+117=119']\nExploring Operation: 119-75=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 110:[75, 119], Operations: ['28+89=117', '2+117=119']\nExploring Operation: 75+119=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[75, 2, 117], Operations: ['28+89=117']\nExploring Operation: 75*2=150, Resulting Numbers: [117, 150]\nGenerated Node #0,2,5: 110:[117, 150] Operation: 75*2=150\nMoving to Node #0,2,5\nCurrent State: 110:[117, 150], Operations: ['28+89=117', '75*2=150']\nExploring Operation: 150-117=33, Resulting Numbers: [33]\n33,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[75, 2, 117], Operations: ['28+89=117']\nExploring Operation: 75+117=192, Resulting Numbers: [2, 192]\nGenerated Node #0,2,6: 110:[2, 192] Operation: 75+117=192\nMoving to Node #0,2,6\nCurrent State: 110:[2, 192], Operations: ['28+89=117', '75+117=192']\nExploring Operation: 192/2=96, Resulting Numbers: [96]\n96,110 unequal: No Solution\nMoving to Node #0,2,6\nCurrent State: 110:[2, 192], Operations: ['28+89=117', '75+117=192']\nExploring Operation: 192-2=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,2,6\nCurrent State: 110:[2, 192], Operations: ['28+89=117', '75+117=192']\nExploring Operation: 2+192=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 75+28=103, Resulting Numbers: [2, 89, 103]\nGenerated Node #0,3: 110:[2, 89, 103] Operation: 75+28=103\nMoving to Node #0,3\nCurrent State: 110:[2, 89, 103], Operations: ['75+28=103']\nExploring Operation: 103-89=14, Resulting Numbers: [2, 14]\nGenerated Node #0,3,0: 110:[2, 14] Operation: 103-89=14\nMoving to Node #0,3,0\nCurrent State: 110:[2, 14], Operations: ['75+28=103', '103-89=14']\nExploring Operation: 14-2=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 110:[2, 14], Operations: ['75+28=103', '103-89=14']\nExploring Operation: 14/2=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 110:[2, 14], Operations: ['75+28=103', '103-89=14']\nExploring Operation: 2+14=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 110:[2, 14], Operations: ['75+28=103', '103-89=14']\nExploring Operation: 2*14=28, Resulting Numbers: [28]\n28,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[2, 89, 103], Operations: ['75+28=103']\nExploring Operation: 2+89=91, Resulting Numbers: [103, 91]\nGenerated Node #0,3,1: 110:[103, 91] Operation: 2+89=91\nMoving to Node #0,3,1\nCurrent State: 110:[103, 91], Operations: ['75+28=103', '2+89=91']\nExploring Operation: 103-91=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 110:[103, 91], Operations: ['75+28=103', '2+89=91']\nExploring Operation: 103+91=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[2, 89, 103], Operations: ['75+28=103']\nExploring Operation: 2+103=105, Resulting Numbers: [89, 105]\nGenerated Node #0,3,2: 110:[89, 105] Operation: 2+103=105\nMoving to Node #0,3,2\nCurrent State: 110:[89, 105], Operations: ['75+28=103', '2+103=105']\nExploring Operation: 105-89=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 110:[89, 105], Operations: ['75+28=103', '2+103=105']\nExploring Operation: 89+105=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[2, 89, 103], Operations: ['75+28=103']\nExploring Operation: 89-2=87, Resulting Numbers: [103, 87]\nGenerated Node #0,3,3: 110:[103, 87] Operation: 89-2=87\nMoving to Node #0,3,3\nCurrent State: 110:[103, 87], Operations: ['75+28=103', '89-2=87']\nExploring Operation: 103-87=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 110:[103, 87], Operations: ['75+28=103', '89-2=87']\nExploring Operation: 103+87=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[2, 89, 103], Operations: ['75+28=103']\nExploring Operation: 103-2=101, Resulting Numbers: [89, 101]\nGenerated Node #0,3,4: 110:[89, 101] Operation: 103-2=101\nMoving to Node #0,3,4\nCurrent State: 110:[89, 101], Operations: ['75+28=103', '103-2=101']\nExploring Operation: 101-89=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 110:[89, 101], Operations: ['75+28=103', '103-2=101']\nExploring Operation: 89+101=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[2, 89, 103], Operations: ['75+28=103']\nExploring Operation: 2*89=178, Resulting Numbers: [103, 178]\nGenerated Node #0,3,5: 110:[103, 178] Operation: 2*89=178\nMoving to Node #0,3,5\nCurrent State: 110:[103, 178], Operations: ['75+28=103', '2*89=178']\nExploring Operation: 178-103=75, Resulting Numbers: [75]\n75,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[2, 89, 103], Operations: ['75+28=103']\nExploring Operation: 89+103=192, Resulting Numbers: [2, 192]\nGenerated Node #0,3,6: 110:[2, 192] Operation: 89+103=192\nMoving to Node #0,3,6\nCurrent State: 110:[2, 192], Operations: ['75+28=103', '89+103=192']\nExploring Operation: 192/2=96, Resulting Numbers: [96]\n96,110 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 110:[2, 192], Operations: ['75+28=103', '89+103=192']\nExploring Operation: 192-2=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 110:[2, 192], Operations: ['75+28=103', '89+103=192']\nExploring Operation: 2+192=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 75-28=47, Resulting Numbers: [2, 89, 47]\nGenerated Node #0,4: 110:[2, 89, 47] Operation: 75-28=47\nMoving to Node #0,4\nCurrent State: 110:[2, 89, 47], Operations: ['75-28=47']\nExploring Operation: 89-47=42, Resulting Numbers: [2, 42]\nGenerated Node #0,4,0: 110:[2, 42] Operation: 89-47=42\nMoving to Node #0,4,0\nCurrent State: 110:[2, 42], Operations: ['75-28=47', '89-47=42']\nExploring Operation: 42/2=21, Resulting Numbers: [21]\n21,110 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 110:[2, 42], Operations: ['75-28=47', '89-47=42']\nExploring Operation: 2+42=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 110:[2, 42], Operations: ['75-28=47', '89-47=42']\nExploring Operation: 42-2=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 110:[2, 42], Operations: ['75-28=47', '89-47=42']\nExploring Operation: 2*42=84, Resulting Numbers: [84]\n84,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[2, 89, 47], Operations: ['75-28=47']\nExploring Operation: 89+47=136, Resulting Numbers: [2, 136]\nGenerated Node #0,4,1: 110:[2, 136] Operation: 89+47=136\nMoving to Node #0,4,1\nCurrent State: 110:[2, 136], Operations: ['75-28=47', '89+47=136']\nExploring Operation: 136/2=68, Resulting Numbers: [68]\n68,110 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 110:[2, 136], Operations: ['75-28=47', '89+47=136']\nExploring Operation: 136-2=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 110:[2, 136], Operations: ['75-28=47', '89+47=136']\nExploring Operation: 2+136=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[2, 89, 47], Operations: ['75-28=47']\nExploring Operation: 2+89=91, Resulting Numbers: [47, 91]\nGenerated Node #0,4,2: 110:[47, 91] Operation: 2+89=91\nMoving to Node #0,4,2\nCurrent State: 110:[47, 91], Operations: ['75-28=47', '2+89=91']\nExploring Operation: 91-47=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 110:[47, 91], Operations: ['75-28=47', '2+89=91']\nExploring Operation: 47+91=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[2, 89, 47], Operations: ['75-28=47']\nExploring Operation: 2+47=49, Resulting Numbers: [89, 49]\nGenerated Node #0,4,3: 110:[89, 49] Operation: 2+47=49\nMoving to Node #0,4,3\nCurrent State: 110:[89, 49], Operations: ['75-28=47', '2+47=49']\nExploring Operation: 89-49=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 110:[89, 49], Operations: ['75-28=47', '2+47=49']\nExploring Operation: 89+49=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[2, 89, 47], Operations: ['75-28=47']\nExploring Operation: 89-2=87, Resulting Numbers: [47, 87]\nGenerated Node #0,4,4: 110:[47, 87] Operation: 89-2=87\nMoving to Node #0,4,4\nCurrent State: 110:[47, 87], Operations: ['75-28=47', '89-2=87']\nExploring Operation: 87-47=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 110:[47, 87], Operations: ['75-28=47', '89-2=87']\nExploring Operation: 47+87=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[2, 89, 47], Operations: ['75-28=47']\nExploring Operation: 47-2=45, Resulting Numbers: [89, 45]\nGenerated Node #0,4,5: 110:[89, 45] Operation: 47-2=45\nMoving to Node #0,4,5\nCurrent State: 110:[89, 45], Operations: ['75-28=47', '47-2=45']\nExploring Operation: 89-45=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 110:[89, 45], Operations: ['75-28=47', '47-2=45']\nExploring Operation: 89+45=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[2, 89, 47], Operations: ['75-28=47']\nExploring Operation: 2*47=94, Resulting Numbers: [89, 94]\nGenerated Node #0,4,6: 110:[89, 94] Operation: 2*47=94\nMoving to Node #0,4,6\nCurrent State: 110:[89, 94], Operations: ['75-28=47', '2*47=94']\nExploring Operation: 94-89=5, Resulting Numbers: [5]\n5,110 unequal: No Solution\nMoving to Node #0,4,6\nCurrent State: 110:[89, 94], Operations: ['75-28=47', '2*47=94']\nExploring Operation: 89+94=183, Resulting Numbers: [183]\n183,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[2, 89, 47], Operations: ['75-28=47']\nExploring Operation: 2*89=178, Resulting Numbers: [47, 178]\nGenerated Node #0,4,7: 110:[47, 178] Operation: 2*89=178\nMoving to Node #0,4,7\nCurrent State: 110:[47, 178], Operations: ['75-28=47', '2*89=178']\nExploring Operation: 178-47=131, Resulting Numbers: [131]\n131,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 2*28=56, Resulting Numbers: [75, 89, 56]\nGenerated Node #0,5: 110:[75, 89, 56] Operation: 2*28=56\nMoving to Node #0,5\nCurrent State: 110:[75, 89, 56], Operations: ['2*28=56']\nExploring Operation: 89-75=14, Resulting Numbers: [56, 14]\nGenerated Node #0,5,0: 110:[56, 14] Operation: 89-75=14\nMoving to Node #0,5,0\nCurrent State: 110:[56, 14], Operations: ['2*28=56', '89-75=14']\nExploring Operation: 56/14=4, Resulting Numbers: [4]\n4,110 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 110:[56, 14], Operations: ['2*28=56', '89-75=14']\nExploring Operation: 56-14=42, Resulting Numbers: [42]\n42,110 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 110:[56, 14], Operations: ['2*28=56', '89-75=14']\nExploring Operation: 56+14=70, Resulting Numbers: [70]\n70,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[75, 89, 56], Operations: ['2*28=56']\nExploring Operation: 75-56=19, Resulting Numbers: [89, 19]\nGenerated Node #0,5,1: 110:[89, 19] Operation: 75-56=19\nMoving to Node #0,5,1\nCurrent State: 110:[89, 19], Operations: ['2*28=56', '75-56=19']\nExploring Operation: 89+19=108, Resulting Numbers: [108]\n108,110 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 110:[89, 19], Operations: ['2*28=56', '75-56=19']\nExploring Operation: 89-19=70, Resulting Numbers: [70]\n70,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[75, 89, 56], Operations: ['2*28=56']\nExploring Operation: 89-56=33, Resulting Numbers: [75, 33]\nGenerated Node #0,5,2: 110:[75, 33] Operation: 89-56=33\nMoving to Node #0,5,2\nCurrent State: 110:[75, 33], Operations: ['2*28=56', '89-56=33']\nExploring Operation: 75+33=108, Resulting Numbers: [108]\n108,110 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 110:[75, 33], Operations: ['2*28=56', '89-56=33']\nExploring Operation: 75-33=42, Resulting Numbers: [42]\n42,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[75, 89, 56], Operations: ['2*28=56']\nExploring Operation: 75+56=131, Resulting Numbers: [89, 131]\nGenerated Node #0,5,3: 110:[89, 131] Operation: 75+56=131\nMoving to Node #0,5,3\nCurrent State: 110:[89, 131], Operations: ['2*28=56', '75+56=131']\nExploring Operation: 131-89=42, Resulting Numbers: [42]\n42,110 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 110:[89, 131], Operations: ['2*28=56', '75+56=131']\nExploring Operation: 89+131=220, Resulting Numbers: [220]\n220,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[75, 89, 56], Operations: ['2*28=56']\nExploring Operation: 75+89=164, Resulting Numbers: [56, 164]\nGenerated Node #0,5,4: 110:[56, 164] Operation: 75+89=164\nMoving to Node #0,5,4\nCurrent State: 110:[56, 164], Operations: ['2*28=56', '75+89=164']\nExploring Operation: 164-56=108, Resulting Numbers: [108]\n108,110 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 110:[56, 164], Operations: ['2*28=56', '75+89=164']\nExploring Operation: 56+164=220, Resulting Numbers: [220]\n220,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[75, 89, 56], Operations: ['2*28=56']\nExploring Operation: 89+56=145, Resulting Numbers: [75, 145]\nGenerated Node #0,5,5: 110:[75, 145] Operation: 89+56=145\nMoving to Node #0,5,5\nCurrent State: 110:[75, 145], Operations: ['2*28=56', '89+56=145']\nExploring Operation: 145-75=70, Resulting Numbers: [70]\n70,110 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 110:[75, 145], Operations: ['2*28=56', '89+56=145']\nExploring Operation: 75+145=220, Resulting Numbers: [220]\n220,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 28/2=14, Resulting Numbers: [75, 89, 14]\nGenerated Node #0,6: 110:[75, 89, 14] Operation: 28/2=14\nMoving to Node #0,6\nCurrent State: 110:[75, 89, 14], Operations: ['28/2=14']\nExploring Operation: 89-75=14, Resulting Numbers: [14, 14]\nGenerated Node #0,6,0: 110:[14, 14] Operation: 89-75=14\nMoving to Node #0,6,0\nCurrent State: 110:[14, 14], Operations: ['28/2=14', '89-75=14']\nExploring Operation: 14/14=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 110:[14, 14], Operations: ['28/2=14', '89-75=14']\nExploring Operation: 14-14=0, Resulting Numbers: [0]\n0,110 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 110:[14, 14], Operations: ['28/2=14', '89-75=14']\nExploring Operation: 14+14=28, Resulting Numbers: [28]\n28,110 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 110:[14, 14], Operations: ['28/2=14', '89-75=14']\nExploring Operation: 14*14=196, Resulting Numbers: [196]\n196,110 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 110:[75, 89, 14], Operations: ['28/2=14']\nExploring Operation: 75-14=61, Resulting Numbers: [89, 61]\nGenerated Node #0,6,1: 110:[89, 61] Operation: 75-14=61\nMoving to Node #0,6,1\nCurrent State: 110:[89, 61], Operations: ['28/2=14', '75-14=61']\nExploring Operation: 89-61=28, Resulting Numbers: [28]\n28,110 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 110:[89, 61], Operations: ['28/2=14', '75-14=61']\nExploring Operation: 89+61=150, Resulting Numbers: [150]\n150,110 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 110:[75, 89, 14], Operations: ['28/2=14']\nExploring Operation: 89+14=103, Resulting Numbers: [75, 103]\nGenerated Node #0,6,2: 110:[75, 103] Operation: 89+14=103\nMoving to Node #0,6,2\nCurrent State: 110:[75, 103], Operations: ['28/2=14', '89+14=103']\nExploring Operation: 103-75=28, Resulting Numbers: [28]\n28,110 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 110:[75, 103], Operations: ['28/2=14', '89+14=103']\nExploring Operation: 75+103=178, Resulting Numbers: [178]\n178,110 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 110:[75, 89, 14], Operations: ['28/2=14']\nExploring Operation: 89-14=75, Resulting Numbers: [75, 75]\nGenerated Node #0,6,3: 110:[75, 75] Operation: 89-14=75\nMoving to Node #0,6,3\nCurrent State: 110:[75, 75], Operations: ['28/2=14', '89-14=75']\nExploring Operation: 75/75=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 110:[75, 75], Operations: ['28/2=14', '89-14=75']\nExploring Operation: 75-75=0, Resulting Numbers: [0]\n0,110 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 110:[75, 75], Operations: ['28/2=14', '89-14=75']\nExploring Operation: 75+75=150, Resulting Numbers: [150]\n150,110 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 110:[75, 89, 14], Operations: ['28/2=14']\nExploring Operation: 75+14=89, Resulting Numbers: [89, 89]\nGenerated Node #0,6,4: 110:[89, 89] Operation: 75+14=89\nMoving to Node #0,6,4\nCurrent State: 110:[89, 89], Operations: ['28/2=14', '75+14=89']\nExploring Operation: 89/89=1, Resulting Numbers: [1]\n1,110 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 110:[89, 89], Operations: ['28/2=14', '75+14=89']\nExploring Operation: 89-89=0, Resulting Numbers: [0]\n0,110 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 110:[89, 89], Operations: ['28/2=14', '75+14=89']\nExploring Operation: 89+89=178, Resulting Numbers: [178]\n178,110 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 110:[75, 89, 14], Operations: ['28/2=14']\nExploring Operation: 75+89=164, Resulting Numbers: [14, 164]\nGenerated Node #0,6,5: 110:[14, 164] Operation: 75+89=164\nMoving to Node #0,6,5\nCurrent State: 110:[14, 164], Operations: ['28/2=14', '75+89=164']\nExploring Operation: 164-14=150, Resulting Numbers: [150]\n150,110 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 110:[14, 164], Operations: ['28/2=14', '75+89=164']\nExploring Operation: 14+164=178, Resulting Numbers: [178]\n178,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 75-2=73, Resulting Numbers: [28, 89, 73]\nGenerated Node #0,7: 110:[28, 89, 73] Operation: 75-2=73\nMoving to Node #0,7\nCurrent State: 110:[28, 89, 73], Operations: ['75-2=73']\nExploring Operation: 89-73=16, Resulting Numbers: [28, 16]\nGenerated Node #0,7,0: 110:[28, 16] Operation: 89-73=16\nMoving to Node #0,7,0\nCurrent State: 110:[28, 16], Operations: ['75-2=73', '89-73=16']\nExploring Operation: 28-16=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 110:[28, 16], Operations: ['75-2=73', '89-73=16']\nExploring Operation: 28+16=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 110:[28, 89, 73], Operations: ['75-2=73']\nExploring Operation: 89-28=61, Resulting Numbers: [73, 61]\nGenerated Node #0,7,1: 110:[73, 61] Operation: 89-28=61\nMoving to Node #0,7,1\nCurrent State: 110:[73, 61], Operations: ['75-2=73', '89-28=61']\nExploring Operation: 73-61=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 110:[73, 61], Operations: ['75-2=73', '89-28=61']\nExploring Operation: 73+61=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 110:[28, 89, 73], Operations: ['75-2=73']\nExploring Operation: 28+89=117, Resulting Numbers: [73, 117]\nGenerated Node #0,7,2: 110:[73, 117] Operation: 28+89=117\nMoving to Node #0,7,2\nCurrent State: 110:[73, 117], Operations: ['75-2=73', '28+89=117']\nExploring Operation: 117-73=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 110:[73, 117], Operations: ['75-2=73', '28+89=117']\nExploring Operation: 73+117=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 110:[28, 89, 73], Operations: ['75-2=73']\nExploring Operation: 28+73=101, Resulting Numbers: [89, 101]\nGenerated Node #0,7,3: 110:[89, 101] Operation: 28+73=101\nMoving to Node #0,7,3\nCurrent State: 110:[89, 101], Operations: ['75-2=73', '28+73=101']\nExploring Operation: 101-89=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 110:[89, 101], Operations: ['75-2=73', '28+73=101']\nExploring Operation: 89+101=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 110:[28, 89, 73], Operations: ['75-2=73']\nExploring Operation: 73-28=45, Resulting Numbers: [89, 45]\nGenerated Node #0,7,4: 110:[89, 45] Operation: 73-28=45\nMoving to Node #0,7,4\nCurrent State: 110:[89, 45], Operations: ['75-2=73', '73-28=45']\nExploring Operation: 89-45=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 110:[89, 45], Operations: ['75-2=73', '73-28=45']\nExploring Operation: 89+45=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 110:[28, 89, 73], Operations: ['75-2=73']\nExploring Operation: 89+73=162, Resulting Numbers: [28, 162]\nGenerated Node #0,7,5: 110:[28, 162] Operation: 89+73=162\nMoving to Node #0,7,5\nCurrent State: 110:[28, 162], Operations: ['75-2=73', '89+73=162']\nExploring Operation: 162-28=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 110:[28, 162], Operations: ['75-2=73', '89+73=162']\nExploring Operation: 28+162=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 28-2=26, Resulting Numbers: [75, 89, 26]\nGenerated Node #0,8: 110:[75, 89, 26] Operation: 28-2=26\nMoving to Node #0,8\nCurrent State: 110:[75, 89, 26], Operations: ['28-2=26']\nExploring Operation: 89-75=14, Resulting Numbers: [26, 14]\nGenerated Node #0,8,0: 110:[26, 14] Operation: 89-75=14\nMoving to Node #0,8,0\nCurrent State: 110:[26, 14], Operations: ['28-2=26', '89-75=14']\nExploring Operation: 26-14=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 110:[26, 14], Operations: ['28-2=26', '89-75=14']\nExploring Operation: 26+14=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 110:[75, 89, 26], Operations: ['28-2=26']\nExploring Operation: 89+26=115, Resulting Numbers: [75, 115]\nGenerated Node #0,8,1: 110:[75, 115] Operation: 89+26=115\nMoving to Node #0,8,1\nCurrent State: 110:[75, 115], Operations: ['28-2=26', '89+26=115']\nExploring Operation: 115-75=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 110:[75, 115], Operations: ['28-2=26', '89+26=115']\nExploring Operation: 75+115=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 110:[75, 89, 26], Operations: ['28-2=26']\nExploring Operation: 75-26=49, Resulting Numbers: [89, 49]\nGenerated Node #0,8,2: 110:[89, 49] Operation: 75-26=49\nMoving to Node #0,8,2\nCurrent State: 110:[89, 49], Operations: ['28-2=26', '75-26=49']\nExploring Operation: 89-49=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 110:[89, 49], Operations: ['28-2=26', '75-26=49']\nExploring Operation: 89+49=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 110:[75, 89, 26], Operations: ['28-2=26']\nExploring Operation: 89-26=63, Resulting Numbers: [75, 63]\nGenerated Node #0,8,3: 110:[75, 63] Operation: 89-26=63\nMoving to Node #0,8,3\nCurrent State: 110:[75, 63], Operations: ['28-2=26', '89-26=63']\nExploring Operation: 75-63=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 110:[75, 63], Operations: ['28-2=26', '89-26=63']\nExploring Operation: 75+63=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 110:[75, 89, 26], Operations: ['28-2=26']\nExploring Operation: 75+26=101, Resulting Numbers: [89, 101]\nGenerated Node #0,8,4: 110:[89, 101] Operation: 75+26=101\nMoving to Node #0,8,4\nCurrent State: 110:[89, 101], Operations: ['28-2=26', '75+26=101']\nExploring Operation: 101-89=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 110:[89, 101], Operations: ['28-2=26', '75+26=101']\nExploring Operation: 89+101=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 110:[75, 89, 26], Operations: ['28-2=26']\nExploring Operation: 75+89=164, Resulting Numbers: [26, 164]\nGenerated Node #0,8,5: 110:[26, 164] Operation: 75+89=164\nMoving to Node #0,8,5\nCurrent State: 110:[26, 164], Operations: ['28-2=26', '75+89=164']\nExploring Operation: 164-26=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 110:[26, 164], Operations: ['28-2=26', '75+89=164']\nExploring Operation: 26+164=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 2+89=91, Resulting Numbers: [75, 28, 91]\nGenerated Node #0,9: 110:[75, 28, 91] Operation: 2+89=91\nMoving to Node #0,9\nCurrent State: 110:[75, 28, 91], Operations: ['2+89=91']\nExploring Operation: 91-75=16, Resulting Numbers: [28, 16]\nGenerated Node #0,9,0: 110:[28, 16] Operation: 91-75=16\nMoving to Node #0,9,0\nCurrent State: 110:[28, 16], Operations: ['2+89=91', '91-75=16']\nExploring Operation: 28-16=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 110:[28, 16], Operations: ['2+89=91', '91-75=16']\nExploring Operation: 28+16=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 110:[75, 28, 91], Operations: ['2+89=91']\nExploring Operation: 75+28=103, Resulting Numbers: [91, 103]\nGenerated Node #0,9,1: 110:[91, 103] Operation: 75+28=103\nMoving to Node #0,9,1\nCurrent State: 110:[91, 103], Operations: ['2+89=91', '75+28=103']\nExploring Operation: 103-91=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 110:[91, 103], Operations: ['2+89=91', '75+28=103']\nExploring Operation: 91+103=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 110:[75, 28, 91], Operations: ['2+89=91']\nExploring Operation: 75-28=47, Resulting Numbers: [91, 47]\nGenerated Node #0,9,2: 110:[91, 47] Operation: 75-28=47\nMoving to Node #0,9,2\nCurrent State: 110:[91, 47], Operations: ['2+89=91', '75-28=47']\nExploring Operation: 91-47=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 110:[91, 47], Operations: ['2+89=91', '75-28=47']\nExploring Operation: 91+47=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 110:[75, 28, 91], Operations: ['2+89=91']\nExploring Operation: 91-28=63, Resulting Numbers: [75, 63]\nGenerated Node #0,9,3: 110:[75, 63] Operation: 91-28=63\nMoving to Node #0,9,3\nCurrent State: 110:[75, 63], Operations: ['2+89=91', '91-28=63']\nExploring Operation: 75-63=12, Resulting Numbers: [12]\n12,110 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 110:[75, 63], Operations: ['2+89=91', '91-28=63']\nExploring Operation: 75+63=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 110:[75, 28, 91], Operations: ['2+89=91']\nExploring Operation: 28+91=119, Resulting Numbers: [75, 119]\nGenerated Node #0,9,4: 110:[75, 119] Operation: 28+91=119\nMoving to Node #0,9,4\nCurrent State: 110:[75, 119], Operations: ['2+89=91', '28+91=119']\nExploring Operation: 119-75=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 110:[75, 119], Operations: ['2+89=91', '28+91=119']\nExploring Operation: 75+119=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 110:[75, 28, 91], Operations: ['2+89=91']\nExploring Operation: 75+91=166, Resulting Numbers: [28, 166]\nGenerated Node #0,9,5: 110:[28, 166] Operation: 75+91=166\nMoving to Node #0,9,5\nCurrent State: 110:[28, 166], Operations: ['2+89=91', '75+91=166']\nExploring Operation: 166-28=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,9,5\nCurrent State: 110:[28, 166], Operations: ['2+89=91', '75+91=166']\nExploring Operation: 28+166=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 75+2=77, Resulting Numbers: [28, 89, 77]\nGenerated Node #0,10: 110:[28, 89, 77] Operation: 75+2=77\nMoving to Node #0,10\nCurrent State: 110:[28, 89, 77], Operations: ['75+2=77']\nExploring Operation: 89-77=12, Resulting Numbers: [28, 12]\nGenerated Node #0,10,0: 110:[28, 12] Operation: 89-77=12\nMoving to Node #0,10,0\nCurrent State: 110:[28, 12], Operations: ['75+2=77', '89-77=12']\nExploring Operation: 28-12=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 110:[28, 12], Operations: ['75+2=77', '89-77=12']\nExploring Operation: 28+12=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 110:[28, 89, 77], Operations: ['75+2=77']\nExploring Operation: 28+77=105, Resulting Numbers: [89, 105]\nGenerated Node #0,10,1: 110:[89, 105] Operation: 28+77=105\nMoving to Node #0,10,1\nCurrent State: 110:[89, 105], Operations: ['75+2=77', '28+77=105']\nExploring Operation: 105-89=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 110:[89, 105], Operations: ['75+2=77', '28+77=105']\nExploring Operation: 89+105=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 110:[28, 89, 77], Operations: ['75+2=77']\nExploring Operation: 77-28=49, Resulting Numbers: [89, 49]\nGenerated Node #0,10,2: 110:[89, 49] Operation: 77-28=49\nMoving to Node #0,10,2\nCurrent State: 110:[89, 49], Operations: ['75+2=77', '77-28=49']\nExploring Operation: 89-49=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 110:[89, 49], Operations: ['75+2=77', '77-28=49']\nExploring Operation: 89+49=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 110:[28, 89, 77], Operations: ['75+2=77']\nExploring Operation: 89-28=61, Resulting Numbers: [77, 61]\nGenerated Node #0,10,3: 110:[77, 61] Operation: 89-28=61\nMoving to Node #0,10,3\nCurrent State: 110:[77, 61], Operations: ['75+2=77', '89-28=61']\nExploring Operation: 77-61=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 110:[77, 61], Operations: ['75+2=77', '89-28=61']\nExploring Operation: 77+61=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 110:[28, 89, 77], Operations: ['75+2=77']\nExploring Operation: 28+89=117, Resulting Numbers: [77, 117]\nGenerated Node #0,10,4: 110:[77, 117] Operation: 28+89=117\nMoving to Node #0,10,4\nCurrent State: 110:[77, 117], Operations: ['75+2=77', '28+89=117']\nExploring Operation: 117-77=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 110:[77, 117], Operations: ['75+2=77', '28+89=117']\nExploring Operation: 77+117=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 110:[28, 89, 77], Operations: ['75+2=77']\nExploring Operation: 89+77=166, Resulting Numbers: [28, 166]\nGenerated Node #0,10,5: 110:[28, 166] Operation: 89+77=166\nMoving to Node #0,10,5\nCurrent State: 110:[28, 166], Operations: ['75+2=77', '89+77=166']\nExploring Operation: 166-28=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 110:[28, 166], Operations: ['75+2=77', '89+77=166']\nExploring Operation: 28+166=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 2+28=30, Resulting Numbers: [75, 89, 30]\nGenerated Node #0,11: 110:[75, 89, 30] Operation: 2+28=30\nMoving to Node #0,11\nCurrent State: 110:[75, 89, 30], Operations: ['2+28=30']\nExploring Operation: 89-75=14, Resulting Numbers: [30, 14]\nGenerated Node #0,11,0: 110:[30, 14] Operation: 89-75=14\nMoving to Node #0,11,0\nCurrent State: 110:[30, 14], Operations: ['2+28=30', '89-75=14']\nExploring Operation: 30-14=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 110:[30, 14], Operations: ['2+28=30', '89-75=14']\nExploring Operation: 30+14=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 110:[75, 89, 30], Operations: ['2+28=30']\nExploring Operation: 89-30=59, Resulting Numbers: [75, 59]\nGenerated Node #0,11,1: 110:[75, 59] Operation: 89-30=59\nMoving to Node #0,11,1\nCurrent State: 110:[75, 59], Operations: ['2+28=30', '89-30=59']\nExploring Operation: 75-59=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 110:[75, 59], Operations: ['2+28=30', '89-30=59']\nExploring Operation: 75+59=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 110:[75, 89, 30], Operations: ['2+28=30']\nExploring Operation: 75+30=105, Resulting Numbers: [89, 105]\nGenerated Node #0,11,2: 110:[89, 105] Operation: 75+30=105\nMoving to Node #0,11,2\nCurrent State: 110:[89, 105], Operations: ['2+28=30', '75+30=105']\nExploring Operation: 105-89=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 110:[89, 105], Operations: ['2+28=30', '75+30=105']\nExploring Operation: 89+105=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 110:[75, 89, 30], Operations: ['2+28=30']\nExploring Operation: 89+30=119, Resulting Numbers: [75, 119]\nGenerated Node #0,11,3: 110:[75, 119] Operation: 89+30=119\nMoving to Node #0,11,3\nCurrent State: 110:[75, 119], Operations: ['2+28=30', '89+30=119']\nExploring Operation: 119-75=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,11,3\nCurrent State: 110:[75, 119], Operations: ['2+28=30', '89+30=119']\nExploring Operation: 75+119=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 110:[75, 89, 30], Operations: ['2+28=30']\nExploring Operation: 75-30=45, Resulting Numbers: [89, 45]\nGenerated Node #0,11,4: 110:[89, 45] Operation: 75-30=45\nMoving to Node #0,11,4\nCurrent State: 110:[89, 45], Operations: ['2+28=30', '75-30=45']\nExploring Operation: 89-45=44, Resulting Numbers: [44]\n44,110 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 110:[89, 45], Operations: ['2+28=30', '75-30=45']\nExploring Operation: 89+45=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 110:[75, 89, 30], Operations: ['2+28=30']\nExploring Operation: 75+89=164, Resulting Numbers: [30, 164]\nGenerated Node #0,11,5: 110:[30, 164] Operation: 75+89=164\nMoving to Node #0,11,5\nCurrent State: 110:[30, 164], Operations: ['2+28=30', '75+89=164']\nExploring Operation: 164-30=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,11,5\nCurrent State: 110:[30, 164], Operations: ['2+28=30', '75+89=164']\nExploring Operation: 30+164=194, Resulting Numbers: [194]\n194,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 89-2=87, Resulting Numbers: [75, 28, 87]\nGenerated Node #0,12: 110:[75, 28, 87] Operation: 89-2=87\nMoving to Node #0,12\nCurrent State: 110:[75, 28, 87], Operations: ['89-2=87']\nExploring Operation: 87-75=12, Resulting Numbers: [28, 12]\nGenerated Node #0,12,0: 110:[28, 12] Operation: 87-75=12\nMoving to Node #0,12,0\nCurrent State: 110:[28, 12], Operations: ['89-2=87', '87-75=12']\nExploring Operation: 28-12=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,12,0\nCurrent State: 110:[28, 12], Operations: ['89-2=87', '87-75=12']\nExploring Operation: 28+12=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 110:[75, 28, 87], Operations: ['89-2=87']\nExploring Operation: 87-28=59, Resulting Numbers: [75, 59]\nGenerated Node #0,12,1: 110:[75, 59] Operation: 87-28=59\nMoving to Node #0,12,1\nCurrent State: 110:[75, 59], Operations: ['89-2=87', '87-28=59']\nExploring Operation: 75-59=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,12,1\nCurrent State: 110:[75, 59], Operations: ['89-2=87', '87-28=59']\nExploring Operation: 75+59=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 110:[75, 28, 87], Operations: ['89-2=87']\nExploring Operation: 28+87=115, Resulting Numbers: [75, 115]\nGenerated Node #0,12,2: 110:[75, 115] Operation: 28+87=115\nMoving to Node #0,12,2\nCurrent State: 110:[75, 115], Operations: ['89-2=87', '28+87=115']\nExploring Operation: 115-75=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,12,2\nCurrent State: 110:[75, 115], Operations: ['89-2=87', '28+87=115']\nExploring Operation: 75+115=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 110:[75, 28, 87], Operations: ['89-2=87']\nExploring Operation: 75+28=103, Resulting Numbers: [87, 103]\nGenerated Node #0,12,3: 110:[87, 103] Operation: 75+28=103\nMoving to Node #0,12,3\nCurrent State: 110:[87, 103], Operations: ['89-2=87', '75+28=103']\nExploring Operation: 103-87=16, Resulting Numbers: [16]\n16,110 unequal: No Solution\nMoving to Node #0,12,3\nCurrent State: 110:[87, 103], Operations: ['89-2=87', '75+28=103']\nExploring Operation: 87+103=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 110:[75, 28, 87], Operations: ['89-2=87']\nExploring Operation: 75-28=47, Resulting Numbers: [87, 47]\nGenerated Node #0,12,4: 110:[87, 47] Operation: 75-28=47\nMoving to Node #0,12,4\nCurrent State: 110:[87, 47], Operations: ['89-2=87', '75-28=47']\nExploring Operation: 87-47=40, Resulting Numbers: [40]\n40,110 unequal: No Solution\nMoving to Node #0,12,4\nCurrent State: 110:[87, 47], Operations: ['89-2=87', '75-28=47']\nExploring Operation: 87+47=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 110:[75, 28, 87], Operations: ['89-2=87']\nExploring Operation: 75+87=162, Resulting Numbers: [28, 162]\nGenerated Node #0,12,5: 110:[28, 162] Operation: 75+87=162\nMoving to Node #0,12,5\nCurrent State: 110:[28, 162], Operations: ['89-2=87', '75+87=162']\nExploring Operation: 162-28=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,12,5\nCurrent State: 110:[28, 162], Operations: ['89-2=87', '75+87=162']\nExploring Operation: 28+162=190, Resulting Numbers: [190]\n190,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[75, 2, 28, 89], Operations: []\nExploring Operation: 75+89=164, Resulting Numbers: [2, 28, 164]\nGenerated Node #0,13: 110:[2, 28, 164] Operation: 75+89=164\nMoving to Node #0,13\nCurrent State: 110:[2, 28, 164], Operations: ['75+89=164']\nExploring Operation: 164-28=136, Resulting Numbers: [2, 136]\nGenerated Node #0,13,0: 110:[2, 136] Operation: 164-28=136\nMoving to Node #0,13,0\nCurrent State: 110:[2, 136], Operations: ['75+89=164', '164-28=136']\nExploring Operation: 136/2=68, Resulting Numbers: [68]\n68,110 unequal: No Solution\nMoving to Node #0,13,0\nCurrent State: 110:[2, 136], Operations: ['75+89=164', '164-28=136']\nExploring Operation: 136-2=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,13,0\nCurrent State: 110:[2, 136], Operations: ['75+89=164', '164-28=136']\nExploring Operation: 2+136=138, Resulting Numbers: [138]\n138,110 unequal: No Solution\nMoving to Node #0,13\nCurrent State: 110:[2, 28, 164], Operations: ['75+89=164']\nExploring Operation: 164/2=82, Resulting Numbers: [28, 82]\nGenerated Node #0,13,1: 110:[28, 82] Operation: 164/2=82\nMoving to Node #0,13,1\nCurrent State: 110:[28, 82], Operations: ['75+89=164', '164/2=82']\nExploring Operation: 28+82=110, Resulting Numbers: [110]\n110,110 equal: Goal Reached\nFinal operations:\n75+89=164\n164/2=82\n28+82=110",
"role": "assistant"
}
] |
[
75,
2,
28,
89
] | 110
|
dfs
|
mult_heuristic
| 0.727431
|
[
{
"content": "Given the numbers [162, 105, 53, 103] and the target 110, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 110:[162, 105, 53, 103], Operations: []\nExploring Operation: 162-105=57, Resulting Numbers: [53, 103, 57]\nGenerated Node #0,0: 110:[53, 103, 57] Operation: 162-105=57\nMoving to Node #0,0\nCurrent State: 110:[53, 103, 57], Operations: ['162-105=57']\nExploring Operation: 103-53=50, Resulting Numbers: [57, 50]\nGenerated Node #0,0,0: 110:[57, 50] Operation: 103-53=50\nMoving to Node #0,0,0\nCurrent State: 110:[57, 50], Operations: ['162-105=57', '103-53=50']\nExploring Operation: 57-50=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 110:[57, 50], Operations: ['162-105=57', '103-53=50']\nExploring Operation: 57+50=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[53, 103, 57], Operations: ['162-105=57']\nExploring Operation: 53+57=110, Resulting Numbers: [103, 110]\nGenerated Node #0,0,1: 110:[103, 110] Operation: 53+57=110\nMoving to Node #0,0,1\nCurrent State: 110:[103, 110], Operations: ['162-105=57', '53+57=110']\nExploring Operation: 110-103=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 110:[103, 110], Operations: ['162-105=57', '53+57=110']\nExploring Operation: 103+110=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[53, 103, 57], Operations: ['162-105=57']\nExploring Operation: 57-53=4, Resulting Numbers: [103, 4]\nGenerated Node #0,0,2: 110:[103, 4] Operation: 57-53=4\nMoving to Node #0,0,2\nCurrent State: 110:[103, 4], Operations: ['162-105=57', '57-53=4']\nExploring Operation: 103+4=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 110:[103, 4], Operations: ['162-105=57', '57-53=4']\nExploring Operation: 103-4=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[53, 103, 57], Operations: ['162-105=57']\nExploring Operation: 103-57=46, Resulting Numbers: [53, 46]\nGenerated Node #0,0,3: 110:[53, 46] Operation: 103-57=46\nMoving to Node #0,0,3\nCurrent State: 110:[53, 46], Operations: ['162-105=57', '103-57=46']\nExploring Operation: 53-46=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 110:[53, 46], Operations: ['162-105=57', '103-57=46']\nExploring Operation: 53+46=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[53, 103, 57], Operations: ['162-105=57']\nExploring Operation: 53+103=156, Resulting Numbers: [57, 156]\nGenerated Node #0,0,4: 110:[57, 156] Operation: 53+103=156\nMoving to Node #0,0,4\nCurrent State: 110:[57, 156], Operations: ['162-105=57', '53+103=156']\nExploring Operation: 156-57=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 110:[57, 156], Operations: ['162-105=57', '53+103=156']\nExploring Operation: 57+156=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[53, 103, 57], Operations: ['162-105=57']\nExploring Operation: 103+57=160, Resulting Numbers: [53, 160]\nGenerated Node #0,0,5: 110:[53, 160] Operation: 103+57=160\nMoving to Node #0,0,5\nCurrent State: 110:[53, 160], Operations: ['162-105=57', '103+57=160']\nExploring Operation: 160-53=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 110:[53, 160], Operations: ['162-105=57', '103+57=160']\nExploring Operation: 53+160=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[162, 105, 53, 103], Operations: []\nExploring Operation: 162-103=59, Resulting Numbers: [105, 53, 59]\nGenerated Node #0,1: 110:[105, 53, 59] Operation: 162-103=59\nMoving to Node #0,1\nCurrent State: 110:[105, 53, 59], Operations: ['162-103=59']\nExploring Operation: 59-53=6, Resulting Numbers: [105, 6]\nGenerated Node #0,1,0: 110:[105, 6] Operation: 59-53=6\nMoving to Node #0,1,0\nCurrent State: 110:[105, 6], Operations: ['162-103=59', '59-53=6']\nExploring Operation: 105+6=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 110:[105, 6], Operations: ['162-103=59', '59-53=6']\nExploring Operation: 105-6=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[105, 53, 59], Operations: ['162-103=59']\nExploring Operation: 105-53=52, Resulting Numbers: [59, 52]\nGenerated Node #0,1,1: 110:[59, 52] Operation: 105-53=52\nMoving to Node #0,1,1\nCurrent State: 110:[59, 52], Operations: ['162-103=59', '105-53=52']\nExploring Operation: 59+52=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 110:[59, 52], Operations: ['162-103=59', '105-53=52']\nExploring Operation: 59-52=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[105, 53, 59], Operations: ['162-103=59']\nExploring Operation: 53+59=112, Resulting Numbers: [105, 112]\nGenerated Node #0,1,2: 110:[105, 112] Operation: 53+59=112\nMoving to Node #0,1,2\nCurrent State: 110:[105, 112], Operations: ['162-103=59', '53+59=112']\nExploring Operation: 112-105=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 110:[105, 112], Operations: ['162-103=59', '53+59=112']\nExploring Operation: 105+112=217, Resulting Numbers: [217]\n217,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[105, 53, 59], Operations: ['162-103=59']\nExploring Operation: 105-59=46, Resulting Numbers: [53, 46]\nGenerated Node #0,1,3: 110:[53, 46] Operation: 105-59=46\nMoving to Node #0,1,3\nCurrent State: 110:[53, 46], Operations: ['162-103=59', '105-59=46']\nExploring Operation: 53-46=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 110:[53, 46], Operations: ['162-103=59', '105-59=46']\nExploring Operation: 53+46=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[105, 53, 59], Operations: ['162-103=59']\nExploring Operation: 105+53=158, Resulting Numbers: [59, 158]\nGenerated Node #0,1,4: 110:[59, 158] Operation: 105+53=158\nMoving to Node #0,1,4\nCurrent State: 110:[59, 158], Operations: ['162-103=59', '105+53=158']\nExploring Operation: 158-59=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 110:[59, 158], Operations: ['162-103=59', '105+53=158']\nExploring Operation: 59+158=217, Resulting Numbers: [217]\n217,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[105, 53, 59], Operations: ['162-103=59']\nExploring Operation: 105+59=164, Resulting Numbers: [53, 164]\nGenerated Node #0,1,5: 110:[53, 164] Operation: 105+59=164\nMoving to Node #0,1,5\nCurrent State: 110:[53, 164], Operations: ['162-103=59', '105+59=164']\nExploring Operation: 164-53=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 110:[53, 164], Operations: ['162-103=59', '105+59=164']\nExploring Operation: 53+164=217, Resulting Numbers: [217]\n217,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[162, 105, 53, 103], Operations: []\nExploring Operation: 162-53=109, Resulting Numbers: [105, 103, 109]\nGenerated Node #0,2: 110:[105, 103, 109] Operation: 162-53=109\nMoving to Node #0,2\nCurrent State: 110:[105, 103, 109], Operations: ['162-53=109']\nExploring Operation: 105-103=2, Resulting Numbers: [109, 2]\nGenerated Node #0,2,0: 110:[109, 2] Operation: 105-103=2\nMoving to Node #0,2,0\nCurrent State: 110:[109, 2], Operations: ['162-53=109', '105-103=2']\nExploring Operation: 109+2=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 110:[109, 2], Operations: ['162-53=109', '105-103=2']\nExploring Operation: 109-2=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 110:[109, 2], Operations: ['162-53=109', '105-103=2']\nExploring Operation: 109*2=218, Resulting Numbers: [218]\n218,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[105, 103, 109], Operations: ['162-53=109']\nExploring Operation: 109-103=6, Resulting Numbers: [105, 6]\nGenerated Node #0,2,1: 110:[105, 6] Operation: 109-103=6\nMoving to Node #0,2,1\nCurrent State: 110:[105, 6], Operations: ['162-53=109', '109-103=6']\nExploring Operation: 105+6=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 110:[105, 6], Operations: ['162-53=109', '109-103=6']\nExploring Operation: 105-6=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[105, 103, 109], Operations: ['162-53=109']\nExploring Operation: 109-105=4, Resulting Numbers: [103, 4]\nGenerated Node #0,2,2: 110:[103, 4] Operation: 109-105=4\nMoving to Node #0,2,2\nCurrent State: 110:[103, 4], Operations: ['162-53=109', '109-105=4']\nExploring Operation: 103+4=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 110:[103, 4], Operations: ['162-53=109', '109-105=4']\nExploring Operation: 103-4=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[105, 103, 109], Operations: ['162-53=109']\nExploring Operation: 105+103=208, Resulting Numbers: [109, 208]\nGenerated Node #0,2,3: 110:[109, 208] Operation: 105+103=208\nMoving to Node #0,2,3\nCurrent State: 110:[109, 208], Operations: ['162-53=109', '105+103=208']\nExploring Operation: 208-109=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[105, 103, 109], Operations: ['162-53=109']\nExploring Operation: 103+109=212, Resulting Numbers: [105, 212]\nGenerated Node #0,2,4: 110:[105, 212] Operation: 103+109=212\nMoving to Node #0,2,4\nCurrent State: 110:[105, 212], Operations: ['162-53=109', '103+109=212']\nExploring Operation: 212-105=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[162, 105, 53, 103], Operations: []\nExploring Operation: 105-103=2, Resulting Numbers: [162, 53, 2]\nGenerated Node #0,3: 110:[162, 53, 2] Operation: 105-103=2\nMoving to Node #0,3\nCurrent State: 110:[162, 53, 2], Operations: ['105-103=2']\nExploring Operation: 162-53=109, Resulting Numbers: [2, 109]\nGenerated Node #0,3,0: 110:[2, 109] Operation: 162-53=109\nMoving to Node #0,3,0\nCurrent State: 110:[2, 109], Operations: ['105-103=2', '162-53=109']\nExploring Operation: 2+109=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 110:[2, 109], Operations: ['105-103=2', '162-53=109']\nExploring Operation: 109-2=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 110:[2, 109], Operations: ['105-103=2', '162-53=109']\nExploring Operation: 2*109=218, Resulting Numbers: [218]\n218,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[162, 53, 2], Operations: ['105-103=2']\nExploring Operation: 162/2=81, Resulting Numbers: [53, 81]\nGenerated Node #0,3,1: 110:[53, 81] Operation: 162/2=81\nMoving to Node #0,3,1\nCurrent State: 110:[53, 81], Operations: ['105-103=2', '162/2=81']\nExploring Operation: 81-53=28, Resulting Numbers: [28]\n28,110 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 110:[53, 81], Operations: ['105-103=2', '162/2=81']\nExploring Operation: 53+81=134, Resulting Numbers: [134]\n134,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[162, 53, 2], Operations: ['105-103=2']\nExploring Operation: 162-2=160, Resulting Numbers: [53, 160]\nGenerated Node #0,3,2: 110:[53, 160] Operation: 162-2=160\nMoving to Node #0,3,2\nCurrent State: 110:[53, 160], Operations: ['105-103=2', '162-2=160']\nExploring Operation: 160-53=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 110:[53, 160], Operations: ['105-103=2', '162-2=160']\nExploring Operation: 53+160=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[162, 53, 2], Operations: ['105-103=2']\nExploring Operation: 53+2=55, Resulting Numbers: [162, 55]\nGenerated Node #0,3,3: 110:[162, 55] Operation: 53+2=55\nMoving to Node #0,3,3\nCurrent State: 110:[162, 55], Operations: ['105-103=2', '53+2=55']\nExploring Operation: 162-55=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 110:[162, 55], Operations: ['105-103=2', '53+2=55']\nExploring Operation: 162+55=217, Resulting Numbers: [217]\n217,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[162, 53, 2], Operations: ['105-103=2']\nExploring Operation: 162+2=164, Resulting Numbers: [53, 164]\nGenerated Node #0,3,4: 110:[53, 164] Operation: 162+2=164\nMoving to Node #0,3,4\nCurrent State: 110:[53, 164], Operations: ['105-103=2', '162+2=164']\nExploring Operation: 164-53=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 110:[53, 164], Operations: ['105-103=2', '162+2=164']\nExploring Operation: 53+164=217, Resulting Numbers: [217]\n217,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[162, 53, 2], Operations: ['105-103=2']\nExploring Operation: 53*2=106, Resulting Numbers: [162, 106]\nGenerated Node #0,3,5: 110:[162, 106] Operation: 53*2=106\nMoving to Node #0,3,5\nCurrent State: 110:[162, 106], Operations: ['105-103=2', '53*2=106']\nExploring Operation: 162-106=56, Resulting Numbers: [56]\n56,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[162, 53, 2], Operations: ['105-103=2']\nExploring Operation: 53-2=51, Resulting Numbers: [162, 51]\nGenerated Node #0,3,6: 110:[162, 51] Operation: 53-2=51\nMoving to Node #0,3,6\nCurrent State: 110:[162, 51], Operations: ['105-103=2', '53-2=51']\nExploring Operation: 162-51=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,3,6\nCurrent State: 110:[162, 51], Operations: ['105-103=2', '53-2=51']\nExploring Operation: 162+51=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[162, 53, 2], Operations: ['105-103=2']\nExploring Operation: 162+53=215, Resulting Numbers: [2, 215]\nGenerated Node #0,3,7: 110:[2, 215] Operation: 162+53=215\nMoving to Node #0,3,7\nCurrent State: 110:[2, 215], Operations: ['105-103=2', '162+53=215']\nExploring Operation: 215-2=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0,3,7\nCurrent State: 110:[2, 215], Operations: ['105-103=2', '162+53=215']\nExploring Operation: 2+215=217, Resulting Numbers: [217]\n217,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[162, 105, 53, 103], Operations: []\nExploring Operation: 105-53=52, Resulting Numbers: [162, 103, 52]\nGenerated Node #0,4: 110:[162, 103, 52] Operation: 105-53=52\nMoving to Node #0,4\nCurrent State: 110:[162, 103, 52], Operations: ['105-53=52']\nExploring Operation: 162-103=59, Resulting Numbers: [52, 59]\nGenerated Node #0,4,0: 110:[52, 59] Operation: 162-103=59\nMoving to Node #0,4,0\nCurrent State: 110:[52, 59], Operations: ['105-53=52', '162-103=59']\nExploring Operation: 52+59=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 110:[52, 59], Operations: ['105-53=52', '162-103=59']\nExploring Operation: 59-52=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[162, 103, 52], Operations: ['105-53=52']\nExploring Operation: 162-52=110, Resulting Numbers: [103, 110]\nGenerated Node #0,4,1: 110:[103, 110] Operation: 162-52=110\nMoving to Node #0,4,1\nCurrent State: 110:[103, 110], Operations: ['105-53=52', '162-52=110']\nExploring Operation: 110-103=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 110:[103, 110], Operations: ['105-53=52', '162-52=110']\nExploring Operation: 103+110=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[162, 103, 52], Operations: ['105-53=52']\nExploring Operation: 103-52=51, Resulting Numbers: [162, 51]\nGenerated Node #0,4,2: 110:[162, 51] Operation: 103-52=51\nMoving to Node #0,4,2\nCurrent State: 110:[162, 51], Operations: ['105-53=52', '103-52=51']\nExploring Operation: 162-51=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 110:[162, 51], Operations: ['105-53=52', '103-52=51']\nExploring Operation: 162+51=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[162, 103, 52], Operations: ['105-53=52']\nExploring Operation: 103+52=155, Resulting Numbers: [162, 155]\nGenerated Node #0,4,3: 110:[162, 155] Operation: 103+52=155\nMoving to Node #0,4,3\nCurrent State: 110:[162, 155], Operations: ['105-53=52', '103+52=155']\nExploring Operation: 162-155=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[162, 105, 53, 103], Operations: []\nExploring Operation: 103-53=50, Resulting Numbers: [162, 105, 50]\nGenerated Node #0,5: 110:[162, 105, 50] Operation: 103-53=50\nMoving to Node #0,5\nCurrent State: 110:[162, 105, 50], Operations: ['103-53=50']\nExploring Operation: 162-105=57, Resulting Numbers: [50, 57]\nGenerated Node #0,5,0: 110:[50, 57] Operation: 162-105=57\nMoving to Node #0,5,0\nCurrent State: 110:[50, 57], Operations: ['103-53=50', '162-105=57']\nExploring Operation: 57-50=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 110:[50, 57], Operations: ['103-53=50', '162-105=57']\nExploring Operation: 50+57=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[162, 105, 50], Operations: ['103-53=50']\nExploring Operation: 162-50=112, Resulting Numbers: [105, 112]\nGenerated Node #0,5,1: 110:[105, 112] Operation: 162-50=112\nMoving to Node #0,5,1\nCurrent State: 110:[105, 112], Operations: ['103-53=50', '162-50=112']\nExploring Operation: 112-105=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 110:[105, 112], Operations: ['103-53=50', '162-50=112']\nExploring Operation: 105+112=217, Resulting Numbers: [217]\n217,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[162, 105, 50], Operations: ['103-53=50']\nExploring Operation: 105-50=55, Resulting Numbers: [162, 55]\nGenerated Node #0,5,2: 110:[162, 55] Operation: 105-50=55\nMoving to Node #0,5,2\nCurrent State: 110:[162, 55], Operations: ['103-53=50', '105-50=55']\nExploring Operation: 162-55=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 110:[162, 55], Operations: ['103-53=50', '105-50=55']\nExploring Operation: 162+55=217, Resulting Numbers: [217]\n217,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[162, 105, 50], Operations: ['103-53=50']\nExploring Operation: 105+50=155, Resulting Numbers: [162, 155]\nGenerated Node #0,5,3: 110:[162, 155] Operation: 105+50=155\nMoving to Node #0,5,3\nCurrent State: 110:[162, 155], Operations: ['103-53=50', '105+50=155']\nExploring Operation: 162-155=7, Resulting Numbers: [7]\n7,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[162, 105, 50], Operations: ['103-53=50']\nExploring Operation: 162+50=212, Resulting Numbers: [105, 212]\nGenerated Node #0,5,4: 110:[105, 212] Operation: 162+50=212\nMoving to Node #0,5,4\nCurrent State: 110:[105, 212], Operations: ['103-53=50', '162+50=212']\nExploring Operation: 212-105=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[162, 105, 53, 103], Operations: []\nExploring Operation: 53+103=156, Resulting Numbers: [162, 105, 156]\nGenerated Node #0,6: 110:[162, 105, 156] Operation: 53+103=156\nMoving to Node #0,6\nCurrent State: 110:[162, 105, 156], Operations: ['53+103=156']\nExploring Operation: 162-156=6, Resulting Numbers: [105, 6]\nGenerated Node #0,6,0: 110:[105, 6] Operation: 162-156=6\nMoving to Node #0,6,0\nCurrent State: 110:[105, 6], Operations: ['53+103=156', '162-156=6']\nExploring Operation: 105+6=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 110:[105, 6], Operations: ['53+103=156', '162-156=6']\nExploring Operation: 105-6=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 110:[162, 105, 156], Operations: ['53+103=156']\nExploring Operation: 162-105=57, Resulting Numbers: [156, 57]\nGenerated Node #0,6,1: 110:[156, 57] Operation: 162-105=57\nMoving to Node #0,6,1\nCurrent State: 110:[156, 57], Operations: ['53+103=156', '162-105=57']\nExploring Operation: 156-57=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 110:[156, 57], Operations: ['53+103=156', '162-105=57']\nExploring Operation: 156+57=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 110:[162, 105, 156], Operations: ['53+103=156']\nExploring Operation: 156-105=51, Resulting Numbers: [162, 51]\nGenerated Node #0,6,2: 110:[162, 51] Operation: 156-105=51\nMoving to Node #0,6,2\nCurrent State: 110:[162, 51], Operations: ['53+103=156', '156-105=51']\nExploring Operation: 162-51=111, Resulting Numbers: [111]\n111,110 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 110:[162, 51], Operations: ['53+103=156', '156-105=51']\nExploring Operation: 162+51=213, Resulting Numbers: [213]\n213,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[162, 105, 53, 103], Operations: []\nExploring Operation: 105+53=158, Resulting Numbers: [162, 103, 158]\nGenerated Node #0,7: 110:[162, 103, 158] Operation: 105+53=158\nMoving to Node #0,7\nCurrent State: 110:[162, 103, 158], Operations: ['105+53=158']\nExploring Operation: 162-158=4, Resulting Numbers: [103, 4]\nGenerated Node #0,7,0: 110:[103, 4] Operation: 162-158=4\nMoving to Node #0,7,0\nCurrent State: 110:[103, 4], Operations: ['105+53=158', '162-158=4']\nExploring Operation: 103+4=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 110:[103, 4], Operations: ['105+53=158', '162-158=4']\nExploring Operation: 103-4=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 110:[162, 103, 158], Operations: ['105+53=158']\nExploring Operation: 162-103=59, Resulting Numbers: [158, 59]\nGenerated Node #0,7,1: 110:[158, 59] Operation: 162-103=59\nMoving to Node #0,7,1\nCurrent State: 110:[158, 59], Operations: ['105+53=158', '162-103=59']\nExploring Operation: 158-59=99, Resulting Numbers: [99]\n99,110 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 110:[158, 59], Operations: ['105+53=158', '162-103=59']\nExploring Operation: 158+59=217, Resulting Numbers: [217]\n217,110 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 110:[162, 103, 158], Operations: ['105+53=158']\nExploring Operation: 158-103=55, Resulting Numbers: [162, 55]\nGenerated Node #0,7,2: 110:[162, 55] Operation: 158-103=55\nMoving to Node #0,7,2\nCurrent State: 110:[162, 55], Operations: ['105+53=158', '158-103=55']\nExploring Operation: 162-55=107, Resulting Numbers: [107]\n107,110 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 110:[162, 55], Operations: ['105+53=158', '158-103=55']\nExploring Operation: 162+55=217, Resulting Numbers: [217]\n217,110 unequal: No Solution",
"role": "assistant"
}
] |
[
162,
105,
53,
103
] | 110
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [137, 40, 4, 17] and the target 10, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 10:[137, 40, 4, 17], Operations: []",
"role": "assistant"
}
] |
[
137,
40,
4,
17
] | 10
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [63, 21, 165, 41] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[63, 21, 165, 41], Operations: []",
"role": "assistant"
}
] |
[
63,
21,
165,
41
] | 127
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [173, 2, 161, 181] and the target 14, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 14:[173, 2, 161, 181], Operations: []",
"role": "assistant"
}
] |
[
173,
2,
161,
181
] | 14
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [97, 13, 93, 91] and the target 26, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 26:[97, 13, 93, 91], Operations: []",
"role": "assistant"
}
] |
[
97,
13,
93,
91
] | 26
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [5, 13, 6, 173] and the target 161, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 161:[5, 13, 6, 173], Operations: []\nExploring Operation: 173-13=160, Resulting Numbers: [5, 6, 160]\nGenerated Node #0,0: 161:[5, 6, 160] Operation: 173-13=160\nExploring Operation: 173-6=167, Resulting Numbers: [5, 13, 167]\nGenerated Node #0,1: 161:[5, 13, 167] Operation: 173-6=167\nExploring Operation: 13-5=8, Resulting Numbers: [6, 173, 8]\nGenerated Node #0,2: 161:[6, 173, 8] Operation: 13-5=8\nExploring Operation: 13-6=7, Resulting Numbers: [5, 173, 7]\nGenerated Node #0,3: 161:[5, 173, 7] Operation: 13-6=7\nExploring Operation: 173-5=168, Resulting Numbers: [13, 6, 168]\nGenerated Node #0,4: 161:[13, 6, 168] Operation: 173-5=168\nMoving to Node #0,0\nCurrent State: 161:[5, 6, 160], Operations: ['173-13=160']\nExploring Operation: 6-5=1, Resulting Numbers: [160, 1]\nGenerated Node #0,0,0: 161:[160, 1] Operation: 6-5=1\nExploring Operation: 6+160=166, Resulting Numbers: [5, 166]\nGenerated Node #0,0,1: 161:[5, 166] Operation: 6+160=166\nExploring Operation: 160-5=155, Resulting Numbers: [6, 155]\nGenerated Node #0,0,2: 161:[6, 155] Operation: 160-5=155\nExploring Operation: 5+160=165, Resulting Numbers: [6, 165]\nGenerated Node #0,0,3: 161:[6, 165] Operation: 5+160=165\nExploring Operation: 5+6=11, Resulting Numbers: [160, 11]\nGenerated Node #0,0,4: 161:[160, 11] Operation: 5+6=11\nMoving to Node #0,2\nCurrent State: 161:[6, 173, 8], Operations: ['13-5=8']\nExploring Operation: 173-8=165, Resulting Numbers: [6, 165]\nGenerated Node #0,2,0: 161:[6, 165] Operation: 173-8=165\nExploring Operation: 6+173=179, Resulting Numbers: [8, 179]\nGenerated Node #0,2,1: 161:[8, 179] Operation: 6+173=179\nExploring Operation: 6+8=14, Resulting Numbers: [173, 14]\nGenerated Node #0,2,2: 161:[173, 14] Operation: 6+8=14\nExploring Operation: 8-6=2, Resulting Numbers: [173, 2]\nGenerated Node #0,2,3: 161:[173, 2] Operation: 8-6=2\nExploring Operation: 173-6=167, Resulting Numbers: [8, 167]\nGenerated Node #0,2,4: 161:[8, 167] Operation: 173-6=167\nMoving to Node #0,4\nCurrent State: 161:[13, 6, 168], Operations: ['173-5=168']\nExploring Operation: 168-13=155, Resulting Numbers: [6, 155]\nGenerated Node #0,4,0: 161:[6, 155] Operation: 168-13=155\nExploring Operation: 168/6=28, Resulting Numbers: [13, 28]\nGenerated Node #0,4,1: 161:[13, 28] Operation: 168/6=28\nExploring Operation: 13+6=19, Resulting Numbers: [168, 19]\nGenerated Node #0,4,2: 161:[168, 19] Operation: 13+6=19\nExploring Operation: 168-6=162, Resulting Numbers: [13, 162]\nGenerated Node #0,4,3: 161:[13, 162] Operation: 168-6=162\nExploring Operation: 13-6=7, Resulting Numbers: [168, 7]\nGenerated Node #0,4,4: 161:[168, 7] Operation: 13-6=7\nMoving to Node #0,1\nCurrent State: 161:[5, 13, 167], Operations: ['173-6=167']\nExploring Operation: 13-5=8, Resulting Numbers: [167, 8]\nGenerated Node #0,1,0: 161:[167, 8] Operation: 13-5=8\nExploring Operation: 167-5=162, Resulting Numbers: [13, 162]\nGenerated Node #0,1,1: 161:[13, 162] Operation: 167-5=162\nExploring Operation: 5+13=18, Resulting Numbers: [167, 18]\nGenerated Node #0,1,2: 161:[167, 18] Operation: 5+13=18\nExploring Operation: 167-13=154, Resulting Numbers: [5, 154]\nGenerated Node #0,1,3: 161:[5, 154] Operation: 167-13=154\nExploring Operation: 5+167=172, Resulting Numbers: [13, 172]\nGenerated Node #0,1,4: 161:[13, 172] Operation: 5+167=172\nMoving to Node #0,3\nCurrent State: 161:[5, 173, 7], Operations: ['13-6=7']\nExploring Operation: 173-5=168, Resulting Numbers: [7, 168]\nGenerated Node #0,3,0: 161:[7, 168] Operation: 173-5=168\nExploring Operation: 5+173=178, Resulting Numbers: [7, 178]\nGenerated Node #0,3,1: 161:[7, 178] Operation: 5+173=178\nExploring Operation: 5+7=12, Resulting Numbers: [173, 12]\nGenerated Node #0,3,2: 161:[173, 12] Operation: 5+7=12\nExploring Operation: 173-7=166, Resulting Numbers: [5, 166]\nGenerated Node #0,3,3: 161:[5, 166] Operation: 173-7=166\nExploring Operation: 7-5=2, Resulting Numbers: [173, 2]\nGenerated Node #0,3,4: 161:[173, 2] Operation: 7-5=2\nMoving to Node #0,0,3\nCurrent State: 161:[6, 165], Operations: ['173-13=160', '5+160=165']\nExploring Operation: 6+165=171, Resulting Numbers: [171]\n171,161 unequal: No Solution\nExploring Operation: 6*165=990, Resulting Numbers: [990]\n990,161 unequal: No Solution\nExploring Operation: 165-6=159, Resulting Numbers: [159]\n159,161 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 161:[6, 165], Operations: ['13-5=8', '173-8=165']\nExploring Operation: 165-6=159, Resulting Numbers: [159]\n159,161 unequal: No Solution\nExploring Operation: 6+165=171, Resulting Numbers: [171]\n171,161 unequal: No Solution\nExploring Operation: 6*165=990, Resulting Numbers: [990]\n990,161 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 161:[160, 11], Operations: ['173-13=160', '5+6=11']\nExploring Operation: 160-11=149, Resulting Numbers: [149]\n149,161 unequal: No Solution\nExploring Operation: 160*11=1760, Resulting Numbers: [1760]\n1760,161 unequal: No Solution\nExploring Operation: 160+11=171, Resulting Numbers: [171]\n171,161 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 161:[8, 167], Operations: ['13-5=8', '173-6=167']\nExploring Operation: 167-8=159, Resulting Numbers: [159]\n159,161 unequal: No Solution\nExploring Operation: 8*167=1336, Resulting Numbers: [1336]\n1336,161 unequal: No Solution\nExploring Operation: 8+167=175, Resulting Numbers: [175]\n175,161 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 161:[160, 1], Operations: ['173-13=160', '6-5=1']\nExploring Operation: 160*1=160, Resulting Numbers: [160]\n160,161 unequal: No Solution\nExploring Operation: 160/1=160, Resulting Numbers: [160]\n160,161 unequal: No Solution\nExploring Operation: 160+1=161, Resulting Numbers: [161]\n161,161 equal: Goal Reached\nFinal operations:\n173-13=160\n6-5=1\n160+1=161",
"role": "assistant"
}
] |
[
5,
13,
6,
173
] | 161
|
bfs_5
|
mult_heuristic
| 0.960069
|
[
{
"content": "Given the numbers [77, 152, 95, 90] and the target 110, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 110:[77, 152, 95, 90], Operations: []\nExploring Operation: 152-77=75, Resulting Numbers: [95, 90, 75]\nGenerated Node #0,0: 110:[95, 90, 75] Operation: 152-77=75\nMoving to Node #0,0\nCurrent State: 110:[95, 90, 75], Operations: ['152-77=75']\nExploring Operation: 90+75=165, Resulting Numbers: [95, 165]\nGenerated Node #0,0,0: 110:[95, 165] Operation: 90+75=165\nMoving to Node #0,0,0\nCurrent State: 110:[95, 165], Operations: ['152-77=75', '90+75=165']\nExploring Operation: 165-95=70, Resulting Numbers: [70]\n70,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[95, 90, 75], Operations: ['152-77=75']\nExploring Operation: 95+75=170, Resulting Numbers: [90, 170]\nGenerated Node #0,0,1: 110:[90, 170] Operation: 95+75=170\nMoving to Node #0,0,1\nCurrent State: 110:[90, 170], Operations: ['152-77=75', '95+75=170']\nExploring Operation: 170-90=80, Resulting Numbers: [80]\n80,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[95, 90, 75], Operations: ['152-77=75']\nExploring Operation: 95+90=185, Resulting Numbers: [75, 185]\nGenerated Node #0,0,2: 110:[75, 185] Operation: 95+90=185\nMoving to Node #0,0,2\nCurrent State: 110:[75, 185], Operations: ['152-77=75', '95+90=185']\nExploring Operation: 185-75=110, Resulting Numbers: [110]\n110,110 equal: Goal Reached\nFinal operations:\n152-77=75\n95+90=185\n185-75=110",
"role": "assistant"
}
] |
[
77,
152,
95,
90
] | 110
|
dfs
|
sum_heuristic
| 0.993056
|
[
{
"content": "Given the numbers [192, 189, 47, 11] and the target 14, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 14:[192, 189, 47, 11], Operations: []",
"role": "assistant"
}
] |
[
192,
189,
47,
11
] | 14
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [10, 101, 154, 184] and the target 199, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 199:[10, 101, 154, 184], Operations: []\nExploring Operation: 10+101=111, Resulting Numbers: [154, 184, 111]\nGenerated Node #0,0: 199:[154, 184, 111] Operation: 10+101=111\nExploring Operation: 10+184=194, Resulting Numbers: [101, 154, 194]\nGenerated Node #0,1: 199:[101, 154, 194] Operation: 10+184=194\nExploring Operation: 10+154=164, Resulting Numbers: [101, 184, 164]\nGenerated Node #0,2: 199:[101, 184, 164] Operation: 10+154=164\nExploring Operation: 101-10=91, Resulting Numbers: [154, 184, 91]\nGenerated Node #0,3: 199:[154, 184, 91] Operation: 101-10=91\nMoving to Node #0,0\nCurrent State: 199:[154, 184, 111], Operations: ['10+101=111']\nExploring Operation: 154+111=265, Resulting Numbers: [184, 265]\nGenerated Node #0,0,0: 199:[184, 265] Operation: 154+111=265\nExploring Operation: 154-111=43, Resulting Numbers: [184, 43]\nGenerated Node #0,0,1: 199:[184, 43] Operation: 154-111=43\nExploring Operation: 184-111=73, Resulting Numbers: [154, 73]\nGenerated Node #0,0,2: 199:[154, 73] Operation: 184-111=73\nExploring Operation: 184+111=295, Resulting Numbers: [154, 295]\nGenerated Node #0,0,3: 199:[154, 295] Operation: 184+111=295\nMoving to Node #0,2\nCurrent State: 199:[101, 184, 164], Operations: ['10+154=164']\nExploring Operation: 164-101=63, Resulting Numbers: [184, 63]\nGenerated Node #0,2,0: 199:[184, 63] Operation: 164-101=63\nExploring Operation: 101+164=265, Resulting Numbers: [184, 265]\nGenerated Node #0,2,1: 199:[184, 265] Operation: 101+164=265\nExploring Operation: 184-101=83, Resulting Numbers: [164, 83]\nGenerated Node #0,2,2: 199:[164, 83] Operation: 184-101=83\nExploring Operation: 101+184=285, Resulting Numbers: [164, 285]\nGenerated Node #0,2,3: 199:[164, 285] Operation: 101+184=285\nMoving to Node #0,1\nCurrent State: 199:[101, 154, 194], Operations: ['10+184=194']\nExploring Operation: 154-101=53, Resulting Numbers: [194, 53]\nGenerated Node #0,1,0: 199:[194, 53] Operation: 154-101=53\nExploring Operation: 194-101=93, Resulting Numbers: [154, 93]\nGenerated Node #0,1,1: 199:[154, 93] Operation: 194-101=93\nExploring Operation: 101+154=255, Resulting Numbers: [194, 255]\nGenerated Node #0,1,2: 199:[194, 255] Operation: 101+154=255\nExploring Operation: 101+194=295, Resulting Numbers: [154, 295]\nGenerated Node #0,1,3: 199:[154, 295] Operation: 101+194=295\nMoving to Node #0,3\nCurrent State: 199:[154, 184, 91], Operations: ['101-10=91']\nExploring Operation: 184+91=275, Resulting Numbers: [154, 275]\nGenerated Node #0,3,0: 199:[154, 275] Operation: 184+91=275\nExploring Operation: 154-91=63, Resulting Numbers: [184, 63]\nGenerated Node #0,3,1: 199:[184, 63] Operation: 154-91=63\nExploring Operation: 154+91=245, Resulting Numbers: [184, 245]\nGenerated Node #0,3,2: 199:[184, 245] Operation: 154+91=245\nExploring Operation: 184-91=93, Resulting Numbers: [154, 93]\nGenerated Node #0,3,3: 199:[154, 93] Operation: 184-91=93\nMoving to Node #0,1,2\nCurrent State: 199:[194, 255], Operations: ['10+184=194', '101+154=255']\nExploring Operation: 194+255=449, Resulting Numbers: [449]\n449,199 unequal: No Solution\nExploring Operation: 194*255=49470, Resulting Numbers: [49470]\n49470,199 unequal: No Solution\nExploring Operation: 255-194=61, Resulting Numbers: [61]\n61,199 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 199:[184, 245], Operations: ['101-10=91', '154+91=245']\nExploring Operation: 184*245=45080, Resulting Numbers: [45080]\n45080,199 unequal: No Solution\nExploring Operation: 245-184=61, Resulting Numbers: [61]\n61,199 unequal: No Solution\nExploring Operation: 184+245=429, Resulting Numbers: [429]\n429,199 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 199:[184, 265], Operations: ['10+101=111', '154+111=265']\nExploring Operation: 265-184=81, Resulting Numbers: [81]\n81,199 unequal: No Solution\nExploring Operation: 184+265=449, Resulting Numbers: [449]\n449,199 unequal: No Solution\nExploring Operation: 184*265=48760, Resulting Numbers: [48760]\n48760,199 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 199:[184, 265], Operations: ['10+154=164', '101+164=265']\nExploring Operation: 184*265=48760, Resulting Numbers: [48760]\n48760,199 unequal: No Solution\nExploring Operation: 265-184=81, Resulting Numbers: [81]\n81,199 unequal: No Solution\nExploring Operation: 184+265=449, Resulting Numbers: [449]\n449,199 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 199:[154, 275], Operations: ['101-10=91', '184+91=275']\nExploring Operation: 275-154=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nExploring Operation: 154+275=429, Resulting Numbers: [429]\n429,199 unequal: No Solution\nExploring Operation: 154*275=42350, Resulting Numbers: [42350]\n42350,199 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 199:[164, 285], Operations: ['10+154=164', '101+184=285']\nExploring Operation: 164*285=46740, Resulting Numbers: [46740]\n46740,199 unequal: No Solution\nExploring Operation: 164+285=449, Resulting Numbers: [449]\n449,199 unequal: No Solution\nExploring Operation: 285-164=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 199:[154, 295], Operations: ['10+101=111', '184+111=295']\nExploring Operation: 154+295=449, Resulting Numbers: [449]\n449,199 unequal: No Solution\nExploring Operation: 295-154=141, Resulting Numbers: [141]\n141,199 unequal: No Solution\nExploring Operation: 154*295=45430, Resulting Numbers: [45430]\n45430,199 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 199:[154, 295], Operations: ['10+184=194', '101+194=295']\nExploring Operation: 295-154=141, Resulting Numbers: [141]\n141,199 unequal: No Solution\nExploring Operation: 154*295=45430, Resulting Numbers: [45430]\n45430,199 unequal: No Solution\nExploring Operation: 154+295=449, Resulting Numbers: [449]\n449,199 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 199:[141], Operations: ['10+101=111', '184+111=295', '295-154=141']\nMoving to Node #0,1,3,0\nCurrent State: 199:[141], Operations: ['10+184=194', '101+194=295', '295-154=141']\nMoving to Node #0,3,1\nCurrent State: 199:[184, 63], Operations: ['101-10=91', '154-91=63']\nExploring Operation: 184*63=11592, Resulting Numbers: [11592]\n11592,199 unequal: No Solution\nExploring Operation: 184-63=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nExploring Operation: 184+63=247, Resulting Numbers: [247]\n247,199 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 199:[154, 93], Operations: ['10+184=194', '194-101=93']\nExploring Operation: 154*93=14322, Resulting Numbers: [14322]\n14322,199 unequal: No Solution\nExploring Operation: 154-93=61, Resulting Numbers: [61]\n61,199 unequal: No Solution\nExploring Operation: 154+93=247, Resulting Numbers: [247]\n247,199 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 199:[247], Operations: ['101-10=91', '154-91=63', '184+63=247']\nMoving to Node #0,1,1,0\nCurrent State: 199:[247], Operations: ['10+184=194', '194-101=93', '154+93=247']\nMoving to Node #0,1,0\nCurrent State: 199:[194, 53], Operations: ['10+184=194', '154-101=53']\nExploring Operation: 194+53=247, Resulting Numbers: [247]\n247,199 unequal: No Solution\nExploring Operation: 194*53=10282, Resulting Numbers: [10282]\n10282,199 unequal: No Solution\nExploring Operation: 194-53=141, Resulting Numbers: [141]\n141,199 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 199:[184, 63], Operations: ['10+154=164', '164-101=63']\nExploring Operation: 184+63=247, Resulting Numbers: [247]\n247,199 unequal: No Solution\nExploring Operation: 184*63=11592, Resulting Numbers: [11592]\n11592,199 unequal: No Solution\nExploring Operation: 184-63=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 199:[247], Operations: ['10+184=194', '154-101=53', '194+53=247']\nMoving to Node #0,2,0,0\nCurrent State: 199:[247], Operations: ['10+154=164', '164-101=63', '184+63=247']\nMoving to Node #0,1,0,0\nCurrent State: 199:[141], Operations: ['10+184=194', '154-101=53', '194-53=141']\nMoving to Node #0,2,2\nCurrent State: 199:[164, 83], Operations: ['10+154=164', '184-101=83']\nExploring Operation: 164*83=13612, Resulting Numbers: [13612]\n13612,199 unequal: No Solution\nExploring Operation: 164-83=81, Resulting Numbers: [81]\n81,199 unequal: No Solution\nExploring Operation: 164+83=247, Resulting Numbers: [247]\n247,199 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 199:[247], Operations: ['10+154=164', '184-101=83', '164+83=247']\nMoving to Node #0,3,3\nCurrent State: 199:[154, 93], Operations: ['101-10=91', '184-91=93']\nExploring Operation: 154+93=247, Resulting Numbers: [247]\n247,199 unequal: No Solution\nExploring Operation: 154*93=14322, Resulting Numbers: [14322]\n14322,199 unequal: No Solution\nExploring Operation: 154-93=61, Resulting Numbers: [61]\n61,199 unequal: No Solution\nMoving to Node #0,2,3,0\nCurrent State: 199:[121], Operations: ['10+154=164', '101+184=285', '285-164=121']\nMoving to Node #0,3,1,0\nCurrent State: 199:[121], Operations: ['101-10=91', '154-91=63', '184-63=121']\nMoving to Node #0,3,3,0\nCurrent State: 199:[247], Operations: ['101-10=91', '184-91=93', '154+93=247']\nMoving to Node #0,3,0,0\nCurrent State: 199:[121], Operations: ['101-10=91', '184+91=275', '275-154=121']\nMoving to Node #0,2,0,0\nCurrent State: 199:[121], Operations: ['10+154=164', '164-101=63', '184-63=121']\nMoving to Node #0,0,1\nCurrent State: 199:[184, 43], Operations: ['10+101=111', '154-111=43']\nExploring Operation: 184+43=227, Resulting Numbers: [227]\n227,199 unequal: No Solution\nExploring Operation: 184-43=141, Resulting Numbers: [141]\n141,199 unequal: No Solution\nExploring Operation: 184*43=7912, Resulting Numbers: [7912]\n7912,199 unequal: No Solution\nMoving to Node #0,0,1,0\nCurrent State: 199:[227], Operations: ['10+101=111', '154-111=43', '184+43=227']\nMoving to Node #0,0,1,0\nCurrent State: 199:[141], Operations: ['10+101=111', '154-111=43', '184-43=141']\nMoving to Node #0,0,2\nCurrent State: 199:[154, 73], Operations: ['10+101=111', '184-111=73']\nExploring Operation: 154+73=227, Resulting Numbers: [227]\n227,199 unequal: No Solution\nExploring Operation: 154-73=81, Resulting Numbers: [81]\n81,199 unequal: No Solution\nExploring Operation: 154*73=11242, Resulting Numbers: [11242]\n11242,199 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 199:[81], Operations: ['10+154=164', '101+164=265', '265-184=81']\nMoving to Node #0,0,2,0\nCurrent State: 199:[227], Operations: ['10+101=111', '184-111=73', '154+73=227']\nMoving to Node #0,0,0,0\nCurrent State: 199:[81], Operations: ['10+101=111', '154+111=265', '265-184=81']\nMoving to Node #0,0,2,0\nCurrent State: 199:[81], Operations: ['10+101=111', '184-111=73', '154-73=81']\nMoving to Node #0,2,2,0\nCurrent State: 199:[81], Operations: ['10+154=164', '184-101=83', '164-83=81']\nMoving to Node #0,1,2,0\nCurrent State: 199:[61], Operations: ['10+184=194', '101+154=255', '255-194=61']\nMoving to Node #0,1,1,0\nCurrent State: 199:[61], Operations: ['10+184=194', '194-101=93', '154-93=61']\nMoving to Node #0,3,2,0\nCurrent State: 199:[61], Operations: ['101-10=91', '154+91=245', '245-184=61']\nMoving to Node #0,3,3,0\nCurrent State: 199:[61], Operations: ['101-10=91', '184-91=93', '154-93=61']\nMoving to Node #0,3,2,0\nCurrent State: 199:[429], Operations: ['101-10=91', '154+91=245', '184+245=429']\nMoving to Node #0,3,0,0\nCurrent State: 199:[429], Operations: ['101-10=91', '184+91=275', '154+275=429']\nMoving to Node #0,1,3,0\nCurrent State: 199:[449], Operations: ['10+184=194', '101+194=295', '154+295=449']\nMoving to Node #0,1,2,0\nCurrent State: 199:[449], Operations: ['10+184=194', '101+154=255', '194+255=449']\nMoving to Node #0,2,3,0\nCurrent State: 199:[449], Operations: ['10+154=164', '101+184=285', '164+285=449']\nMoving to Node #0,0,3,0\nCurrent State: 199:[449], Operations: ['10+101=111', '184+111=295', '154+295=449']\nMoving to Node #0,0,0,0\nCurrent State: 199:[449], Operations: ['10+101=111', '154+111=265', '184+265=449']\nMoving to Node #0,2,1,0\nCurrent State: 199:[449], Operations: ['10+154=164', '101+164=265', '184+265=449']\nMoving to Node #0,0,1,0\nCurrent State: 199:[7912], Operations: ['10+101=111', '154-111=43', '184*43=7912']\nMoving to Node #0,1,0,0\nCurrent State: 199:[10282], Operations: ['10+184=194', '154-101=53', '194*53=10282']\nMoving to Node #0,0,2,0\nCurrent State: 199:[11242], Operations: ['10+101=111', '184-111=73', '154*73=11242']\nMoving to Node #0,3,1,0\nCurrent State: 199:[11592], Operations: ['101-10=91', '154-91=63', '184*63=11592']\nMoving to Node #0,2,0,0\nCurrent State: 199:[11592], Operations: ['10+154=164', '164-101=63', '184*63=11592']\nMoving to Node #0,2,2,0\nCurrent State: 199:[13612], Operations: ['10+154=164', '184-101=83', '164*83=13612']\nMoving to Node #0,3,3,0\nCurrent State: 199:[14322], Operations: ['101-10=91', '184-91=93', '154*93=14322']\nMoving to Node #0,1,1,0\nCurrent State: 199:[14322], Operations: ['10+184=194', '194-101=93', '154*93=14322']\nMoving to Node #0,3,0,0\nCurrent State: 199:[42350], Operations: ['101-10=91', '184+91=275', '154*275=42350']\nMoving to Node #0,3,2,0\nCurrent State: 199:[45080], Operations: ['101-10=91', '154+91=245', '184*245=45080']\nMoving to Node #0,0,3,0\nCurrent State: 199:[45430], Operations: ['10+101=111', '184+111=295', '154*295=45430']\nMoving to Node #0,1,3,0\nCurrent State: 199:[45430], Operations: ['10+184=194', '101+194=295', '154*295=45430']\nMoving to Node #0,2,3,0\nCurrent State: 199:[46740], Operations: ['10+154=164', '101+184=285', '164*285=46740']\nMoving to Node #0,0,0,0\nCurrent State: 199:[48760], Operations: ['10+101=111', '154+111=265', '184*265=48760']\nMoving to Node #0,2,1,0\nCurrent State: 199:[48760], Operations: ['10+154=164', '101+164=265', '184*265=48760']\nMoving to Node #0,1,2,0\nCurrent State: 199:[49470], Operations: ['10+184=194', '101+154=255', '194*255=49470']",
"role": "assistant"
}
] |
[
10,
101,
154,
184
] | 199
|
bfs_4
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [78, 138, 3, 122] and the target 26, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 26:[78, 138, 3, 122], Operations: []",
"role": "assistant"
}
] |
[
78,
138,
3,
122
] | 26
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [93, 61, 78, 105] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[93, 61, 78, 105], Operations: []\nExploring Operation: 61+78=139, Resulting Numbers: [93, 105, 139]\nGenerated Node #0,0: 127:[93, 105, 139] Operation: 61+78=139\nMoving to Node #0,0\nCurrent State: 127:[93, 105, 139], Operations: ['61+78=139']\nExploring Operation: 93+105=198, Resulting Numbers: [139, 198]\nGenerated Node #0,0,0: 127:[139, 198] Operation: 93+105=198\nMoving to Node #0,0,0\nCurrent State: 127:[139, 198], Operations: ['61+78=139', '93+105=198']\nExploring Operation: 198-139=59, Resulting Numbers: [59]\n59,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[93, 105, 139], Operations: ['61+78=139']\nExploring Operation: 139-93=46, Resulting Numbers: [105, 46]\nGenerated Node #0,0,1: 127:[105, 46] Operation: 139-93=46\nMoving to Node #0,0,1\nCurrent State: 127:[105, 46], Operations: ['61+78=139', '139-93=46']\nExploring Operation: 105+46=151, Resulting Numbers: [151]\n151,127 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 127:[105, 46], Operations: ['61+78=139', '139-93=46']\nExploring Operation: 105-46=59, Resulting Numbers: [59]\n59,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[93, 105, 139], Operations: ['61+78=139']\nExploring Operation: 105-93=12, Resulting Numbers: [139, 12]\nGenerated Node #0,0,2: 127:[139, 12] Operation: 105-93=12\nMoving to Node #0,0,2\nCurrent State: 127:[139, 12], Operations: ['61+78=139', '105-93=12']\nExploring Operation: 139-12=127, Resulting Numbers: [127]\n127,127 equal: Goal Reached\nFinal operations:\n61+78=139\n105-93=12\n139-12=127",
"role": "assistant"
}
] |
[
93,
61,
78,
105
] | 127
|
dfs
|
sum_heuristic
| 0.992188
|
[
{
"content": "Given the numbers [147, 160, 7, 84] and the target 164, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 164:[147, 160, 7, 84], Operations: []\nExploring Operation: 147+7=154, Resulting Numbers: [160, 84, 154]\nGenerated Node #0,0: 164:[160, 84, 154] Operation: 147+7=154\nMoving to Node #0,0\nCurrent State: 164:[160, 84, 154], Operations: ['147+7=154']\nExploring Operation: 84+154=238, Resulting Numbers: [160, 238]\nGenerated Node #0,0,0: 164:[160, 238] Operation: 84+154=238\nMoving to Node #0,0,0\nCurrent State: 164:[160, 238], Operations: ['147+7=154', '84+154=238']\nExploring Operation: 238-160=78, Resulting Numbers: [78]\n78,164 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 164:[78], Operations: ['147+7=154', '84+154=238', '238-160=78']",
"role": "assistant"
}
] |
[
147,
160,
7,
84
] | 164
|
bfs_1
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [198, 192, 5, 151] and the target 26, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 26:[198, 192, 5, 151], Operations: []",
"role": "assistant"
}
] |
[
198,
192,
5,
151
] | 26
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [14, 47, 55, 121] and the target 176, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 55+121=176, Resulting Numbers: [14, 47, 176]\nGenerated Node #0,0: 176:[14, 47, 176] Operation: 55+121=176\nMoving to Node #0,0\nCurrent State: 176:[14, 47, 176], Operations: ['55+121=176']\nExploring Operation: 47-14=33, Resulting Numbers: [176, 33]\nGenerated Node #0,0,0: 176:[176, 33] Operation: 47-14=33\nMoving to Node #0,0,0\nCurrent State: 176:[176, 33], Operations: ['55+121=176', '47-14=33']\nExploring Operation: 176+33=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 176:[176, 33], Operations: ['55+121=176', '47-14=33']\nExploring Operation: 176-33=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[14, 47, 176], Operations: ['55+121=176']\nExploring Operation: 14+47=61, Resulting Numbers: [176, 61]\nGenerated Node #0,0,1: 176:[176, 61] Operation: 14+47=61\nMoving to Node #0,0,1\nCurrent State: 176:[176, 61], Operations: ['55+121=176', '14+47=61']\nExploring Operation: 176-61=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 176:[176, 61], Operations: ['55+121=176', '14+47=61']\nExploring Operation: 176+61=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[14, 47, 176], Operations: ['55+121=176']\nExploring Operation: 14+176=190, Resulting Numbers: [47, 190]\nGenerated Node #0,0,2: 176:[47, 190] Operation: 14+176=190\nMoving to Node #0,0,2\nCurrent State: 176:[47, 190], Operations: ['55+121=176', '14+176=190']\nExploring Operation: 190-47=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 176:[47, 190], Operations: ['55+121=176', '14+176=190']\nExploring Operation: 47+190=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[14, 47, 176], Operations: ['55+121=176']\nExploring Operation: 176-14=162, Resulting Numbers: [47, 162]\nGenerated Node #0,0,3: 176:[47, 162] Operation: 176-14=162\nMoving to Node #0,0,3\nCurrent State: 176:[47, 162], Operations: ['55+121=176', '176-14=162']\nExploring Operation: 162-47=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 176:[47, 162], Operations: ['55+121=176', '176-14=162']\nExploring Operation: 47+162=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[14, 47, 176], Operations: ['55+121=176']\nExploring Operation: 176-47=129, Resulting Numbers: [14, 129]\nGenerated Node #0,0,4: 176:[14, 129] Operation: 176-47=129\nMoving to Node #0,0,4\nCurrent State: 176:[14, 129], Operations: ['55+121=176', '176-47=129']\nExploring Operation: 129-14=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 176:[14, 129], Operations: ['55+121=176', '176-47=129']\nExploring Operation: 14+129=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[14, 47, 176], Operations: ['55+121=176']\nExploring Operation: 47+176=223, Resulting Numbers: [14, 223]\nGenerated Node #0,0,5: 176:[14, 223] Operation: 47+176=223\nMoving to Node #0,0,5\nCurrent State: 176:[14, 223], Operations: ['55+121=176', '47+176=223']\nExploring Operation: 223-14=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 176:[14, 223], Operations: ['55+121=176', '47+176=223']\nExploring Operation: 14+223=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 47+121=168, Resulting Numbers: [14, 55, 168]\nGenerated Node #0,1: 176:[14, 55, 168] Operation: 47+121=168\nMoving to Node #0,1\nCurrent State: 176:[14, 55, 168], Operations: ['47+121=168']\nExploring Operation: 55-14=41, Resulting Numbers: [168, 41]\nGenerated Node #0,1,0: 176:[168, 41] Operation: 55-14=41\nMoving to Node #0,1,0\nCurrent State: 176:[168, 41], Operations: ['47+121=168', '55-14=41']\nExploring Operation: 168+41=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 176:[168, 41], Operations: ['47+121=168', '55-14=41']\nExploring Operation: 168-41=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[14, 55, 168], Operations: ['47+121=168']\nExploring Operation: 168/14=12, Resulting Numbers: [55, 12]\nGenerated Node #0,1,1: 176:[55, 12] Operation: 168/14=12\nMoving to Node #0,1,1\nCurrent State: 176:[55, 12], Operations: ['47+121=168', '168/14=12']\nExploring Operation: 55-12=43, Resulting Numbers: [43]\n43,176 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 176:[55, 12], Operations: ['47+121=168', '168/14=12']\nExploring Operation: 55+12=67, Resulting Numbers: [67]\n67,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[14, 55, 168], Operations: ['47+121=168']\nExploring Operation: 14+168=182, Resulting Numbers: [55, 182]\nGenerated Node #0,1,2: 176:[55, 182] Operation: 14+168=182\nMoving to Node #0,1,2\nCurrent State: 176:[55, 182], Operations: ['47+121=168', '14+168=182']\nExploring Operation: 182-55=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 176:[55, 182], Operations: ['47+121=168', '14+168=182']\nExploring Operation: 55+182=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[14, 55, 168], Operations: ['47+121=168']\nExploring Operation: 14+55=69, Resulting Numbers: [168, 69]\nGenerated Node #0,1,3: 176:[168, 69] Operation: 14+55=69\nMoving to Node #0,1,3\nCurrent State: 176:[168, 69], Operations: ['47+121=168', '14+55=69']\nExploring Operation: 168-69=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 176:[168, 69], Operations: ['47+121=168', '14+55=69']\nExploring Operation: 168+69=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[14, 55, 168], Operations: ['47+121=168']\nExploring Operation: 168-55=113, Resulting Numbers: [14, 113]\nGenerated Node #0,1,4: 176:[14, 113] Operation: 168-55=113\nMoving to Node #0,1,4\nCurrent State: 176:[14, 113], Operations: ['47+121=168', '168-55=113']\nExploring Operation: 113-14=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 176:[14, 113], Operations: ['47+121=168', '168-55=113']\nExploring Operation: 14+113=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[14, 55, 168], Operations: ['47+121=168']\nExploring Operation: 168-14=154, Resulting Numbers: [55, 154]\nGenerated Node #0,1,5: 176:[55, 154] Operation: 168-14=154\nMoving to Node #0,1,5\nCurrent State: 176:[55, 154], Operations: ['47+121=168', '168-14=154']\nExploring Operation: 154-55=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 176:[55, 154], Operations: ['47+121=168', '168-14=154']\nExploring Operation: 55+154=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[14, 55, 168], Operations: ['47+121=168']\nExploring Operation: 55+168=223, Resulting Numbers: [14, 223]\nGenerated Node #0,1,6: 176:[14, 223] Operation: 55+168=223\nMoving to Node #0,1,6\nCurrent State: 176:[14, 223], Operations: ['47+121=168', '55+168=223']\nExploring Operation: 223-14=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 176:[14, 223], Operations: ['47+121=168', '55+168=223']\nExploring Operation: 14+223=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 121-47=74, Resulting Numbers: [14, 55, 74]\nGenerated Node #0,2: 176:[14, 55, 74] Operation: 121-47=74\nMoving to Node #0,2\nCurrent State: 176:[14, 55, 74], Operations: ['121-47=74']\nExploring Operation: 74-55=19, Resulting Numbers: [14, 19]\nGenerated Node #0,2,0: 176:[14, 19] Operation: 74-55=19\nMoving to Node #0,2,0\nCurrent State: 176:[14, 19], Operations: ['121-47=74', '74-55=19']\nExploring Operation: 19-14=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 176:[14, 19], Operations: ['121-47=74', '74-55=19']\nExploring Operation: 14+19=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 176:[14, 19], Operations: ['121-47=74', '74-55=19']\nExploring Operation: 14*19=266, Resulting Numbers: [266]\n266,176 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 176:[14, 55, 74], Operations: ['121-47=74']\nExploring Operation: 14+74=88, Resulting Numbers: [55, 88]\nGenerated Node #0,2,1: 176:[55, 88] Operation: 14+74=88\nMoving to Node #0,2,1\nCurrent State: 176:[55, 88], Operations: ['121-47=74', '14+74=88']\nExploring Operation: 88-55=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 176:[55, 88], Operations: ['121-47=74', '14+74=88']\nExploring Operation: 55+88=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 176:[14, 55, 74], Operations: ['121-47=74']\nExploring Operation: 55-14=41, Resulting Numbers: [74, 41]\nGenerated Node #0,2,2: 176:[74, 41] Operation: 55-14=41\nMoving to Node #0,2,2\nCurrent State: 176:[74, 41], Operations: ['121-47=74', '55-14=41']\nExploring Operation: 74-41=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 176:[74, 41], Operations: ['121-47=74', '55-14=41']\nExploring Operation: 74+41=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 176:[14, 55, 74], Operations: ['121-47=74']\nExploring Operation: 74-14=60, Resulting Numbers: [55, 60]\nGenerated Node #0,2,3: 176:[55, 60] Operation: 74-14=60\nMoving to Node #0,2,3\nCurrent State: 176:[55, 60], Operations: ['121-47=74', '74-14=60']\nExploring Operation: 60-55=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 176:[55, 60], Operations: ['121-47=74', '74-14=60']\nExploring Operation: 55+60=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 176:[14, 55, 74], Operations: ['121-47=74']\nExploring Operation: 14+55=69, Resulting Numbers: [74, 69]\nGenerated Node #0,2,4: 176:[74, 69] Operation: 14+55=69\nMoving to Node #0,2,4\nCurrent State: 176:[74, 69], Operations: ['121-47=74', '14+55=69']\nExploring Operation: 74-69=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 176:[74, 69], Operations: ['121-47=74', '14+55=69']\nExploring Operation: 74+69=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 176:[14, 55, 74], Operations: ['121-47=74']\nExploring Operation: 55+74=129, Resulting Numbers: [14, 129]\nGenerated Node #0,2,5: 176:[14, 129] Operation: 55+74=129\nMoving to Node #0,2,5\nCurrent State: 176:[14, 129], Operations: ['121-47=74', '55+74=129']\nExploring Operation: 129-14=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 176:[14, 129], Operations: ['121-47=74', '55+74=129']\nExploring Operation: 14+129=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 121-55=66, Resulting Numbers: [14, 47, 66]\nGenerated Node #0,3: 176:[14, 47, 66] Operation: 121-55=66\nMoving to Node #0,3\nCurrent State: 176:[14, 47, 66], Operations: ['121-55=66']\nExploring Operation: 66-47=19, Resulting Numbers: [14, 19]\nGenerated Node #0,3,0: 176:[14, 19] Operation: 66-47=19\nMoving to Node #0,3,0\nCurrent State: 176:[14, 19], Operations: ['121-55=66', '66-47=19']\nExploring Operation: 19-14=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 176:[14, 19], Operations: ['121-55=66', '66-47=19']\nExploring Operation: 14+19=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 176:[14, 19], Operations: ['121-55=66', '66-47=19']\nExploring Operation: 14*19=266, Resulting Numbers: [266]\n266,176 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 176:[14, 47, 66], Operations: ['121-55=66']\nExploring Operation: 14+66=80, Resulting Numbers: [47, 80]\nGenerated Node #0,3,1: 176:[47, 80] Operation: 14+66=80\nMoving to Node #0,3,1\nCurrent State: 176:[47, 80], Operations: ['121-55=66', '14+66=80']\nExploring Operation: 80-47=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 176:[47, 80], Operations: ['121-55=66', '14+66=80']\nExploring Operation: 47+80=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 176:[14, 47, 66], Operations: ['121-55=66']\nExploring Operation: 66-14=52, Resulting Numbers: [47, 52]\nGenerated Node #0,3,2: 176:[47, 52] Operation: 66-14=52\nMoving to Node #0,3,2\nCurrent State: 176:[47, 52], Operations: ['121-55=66', '66-14=52']\nExploring Operation: 52-47=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 176:[47, 52], Operations: ['121-55=66', '66-14=52']\nExploring Operation: 47+52=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 176:[14, 47, 66], Operations: ['121-55=66']\nExploring Operation: 47+66=113, Resulting Numbers: [14, 113]\nGenerated Node #0,3,3: 176:[14, 113] Operation: 47+66=113\nMoving to Node #0,3,3\nCurrent State: 176:[14, 113], Operations: ['121-55=66', '47+66=113']\nExploring Operation: 113-14=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 176:[14, 113], Operations: ['121-55=66', '47+66=113']\nExploring Operation: 14+113=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 176:[14, 47, 66], Operations: ['121-55=66']\nExploring Operation: 47-14=33, Resulting Numbers: [66, 33]\nGenerated Node #0,3,4: 176:[66, 33] Operation: 47-14=33\nMoving to Node #0,3,4\nCurrent State: 176:[66, 33], Operations: ['121-55=66', '47-14=33']\nExploring Operation: 66/33=2, Resulting Numbers: [2]\n2,176 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 176:[66, 33], Operations: ['121-55=66', '47-14=33']\nExploring Operation: 66+33=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 176:[66, 33], Operations: ['121-55=66', '47-14=33']\nExploring Operation: 66-33=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 176:[14, 47, 66], Operations: ['121-55=66']\nExploring Operation: 14+47=61, Resulting Numbers: [66, 61]\nGenerated Node #0,3,5: 176:[66, 61] Operation: 14+47=61\nMoving to Node #0,3,5\nCurrent State: 176:[66, 61], Operations: ['121-55=66', '14+47=61']\nExploring Operation: 66-61=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 176:[66, 61], Operations: ['121-55=66', '14+47=61']\nExploring Operation: 66+61=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 121-14=107, Resulting Numbers: [47, 55, 107]\nGenerated Node #0,4: 176:[47, 55, 107] Operation: 121-14=107\nMoving to Node #0,4\nCurrent State: 176:[47, 55, 107], Operations: ['121-14=107']\nExploring Operation: 107-55=52, Resulting Numbers: [47, 52]\nGenerated Node #0,4,0: 176:[47, 52] Operation: 107-55=52\nMoving to Node #0,4,0\nCurrent State: 176:[47, 52], Operations: ['121-14=107', '107-55=52']\nExploring Operation: 52-47=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 176:[47, 52], Operations: ['121-14=107', '107-55=52']\nExploring Operation: 47+52=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 176:[47, 55, 107], Operations: ['121-14=107']\nExploring Operation: 55+107=162, Resulting Numbers: [47, 162]\nGenerated Node #0,4,1: 176:[47, 162] Operation: 55+107=162\nMoving to Node #0,4,1\nCurrent State: 176:[47, 162], Operations: ['121-14=107', '55+107=162']\nExploring Operation: 162-47=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 176:[47, 162], Operations: ['121-14=107', '55+107=162']\nExploring Operation: 47+162=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 176:[47, 55, 107], Operations: ['121-14=107']\nExploring Operation: 55-47=8, Resulting Numbers: [107, 8]\nGenerated Node #0,4,2: 176:[107, 8] Operation: 55-47=8\nMoving to Node #0,4,2\nCurrent State: 176:[107, 8], Operations: ['121-14=107', '55-47=8']\nExploring Operation: 107-8=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 176:[107, 8], Operations: ['121-14=107', '55-47=8']\nExploring Operation: 107+8=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 176:[47, 55, 107], Operations: ['121-14=107']\nExploring Operation: 107-47=60, Resulting Numbers: [55, 60]\nGenerated Node #0,4,3: 176:[55, 60] Operation: 107-47=60\nMoving to Node #0,4,3\nCurrent State: 176:[55, 60], Operations: ['121-14=107', '107-47=60']\nExploring Operation: 60-55=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 176:[55, 60], Operations: ['121-14=107', '107-47=60']\nExploring Operation: 55+60=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 176:[47, 55, 107], Operations: ['121-14=107']\nExploring Operation: 47+55=102, Resulting Numbers: [107, 102]\nGenerated Node #0,4,4: 176:[107, 102] Operation: 47+55=102\nMoving to Node #0,4,4\nCurrent State: 176:[107, 102], Operations: ['121-14=107', '47+55=102']\nExploring Operation: 107-102=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 176:[107, 102], Operations: ['121-14=107', '47+55=102']\nExploring Operation: 107+102=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 176:[47, 55, 107], Operations: ['121-14=107']\nExploring Operation: 47+107=154, Resulting Numbers: [55, 154]\nGenerated Node #0,4,5: 176:[55, 154] Operation: 47+107=154\nMoving to Node #0,4,5\nCurrent State: 176:[55, 154], Operations: ['121-14=107', '47+107=154']\nExploring Operation: 154-55=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 176:[55, 154], Operations: ['121-14=107', '47+107=154']\nExploring Operation: 55+154=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 55-47=8, Resulting Numbers: [14, 121, 8]\nGenerated Node #0,5: 176:[14, 121, 8] Operation: 55-47=8\nMoving to Node #0,5\nCurrent State: 176:[14, 121, 8], Operations: ['55-47=8']\nExploring Operation: 121-14=107, Resulting Numbers: [8, 107]\nGenerated Node #0,5,0: 176:[8, 107] Operation: 121-14=107\nMoving to Node #0,5,0\nCurrent State: 176:[8, 107], Operations: ['55-47=8', '121-14=107']\nExploring Operation: 107-8=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 176:[8, 107], Operations: ['55-47=8', '121-14=107']\nExploring Operation: 8+107=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 176:[14, 121, 8], Operations: ['55-47=8']\nExploring Operation: 121-8=113, Resulting Numbers: [14, 113]\nGenerated Node #0,5,1: 176:[14, 113] Operation: 121-8=113\nMoving to Node #0,5,1\nCurrent State: 176:[14, 113], Operations: ['55-47=8', '121-8=113']\nExploring Operation: 113-14=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 176:[14, 113], Operations: ['55-47=8', '121-8=113']\nExploring Operation: 14+113=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 176:[14, 121, 8], Operations: ['55-47=8']\nExploring Operation: 14+8=22, Resulting Numbers: [121, 22]\nGenerated Node #0,5,2: 176:[121, 22] Operation: 14+8=22\nMoving to Node #0,5,2\nCurrent State: 176:[121, 22], Operations: ['55-47=8', '14+8=22']\nExploring Operation: 121-22=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 176:[121, 22], Operations: ['55-47=8', '14+8=22']\nExploring Operation: 121+22=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 176:[14, 121, 8], Operations: ['55-47=8']\nExploring Operation: 14-8=6, Resulting Numbers: [121, 6]\nGenerated Node #0,5,3: 176:[121, 6] Operation: 14-8=6\nMoving to Node #0,5,3\nCurrent State: 176:[121, 6], Operations: ['55-47=8', '14-8=6']\nExploring Operation: 121-6=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 176:[121, 6], Operations: ['55-47=8', '14-8=6']\nExploring Operation: 121+6=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 176:[14, 121, 8], Operations: ['55-47=8']\nExploring Operation: 14+121=135, Resulting Numbers: [8, 135]\nGenerated Node #0,5,4: 176:[8, 135] Operation: 14+121=135\nMoving to Node #0,5,4\nCurrent State: 176:[8, 135], Operations: ['55-47=8', '14+121=135']\nExploring Operation: 8+135=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 176:[8, 135], Operations: ['55-47=8', '14+121=135']\nExploring Operation: 135-8=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 176:[14, 121, 8], Operations: ['55-47=8']\nExploring Operation: 121+8=129, Resulting Numbers: [14, 129]\nGenerated Node #0,5,5: 176:[14, 129] Operation: 121+8=129\nMoving to Node #0,5,5\nCurrent State: 176:[14, 129], Operations: ['55-47=8', '121+8=129']\nExploring Operation: 129-14=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 176:[14, 129], Operations: ['55-47=8', '121+8=129']\nExploring Operation: 14+129=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 176:[14, 121, 8], Operations: ['55-47=8']\nExploring Operation: 14*8=112, Resulting Numbers: [121, 112]\nGenerated Node #0,5,6: 176:[121, 112] Operation: 14*8=112\nMoving to Node #0,5,6\nCurrent State: 176:[121, 112], Operations: ['55-47=8', '14*8=112']\nExploring Operation: 121-112=9, Resulting Numbers: [9]\n9,176 unequal: No Solution\nMoving to Node #0,5,6\nCurrent State: 176:[121, 112], Operations: ['55-47=8', '14*8=112']\nExploring Operation: 121+112=233, Resulting Numbers: [233]\n233,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 55-14=41, Resulting Numbers: [47, 121, 41]\nGenerated Node #0,6: 176:[47, 121, 41] Operation: 55-14=41\nMoving to Node #0,6\nCurrent State: 176:[47, 121, 41], Operations: ['55-14=41']\nExploring Operation: 47+121=168, Resulting Numbers: [41, 168]\nGenerated Node #0,6,0: 176:[41, 168] Operation: 47+121=168\nMoving to Node #0,6,0\nCurrent State: 176:[41, 168], Operations: ['55-14=41', '47+121=168']\nExploring Operation: 41+168=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 176:[41, 168], Operations: ['55-14=41', '47+121=168']\nExploring Operation: 168-41=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 176:[47, 121, 41], Operations: ['55-14=41']\nExploring Operation: 121-41=80, Resulting Numbers: [47, 80]\nGenerated Node #0,6,1: 176:[47, 80] Operation: 121-41=80\nMoving to Node #0,6,1\nCurrent State: 176:[47, 80], Operations: ['55-14=41', '121-41=80']\nExploring Operation: 80-47=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 176:[47, 80], Operations: ['55-14=41', '121-41=80']\nExploring Operation: 47+80=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 176:[47, 121, 41], Operations: ['55-14=41']\nExploring Operation: 121-47=74, Resulting Numbers: [41, 74]\nGenerated Node #0,6,2: 176:[41, 74] Operation: 121-47=74\nMoving to Node #0,6,2\nCurrent State: 176:[41, 74], Operations: ['55-14=41', '121-47=74']\nExploring Operation: 74-41=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 176:[41, 74], Operations: ['55-14=41', '121-47=74']\nExploring Operation: 41+74=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 176:[47, 121, 41], Operations: ['55-14=41']\nExploring Operation: 121+41=162, Resulting Numbers: [47, 162]\nGenerated Node #0,6,3: 176:[47, 162] Operation: 121+41=162\nMoving to Node #0,6,3\nCurrent State: 176:[47, 162], Operations: ['55-14=41', '121+41=162']\nExploring Operation: 162-47=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 176:[47, 162], Operations: ['55-14=41', '121+41=162']\nExploring Operation: 47+162=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 176:[47, 121, 41], Operations: ['55-14=41']\nExploring Operation: 47+41=88, Resulting Numbers: [121, 88]\nGenerated Node #0,6,4: 176:[121, 88] Operation: 47+41=88\nMoving to Node #0,6,4\nCurrent State: 176:[121, 88], Operations: ['55-14=41', '47+41=88']\nExploring Operation: 121-88=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 176:[121, 88], Operations: ['55-14=41', '47+41=88']\nExploring Operation: 121+88=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 176:[47, 121, 41], Operations: ['55-14=41']\nExploring Operation: 47-41=6, Resulting Numbers: [121, 6]\nGenerated Node #0,6,5: 176:[121, 6] Operation: 47-41=6\nMoving to Node #0,6,5\nCurrent State: 176:[121, 6], Operations: ['55-14=41', '47-41=6']\nExploring Operation: 121-6=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 176:[121, 6], Operations: ['55-14=41', '47-41=6']\nExploring Operation: 121+6=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 47+55=102, Resulting Numbers: [14, 121, 102]\nGenerated Node #0,7: 176:[14, 121, 102] Operation: 47+55=102\nMoving to Node #0,7\nCurrent State: 176:[14, 121, 102], Operations: ['47+55=102']\nExploring Operation: 121-102=19, Resulting Numbers: [14, 19]\nGenerated Node #0,7,0: 176:[14, 19] Operation: 121-102=19\nMoving to Node #0,7,0\nCurrent State: 176:[14, 19], Operations: ['47+55=102', '121-102=19']\nExploring Operation: 19-14=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 176:[14, 19], Operations: ['47+55=102', '121-102=19']\nExploring Operation: 14+19=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 176:[14, 19], Operations: ['47+55=102', '121-102=19']\nExploring Operation: 14*19=266, Resulting Numbers: [266]\n266,176 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 176:[14, 121, 102], Operations: ['47+55=102']\nExploring Operation: 121-14=107, Resulting Numbers: [102, 107]\nGenerated Node #0,7,1: 176:[102, 107] Operation: 121-14=107\nMoving to Node #0,7,1\nCurrent State: 176:[102, 107], Operations: ['47+55=102', '121-14=107']\nExploring Operation: 107-102=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 176:[102, 107], Operations: ['47+55=102', '121-14=107']\nExploring Operation: 102+107=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 176:[14, 121, 102], Operations: ['47+55=102']\nExploring Operation: 102-14=88, Resulting Numbers: [121, 88]\nGenerated Node #0,7,2: 176:[121, 88] Operation: 102-14=88\nMoving to Node #0,7,2\nCurrent State: 176:[121, 88], Operations: ['47+55=102', '102-14=88']\nExploring Operation: 121-88=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 176:[121, 88], Operations: ['47+55=102', '102-14=88']\nExploring Operation: 121+88=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 176:[14, 121, 102], Operations: ['47+55=102']\nExploring Operation: 121+102=223, Resulting Numbers: [14, 223]\nGenerated Node #0,7,3: 176:[14, 223] Operation: 121+102=223\nMoving to Node #0,7,3\nCurrent State: 176:[14, 223], Operations: ['47+55=102', '121+102=223']\nExploring Operation: 223-14=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 176:[14, 223], Operations: ['47+55=102', '121+102=223']\nExploring Operation: 14+223=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 176:[14, 121, 102], Operations: ['47+55=102']\nExploring Operation: 14+121=135, Resulting Numbers: [102, 135]\nGenerated Node #0,7,4: 176:[102, 135] Operation: 14+121=135\nMoving to Node #0,7,4\nCurrent State: 176:[102, 135], Operations: ['47+55=102', '14+121=135']\nExploring Operation: 135-102=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 176:[102, 135], Operations: ['47+55=102', '14+121=135']\nExploring Operation: 102+135=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 176:[14, 121, 102], Operations: ['47+55=102']\nExploring Operation: 14+102=116, Resulting Numbers: [121, 116]\nGenerated Node #0,7,5: 176:[121, 116] Operation: 14+102=116\nMoving to Node #0,7,5\nCurrent State: 176:[121, 116], Operations: ['47+55=102', '14+102=116']\nExploring Operation: 121-116=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 176:[121, 116], Operations: ['47+55=102', '14+102=116']\nExploring Operation: 121+116=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 47-14=33, Resulting Numbers: [55, 121, 33]\nGenerated Node #0,8: 176:[55, 121, 33] Operation: 47-14=33\nMoving to Node #0,8\nCurrent State: 176:[55, 121, 33], Operations: ['47-14=33']\nExploring Operation: 55+121=176, Resulting Numbers: [33, 176]\nGenerated Node #0,8,0: 176:[33, 176] Operation: 55+121=176\nMoving to Node #0,8,0\nCurrent State: 176:[33, 176], Operations: ['47-14=33', '55+121=176']\nExploring Operation: 33+176=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 176:[33, 176], Operations: ['47-14=33', '55+121=176']\nExploring Operation: 176-33=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 176:[55, 121, 33], Operations: ['47-14=33']\nExploring Operation: 121-33=88, Resulting Numbers: [55, 88]\nGenerated Node #0,8,1: 176:[55, 88] Operation: 121-33=88\nMoving to Node #0,8,1\nCurrent State: 176:[55, 88], Operations: ['47-14=33', '121-33=88']\nExploring Operation: 88-55=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 176:[55, 88], Operations: ['47-14=33', '121-33=88']\nExploring Operation: 55+88=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 176:[55, 121, 33], Operations: ['47-14=33']\nExploring Operation: 121-55=66, Resulting Numbers: [33, 66]\nGenerated Node #0,8,2: 176:[33, 66] Operation: 121-55=66\nMoving to Node #0,8,2\nCurrent State: 176:[33, 66], Operations: ['47-14=33', '121-55=66']\nExploring Operation: 66/33=2, Resulting Numbers: [2]\n2,176 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 176:[33, 66], Operations: ['47-14=33', '121-55=66']\nExploring Operation: 33+66=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 176:[33, 66], Operations: ['47-14=33', '121-55=66']\nExploring Operation: 66-33=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 176:[55, 121, 33], Operations: ['47-14=33']\nExploring Operation: 55+33=88, Resulting Numbers: [121, 88]\nGenerated Node #0,8,3: 176:[121, 88] Operation: 55+33=88\nMoving to Node #0,8,3\nCurrent State: 176:[121, 88], Operations: ['47-14=33', '55+33=88']\nExploring Operation: 121-88=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 176:[121, 88], Operations: ['47-14=33', '55+33=88']\nExploring Operation: 121+88=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 176:[55, 121, 33], Operations: ['47-14=33']\nExploring Operation: 55-33=22, Resulting Numbers: [121, 22]\nGenerated Node #0,8,4: 176:[121, 22] Operation: 55-33=22\nMoving to Node #0,8,4\nCurrent State: 176:[121, 22], Operations: ['47-14=33', '55-33=22']\nExploring Operation: 121-22=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 176:[121, 22], Operations: ['47-14=33', '55-33=22']\nExploring Operation: 121+22=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 176:[55, 121, 33], Operations: ['47-14=33']\nExploring Operation: 121+33=154, Resulting Numbers: [55, 154]\nGenerated Node #0,8,5: 176:[55, 154] Operation: 121+33=154\nMoving to Node #0,8,5\nCurrent State: 176:[55, 154], Operations: ['47-14=33', '121+33=154']\nExploring Operation: 154-55=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 176:[55, 154], Operations: ['47-14=33', '121+33=154']\nExploring Operation: 55+154=209, Resulting Numbers: [209]\n209,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 14+55=69, Resulting Numbers: [47, 121, 69]\nGenerated Node #0,9: 176:[47, 121, 69] Operation: 14+55=69\nMoving to Node #0,9\nCurrent State: 176:[47, 121, 69], Operations: ['14+55=69']\nExploring Operation: 121-69=52, Resulting Numbers: [47, 52]\nGenerated Node #0,9,0: 176:[47, 52] Operation: 121-69=52\nMoving to Node #0,9,0\nCurrent State: 176:[47, 52], Operations: ['14+55=69', '121-69=52']\nExploring Operation: 52-47=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 176:[47, 52], Operations: ['14+55=69', '121-69=52']\nExploring Operation: 47+52=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 176:[47, 121, 69], Operations: ['14+55=69']\nExploring Operation: 121+69=190, Resulting Numbers: [47, 190]\nGenerated Node #0,9,1: 176:[47, 190] Operation: 121+69=190\nMoving to Node #0,9,1\nCurrent State: 176:[47, 190], Operations: ['14+55=69', '121+69=190']\nExploring Operation: 190-47=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 176:[47, 190], Operations: ['14+55=69', '121+69=190']\nExploring Operation: 47+190=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 176:[47, 121, 69], Operations: ['14+55=69']\nExploring Operation: 47+121=168, Resulting Numbers: [69, 168]\nGenerated Node #0,9,2: 176:[69, 168] Operation: 47+121=168\nMoving to Node #0,9,2\nCurrent State: 176:[69, 168], Operations: ['14+55=69', '47+121=168']\nExploring Operation: 168-69=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 176:[69, 168], Operations: ['14+55=69', '47+121=168']\nExploring Operation: 69+168=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 176:[47, 121, 69], Operations: ['14+55=69']\nExploring Operation: 121-47=74, Resulting Numbers: [69, 74]\nGenerated Node #0,9,3: 176:[69, 74] Operation: 121-47=74\nMoving to Node #0,9,3\nCurrent State: 176:[69, 74], Operations: ['14+55=69', '121-47=74']\nExploring Operation: 74-69=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 176:[69, 74], Operations: ['14+55=69', '121-47=74']\nExploring Operation: 69+74=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 176:[47, 121, 69], Operations: ['14+55=69']\nExploring Operation: 69-47=22, Resulting Numbers: [121, 22]\nGenerated Node #0,9,4: 176:[121, 22] Operation: 69-47=22\nMoving to Node #0,9,4\nCurrent State: 176:[121, 22], Operations: ['14+55=69', '69-47=22']\nExploring Operation: 121-22=99, Resulting Numbers: [99]\n99,176 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 176:[121, 22], Operations: ['14+55=69', '69-47=22']\nExploring Operation: 121+22=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 176:[47, 121, 69], Operations: ['14+55=69']\nExploring Operation: 47+69=116, Resulting Numbers: [121, 116]\nGenerated Node #0,9,5: 176:[121, 116] Operation: 47+69=116\nMoving to Node #0,9,5\nCurrent State: 176:[121, 116], Operations: ['14+55=69', '47+69=116']\nExploring Operation: 121-116=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,9,5\nCurrent State: 176:[121, 116], Operations: ['14+55=69', '47+69=116']\nExploring Operation: 121+116=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 14+121=135, Resulting Numbers: [47, 55, 135]\nGenerated Node #0,10: 176:[47, 55, 135] Operation: 14+121=135\nMoving to Node #0,10\nCurrent State: 176:[47, 55, 135], Operations: ['14+121=135']\nExploring Operation: 135-47=88, Resulting Numbers: [55, 88]\nGenerated Node #0,10,0: 176:[55, 88] Operation: 135-47=88\nMoving to Node #0,10,0\nCurrent State: 176:[55, 88], Operations: ['14+121=135', '135-47=88']\nExploring Operation: 88-55=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 176:[55, 88], Operations: ['14+121=135', '135-47=88']\nExploring Operation: 55+88=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 176:[47, 55, 135], Operations: ['14+121=135']\nExploring Operation: 135-55=80, Resulting Numbers: [47, 80]\nGenerated Node #0,10,1: 176:[47, 80] Operation: 135-55=80\nMoving to Node #0,10,1\nCurrent State: 176:[47, 80], Operations: ['14+121=135', '135-55=80']\nExploring Operation: 80-47=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 176:[47, 80], Operations: ['14+121=135', '135-55=80']\nExploring Operation: 47+80=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 176:[47, 55, 135], Operations: ['14+121=135']\nExploring Operation: 47+135=182, Resulting Numbers: [55, 182]\nGenerated Node #0,10,2: 176:[55, 182] Operation: 47+135=182\nMoving to Node #0,10,2\nCurrent State: 176:[55, 182], Operations: ['14+121=135', '47+135=182']\nExploring Operation: 182-55=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 176:[55, 182], Operations: ['14+121=135', '47+135=182']\nExploring Operation: 55+182=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 176:[47, 55, 135], Operations: ['14+121=135']\nExploring Operation: 55+135=190, Resulting Numbers: [47, 190]\nGenerated Node #0,10,3: 176:[47, 190] Operation: 55+135=190\nMoving to Node #0,10,3\nCurrent State: 176:[47, 190], Operations: ['14+121=135', '55+135=190']\nExploring Operation: 190-47=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 176:[47, 190], Operations: ['14+121=135', '55+135=190']\nExploring Operation: 47+190=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 176:[47, 55, 135], Operations: ['14+121=135']\nExploring Operation: 55-47=8, Resulting Numbers: [135, 8]\nGenerated Node #0,10,4: 176:[135, 8] Operation: 55-47=8\nMoving to Node #0,10,4\nCurrent State: 176:[135, 8], Operations: ['14+121=135', '55-47=8']\nExploring Operation: 135+8=143, Resulting Numbers: [143]\n143,176 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 176:[135, 8], Operations: ['14+121=135', '55-47=8']\nExploring Operation: 135-8=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 176:[47, 55, 135], Operations: ['14+121=135']\nExploring Operation: 47+55=102, Resulting Numbers: [135, 102]\nGenerated Node #0,10,5: 176:[135, 102] Operation: 47+55=102\nMoving to Node #0,10,5\nCurrent State: 176:[135, 102], Operations: ['14+121=135', '47+55=102']\nExploring Operation: 135-102=33, Resulting Numbers: [33]\n33,176 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 176:[135, 102], Operations: ['14+121=135', '47+55=102']\nExploring Operation: 135+102=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[14, 47, 55, 121], Operations: []\nExploring Operation: 14+47=61, Resulting Numbers: [55, 121, 61]\nGenerated Node #0,11: 176:[55, 121, 61] Operation: 14+47=61\nMoving to Node #0,11\nCurrent State: 176:[55, 121, 61], Operations: ['14+47=61']\nExploring Operation: 55+121=176, Resulting Numbers: [61, 176]\nGenerated Node #0,11,0: 176:[61, 176] Operation: 55+121=176\nMoving to Node #0,11,0\nCurrent State: 176:[61, 176], Operations: ['14+47=61', '55+121=176']\nExploring Operation: 176-61=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 176:[61, 176], Operations: ['14+47=61', '55+121=176']\nExploring Operation: 61+176=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 176:[55, 121, 61], Operations: ['14+47=61']\nExploring Operation: 121+61=182, Resulting Numbers: [55, 182]\nGenerated Node #0,11,1: 176:[55, 182] Operation: 121+61=182\nMoving to Node #0,11,1\nCurrent State: 176:[55, 182], Operations: ['14+47=61', '121+61=182']\nExploring Operation: 182-55=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 176:[55, 182], Operations: ['14+47=61', '121+61=182']\nExploring Operation: 55+182=237, Resulting Numbers: [237]\n237,176 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 176:[55, 121, 61], Operations: ['14+47=61']\nExploring Operation: 121-61=60, Resulting Numbers: [55, 60]\nGenerated Node #0,11,2: 176:[55, 60] Operation: 121-61=60\nMoving to Node #0,11,2\nCurrent State: 176:[55, 60], Operations: ['14+47=61', '121-61=60']\nExploring Operation: 60-55=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 176:[55, 60], Operations: ['14+47=61', '121-61=60']\nExploring Operation: 55+60=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 176:[55, 121, 61], Operations: ['14+47=61']\nExploring Operation: 61-55=6, Resulting Numbers: [121, 6]\nGenerated Node #0,11,3: 176:[121, 6] Operation: 61-55=6\nMoving to Node #0,11,3\nCurrent State: 176:[121, 6], Operations: ['14+47=61', '61-55=6']\nExploring Operation: 121-6=115, Resulting Numbers: [115]\n115,176 unequal: No Solution\nMoving to Node #0,11,3\nCurrent State: 176:[121, 6], Operations: ['14+47=61', '61-55=6']\nExploring Operation: 121+6=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 176:[55, 121, 61], Operations: ['14+47=61']\nExploring Operation: 121-55=66, Resulting Numbers: [61, 66]\nGenerated Node #0,11,4: 176:[61, 66] Operation: 121-55=66\nMoving to Node #0,11,4\nCurrent State: 176:[61, 66], Operations: ['14+47=61', '121-55=66']\nExploring Operation: 66-61=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 176:[61, 66], Operations: ['14+47=61', '121-55=66']\nExploring Operation: 61+66=127, Resulting Numbers: [127]\n127,176 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 176:[55, 121, 61], Operations: ['14+47=61']\nExploring Operation: 55+61=116, Resulting Numbers: [121, 116]\nGenerated Node #0,11,5: 176:[121, 116] Operation: 55+61=116\nMoving to Node #0,11,5\nCurrent State: 176:[121, 116], Operations: ['14+47=61', '55+61=116']\nExploring Operation: 121-116=5, Resulting Numbers: [5]\n5,176 unequal: No Solution\nMoving to Node #0,11,5\nCurrent State: 176:[121, 116], Operations: ['14+47=61', '55+61=116']\nExploring Operation: 121+116=237, Resulting Numbers: [237]\n237,176 unequal: No Solution",
"role": "assistant"
}
] |
[
14,
47,
55,
121
] | 176
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [100, 38, 176, 125] and the target 127, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 127:[100, 38, 176, 125], Operations: []\nExploring Operation: 176-38=138, Resulting Numbers: [100, 125, 138]\nGenerated Node #0,0: 127:[100, 125, 138] Operation: 176-38=138\nMoving to Node #0,0\nCurrent State: 127:[100, 125, 138], Operations: ['176-38=138']\nExploring Operation: 138-100=38, Resulting Numbers: [125, 38]\nGenerated Node #0,0,0: 127:[125, 38] Operation: 138-100=38\nMoving to Node #0,0,0\nCurrent State: 127:[125, 38], Operations: ['176-38=138', '138-100=38']\nExploring Operation: 125+38=163, Resulting Numbers: [163]\n163,127 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 127:[125, 38], Operations: ['176-38=138', '138-100=38']\nExploring Operation: 125-38=87, Resulting Numbers: [87]\n87,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[100, 125, 138], Operations: ['176-38=138']\nExploring Operation: 100+125=225, Resulting Numbers: [138, 225]\nGenerated Node #0,0,1: 127:[138, 225] Operation: 100+125=225\nMoving to Node #0,0,1\nCurrent State: 127:[138, 225], Operations: ['176-38=138', '100+125=225']\nExploring Operation: 225-138=87, Resulting Numbers: [87]\n87,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[100, 125, 138], Operations: ['176-38=138']\nExploring Operation: 125-100=25, Resulting Numbers: [138, 25]\nGenerated Node #0,0,2: 127:[138, 25] Operation: 125-100=25\nMoving to Node #0,0,2\nCurrent State: 127:[138, 25], Operations: ['176-38=138', '125-100=25']\nExploring Operation: 138-25=113, Resulting Numbers: [113]\n113,127 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 127:[138, 25], Operations: ['176-38=138', '125-100=25']\nExploring Operation: 138+25=163, Resulting Numbers: [163]\n163,127 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 127:[100, 125, 138], Operations: ['176-38=138']\nExploring Operation: 100+138=238, Resulting Numbers: [125, 238]\nGenerated Node #0,0,3: 127:[125, 238] Operation: 100+138=238\nMoving to Node #0,0,3\nCurrent State: 127:[125, 238], Operations: ['176-38=138', '100+138=238']\nExploring Operation: 238-125=113, Resulting Numbers: [113]\n113,127 unequal: No Solution\nMoving to Node #0\nCurrent State: 127:[100, 38, 176, 125], Operations: []\nExploring Operation: 100+38=138, Resulting Numbers: [176, 125, 138]\nGenerated Node #0,1: 127:[176, 125, 138] Operation: 100+38=138\nMoving to Node #0,1\nCurrent State: 127:[176, 125, 138], Operations: ['100+38=138']\nExploring Operation: 176-125=51, Resulting Numbers: [138, 51]\nGenerated Node #0,1,0: 127:[138, 51] Operation: 176-125=51\nMoving to Node #0,1,0\nCurrent State: 127:[138, 51], Operations: ['100+38=138', '176-125=51']\nExploring Operation: 138-51=87, Resulting Numbers: [87]\n87,127 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 127:[138, 51], Operations: ['100+38=138', '176-125=51']\nExploring Operation: 138+51=189, Resulting Numbers: [189]\n189,127 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 127:[176, 125, 138], Operations: ['100+38=138']\nExploring Operation: 176-138=38, Resulting Numbers: [125, 38]\nGenerated Node #0,1,1: 127:[125, 38] Operation: 176-138=38\nMoving to Node #0,1,1\nCurrent State: 127:[125, 38], Operations: ['100+38=138', '176-138=38']\nExploring Operation: 125+38=163, Resulting Numbers: [163]\n163,127 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 127:[125, 38], Operations: ['100+38=138', '176-138=38']\nExploring Operation: 125-38=87, Resulting Numbers: [87]\n87,127 unequal: No Solution\nMoving to Node #0\nCurrent State: 127:[100, 38, 176, 125], Operations: []\nExploring Operation: 38+125=163, Resulting Numbers: [100, 176, 163]\nGenerated Node #0,2: 127:[100, 176, 163] Operation: 38+125=163\nMoving to Node #0,2\nCurrent State: 127:[100, 176, 163], Operations: ['38+125=163']\nExploring Operation: 176-100=76, Resulting Numbers: [163, 76]\nGenerated Node #0,2,0: 127:[163, 76] Operation: 176-100=76\nMoving to Node #0,2,0\nCurrent State: 127:[163, 76], Operations: ['38+125=163', '176-100=76']\nExploring Operation: 163-76=87, Resulting Numbers: [87]\n87,127 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 127:[163, 76], Operations: ['38+125=163', '176-100=76']\nExploring Operation: 163+76=239, Resulting Numbers: [239]\n239,127 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 127:[100, 176, 163], Operations: ['38+125=163']\nExploring Operation: 163-100=63, Resulting Numbers: [176, 63]\nGenerated Node #0,2,1: 127:[176, 63] Operation: 163-100=63\nMoving to Node #0,2,1\nCurrent State: 127:[176, 63], Operations: ['38+125=163', '163-100=63']\nExploring Operation: 176-63=113, Resulting Numbers: [113]\n113,127 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 127:[176, 63], Operations: ['38+125=163', '163-100=63']\nExploring Operation: 176+63=239, Resulting Numbers: [239]\n239,127 unequal: No Solution\nMoving to Node #0\nCurrent State: 127:[100, 38, 176, 125], Operations: []\nExploring Operation: 100-38=62, Resulting Numbers: [176, 125, 62]\nGenerated Node #0,3: 127:[176, 125, 62] Operation: 100-38=62\nMoving to Node #0,3\nCurrent State: 127:[176, 125, 62], Operations: ['100-38=62']\nExploring Operation: 176-62=114, Resulting Numbers: [125, 114]\nGenerated Node #0,3,0: 127:[125, 114] Operation: 176-62=114\nMoving to Node #0,3,0\nCurrent State: 127:[125, 114], Operations: ['100-38=62', '176-62=114']\nExploring Operation: 125+114=239, Resulting Numbers: [239]\n239,127 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 127:[125, 114], Operations: ['100-38=62', '176-62=114']\nExploring Operation: 125-114=11, Resulting Numbers: [11]\n11,127 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 127:[176, 125, 62], Operations: ['100-38=62']\nExploring Operation: 125+62=187, Resulting Numbers: [176, 187]\nGenerated Node #0,3,1: 127:[176, 187] Operation: 125+62=187\nMoving to Node #0,3,1\nCurrent State: 127:[176, 187], Operations: ['100-38=62', '125+62=187']\nExploring Operation: 187-176=11, Resulting Numbers: [11]\n11,127 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 127:[176, 125, 62], Operations: ['100-38=62']\nExploring Operation: 176+62=238, Resulting Numbers: [125, 238]\nGenerated Node #0,3,2: 127:[125, 238] Operation: 176+62=238\nMoving to Node #0,3,2\nCurrent State: 127:[125, 238], Operations: ['100-38=62', '176+62=238']\nExploring Operation: 238-125=113, Resulting Numbers: [113]\n113,127 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 127:[176, 125, 62], Operations: ['100-38=62']\nExploring Operation: 125-62=63, Resulting Numbers: [176, 63]\nGenerated Node #0,3,3: 127:[176, 63] Operation: 125-62=63\nMoving to Node #0,3,3\nCurrent State: 127:[176, 63], Operations: ['100-38=62', '125-62=63']\nExploring Operation: 176-63=113, Resulting Numbers: [113]\n113,127 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 127:[176, 63], Operations: ['100-38=62', '125-62=63']\nExploring Operation: 176+63=239, Resulting Numbers: [239]\n239,127 unequal: No Solution\nMoving to Node #0\nCurrent State: 127:[100, 38, 176, 125], Operations: []\nExploring Operation: 38+176=214, Resulting Numbers: [100, 125, 214]\nGenerated Node #0,4: 127:[100, 125, 214] Operation: 38+176=214\nMoving to Node #0,4\nCurrent State: 127:[100, 125, 214], Operations: ['38+176=214']\nExploring Operation: 214-100=114, Resulting Numbers: [125, 114]\nGenerated Node #0,4,0: 127:[125, 114] Operation: 214-100=114\nMoving to Node #0,4,0\nCurrent State: 127:[125, 114], Operations: ['38+176=214', '214-100=114']\nExploring Operation: 125+114=239, Resulting Numbers: [239]\n239,127 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 127:[125, 114], Operations: ['38+176=214', '214-100=114']\nExploring Operation: 125-114=11, Resulting Numbers: [11]\n11,127 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 127:[100, 125, 214], Operations: ['38+176=214']\nExploring Operation: 214-125=89, Resulting Numbers: [100, 89]\nGenerated Node #0,4,1: 127:[100, 89] Operation: 214-125=89\nMoving to Node #0,4,1\nCurrent State: 127:[100, 89], Operations: ['38+176=214', '214-125=89']\nExploring Operation: 100+89=189, Resulting Numbers: [189]\n189,127 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 127:[100, 89], Operations: ['38+176=214', '214-125=89']\nExploring Operation: 100-89=11, Resulting Numbers: [11]\n11,127 unequal: No Solution\nMoving to Node #0\nCurrent State: 127:[100, 38, 176, 125], Operations: []\nExploring Operation: 125-38=87, Resulting Numbers: [100, 176, 87]\nGenerated Node #0,5: 127:[100, 176, 87] Operation: 125-38=87\nMoving to Node #0,5\nCurrent State: 127:[100, 176, 87], Operations: ['125-38=87']\nExploring Operation: 176-87=89, Resulting Numbers: [100, 89]\nGenerated Node #0,5,0: 127:[100, 89] Operation: 176-87=89\nMoving to Node #0,5,0\nCurrent State: 127:[100, 89], Operations: ['125-38=87', '176-87=89']\nExploring Operation: 100+89=189, Resulting Numbers: [189]\n189,127 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 127:[100, 89], Operations: ['125-38=87', '176-87=89']\nExploring Operation: 100-89=11, Resulting Numbers: [11]\n11,127 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 127:[100, 176, 87], Operations: ['125-38=87']\nExploring Operation: 176-100=76, Resulting Numbers: [87, 76]\nGenerated Node #0,5,1: 127:[87, 76] Operation: 176-100=76\nMoving to Node #0,5,1\nCurrent State: 127:[87, 76], Operations: ['125-38=87', '176-100=76']\nExploring Operation: 87+76=163, Resulting Numbers: [163]\n163,127 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 127:[87, 76], Operations: ['125-38=87', '176-100=76']\nExploring Operation: 87-76=11, Resulting Numbers: [11]\n11,127 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 127:[100, 176, 87], Operations: ['125-38=87']\nExploring Operation: 100+87=187, Resulting Numbers: [176, 187]\nGenerated Node #0,5,2: 127:[176, 187] Operation: 100+87=187\nMoving to Node #0,5,2\nCurrent State: 127:[176, 187], Operations: ['125-38=87', '100+87=187']\nExploring Operation: 187-176=11, Resulting Numbers: [11]\n11,127 unequal: No Solution",
"role": "assistant"
}
] |
[
100,
38,
176,
125
] | 127
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [116, 124, 62, 156] and the target 136, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 136:[116, 124, 62, 156], Operations: []\nExploring Operation: 156-116=40, Resulting Numbers: [124, 62, 40]\nGenerated Node #0,0: 136:[124, 62, 40] Operation: 156-116=40\nMoving to Node #0,0\nCurrent State: 136:[124, 62, 40], Operations: ['156-116=40']\nExploring Operation: 124/62=2, Resulting Numbers: [40, 2]\nGenerated Node #0,0,0: 136:[40, 2] Operation: 124/62=2\nMoving to Node #0,0,0\nCurrent State: 136:[40, 2], Operations: ['156-116=40', '124/62=2']\nExploring Operation: 40/2=20, Resulting Numbers: [20]\n20,136 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 136:[40, 2], Operations: ['156-116=40', '124/62=2']\nExploring Operation: 40-2=38, Resulting Numbers: [38]\n38,136 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 136:[40, 2], Operations: ['156-116=40', '124/62=2']\nExploring Operation: 40+2=42, Resulting Numbers: [42]\n42,136 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 136:[40, 2], Operations: ['156-116=40', '124/62=2']\nExploring Operation: 40*2=80, Resulting Numbers: [80]\n80,136 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 136:[124, 62, 40], Operations: ['156-116=40']\nExploring Operation: 124-62=62, Resulting Numbers: [40, 62]\nGenerated Node #0,0,1: 136:[40, 62] Operation: 124-62=62\nMoving to Node #0,0,1\nCurrent State: 136:[40, 62], Operations: ['156-116=40', '124-62=62']\nExploring Operation: 62-40=22, Resulting Numbers: [22]\n22,136 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 136:[40, 62], Operations: ['156-116=40', '124-62=62']\nExploring Operation: 40+62=102, Resulting Numbers: [102]\n102,136 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 136:[124, 62, 40], Operations: ['156-116=40']\nExploring Operation: 62-40=22, Resulting Numbers: [124, 22]\nGenerated Node #0,0,2: 136:[124, 22] Operation: 62-40=22\nMoving to Node #0,0,2\nCurrent State: 136:[124, 22], Operations: ['156-116=40', '62-40=22']\nExploring Operation: 124+22=146, Resulting Numbers: [146]\n146,136 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 136:[124, 22], Operations: ['156-116=40', '62-40=22']\nExploring Operation: 124-22=102, Resulting Numbers: [102]\n102,136 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 136:[124, 62, 40], Operations: ['156-116=40']\nExploring Operation: 124-40=84, Resulting Numbers: [62, 84]\nGenerated Node #0,0,3: 136:[62, 84] Operation: 124-40=84\nMoving to Node #0,0,3\nCurrent State: 136:[62, 84], Operations: ['156-116=40', '124-40=84']\nExploring Operation: 84-62=22, Resulting Numbers: [22]\n22,136 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 136:[62, 84], Operations: ['156-116=40', '124-40=84']\nExploring Operation: 62+84=146, Resulting Numbers: [146]\n146,136 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 136:[124, 62, 40], Operations: ['156-116=40']\nExploring Operation: 124+40=164, Resulting Numbers: [62, 164]\nGenerated Node #0,0,4: 136:[62, 164] Operation: 124+40=164\nMoving to Node #0,0,4\nCurrent State: 136:[62, 164], Operations: ['156-116=40', '124+40=164']\nExploring Operation: 164-62=102, Resulting Numbers: [102]\n102,136 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 136:[62, 164], Operations: ['156-116=40', '124+40=164']\nExploring Operation: 62+164=226, Resulting Numbers: [226]\n226,136 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 136:[124, 62, 40], Operations: ['156-116=40']\nExploring Operation: 62+40=102, Resulting Numbers: [124, 102]\nGenerated Node #0,0,5: 136:[124, 102] Operation: 62+40=102\nMoving to Node #0,0,5\nCurrent State: 136:[124, 102], Operations: ['156-116=40', '62+40=102']\nExploring Operation: 124-102=22, Resulting Numbers: [22]\n22,136 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 136:[124, 102], Operations: ['156-116=40', '62+40=102']\nExploring Operation: 124+102=226, Resulting Numbers: [226]\n226,136 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 136:[124, 62, 40], Operations: ['156-116=40']\nExploring Operation: 124+62=186, Resulting Numbers: [40, 186]\nGenerated Node #0,0,6: 136:[40, 186] Operation: 124+62=186\nMoving to Node #0,0,6\nCurrent State: 136:[40, 186], Operations: ['156-116=40', '124+62=186']\nExploring Operation: 186-40=146, Resulting Numbers: [146]\n146,136 unequal: No Solution\nMoving to Node #0,0,6\nCurrent State: 136:[40, 186], Operations: ['156-116=40', '124+62=186']\nExploring Operation: 40+186=226, Resulting Numbers: [226]\n226,136 unequal: No Solution\nMoving to Node #0\nCurrent State: 136:[116, 124, 62, 156], Operations: []\nExploring Operation: 124-116=8, Resulting Numbers: [62, 156, 8]\nGenerated Node #0,1: 136:[62, 156, 8] Operation: 124-116=8\nMoving to Node #0,1\nCurrent State: 136:[62, 156, 8], Operations: ['124-116=8']\nExploring Operation: 156-8=148, Resulting Numbers: [62, 148]\nGenerated Node #0,1,0: 136:[62, 148] Operation: 156-8=148\nMoving to Node #0,1,0\nCurrent State: 136:[62, 148], Operations: ['124-116=8', '156-8=148']\nExploring Operation: 148-62=86, Resulting Numbers: [86]\n86,136 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 136:[62, 148], Operations: ['124-116=8', '156-8=148']\nExploring Operation: 62+148=210, Resulting Numbers: [210]\n210,136 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 136:[62, 156, 8], Operations: ['124-116=8']\nExploring Operation: 62+8=70, Resulting Numbers: [156, 70]\nGenerated Node #0,1,1: 136:[156, 70] Operation: 62+8=70\nMoving to Node #0,1,1\nCurrent State: 136:[156, 70], Operations: ['124-116=8', '62+8=70']\nExploring Operation: 156-70=86, Resulting Numbers: [86]\n86,136 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 136:[156, 70], Operations: ['124-116=8', '62+8=70']\nExploring Operation: 156+70=226, Resulting Numbers: [226]\n226,136 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 136:[62, 156, 8], Operations: ['124-116=8']\nExploring Operation: 156-62=94, Resulting Numbers: [8, 94]\nGenerated Node #0,1,2: 136:[8, 94] Operation: 156-62=94\nMoving to Node #0,1,2\nCurrent State: 136:[8, 94], Operations: ['124-116=8', '156-62=94']\nExploring Operation: 94-8=86, Resulting Numbers: [86]\n86,136 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 136:[8, 94], Operations: ['124-116=8', '156-62=94']\nExploring Operation: 8+94=102, Resulting Numbers: [102]\n102,136 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 136:[62, 156, 8], Operations: ['124-116=8']\nExploring Operation: 62-8=54, Resulting Numbers: [156, 54]\nGenerated Node #0,1,3: 136:[156, 54] Operation: 62-8=54\nMoving to Node #0,1,3\nCurrent State: 136:[156, 54], Operations: ['124-116=8', '62-8=54']\nExploring Operation: 156-54=102, Resulting Numbers: [102]\n102,136 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 136:[156, 54], Operations: ['124-116=8', '62-8=54']\nExploring Operation: 156+54=210, Resulting Numbers: [210]\n210,136 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 136:[62, 156, 8], Operations: ['124-116=8']\nExploring Operation: 156+8=164, Resulting Numbers: [62, 164]\nGenerated Node #0,1,4: 136:[62, 164] Operation: 156+8=164\nMoving to Node #0,1,4\nCurrent State: 136:[62, 164], Operations: ['124-116=8', '156+8=164']\nExploring Operation: 164-62=102, Resulting Numbers: [102]\n102,136 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 136:[62, 164], Operations: ['124-116=8', '156+8=164']\nExploring Operation: 62+164=226, Resulting Numbers: [226]\n226,136 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 136:[62, 156, 8], Operations: ['124-116=8']\nExploring Operation: 62+156=218, Resulting Numbers: [8, 218]\nGenerated Node #0,1,5: 136:[8, 218] Operation: 62+156=218\nMoving to Node #0,1,5\nCurrent State: 136:[8, 218], Operations: ['124-116=8', '62+156=218']\nExploring Operation: 218-8=210, Resulting Numbers: [210]\n210,136 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 136:[8, 218], Operations: ['124-116=8', '62+156=218']\nExploring Operation: 8+218=226, Resulting Numbers: [226]\n226,136 unequal: No Solution\nMoving to Node #0\nCurrent State: 136:[116, 124, 62, 156], Operations: []\nExploring Operation: 156-124=32, Resulting Numbers: [116, 62, 32]\nGenerated Node #0,2: 136:[116, 62, 32] Operation: 156-124=32\nMoving to Node #0,2\nCurrent State: 136:[116, 62, 32], Operations: ['156-124=32']\nExploring Operation: 116-62=54, Resulting Numbers: [32, 54]\nGenerated Node #0,2,0: 136:[32, 54] Operation: 116-62=54\nMoving to Node #0,2,0\nCurrent State: 136:[32, 54], Operations: ['156-124=32', '116-62=54']\nExploring Operation: 54-32=22, Resulting Numbers: [22]\n22,136 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 136:[32, 54], Operations: ['156-124=32', '116-62=54']\nExploring Operation: 32+54=86, Resulting Numbers: [86]\n86,136 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 136:[116, 62, 32], Operations: ['156-124=32']\nExploring Operation: 116+32=148, Resulting Numbers: [62, 148]\nGenerated Node #0,2,1: 136:[62, 148] Operation: 116+32=148\nMoving to Node #0,2,1\nCurrent State: 136:[62, 148], Operations: ['156-124=32', '116+32=148']\nExploring Operation: 148-62=86, Resulting Numbers: [86]\n86,136 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 136:[62, 148], Operations: ['156-124=32', '116+32=148']\nExploring Operation: 62+148=210, Resulting Numbers: [210]\n210,136 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 136:[116, 62, 32], Operations: ['156-124=32']\nExploring Operation: 116-32=84, Resulting Numbers: [62, 84]\nGenerated Node #0,2,2: 136:[62, 84] Operation: 116-32=84\nMoving to Node #0,2,2\nCurrent State: 136:[62, 84], Operations: ['156-124=32', '116-32=84']\nExploring Operation: 84-62=22, Resulting Numbers: [22]\n22,136 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 136:[62, 84], Operations: ['156-124=32', '116-32=84']\nExploring Operation: 62+84=146, Resulting Numbers: [146]\n146,136 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 136:[116, 62, 32], Operations: ['156-124=32']\nExploring Operation: 62-32=30, Resulting Numbers: [116, 30]\nGenerated Node #0,2,3: 136:[116, 30] Operation: 62-32=30\nMoving to Node #0,2,3\nCurrent State: 136:[116, 30], Operations: ['156-124=32', '62-32=30']\nExploring Operation: 116+30=146, Resulting Numbers: [146]\n146,136 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 136:[116, 30], Operations: ['156-124=32', '62-32=30']\nExploring Operation: 116-30=86, Resulting Numbers: [86]\n86,136 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 136:[116, 62, 32], Operations: ['156-124=32']\nExploring Operation: 116+62=178, Resulting Numbers: [32, 178]\nGenerated Node #0,2,4: 136:[32, 178] Operation: 116+62=178\nMoving to Node #0,2,4\nCurrent State: 136:[32, 178], Operations: ['156-124=32', '116+62=178']\nExploring Operation: 178-32=146, Resulting Numbers: [146]\n146,136 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 136:[32, 178], Operations: ['156-124=32', '116+62=178']\nExploring Operation: 32+178=210, Resulting Numbers: [210]\n210,136 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 136:[116, 62, 32], Operations: ['156-124=32']\nExploring Operation: 62+32=94, Resulting Numbers: [116, 94]\nGenerated Node #0,2,5: 136:[116, 94] Operation: 62+32=94\nMoving to Node #0,2,5\nCurrent State: 136:[116, 94], Operations: ['156-124=32', '62+32=94']\nExploring Operation: 116-94=22, Resulting Numbers: [22]\n22,136 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 136:[116, 94], Operations: ['156-124=32', '62+32=94']\nExploring Operation: 116+94=210, Resulting Numbers: [210]\n210,136 unequal: No Solution\nMoving to Node #0\nCurrent State: 136:[116, 124, 62, 156], Operations: []\nExploring Operation: 124/62=2, Resulting Numbers: [116, 156, 2]\nGenerated Node #0,3: 136:[116, 156, 2] Operation: 124/62=2\nMoving to Node #0,3\nCurrent State: 136:[116, 156, 2], Operations: ['124/62=2']\nExploring Operation: 156-116=40, Resulting Numbers: [2, 40]\nGenerated Node #0,3,0: 136:[2, 40] Operation: 156-116=40\nMoving to Node #0,3,0\nCurrent State: 136:[2, 40], Operations: ['124/62=2', '156-116=40']\nExploring Operation: 40/2=20, Resulting Numbers: [20]\n20,136 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 136:[2, 40], Operations: ['124/62=2', '156-116=40']\nExploring Operation: 40-2=38, Resulting Numbers: [38]\n38,136 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 136:[2, 40], Operations: ['124/62=2', '156-116=40']\nExploring Operation: 2+40=42, Resulting Numbers: [42]\n42,136 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 136:[2, 40], Operations: ['124/62=2', '156-116=40']\nExploring Operation: 2*40=80, Resulting Numbers: [80]\n80,136 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 136:[116, 156, 2], Operations: ['124/62=2']\nExploring Operation: 116/2=58, Resulting Numbers: [156, 58]\nGenerated Node #0,3,1: 136:[156, 58] Operation: 116/2=58\nMoving to Node #0,3,1\nCurrent State: 136:[156, 58], Operations: ['124/62=2', '116/2=58']\nExploring Operation: 156-58=98, Resulting Numbers: [98]\n98,136 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 136:[156, 58], Operations: ['124/62=2', '116/2=58']\nExploring Operation: 156+58=214, Resulting Numbers: [214]\n214,136 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 136:[116, 156, 2], Operations: ['124/62=2']\nExploring Operation: 156/2=78, Resulting Numbers: [116, 78]\nGenerated Node #0,3,2: 136:[116, 78] Operation: 156/2=78\nMoving to Node #0,3,2\nCurrent State: 136:[116, 78], Operations: ['124/62=2', '156/2=78']\nExploring Operation: 116-78=38, Resulting Numbers: [38]\n38,136 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 136:[116, 78], Operations: ['124/62=2', '156/2=78']\nExploring Operation: 116+78=194, Resulting Numbers: [194]\n194,136 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 136:[116, 156, 2], Operations: ['124/62=2']\nExploring Operation: 116+2=118, Resulting Numbers: [156, 118]\nGenerated Node #0,3,3: 136:[156, 118] Operation: 116+2=118\nMoving to Node #0,3,3\nCurrent State: 136:[156, 118], Operations: ['124/62=2', '116+2=118']\nExploring Operation: 156-118=38, Resulting Numbers: [38]\n38,136 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 136:[116, 156, 2], Operations: ['124/62=2']\nExploring Operation: 156-2=154, Resulting Numbers: [116, 154]\nGenerated Node #0,3,4: 136:[116, 154] Operation: 156-2=154\nMoving to Node #0,3,4\nCurrent State: 136:[116, 154], Operations: ['124/62=2', '156-2=154']\nExploring Operation: 154-116=38, Resulting Numbers: [38]\n38,136 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 136:[116, 154], Operations: ['124/62=2', '156-2=154']\nExploring Operation: 116+154=270, Resulting Numbers: [270]\n270,136 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 136:[116, 156, 2], Operations: ['124/62=2']\nExploring Operation: 116-2=114, Resulting Numbers: [156, 114]\nGenerated Node #0,3,5: 136:[156, 114] Operation: 116-2=114\nMoving to Node #0,3,5\nCurrent State: 136:[156, 114], Operations: ['124/62=2', '116-2=114']\nExploring Operation: 156-114=42, Resulting Numbers: [42]\n42,136 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 136:[156, 114], Operations: ['124/62=2', '116-2=114']\nExploring Operation: 156+114=270, Resulting Numbers: [270]\n270,136 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 136:[116, 156, 2], Operations: ['124/62=2']\nExploring Operation: 156+2=158, Resulting Numbers: [116, 158]\nGenerated Node #0,3,6: 136:[116, 158] Operation: 156+2=158\nMoving to Node #0,3,6\nCurrent State: 136:[116, 158], Operations: ['124/62=2', '156+2=158']\nExploring Operation: 158-116=42, Resulting Numbers: [42]\n42,136 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 136:[116, 156, 2], Operations: ['124/62=2']\nExploring Operation: 116*2=232, Resulting Numbers: [156, 232]\nGenerated Node #0,3,7: 136:[156, 232] Operation: 116*2=232\nMoving to Node #0,3,7\nCurrent State: 136:[156, 232], Operations: ['124/62=2', '116*2=232']\nExploring Operation: 232-156=76, Resulting Numbers: [76]\n76,136 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 136:[116, 156, 2], Operations: ['124/62=2']\nExploring Operation: 116+156=272, Resulting Numbers: [2, 272]\nGenerated Node #0,3,8: 136:[2, 272] Operation: 116+156=272\nMoving to Node #0,3,8\nCurrent State: 136:[2, 272], Operations: ['124/62=2', '116+156=272']\nExploring Operation: 272/2=136, Resulting Numbers: [136]\n136,136 equal: Goal Reached\nFinal operations:\n124/62=2\n116+156=272\n272/2=136",
"role": "assistant"
}
] |
[
116,
124,
62,
156
] | 136
|
dfs
|
mult_heuristic
| 0.922743
|
[
{
"content": "Given the numbers [27, 43, 136, 116] and the target 182, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 182:[27, 43, 136, 116], Operations: []\nExploring Operation: 27+116=143, Resulting Numbers: [43, 136, 143]\nGenerated Node #0,0: 182:[43, 136, 143] Operation: 27+116=143\nExploring Operation: 27+43=70, Resulting Numbers: [136, 116, 70]\nGenerated Node #0,1: 182:[136, 116, 70] Operation: 27+43=70\nExploring Operation: 27+136=163, Resulting Numbers: [43, 116, 163]\nGenerated Node #0,2: 182:[43, 116, 163] Operation: 27+136=163\nMoving to Node #0,0\nCurrent State: 182:[43, 136, 143], Operations: ['27+116=143']\nExploring Operation: 136-43=93, Resulting Numbers: [143, 93]\nGenerated Node #0,0,0: 182:[143, 93] Operation: 136-43=93\nExploring Operation: 43+143=186, Resulting Numbers: [136, 186]\nGenerated Node #0,0,1: 182:[136, 186] Operation: 43+143=186\nExploring Operation: 43+136=179, Resulting Numbers: [143, 179]\nGenerated Node #0,0,2: 182:[143, 179] Operation: 43+136=179\nMoving to Node #0,1\nCurrent State: 182:[136, 116, 70], Operations: ['27+43=70']\nExploring Operation: 136+70=206, Resulting Numbers: [116, 206]\nGenerated Node #0,1,0: 182:[116, 206] Operation: 136+70=206\nExploring Operation: 136+116=252, Resulting Numbers: [70, 252]\nGenerated Node #0,1,1: 182:[70, 252] Operation: 136+116=252\nExploring Operation: 116+70=186, Resulting Numbers: [136, 186]\nGenerated Node #0,1,2: 182:[136, 186] Operation: 116+70=186\nMoving to Node #0,2\nCurrent State: 182:[43, 116, 163], Operations: ['27+136=163']\nExploring Operation: 116-43=73, Resulting Numbers: [163, 73]\nGenerated Node #0,2,0: 182:[163, 73] Operation: 116-43=73\nExploring Operation: 43+116=159, Resulting Numbers: [163, 159]\nGenerated Node #0,2,1: 182:[163, 159] Operation: 43+116=159\nExploring Operation: 43+163=206, Resulting Numbers: [116, 206]\nGenerated Node #0,2,2: 182:[116, 206] Operation: 43+163=206\nMoving to Node #0,0,2\nCurrent State: 182:[143, 179], Operations: ['27+116=143', '43+136=179']\nExploring Operation: 143+179=322, Resulting Numbers: [322]\n322,182 unequal: No Solution\nExploring Operation: 143*179=25597, Resulting Numbers: [25597]\n25597,182 unequal: No Solution\nExploring Operation: 179-143=36, Resulting Numbers: [36]\n36,182 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 182:[163, 159], Operations: ['27+136=163', '43+116=159']\nExploring Operation: 163-159=4, Resulting Numbers: [4]\n4,182 unequal: No Solution\nExploring Operation: 163*159=25917, Resulting Numbers: [25917]\n25917,182 unequal: No Solution\nExploring Operation: 163+159=322, Resulting Numbers: [322]\n322,182 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 182:[136, 186], Operations: ['27+116=143', '43+143=186']\nExploring Operation: 186-136=50, Resulting Numbers: [50]\n50,182 unequal: No Solution\nExploring Operation: 136*186=25296, Resulting Numbers: [25296]\n25296,182 unequal: No Solution\nExploring Operation: 136+186=322, Resulting Numbers: [322]\n322,182 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 182:[136, 186], Operations: ['27+43=70', '116+70=186']\nExploring Operation: 136*186=25296, Resulting Numbers: [25296]\n25296,182 unequal: No Solution\nExploring Operation: 186-136=50, Resulting Numbers: [50]\n50,182 unequal: No Solution\nExploring Operation: 136+186=322, Resulting Numbers: [322]\n322,182 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 182:[116, 206], Operations: ['27+43=70', '136+70=206']\nExploring Operation: 206-116=90, Resulting Numbers: [90]\n90,182 unequal: No Solution\nExploring Operation: 116*206=23896, Resulting Numbers: [23896]\n23896,182 unequal: No Solution\nExploring Operation: 116+206=322, Resulting Numbers: [322]\n322,182 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 182:[116, 206], Operations: ['27+136=163', '43+163=206']\nExploring Operation: 206-116=90, Resulting Numbers: [90]\n90,182 unequal: No Solution\nExploring Operation: 116*206=23896, Resulting Numbers: [23896]\n23896,182 unequal: No Solution\nExploring Operation: 116+206=322, Resulting Numbers: [322]\n322,182 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 182:[143, 93], Operations: ['27+116=143', '136-43=93']\nExploring Operation: 143+93=236, Resulting Numbers: [236]\n236,182 unequal: No Solution\nExploring Operation: 143*93=13299, Resulting Numbers: [13299]\n13299,182 unequal: No Solution\nExploring Operation: 143-93=50, Resulting Numbers: [50]\n50,182 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 182:[163, 73], Operations: ['27+136=163', '116-43=73']\nExploring Operation: 163*73=11899, Resulting Numbers: [11899]\n11899,182 unequal: No Solution\nExploring Operation: 163+73=236, Resulting Numbers: [236]\n236,182 unequal: No Solution\nExploring Operation: 163-73=90, Resulting Numbers: [90]\n90,182 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 182:[70, 252], Operations: ['27+43=70', '136+116=252']\nExploring Operation: 252-70=182, Resulting Numbers: [182]\n182,182 equal: Goal Reached\nFinal operations:\n27+43=70\n136+116=252\n252-70=182",
"role": "assistant"
}
] |
[
27,
43,
136,
116
] | 182
|
bfs_3
|
sum_heuristic
| 0.967014
|
[
{
"content": "Given the numbers [74, 64, 51, 135] and the target 176, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 176:[74, 64, 51, 135], Operations: []\nExploring Operation: 74+64=138, Resulting Numbers: [51, 135, 138]\nGenerated Node #0,0: 176:[51, 135, 138] Operation: 74+64=138\nMoving to Node #0,0\nCurrent State: 176:[51, 135, 138], Operations: ['74+64=138']\nExploring Operation: 51+135=186, Resulting Numbers: [138, 186]\nGenerated Node #0,0,0: 176:[138, 186] Operation: 51+135=186\nMoving to Node #0,0,0\nCurrent State: 176:[138, 186], Operations: ['74+64=138', '51+135=186']\nExploring Operation: 186-138=48, Resulting Numbers: [48]\n48,176 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 176:[138, 186], Operations: ['74+64=138', '51+135=186']\nExploring Operation: 138+186=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[51, 135, 138], Operations: ['74+64=138']\nExploring Operation: 51+138=189, Resulting Numbers: [135, 189]\nGenerated Node #0,0,1: 176:[135, 189] Operation: 51+138=189\nMoving to Node #0,0,1\nCurrent State: 176:[135, 189], Operations: ['74+64=138', '51+138=189']\nExploring Operation: 189-135=54, Resulting Numbers: [54]\n54,176 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 176:[135, 189], Operations: ['74+64=138', '51+138=189']\nExploring Operation: 135+189=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[51, 135, 138], Operations: ['74+64=138']\nExploring Operation: 135-51=84, Resulting Numbers: [138, 84]\nGenerated Node #0,0,2: 176:[138, 84] Operation: 135-51=84\nMoving to Node #0,0,2\nCurrent State: 176:[138, 84], Operations: ['74+64=138', '135-51=84']\nExploring Operation: 138+84=222, Resulting Numbers: [222]\n222,176 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 176:[138, 84], Operations: ['74+64=138', '135-51=84']\nExploring Operation: 138-84=54, Resulting Numbers: [54]\n54,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[51, 135, 138], Operations: ['74+64=138']\nExploring Operation: 138-51=87, Resulting Numbers: [135, 87]\nGenerated Node #0,0,3: 176:[135, 87] Operation: 138-51=87\nMoving to Node #0,0,3\nCurrent State: 176:[135, 87], Operations: ['74+64=138', '138-51=87']\nExploring Operation: 135+87=222, Resulting Numbers: [222]\n222,176 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 176:[135, 87], Operations: ['74+64=138', '138-51=87']\nExploring Operation: 135-87=48, Resulting Numbers: [48]\n48,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[51, 135, 138], Operations: ['74+64=138']\nExploring Operation: 135+138=273, Resulting Numbers: [51, 273]\nGenerated Node #0,0,4: 176:[51, 273] Operation: 135+138=273\nMoving to Node #0,0,4\nCurrent State: 176:[51, 273], Operations: ['74+64=138', '135+138=273']\nExploring Operation: 273-51=222, Resulting Numbers: [222]\n222,176 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 176:[51, 273], Operations: ['74+64=138', '135+138=273']\nExploring Operation: 51+273=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 176:[51, 135, 138], Operations: ['74+64=138']\nExploring Operation: 138-135=3, Resulting Numbers: [51, 3]\nGenerated Node #0,0,5: 176:[51, 3] Operation: 138-135=3\nMoving to Node #0,0,5\nCurrent State: 176:[51, 3], Operations: ['74+64=138', '138-135=3']\nExploring Operation: 51*3=153, Resulting Numbers: [153]\n153,176 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 176:[51, 3], Operations: ['74+64=138', '138-135=3']\nExploring Operation: 51+3=54, Resulting Numbers: [54]\n54,176 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 176:[51, 3], Operations: ['74+64=138', '138-135=3']\nExploring Operation: 51-3=48, Resulting Numbers: [48]\n48,176 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 176:[51, 3], Operations: ['74+64=138', '138-135=3']\nExploring Operation: 51/3=17, Resulting Numbers: [17]\n17,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[74, 64, 51, 135], Operations: []\nExploring Operation: 74+51=125, Resulting Numbers: [64, 135, 125]\nGenerated Node #0,1: 176:[64, 135, 125] Operation: 74+51=125\nMoving to Node #0,1\nCurrent State: 176:[64, 135, 125], Operations: ['74+51=125']\nExploring Operation: 64+125=189, Resulting Numbers: [135, 189]\nGenerated Node #0,1,0: 176:[135, 189] Operation: 64+125=189\nMoving to Node #0,1,0\nCurrent State: 176:[135, 189], Operations: ['74+51=125', '64+125=189']\nExploring Operation: 189-135=54, Resulting Numbers: [54]\n54,176 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 176:[135, 189], Operations: ['74+51=125', '64+125=189']\nExploring Operation: 135+189=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[64, 135, 125], Operations: ['74+51=125']\nExploring Operation: 64+135=199, Resulting Numbers: [125, 199]\nGenerated Node #0,1,1: 176:[125, 199] Operation: 64+135=199\nMoving to Node #0,1,1\nCurrent State: 176:[125, 199], Operations: ['74+51=125', '64+135=199']\nExploring Operation: 199-125=74, Resulting Numbers: [74]\n74,176 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 176:[125, 199], Operations: ['74+51=125', '64+135=199']\nExploring Operation: 125+199=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[64, 135, 125], Operations: ['74+51=125']\nExploring Operation: 135-64=71, Resulting Numbers: [125, 71]\nGenerated Node #0,1,2: 176:[125, 71] Operation: 135-64=71\nMoving to Node #0,1,2\nCurrent State: 176:[125, 71], Operations: ['74+51=125', '135-64=71']\nExploring Operation: 125+71=196, Resulting Numbers: [196]\n196,176 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 176:[125, 71], Operations: ['74+51=125', '135-64=71']\nExploring Operation: 125-71=54, Resulting Numbers: [54]\n54,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[64, 135, 125], Operations: ['74+51=125']\nExploring Operation: 125-64=61, Resulting Numbers: [135, 61]\nGenerated Node #0,1,3: 176:[135, 61] Operation: 125-64=61\nMoving to Node #0,1,3\nCurrent State: 176:[135, 61], Operations: ['74+51=125', '125-64=61']\nExploring Operation: 135+61=196, Resulting Numbers: [196]\n196,176 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 176:[135, 61], Operations: ['74+51=125', '125-64=61']\nExploring Operation: 135-61=74, Resulting Numbers: [74]\n74,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[64, 135, 125], Operations: ['74+51=125']\nExploring Operation: 135+125=260, Resulting Numbers: [64, 260]\nGenerated Node #0,1,4: 176:[64, 260] Operation: 135+125=260\nMoving to Node #0,1,4\nCurrent State: 176:[64, 260], Operations: ['74+51=125', '135+125=260']\nExploring Operation: 260-64=196, Resulting Numbers: [196]\n196,176 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 176:[64, 260], Operations: ['74+51=125', '135+125=260']\nExploring Operation: 64+260=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 176:[64, 135, 125], Operations: ['74+51=125']\nExploring Operation: 135-125=10, Resulting Numbers: [64, 10]\nGenerated Node #0,1,5: 176:[64, 10] Operation: 135-125=10\nMoving to Node #0,1,5\nCurrent State: 176:[64, 10], Operations: ['74+51=125', '135-125=10']\nExploring Operation: 64+10=74, Resulting Numbers: [74]\n74,176 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 176:[64, 10], Operations: ['74+51=125', '135-125=10']\nExploring Operation: 64-10=54, Resulting Numbers: [54]\n54,176 unequal: No Solution\nMoving to Node #0\nCurrent State: 176:[74, 64, 51, 135], Operations: []\nExploring Operation: 64+51=115, Resulting Numbers: [74, 135, 115]\nGenerated Node #0,2: 176:[74, 135, 115] Operation: 64+51=115\nMoving to Node #0,2\nCurrent State: 176:[74, 135, 115], Operations: ['64+51=115']\nExploring Operation: 74+115=189, Resulting Numbers: [135, 189]\nGenerated Node #0,2,0: 176:[135, 189] Operation: 74+115=189\nMoving to Node #0,2,0\nCurrent State: 176:[135, 189], Operations: ['64+51=115', '74+115=189']\nExploring Operation: 189-135=54, Resulting Numbers: [54]\n54,176 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 176:[135, 189], Operations: ['64+51=115', '74+115=189']\nExploring Operation: 135+189=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 176:[74, 135, 115], Operations: ['64+51=115']\nExploring Operation: 74+135=209, Resulting Numbers: [115, 209]\nGenerated Node #0,2,1: 176:[115, 209] Operation: 74+135=209\nMoving to Node #0,2,1\nCurrent State: 176:[115, 209], Operations: ['64+51=115', '74+135=209']\nExploring Operation: 209-115=94, Resulting Numbers: [94]\n94,176 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 176:[115, 209], Operations: ['64+51=115', '74+135=209']\nExploring Operation: 115+209=324, Resulting Numbers: [324]\n324,176 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 176:[74, 135, 115], Operations: ['64+51=115']\nExploring Operation: 135-74=61, Resulting Numbers: [115, 61]\nGenerated Node #0,2,2: 176:[115, 61] Operation: 135-74=61\nMoving to Node #0,2,2\nCurrent State: 176:[115, 61], Operations: ['64+51=115', '135-74=61']\nExploring Operation: 115+61=176, Resulting Numbers: [176]\n176,176 equal: Goal Reached\nFinal operations:\n64+51=115\n135-74=61\n115+61=176",
"role": "assistant"
}
] |
[
74,
64,
51,
135
] | 176
|
dfs
|
sum_heuristic
| 0.956597
|
[
{
"content": "Given the numbers [128, 132, 26, 28] and the target 136, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 136:[128, 132, 26, 28], Operations: []\nExploring Operation: 128+28=156, Resulting Numbers: [132, 26, 156]\nGenerated Node #0,0: 136:[132, 26, 156] Operation: 128+28=156\nExploring Operation: 132-128=4, Resulting Numbers: [26, 28, 4]\nGenerated Node #0,1: 136:[26, 28, 4] Operation: 132-128=4\nExploring Operation: 28-26=2, Resulting Numbers: [128, 132, 2]\nGenerated Node #0,2: 136:[128, 132, 2] Operation: 28-26=2\nExploring Operation: 128+26=154, Resulting Numbers: [132, 28, 154]\nGenerated Node #0,3: 136:[132, 28, 154] Operation: 128+26=154\nExploring Operation: 26+28=54, Resulting Numbers: [128, 132, 54]\nGenerated Node #0,4: 136:[128, 132, 54] Operation: 26+28=54\nMoving to Node #0,2\nCurrent State: 136:[128, 132, 2], Operations: ['28-26=2']\nExploring Operation: 128+2=130, Resulting Numbers: [132, 130]\nGenerated Node #0,2,0: 136:[132, 130] Operation: 128+2=130\nExploring Operation: 132+2=134, Resulting Numbers: [128, 134]\nGenerated Node #0,2,1: 136:[128, 134] Operation: 132+2=134\nExploring Operation: 132-128=4, Resulting Numbers: [2, 4]\nGenerated Node #0,2,2: 136:[2, 4] Operation: 132-128=4\nExploring Operation: 128/2=64, Resulting Numbers: [132, 64]\nGenerated Node #0,2,3: 136:[132, 64] Operation: 128/2=64\nExploring Operation: 132/2=66, Resulting Numbers: [128, 66]\nGenerated Node #0,2,4: 136:[128, 66] Operation: 132/2=66\nMoving to Node #0,1\nCurrent State: 136:[26, 28, 4], Operations: ['132-128=4']\nExploring Operation: 28-26=2, Resulting Numbers: [4, 2]\nGenerated Node #0,1,0: 136:[4, 2] Operation: 28-26=2\nExploring Operation: 26-4=22, Resulting Numbers: [28, 22]\nGenerated Node #0,1,1: 136:[28, 22] Operation: 26-4=22\nExploring Operation: 26+4=30, Resulting Numbers: [28, 30]\nGenerated Node #0,1,2: 136:[28, 30] Operation: 26+4=30\nExploring Operation: 28/4=7, Resulting Numbers: [26, 7]\nGenerated Node #0,1,3: 136:[26, 7] Operation: 28/4=7\nExploring Operation: 28+4=32, Resulting Numbers: [26, 32]\nGenerated Node #0,1,4: 136:[26, 32] Operation: 28+4=32\nMoving to Node #0,4\nCurrent State: 136:[128, 132, 54], Operations: ['26+28=54']\nExploring Operation: 128+54=182, Resulting Numbers: [132, 182]\nGenerated Node #0,4,0: 136:[132, 182] Operation: 128+54=182\nExploring Operation: 132-128=4, Resulting Numbers: [54, 4]\nGenerated Node #0,4,1: 136:[54, 4] Operation: 132-128=4\nExploring Operation: 128-54=74, Resulting Numbers: [132, 74]\nGenerated Node #0,4,2: 136:[132, 74] Operation: 128-54=74\nExploring Operation: 132-54=78, Resulting Numbers: [128, 78]\nGenerated Node #0,4,3: 136:[128, 78] Operation: 132-54=78\nExploring Operation: 132+54=186, Resulting Numbers: [128, 186]\nGenerated Node #0,4,4: 136:[128, 186] Operation: 132+54=186\nMoving to Node #0,3\nCurrent State: 136:[132, 28, 154], Operations: ['128+26=154']\nExploring Operation: 154-28=126, Resulting Numbers: [132, 126]\nGenerated Node #0,3,0: 136:[132, 126] Operation: 154-28=126\nExploring Operation: 132-28=104, Resulting Numbers: [154, 104]\nGenerated Node #0,3,1: 136:[154, 104] Operation: 132-28=104\nExploring Operation: 28+154=182, Resulting Numbers: [132, 182]\nGenerated Node #0,3,2: 136:[132, 182] Operation: 28+154=182\nExploring Operation: 154-132=22, Resulting Numbers: [28, 22]\nGenerated Node #0,3,3: 136:[28, 22] Operation: 154-132=22\nExploring Operation: 132+28=160, Resulting Numbers: [154, 160]\nGenerated Node #0,3,4: 136:[154, 160] Operation: 132+28=160\nMoving to Node #0,0\nCurrent State: 136:[132, 26, 156], Operations: ['128+28=156']\nExploring Operation: 156-132=24, Resulting Numbers: [26, 24]\nGenerated Node #0,0,0: 136:[26, 24] Operation: 156-132=24\nExploring Operation: 132-26=106, Resulting Numbers: [156, 106]\nGenerated Node #0,0,1: 136:[156, 106] Operation: 132-26=106\nExploring Operation: 156/26=6, Resulting Numbers: [132, 6]\nGenerated Node #0,0,2: 136:[132, 6] Operation: 156/26=6\nExploring Operation: 132+26=158, Resulting Numbers: [156, 158]\nGenerated Node #0,0,3: 136:[156, 158] Operation: 132+26=158\nExploring Operation: 156-26=130, Resulting Numbers: [132, 130]\nGenerated Node #0,0,4: 136:[132, 130] Operation: 156-26=130\nMoving to Node #0,2,2\nCurrent State: 136:[2, 4], Operations: ['28-26=2', '132-128=4']\nExploring Operation: 4-2=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nExploring Operation: 4/2=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nExploring Operation: 2+4=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 2*4=8, Resulting Numbers: [8]\n8,136 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 136:[4, 2], Operations: ['132-128=4', '28-26=2']\nExploring Operation: 4*2=8, Resulting Numbers: [8]\n8,136 unequal: No Solution\nExploring Operation: 4/2=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nExploring Operation: 4-2=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nExploring Operation: 4+2=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 136:[132, 6], Operations: ['128+28=156', '156/26=6']\nExploring Operation: 132/6=22, Resulting Numbers: [22]\n22,136 unequal: No Solution\nExploring Operation: 132*6=792, Resulting Numbers: [792]\n792,136 unequal: No Solution\nExploring Operation: 132+6=138, Resulting Numbers: [138]\n138,136 unequal: No Solution\nExploring Operation: 132-6=126, Resulting Numbers: [126]\n126,136 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 136:[132, 64], Operations: ['28-26=2', '128/2=64']\nExploring Operation: 132*64=8448, Resulting Numbers: [8448]\n8448,136 unequal: No Solution\nExploring Operation: 132+64=196, Resulting Numbers: [196]\n196,136 unequal: No Solution\nExploring Operation: 132-64=68, Resulting Numbers: [68]\n68,136 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 136:[26, 7], Operations: ['132-128=4', '28/4=7']\nExploring Operation: 26-7=19, Resulting Numbers: [19]\n19,136 unequal: No Solution\nExploring Operation: 26+7=33, Resulting Numbers: [33]\n33,136 unequal: No Solution\nExploring Operation: 26*7=182, Resulting Numbers: [182]\n182,136 unequal: No Solution\nMoving to Node #0,2,2,0\nCurrent State: 136:[2], Operations: ['28-26=2', '132-128=4', '4-2=2']\nMoving to Node #0,1,0,0\nCurrent State: 136:[8], Operations: ['132-128=4', '28-26=2', '4*2=8']\nMoving to Node #0,1,0,0\nCurrent State: 136:[2], Operations: ['132-128=4', '28-26=2', '4/2=2']\nMoving to Node #0,1,0,0\nCurrent State: 136:[2], Operations: ['132-128=4', '28-26=2', '4-2=2']\nMoving to Node #0,2,2,0\nCurrent State: 136:[2], Operations: ['28-26=2', '132-128=4', '4/2=2']\nMoving to Node #0,2,2,0\nCurrent State: 136:[8], Operations: ['28-26=2', '132-128=4', '2*4=8']\nMoving to Node #0,2,3,0\nCurrent State: 136:[68], Operations: ['28-26=2', '128/2=64', '132-64=68']\nMoving to Node #0,1,3,0\nCurrent State: 136:[33], Operations: ['132-128=4', '28/4=7', '26+7=33']\nMoving to Node #0,1,0,0\nCurrent State: 136:[6], Operations: ['132-128=4', '28-26=2', '4+2=6']\nMoving to Node #0,0,2,0\nCurrent State: 136:[138], Operations: ['128+28=156', '156/26=6', '132+6=138']\nMoving to Node #0,2,2,0\nCurrent State: 136:[6], Operations: ['28-26=2', '132-128=4', '2+4=6']\nMoving to Node #0,1,3,0\nCurrent State: 136:[19], Operations: ['132-128=4', '28/4=7', '26-7=19']\nMoving to Node #0,0,2,0\nCurrent State: 136:[22], Operations: ['128+28=156', '156/26=6', '132/6=22']\nMoving to Node #0,0,2,0\nCurrent State: 136:[126], Operations: ['128+28=156', '156/26=6', '132-6=126']\nMoving to Node #0,1,4\nCurrent State: 136:[26, 32], Operations: ['132-128=4', '28+4=32']\nExploring Operation: 26+32=58, Resulting Numbers: [58]\n58,136 unequal: No Solution\nExploring Operation: 26*32=832, Resulting Numbers: [832]\n832,136 unequal: No Solution\nExploring Operation: 32-26=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nMoving to Node #0,1,4,0\nCurrent State: 136:[6], Operations: ['132-128=4', '28+4=32', '32-26=6']\nMoving to Node #0,2,0\nCurrent State: 136:[132, 130], Operations: ['28-26=2', '128+2=130']\nExploring Operation: 132*130=17160, Resulting Numbers: [17160]\n17160,136 unequal: No Solution\nExploring Operation: 132+130=262, Resulting Numbers: [262]\n262,136 unequal: No Solution\nExploring Operation: 132-130=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nMoving to Node #0,1,4,0\nCurrent State: 136:[58], Operations: ['132-128=4', '28+4=32', '26+32=58']\nMoving to Node #0,4,2\nCurrent State: 136:[132, 74], Operations: ['26+28=54', '128-54=74']\nExploring Operation: 132+74=206, Resulting Numbers: [206]\n206,136 unequal: No Solution\nExploring Operation: 132*74=9768, Resulting Numbers: [9768]\n9768,136 unequal: No Solution\nExploring Operation: 132-74=58, Resulting Numbers: [58]\n58,136 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 136:[132, 130], Operations: ['128+28=156', '156-26=130']\nExploring Operation: 132*130=17160, Resulting Numbers: [17160]\n17160,136 unequal: No Solution\nExploring Operation: 132-130=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nExploring Operation: 132+130=262, Resulting Numbers: [262]\n262,136 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 136:[2], Operations: ['28-26=2', '128+2=130', '132-130=2']\nMoving to Node #0,0,4,0\nCurrent State: 136:[2], Operations: ['128+28=156', '156-26=130', '132-130=2']\nMoving to Node #0,4,2,0\nCurrent State: 136:[58], Operations: ['26+28=54', '128-54=74', '132-74=58']\nMoving to Node #0,2,4\nCurrent State: 136:[128, 66], Operations: ['28-26=2', '132/2=66']\nExploring Operation: 128-66=62, Resulting Numbers: [62]\n62,136 unequal: No Solution\nExploring Operation: 128*66=8448, Resulting Numbers: [8448]\n8448,136 unequal: No Solution\nExploring Operation: 128+66=194, Resulting Numbers: [194]\n194,136 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 136:[128, 134], Operations: ['28-26=2', '132+2=134']\nExploring Operation: 134-128=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 128*134=17152, Resulting Numbers: [17152]\n17152,136 unequal: No Solution\nExploring Operation: 128+134=262, Resulting Numbers: [262]\n262,136 unequal: No Solution\nMoving to Node #0,2,1,0\nCurrent State: 136:[6], Operations: ['28-26=2', '132+2=134', '134-128=6']\nMoving to Node #0,2,4,0\nCurrent State: 136:[62], Operations: ['28-26=2', '132/2=66', '128-66=62']\nMoving to Node #0,1,2\nCurrent State: 136:[28, 30], Operations: ['132-128=4', '26+4=30']\nExploring Operation: 30-28=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nExploring Operation: 28+30=58, Resulting Numbers: [58]\n58,136 unequal: No Solution\nExploring Operation: 28*30=840, Resulting Numbers: [840]\n840,136 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 136:[28, 22], Operations: ['132-128=4', '26-4=22']\nExploring Operation: 28*22=616, Resulting Numbers: [616]\n616,136 unequal: No Solution\nExploring Operation: 28-22=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 28+22=50, Resulting Numbers: [50]\n50,136 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 136:[28, 22], Operations: ['128+26=154', '154-132=22']\nExploring Operation: 28+22=50, Resulting Numbers: [50]\n50,136 unequal: No Solution\nExploring Operation: 28*22=616, Resulting Numbers: [616]\n616,136 unequal: No Solution\nExploring Operation: 28-22=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nMoving to Node #0,1,2,0\nCurrent State: 136:[2], Operations: ['132-128=4', '26+4=30', '30-28=2']\nMoving to Node #0,1,1,0\nCurrent State: 136:[6], Operations: ['132-128=4', '26-4=22', '28-22=6']\nMoving to Node #0,3,3,0\nCurrent State: 136:[6], Operations: ['128+26=154', '154-132=22', '28-22=6']\nMoving to Node #0,1,2,0\nCurrent State: 136:[58], Operations: ['132-128=4', '26+4=30', '28+30=58']\nMoving to Node #0,4,1\nCurrent State: 136:[54, 4], Operations: ['26+28=54', '132-128=4']\nExploring Operation: 54-4=50, Resulting Numbers: [50]\n50,136 unequal: No Solution\nExploring Operation: 54*4=216, Resulting Numbers: [216]\n216,136 unequal: No Solution\nExploring Operation: 54+4=58, Resulting Numbers: [58]\n58,136 unequal: No Solution\nMoving to Node #0,4,1,0\nCurrent State: 136:[58], Operations: ['26+28=54', '132-128=4', '54+4=58']\nMoving to Node #0,3,0\nCurrent State: 136:[132, 126], Operations: ['128+26=154', '154-28=126']\nExploring Operation: 132-126=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 132*126=16632, Resulting Numbers: [16632]\n16632,136 unequal: No Solution\nExploring Operation: 132+126=258, Resulting Numbers: [258]\n258,136 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 136:[26, 24], Operations: ['128+28=156', '156-132=24']\nExploring Operation: 26*24=624, Resulting Numbers: [624]\n624,136 unequal: No Solution\nExploring Operation: 26+24=50, Resulting Numbers: [50]\n50,136 unequal: No Solution\nExploring Operation: 26-24=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nMoving to Node #0,1,1,0\nCurrent State: 136:[50], Operations: ['132-128=4', '26-4=22', '28+22=50']\nMoving to Node #0,3,3,0\nCurrent State: 136:[50], Operations: ['128+26=154', '154-132=22', '28+22=50']\nMoving to Node #0,0,0,0\nCurrent State: 136:[2], Operations: ['128+28=156', '156-132=24', '26-24=2']\nMoving to Node #0,3,0,0\nCurrent State: 136:[6], Operations: ['128+26=154', '154-28=126', '132-126=6']\nMoving to Node #0,4,1,0\nCurrent State: 136:[50], Operations: ['26+28=54', '132-128=4', '54-4=50']\nMoving to Node #0,0,0,0\nCurrent State: 136:[50], Operations: ['128+28=156', '156-132=24', '26+24=50']\nMoving to Node #0,4,3\nCurrent State: 136:[128, 78], Operations: ['26+28=54', '132-54=78']\nExploring Operation: 128*78=9984, Resulting Numbers: [9984]\n9984,136 unequal: No Solution\nExploring Operation: 128+78=206, Resulting Numbers: [206]\n206,136 unequal: No Solution\nExploring Operation: 128-78=50, Resulting Numbers: [50]\n50,136 unequal: No Solution\nMoving to Node #0,4,3,0\nCurrent State: 136:[50], Operations: ['26+28=54', '132-54=78', '128-78=50']\nMoving to Node #0,3,4\nCurrent State: 136:[154, 160], Operations: ['128+26=154', '132+28=160']\nExploring Operation: 160-154=6, Resulting Numbers: [6]\n6,136 unequal: No Solution\nExploring Operation: 154+160=314, Resulting Numbers: [314]\n314,136 unequal: No Solution\nExploring Operation: 154*160=24640, Resulting Numbers: [24640]\n24640,136 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 136:[156, 158], Operations: ['128+28=156', '132+26=158']\nExploring Operation: 156*158=24648, Resulting Numbers: [24648]\n24648,136 unequal: No Solution\nExploring Operation: 158-156=2, Resulting Numbers: [2]\n2,136 unequal: No Solution\nExploring Operation: 156+158=314, Resulting Numbers: [314]\n314,136 unequal: No Solution\nMoving to Node #0,1,3,0\nCurrent State: 136:[182], Operations: ['132-128=4', '28/4=7', '26*7=182']\nMoving to Node #0,4,0\nCurrent State: 136:[132, 182], Operations: ['26+28=54', '128+54=182']\nExploring Operation: 182-132=50, Resulting Numbers: [50]\n50,136 unequal: No Solution\nExploring Operation: 132+182=314, Resulting Numbers: [314]\n314,136 unequal: No Solution\nExploring Operation: 132*182=24024, Resulting Numbers: [24024]\n24024,136 unequal: No Solution\nMoving to Node #0,0,3,0\nCurrent State: 136:[2], Operations: ['128+28=156', '132+26=158', '158-156=2']\nMoving to Node #0,3,4,0\nCurrent State: 136:[6], Operations: ['128+26=154', '132+28=160', '160-154=6']\nMoving to Node #0,4,0,0\nCurrent State: 136:[50], Operations: ['26+28=54', '128+54=182', '182-132=50']\nMoving to Node #0,3,1\nCurrent State: 136:[154, 104], Operations: ['128+26=154', '132-28=104']\nExploring Operation: 154-104=50, Resulting Numbers: [50]\n50,136 unequal: No Solution\nExploring Operation: 154+104=258, Resulting Numbers: [258]\n258,136 unequal: No Solution\nExploring Operation: 154*104=16016, Resulting Numbers: [16016]\n16016,136 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 136:[132, 182], Operations: ['128+26=154', '28+154=182']\nExploring Operation: 132+182=314, Resulting Numbers: [314]\n314,136 unequal: No Solution\nExploring Operation: 132*182=24024, Resulting Numbers: [24024]\n24024,136 unequal: No Solution\nExploring Operation: 182-132=50, Resulting Numbers: [50]\n50,136 unequal: No Solution\nMoving to Node #0,3,1,0\nCurrent State: 136:[50], Operations: ['128+26=154', '132-28=104', '154-104=50']\nMoving to Node #0,3,2,0\nCurrent State: 136:[50], Operations: ['128+26=154', '28+154=182', '182-132=50']\nMoving to Node #0,0,1\nCurrent State: 136:[156, 106], Operations: ['128+28=156', '132-26=106']\nExploring Operation: 156+106=262, Resulting Numbers: [262]\n262,136 unequal: No Solution\nExploring Operation: 156-106=50, Resulting Numbers: [50]\n50,136 unequal: No Solution\nExploring Operation: 156*106=16536, Resulting Numbers: [16536]\n16536,136 unequal: No Solution\nMoving to Node #0,2,4,0\nCurrent State: 136:[194], Operations: ['28-26=2', '132/2=66', '128+66=194']\nMoving to Node #0,4,4\nCurrent State: 136:[128, 186], Operations: ['26+28=54', '132+54=186']\nExploring Operation: 128+186=314, Resulting Numbers: [314]\n314,136 unequal: No Solution\nExploring Operation: 186-128=58, Resulting Numbers: [58]\n58,136 unequal: No Solution\nExploring Operation: 128*186=23808, Resulting Numbers: [23808]\n23808,136 unequal: No Solution\nMoving to Node #0,4,4,0\nCurrent State: 136:[58], Operations: ['26+28=54', '132+54=186', '186-128=58']\nMoving to Node #0,0,1,0\nCurrent State: 136:[50], Operations: ['128+28=156', '132-26=106', '156-106=50']\nMoving to Node #0,2,3,0\nCurrent State: 136:[196], Operations: ['28-26=2', '128/2=64', '132+64=196']\nMoving to Node #0,4,3,0\nCurrent State: 136:[206], Operations: ['26+28=54', '132-54=78', '128+78=206']\nMoving to Node #0,4,2,0\nCurrent State: 136:[206], Operations: ['26+28=54', '128-54=74', '132+74=206']\nMoving to Node #0,4,1,0\nCurrent State: 136:[216], Operations: ['26+28=54', '132-128=4', '54*4=216']\nMoving to Node #0,3,0,0\nCurrent State: 136:[258], Operations: ['128+26=154', '154-28=126', '132+126=258']\nMoving to Node #0,3,1,0\nCurrent State: 136:[258], Operations: ['128+26=154', '132-28=104', '154+104=258']\nMoving to Node #0,2,1,0\nCurrent State: 136:[262], Operations: ['28-26=2', '132+2=134', '128+134=262']\nMoving to Node #0,0,4,0\nCurrent State: 136:[262], Operations: ['128+28=156', '156-26=130', '132+130=262']\nMoving to Node #0,2,0,0\nCurrent State: 136:[262], Operations: ['28-26=2', '128+2=130', '132+130=262']\nMoving to Node #0,0,1,0\nCurrent State: 136:[262], Operations: ['128+28=156', '132-26=106', '156+106=262']\nMoving to Node #0,3,4,0\nCurrent State: 136:[314], Operations: ['128+26=154', '132+28=160', '154+160=314']\nMoving to Node #0,4,0,0\nCurrent State: 136:[314], Operations: ['26+28=54', '128+54=182', '132+182=314']\nMoving to Node #0,3,2,0\nCurrent State: 136:[314], Operations: ['128+26=154', '28+154=182', '132+182=314']\nMoving to Node #0,4,4,0\nCurrent State: 136:[314], Operations: ['26+28=54', '132+54=186', '128+186=314']\nMoving to Node #0,0,3,0\nCurrent State: 136:[314], Operations: ['128+28=156', '132+26=158', '156+158=314']\nMoving to Node #0,3,3,0\nCurrent State: 136:[616], Operations: ['128+26=154', '154-132=22', '28*22=616']\nMoving to Node #0,1,1,0\nCurrent State: 136:[616], Operations: ['132-128=4', '26-4=22', '28*22=616']\nMoving to Node #0,0,0,0\nCurrent State: 136:[624], Operations: ['128+28=156', '156-132=24', '26*24=624']\nMoving to Node #0,0,2,0\nCurrent State: 136:[792], Operations: ['128+28=156', '156/26=6', '132*6=792']\nMoving to Node #0,1,4,0\nCurrent State: 136:[832], Operations: ['132-128=4', '28+4=32', '26*32=832']\nMoving to Node #0,1,2,0\nCurrent State: 136:[840], Operations: ['132-128=4', '26+4=30', '28*30=840']\nMoving to Node #0,2,3,0\nCurrent State: 136:[8448], Operations: ['28-26=2', '128/2=64', '132*64=8448']\nMoving to Node #0,2,4,0\nCurrent State: 136:[8448], Operations: ['28-26=2', '132/2=66', '128*66=8448']\nMoving to Node #0,4,2,0\nCurrent State: 136:[9768], Operations: ['26+28=54', '128-54=74', '132*74=9768']\nMoving to Node #0,4,3,0\nCurrent State: 136:[9984], Operations: ['26+28=54', '132-54=78', '128*78=9984']\nMoving to Node #0,3,1,0\nCurrent State: 136:[16016], Operations: ['128+26=154', '132-28=104', '154*104=16016']\nMoving to Node #0,0,1,0\nCurrent State: 136:[16536], Operations: ['128+28=156', '132-26=106', '156*106=16536']\nMoving to Node #0,3,0,0\nCurrent State: 136:[16632], Operations: ['128+26=154', '154-28=126', '132*126=16632']\nMoving to Node #0,2,1,0\nCurrent State: 136:[17152], Operations: ['28-26=2', '132+2=134', '128*134=17152']\nMoving to Node #0,0,4,0\nCurrent State: 136:[17160], Operations: ['128+28=156', '156-26=130', '132*130=17160']\nMoving to Node #0,2,0,0\nCurrent State: 136:[17160], Operations: ['28-26=2', '128+2=130', '132*130=17160']\nMoving to Node #0,4,4,0\nCurrent State: 136:[23808], Operations: ['26+28=54', '132+54=186', '128*186=23808']\nMoving to Node #0,4,0,0\nCurrent State: 136:[24024], Operations: ['26+28=54', '128+54=182', '132*182=24024']\nMoving to Node #0,3,2,0\nCurrent State: 136:[24024], Operations: ['128+26=154', '28+154=182', '132*182=24024']\nMoving to Node #0,3,4,0\nCurrent State: 136:[24640], Operations: ['128+26=154', '132+28=160', '154*160=24640']\nMoving to Node #0,0,3,0\nCurrent State: 136:[24648], Operations: ['128+28=156', '132+26=158', '156*158=24648']",
"role": "assistant"
}
] |
[
128,
132,
26,
28
] | 136
|
bfs_5
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [63, 87, 160, 189] and the target 199, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 199:[63, 87, 160, 189], Operations: []\nExploring Operation: 87-63=24, Resulting Numbers: [160, 189, 24]\nGenerated Node #0,0: 199:[160, 189, 24] Operation: 87-63=24\nExploring Operation: 63+87=150, Resulting Numbers: [160, 189, 150]\nGenerated Node #0,1: 199:[160, 189, 150] Operation: 63+87=150\nExploring Operation: 87+160=247, Resulting Numbers: [63, 189, 247]\nGenerated Node #0,2: 199:[63, 189, 247] Operation: 87+160=247\nExploring Operation: 63+160=223, Resulting Numbers: [87, 189, 223]\nGenerated Node #0,3: 199:[87, 189, 223] Operation: 63+160=223\nExploring Operation: 63+189=252, Resulting Numbers: [87, 160, 252]\nGenerated Node #0,4: 199:[87, 160, 252] Operation: 63+189=252\nMoving to Node #0,1\nCurrent State: 199:[160, 189, 150], Operations: ['63+87=150']\nExploring Operation: 160+150=310, Resulting Numbers: [189, 310]\nGenerated Node #0,1,0: 199:[189, 310] Operation: 160+150=310\nExploring Operation: 160-150=10, Resulting Numbers: [189, 10]\nGenerated Node #0,1,1: 199:[189, 10] Operation: 160-150=10\nExploring Operation: 160+189=349, Resulting Numbers: [150, 349]\nGenerated Node #0,1,2: 199:[150, 349] Operation: 160+189=349\nExploring Operation: 189+150=339, Resulting Numbers: [160, 339]\nGenerated Node #0,1,3: 199:[160, 339] Operation: 189+150=339\nExploring Operation: 189-150=39, Resulting Numbers: [160, 39]\nGenerated Node #0,1,4: 199:[160, 39] Operation: 189-150=39\nMoving to Node #0,3\nCurrent State: 199:[87, 189, 223], Operations: ['63+160=223']\nExploring Operation: 87+189=276, Resulting Numbers: [223, 276]\nGenerated Node #0,3,0: 199:[223, 276] Operation: 87+189=276\nExploring Operation: 87+223=310, Resulting Numbers: [189, 310]\nGenerated Node #0,3,1: 199:[189, 310] Operation: 87+223=310\nExploring Operation: 223-189=34, Resulting Numbers: [87, 34]\nGenerated Node #0,3,2: 199:[87, 34] Operation: 223-189=34\nExploring Operation: 189-87=102, Resulting Numbers: [223, 102]\nGenerated Node #0,3,3: 199:[223, 102] Operation: 189-87=102\nExploring Operation: 223-87=136, Resulting Numbers: [189, 136]\nGenerated Node #0,3,4: 199:[189, 136] Operation: 223-87=136\nMoving to Node #0,2\nCurrent State: 199:[63, 189, 247], Operations: ['87+160=247']\nExploring Operation: 189-63=126, Resulting Numbers: [247, 126]\nGenerated Node #0,2,0: 199:[247, 126] Operation: 189-63=126\nExploring Operation: 247-63=184, Resulting Numbers: [189, 184]\nGenerated Node #0,2,1: 199:[189, 184] Operation: 247-63=184\nExploring Operation: 189/63=3, Resulting Numbers: [247, 3]\nGenerated Node #0,2,2: 199:[247, 3] Operation: 189/63=3\nExploring Operation: 63+247=310, Resulting Numbers: [189, 310]\nGenerated Node #0,2,3: 199:[189, 310] Operation: 63+247=310\nExploring Operation: 63+189=252, Resulting Numbers: [247, 252]\nGenerated Node #0,2,4: 199:[247, 252] Operation: 63+189=252\nMoving to Node #0,4\nCurrent State: 199:[87, 160, 252], Operations: ['63+189=252']\nExploring Operation: 252-87=165, Resulting Numbers: [160, 165]\nGenerated Node #0,4,0: 199:[160, 165] Operation: 252-87=165\nExploring Operation: 252-160=92, Resulting Numbers: [87, 92]\nGenerated Node #0,4,1: 199:[87, 92] Operation: 252-160=92\nExploring Operation: 87+252=339, Resulting Numbers: [160, 339]\nGenerated Node #0,4,2: 199:[160, 339] Operation: 87+252=339\nExploring Operation: 87+160=247, Resulting Numbers: [252, 247]\nGenerated Node #0,4,3: 199:[252, 247] Operation: 87+160=247\nExploring Operation: 160-87=73, Resulting Numbers: [252, 73]\nGenerated Node #0,4,4: 199:[252, 73] Operation: 160-87=73\nMoving to Node #0,0\nCurrent State: 199:[160, 189, 24], Operations: ['87-63=24']\nExploring Operation: 160-24=136, Resulting Numbers: [189, 136]\nGenerated Node #0,0,0: 199:[189, 136] Operation: 160-24=136\nExploring Operation: 160+189=349, Resulting Numbers: [24, 349]\nGenerated Node #0,0,1: 199:[24, 349] Operation: 160+189=349\nExploring Operation: 189-24=165, Resulting Numbers: [160, 165]\nGenerated Node #0,0,2: 199:[160, 165] Operation: 189-24=165\nExploring Operation: 160+24=184, Resulting Numbers: [189, 184]\nGenerated Node #0,0,3: 199:[189, 184] Operation: 160+24=184\nExploring Operation: 189+24=213, Resulting Numbers: [160, 213]\nGenerated Node #0,0,4: 199:[160, 213] Operation: 189+24=213\nMoving to Node #0,2,1\nCurrent State: 199:[189, 184], Operations: ['87+160=247', '247-63=184']\nExploring Operation: 189+184=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nExploring Operation: 189-184=5, Resulting Numbers: [5]\n5,199 unequal: No Solution\nExploring Operation: 189*184=34776, Resulting Numbers: [34776]\n34776,199 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 199:[189, 184], Operations: ['87-63=24', '160+24=184']\nExploring Operation: 189+184=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nExploring Operation: 189*184=34776, Resulting Numbers: [34776]\n34776,199 unequal: No Solution\nExploring Operation: 189-184=5, Resulting Numbers: [5]\n5,199 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 199:[160, 213], Operations: ['87-63=24', '189+24=213']\nExploring Operation: 213-160=53, Resulting Numbers: [53]\n53,199 unequal: No Solution\nExploring Operation: 160+213=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nExploring Operation: 160*213=34080, Resulting Numbers: [34080]\n34080,199 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 199:[160, 165], Operations: ['87-63=24', '189-24=165']\nExploring Operation: 160*165=26400, Resulting Numbers: [26400]\n26400,199 unequal: No Solution\nExploring Operation: 165-160=5, Resulting Numbers: [5]\n5,199 unequal: No Solution\nExploring Operation: 160+165=325, Resulting Numbers: [325]\n325,199 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 199:[189, 136], Operations: ['63+160=223', '223-87=136']\nExploring Operation: 189+136=325, Resulting Numbers: [325]\n325,199 unequal: No Solution\nExploring Operation: 189*136=25704, Resulting Numbers: [25704]\n25704,199 unequal: No Solution\nExploring Operation: 189-136=53, Resulting Numbers: [53]\n53,199 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 199:[189, 136], Operations: ['87-63=24', '160-24=136']\nExploring Operation: 189+136=325, Resulting Numbers: [325]\n325,199 unequal: No Solution\nExploring Operation: 189-136=53, Resulting Numbers: [53]\n53,199 unequal: No Solution\nExploring Operation: 189*136=25704, Resulting Numbers: [25704]\n25704,199 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 199:[160, 165], Operations: ['63+189=252', '252-87=165']\nExploring Operation: 160*165=26400, Resulting Numbers: [26400]\n26400,199 unequal: No Solution\nExploring Operation: 160+165=325, Resulting Numbers: [325]\n325,199 unequal: No Solution\nExploring Operation: 165-160=5, Resulting Numbers: [5]\n5,199 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 199:[223, 276], Operations: ['63+160=223', '87+189=276']\nExploring Operation: 223+276=499, Resulting Numbers: [499]\n499,199 unequal: No Solution\nExploring Operation: 276-223=53, Resulting Numbers: [53]\n53,199 unequal: No Solution\nExploring Operation: 223*276=61548, Resulting Numbers: [61548]\n61548,199 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 199:[247, 252], Operations: ['87+160=247', '63+189=252']\nExploring Operation: 247+252=499, Resulting Numbers: [499]\n499,199 unequal: No Solution\nExploring Operation: 247*252=62244, Resulting Numbers: [62244]\n62244,199 unequal: No Solution\nExploring Operation: 252-247=5, Resulting Numbers: [5]\n5,199 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 199:[252, 247], Operations: ['63+189=252', '87+160=247']\nExploring Operation: 252*247=62244, Resulting Numbers: [62244]\n62244,199 unequal: No Solution\nExploring Operation: 252-247=5, Resulting Numbers: [5]\n5,199 unequal: No Solution\nExploring Operation: 252+247=499, Resulting Numbers: [499]\n499,199 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 199:[189, 310], Operations: ['63+87=150', '160+150=310']\nExploring Operation: 189*310=58590, Resulting Numbers: [58590]\n58590,199 unequal: No Solution\nExploring Operation: 310-189=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nExploring Operation: 189+310=499, Resulting Numbers: [499]\n499,199 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 199:[189, 310], Operations: ['87+160=247', '63+247=310']\nExploring Operation: 189+310=499, Resulting Numbers: [499]\n499,199 unequal: No Solution\nExploring Operation: 189*310=58590, Resulting Numbers: [58590]\n58590,199 unequal: No Solution\nExploring Operation: 310-189=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 199:[247, 126], Operations: ['87+160=247', '189-63=126']\nExploring Operation: 247-126=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nExploring Operation: 247*126=31122, Resulting Numbers: [31122]\n31122,199 unequal: No Solution\nExploring Operation: 247+126=373, Resulting Numbers: [373]\n373,199 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 199:[189, 310], Operations: ['63+160=223', '87+223=310']\nExploring Operation: 310-189=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nExploring Operation: 189*310=58590, Resulting Numbers: [58590]\n58590,199 unequal: No Solution\nExploring Operation: 189+310=499, Resulting Numbers: [499]\n499,199 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 199:[223, 102], Operations: ['63+160=223', '189-87=102']\nExploring Operation: 223+102=325, Resulting Numbers: [325]\n325,199 unequal: No Solution\nExploring Operation: 223-102=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nExploring Operation: 223*102=22746, Resulting Numbers: [22746]\n22746,199 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 199:[121], Operations: ['63+87=150', '160+150=310', '310-189=121']\nMoving to Node #0,3,1,0\nCurrent State: 199:[121], Operations: ['63+160=223', '87+223=310', '310-189=121']\nMoving to Node #0,3,3,0\nCurrent State: 199:[121], Operations: ['63+160=223', '189-87=102', '223-102=121']\nMoving to Node #0,2,3,0\nCurrent State: 199:[121], Operations: ['87+160=247', '63+247=310', '310-189=121']\nMoving to Node #0,2,0,0\nCurrent State: 199:[121], Operations: ['87+160=247', '189-63=126', '247-126=121']\nMoving to Node #0,1,3\nCurrent State: 199:[160, 339], Operations: ['63+87=150', '189+150=339']\nExploring Operation: 160*339=54240, Resulting Numbers: [54240]\n54240,199 unequal: No Solution\nExploring Operation: 339-160=179, Resulting Numbers: [179]\n179,199 unequal: No Solution\nExploring Operation: 160+339=499, Resulting Numbers: [499]\n499,199 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 199:[252, 73], Operations: ['63+189=252', '160-87=73']\nExploring Operation: 252-73=179, Resulting Numbers: [179]\n179,199 unequal: No Solution\nExploring Operation: 252+73=325, Resulting Numbers: [325]\n325,199 unequal: No Solution\nExploring Operation: 252*73=18396, Resulting Numbers: [18396]\n18396,199 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 199:[160, 339], Operations: ['63+189=252', '87+252=339']\nExploring Operation: 160+339=499, Resulting Numbers: [499]\n499,199 unequal: No Solution\nExploring Operation: 339-160=179, Resulting Numbers: [179]\n179,199 unequal: No Solution\nExploring Operation: 160*339=54240, Resulting Numbers: [54240]\n54240,199 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 199:[160, 39], Operations: ['63+87=150', '189-150=39']\nExploring Operation: 160-39=121, Resulting Numbers: [121]\n121,199 unequal: No Solution\nExploring Operation: 160+39=199, Resulting Numbers: [199]\n199,199 equal: Goal Reached\nFinal operations:\n63+87=150\n189-150=39\n160+39=199",
"role": "assistant"
}
] |
[
63,
87,
160,
189
] | 199
|
bfs_5
|
sum_heuristic
| 0.924479
|
[
{
"content": "Given the numbers [76, 122, 66, 199] and the target 67, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 67:[76, 122, 66, 199], Operations: []\nExploring Operation: 199-66=133, Resulting Numbers: [76, 122, 133]\nGenerated Node #0,0: 67:[76, 122, 133] Operation: 199-66=133\nExploring Operation: 122-66=56, Resulting Numbers: [76, 199, 56]\nGenerated Node #0,1: 67:[76, 199, 56] Operation: 122-66=56\nExploring Operation: 199-122=77, Resulting Numbers: [76, 66, 77]\nGenerated Node #0,2: 67:[76, 66, 77] Operation: 199-122=77\nExploring Operation: 199-76=123, Resulting Numbers: [122, 66, 123]\nGenerated Node #0,3: 67:[122, 66, 123] Operation: 199-76=123\nMoving to Node #0,2\nCurrent State: 67:[76, 66, 77], Operations: ['199-122=77']\nExploring Operation: 77-66=11, Resulting Numbers: [76, 11]\nGenerated Node #0,2,0: 67:[76, 11] Operation: 77-66=11\nExploring Operation: 77-76=1, Resulting Numbers: [66, 1]\nGenerated Node #0,2,1: 67:[66, 1] Operation: 77-76=1\nExploring Operation: 76+66=142, Resulting Numbers: [77, 142]\nGenerated Node #0,2,2: 67:[77, 142] Operation: 76+66=142\nExploring Operation: 76-66=10, Resulting Numbers: [77, 10]\nGenerated Node #0,2,3: 67:[77, 10] Operation: 76-66=10\nMoving to Node #0,3\nCurrent State: 67:[122, 66, 123], Operations: ['199-76=123']\nExploring Operation: 123-122=1, Resulting Numbers: [66, 1]\nGenerated Node #0,3,0: 67:[66, 1] Operation: 123-122=1\nExploring Operation: 123-66=57, Resulting Numbers: [122, 57]\nGenerated Node #0,3,1: 67:[122, 57] Operation: 123-66=57\nExploring Operation: 122+66=188, Resulting Numbers: [123, 188]\nGenerated Node #0,3,2: 67:[123, 188] Operation: 122+66=188\nExploring Operation: 122-66=56, Resulting Numbers: [123, 56]\nGenerated Node #0,3,3: 67:[123, 56] Operation: 122-66=56\nMoving to Node #0,0\nCurrent State: 67:[76, 122, 133], Operations: ['199-66=133']\nExploring Operation: 133-122=11, Resulting Numbers: [76, 11]\nGenerated Node #0,0,0: 67:[76, 11] Operation: 133-122=11\nExploring Operation: 76+122=198, Resulting Numbers: [133, 198]\nGenerated Node #0,0,1: 67:[133, 198] Operation: 76+122=198\nExploring Operation: 133-76=57, Resulting Numbers: [122, 57]\nGenerated Node #0,0,2: 67:[122, 57] Operation: 133-76=57\nExploring Operation: 122-76=46, Resulting Numbers: [133, 46]\nGenerated Node #0,0,3: 67:[133, 46] Operation: 122-76=46\nMoving to Node #0,1\nCurrent State: 67:[76, 199, 56], Operations: ['122-66=56']\nExploring Operation: 76+56=132, Resulting Numbers: [199, 132]\nGenerated Node #0,1,0: 67:[199, 132] Operation: 76+56=132\nExploring Operation: 76-56=20, Resulting Numbers: [199, 20]\nGenerated Node #0,1,1: 67:[199, 20] Operation: 76-56=20\nExploring Operation: 199-56=143, Resulting Numbers: [76, 143]\nGenerated Node #0,1,2: 67:[76, 143] Operation: 199-56=143\nExploring Operation: 199-76=123, Resulting Numbers: [56, 123]\nGenerated Node #0,1,3: 67:[56, 123] Operation: 199-76=123\nMoving to Node #0,2,0\nCurrent State: 67:[76, 11], Operations: ['199-122=77', '77-66=11']\nExploring Operation: 76*11=836, Resulting Numbers: [836]\n836,67 unequal: No Solution\nExploring Operation: 76-11=65, Resulting Numbers: [65]\n65,67 unequal: No Solution\nExploring Operation: 76+11=87, Resulting Numbers: [87]\n87,67 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 67:[122, 57], Operations: ['199-76=123', '123-66=57']\nExploring Operation: 122*57=6954, Resulting Numbers: [6954]\n6954,67 unequal: No Solution\nExploring Operation: 122+57=179, Resulting Numbers: [179]\n179,67 unequal: No Solution\nExploring Operation: 122-57=65, Resulting Numbers: [65]\n65,67 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 67:[122, 57], Operations: ['199-66=133', '133-76=57']\nExploring Operation: 122-57=65, Resulting Numbers: [65]\n65,67 unequal: No Solution\nExploring Operation: 122+57=179, Resulting Numbers: [179]\n179,67 unequal: No Solution\nExploring Operation: 122*57=6954, Resulting Numbers: [6954]\n6954,67 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 67:[76, 11], Operations: ['199-66=133', '133-122=11']\nExploring Operation: 76*11=836, Resulting Numbers: [836]\n836,67 unequal: No Solution\nExploring Operation: 76-11=65, Resulting Numbers: [65]\n65,67 unequal: No Solution\nExploring Operation: 76+11=87, Resulting Numbers: [87]\n87,67 unequal: No Solution\nMoving to Node #0,2,0,0\nCurrent State: 67:[65], Operations: ['199-122=77', '77-66=11', '76-11=65']\nMoving to Node #0,3,1,0\nCurrent State: 67:[65], Operations: ['199-76=123', '123-66=57', '122-57=65']\nMoving to Node #0,0,0,0\nCurrent State: 67:[65], Operations: ['199-66=133', '133-122=11', '76-11=65']\nMoving to Node #0,0,2,0\nCurrent State: 67:[65], Operations: ['199-66=133', '133-76=57', '122-57=65']\nMoving to Node #0,2,0,0\nCurrent State: 67:[87], Operations: ['199-122=77', '77-66=11', '76+11=87']\nMoving to Node #0,0,0,0\nCurrent State: 67:[87], Operations: ['199-66=133', '133-122=11', '76+11=87']\nMoving to Node #0,2,3\nCurrent State: 67:[77, 10], Operations: ['199-122=77', '76-66=10']\nExploring Operation: 77+10=87, Resulting Numbers: [87]\n87,67 unequal: No Solution\nExploring Operation: 77*10=770, Resulting Numbers: [770]\n770,67 unequal: No Solution\nExploring Operation: 77-10=67, Resulting Numbers: [67]\n67,67 equal: Goal Reached\nFinal operations:\n199-122=77\n76-66=10\n77-10=67",
"role": "assistant"
}
] |
[
76,
122,
66,
199
] | 67
|
bfs_4
|
sum_heuristic
| 0.96875
|
[
{
"content": "Given the numbers [167, 92, 111, 128] and the target 164, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 164:[167, 92, 111, 128], Operations: []\nExploring Operation: 128-111=17, Resulting Numbers: [167, 92, 17]\nGenerated Node #0,0: 164:[167, 92, 17] Operation: 128-111=17\nMoving to Node #0,0\nCurrent State: 164:[167, 92, 17], Operations: ['128-111=17']\nExploring Operation: 92-17=75, Resulting Numbers: [167, 75]\nGenerated Node #0,0,0: 164:[167, 75] Operation: 92-17=75\nMoving to Node #0,0,0\nCurrent State: 164:[167, 75], Operations: ['128-111=17', '92-17=75']\nExploring Operation: 167-75=92, Resulting Numbers: [92]\n92,164 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 164:[167, 75], Operations: ['128-111=17', '92-17=75']\nExploring Operation: 167+75=242, Resulting Numbers: [242]\n242,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[167, 92, 17], Operations: ['128-111=17']\nExploring Operation: 167-92=75, Resulting Numbers: [17, 75]\nGenerated Node #0,0,1: 164:[17, 75] Operation: 167-92=75\nMoving to Node #0,0,1\nCurrent State: 164:[17, 75], Operations: ['128-111=17', '167-92=75']\nExploring Operation: 17+75=92, Resulting Numbers: [92]\n92,164 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 164:[17, 75], Operations: ['128-111=17', '167-92=75']\nExploring Operation: 75-17=58, Resulting Numbers: [58]\n58,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[167, 92, 17], Operations: ['128-111=17']\nExploring Operation: 167-17=150, Resulting Numbers: [92, 150]\nGenerated Node #0,0,2: 164:[92, 150] Operation: 167-17=150\nMoving to Node #0,0,2\nCurrent State: 164:[92, 150], Operations: ['128-111=17', '167-17=150']\nExploring Operation: 150-92=58, Resulting Numbers: [58]\n58,164 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 164:[92, 150], Operations: ['128-111=17', '167-17=150']\nExploring Operation: 92+150=242, Resulting Numbers: [242]\n242,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[167, 92, 17], Operations: ['128-111=17']\nExploring Operation: 167+17=184, Resulting Numbers: [92, 184]\nGenerated Node #0,0,3: 164:[92, 184] Operation: 167+17=184\nMoving to Node #0,0,3\nCurrent State: 164:[92, 184], Operations: ['128-111=17', '167+17=184']\nExploring Operation: 184/92=2, Resulting Numbers: [2]\n2,164 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 164:[92, 184], Operations: ['128-111=17', '167+17=184']\nExploring Operation: 184-92=92, Resulting Numbers: [92]\n92,164 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 164:[92, 184], Operations: ['128-111=17', '167+17=184']\nExploring Operation: 92+184=276, Resulting Numbers: [276]\n276,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[167, 92, 17], Operations: ['128-111=17']\nExploring Operation: 92+17=109, Resulting Numbers: [167, 109]\nGenerated Node #0,0,4: 164:[167, 109] Operation: 92+17=109\nMoving to Node #0,0,4\nCurrent State: 164:[167, 109], Operations: ['128-111=17', '92+17=109']\nExploring Operation: 167-109=58, Resulting Numbers: [58]\n58,164 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 164:[167, 109], Operations: ['128-111=17', '92+17=109']\nExploring Operation: 167+109=276, Resulting Numbers: [276]\n276,164 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 164:[167, 92, 17], Operations: ['128-111=17']\nExploring Operation: 167+92=259, Resulting Numbers: [17, 259]\nGenerated Node #0,0,5: 164:[17, 259] Operation: 167+92=259\nMoving to Node #0,0,5\nCurrent State: 164:[17, 259], Operations: ['128-111=17', '167+92=259']\nExploring Operation: 259-17=242, Resulting Numbers: [242]\n242,164 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 164:[17, 259], Operations: ['128-111=17', '167+92=259']\nExploring Operation: 17+259=276, Resulting Numbers: [276]\n276,164 unequal: No Solution\nMoving to Node #0\nCurrent State: 164:[167, 92, 111, 128], Operations: []\nExploring Operation: 128-92=36, Resulting Numbers: [167, 111, 36]\nGenerated Node #0,1: 164:[167, 111, 36] Operation: 128-92=36\nMoving to Node #0,1\nCurrent State: 164:[167, 111, 36], Operations: ['128-92=36']\nExploring Operation: 111-36=75, Resulting Numbers: [167, 75]\nGenerated Node #0,1,0: 164:[167, 75] Operation: 111-36=75\nMoving to Node #0,1,0\nCurrent State: 164:[167, 75], Operations: ['128-92=36', '111-36=75']\nExploring Operation: 167-75=92, Resulting Numbers: [92]\n92,164 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 164:[167, 75], Operations: ['128-92=36', '111-36=75']\nExploring Operation: 167+75=242, Resulting Numbers: [242]\n242,164 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 164:[167, 111, 36], Operations: ['128-92=36']\nExploring Operation: 167-111=56, Resulting Numbers: [36, 56]\nGenerated Node #0,1,1: 164:[36, 56] Operation: 167-111=56\nMoving to Node #0,1,1\nCurrent State: 164:[36, 56], Operations: ['128-92=36', '167-111=56']\nExploring Operation: 36+56=92, Resulting Numbers: [92]\n92,164 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 164:[36, 56], Operations: ['128-92=36', '167-111=56']\nExploring Operation: 56-36=20, Resulting Numbers: [20]\n20,164 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 164:[167, 111, 36], Operations: ['128-92=36']\nExploring Operation: 111+36=147, Resulting Numbers: [167, 147]\nGenerated Node #0,1,2: 164:[167, 147] Operation: 111+36=147\nMoving to Node #0,1,2\nCurrent State: 164:[167, 147], Operations: ['128-92=36', '111+36=147']\nExploring Operation: 167-147=20, Resulting Numbers: [20]\n20,164 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 164:[167, 147], Operations: ['128-92=36', '111+36=147']\nExploring Operation: 167+147=314, Resulting Numbers: [314]\n314,164 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 164:[167, 111, 36], Operations: ['128-92=36']\nExploring Operation: 167-36=131, Resulting Numbers: [111, 131]\nGenerated Node #0,1,3: 164:[111, 131] Operation: 167-36=131\nMoving to Node #0,1,3\nCurrent State: 164:[111, 131], Operations: ['128-92=36', '167-36=131']\nExploring Operation: 131-111=20, Resulting Numbers: [20]\n20,164 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 164:[111, 131], Operations: ['128-92=36', '167-36=131']\nExploring Operation: 111+131=242, Resulting Numbers: [242]\n242,164 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 164:[167, 111, 36], Operations: ['128-92=36']\nExploring Operation: 167+36=203, Resulting Numbers: [111, 203]\nGenerated Node #0,1,4: 164:[111, 203] Operation: 167+36=203\nMoving to Node #0,1,4\nCurrent State: 164:[111, 203], Operations: ['128-92=36', '167+36=203']\nExploring Operation: 203-111=92, Resulting Numbers: [92]\n92,164 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 164:[111, 203], Operations: ['128-92=36', '167+36=203']\nExploring Operation: 111+203=314, Resulting Numbers: [314]\n314,164 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 164:[167, 111, 36], Operations: ['128-92=36']\nExploring Operation: 167+111=278, Resulting Numbers: [36, 278]\nGenerated Node #0,1,5: 164:[36, 278] Operation: 167+111=278\nMoving to Node #0,1,5\nCurrent State: 164:[36, 278], Operations: ['128-92=36', '167+111=278']\nExploring Operation: 278-36=242, Resulting Numbers: [242]\n242,164 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 164:[36, 278], Operations: ['128-92=36', '167+111=278']\nExploring Operation: 36+278=314, Resulting Numbers: [314]\n314,164 unequal: No Solution\nMoving to Node #0\nCurrent State: 164:[167, 92, 111, 128], Operations: []\nExploring Operation: 167-128=39, Resulting Numbers: [92, 111, 39]\nGenerated Node #0,2: 164:[92, 111, 39] Operation: 167-128=39\nMoving to Node #0,2\nCurrent State: 164:[92, 111, 39], Operations: ['167-128=39']\nExploring Operation: 111-92=19, Resulting Numbers: [39, 19]\nGenerated Node #0,2,0: 164:[39, 19] Operation: 111-92=19\nMoving to Node #0,2,0\nCurrent State: 164:[39, 19], Operations: ['167-128=39', '111-92=19']\nExploring Operation: 39-19=20, Resulting Numbers: [20]\n20,164 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 164:[39, 19], Operations: ['167-128=39', '111-92=19']\nExploring Operation: 39+19=58, Resulting Numbers: [58]\n58,164 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 164:[92, 111, 39], Operations: ['167-128=39']\nExploring Operation: 111-39=72, Resulting Numbers: [92, 72]\nGenerated Node #0,2,1: 164:[92, 72] Operation: 111-39=72\nMoving to Node #0,2,1\nCurrent State: 164:[92, 72], Operations: ['167-128=39', '111-39=72']\nExploring Operation: 92+72=164, Resulting Numbers: [164]\n164,164 equal: Goal Reached\nFinal operations:\n167-128=39\n111-39=72\n92+72=164",
"role": "assistant"
}
] |
[
167,
92,
111,
128
] | 164
|
dfs
|
mult_heuristic
| 0.960069
|
[
{
"content": "Given the numbers [23, 46, 71, 29] and the target 98, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 98:[23, 46, 71, 29], Operations: []\nExploring Operation: 23+46=69, Resulting Numbers: [71, 29, 69]\nGenerated Node #0,0: 98:[71, 29, 69] Operation: 23+46=69\nMoving to Node #0,0\nCurrent State: 98:[71, 29, 69], Operations: ['23+46=69']\nExploring Operation: 29+69=98, Resulting Numbers: [71, 98]\nGenerated Node #0,0,0: 98:[71, 98] Operation: 29+69=98\nMoving to Node #0,0,0\nCurrent State: 98:[71, 98], Operations: ['23+46=69', '29+69=98']\nExploring Operation: 71+98=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 98:[71, 98], Operations: ['23+46=69', '29+69=98']\nExploring Operation: 98-71=27, Resulting Numbers: [27]\n27,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[71, 29, 69], Operations: ['23+46=69']\nExploring Operation: 71+29=100, Resulting Numbers: [69, 100]\nGenerated Node #0,0,1: 98:[69, 100] Operation: 71+29=100\nMoving to Node #0,0,1\nCurrent State: 98:[69, 100], Operations: ['23+46=69', '71+29=100']\nExploring Operation: 100-69=31, Resulting Numbers: [31]\n31,98 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 98:[69, 100], Operations: ['23+46=69', '71+29=100']\nExploring Operation: 69+100=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[71, 29, 69], Operations: ['23+46=69']\nExploring Operation: 71-29=42, Resulting Numbers: [69, 42]\nGenerated Node #0,0,2: 98:[69, 42] Operation: 71-29=42\nMoving to Node #0,0,2\nCurrent State: 98:[69, 42], Operations: ['23+46=69', '71-29=42']\nExploring Operation: 69+42=111, Resulting Numbers: [111]\n111,98 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 98:[69, 42], Operations: ['23+46=69', '71-29=42']\nExploring Operation: 69-42=27, Resulting Numbers: [27]\n27,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[71, 29, 69], Operations: ['23+46=69']\nExploring Operation: 69-29=40, Resulting Numbers: [71, 40]\nGenerated Node #0,0,3: 98:[71, 40] Operation: 69-29=40\nMoving to Node #0,0,3\nCurrent State: 98:[71, 40], Operations: ['23+46=69', '69-29=40']\nExploring Operation: 71+40=111, Resulting Numbers: [111]\n111,98 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 98:[71, 40], Operations: ['23+46=69', '69-29=40']\nExploring Operation: 71-40=31, Resulting Numbers: [31]\n31,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[71, 29, 69], Operations: ['23+46=69']\nExploring Operation: 71+69=140, Resulting Numbers: [29, 140]\nGenerated Node #0,0,4: 98:[29, 140] Operation: 71+69=140\nMoving to Node #0,0,4\nCurrent State: 98:[29, 140], Operations: ['23+46=69', '71+69=140']\nExploring Operation: 140-29=111, Resulting Numbers: [111]\n111,98 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 98:[29, 140], Operations: ['23+46=69', '71+69=140']\nExploring Operation: 29+140=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 98:[71, 29, 69], Operations: ['23+46=69']\nExploring Operation: 71-69=2, Resulting Numbers: [29, 2]\nGenerated Node #0,0,5: 98:[29, 2] Operation: 71-69=2\nMoving to Node #0,0,5\nCurrent State: 98:[29, 2], Operations: ['23+46=69', '71-69=2']\nExploring Operation: 29*2=58, Resulting Numbers: [58]\n58,98 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 98:[29, 2], Operations: ['23+46=69', '71-69=2']\nExploring Operation: 29+2=31, Resulting Numbers: [31]\n31,98 unequal: No Solution\nMoving to Node #0,0,5\nCurrent State: 98:[29, 2], Operations: ['23+46=69', '71-69=2']\nExploring Operation: 29-2=27, Resulting Numbers: [27]\n27,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[23, 46, 71, 29], Operations: []\nExploring Operation: 23+71=94, Resulting Numbers: [46, 29, 94]\nGenerated Node #0,1: 98:[46, 29, 94] Operation: 23+71=94\nMoving to Node #0,1\nCurrent State: 98:[46, 29, 94], Operations: ['23+71=94']\nExploring Operation: 46+29=75, Resulting Numbers: [94, 75]\nGenerated Node #0,1,0: 98:[94, 75] Operation: 46+29=75\nMoving to Node #0,1,0\nCurrent State: 98:[94, 75], Operations: ['23+71=94', '46+29=75']\nExploring Operation: 94+75=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 98:[94, 75], Operations: ['23+71=94', '46+29=75']\nExploring Operation: 94-75=19, Resulting Numbers: [19]\n19,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[46, 29, 94], Operations: ['23+71=94']\nExploring Operation: 29+94=123, Resulting Numbers: [46, 123]\nGenerated Node #0,1,1: 98:[46, 123] Operation: 29+94=123\nMoving to Node #0,1,1\nCurrent State: 98:[46, 123], Operations: ['23+71=94', '29+94=123']\nExploring Operation: 123-46=77, Resulting Numbers: [77]\n77,98 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 98:[46, 123], Operations: ['23+71=94', '29+94=123']\nExploring Operation: 46+123=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[46, 29, 94], Operations: ['23+71=94']\nExploring Operation: 46-29=17, Resulting Numbers: [94, 17]\nGenerated Node #0,1,2: 98:[94, 17] Operation: 46-29=17\nMoving to Node #0,1,2\nCurrent State: 98:[94, 17], Operations: ['23+71=94', '46-29=17']\nExploring Operation: 94+17=111, Resulting Numbers: [111]\n111,98 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 98:[94, 17], Operations: ['23+71=94', '46-29=17']\nExploring Operation: 94-17=77, Resulting Numbers: [77]\n77,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[46, 29, 94], Operations: ['23+71=94']\nExploring Operation: 94-29=65, Resulting Numbers: [46, 65]\nGenerated Node #0,1,3: 98:[46, 65] Operation: 94-29=65\nMoving to Node #0,1,3\nCurrent State: 98:[46, 65], Operations: ['23+71=94', '94-29=65']\nExploring Operation: 46+65=111, Resulting Numbers: [111]\n111,98 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 98:[46, 65], Operations: ['23+71=94', '94-29=65']\nExploring Operation: 65-46=19, Resulting Numbers: [19]\n19,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[46, 29, 94], Operations: ['23+71=94']\nExploring Operation: 46+94=140, Resulting Numbers: [29, 140]\nGenerated Node #0,1,4: 98:[29, 140] Operation: 46+94=140\nMoving to Node #0,1,4\nCurrent State: 98:[29, 140], Operations: ['23+71=94', '46+94=140']\nExploring Operation: 140-29=111, Resulting Numbers: [111]\n111,98 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 98:[29, 140], Operations: ['23+71=94', '46+94=140']\nExploring Operation: 29+140=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 98:[46, 29, 94], Operations: ['23+71=94']\nExploring Operation: 94-46=48, Resulting Numbers: [29, 48]\nGenerated Node #0,1,5: 98:[29, 48] Operation: 94-46=48\nMoving to Node #0,1,5\nCurrent State: 98:[29, 48], Operations: ['23+71=94', '94-46=48']\nExploring Operation: 29+48=77, Resulting Numbers: [77]\n77,98 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 98:[29, 48], Operations: ['23+71=94', '94-46=48']\nExploring Operation: 48-29=19, Resulting Numbers: [19]\n19,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[23, 46, 71, 29], Operations: []\nExploring Operation: 23+29=52, Resulting Numbers: [46, 71, 52]\nGenerated Node #0,2: 98:[46, 71, 52] Operation: 23+29=52\nMoving to Node #0,2\nCurrent State: 98:[46, 71, 52], Operations: ['23+29=52']\nExploring Operation: 46+52=98, Resulting Numbers: [71, 98]\nGenerated Node #0,2,0: 98:[71, 98] Operation: 46+52=98\nMoving to Node #0,2,0\nCurrent State: 98:[71, 98], Operations: ['23+29=52', '46+52=98']\nExploring Operation: 71+98=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 98:[71, 98], Operations: ['23+29=52', '46+52=98']\nExploring Operation: 98-71=27, Resulting Numbers: [27]\n27,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[46, 71, 52], Operations: ['23+29=52']\nExploring Operation: 46+71=117, Resulting Numbers: [52, 117]\nGenerated Node #0,2,1: 98:[52, 117] Operation: 46+71=117\nMoving to Node #0,2,1\nCurrent State: 98:[52, 117], Operations: ['23+29=52', '46+71=117']\nExploring Operation: 117-52=65, Resulting Numbers: [65]\n65,98 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 98:[52, 117], Operations: ['23+29=52', '46+71=117']\nExploring Operation: 52+117=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[46, 71, 52], Operations: ['23+29=52']\nExploring Operation: 71+52=123, Resulting Numbers: [46, 123]\nGenerated Node #0,2,2: 98:[46, 123] Operation: 71+52=123\nMoving to Node #0,2,2\nCurrent State: 98:[46, 123], Operations: ['23+29=52', '71+52=123']\nExploring Operation: 123-46=77, Resulting Numbers: [77]\n77,98 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 98:[46, 123], Operations: ['23+29=52', '71+52=123']\nExploring Operation: 46+123=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[46, 71, 52], Operations: ['23+29=52']\nExploring Operation: 71-46=25, Resulting Numbers: [52, 25]\nGenerated Node #0,2,3: 98:[52, 25] Operation: 71-46=25\nMoving to Node #0,2,3\nCurrent State: 98:[52, 25], Operations: ['23+29=52', '71-46=25']\nExploring Operation: 52+25=77, Resulting Numbers: [77]\n77,98 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 98:[52, 25], Operations: ['23+29=52', '71-46=25']\nExploring Operation: 52-25=27, Resulting Numbers: [27]\n27,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[46, 71, 52], Operations: ['23+29=52']\nExploring Operation: 52-46=6, Resulting Numbers: [71, 6]\nGenerated Node #0,2,4: 98:[71, 6] Operation: 52-46=6\nMoving to Node #0,2,4\nCurrent State: 98:[71, 6], Operations: ['23+29=52', '52-46=6']\nExploring Operation: 71+6=77, Resulting Numbers: [77]\n77,98 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 98:[71, 6], Operations: ['23+29=52', '52-46=6']\nExploring Operation: 71-6=65, Resulting Numbers: [65]\n65,98 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 98:[46, 71, 52], Operations: ['23+29=52']\nExploring Operation: 71-52=19, Resulting Numbers: [46, 19]\nGenerated Node #0,2,5: 98:[46, 19] Operation: 71-52=19\nMoving to Node #0,2,5\nCurrent State: 98:[46, 19], Operations: ['23+29=52', '71-52=19']\nExploring Operation: 46+19=65, Resulting Numbers: [65]\n65,98 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 98:[46, 19], Operations: ['23+29=52', '71-52=19']\nExploring Operation: 46-19=27, Resulting Numbers: [27]\n27,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[23, 46, 71, 29], Operations: []\nExploring Operation: 46+29=75, Resulting Numbers: [23, 71, 75]\nGenerated Node #0,3: 98:[23, 71, 75] Operation: 46+29=75\nMoving to Node #0,3\nCurrent State: 98:[23, 71, 75], Operations: ['46+29=75']\nExploring Operation: 23+71=94, Resulting Numbers: [75, 94]\nGenerated Node #0,3,0: 98:[75, 94] Operation: 23+71=94\nMoving to Node #0,3,0\nCurrent State: 98:[75, 94], Operations: ['46+29=75', '23+71=94']\nExploring Operation: 75+94=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 98:[75, 94], Operations: ['46+29=75', '23+71=94']\nExploring Operation: 94-75=19, Resulting Numbers: [19]\n19,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[23, 71, 75], Operations: ['46+29=75']\nExploring Operation: 23+75=98, Resulting Numbers: [71, 98]\nGenerated Node #0,3,1: 98:[71, 98] Operation: 23+75=98\nMoving to Node #0,3,1\nCurrent State: 98:[71, 98], Operations: ['46+29=75', '23+75=98']\nExploring Operation: 71+98=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 98:[71, 98], Operations: ['46+29=75', '23+75=98']\nExploring Operation: 98-71=27, Resulting Numbers: [27]\n27,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[23, 71, 75], Operations: ['46+29=75']\nExploring Operation: 71-23=48, Resulting Numbers: [75, 48]\nGenerated Node #0,3,2: 98:[75, 48] Operation: 71-23=48\nMoving to Node #0,3,2\nCurrent State: 98:[75, 48], Operations: ['46+29=75', '71-23=48']\nExploring Operation: 75+48=123, Resulting Numbers: [123]\n123,98 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 98:[75, 48], Operations: ['46+29=75', '71-23=48']\nExploring Operation: 75-48=27, Resulting Numbers: [27]\n27,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[23, 71, 75], Operations: ['46+29=75']\nExploring Operation: 75-23=52, Resulting Numbers: [71, 52]\nGenerated Node #0,3,3: 98:[71, 52] Operation: 75-23=52\nMoving to Node #0,3,3\nCurrent State: 98:[71, 52], Operations: ['46+29=75', '75-23=52']\nExploring Operation: 71+52=123, Resulting Numbers: [123]\n123,98 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 98:[71, 52], Operations: ['46+29=75', '75-23=52']\nExploring Operation: 71-52=19, Resulting Numbers: [19]\n19,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[23, 71, 75], Operations: ['46+29=75']\nExploring Operation: 71+75=146, Resulting Numbers: [23, 146]\nGenerated Node #0,3,4: 98:[23, 146] Operation: 71+75=146\nMoving to Node #0,3,4\nCurrent State: 98:[23, 146], Operations: ['46+29=75', '71+75=146']\nExploring Operation: 146-23=123, Resulting Numbers: [123]\n123,98 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 98:[23, 146], Operations: ['46+29=75', '71+75=146']\nExploring Operation: 23+146=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 98:[23, 71, 75], Operations: ['46+29=75']\nExploring Operation: 75-71=4, Resulting Numbers: [23, 4]\nGenerated Node #0,3,5: 98:[23, 4] Operation: 75-71=4\nMoving to Node #0,3,5\nCurrent State: 98:[23, 4], Operations: ['46+29=75', '75-71=4']\nExploring Operation: 23*4=92, Resulting Numbers: [92]\n92,98 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 98:[23, 4], Operations: ['46+29=75', '75-71=4']\nExploring Operation: 23+4=27, Resulting Numbers: [27]\n27,98 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 98:[23, 4], Operations: ['46+29=75', '75-71=4']\nExploring Operation: 23-4=19, Resulting Numbers: [19]\n19,98 unequal: No Solution\nMoving to Node #0\nCurrent State: 98:[23, 46, 71, 29], Operations: []\nExploring Operation: 71+29=100, Resulting Numbers: [23, 46, 100]\nGenerated Node #0,4: 98:[23, 46, 100] Operation: 71+29=100\nMoving to Node #0,4\nCurrent State: 98:[23, 46, 100], Operations: ['71+29=100']\nExploring Operation: 23+46=69, Resulting Numbers: [100, 69]\nGenerated Node #0,4,0: 98:[100, 69] Operation: 23+46=69\nMoving to Node #0,4,0\nCurrent State: 98:[100, 69], Operations: ['71+29=100', '23+46=69']\nExploring Operation: 100-69=31, Resulting Numbers: [31]\n31,98 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 98:[100, 69], Operations: ['71+29=100', '23+46=69']\nExploring Operation: 100+69=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[23, 46, 100], Operations: ['71+29=100']\nExploring Operation: 100-23=77, Resulting Numbers: [46, 77]\nGenerated Node #0,4,1: 98:[46, 77] Operation: 100-23=77\nMoving to Node #0,4,1\nCurrent State: 98:[46, 77], Operations: ['71+29=100', '100-23=77']\nExploring Operation: 46+77=123, Resulting Numbers: [123]\n123,98 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 98:[46, 77], Operations: ['71+29=100', '100-23=77']\nExploring Operation: 77-46=31, Resulting Numbers: [31]\n31,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[23, 46, 100], Operations: ['71+29=100']\nExploring Operation: 46-23=23, Resulting Numbers: [100, 23]\nGenerated Node #0,4,2: 98:[100, 23] Operation: 46-23=23\nMoving to Node #0,4,2\nCurrent State: 98:[100, 23], Operations: ['71+29=100', '46-23=23']\nExploring Operation: 100-23=77, Resulting Numbers: [77]\n77,98 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 98:[100, 23], Operations: ['71+29=100', '46-23=23']\nExploring Operation: 100+23=123, Resulting Numbers: [123]\n123,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[23, 46, 100], Operations: ['71+29=100']\nExploring Operation: 23+100=123, Resulting Numbers: [46, 123]\nGenerated Node #0,4,3: 98:[46, 123] Operation: 23+100=123\nMoving to Node #0,4,3\nCurrent State: 98:[46, 123], Operations: ['71+29=100', '23+100=123']\nExploring Operation: 123-46=77, Resulting Numbers: [77]\n77,98 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 98:[46, 123], Operations: ['71+29=100', '23+100=123']\nExploring Operation: 46+123=169, Resulting Numbers: [169]\n169,98 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 98:[23, 46, 100], Operations: ['71+29=100']\nExploring Operation: 46/23=2, Resulting Numbers: [100, 2]\nGenerated Node #0,4,4: 98:[100, 2] Operation: 46/23=2\nMoving to Node #0,4,4\nCurrent State: 98:[100, 2], Operations: ['71+29=100', '46/23=2']\nExploring Operation: 100-2=98, Resulting Numbers: [98]\n98,98 equal: Goal Reached\nFinal operations:\n71+29=100\n46/23=2\n100-2=98",
"role": "assistant"
}
] |
[
23,
46,
71,
29
] | 98
|
dfs
|
sum_heuristic
| 0.918403
|
[
{
"content": "Given the numbers [116, 132, 152, 122] and the target 14, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 14:[116, 132, 152, 122], Operations: []",
"role": "assistant"
}
] |
[
116,
132,
152,
122
] | 14
|
dfs
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [11, 147, 84, 21] and the target 161, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 11*21=231, Resulting Numbers: [147, 84, 231]\nGenerated Node #0,0: 161:[147, 84, 231] Operation: 11*21=231\nMoving to Node #0,0\nCurrent State: 161:[147, 84, 231], Operations: ['11*21=231']\nExploring Operation: 231-84=147, Resulting Numbers: [147, 147]\nGenerated Node #0,0,0: 161:[147, 147] Operation: 231-84=147\nMoving to Node #0,0,0\nCurrent State: 161:[147, 147], Operations: ['11*21=231', '231-84=147']\nExploring Operation: 147+147=294, Resulting Numbers: [294]\n294,161 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 161:[147, 147], Operations: ['11*21=231', '231-84=147']\nExploring Operation: 147/147=1, Resulting Numbers: [1]\n1,161 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 161:[147, 147], Operations: ['11*21=231', '231-84=147']\nExploring Operation: 147-147=0, Resulting Numbers: [0]\n0,161 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 161:[147, 84, 231], Operations: ['11*21=231']\nExploring Operation: 147+84=231, Resulting Numbers: [231, 231]\nGenerated Node #0,0,1: 161:[231, 231] Operation: 147+84=231\nMoving to Node #0,0,1\nCurrent State: 161:[231, 231], Operations: ['11*21=231', '147+84=231']\nExploring Operation: 231/231=1, Resulting Numbers: [1]\n1,161 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 161:[231, 231], Operations: ['11*21=231', '147+84=231']\nExploring Operation: 231-231=0, Resulting Numbers: [0]\n0,161 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 161:[147, 84, 231], Operations: ['11*21=231']\nExploring Operation: 231-147=84, Resulting Numbers: [84, 84]\nGenerated Node #0,0,2: 161:[84, 84] Operation: 231-147=84\nMoving to Node #0,0,2\nCurrent State: 161:[84, 84], Operations: ['11*21=231', '231-147=84']\nExploring Operation: 84+84=168, Resulting Numbers: [168]\n168,161 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 161:[84, 84], Operations: ['11*21=231', '231-147=84']\nExploring Operation: 84/84=1, Resulting Numbers: [1]\n1,161 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 161:[84, 84], Operations: ['11*21=231', '231-147=84']\nExploring Operation: 84-84=0, Resulting Numbers: [0]\n0,161 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 161:[147, 84, 231], Operations: ['11*21=231']\nExploring Operation: 147-84=63, Resulting Numbers: [231, 63]\nGenerated Node #0,0,3: 161:[231, 63] Operation: 147-84=63\nMoving to Node #0,0,3\nCurrent State: 161:[231, 63], Operations: ['11*21=231', '147-84=63']\nExploring Operation: 231-63=168, Resulting Numbers: [168]\n168,161 unequal: No Solution\nMoving to Node #0,0,3\nCurrent State: 161:[231, 63], Operations: ['11*21=231', '147-84=63']\nExploring Operation: 231+63=294, Resulting Numbers: [294]\n294,161 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 161:[147, 84, 231], Operations: ['11*21=231']\nExploring Operation: 84+231=315, Resulting Numbers: [147, 315]\nGenerated Node #0,0,4: 161:[147, 315] Operation: 84+231=315\nMoving to Node #0,0,4\nCurrent State: 161:[147, 315], Operations: ['11*21=231', '84+231=315']\nExploring Operation: 315-147=168, Resulting Numbers: [168]\n168,161 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 161:[147, 84, 231], Operations: ['11*21=231']\nExploring Operation: 147+231=378, Resulting Numbers: [84, 378]\nGenerated Node #0,0,5: 161:[84, 378] Operation: 147+231=378\nMoving to Node #0,0,5\nCurrent State: 161:[84, 378], Operations: ['11*21=231', '147+231=378']\nExploring Operation: 378-84=294, Resulting Numbers: [294]\n294,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 11+147=158, Resulting Numbers: [84, 21, 158]\nGenerated Node #0,1: 161:[84, 21, 158] Operation: 11+147=158\nMoving to Node #0,1\nCurrent State: 161:[84, 21, 158], Operations: ['11+147=158']\nExploring Operation: 84+21=105, Resulting Numbers: [158, 105]\nGenerated Node #0,1,0: 161:[158, 105] Operation: 84+21=105\nMoving to Node #0,1,0\nCurrent State: 161:[158, 105], Operations: ['11+147=158', '84+21=105']\nExploring Operation: 158+105=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 161:[158, 105], Operations: ['11+147=158', '84+21=105']\nExploring Operation: 158-105=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 161:[84, 21, 158], Operations: ['11+147=158']\nExploring Operation: 21+158=179, Resulting Numbers: [84, 179]\nGenerated Node #0,1,1: 161:[84, 179] Operation: 21+158=179\nMoving to Node #0,1,1\nCurrent State: 161:[84, 179], Operations: ['11+147=158', '21+158=179']\nExploring Operation: 179-84=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 161:[84, 179], Operations: ['11+147=158', '21+158=179']\nExploring Operation: 84+179=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 161:[84, 21, 158], Operations: ['11+147=158']\nExploring Operation: 84-21=63, Resulting Numbers: [158, 63]\nGenerated Node #0,1,2: 161:[158, 63] Operation: 84-21=63\nMoving to Node #0,1,2\nCurrent State: 161:[158, 63], Operations: ['11+147=158', '84-21=63']\nExploring Operation: 158+63=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 161:[158, 63], Operations: ['11+147=158', '84-21=63']\nExploring Operation: 158-63=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 161:[84, 21, 158], Operations: ['11+147=158']\nExploring Operation: 158-21=137, Resulting Numbers: [84, 137]\nGenerated Node #0,1,3: 161:[84, 137] Operation: 158-21=137\nMoving to Node #0,1,3\nCurrent State: 161:[84, 137], Operations: ['11+147=158', '158-21=137']\nExploring Operation: 84+137=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,1,3\nCurrent State: 161:[84, 137], Operations: ['11+147=158', '158-21=137']\nExploring Operation: 137-84=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 161:[84, 21, 158], Operations: ['11+147=158']\nExploring Operation: 84/21=4, Resulting Numbers: [158, 4]\nGenerated Node #0,1,4: 161:[158, 4] Operation: 84/21=4\nMoving to Node #0,1,4\nCurrent State: 161:[158, 4], Operations: ['11+147=158', '84/21=4']\nExploring Operation: 158+4=162, Resulting Numbers: [162]\n162,161 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 161:[158, 4], Operations: ['11+147=158', '84/21=4']\nExploring Operation: 158-4=154, Resulting Numbers: [154]\n154,161 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 161:[84, 21, 158], Operations: ['11+147=158']\nExploring Operation: 84+158=242, Resulting Numbers: [21, 242]\nGenerated Node #0,1,5: 161:[21, 242] Operation: 84+158=242\nMoving to Node #0,1,5\nCurrent State: 161:[21, 242], Operations: ['11+147=158', '84+158=242']\nExploring Operation: 242-21=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 161:[21, 242], Operations: ['11+147=158', '84+158=242']\nExploring Operation: 21+242=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 161:[84, 21, 158], Operations: ['11+147=158']\nExploring Operation: 158-84=74, Resulting Numbers: [21, 74]\nGenerated Node #0,1,6: 161:[21, 74] Operation: 158-84=74\nMoving to Node #0,1,6\nCurrent State: 161:[21, 74], Operations: ['11+147=158', '158-84=74']\nExploring Operation: 21+74=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,1,6\nCurrent State: 161:[21, 74], Operations: ['11+147=158', '158-84=74']\nExploring Operation: 74-21=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 11+84=95, Resulting Numbers: [147, 21, 95]\nGenerated Node #0,2: 161:[147, 21, 95] Operation: 11+84=95\nMoving to Node #0,2\nCurrent State: 161:[147, 21, 95], Operations: ['11+84=95']\nExploring Operation: 21+95=116, Resulting Numbers: [147, 116]\nGenerated Node #0,2,0: 161:[147, 116] Operation: 21+95=116\nMoving to Node #0,2,0\nCurrent State: 161:[147, 116], Operations: ['11+84=95', '21+95=116']\nExploring Operation: 147+116=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 161:[147, 116], Operations: ['11+84=95', '21+95=116']\nExploring Operation: 147-116=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 161:[147, 21, 95], Operations: ['11+84=95']\nExploring Operation: 147+21=168, Resulting Numbers: [95, 168]\nGenerated Node #0,2,1: 161:[95, 168] Operation: 147+21=168\nMoving to Node #0,2,1\nCurrent State: 161:[95, 168], Operations: ['11+84=95', '147+21=168']\nExploring Operation: 168-95=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 161:[95, 168], Operations: ['11+84=95', '147+21=168']\nExploring Operation: 95+168=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 161:[147, 21, 95], Operations: ['11+84=95']\nExploring Operation: 147-21=126, Resulting Numbers: [95, 126]\nGenerated Node #0,2,2: 161:[95, 126] Operation: 147-21=126\nMoving to Node #0,2,2\nCurrent State: 161:[95, 126], Operations: ['11+84=95', '147-21=126']\nExploring Operation: 95+126=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 161:[95, 126], Operations: ['11+84=95', '147-21=126']\nExploring Operation: 126-95=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 161:[147, 21, 95], Operations: ['11+84=95']\nExploring Operation: 95-21=74, Resulting Numbers: [147, 74]\nGenerated Node #0,2,3: 161:[147, 74] Operation: 95-21=74\nMoving to Node #0,2,3\nCurrent State: 161:[147, 74], Operations: ['11+84=95', '95-21=74']\nExploring Operation: 147+74=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,2,3\nCurrent State: 161:[147, 74], Operations: ['11+84=95', '95-21=74']\nExploring Operation: 147-74=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 161:[147, 21, 95], Operations: ['11+84=95']\nExploring Operation: 147/21=7, Resulting Numbers: [95, 7]\nGenerated Node #0,2,4: 161:[95, 7] Operation: 147/21=7\nMoving to Node #0,2,4\nCurrent State: 161:[95, 7], Operations: ['11+84=95', '147/21=7']\nExploring Operation: 95+7=102, Resulting Numbers: [102]\n102,161 unequal: No Solution\nMoving to Node #0,2,4\nCurrent State: 161:[95, 7], Operations: ['11+84=95', '147/21=7']\nExploring Operation: 95-7=88, Resulting Numbers: [88]\n88,161 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 161:[147, 21, 95], Operations: ['11+84=95']\nExploring Operation: 147+95=242, Resulting Numbers: [21, 242]\nGenerated Node #0,2,5: 161:[21, 242] Operation: 147+95=242\nMoving to Node #0,2,5\nCurrent State: 161:[21, 242], Operations: ['11+84=95', '147+95=242']\nExploring Operation: 242-21=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,2,5\nCurrent State: 161:[21, 242], Operations: ['11+84=95', '147+95=242']\nExploring Operation: 21+242=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 161:[147, 21, 95], Operations: ['11+84=95']\nExploring Operation: 147-95=52, Resulting Numbers: [21, 52]\nGenerated Node #0,2,6: 161:[21, 52] Operation: 147-95=52\nMoving to Node #0,2,6\nCurrent State: 161:[21, 52], Operations: ['11+84=95', '147-95=52']\nExploring Operation: 21+52=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,2,6\nCurrent State: 161:[21, 52], Operations: ['11+84=95', '147-95=52']\nExploring Operation: 52-21=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 11+21=32, Resulting Numbers: [147, 84, 32]\nGenerated Node #0,3: 161:[147, 84, 32] Operation: 11+21=32\nMoving to Node #0,3\nCurrent State: 161:[147, 84, 32], Operations: ['11+21=32']\nExploring Operation: 84+32=116, Resulting Numbers: [147, 116]\nGenerated Node #0,3,0: 161:[147, 116] Operation: 84+32=116\nMoving to Node #0,3,0\nCurrent State: 161:[147, 116], Operations: ['11+21=32', '84+32=116']\nExploring Operation: 147+116=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 161:[147, 116], Operations: ['11+21=32', '84+32=116']\nExploring Operation: 147-116=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 161:[147, 84, 32], Operations: ['11+21=32']\nExploring Operation: 147+32=179, Resulting Numbers: [84, 179]\nGenerated Node #0,3,1: 161:[84, 179] Operation: 147+32=179\nMoving to Node #0,3,1\nCurrent State: 161:[84, 179], Operations: ['11+21=32', '147+32=179']\nExploring Operation: 179-84=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,3,1\nCurrent State: 161:[84, 179], Operations: ['11+21=32', '147+32=179']\nExploring Operation: 84+179=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 161:[147, 84, 32], Operations: ['11+21=32']\nExploring Operation: 147-32=115, Resulting Numbers: [84, 115]\nGenerated Node #0,3,2: 161:[84, 115] Operation: 147-32=115\nMoving to Node #0,3,2\nCurrent State: 161:[84, 115], Operations: ['11+21=32', '147-32=115']\nExploring Operation: 84+115=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,3,2\nCurrent State: 161:[84, 115], Operations: ['11+21=32', '147-32=115']\nExploring Operation: 115-84=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 161:[147, 84, 32], Operations: ['11+21=32']\nExploring Operation: 84-32=52, Resulting Numbers: [147, 52]\nGenerated Node #0,3,3: 161:[147, 52] Operation: 84-32=52\nMoving to Node #0,3,3\nCurrent State: 161:[147, 52], Operations: ['11+21=32', '84-32=52']\nExploring Operation: 147+52=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,3,3\nCurrent State: 161:[147, 52], Operations: ['11+21=32', '84-32=52']\nExploring Operation: 147-52=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 161:[147, 84, 32], Operations: ['11+21=32']\nExploring Operation: 147+84=231, Resulting Numbers: [32, 231]\nGenerated Node #0,3,4: 161:[32, 231] Operation: 147+84=231\nMoving to Node #0,3,4\nCurrent State: 161:[32, 231], Operations: ['11+21=32', '147+84=231']\nExploring Operation: 231-32=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,3,4\nCurrent State: 161:[32, 231], Operations: ['11+21=32', '147+84=231']\nExploring Operation: 32+231=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 161:[147, 84, 32], Operations: ['11+21=32']\nExploring Operation: 147-84=63, Resulting Numbers: [32, 63]\nGenerated Node #0,3,5: 161:[32, 63] Operation: 147-84=63\nMoving to Node #0,3,5\nCurrent State: 161:[32, 63], Operations: ['11+21=32', '147-84=63']\nExploring Operation: 32+63=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,3,5\nCurrent State: 161:[32, 63], Operations: ['11+21=32', '147-84=63']\nExploring Operation: 63-32=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 84+21=105, Resulting Numbers: [11, 147, 105]\nGenerated Node #0,4: 161:[11, 147, 105] Operation: 84+21=105\nMoving to Node #0,4\nCurrent State: 161:[11, 147, 105], Operations: ['84+21=105']\nExploring Operation: 11+147=158, Resulting Numbers: [105, 158]\nGenerated Node #0,4,0: 161:[105, 158] Operation: 11+147=158\nMoving to Node #0,4,0\nCurrent State: 161:[105, 158], Operations: ['84+21=105', '11+147=158']\nExploring Operation: 105+158=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 161:[105, 158], Operations: ['84+21=105', '11+147=158']\nExploring Operation: 158-105=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 161:[11, 147, 105], Operations: ['84+21=105']\nExploring Operation: 11+105=116, Resulting Numbers: [147, 116]\nGenerated Node #0,4,1: 161:[147, 116] Operation: 11+105=116\nMoving to Node #0,4,1\nCurrent State: 161:[147, 116], Operations: ['84+21=105', '11+105=116']\nExploring Operation: 147+116=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,4,1\nCurrent State: 161:[147, 116], Operations: ['84+21=105', '11+105=116']\nExploring Operation: 147-116=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 161:[11, 147, 105], Operations: ['84+21=105']\nExploring Operation: 147-11=136, Resulting Numbers: [105, 136]\nGenerated Node #0,4,2: 161:[105, 136] Operation: 147-11=136\nMoving to Node #0,4,2\nCurrent State: 161:[105, 136], Operations: ['84+21=105', '147-11=136']\nExploring Operation: 105+136=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,4,2\nCurrent State: 161:[105, 136], Operations: ['84+21=105', '147-11=136']\nExploring Operation: 136-105=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 161:[11, 147, 105], Operations: ['84+21=105']\nExploring Operation: 105-11=94, Resulting Numbers: [147, 94]\nGenerated Node #0,4,3: 161:[147, 94] Operation: 105-11=94\nMoving to Node #0,4,3\nCurrent State: 161:[147, 94], Operations: ['84+21=105', '105-11=94']\nExploring Operation: 147+94=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,4,3\nCurrent State: 161:[147, 94], Operations: ['84+21=105', '105-11=94']\nExploring Operation: 147-94=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 161:[11, 147, 105], Operations: ['84+21=105']\nExploring Operation: 147+105=252, Resulting Numbers: [11, 252]\nGenerated Node #0,4,4: 161:[11, 252] Operation: 147+105=252\nMoving to Node #0,4,4\nCurrent State: 161:[11, 252], Operations: ['84+21=105', '147+105=252']\nExploring Operation: 252-11=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,4,4\nCurrent State: 161:[11, 252], Operations: ['84+21=105', '147+105=252']\nExploring Operation: 11+252=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 161:[11, 147, 105], Operations: ['84+21=105']\nExploring Operation: 147-105=42, Resulting Numbers: [11, 42]\nGenerated Node #0,4,5: 161:[11, 42] Operation: 147-105=42\nMoving to Node #0,4,5\nCurrent State: 161:[11, 42], Operations: ['84+21=105', '147-105=42']\nExploring Operation: 11+42=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,4,5\nCurrent State: 161:[11, 42], Operations: ['84+21=105', '147-105=42']\nExploring Operation: 42-11=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 147+21=168, Resulting Numbers: [11, 84, 168]\nGenerated Node #0,5: 161:[11, 84, 168] Operation: 147+21=168\nMoving to Node #0,5\nCurrent State: 161:[11, 84, 168], Operations: ['147+21=168']\nExploring Operation: 11+84=95, Resulting Numbers: [168, 95]\nGenerated Node #0,5,0: 161:[168, 95] Operation: 11+84=95\nMoving to Node #0,5,0\nCurrent State: 161:[168, 95], Operations: ['147+21=168', '11+84=95']\nExploring Operation: 168-95=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 161:[168, 95], Operations: ['147+21=168', '11+84=95']\nExploring Operation: 168+95=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 161:[11, 84, 168], Operations: ['147+21=168']\nExploring Operation: 168-11=157, Resulting Numbers: [84, 157]\nGenerated Node #0,5,1: 161:[84, 157] Operation: 168-11=157\nMoving to Node #0,5,1\nCurrent State: 161:[84, 157], Operations: ['147+21=168', '168-11=157']\nExploring Operation: 84+157=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 161:[84, 157], Operations: ['147+21=168', '168-11=157']\nExploring Operation: 157-84=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 161:[11, 84, 168], Operations: ['147+21=168']\nExploring Operation: 84-11=73, Resulting Numbers: [168, 73]\nGenerated Node #0,5,2: 161:[168, 73] Operation: 84-11=73\nMoving to Node #0,5,2\nCurrent State: 161:[168, 73], Operations: ['147+21=168', '84-11=73']\nExploring Operation: 168-73=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,5,2\nCurrent State: 161:[168, 73], Operations: ['147+21=168', '84-11=73']\nExploring Operation: 168+73=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 161:[11, 84, 168], Operations: ['147+21=168']\nExploring Operation: 11+168=179, Resulting Numbers: [84, 179]\nGenerated Node #0,5,3: 161:[84, 179] Operation: 11+168=179\nMoving to Node #0,5,3\nCurrent State: 161:[84, 179], Operations: ['147+21=168', '11+168=179']\nExploring Operation: 179-84=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,5,3\nCurrent State: 161:[84, 179], Operations: ['147+21=168', '11+168=179']\nExploring Operation: 84+179=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 161:[11, 84, 168], Operations: ['147+21=168']\nExploring Operation: 168-84=84, Resulting Numbers: [11, 84]\nGenerated Node #0,5,4: 161:[11, 84] Operation: 168-84=84\nMoving to Node #0,5,4\nCurrent State: 161:[11, 84], Operations: ['147+21=168', '168-84=84']\nExploring Operation: 11+84=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,5,4\nCurrent State: 161:[11, 84], Operations: ['147+21=168', '168-84=84']\nExploring Operation: 84-11=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 161:[11, 84, 168], Operations: ['147+21=168']\nExploring Operation: 84+168=252, Resulting Numbers: [11, 252]\nGenerated Node #0,5,5: 161:[11, 252] Operation: 84+168=252\nMoving to Node #0,5,5\nCurrent State: 161:[11, 252], Operations: ['147+21=168', '84+168=252']\nExploring Operation: 252-11=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,5,5\nCurrent State: 161:[11, 252], Operations: ['147+21=168', '84+168=252']\nExploring Operation: 11+252=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 161:[11, 84, 168], Operations: ['147+21=168']\nExploring Operation: 168/84=2, Resulting Numbers: [11, 2]\nGenerated Node #0,5,6: 161:[11, 2] Operation: 168/84=2\nMoving to Node #0,5,6\nCurrent State: 161:[11, 2], Operations: ['147+21=168', '168/84=2']\nExploring Operation: 11*2=22, Resulting Numbers: [22]\n22,161 unequal: No Solution\nMoving to Node #0,5,6\nCurrent State: 161:[11, 2], Operations: ['147+21=168', '168/84=2']\nExploring Operation: 11+2=13, Resulting Numbers: [13]\n13,161 unequal: No Solution\nMoving to Node #0,5,6\nCurrent State: 161:[11, 2], Operations: ['147+21=168', '168/84=2']\nExploring Operation: 11-2=9, Resulting Numbers: [9]\n9,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 147-11=136, Resulting Numbers: [84, 21, 136]\nGenerated Node #0,6: 161:[84, 21, 136] Operation: 147-11=136\nMoving to Node #0,6\nCurrent State: 161:[84, 21, 136], Operations: ['147-11=136']\nExploring Operation: 84+21=105, Resulting Numbers: [136, 105]\nGenerated Node #0,6,0: 161:[136, 105] Operation: 84+21=105\nMoving to Node #0,6,0\nCurrent State: 161:[136, 105], Operations: ['147-11=136', '84+21=105']\nExploring Operation: 136+105=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,6,0\nCurrent State: 161:[136, 105], Operations: ['147-11=136', '84+21=105']\nExploring Operation: 136-105=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 161:[84, 21, 136], Operations: ['147-11=136']\nExploring Operation: 21+136=157, Resulting Numbers: [84, 157]\nGenerated Node #0,6,1: 161:[84, 157] Operation: 21+136=157\nMoving to Node #0,6,1\nCurrent State: 161:[84, 157], Operations: ['147-11=136', '21+136=157']\nExploring Operation: 84+157=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,6,1\nCurrent State: 161:[84, 157], Operations: ['147-11=136', '21+136=157']\nExploring Operation: 157-84=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 161:[84, 21, 136], Operations: ['147-11=136']\nExploring Operation: 84-21=63, Resulting Numbers: [136, 63]\nGenerated Node #0,6,2: 161:[136, 63] Operation: 84-21=63\nMoving to Node #0,6,2\nCurrent State: 161:[136, 63], Operations: ['147-11=136', '84-21=63']\nExploring Operation: 136+63=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,6,2\nCurrent State: 161:[136, 63], Operations: ['147-11=136', '84-21=63']\nExploring Operation: 136-63=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 161:[84, 21, 136], Operations: ['147-11=136']\nExploring Operation: 136-21=115, Resulting Numbers: [84, 115]\nGenerated Node #0,6,3: 161:[84, 115] Operation: 136-21=115\nMoving to Node #0,6,3\nCurrent State: 161:[84, 115], Operations: ['147-11=136', '136-21=115']\nExploring Operation: 84+115=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,6,3\nCurrent State: 161:[84, 115], Operations: ['147-11=136', '136-21=115']\nExploring Operation: 115-84=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 161:[84, 21, 136], Operations: ['147-11=136']\nExploring Operation: 84/21=4, Resulting Numbers: [136, 4]\nGenerated Node #0,6,4: 161:[136, 4] Operation: 84/21=4\nMoving to Node #0,6,4\nCurrent State: 161:[136, 4], Operations: ['147-11=136', '84/21=4']\nExploring Operation: 136+4=140, Resulting Numbers: [140]\n140,161 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 161:[136, 4], Operations: ['147-11=136', '84/21=4']\nExploring Operation: 136-4=132, Resulting Numbers: [132]\n132,161 unequal: No Solution\nMoving to Node #0,6,4\nCurrent State: 161:[136, 4], Operations: ['147-11=136', '84/21=4']\nExploring Operation: 136/4=34, Resulting Numbers: [34]\n34,161 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 161:[84, 21, 136], Operations: ['147-11=136']\nExploring Operation: 84+136=220, Resulting Numbers: [21, 220]\nGenerated Node #0,6,5: 161:[21, 220] Operation: 84+136=220\nMoving to Node #0,6,5\nCurrent State: 161:[21, 220], Operations: ['147-11=136', '84+136=220']\nExploring Operation: 220-21=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,6,5\nCurrent State: 161:[21, 220], Operations: ['147-11=136', '84+136=220']\nExploring Operation: 21+220=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,6\nCurrent State: 161:[84, 21, 136], Operations: ['147-11=136']\nExploring Operation: 136-84=52, Resulting Numbers: [21, 52]\nGenerated Node #0,6,6: 161:[21, 52] Operation: 136-84=52\nMoving to Node #0,6,6\nCurrent State: 161:[21, 52], Operations: ['147-11=136', '136-84=52']\nExploring Operation: 21+52=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,6,6\nCurrent State: 161:[21, 52], Operations: ['147-11=136', '136-84=52']\nExploring Operation: 52-21=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 84-11=73, Resulting Numbers: [147, 21, 73]\nGenerated Node #0,7: 161:[147, 21, 73] Operation: 84-11=73\nMoving to Node #0,7\nCurrent State: 161:[147, 21, 73], Operations: ['84-11=73']\nExploring Operation: 21+73=94, Resulting Numbers: [147, 94]\nGenerated Node #0,7,0: 161:[147, 94] Operation: 21+73=94\nMoving to Node #0,7,0\nCurrent State: 161:[147, 94], Operations: ['84-11=73', '21+73=94']\nExploring Operation: 147+94=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,7,0\nCurrent State: 161:[147, 94], Operations: ['84-11=73', '21+73=94']\nExploring Operation: 147-94=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 161:[147, 21, 73], Operations: ['84-11=73']\nExploring Operation: 147+21=168, Resulting Numbers: [73, 168]\nGenerated Node #0,7,1: 161:[73, 168] Operation: 147+21=168\nMoving to Node #0,7,1\nCurrent State: 161:[73, 168], Operations: ['84-11=73', '147+21=168']\nExploring Operation: 168-73=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,7,1\nCurrent State: 161:[73, 168], Operations: ['84-11=73', '147+21=168']\nExploring Operation: 73+168=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 161:[147, 21, 73], Operations: ['84-11=73']\nExploring Operation: 147-21=126, Resulting Numbers: [73, 126]\nGenerated Node #0,7,2: 161:[73, 126] Operation: 147-21=126\nMoving to Node #0,7,2\nCurrent State: 161:[73, 126], Operations: ['84-11=73', '147-21=126']\nExploring Operation: 73+126=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,7,2\nCurrent State: 161:[73, 126], Operations: ['84-11=73', '147-21=126']\nExploring Operation: 126-73=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 161:[147, 21, 73], Operations: ['84-11=73']\nExploring Operation: 73-21=52, Resulting Numbers: [147, 52]\nGenerated Node #0,7,3: 161:[147, 52] Operation: 73-21=52\nMoving to Node #0,7,3\nCurrent State: 161:[147, 52], Operations: ['84-11=73', '73-21=52']\nExploring Operation: 147+52=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,7,3\nCurrent State: 161:[147, 52], Operations: ['84-11=73', '73-21=52']\nExploring Operation: 147-52=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 161:[147, 21, 73], Operations: ['84-11=73']\nExploring Operation: 147+73=220, Resulting Numbers: [21, 220]\nGenerated Node #0,7,4: 161:[21, 220] Operation: 147+73=220\nMoving to Node #0,7,4\nCurrent State: 161:[21, 220], Operations: ['84-11=73', '147+73=220']\nExploring Operation: 220-21=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,7,4\nCurrent State: 161:[21, 220], Operations: ['84-11=73', '147+73=220']\nExploring Operation: 21+220=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 161:[147, 21, 73], Operations: ['84-11=73']\nExploring Operation: 147-73=74, Resulting Numbers: [21, 74]\nGenerated Node #0,7,5: 161:[21, 74] Operation: 147-73=74\nMoving to Node #0,7,5\nCurrent State: 161:[21, 74], Operations: ['84-11=73', '147-73=74']\nExploring Operation: 21+74=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,7,5\nCurrent State: 161:[21, 74], Operations: ['84-11=73', '147-73=74']\nExploring Operation: 74-21=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,7\nCurrent State: 161:[147, 21, 73], Operations: ['84-11=73']\nExploring Operation: 147/21=7, Resulting Numbers: [73, 7]\nGenerated Node #0,7,6: 161:[73, 7] Operation: 147/21=7\nMoving to Node #0,7,6\nCurrent State: 161:[73, 7], Operations: ['84-11=73', '147/21=7']\nExploring Operation: 73+7=80, Resulting Numbers: [80]\n80,161 unequal: No Solution\nMoving to Node #0,7,6\nCurrent State: 161:[73, 7], Operations: ['84-11=73', '147/21=7']\nExploring Operation: 73-7=66, Resulting Numbers: [66]\n66,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 21-11=10, Resulting Numbers: [147, 84, 10]\nGenerated Node #0,8: 161:[147, 84, 10] Operation: 21-11=10\nMoving to Node #0,8\nCurrent State: 161:[147, 84, 10], Operations: ['21-11=10']\nExploring Operation: 147+10=157, Resulting Numbers: [84, 157]\nGenerated Node #0,8,0: 161:[84, 157] Operation: 147+10=157\nMoving to Node #0,8,0\nCurrent State: 161:[84, 157], Operations: ['21-11=10', '147+10=157']\nExploring Operation: 84+157=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,8,0\nCurrent State: 161:[84, 157], Operations: ['21-11=10', '147+10=157']\nExploring Operation: 157-84=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 161:[147, 84, 10], Operations: ['21-11=10']\nExploring Operation: 84+10=94, Resulting Numbers: [147, 94]\nGenerated Node #0,8,1: 161:[147, 94] Operation: 84+10=94\nMoving to Node #0,8,1\nCurrent State: 161:[147, 94], Operations: ['21-11=10', '84+10=94']\nExploring Operation: 147+94=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,8,1\nCurrent State: 161:[147, 94], Operations: ['21-11=10', '84+10=94']\nExploring Operation: 147-94=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 161:[147, 84, 10], Operations: ['21-11=10']\nExploring Operation: 147-10=137, Resulting Numbers: [84, 137]\nGenerated Node #0,8,2: 161:[84, 137] Operation: 147-10=137\nMoving to Node #0,8,2\nCurrent State: 161:[84, 137], Operations: ['21-11=10', '147-10=137']\nExploring Operation: 84+137=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,8,2\nCurrent State: 161:[84, 137], Operations: ['21-11=10', '147-10=137']\nExploring Operation: 137-84=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 161:[147, 84, 10], Operations: ['21-11=10']\nExploring Operation: 84-10=74, Resulting Numbers: [147, 74]\nGenerated Node #0,8,3: 161:[147, 74] Operation: 84-10=74\nMoving to Node #0,8,3\nCurrent State: 161:[147, 74], Operations: ['21-11=10', '84-10=74']\nExploring Operation: 147+74=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,8,3\nCurrent State: 161:[147, 74], Operations: ['21-11=10', '84-10=74']\nExploring Operation: 147-74=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 161:[147, 84, 10], Operations: ['21-11=10']\nExploring Operation: 147+84=231, Resulting Numbers: [10, 231]\nGenerated Node #0,8,4: 161:[10, 231] Operation: 147+84=231\nMoving to Node #0,8,4\nCurrent State: 161:[10, 231], Operations: ['21-11=10', '147+84=231']\nExploring Operation: 231-10=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,8,4\nCurrent State: 161:[10, 231], Operations: ['21-11=10', '147+84=231']\nExploring Operation: 10+231=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,8\nCurrent State: 161:[147, 84, 10], Operations: ['21-11=10']\nExploring Operation: 147-84=63, Resulting Numbers: [10, 63]\nGenerated Node #0,8,5: 161:[10, 63] Operation: 147-84=63\nMoving to Node #0,8,5\nCurrent State: 161:[10, 63], Operations: ['21-11=10', '147-84=63']\nExploring Operation: 10+63=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,8,5\nCurrent State: 161:[10, 63], Operations: ['21-11=10', '147-84=63']\nExploring Operation: 63-10=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 147-21=126, Resulting Numbers: [11, 84, 126]\nGenerated Node #0,9: 161:[11, 84, 126] Operation: 147-21=126\nMoving to Node #0,9\nCurrent State: 161:[11, 84, 126], Operations: ['147-21=126']\nExploring Operation: 11+84=95, Resulting Numbers: [126, 95]\nGenerated Node #0,9,0: 161:[126, 95] Operation: 11+84=95\nMoving to Node #0,9,0\nCurrent State: 161:[126, 95], Operations: ['147-21=126', '11+84=95']\nExploring Operation: 126+95=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,9,0\nCurrent State: 161:[126, 95], Operations: ['147-21=126', '11+84=95']\nExploring Operation: 126-95=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 161:[11, 84, 126], Operations: ['147-21=126']\nExploring Operation: 11+126=137, Resulting Numbers: [84, 137]\nGenerated Node #0,9,1: 161:[84, 137] Operation: 11+126=137\nMoving to Node #0,9,1\nCurrent State: 161:[84, 137], Operations: ['147-21=126', '11+126=137']\nExploring Operation: 84+137=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,9,1\nCurrent State: 161:[84, 137], Operations: ['147-21=126', '11+126=137']\nExploring Operation: 137-84=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 161:[11, 84, 126], Operations: ['147-21=126']\nExploring Operation: 84-11=73, Resulting Numbers: [126, 73]\nGenerated Node #0,9,2: 161:[126, 73] Operation: 84-11=73\nMoving to Node #0,9,2\nCurrent State: 161:[126, 73], Operations: ['147-21=126', '84-11=73']\nExploring Operation: 126+73=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,9,2\nCurrent State: 161:[126, 73], Operations: ['147-21=126', '84-11=73']\nExploring Operation: 126-73=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 161:[11, 84, 126], Operations: ['147-21=126']\nExploring Operation: 126-11=115, Resulting Numbers: [84, 115]\nGenerated Node #0,9,3: 161:[84, 115] Operation: 126-11=115\nMoving to Node #0,9,3\nCurrent State: 161:[84, 115], Operations: ['147-21=126', '126-11=115']\nExploring Operation: 84+115=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,9,3\nCurrent State: 161:[84, 115], Operations: ['147-21=126', '126-11=115']\nExploring Operation: 115-84=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 161:[11, 84, 126], Operations: ['147-21=126']\nExploring Operation: 84+126=210, Resulting Numbers: [11, 210]\nGenerated Node #0,9,4: 161:[11, 210] Operation: 84+126=210\nMoving to Node #0,9,4\nCurrent State: 161:[11, 210], Operations: ['147-21=126', '84+126=210']\nExploring Operation: 210-11=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,9,4\nCurrent State: 161:[11, 210], Operations: ['147-21=126', '84+126=210']\nExploring Operation: 11+210=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,9\nCurrent State: 161:[11, 84, 126], Operations: ['147-21=126']\nExploring Operation: 126-84=42, Resulting Numbers: [11, 42]\nGenerated Node #0,9,5: 161:[11, 42] Operation: 126-84=42\nMoving to Node #0,9,5\nCurrent State: 161:[11, 42], Operations: ['147-21=126', '126-84=42']\nExploring Operation: 11+42=53, Resulting Numbers: [53]\n53,161 unequal: No Solution\nMoving to Node #0,9,5\nCurrent State: 161:[11, 42], Operations: ['147-21=126', '126-84=42']\nExploring Operation: 42-11=31, Resulting Numbers: [31]\n31,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 84-21=63, Resulting Numbers: [11, 147, 63]\nGenerated Node #0,10: 161:[11, 147, 63] Operation: 84-21=63\nMoving to Node #0,10\nCurrent State: 161:[11, 147, 63], Operations: ['84-21=63']\nExploring Operation: 11+147=158, Resulting Numbers: [63, 158]\nGenerated Node #0,10,0: 161:[63, 158] Operation: 11+147=158\nMoving to Node #0,10,0\nCurrent State: 161:[63, 158], Operations: ['84-21=63', '11+147=158']\nExploring Operation: 63+158=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,10,0\nCurrent State: 161:[63, 158], Operations: ['84-21=63', '11+147=158']\nExploring Operation: 158-63=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 161:[11, 147, 63], Operations: ['84-21=63']\nExploring Operation: 11+63=74, Resulting Numbers: [147, 74]\nGenerated Node #0,10,1: 161:[147, 74] Operation: 11+63=74\nMoving to Node #0,10,1\nCurrent State: 161:[147, 74], Operations: ['84-21=63', '11+63=74']\nExploring Operation: 147+74=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,10,1\nCurrent State: 161:[147, 74], Operations: ['84-21=63', '11+63=74']\nExploring Operation: 147-74=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 161:[11, 147, 63], Operations: ['84-21=63']\nExploring Operation: 147-11=136, Resulting Numbers: [63, 136]\nGenerated Node #0,10,2: 161:[63, 136] Operation: 147-11=136\nMoving to Node #0,10,2\nCurrent State: 161:[63, 136], Operations: ['84-21=63', '147-11=136']\nExploring Operation: 63+136=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,10,2\nCurrent State: 161:[63, 136], Operations: ['84-21=63', '147-11=136']\nExploring Operation: 136-63=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 161:[11, 147, 63], Operations: ['84-21=63']\nExploring Operation: 63-11=52, Resulting Numbers: [147, 52]\nGenerated Node #0,10,3: 161:[147, 52] Operation: 63-11=52\nMoving to Node #0,10,3\nCurrent State: 161:[147, 52], Operations: ['84-21=63', '63-11=52']\nExploring Operation: 147+52=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,10,3\nCurrent State: 161:[147, 52], Operations: ['84-21=63', '63-11=52']\nExploring Operation: 147-52=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 161:[11, 147, 63], Operations: ['84-21=63']\nExploring Operation: 147+63=210, Resulting Numbers: [11, 210]\nGenerated Node #0,10,4: 161:[11, 210] Operation: 147+63=210\nMoving to Node #0,10,4\nCurrent State: 161:[11, 210], Operations: ['84-21=63', '147+63=210']\nExploring Operation: 210-11=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,10,4\nCurrent State: 161:[11, 210], Operations: ['84-21=63', '147+63=210']\nExploring Operation: 11+210=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,10\nCurrent State: 161:[11, 147, 63], Operations: ['84-21=63']\nExploring Operation: 147-63=84, Resulting Numbers: [11, 84]\nGenerated Node #0,10,5: 161:[11, 84] Operation: 147-63=84\nMoving to Node #0,10,5\nCurrent State: 161:[11, 84], Operations: ['84-21=63', '147-63=84']\nExploring Operation: 11+84=95, Resulting Numbers: [95]\n95,161 unequal: No Solution\nMoving to Node #0,10,5\nCurrent State: 161:[11, 84], Operations: ['84-21=63', '147-63=84']\nExploring Operation: 84-11=73, Resulting Numbers: [73]\n73,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 84/21=4, Resulting Numbers: [11, 147, 4]\nGenerated Node #0,11: 161:[11, 147, 4] Operation: 84/21=4\nMoving to Node #0,11\nCurrent State: 161:[11, 147, 4], Operations: ['84/21=4']\nExploring Operation: 11*4=44, Resulting Numbers: [147, 44]\nGenerated Node #0,11,0: 161:[147, 44] Operation: 11*4=44\nMoving to Node #0,11,0\nCurrent State: 161:[147, 44], Operations: ['84/21=4', '11*4=44']\nExploring Operation: 147+44=191, Resulting Numbers: [191]\n191,161 unequal: No Solution\nMoving to Node #0,11,0\nCurrent State: 161:[147, 44], Operations: ['84/21=4', '11*4=44']\nExploring Operation: 147-44=103, Resulting Numbers: [103]\n103,161 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 161:[11, 147, 4], Operations: ['84/21=4']\nExploring Operation: 11+147=158, Resulting Numbers: [4, 158]\nGenerated Node #0,11,1: 161:[4, 158] Operation: 11+147=158\nMoving to Node #0,11,1\nCurrent State: 161:[4, 158], Operations: ['84/21=4', '11+147=158']\nExploring Operation: 4+158=162, Resulting Numbers: [162]\n162,161 unequal: No Solution\nMoving to Node #0,11,1\nCurrent State: 161:[4, 158], Operations: ['84/21=4', '11+147=158']\nExploring Operation: 158-4=154, Resulting Numbers: [154]\n154,161 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 161:[11, 147, 4], Operations: ['84/21=4']\nExploring Operation: 11+4=15, Resulting Numbers: [147, 15]\nGenerated Node #0,11,2: 161:[147, 15] Operation: 11+4=15\nMoving to Node #0,11,2\nCurrent State: 161:[147, 15], Operations: ['84/21=4', '11+4=15']\nExploring Operation: 147+15=162, Resulting Numbers: [162]\n162,161 unequal: No Solution\nMoving to Node #0,11,2\nCurrent State: 161:[147, 15], Operations: ['84/21=4', '11+4=15']\nExploring Operation: 147-15=132, Resulting Numbers: [132]\n132,161 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 161:[11, 147, 4], Operations: ['84/21=4']\nExploring Operation: 147+4=151, Resulting Numbers: [11, 151]\nGenerated Node #0,11,3: 161:[11, 151] Operation: 147+4=151\nMoving to Node #0,11,3\nCurrent State: 161:[11, 151], Operations: ['84/21=4', '147+4=151']\nExploring Operation: 11+151=162, Resulting Numbers: [162]\n162,161 unequal: No Solution\nMoving to Node #0,11,3\nCurrent State: 161:[11, 151], Operations: ['84/21=4', '147+4=151']\nExploring Operation: 151-11=140, Resulting Numbers: [140]\n140,161 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 161:[11, 147, 4], Operations: ['84/21=4']\nExploring Operation: 11-4=7, Resulting Numbers: [147, 7]\nGenerated Node #0,11,4: 161:[147, 7] Operation: 11-4=7\nMoving to Node #0,11,4\nCurrent State: 161:[147, 7], Operations: ['84/21=4', '11-4=7']\nExploring Operation: 147+7=154, Resulting Numbers: [154]\n154,161 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 161:[147, 7], Operations: ['84/21=4', '11-4=7']\nExploring Operation: 147-7=140, Resulting Numbers: [140]\n140,161 unequal: No Solution\nMoving to Node #0,11,4\nCurrent State: 161:[147, 7], Operations: ['84/21=4', '11-4=7']\nExploring Operation: 147/7=21, Resulting Numbers: [21]\n21,161 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 161:[11, 147, 4], Operations: ['84/21=4']\nExploring Operation: 147-4=143, Resulting Numbers: [11, 143]\nGenerated Node #0,11,5: 161:[11, 143] Operation: 147-4=143\nMoving to Node #0,11,5\nCurrent State: 161:[11, 143], Operations: ['84/21=4', '147-4=143']\nExploring Operation: 11+143=154, Resulting Numbers: [154]\n154,161 unequal: No Solution\nMoving to Node #0,11,5\nCurrent State: 161:[11, 143], Operations: ['84/21=4', '147-4=143']\nExploring Operation: 143-11=132, Resulting Numbers: [132]\n132,161 unequal: No Solution\nMoving to Node #0,11,5\nCurrent State: 161:[11, 143], Operations: ['84/21=4', '147-4=143']\nExploring Operation: 143/11=13, Resulting Numbers: [13]\n13,161 unequal: No Solution\nMoving to Node #0,11\nCurrent State: 161:[11, 147, 4], Operations: ['84/21=4']\nExploring Operation: 147-11=136, Resulting Numbers: [4, 136]\nGenerated Node #0,11,6: 161:[4, 136] Operation: 147-11=136\nMoving to Node #0,11,6\nCurrent State: 161:[4, 136], Operations: ['84/21=4', '147-11=136']\nExploring Operation: 4+136=140, Resulting Numbers: [140]\n140,161 unequal: No Solution\nMoving to Node #0,11,6\nCurrent State: 161:[4, 136], Operations: ['84/21=4', '147-11=136']\nExploring Operation: 136-4=132, Resulting Numbers: [132]\n132,161 unequal: No Solution\nMoving to Node #0,11,6\nCurrent State: 161:[4, 136], Operations: ['84/21=4', '147-11=136']\nExploring Operation: 136/4=34, Resulting Numbers: [34]\n34,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 147+84=231, Resulting Numbers: [11, 21, 231]\nGenerated Node #0,12: 161:[11, 21, 231] Operation: 147+84=231\nMoving to Node #0,12\nCurrent State: 161:[11, 21, 231], Operations: ['147+84=231']\nExploring Operation: 11*21=231, Resulting Numbers: [231, 231]\nGenerated Node #0,12,0: 161:[231, 231] Operation: 11*21=231\nMoving to Node #0,12,0\nCurrent State: 161:[231, 231], Operations: ['147+84=231', '11*21=231']\nExploring Operation: 231/231=1, Resulting Numbers: [1]\n1,161 unequal: No Solution\nMoving to Node #0,12,0\nCurrent State: 161:[231, 231], Operations: ['147+84=231', '11*21=231']\nExploring Operation: 231-231=0, Resulting Numbers: [0]\n0,161 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 161:[11, 21, 231], Operations: ['147+84=231']\nExploring Operation: 11+21=32, Resulting Numbers: [231, 32]\nGenerated Node #0,12,1: 161:[231, 32] Operation: 11+21=32\nMoving to Node #0,12,1\nCurrent State: 161:[231, 32], Operations: ['147+84=231', '11+21=32']\nExploring Operation: 231-32=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,12,1\nCurrent State: 161:[231, 32], Operations: ['147+84=231', '11+21=32']\nExploring Operation: 231+32=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 161:[11, 21, 231], Operations: ['147+84=231']\nExploring Operation: 231-11=220, Resulting Numbers: [21, 220]\nGenerated Node #0,12,2: 161:[21, 220] Operation: 231-11=220\nMoving to Node #0,12,2\nCurrent State: 161:[21, 220], Operations: ['147+84=231', '231-11=220']\nExploring Operation: 220-21=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,12,2\nCurrent State: 161:[21, 220], Operations: ['147+84=231', '231-11=220']\nExploring Operation: 21+220=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 161:[11, 21, 231], Operations: ['147+84=231']\nExploring Operation: 231-21=210, Resulting Numbers: [11, 210]\nGenerated Node #0,12,3: 161:[11, 210] Operation: 231-21=210\nMoving to Node #0,12,3\nCurrent State: 161:[11, 210], Operations: ['147+84=231', '231-21=210']\nExploring Operation: 210-11=199, Resulting Numbers: [199]\n199,161 unequal: No Solution\nMoving to Node #0,12,3\nCurrent State: 161:[11, 210], Operations: ['147+84=231', '231-21=210']\nExploring Operation: 11+210=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 161:[11, 21, 231], Operations: ['147+84=231']\nExploring Operation: 21-11=10, Resulting Numbers: [231, 10]\nGenerated Node #0,12,4: 161:[231, 10] Operation: 21-11=10\nMoving to Node #0,12,4\nCurrent State: 161:[231, 10], Operations: ['147+84=231', '21-11=10']\nExploring Operation: 231-10=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,12,4\nCurrent State: 161:[231, 10], Operations: ['147+84=231', '21-11=10']\nExploring Operation: 231+10=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 161:[11, 21, 231], Operations: ['147+84=231']\nExploring Operation: 11+231=242, Resulting Numbers: [21, 242]\nGenerated Node #0,12,5: 161:[21, 242] Operation: 11+231=242\nMoving to Node #0,12,5\nCurrent State: 161:[21, 242], Operations: ['147+84=231', '11+231=242']\nExploring Operation: 242-21=221, Resulting Numbers: [221]\n221,161 unequal: No Solution\nMoving to Node #0,12,5\nCurrent State: 161:[21, 242], Operations: ['147+84=231', '11+231=242']\nExploring Operation: 21+242=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 161:[11, 21, 231], Operations: ['147+84=231']\nExploring Operation: 21+231=252, Resulting Numbers: [11, 252]\nGenerated Node #0,12,6: 161:[11, 252] Operation: 21+231=252\nMoving to Node #0,12,6\nCurrent State: 161:[11, 252], Operations: ['147+84=231', '21+231=252']\nExploring Operation: 252-11=241, Resulting Numbers: [241]\n241,161 unequal: No Solution\nMoving to Node #0,12,6\nCurrent State: 161:[11, 252], Operations: ['147+84=231', '21+231=252']\nExploring Operation: 11+252=263, Resulting Numbers: [263]\n263,161 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 161:[11, 21, 231], Operations: ['147+84=231']\nExploring Operation: 231/11=21, Resulting Numbers: [21, 21]\nGenerated Node #0,12,7: 161:[21, 21] Operation: 231/11=21\nMoving to Node #0,12,7\nCurrent State: 161:[21, 21], Operations: ['147+84=231', '231/11=21']\nExploring Operation: 21+21=42, Resulting Numbers: [42]\n42,161 unequal: No Solution\nMoving to Node #0,12,7\nCurrent State: 161:[21, 21], Operations: ['147+84=231', '231/11=21']\nExploring Operation: 21/21=1, Resulting Numbers: [1]\n1,161 unequal: No Solution\nMoving to Node #0,12,7\nCurrent State: 161:[21, 21], Operations: ['147+84=231', '231/11=21']\nExploring Operation: 21-21=0, Resulting Numbers: [0]\n0,161 unequal: No Solution\nMoving to Node #0,12\nCurrent State: 161:[11, 21, 231], Operations: ['147+84=231']\nExploring Operation: 231/21=11, Resulting Numbers: [11, 11]\nGenerated Node #0,12,8: 161:[11, 11] Operation: 231/21=11\nMoving to Node #0,12,8\nCurrent State: 161:[11, 11], Operations: ['147+84=231', '231/21=11']\nExploring Operation: 11*11=121, Resulting Numbers: [121]\n121,161 unequal: No Solution\nMoving to Node #0,12,8\nCurrent State: 161:[11, 11], Operations: ['147+84=231', '231/21=11']\nExploring Operation: 11+11=22, Resulting Numbers: [22]\n22,161 unequal: No Solution\nMoving to Node #0,12,8\nCurrent State: 161:[11, 11], Operations: ['147+84=231', '231/21=11']\nExploring Operation: 11/11=1, Resulting Numbers: [1]\n1,161 unequal: No Solution\nMoving to Node #0,12,8\nCurrent State: 161:[11, 11], Operations: ['147+84=231', '231/21=11']\nExploring Operation: 11-11=0, Resulting Numbers: [0]\n0,161 unequal: No Solution\nMoving to Node #0\nCurrent State: 161:[11, 147, 84, 21], Operations: []\nExploring Operation: 147/21=7, Resulting Numbers: [11, 84, 7]\nGenerated Node #0,13: 161:[11, 84, 7] Operation: 147/21=7\nMoving to Node #0,13\nCurrent State: 161:[11, 84, 7], Operations: ['147/21=7']\nExploring Operation: 11*7=77, Resulting Numbers: [84, 77]\nGenerated Node #0,13,0: 161:[84, 77] Operation: 11*7=77\nMoving to Node #0,13,0\nCurrent State: 161:[84, 77], Operations: ['147/21=7', '11*7=77']\nExploring Operation: 84+77=161, Resulting Numbers: [161]\n161,161 equal: Goal Reached\nFinal operations:\n147/21=7\n11*7=77\n84+77=161",
"role": "assistant"
}
] |
[
11,
147,
84,
21
] | 161
|
dfs
|
sum_heuristic
| 0.751736
|
[
{
"content": "Given the numbers [137, 164, 100, 98] and the target 110, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 110:[137, 164, 100, 98], Operations: []\nExploring Operation: 164-137=27, Resulting Numbers: [100, 98, 27]\nGenerated Node #0,0: 110:[100, 98, 27] Operation: 164-137=27\nMoving to Node #0,0\nCurrent State: 110:[100, 98, 27], Operations: ['164-137=27']\nExploring Operation: 100-98=2, Resulting Numbers: [27, 2]\nGenerated Node #0,0,0: 110:[27, 2] Operation: 100-98=2\nMoving to Node #0,0,0\nCurrent State: 110:[27, 2], Operations: ['164-137=27', '100-98=2']\nExploring Operation: 27*2=54, Resulting Numbers: [54]\n54,110 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 110:[27, 2], Operations: ['164-137=27', '100-98=2']\nExploring Operation: 27-2=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 110:[27, 2], Operations: ['164-137=27', '100-98=2']\nExploring Operation: 27+2=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[100, 98, 27], Operations: ['164-137=27']\nExploring Operation: 98+27=125, Resulting Numbers: [100, 125]\nGenerated Node #0,0,1: 110:[100, 125] Operation: 98+27=125\nMoving to Node #0,0,1\nCurrent State: 110:[100, 125], Operations: ['164-137=27', '98+27=125']\nExploring Operation: 125-100=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[100, 98, 27], Operations: ['164-137=27']\nExploring Operation: 98-27=71, Resulting Numbers: [100, 71]\nGenerated Node #0,0,2: 110:[100, 71] Operation: 98-27=71\nMoving to Node #0,0,2\nCurrent State: 110:[100, 71], Operations: ['164-137=27', '98-27=71']\nExploring Operation: 100-71=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,0,2\nCurrent State: 110:[100, 71], Operations: ['164-137=27', '98-27=71']\nExploring Operation: 100+71=171, Resulting Numbers: [171]\n171,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[100, 98, 27], Operations: ['164-137=27']\nExploring Operation: 100+27=127, Resulting Numbers: [98, 127]\nGenerated Node #0,0,3: 110:[98, 127] Operation: 100+27=127\nMoving to Node #0,0,3\nCurrent State: 110:[98, 127], Operations: ['164-137=27', '100+27=127']\nExploring Operation: 127-98=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[100, 98, 27], Operations: ['164-137=27']\nExploring Operation: 100-27=73, Resulting Numbers: [98, 73]\nGenerated Node #0,0,4: 110:[98, 73] Operation: 100-27=73\nMoving to Node #0,0,4\nCurrent State: 110:[98, 73], Operations: ['164-137=27', '100-27=73']\nExploring Operation: 98-73=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,0,4\nCurrent State: 110:[98, 73], Operations: ['164-137=27', '100-27=73']\nExploring Operation: 98+73=171, Resulting Numbers: [171]\n171,110 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 110:[100, 98, 27], Operations: ['164-137=27']\nExploring Operation: 100+98=198, Resulting Numbers: [27, 198]\nGenerated Node #0,0,5: 110:[27, 198] Operation: 100+98=198\nMoving to Node #0,0,5\nCurrent State: 110:[27, 198], Operations: ['164-137=27', '100+98=198']\nExploring Operation: 198-27=171, Resulting Numbers: [171]\n171,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[137, 164, 100, 98], Operations: []\nExploring Operation: 164-100=64, Resulting Numbers: [137, 98, 64]\nGenerated Node #0,1: 110:[137, 98, 64] Operation: 164-100=64\nMoving to Node #0,1\nCurrent State: 110:[137, 98, 64], Operations: ['164-100=64']\nExploring Operation: 137-98=39, Resulting Numbers: [64, 39]\nGenerated Node #0,1,0: 110:[64, 39] Operation: 137-98=39\nMoving to Node #0,1,0\nCurrent State: 110:[64, 39], Operations: ['164-100=64', '137-98=39']\nExploring Operation: 64-39=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,1,0\nCurrent State: 110:[64, 39], Operations: ['164-100=64', '137-98=39']\nExploring Operation: 64+39=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[137, 98, 64], Operations: ['164-100=64']\nExploring Operation: 137-64=73, Resulting Numbers: [98, 73]\nGenerated Node #0,1,1: 110:[98, 73] Operation: 137-64=73\nMoving to Node #0,1,1\nCurrent State: 110:[98, 73], Operations: ['164-100=64', '137-64=73']\nExploring Operation: 98-73=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,1,1\nCurrent State: 110:[98, 73], Operations: ['164-100=64', '137-64=73']\nExploring Operation: 98+73=171, Resulting Numbers: [171]\n171,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[137, 98, 64], Operations: ['164-100=64']\nExploring Operation: 98-64=34, Resulting Numbers: [137, 34]\nGenerated Node #0,1,2: 110:[137, 34] Operation: 98-64=34\nMoving to Node #0,1,2\nCurrent State: 110:[137, 34], Operations: ['164-100=64', '98-64=34']\nExploring Operation: 137-34=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0,1,2\nCurrent State: 110:[137, 34], Operations: ['164-100=64', '98-64=34']\nExploring Operation: 137+34=171, Resulting Numbers: [171]\n171,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[137, 98, 64], Operations: ['164-100=64']\nExploring Operation: 98+64=162, Resulting Numbers: [137, 162]\nGenerated Node #0,1,3: 110:[137, 162] Operation: 98+64=162\nMoving to Node #0,1,3\nCurrent State: 110:[137, 162], Operations: ['164-100=64', '98+64=162']\nExploring Operation: 162-137=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 110:[137, 98, 64], Operations: ['164-100=64']\nExploring Operation: 137+64=201, Resulting Numbers: [98, 201]\nGenerated Node #0,1,4: 110:[98, 201] Operation: 137+64=201\nMoving to Node #0,1,4\nCurrent State: 110:[98, 201], Operations: ['164-100=64', '137+64=201']\nExploring Operation: 201-98=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[137, 164, 100, 98], Operations: []\nExploring Operation: 164-98=66, Resulting Numbers: [137, 100, 66]\nGenerated Node #0,2: 110:[137, 100, 66] Operation: 164-98=66\nMoving to Node #0,2\nCurrent State: 110:[137, 100, 66], Operations: ['164-98=66']\nExploring Operation: 137-100=37, Resulting Numbers: [66, 37]\nGenerated Node #0,2,0: 110:[66, 37] Operation: 137-100=37\nMoving to Node #0,2,0\nCurrent State: 110:[66, 37], Operations: ['164-98=66', '137-100=37']\nExploring Operation: 66+37=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0,2,0\nCurrent State: 110:[66, 37], Operations: ['164-98=66', '137-100=37']\nExploring Operation: 66-37=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[137, 100, 66], Operations: ['164-98=66']\nExploring Operation: 137-66=71, Resulting Numbers: [100, 71]\nGenerated Node #0,2,1: 110:[100, 71] Operation: 137-66=71\nMoving to Node #0,2,1\nCurrent State: 110:[100, 71], Operations: ['164-98=66', '137-66=71']\nExploring Operation: 100-71=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,2,1\nCurrent State: 110:[100, 71], Operations: ['164-98=66', '137-66=71']\nExploring Operation: 100+71=171, Resulting Numbers: [171]\n171,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[137, 100, 66], Operations: ['164-98=66']\nExploring Operation: 100-66=34, Resulting Numbers: [137, 34]\nGenerated Node #0,2,2: 110:[137, 34] Operation: 100-66=34\nMoving to Node #0,2,2\nCurrent State: 110:[137, 34], Operations: ['164-98=66', '100-66=34']\nExploring Operation: 137-34=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0,2,2\nCurrent State: 110:[137, 34], Operations: ['164-98=66', '100-66=34']\nExploring Operation: 137+34=171, Resulting Numbers: [171]\n171,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[137, 100, 66], Operations: ['164-98=66']\nExploring Operation: 100+66=166, Resulting Numbers: [137, 166]\nGenerated Node #0,2,3: 110:[137, 166] Operation: 100+66=166\nMoving to Node #0,2,3\nCurrent State: 110:[137, 166], Operations: ['164-98=66', '100+66=166']\nExploring Operation: 166-137=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 110:[137, 100, 66], Operations: ['164-98=66']\nExploring Operation: 137+66=203, Resulting Numbers: [100, 203]\nGenerated Node #0,2,4: 110:[100, 203] Operation: 137+66=203\nMoving to Node #0,2,4\nCurrent State: 110:[100, 203], Operations: ['164-98=66', '137+66=203']\nExploring Operation: 203-100=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[137, 164, 100, 98], Operations: []\nExploring Operation: 137-98=39, Resulting Numbers: [164, 100, 39]\nGenerated Node #0,3: 110:[164, 100, 39] Operation: 137-98=39\nMoving to Node #0,3\nCurrent State: 110:[164, 100, 39], Operations: ['137-98=39']\nExploring Operation: 164-100=64, Resulting Numbers: [39, 64]\nGenerated Node #0,3,0: 110:[39, 64] Operation: 164-100=64\nMoving to Node #0,3,0\nCurrent State: 110:[39, 64], Operations: ['137-98=39', '164-100=64']\nExploring Operation: 64-39=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,3,0\nCurrent State: 110:[39, 64], Operations: ['137-98=39', '164-100=64']\nExploring Operation: 39+64=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[164, 100, 39], Operations: ['137-98=39']\nExploring Operation: 164-39=125, Resulting Numbers: [100, 125]\nGenerated Node #0,3,1: 110:[100, 125] Operation: 164-39=125\nMoving to Node #0,3,1\nCurrent State: 110:[100, 125], Operations: ['137-98=39', '164-39=125']\nExploring Operation: 125-100=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[164, 100, 39], Operations: ['137-98=39']\nExploring Operation: 100-39=61, Resulting Numbers: [164, 61]\nGenerated Node #0,3,2: 110:[164, 61] Operation: 100-39=61\nMoving to Node #0,3,2\nCurrent State: 110:[164, 61], Operations: ['137-98=39', '100-39=61']\nExploring Operation: 164-61=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[164, 100, 39], Operations: ['137-98=39']\nExploring Operation: 100+39=139, Resulting Numbers: [164, 139]\nGenerated Node #0,3,3: 110:[164, 139] Operation: 100+39=139\nMoving to Node #0,3,3\nCurrent State: 110:[164, 139], Operations: ['137-98=39', '100+39=139']\nExploring Operation: 164-139=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,3\nCurrent State: 110:[164, 100, 39], Operations: ['137-98=39']\nExploring Operation: 164+39=203, Resulting Numbers: [100, 203]\nGenerated Node #0,3,4: 110:[100, 203] Operation: 164+39=203\nMoving to Node #0,3,4\nCurrent State: 110:[100, 203], Operations: ['137-98=39', '164+39=203']\nExploring Operation: 203-100=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[137, 164, 100, 98], Operations: []\nExploring Operation: 137-100=37, Resulting Numbers: [164, 98, 37]\nGenerated Node #0,4: 110:[164, 98, 37] Operation: 137-100=37\nMoving to Node #0,4\nCurrent State: 110:[164, 98, 37], Operations: ['137-100=37']\nExploring Operation: 164-98=66, Resulting Numbers: [37, 66]\nGenerated Node #0,4,0: 110:[37, 66] Operation: 164-98=66\nMoving to Node #0,4,0\nCurrent State: 110:[37, 66], Operations: ['137-100=37', '164-98=66']\nExploring Operation: 37+66=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0,4,0\nCurrent State: 110:[37, 66], Operations: ['137-100=37', '164-98=66']\nExploring Operation: 66-37=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[164, 98, 37], Operations: ['137-100=37']\nExploring Operation: 164-37=127, Resulting Numbers: [98, 127]\nGenerated Node #0,4,1: 110:[98, 127] Operation: 164-37=127\nMoving to Node #0,4,1\nCurrent State: 110:[98, 127], Operations: ['137-100=37', '164-37=127']\nExploring Operation: 127-98=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[164, 98, 37], Operations: ['137-100=37']\nExploring Operation: 98-37=61, Resulting Numbers: [164, 61]\nGenerated Node #0,4,2: 110:[164, 61] Operation: 98-37=61\nMoving to Node #0,4,2\nCurrent State: 110:[164, 61], Operations: ['137-100=37', '98-37=61']\nExploring Operation: 164-61=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[164, 98, 37], Operations: ['137-100=37']\nExploring Operation: 98+37=135, Resulting Numbers: [164, 135]\nGenerated Node #0,4,3: 110:[164, 135] Operation: 98+37=135\nMoving to Node #0,4,3\nCurrent State: 110:[164, 135], Operations: ['137-100=37', '98+37=135']\nExploring Operation: 164-135=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,4\nCurrent State: 110:[164, 98, 37], Operations: ['137-100=37']\nExploring Operation: 164+37=201, Resulting Numbers: [98, 201]\nGenerated Node #0,4,4: 110:[98, 201] Operation: 164+37=201\nMoving to Node #0,4,4\nCurrent State: 110:[98, 201], Operations: ['137-100=37', '164+37=201']\nExploring Operation: 201-98=103, Resulting Numbers: [103]\n103,110 unequal: No Solution\nMoving to Node #0\nCurrent State: 110:[137, 164, 100, 98], Operations: []\nExploring Operation: 100-98=2, Resulting Numbers: [137, 164, 2]\nGenerated Node #0,5: 110:[137, 164, 2] Operation: 100-98=2\nMoving to Node #0,5\nCurrent State: 110:[137, 164, 2], Operations: ['100-98=2']\nExploring Operation: 164-137=27, Resulting Numbers: [2, 27]\nGenerated Node #0,5,0: 110:[2, 27] Operation: 164-137=27\nMoving to Node #0,5,0\nCurrent State: 110:[2, 27], Operations: ['100-98=2', '164-137=27']\nExploring Operation: 2*27=54, Resulting Numbers: [54]\n54,110 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 110:[2, 27], Operations: ['100-98=2', '164-137=27']\nExploring Operation: 27-2=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,5,0\nCurrent State: 110:[2, 27], Operations: ['100-98=2', '164-137=27']\nExploring Operation: 2+27=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[137, 164, 2], Operations: ['100-98=2']\nExploring Operation: 164/2=82, Resulting Numbers: [137, 82]\nGenerated Node #0,5,1: 110:[137, 82] Operation: 164/2=82\nMoving to Node #0,5,1\nCurrent State: 110:[137, 82], Operations: ['100-98=2', '164/2=82']\nExploring Operation: 137-82=55, Resulting Numbers: [55]\n55,110 unequal: No Solution\nMoving to Node #0,5,1\nCurrent State: 110:[137, 82], Operations: ['100-98=2', '164/2=82']\nExploring Operation: 137+82=219, Resulting Numbers: [219]\n219,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[137, 164, 2], Operations: ['100-98=2']\nExploring Operation: 137-2=135, Resulting Numbers: [164, 135]\nGenerated Node #0,5,2: 110:[164, 135] Operation: 137-2=135\nMoving to Node #0,5,2\nCurrent State: 110:[164, 135], Operations: ['100-98=2', '137-2=135']\nExploring Operation: 164-135=29, Resulting Numbers: [29]\n29,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[137, 164, 2], Operations: ['100-98=2']\nExploring Operation: 164-2=162, Resulting Numbers: [137, 162]\nGenerated Node #0,5,3: 110:[137, 162] Operation: 164-2=162\nMoving to Node #0,5,3\nCurrent State: 110:[137, 162], Operations: ['100-98=2', '164-2=162']\nExploring Operation: 162-137=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[137, 164, 2], Operations: ['100-98=2']\nExploring Operation: 137+2=139, Resulting Numbers: [164, 139]\nGenerated Node #0,5,4: 110:[164, 139] Operation: 137+2=139\nMoving to Node #0,5,4\nCurrent State: 110:[164, 139], Operations: ['100-98=2', '137+2=139']\nExploring Operation: 164-139=25, Resulting Numbers: [25]\n25,110 unequal: No Solution\nMoving to Node #0,5\nCurrent State: 110:[137, 164, 2], Operations: ['100-98=2']\nExploring Operation: 164+2=166, Resulting Numbers: [137, 166]\nGenerated Node #0,5,5: 110:[137, 166] Operation: 164+2=166\nMoving to Node #0,5,5\nCurrent State: 110:[137, 166], Operations: ['100-98=2', '164+2=166']\nExploring Operation: 166-137=29, Resulting Numbers: [29]\n29,110 unequal: No Solution",
"role": "assistant"
}
] |
[
137,
164,
100,
98
] | 110
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [7, 121, 1, 149] and the target 197, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 197:[7, 121, 1, 149], Operations: []",
"role": "assistant"
}
] |
[
7,
121,
1,
149
] | 197
|
dfs
|
mult_heuristic
| 0
|
[
{
"content": "Given the numbers [37, 4, 121, 87] and the target 67, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 67:[37, 4, 121, 87], Operations: []\nExploring Operation: 37+4=41, Resulting Numbers: [121, 87, 41]\nGenerated Node #0,0: 67:[121, 87, 41] Operation: 37+4=41\nMoving to Node #0,0\nCurrent State: 67:[121, 87, 41], Operations: ['37+4=41']\nExploring Operation: 121-41=80, Resulting Numbers: [87, 80]\nGenerated Node #0,0,0: 67:[87, 80] Operation: 121-41=80\nMoving to Node #0,0,0\nCurrent State: 67:[87, 80], Operations: ['37+4=41', '121-41=80']\nExploring Operation: 87-80=7, Resulting Numbers: [7]\n7,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[121, 87, 41], Operations: ['37+4=41']\nExploring Operation: 121-87=34, Resulting Numbers: [41, 34]\nGenerated Node #0,0,1: 67:[41, 34] Operation: 121-87=34\nMoving to Node #0,0,1\nCurrent State: 67:[41, 34], Operations: ['37+4=41', '121-87=34']\nExploring Operation: 41+34=75, Resulting Numbers: [75]\n75,67 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 67:[41, 34], Operations: ['37+4=41', '121-87=34']\nExploring Operation: 41-34=7, Resulting Numbers: [7]\n7,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[121, 87, 41], Operations: ['37+4=41']\nExploring Operation: 87-41=46, Resulting Numbers: [121, 46]\nGenerated Node #0,0,2: 67:[121, 46] Operation: 87-41=46\nMoving to Node #0,0,2\nCurrent State: 67:[121, 46], Operations: ['37+4=41', '87-41=46']\nExploring Operation: 121-46=75, Resulting Numbers: [75]\n75,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[121, 87, 41], Operations: ['37+4=41']\nExploring Operation: 121+41=162, Resulting Numbers: [87, 162]\nGenerated Node #0,0,3: 67:[87, 162] Operation: 121+41=162\nMoving to Node #0,0,3\nCurrent State: 67:[87, 162], Operations: ['37+4=41', '121+41=162']\nExploring Operation: 162-87=75, Resulting Numbers: [75]\n75,67 unequal: No Solution\nMoving to Node #0,0\nCurrent State: 67:[121, 87, 41], Operations: ['37+4=41']\nExploring Operation: 87+41=128, Resulting Numbers: [121, 128]\nGenerated Node #0,0,4: 67:[121, 128] Operation: 87+41=128\nMoving to Node #0,0,4\nCurrent State: 67:[121, 128], Operations: ['37+4=41', '87+41=128']\nExploring Operation: 128-121=7, Resulting Numbers: [7]\n7,67 unequal: No Solution\nMoving to Node #0\nCurrent State: 67:[37, 4, 121, 87], Operations: []\nExploring Operation: 121-37=84, Resulting Numbers: [4, 87, 84]\nGenerated Node #0,1: 67:[4, 87, 84] Operation: 121-37=84\nMoving to Node #0,1\nCurrent State: 67:[4, 87, 84], Operations: ['121-37=84']\nExploring Operation: 87-4=83, Resulting Numbers: [84, 83]\nGenerated Node #0,1,0: 67:[84, 83] Operation: 87-4=83\nMoving to Node #0,1,0\nCurrent State: 67:[84, 83], Operations: ['121-37=84', '87-4=83']\nExploring Operation: 84-83=1, Resulting Numbers: [1]\n1,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[4, 87, 84], Operations: ['121-37=84']\nExploring Operation: 84-4=80, Resulting Numbers: [87, 80]\nGenerated Node #0,1,1: 67:[87, 80] Operation: 84-4=80\nMoving to Node #0,1,1\nCurrent State: 67:[87, 80], Operations: ['121-37=84', '84-4=80']\nExploring Operation: 87-80=7, Resulting Numbers: [7]\n7,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[4, 87, 84], Operations: ['121-37=84']\nExploring Operation: 4+87=91, Resulting Numbers: [84, 91]\nGenerated Node #0,1,2: 67:[84, 91] Operation: 4+87=91\nMoving to Node #0,1,2\nCurrent State: 67:[84, 91], Operations: ['121-37=84', '4+87=91']\nExploring Operation: 91-84=7, Resulting Numbers: [7]\n7,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[4, 87, 84], Operations: ['121-37=84']\nExploring Operation: 4+84=88, Resulting Numbers: [87, 88]\nGenerated Node #0,1,3: 67:[87, 88] Operation: 4+84=88\nMoving to Node #0,1,3\nCurrent State: 67:[87, 88], Operations: ['121-37=84', '4+84=88']\nExploring Operation: 88-87=1, Resulting Numbers: [1]\n1,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[4, 87, 84], Operations: ['121-37=84']\nExploring Operation: 84/4=21, Resulting Numbers: [87, 21]\nGenerated Node #0,1,4: 67:[87, 21] Operation: 84/4=21\nMoving to Node #0,1,4\nCurrent State: 67:[87, 21], Operations: ['121-37=84', '84/4=21']\nExploring Operation: 87-21=66, Resulting Numbers: [66]\n66,67 unequal: No Solution\nMoving to Node #0,1,4\nCurrent State: 67:[87, 21], Operations: ['121-37=84', '84/4=21']\nExploring Operation: 87+21=108, Resulting Numbers: [108]\n108,67 unequal: No Solution\nMoving to Node #0,1\nCurrent State: 67:[4, 87, 84], Operations: ['121-37=84']\nExploring Operation: 87-84=3, Resulting Numbers: [4, 3]\nGenerated Node #0,1,5: 67:[4, 3] Operation: 87-84=3\nMoving to Node #0,1,5\nCurrent State: 67:[4, 3], Operations: ['121-37=84', '87-84=3']\nExploring Operation: 4*3=12, Resulting Numbers: [12]\n12,67 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 67:[4, 3], Operations: ['121-37=84', '87-84=3']\nExploring Operation: 4+3=7, Resulting Numbers: [7]\n7,67 unequal: No Solution\nMoving to Node #0,1,5\nCurrent State: 67:[4, 3], Operations: ['121-37=84', '87-84=3']\nExploring Operation: 4-3=1, Resulting Numbers: [1]\n1,67 unequal: No Solution\nMoving to Node #0\nCurrent State: 67:[37, 4, 121, 87], Operations: []\nExploring Operation: 121-4=117, Resulting Numbers: [37, 87, 117]\nGenerated Node #0,2: 67:[37, 87, 117] Operation: 121-4=117\nMoving to Node #0,2\nCurrent State: 67:[37, 87, 117], Operations: ['121-4=117']\nExploring Operation: 117-37=80, Resulting Numbers: [87, 80]\nGenerated Node #0,2,0: 67:[87, 80] Operation: 117-37=80\nMoving to Node #0,2,0\nCurrent State: 67:[87, 80], Operations: ['121-4=117', '117-37=80']\nExploring Operation: 87-80=7, Resulting Numbers: [7]\n7,67 unequal: No Solution\nMoving to Node #0,2\nCurrent State: 67:[37, 87, 117], Operations: ['121-4=117']\nExploring Operation: 87-37=50, Resulting Numbers: [117, 50]\nGenerated Node #0,2,1: 67:[117, 50] Operation: 87-37=50\nMoving to Node #0,2,1\nCurrent State: 67:[117, 50], Operations: ['121-4=117', '87-37=50']\nExploring Operation: 117-50=67, Resulting Numbers: [67]\n67,67 equal: Goal Reached\nFinal operations:\n121-4=117\n87-37=50\n117-50=67",
"role": "assistant"
}
] |
[
37,
4,
121,
87
] | 67
|
dfs
|
sum_heuristic
| 0.970486
|
[
{
"content": "Given the numbers [171, 72, 81, 89] and the target 108, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 108:[171, 72, 81, 89], Operations: []\nExploring Operation: 171-81=90, Resulting Numbers: [72, 89, 90]\nGenerated Node #0,0: 108:[72, 89, 90] Operation: 171-81=90\nExploring Operation: 171-72=99, Resulting Numbers: [81, 89, 99]\nGenerated Node #0,1: 108:[81, 89, 99] Operation: 171-72=99\nMoving to Node #0,1\nCurrent State: 108:[81, 89, 99], Operations: ['171-72=99']\nExploring Operation: 81+89=170, Resulting Numbers: [99, 170]\nGenerated Node #0,1,0: 108:[99, 170] Operation: 81+89=170\nExploring Operation: 81+99=180, Resulting Numbers: [89, 180]\nGenerated Node #0,1,1: 108:[89, 180] Operation: 81+99=180\nMoving to Node #0,0\nCurrent State: 108:[72, 89, 90], Operations: ['171-81=90']\nExploring Operation: 72+89=161, Resulting Numbers: [90, 161]\nGenerated Node #0,0,0: 108:[90, 161] Operation: 72+89=161\nExploring Operation: 72+90=162, Resulting Numbers: [89, 162]\nGenerated Node #0,0,1: 108:[89, 162] Operation: 72+90=162\nMoving to Node #0,1,0\nCurrent State: 108:[99, 170], Operations: ['171-72=99', '81+89=170']\nExploring Operation: 99+170=269, Resulting Numbers: [269]\n269,108 unequal: No Solution\nExploring Operation: 170-99=71, Resulting Numbers: [71]\n71,108 unequal: No Solution\nMoving to Node #0,0,0\nCurrent State: 108:[90, 161], Operations: ['171-81=90', '72+89=161']\nExploring Operation: 90+161=251, Resulting Numbers: [251]\n251,108 unequal: No Solution\nExploring Operation: 161-90=71, Resulting Numbers: [71]\n71,108 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 108:[89, 162], Operations: ['171-81=90', '72+90=162']\nExploring Operation: 162-89=73, Resulting Numbers: [73]\n73,108 unequal: No Solution\nExploring Operation: 89+162=251, Resulting Numbers: [251]\n251,108 unequal: No Solution\nMoving to Node #0,1,0,0\nCurrent State: 108:[71], Operations: ['171-72=99', '81+89=170', '170-99=71']\nMoving to Node #0,0,1,0\nCurrent State: 108:[73], Operations: ['171-81=90', '72+90=162', '162-89=73']\nMoving to Node #0,0,0,0\nCurrent State: 108:[71], Operations: ['171-81=90', '72+89=161', '161-90=71']\nMoving to Node #0,1,1\nCurrent State: 108:[89, 180], Operations: ['171-72=99', '81+99=180']\nExploring Operation: 89+180=269, Resulting Numbers: [269]\n269,108 unequal: No Solution\nExploring Operation: 180-89=91, Resulting Numbers: [91]\n91,108 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 108:[251], Operations: ['171-81=90', '72+89=161', '90+161=251']\nMoving to Node #0,1,1,0\nCurrent State: 108:[91], Operations: ['171-72=99', '81+99=180', '180-89=91']\nMoving to Node #0,0,1,0\nCurrent State: 108:[251], Operations: ['171-81=90', '72+90=162', '89+162=251']\nMoving to Node #0,1,0,0\nCurrent State: 108:[269], Operations: ['171-72=99', '81+89=170', '99+170=269']\nMoving to Node #0,1,1,0\nCurrent State: 108:[269], Operations: ['171-72=99', '81+99=180', '89+180=269']",
"role": "assistant"
}
] |
[
171,
72,
81,
89
] | 108
|
bfs_2
|
sum_heuristic
| 0
|
[
{
"content": "Given the numbers [24, 123, 193, 184] and the target 108, find the operations to reach the target.",
"role": "user"
},
{
"content": "Current State: 108:[24, 123, 193, 184], Operations: []\nExploring Operation: 184-24=160, Resulting Numbers: [123, 193, 160]\nGenerated Node #0,0: 108:[123, 193, 160] Operation: 184-24=160\nExploring Operation: 193-24=169, Resulting Numbers: [123, 184, 169]\nGenerated Node #0,1: 108:[123, 184, 169] Operation: 193-24=169\nMoving to Node #0,0\nCurrent State: 108:[123, 193, 160], Operations: ['184-24=160']\nExploring Operation: 193-123=70, Resulting Numbers: [160, 70]\nGenerated Node #0,0,0: 108:[160, 70] Operation: 193-123=70\nExploring Operation: 193-160=33, Resulting Numbers: [123, 33]\nGenerated Node #0,0,1: 108:[123, 33] Operation: 193-160=33\nMoving to Node #0,1\nCurrent State: 108:[123, 184, 169], Operations: ['193-24=169']\nExploring Operation: 184-123=61, Resulting Numbers: [169, 61]\nGenerated Node #0,1,0: 108:[169, 61] Operation: 184-123=61\nExploring Operation: 184-169=15, Resulting Numbers: [123, 15]\nGenerated Node #0,1,1: 108:[123, 15] Operation: 184-169=15\nMoving to Node #0,0,0\nCurrent State: 108:[160, 70], Operations: ['184-24=160', '193-123=70']\nExploring Operation: 160-70=90, Resulting Numbers: [90]\n90,108 unequal: No Solution\nExploring Operation: 160+70=230, Resulting Numbers: [230]\n230,108 unequal: No Solution\nMoving to Node #0,0,1\nCurrent State: 108:[123, 33], Operations: ['184-24=160', '193-160=33']\nExploring Operation: 123+33=156, Resulting Numbers: [156]\n156,108 unequal: No Solution\nExploring Operation: 123-33=90, Resulting Numbers: [90]\n90,108 unequal: No Solution\nMoving to Node #0,0,0,0\nCurrent State: 108:[90], Operations: ['184-24=160', '193-123=70', '160-70=90']\nMoving to Node #0,0,1,0\nCurrent State: 108:[90], Operations: ['184-24=160', '193-160=33', '123-33=90']\nMoving to Node #0,0,1,0\nCurrent State: 108:[156], Operations: ['184-24=160', '193-160=33', '123+33=156']\nMoving to Node #0,1,1\nCurrent State: 108:[123, 15], Operations: ['193-24=169', '184-169=15']\nExploring Operation: 123+15=138, Resulting Numbers: [138]\n138,108 unequal: No Solution\nExploring Operation: 123-15=108, Resulting Numbers: [108]\n108,108 equal: Goal Reached\nFinal operations:\n193-24=169\n184-169=15\n123-15=108",
"role": "assistant"
}
] |
[
24,
123,
193,
184
] | 108
|
bfs_2
|
sum_heuristic
| 0.988715
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.