nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5 values | heuristic stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
[
96,
72,
35,
8
] | 67 | [
"96-72=24",
"35+8=43",
"24+43=67"
] | Current State: 67:[96, 72, 35, 8], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [35, 8, 24]
Generated Node #2: [35, 8, 24] from Operation: 96-72=24
Current State: 67:[35, 8, 24], Operations: ['96-72=24']
Exploring Operation: 35+8=43, Resulting Numbers: [24, 43]
Generated Node #3: [24, 43] from Operation: 35+8=43
Current State: 67:[24, 43], Operations: ['96-72=24', '35+8=43']
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[96, 72, 35, 8], Operations: []
Exploring Operation: 96-8=88, Resulting Numbers: [72, 35, 88]
Generated Node #0,0: 67:[72, 35, 88] Operation: 96-8=88
Moving to Node #0,0
Current State: 67:[72, 35, 88], Operations: ['96-8=88']
Exploring Operation: 88-35=53, Resulting Numbers: [72, 53]
Generated Node #0,0,0: 67:[72, 53] Operation: 88-35=53
Moving to Node #0,0,0
Current State: 67:[72, 53], Operations: ['96-8=88', '88-35=53']
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,67 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
92,
49,
6
] | 23 | [
"92-14=78",
"49+6=55",
"78-55=23"
] | Current State: 23:[14, 92, 49, 6], Operations: []
Exploring Operation: 92-14=78, Resulting Numbers: [49, 6, 78]
Generated Node #2: [49, 6, 78] from Operation: 92-14=78
Current State: 23:[49, 6, 78], Operations: ['92-14=78']
Exploring Operation: 49+6=55, Resulting Numbers: [78, 55]
Generated Node #3: [78, 55] from Operation: 49+6=55
Current State: 23:[78, 55], Operations: ['92-14=78', '49+6=55']
Exploring Operation: 78-55=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[14, 92, 49, 6], Operations: []
Exploring Operation: 49-14=35, Resulting Numbers: [92, 6, 35]
Generated Node #0,0: 23:[92, 6, 35] Operation: 49-14=35
Exploring Operation: 92-14=78, Resulting Numbers: [49, 6, 78]
Generated Node #0,1: 23:[49, 6, 78] Operation: 92-14=78
Exploring Operation: 92-49=43, Resulting Numbers: [14, 6, 43]
Generated Node #0,2: 23:[14, 6, 43] Operation: 92-49=43
Exploring Operation: 14+6=20, Resulting Numbers: [92, 49, 20]
Generated Node #0,3: 23:[92, 49, 20] Operation: 14+6=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[14, 6, 43], Operations: ['92-49=43']
Exploring Operation: 43-6=37, Resulting Numbers: [14, 37]
Generated Node #0,2,0: 23:[14, 37] Operation: 43-6=37
Exploring Operation: 14+6=20, Resulting Numbers: [43, 20]
Generated Node #0,2,1: 23:[43, 20] Operation: 14+6=20
Exploring Operation: 14-6=8, Resulting Numbers: [43, 8]
Generated Node #0,2,2: 23:[43, 8] Operation: 14-6=8
Exploring Operation: 43-14=29, Resulting Numbers: [6, 29]
Generated Node #0,2,3: 23:[6, 29] Operation: 43-14=29
Moving to Node #0,2,0
Current State: 23:[14, 37], Operations: ['92-49=43', '43-6=37']
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,23 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[14, 92, 49, 6], Operations: []
Exploring Operation: 92-49=43, Resulting Numbers: [14, 6, 43]
Generated Node #0,2: 23:[14, 6, 43] Operation: 92-49=43
Moving to Node #0,2
Current State: 23:[14, 6, 43], Operations: ['92-49=43']
Exploring Operation: 43-6=37, Resulting Numbers: [14, 37]
Generated Node #0,2,0: 23:[14, 37] Operation: 43-6=37
Moving to Node #0,2,0
Current State: 23:[14, 37], Operations: ['92-49=43', '43-6=37']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
6,
69,
10,
44
] | 74 | [
"6+44=50",
"50/10=5",
"69+5=74"
] | Current State: 74:[6, 69, 10, 44], Operations: []
Exploring Operation: 6+44=50, Resulting Numbers: [69, 10, 50]
Generated Node #2: [69, 10, 50] from Operation: 6+44=50
Current State: 74:[69, 10, 50], Operations: ['6+44=50']
Exploring Operation: 50/10=5, Resulting Numbers: [69, 5]
Generated Node #3: [69, 5] from Operation: 50/10=5
Current State: 74:[69, 5], Operations: ['6+44=50', '50/10=5']
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[6, 69, 10, 44], Operations: []
Exploring Operation: 10-6=4, Resulting Numbers: [69, 44, 4]
Generated Node #0,0: 74:[69, 44, 4] Operation: 10-6=4
Exploring Operation: 44-10=34, Resulting Numbers: [6, 69, 34]
Generated Node #0,1: 74:[6, 69, 34] Operation: 44-10=34
Exploring Operation: 44-6=38, Resulting Numbers: [69, 10, 38]
Generated Node #0,2: 74:[69, 10, 38] Operation: 44-6=38
Moving to Node #0,1
Current State: 74:[6, 69, 34], Operations: ['44-10=34']
Exploring Operation: 6+34=40, Resulting Numbers: [69, 40]
Generated Node #0,1,0: 74:[69, 40] Operation: 6+34=40
Exploring Operation: 6+69=75, Resulting Numbers: [34, 75]
Generated Node #0,1,1: 74:[34, 75] Operation: 6+69=75
Exploring Operation: 69-34=35, Resulting Numbers: [6, 35]
Generated Node #0,1,2: 74:[6, 35] Operation: 69-34=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[34, 75], Operations: ['44-10=34', '6+69=75']
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 34*75=2550, Resulting Numbers: [2550]
2550,74 unequal: No Solution
Exploring Operation: 34+75=109, Resulting Numbers: [109]
109,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[6, 35], Operations: ['44-10=34', '69-34=35']
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,74 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[69, 40], Operations: ['44-10=34', '6+34=40']
Exploring Operation: 69*40=2760, Resulting Numbers: [2760]
2760,74 unequal: No Solution
Exploring Operation: 69+40=109, Resulting Numbers: [109]
109,74 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 74:[69, 44, 4], Operations: ['10-6=4']
Exploring Operation: 69+4=73, Resulting Numbers: [44, 73]
Generated Node #0,0,0: 74:[44, 73] Operation: 69+4=73
Exploring Operation: 69-44=25, Resulting Numbers: [4, 25]
Generated Node #0,0,1: 74:[4, 25] Operation: 69-44=25
Exploring Operation: 44-4=40, Resulting Numbers: [69, 40]
Generated Node #0,0,2: 74:[69, 40] Operation: 44-4=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[44, 73], Operations: ['10-6=4', '69+4=73']
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 44*73=3212, Resulting Numbers: [3212]
3212,74 unequal: No Solution
Exploring Operation: 44+73=117, Resulting Numbers: [117]
117,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[69, 40], Operations: ['10-6=4', '44-4=40']
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 69*40=2760, Resulting Numbers: [2760]
2760,74 unequal: No Solution
Exploring Operation: 69+40=109, Resulting Numbers: [109]
109,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[4, 25], Operations: ['10-6=4', '69-44=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 74:[69, 10, 38], Operations: ['44-6=38']
Exploring Operation: 69+10=79, Resulting Numbers: [38, 79]
Generated Node #0,2,0: 74:[38, 79] Operation: 69+10=79
Exploring Operation: 69-38=31, Resulting Numbers: [10, 31]
Generated Node #0,2,1: 74:[10, 31] Operation: 69-38=31
Exploring Operation: 38-10=28, Resulting Numbers: [69, 28]
Generated Node #0,2,2: 74:[69, 28] Operation: 38-10=28
Moving to Node #0,2,0
Current State: 74:[38, 79], Operations: ['44-6=38', '69+10=79']
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 38+79=117, Resulting Numbers: [117]
117,74 unequal: No Solution
Exploring Operation: 38*79=3002, Resulting Numbers: [3002]
3002,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[10, 31], Operations: ['44-6=38', '69-38=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[69, 28], Operations: ['44-6=38', '38-10=28']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,74 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
52,
3,
84,
27
] | 69 | [
"84-52=32",
"3*32=96",
"96-27=69"
] | Current State: 69:[52, 3, 84, 27], Operations: []
Exploring Operation: 84-52=32, Resulting Numbers: [3, 27, 32]
Generated Node #2: [3, 27, 32] from Operation: 84-52=32
Current State: 69:[3, 27, 32], Operations: ['84-52=32']
Exploring Operation: 3*32=96, Resulting Numbers: [27, 96]
Generated Node #3: [27, 96] from Operation: 3*32=96
Current State: 69:[27, 96], Operations: ['84-52=32', '3*32=96']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[52, 3, 84, 27], Operations: []
Exploring Operation: 52-27=25, Resulting Numbers: [3, 84, 25]
Generated Node #0,0: 69:[3, 84, 25] Operation: 52-27=25
Exploring Operation: 84-52=32, Resulting Numbers: [3, 27, 32]
Generated Node #0,1: 69:[3, 27, 32] Operation: 84-52=32
Exploring Operation: 52+27=79, Resulting Numbers: [3, 84, 79]
Generated Node #0,2: 69:[3, 84, 79] Operation: 52+27=79
Moving to Node #0,1
Current State: 69:[3, 27, 32], Operations: ['84-52=32']
Exploring Operation: 27-3=24, Resulting Numbers: [32, 24]
Generated Node #0,1,0: 69:[32, 24] Operation: 27-3=24
Exploring Operation: 32-27=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 69:[3, 5] Operation: 32-27=5
Exploring Operation: 32-3=29, Resulting Numbers: [27, 29]
Generated Node #0,1,2: 69:[27, 29] Operation: 32-3=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[3, 5], Operations: ['84-52=32', '32-27=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[32, 24], Operations: ['84-52=32', '27-3=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 69:[27, 29], Operations: ['84-52=32', '32-3=29']
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 69:[3, 84, 25], Operations: ['52-27=25']
Exploring Operation: 84-3=81, Resulting Numbers: [25, 81]
Generated Node #0,0,0: 69:[25, 81] Operation: 84-3=81
Exploring Operation: 84/3=28, Resulting Numbers: [25, 28]
Generated Node #0,0,1: 69:[25, 28] Operation: 84/3=28
Exploring Operation: 84-25=59, Resulting Numbers: [3, 59]
Generated Node #0,0,2: 69:[3, 59] Operation: 84-25=59
Moving to Node #0,2
Current State: 69:[3, 84, 79], Operations: ['52+27=79']
Exploring Operation: 84-79=5, Resulting Numbers: [3, 5]
Generated Node #0,2,0: 69:[3, 5] Operation: 84-79=5
Exploring Operation: 84/3=28, Resulting Numbers: [79, 28]
Generated Node #0,2,1: 69:[79, 28] Operation: 84/3=28
Exploring Operation: 84-3=81, Resulting Numbers: [79, 81]
Generated Node #0,2,2: 69:[79, 81] Operation: 84-3=81
Moving to Node #0,2,0
Current State: 69:[3, 5], Operations: ['52+27=79', '84-79=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[25, 28], Operations: ['52-27=25', '84/3=28']
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,69 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[3, 59], Operations: ['52-27=25', '84-25=59']
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,69 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[25, 81], Operations: ['52-27=25', '84-3=81']
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 25*81=2025, Resulting Numbers: [2025]
2025,69 unequal: No Solution
Exploring Operation: 25+81=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[79, 28], Operations: ['52+27=79', '84/3=28']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 79*28=2212, Resulting Numbers: [2212]
2212,69 unequal: No Solution
Exploring Operation: 79+28=107, Resulting Numbers: [107]
107,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[79, 81], Operations: ['52+27=79', '84-3=81']
Exploring Operation: 79*81=6399, Resulting Numbers: [6399]
6399,69 unequal: No Solution
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 79+81=160, Resulting Numbers: [160]
160,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
46,
2,
25,
43
] | 10 | [
"43-25=18",
"2*18=36",
"46-36=10"
] | Current State: 10:[46, 2, 25, 43], Operations: []
Exploring Operation: 43-25=18, Resulting Numbers: [46, 2, 18]
Generated Node #2: [46, 2, 18] from Operation: 43-25=18
Current State: 10:[46, 2, 18], Operations: ['43-25=18']
Exploring Operation: 2*18=36, Resulting Numbers: [46, 36]
Generated Node #3: [46, 36] from Operation: 2*18=36
Current State: 10:[46, 36], Operations: ['43-25=18', '2*18=36']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[46, 2, 25, 43], Operations: []
Exploring Operation: 43-25=18, Resulting Numbers: [46, 2, 18]
Generated Node #0,0: 10:[46, 2, 18] Operation: 43-25=18
Exploring Operation: 46/2=23, Resulting Numbers: [25, 43, 23]
Generated Node #0,1: 10:[25, 43, 23] Operation: 46/2=23
Exploring Operation: 46-43=3, Resulting Numbers: [2, 25, 3]
Generated Node #0,2: 10:[2, 25, 3] Operation: 46-43=3
Exploring Operation: 46-25=21, Resulting Numbers: [2, 43, 21]
Generated Node #0,3: 10:[2, 43, 21] Operation: 46-25=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[2, 25, 3], Operations: ['46-43=3']
Exploring Operation: 2*3=6, Resulting Numbers: [25, 6]
Generated Node #0,2,0: 10:[25, 6] Operation: 2*3=6
Exploring Operation: 25-2=23, Resulting Numbers: [3, 23]
Generated Node #0,2,1: 10:[3, 23] Operation: 25-2=23
Exploring Operation: 2+3=5, Resulting Numbers: [25, 5]
Generated Node #0,2,2: 10:[25, 5] Operation: 2+3=5
Exploring Operation: 25-3=22, Resulting Numbers: [2, 22]
Generated Node #0,2,3: 10:[2, 22] Operation: 25-3=22
Moving to Node #0,2,3
Current State: 10:[2, 22], Operations: ['46-43=3', '25-3=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[3, 23], Operations: ['46-43=3', '25-2=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[25, 5], Operations: ['46-43=3', '2+3=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[25, 6], Operations: ['46-43=3', '2*3=6']
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,10 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[46, 2, 18], Operations: ['43-25=18']
Exploring Operation: 46-2=44, Resulting Numbers: [18, 44]
Generated Node #0,0,0: 10:[18, 44] Operation: 46-2=44
Exploring Operation: 46-18=28, Resulting Numbers: [2, 28]
Generated Node #0,0,1: 10:[2, 28] Operation: 46-18=28
Exploring Operation: 18/2=9, Resulting Numbers: [46, 9]
Generated Node #0,0,2: 10:[46, 9] Operation: 18/2=9
Exploring Operation: 46/2=23, Resulting Numbers: [18, 23]
Generated Node #0,0,3: 10:[18, 23] Operation: 46/2=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[2, 28], Operations: ['43-25=18', '46-18=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 10:[18, 23], Operations: ['43-25=18', '46/2=23']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[46, 9], Operations: ['43-25=18', '18/2=9']
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,10 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[18, 44], Operations: ['43-25=18', '46-2=44']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 18*44=792, Resulting Numbers: [792]
792,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[2, 43, 21], Operations: ['46-25=21']
Exploring Operation: 43-2=41, Resulting Numbers: [21, 41]
Generated Node #0,3,0: 10:[21, 41] Operation: 43-2=41
Exploring Operation: 21-2=19, Resulting Numbers: [43, 19]
Generated Node #0,3,1: 10:[43, 19] Operation: 21-2=19
Exploring Operation: 2+43=45, Resulting Numbers: [21, 45]
Generated Node #0,3,2: 10:[21, 45] Operation: 2+43=45
Exploring Operation: 43-21=22, Resulting Numbers: [2, 22]
Generated Node #0,3,3: 10:[2, 22] Operation: 43-21=22
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 10:[2, 22], Operations: ['46-25=21', '43-21=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 10:[21, 41], Operations: ['46-25=21', '43-2=41']
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,10 unequal: No Solution
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 10:[43, 19], Operations: ['46-25=21', '21-2=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,10 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 10:[21, 45], Operations: ['46-25=21', '2+43=45']
Exploring Operation: 21*45=945, Resulting Numbers: [945]
945,10 unequal: No Solution
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[25, 43, 23], Operations: ['46/2=23']
Exploring Operation: 25-23=2, Resulting Numbers: [43, 2]
Generated Node #0,1,0: 10:[43, 2] Operation: 25-23=2
Exploring Operation: 43-23=20, Resulting Numbers: [25, 20]
Generated Node #0,1,1: 10:[25, 20] Operation: 43-23=20
Exploring Operation: 43-25=18, Resulting Numbers: [23, 18]
Generated Node #0,1,2: 10:[23, 18] Operation: 43-25=18
Exploring Operation: 25+43=68, Resulting Numbers: [23, 68]
Generated Node #0,1,3: 10:[23, 68] Operation: 25+43=68
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[23, 18], Operations: ['46/2=23', '43-25=18']
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,10 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[25, 20], Operations: ['46/2=23', '43-23=20']
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,10 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[43, 2], Operations: ['46/2=23', '25-23=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 10:[23, 68], Operations: ['46/2=23', '25+43=68']
Exploring Operation: 23*68=1564, Resulting Numbers: [1564]
1564,10 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 23+68=91, Resulting Numbers: [91]
91,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
52,
94,
5,
22
] | 25 | [
"94-52=42",
"22-5=17",
"42-17=25"
] | Current State: 25:[52, 94, 5, 22], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [5, 22, 42]
Generated Node #2: [5, 22, 42] from Operation: 94-52=42
Current State: 25:[5, 22, 42], Operations: ['94-52=42']
Exploring Operation: 22-5=17, Resulting Numbers: [42, 17]
Generated Node #3: [42, 17] from Operation: 22-5=17
Current State: 25:[42, 17], Operations: ['94-52=42', '22-5=17']
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[52, 94, 5, 22], Operations: []
Exploring Operation: 94-22=72, Resulting Numbers: [52, 5, 72]
Generated Node #0,0: 25:[52, 5, 72] Operation: 94-22=72
Exploring Operation: 52-22=30, Resulting Numbers: [94, 5, 30]
Generated Node #0,1: 25:[94, 5, 30] Operation: 52-22=30
Exploring Operation: 94-52=42, Resulting Numbers: [5, 22, 42]
Generated Node #0,2: 25:[5, 22, 42] Operation: 94-52=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[5, 22, 42], Operations: ['94-52=42']
Exploring Operation: 42-5=37, Resulting Numbers: [22, 37]
Generated Node #0,2,0: 25:[22, 37] Operation: 42-5=37
Exploring Operation: 5+22=27, Resulting Numbers: [42, 27]
Generated Node #0,2,1: 25:[42, 27] Operation: 5+22=27
Exploring Operation: 42-22=20, Resulting Numbers: [5, 20]
Generated Node #0,2,2: 25:[5, 20] Operation: 42-22=20
Moving to Node #0,2,2
Current State: 25:[5, 20], Operations: ['94-52=42', '42-22=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[52, 94, 5, 22], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [5, 22, 42]
Generated Node #0,2: 25:[5, 22, 42] Operation: 94-52=42
Moving to Node #0,2
Current State: 25:[5, 22, 42], Operations: ['94-52=42']
Exploring Operation: 42-22=20, Resulting Numbers: [5, 20]
Generated Node #0,2,2: 25:[5, 20] Operation: 42-22=20
Moving to Node #0,2,2
Current State: 25:[5, 20], Operations: ['94-52=42', '42-22=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
21,
67,
35,
46
] | 57 | [
"67-21=46",
"46-35=11",
"46+11=57"
] | Current State: 57:[21, 67, 35, 46], Operations: []
Exploring Operation: 67-21=46, Resulting Numbers: [35, 46, 46]
Generated Node #2: [35, 46, 46] from Operation: 67-21=46
Current State: 57:[35, 46, 46], Operations: ['67-21=46']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,57 equal: Goal Reached
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[21, 67, 35, 46], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [21, 35, 21]
Generated Node #0,0: 57:[21, 35, 21] Operation: 67-46=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[21, 35, 21], Operations: ['67-46=21']
Exploring Operation: 21+35=56, Resulting Numbers: [21, 56]
Generated Node #0,0,0: 57:[21, 56] Operation: 21+35=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[21, 56], Operations: ['67-46=21', '21+35=56']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
35,
88,
10
] | 62 | [
"51-35=16",
"88-10=78",
"78-16=62"
] | Current State: 62:[51, 35, 88, 10], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [88, 10, 16]
Generated Node #2: [88, 10, 16] from Operation: 51-35=16
Current State: 62:[88, 10, 16], Operations: ['51-35=16']
Exploring Operation: 88-10=78, Resulting Numbers: [16, 78]
Generated Node #3: [16, 78] from Operation: 88-10=78
Current State: 62:[16, 78], Operations: ['51-35=16', '88-10=78']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[51, 35, 88, 10], Operations: []
Exploring Operation: 51-10=41, Resulting Numbers: [35, 88, 41]
Generated Node #0,0: 62:[35, 88, 41] Operation: 51-10=41
Exploring Operation: 88-35=53, Resulting Numbers: [51, 10, 53]
Generated Node #0,1: 62:[51, 10, 53] Operation: 88-35=53
Exploring Operation: 88-51=37, Resulting Numbers: [35, 10, 37]
Generated Node #0,2: 62:[35, 10, 37] Operation: 88-51=37
Exploring Operation: 88-10=78, Resulting Numbers: [51, 35, 78]
Generated Node #0,3: 62:[51, 35, 78] Operation: 88-10=78
Exploring Operation: 51+10=61, Resulting Numbers: [35, 88, 61]
Generated Node #0,4: 62:[35, 88, 61] Operation: 51+10=61
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[35, 10, 37], Operations: ['88-51=37']
Exploring Operation: 35+37=72, Resulting Numbers: [10, 72]
Generated Node #0,2,0: 62:[10, 72] Operation: 35+37=72
Exploring Operation: 35-10=25, Resulting Numbers: [37, 25]
Generated Node #0,2,1: 62:[37, 25] Operation: 35-10=25
Exploring Operation: 10+37=47, Resulting Numbers: [35, 47]
Generated Node #0,2,2: 62:[35, 47] Operation: 10+37=47
Exploring Operation: 37-10=27, Resulting Numbers: [35, 27]
Generated Node #0,2,3: 62:[35, 27] Operation: 37-10=27
Exploring Operation: 37-35=2, Resulting Numbers: [10, 2]
Generated Node #0,2,4: 62:[10, 2] Operation: 37-35=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 62:[35, 27], Operations: ['88-51=37', '37-10=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[51, 35, 88, 10], Operations: []
Exploring Operation: 88-51=37, Resulting Numbers: [35, 10, 37]
Generated Node #0,2: 62:[35, 10, 37] Operation: 88-51=37
Moving to Node #0,2
Current State: 62:[35, 10, 37], Operations: ['88-51=37']
Exploring Operation: 37-10=27, Resulting Numbers: [35, 27]
Generated Node #0,2,3: 62:[35, 27] Operation: 37-10=27
Moving to Node #0,2,3
Current State: 62:[35, 27], Operations: ['88-51=37', '37-10=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
59,
31,
56,
6
] | 93 | [
"59-56=3",
"6-3=3",
"31*3=93"
] | Current State: 93:[59, 31, 56, 6], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [31, 6, 3]
Generated Node #2: [31, 6, 3] from Operation: 59-56=3
Current State: 93:[31, 6, 3], Operations: ['59-56=3']
Exploring Operation: 6-3=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 6-3=3
Current State: 93:[31, 3], Operations: ['59-56=3', '6-3=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[59, 31, 56, 6], Operations: []
Exploring Operation: 59+31=90, Resulting Numbers: [56, 6, 90]
Generated Node #0,0: 93:[56, 6, 90] Operation: 59+31=90
Exploring Operation: 59-56=3, Resulting Numbers: [31, 6, 3]
Generated Node #0,1: 93:[31, 6, 3] Operation: 59-56=3
Exploring Operation: 59-31=28, Resulting Numbers: [56, 6, 28]
Generated Node #0,2: 93:[56, 6, 28] Operation: 59-31=28
Exploring Operation: 59+56=115, Resulting Numbers: [31, 6, 115]
Generated Node #0,3: 93:[31, 6, 115] Operation: 59+56=115
Moving to Node #0,1
Current State: 93:[31, 6, 3], Operations: ['59-56=3']
Exploring Operation: 6/3=2, Resulting Numbers: [31, 2]
Generated Node #0,1,0: 93:[31, 2] Operation: 6/3=2
Exploring Operation: 31*3=93, Resulting Numbers: [6, 93]
Generated Node #0,1,1: 93:[6, 93] Operation: 31*3=93
Exploring Operation: 6-3=3, Resulting Numbers: [31, 3]
Generated Node #0,1,2: 93:[31, 3] Operation: 6-3=3
Exploring Operation: 31+6=37, Resulting Numbers: [3, 37]
Generated Node #0,1,3: 93:[3, 37] Operation: 31+6=37
Moving to Node #0,3
Current State: 93:[31, 6, 115], Operations: ['59+56=115']
Exploring Operation: 31+6=37, Resulting Numbers: [115, 37]
Generated Node #0,3,0: 93:[115, 37] Operation: 31+6=37
Exploring Operation: 115-31=84, Resulting Numbers: [6, 84]
Generated Node #0,3,1: 93:[6, 84] Operation: 115-31=84
Exploring Operation: 31-6=25, Resulting Numbers: [115, 25]
Generated Node #0,3,2: 93:[115, 25] Operation: 31-6=25
Exploring Operation: 115-6=109, Resulting Numbers: [31, 109]
Generated Node #0,3,3: 93:[31, 109] Operation: 115-6=109
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[6, 84], Operations: ['59+56=115', '115-31=84']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 6*84=504, Resulting Numbers: [504]
504,93 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,93 unequal: No Solution
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[31, 109], Operations: ['59+56=115', '115-6=109']
Exploring Operation: 31+109=140, Resulting Numbers: [140]
140,93 unequal: No Solution
Exploring Operation: 109-31=78, Resulting Numbers: [78]
78,93 unequal: No Solution
Exploring Operation: 31*109=3379, Resulting Numbers: [3379]
3379,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[115, 37], Operations: ['59+56=115', '31+6=37']
Exploring Operation: 115-37=78, Resulting Numbers: [78]
78,93 unequal: No Solution
Exploring Operation: 115*37=4255, Resulting Numbers: [4255]
4255,93 unequal: No Solution
Exploring Operation: 115+37=152, Resulting Numbers: [152]
152,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[115, 25], Operations: ['59+56=115', '31-6=25']
Exploring Operation: 115*25=2875, Resulting Numbers: [2875]
2875,93 unequal: No Solution
Exploring Operation: 115-25=90, Resulting Numbers: [90]
90,93 unequal: No Solution
Exploring Operation: 115+25=140, Resulting Numbers: [140]
140,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 93:[56, 6, 28], Operations: ['59-31=28']
Exploring Operation: 56-6=50, Resulting Numbers: [28, 50]
Generated Node #0,2,0: 93:[28, 50] Operation: 56-6=50
Exploring Operation: 56+28=84, Resulting Numbers: [6, 84]
Generated Node #0,2,1: 93:[6, 84] Operation: 56+28=84
Exploring Operation: 56-28=28, Resulting Numbers: [6, 28]
Generated Node #0,2,2: 93:[6, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [6, 2]
Generated Node #0,2,3: 93:[6, 2] Operation: 56/28=2
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[6, 2], Operations: ['59-31=28', '56/28=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[6, 28], Operations: ['59-31=28', '56-28=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[6, 84], Operations: ['59-31=28', '56+28=84']
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,93 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 6*84=504, Resulting Numbers: [504]
504,93 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[28, 50], Operations: ['59-31=28', '56-6=50']
Exploring Operation: 28+50=78, Resulting Numbers: [78]
78,93 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 28*50=1400, Resulting Numbers: [1400]
1400,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 93:[56, 6, 90], Operations: ['59+31=90']
Exploring Operation: 56+6=62, Resulting Numbers: [90, 62]
Generated Node #0,0,0: 93:[90, 62] Operation: 56+6=62
Exploring Operation: 90-56=34, Resulting Numbers: [6, 34]
Generated Node #0,0,1: 93:[6, 34] Operation: 90-56=34
Exploring Operation: 6+90=96, Resulting Numbers: [56, 96]
Generated Node #0,0,2: 93:[56, 96] Operation: 6+90=96
Exploring Operation: 56-6=50, Resulting Numbers: [90, 50]
Generated Node #0,0,3: 93:[90, 50] Operation: 56-6=50
Moving to Node #0,1,2
Current State: 93:[31, 3], Operations: ['59-56=3', '6-3=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[59, 31, 56, 6], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [31, 6, 3]
Generated Node #0,1: 93:[31, 6, 3] Operation: 59-56=3
Moving to Node #0,1
Current State: 93:[31, 6, 3], Operations: ['59-56=3']
Exploring Operation: 6-3=3, Resulting Numbers: [31, 3]
Generated Node #0,1,2: 93:[31, 3] Operation: 6-3=3
Moving to Node #0,1,2
Current State: 93:[31, 3], Operations: ['59-56=3', '6-3=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.953125 | hs_4 | sum_heuristic |
[
69,
81,
3,
2
] | 73 | [
"69*2=138",
"81+138=219",
"219/3=73"
] | Current State: 73:[69, 81, 3, 2], Operations: []
Exploring Operation: 69*2=138, Resulting Numbers: [81, 3, 138]
Generated Node #2: [81, 3, 138] from Operation: 69*2=138
Current State: 73:[81, 3, 138], Operations: ['69*2=138']
Exploring Operation: 81+138=219, Resulting Numbers: [3, 219]
Generated Node #3: [3, 219] from Operation: 81+138=219
Current State: 73:[3, 219], Operations: ['69*2=138', '81+138=219']
Exploring Operation: 219/3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[69, 81, 3, 2], Operations: []
Exploring Operation: 3*2=6, Resulting Numbers: [69, 81, 6]
Generated Node #0,0: 73:[69, 81, 6] Operation: 3*2=6
Exploring Operation: 69+2=71, Resulting Numbers: [81, 3, 71]
Generated Node #0,1: 73:[81, 3, 71] Operation: 69+2=71
Exploring Operation: 81-3=78, Resulting Numbers: [69, 2, 78]
Generated Node #0,2: 73:[69, 2, 78] Operation: 81-3=78
Exploring Operation: 69+3=72, Resulting Numbers: [81, 2, 72]
Generated Node #0,3: 73:[81, 2, 72] Operation: 69+3=72
Moving to Node #0,0
Current State: 73:[69, 81, 6], Operations: ['3*2=6']
Exploring Operation: 81+6=87, Resulting Numbers: [69, 87]
Generated Node #0,0,0: 73:[69, 87] Operation: 81+6=87
Exploring Operation: 69+6=75, Resulting Numbers: [81, 75]
Generated Node #0,0,1: 73:[81, 75] Operation: 69+6=75
Exploring Operation: 69-6=63, Resulting Numbers: [81, 63]
Generated Node #0,0,2: 73:[81, 63] Operation: 69-6=63
Exploring Operation: 81-6=75, Resulting Numbers: [69, 75]
Generated Node #0,0,3: 73:[69, 75] Operation: 81-6=75
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[69, 75], Operations: ['3*2=6', '81-6=75']
Exploring Operation: 69+75=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 69*75=5175, Resulting Numbers: [5175]
5175,73 unequal: No Solution
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[81, 75], Operations: ['3*2=6', '69+6=75']
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 81*75=6075, Resulting Numbers: [6075]
6075,73 unequal: No Solution
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[69, 87], Operations: ['3*2=6', '81+6=87']
Exploring Operation: 69*87=6003, Resulting Numbers: [6003]
6003,73 unequal: No Solution
Exploring Operation: 69+87=156, Resulting Numbers: [156]
156,73 unequal: No Solution
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[81, 63], Operations: ['3*2=6', '69-6=63']
Exploring Operation: 81*63=5103, Resulting Numbers: [5103]
5103,73 unequal: No Solution
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 81+63=144, Resulting Numbers: [144]
144,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 73:[69, 2, 78], Operations: ['81-3=78']
Exploring Operation: 78-2=76, Resulting Numbers: [69, 76]
Generated Node #0,2,0: 73:[69, 76] Operation: 78-2=76
Exploring Operation: 69-2=67, Resulting Numbers: [78, 67]
Generated Node #0,2,1: 73:[78, 67] Operation: 69-2=67
Exploring Operation: 2+78=80, Resulting Numbers: [69, 80]
Generated Node #0,2,2: 73:[69, 80] Operation: 2+78=80
Exploring Operation: 69+2=71, Resulting Numbers: [78, 71]
Generated Node #0,2,3: 73:[78, 71] Operation: 69+2=71
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[69, 76], Operations: ['81-3=78', '78-2=76']
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 69*76=5244, Resulting Numbers: [5244]
5244,73 unequal: No Solution
Exploring Operation: 69+76=145, Resulting Numbers: [145]
145,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[78, 71], Operations: ['81-3=78', '69+2=71']
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 78*71=5538, Resulting Numbers: [5538]
5538,73 unequal: No Solution
Exploring Operation: 78+71=149, Resulting Numbers: [149]
149,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[78, 67], Operations: ['81-3=78', '69-2=67']
Exploring Operation: 78+67=145, Resulting Numbers: [145]
145,73 unequal: No Solution
Exploring Operation: 78*67=5226, Resulting Numbers: [5226]
5226,73 unequal: No Solution
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[69, 80], Operations: ['81-3=78', '2+78=80']
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 69*80=5520, Resulting Numbers: [5520]
5520,73 unequal: No Solution
Exploring Operation: 69+80=149, Resulting Numbers: [149]
149,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[81, 3, 71], Operations: ['69+2=71']
Exploring Operation: 71-3=68, Resulting Numbers: [81, 68]
Generated Node #0,1,0: 73:[81, 68] Operation: 71-3=68
Exploring Operation: 81-3=78, Resulting Numbers: [71, 78]
Generated Node #0,1,1: 73:[71, 78] Operation: 81-3=78
Exploring Operation: 3+71=74, Resulting Numbers: [81, 74]
Generated Node #0,1,2: 73:[81, 74] Operation: 3+71=74
Exploring Operation: 81+3=84, Resulting Numbers: [71, 84]
Generated Node #0,1,3: 73:[71, 84] Operation: 81+3=84
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[71, 78], Operations: ['69+2=71', '81-3=78']
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 71*78=5538, Resulting Numbers: [5538]
5538,73 unequal: No Solution
Exploring Operation: 71+78=149, Resulting Numbers: [149]
149,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[81, 74], Operations: ['69+2=71', '3+71=74']
Exploring Operation: 81+74=155, Resulting Numbers: [155]
155,73 unequal: No Solution
Exploring Operation: 81*74=5994, Resulting Numbers: [5994]
5994,73 unequal: No Solution
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[81, 68], Operations: ['69+2=71', '71-3=68']
Exploring Operation: 81+68=149, Resulting Numbers: [149]
149,73 unequal: No Solution
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Exploring Operation: 81*68=5508, Resulting Numbers: [5508]
5508,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[71, 84], Operations: ['69+2=71', '81+3=84']
Exploring Operation: 71*84=5964, Resulting Numbers: [5964]
5964,73 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 73:[81, 2, 72], Operations: ['69+3=72']
Exploring Operation: 2+72=74, Resulting Numbers: [81, 74]
Generated Node #0,3,0: 73:[81, 74] Operation: 2+72=74
Exploring Operation: 81-2=79, Resulting Numbers: [72, 79]
Generated Node #0,3,1: 73:[72, 79] Operation: 81-2=79
Exploring Operation: 72-2=70, Resulting Numbers: [81, 70]
Generated Node #0,3,2: 73:[81, 70] Operation: 72-2=70
Exploring Operation: 81+2=83, Resulting Numbers: [72, 83]
Generated Node #0,3,3: 73:[72, 83] Operation: 81+2=83
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[72, 79], Operations: ['69+3=72', '81-2=79']
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,73 unequal: No Solution
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[81, 74], Operations: ['69+3=72', '2+72=74']
Exploring Operation: 81+74=155, Resulting Numbers: [155]
155,73 unequal: No Solution
Exploring Operation: 81*74=5994, Resulting Numbers: [5994]
5994,73 unequal: No Solution
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[81, 70], Operations: ['69+3=72', '72-2=70']
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,73 unequal: No Solution
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[72, 83], Operations: ['69+3=72', '81+2=83']
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,73 unequal: No Solution
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
14,
6,
5,
15
] | 46 | [
"15-5=10",
"6*10=60",
"60-14=46"
] | Current State: 46:[14, 6, 5, 15], Operations: []
Exploring Operation: 15-5=10, Resulting Numbers: [14, 6, 10]
Generated Node #2: [14, 6, 10] from Operation: 15-5=10
Current State: 46:[14, 6, 10], Operations: ['15-5=10']
Exploring Operation: 6*10=60, Resulting Numbers: [14, 60]
Generated Node #3: [14, 60] from Operation: 6*10=60
Current State: 46:[14, 60], Operations: ['15-5=10', '6*10=60']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[14, 6, 5, 15], Operations: []
Exploring Operation: 14+15=29, Resulting Numbers: [6, 5, 29]
Generated Node #0,0: 46:[6, 5, 29] Operation: 14+15=29
Exploring Operation: 15-14=1, Resulting Numbers: [6, 5, 1]
Generated Node #0,1: 46:[6, 5, 1] Operation: 15-14=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[6, 5, 1], Operations: ['15-14=1']
Exploring Operation: 6-5=1, Resulting Numbers: [1, 1]
Generated Node #0,1,0: 46:[1, 1] Operation: 6-5=1
Exploring Operation: 6-1=5, Resulting Numbers: [5, 5]
Generated Node #0,1,1: 46:[5, 5] Operation: 6-1=5
Moving to Node #0,1,0
Current State: 46:[1, 1], Operations: ['15-14=1', '6-5=1']
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[5, 5], Operations: ['15-14=1', '6-1=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[6, 5, 29], Operations: ['14+15=29']
Exploring Operation: 29-6=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 46:[5, 23] Operation: 29-6=23
Exploring Operation: 29-5=24, Resulting Numbers: [6, 24]
Generated Node #0,0,1: 46:[6, 24] Operation: 29-5=24
Moving to Node #0,0,0
Current State: 46:[5, 23], Operations: ['14+15=29', '29-6=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[6, 24], Operations: ['14+15=29', '29-5=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
47,
37,
44,
14
] | 26 | [
"47+37=84",
"44+14=58",
"84-58=26"
] | Current State: 26:[47, 37, 44, 14], Operations: []
Exploring Operation: 47+37=84, Resulting Numbers: [44, 14, 84]
Generated Node #2: [44, 14, 84] from Operation: 47+37=84
Current State: 26:[44, 14, 84], Operations: ['47+37=84']
Exploring Operation: 44+14=58, Resulting Numbers: [84, 58]
Generated Node #3: [84, 58] from Operation: 44+14=58
Current State: 26:[84, 58], Operations: ['47+37=84', '44+14=58']
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[47, 37, 44, 14], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [37, 14, 3]
Generated Node #0,0: 26:[37, 14, 3] Operation: 47-44=3
Exploring Operation: 44-37=7, Resulting Numbers: [47, 14, 7]
Generated Node #0,1: 26:[47, 14, 7] Operation: 44-37=7
Exploring Operation: 47-14=33, Resulting Numbers: [37, 44, 33]
Generated Node #0,2: 26:[37, 44, 33] Operation: 47-14=33
Exploring Operation: 44-14=30, Resulting Numbers: [47, 37, 30]
Generated Node #0,3: 26:[47, 37, 30] Operation: 44-14=30
Exploring Operation: 47-37=10, Resulting Numbers: [44, 14, 10]
Generated Node #0,4: 26:[44, 14, 10] Operation: 47-37=10
Moving to Node #0,0
Current State: 26:[37, 14, 3], Operations: ['47-44=3']
Exploring Operation: 14+3=17, Resulting Numbers: [37, 17]
Generated Node #0,0,0: 26:[37, 17] Operation: 14+3=17
Exploring Operation: 37-14=23, Resulting Numbers: [3, 23]
Generated Node #0,0,1: 26:[3, 23] Operation: 37-14=23
Exploring Operation: 37+3=40, Resulting Numbers: [14, 40]
Generated Node #0,0,2: 26:[14, 40] Operation: 37+3=40
Exploring Operation: 37-3=34, Resulting Numbers: [14, 34]
Generated Node #0,0,3: 26:[14, 34] Operation: 37-3=34
Exploring Operation: 14-3=11, Resulting Numbers: [37, 11]
Generated Node #0,0,4: 26:[37, 11] Operation: 14-3=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[3, 23], Operations: ['47-44=3', '37-14=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[47, 37, 44, 14], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [37, 14, 3]
Generated Node #0,0: 26:[37, 14, 3] Operation: 47-44=3
Moving to Node #0,0
Current State: 26:[37, 14, 3], Operations: ['47-44=3']
Exploring Operation: 37-14=23, Resulting Numbers: [3, 23]
Generated Node #0,0,1: 26:[3, 23] Operation: 37-14=23
Moving to Node #0,0,1
Current State: 26:[3, 23], Operations: ['47-44=3', '37-14=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
10,
89,
93,
10
] | 50 | [
"93-89=4",
"10*4=40",
"10+40=50"
] | Current State: 50:[10, 89, 93, 10], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [10, 10, 4]
Generated Node #2: [10, 10, 4] from Operation: 93-89=4
Current State: 50:[10, 10, 4], Operations: ['93-89=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,50 equal: Goal Reached
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[10, 89, 93, 10], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [10, 10, 4]
Generated Node #0,0: 50:[10, 10, 4] Operation: 93-89=4
Moving to Node #0,0
Current State: 50:[10, 10, 4], Operations: ['93-89=4']
Exploring Operation: 10-4=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 50:[10, 6] Operation: 10-4=6
Moving to Node #0,0,0
Current State: 50:[10, 6], Operations: ['93-89=4', '10-4=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
77,
63,
91
] | 98 | [
"77-68=9",
"63/9=7",
"91+7=98"
] | Current State: 98:[68, 77, 63, 91], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [63, 91, 9]
Generated Node #2: [63, 91, 9] from Operation: 77-68=9
Current State: 98:[63, 91, 9], Operations: ['77-68=9']
Exploring Operation: 63/9=7, Resulting Numbers: [91, 7]
Generated Node #3: [91, 7] from Operation: 63/9=7
Current State: 98:[91, 7], Operations: ['77-68=9', '63/9=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[68, 77, 63, 91], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [77, 91, 5]
Generated Node #0,0: 98:[77, 91, 5] Operation: 68-63=5
Exploring Operation: 77-63=14, Resulting Numbers: [68, 91, 14]
Generated Node #0,1: 98:[68, 91, 14] Operation: 77-63=14
Exploring Operation: 77-68=9, Resulting Numbers: [63, 91, 9]
Generated Node #0,2: 98:[63, 91, 9] Operation: 77-68=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[63, 91, 9], Operations: ['77-68=9']
Exploring Operation: 91-63=28, Resulting Numbers: [9, 28]
Generated Node #0,2,0: 98:[9, 28] Operation: 91-63=28
Exploring Operation: 63/9=7, Resulting Numbers: [91, 7]
Generated Node #0,2,1: 98:[91, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [91, 54]
Generated Node #0,2,2: 98:[91, 54] Operation: 63-9=54
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[91, 7], Operations: ['77-68=9', '63/9=7']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,98 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[68, 77, 63, 91], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [63, 91, 9]
Generated Node #0,2: 98:[63, 91, 9] Operation: 77-68=9
Moving to Node #0,2
Current State: 98:[63, 91, 9], Operations: ['77-68=9']
Exploring Operation: 63/9=7, Resulting Numbers: [91, 7]
Generated Node #0,2,1: 98:[91, 7] Operation: 63/9=7
Moving to Node #0,2,1
Current State: 98:[91, 7], Operations: ['77-68=9', '63/9=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
30,
40,
59,
8
] | 61 | [
"40-30=10",
"59-8=51",
"10+51=61"
] | Current State: 61:[30, 40, 59, 8], Operations: []
Exploring Operation: 40-30=10, Resulting Numbers: [59, 8, 10]
Generated Node #2: [59, 8, 10] from Operation: 40-30=10
Current State: 61:[59, 8, 10], Operations: ['40-30=10']
Exploring Operation: 59-8=51, Resulting Numbers: [10, 51]
Generated Node #3: [10, 51] from Operation: 59-8=51
Current State: 61:[10, 51], Operations: ['40-30=10', '59-8=51']
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[30, 40, 59, 8], Operations: []
Exploring Operation: 30+8=38, Resulting Numbers: [40, 59, 38]
Generated Node #0,0: 61:[40, 59, 38] Operation: 30+8=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[40, 59, 38], Operations: ['30+8=38']
Exploring Operation: 40+38=78, Resulting Numbers: [59, 78]
Generated Node #0,0,0: 61:[59, 78] Operation: 40+38=78
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[59, 78], Operations: ['30+8=38', '40+38=78']
Exploring Operation: 78-59=19, Resulting Numbers: [19]
19,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
28,
42,
57,
48
] | 10 | [
"28*57=1596",
"1596/42=38",
"48-38=10"
] | Current State: 10:[28, 42, 57, 48], Operations: []
Exploring Operation: 28*57=1596, Resulting Numbers: [42, 48, 1596]
Generated Node #2: [42, 48, 1596] from Operation: 28*57=1596
Current State: 10:[42, 48, 1596], Operations: ['28*57=1596']
Exploring Operation: 1596/42=38, Resulting Numbers: [48, 38]
Generated Node #3: [48, 38] from Operation: 1596/42=38
Current State: 10:[48, 38], Operations: ['28*57=1596', '1596/42=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[28, 42, 57, 48], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [28, 42, 9]
Generated Node #0,0: 10:[28, 42, 9] Operation: 57-48=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[28, 42, 9], Operations: ['57-48=9']
Exploring Operation: 42-28=14, Resulting Numbers: [9, 14]
Generated Node #0,0,0: 10:[9, 14] Operation: 42-28=14
Moving to Node #0,0,0
Current State: 10:[9, 14], Operations: ['57-48=9', '42-28=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
6,
27,
81
] | 52 | [
"29+81=110",
"6*27=162",
"162-110=52"
] | Current State: 52:[29, 6, 27, 81], Operations: []
Exploring Operation: 29+81=110, Resulting Numbers: [6, 27, 110]
Generated Node #2: [6, 27, 110] from Operation: 29+81=110
Current State: 52:[6, 27, 110], Operations: ['29+81=110']
Exploring Operation: 6*27=162, Resulting Numbers: [110, 162]
Generated Node #3: [110, 162] from Operation: 6*27=162
Current State: 52:[110, 162], Operations: ['29+81=110', '6*27=162']
Exploring Operation: 162-110=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[29, 6, 27, 81], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [29, 6, 3]
Generated Node #0,0: 52:[29, 6, 3] Operation: 81/27=3
Exploring Operation: 81-6=75, Resulting Numbers: [29, 27, 75]
Generated Node #0,1: 52:[29, 27, 75] Operation: 81-6=75
Exploring Operation: 81-29=52, Resulting Numbers: [6, 27, 52]
Generated Node #0,2: 52:[6, 27, 52] Operation: 81-29=52
Exploring Operation: 81-27=54, Resulting Numbers: [29, 6, 54]
Generated Node #0,3: 52:[29, 6, 54] Operation: 81-27=54
Exploring Operation: 29-27=2, Resulting Numbers: [6, 81, 2]
Generated Node #0,4: 52:[6, 81, 2] Operation: 29-27=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[6, 27, 52], Operations: ['81-29=52']
Exploring Operation: 6+27=33, Resulting Numbers: [52, 33]
Generated Node #0,2,0: 52:[52, 33] Operation: 6+27=33
Exploring Operation: 52-27=25, Resulting Numbers: [6, 25]
Generated Node #0,2,1: 52:[6, 25] Operation: 52-27=25
Exploring Operation: 27-6=21, Resulting Numbers: [52, 21]
Generated Node #0,2,2: 52:[52, 21] Operation: 27-6=21
Exploring Operation: 6+52=58, Resulting Numbers: [27, 58]
Generated Node #0,2,3: 52:[27, 58] Operation: 6+52=58
Exploring Operation: 52-6=46, Resulting Numbers: [27, 46]
Generated Node #0,2,4: 52:[27, 46] Operation: 52-6=46
Moving to Node #0,2,1
Current State: 52:[6, 25], Operations: ['81-29=52', '52-27=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[52, 21], Operations: ['81-29=52', '27-6=21']
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,52 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[52, 33], Operations: ['81-29=52', '6+27=33']
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,52 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[27, 58], Operations: ['81-29=52', '6+52=58']
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,52 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,52 unequal: No Solution
Moving to Node #0,2,4
Current State: 52:[27, 46], Operations: ['81-29=52', '52-6=46']
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,52 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[29, 6, 3], Operations: ['81/27=3']
Exploring Operation: 6+3=9, Resulting Numbers: [29, 9]
Generated Node #0,0,0: 52:[29, 9] Operation: 6+3=9
Exploring Operation: 6/3=2, Resulting Numbers: [29, 2]
Generated Node #0,0,1: 52:[29, 2] Operation: 6/3=2
Exploring Operation: 29-6=23, Resulting Numbers: [3, 23]
Generated Node #0,0,2: 52:[3, 23] Operation: 29-6=23
Exploring Operation: 6-3=3, Resulting Numbers: [29, 3]
Generated Node #0,0,3: 52:[29, 3] Operation: 6-3=3
Exploring Operation: 29-3=26, Resulting Numbers: [6, 26]
Generated Node #0,0,4: 52:[6, 26] Operation: 29-3=26
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 52:[6, 26], Operations: ['81/27=3', '29-3=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[29, 2], Operations: ['81/27=3', '6/3=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 52:[3, 23], Operations: ['81/27=3', '29-6=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 52:[29, 3], Operations: ['81/27=3', '6-3=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[29, 9], Operations: ['81/27=3', '6+3=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,52 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[29, 6, 54], Operations: ['81-27=54']
Exploring Operation: 54-6=48, Resulting Numbers: [29, 48]
Generated Node #0,3,0: 52:[29, 48] Operation: 54-6=48
Exploring Operation: 54-29=25, Resulting Numbers: [6, 25]
Generated Node #0,3,1: 52:[6, 25] Operation: 54-29=25
Exploring Operation: 29+6=35, Resulting Numbers: [54, 35]
Generated Node #0,3,2: 52:[54, 35] Operation: 29+6=35
Exploring Operation: 29-6=23, Resulting Numbers: [54, 23]
Generated Node #0,3,3: 52:[54, 23] Operation: 29-6=23
Exploring Operation: 54/6=9, Resulting Numbers: [29, 9]
Generated Node #0,3,4: 52:[29, 9] Operation: 54/6=9
Moving to Node #0,3,1
Current State: 52:[6, 25], Operations: ['81-27=54', '54-29=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,52 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[54, 23], Operations: ['81-27=54', '29-6=23']
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,52 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[29, 48], Operations: ['81-27=54', '54-6=48']
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,52 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[29, 9], Operations: ['81-27=54', '54/6=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,52 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[54, 35], Operations: ['81-27=54', '29+6=35']
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,52 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[29, 27, 75], Operations: ['81-6=75']
Exploring Operation: 29+27=56, Resulting Numbers: [75, 56]
Generated Node #0,1,0: 52:[75, 56] Operation: 29+27=56
Exploring Operation: 29-27=2, Resulting Numbers: [75, 2]
Generated Node #0,1,1: 52:[75, 2] Operation: 29-27=2
Exploring Operation: 75-27=48, Resulting Numbers: [29, 48]
Generated Node #0,1,2: 52:[29, 48] Operation: 75-27=48
Exploring Operation: 29+75=104, Resulting Numbers: [27, 104]
Generated Node #0,1,3: 52:[27, 104] Operation: 29+75=104
Exploring Operation: 75-29=46, Resulting Numbers: [27, 46]
Generated Node #0,1,4: 52:[27, 46] Operation: 75-29=46
Moving to Node #0,1,2
Current State: 52:[29, 48], Operations: ['81-6=75', '75-27=48']
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,52 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,1,4
Current State: 52:[27, 46], Operations: ['81-6=75', '75-29=46']
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[75, 2], Operations: ['81-6=75', '29-27=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,52 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[75, 56], Operations: ['81-6=75', '29+27=56']
Exploring Operation: 75+56=131, Resulting Numbers: [131]
131,52 unequal: No Solution
Exploring Operation: 75*56=4200, Resulting Numbers: [4200]
4200,52 unequal: No Solution
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[27, 104], Operations: ['81-6=75', '29+75=104']
Exploring Operation: 104-27=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 27+104=131, Resulting Numbers: [131]
131,52 unequal: No Solution
Exploring Operation: 27*104=2808, Resulting Numbers: [2808]
2808,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[6, 81, 2], Operations: ['29-27=2']
Exploring Operation: 6*2=12, Resulting Numbers: [81, 12]
Generated Node #0,4,0: 52:[81, 12] Operation: 6*2=12
Exploring Operation: 81-6=75, Resulting Numbers: [2, 75]
Generated Node #0,4,1: 52:[2, 75] Operation: 81-6=75
Exploring Operation: 6-2=4, Resulting Numbers: [81, 4]
Generated Node #0,4,2: 52:[81, 4] Operation: 6-2=4
Exploring Operation: 81-2=79, Resulting Numbers: [6, 79]
Generated Node #0,4,3: 52:[6, 79] Operation: 81-2=79
Exploring Operation: 6/2=3, Resulting Numbers: [81, 3]
Generated Node #0,4,4: 52:[81, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 52:[2, 75], Operations: ['29-27=2', '81-6=75']
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,52 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 52:[81, 4], Operations: ['29-27=2', '6-2=4']
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,52 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,52 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 52:[6, 79], Operations: ['29-27=2', '81-2=79']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,52 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 52:[81, 12], Operations: ['29-27=2', '6*2=12']
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 52:[81, 3], Operations: ['29-27=2', '6/2=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,52 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
11,
83,
33,
46
] | 60 | [
"46-33=13",
"11*13=143",
"143-83=60"
] | Current State: 60:[11, 83, 33, 46], Operations: []
Exploring Operation: 46-33=13, Resulting Numbers: [11, 83, 13]
Generated Node #2: [11, 83, 13] from Operation: 46-33=13
Current State: 60:[11, 83, 13], Operations: ['46-33=13']
Exploring Operation: 11*13=143, Resulting Numbers: [83, 143]
Generated Node #3: [83, 143] from Operation: 11*13=143
Current State: 60:[83, 143], Operations: ['46-33=13', '11*13=143']
Exploring Operation: 143-83=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[11, 83, 33, 46], Operations: []
Exploring Operation: 83-33=50, Resulting Numbers: [11, 46, 50]
Generated Node #0,0: 60:[11, 46, 50] Operation: 83-33=50
Exploring Operation: 46-33=13, Resulting Numbers: [11, 83, 13]
Generated Node #0,1: 60:[11, 83, 13] Operation: 46-33=13
Exploring Operation: 83-46=37, Resulting Numbers: [11, 33, 37]
Generated Node #0,2: 60:[11, 33, 37] Operation: 83-46=37
Exploring Operation: 83-11=72, Resulting Numbers: [33, 46, 72]
Generated Node #0,3: 60:[33, 46, 72] Operation: 83-11=72
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[11, 33, 37], Operations: ['83-46=37']
Exploring Operation: 33-11=22, Resulting Numbers: [37, 22]
Generated Node #0,2,0: 60:[37, 22] Operation: 33-11=22
Exploring Operation: 37-33=4, Resulting Numbers: [11, 4]
Generated Node #0,2,1: 60:[11, 4] Operation: 37-33=4
Exploring Operation: 33/11=3, Resulting Numbers: [37, 3]
Generated Node #0,2,2: 60:[37, 3] Operation: 33/11=3
Exploring Operation: 37-11=26, Resulting Numbers: [33, 26]
Generated Node #0,2,3: 60:[33, 26] Operation: 37-11=26
Moving to Node #0,2,1
Current State: 60:[11, 4], Operations: ['83-46=37', '37-33=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[33, 26], Operations: ['83-46=37', '37-11=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,60 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[37, 3], Operations: ['83-46=37', '33/11=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,60 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[37, 22], Operations: ['83-46=37', '33-11=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,60 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[11, 46, 50], Operations: ['83-33=50']
Exploring Operation: 11+50=61, Resulting Numbers: [46, 61]
Generated Node #0,0,0: 60:[46, 61] Operation: 11+50=61
Exploring Operation: 50-46=4, Resulting Numbers: [11, 4]
Generated Node #0,0,1: 60:[11, 4] Operation: 50-46=4
Exploring Operation: 46-11=35, Resulting Numbers: [50, 35]
Generated Node #0,0,2: 60:[50, 35] Operation: 46-11=35
Exploring Operation: 11+46=57, Resulting Numbers: [50, 57]
Generated Node #0,0,3: 60:[50, 57] Operation: 11+46=57
Moving to Node #0,0,1
Current State: 60:[11, 4], Operations: ['83-33=50', '50-46=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[50, 57], Operations: ['83-33=50', '11+46=57']
Exploring Operation: 50*57=2850, Resulting Numbers: [2850]
2850,60 unequal: No Solution
Exploring Operation: 50+57=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[50, 35], Operations: ['83-33=50', '46-11=35']
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,60 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[46, 61], Operations: ['83-33=50', '11+50=61']
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 46+61=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 46*61=2806, Resulting Numbers: [2806]
2806,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[11, 83, 13], Operations: ['46-33=13']
Exploring Operation: 11+13=24, Resulting Numbers: [83, 24]
Generated Node #0,1,0: 60:[83, 24] Operation: 11+13=24
Exploring Operation: 83-11=72, Resulting Numbers: [13, 72]
Generated Node #0,1,1: 60:[13, 72] Operation: 83-11=72
Exploring Operation: 83-13=70, Resulting Numbers: [11, 70]
Generated Node #0,1,2: 60:[11, 70] Operation: 83-13=70
Exploring Operation: 13-11=2, Resulting Numbers: [83, 2]
Generated Node #0,1,3: 60:[83, 2] Operation: 13-11=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[11, 70], Operations: ['46-33=13', '83-13=70']
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 11*70=770, Resulting Numbers: [770]
770,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[13, 72], Operations: ['46-33=13', '83-11=72']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 13*72=936, Resulting Numbers: [936]
936,60 unequal: No Solution
Exploring Operation: 13+72=85, Resulting Numbers: [85]
85,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[83, 2], Operations: ['46-33=13', '13-11=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,60 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[83, 24], Operations: ['46-33=13', '11+13=24']
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[33, 46, 72], Operations: ['83-11=72']
Exploring Operation: 46-33=13, Resulting Numbers: [72, 13]
Generated Node #0,3,0: 60:[72, 13] Operation: 46-33=13
Exploring Operation: 72-46=26, Resulting Numbers: [33, 26]
Generated Node #0,3,1: 60:[33, 26] Operation: 72-46=26
Exploring Operation: 33+46=79, Resulting Numbers: [72, 79]
Generated Node #0,3,2: 60:[72, 79] Operation: 33+46=79
Exploring Operation: 72-33=39, Resulting Numbers: [46, 39]
Generated Node #0,3,3: 60:[46, 39] Operation: 72-33=39
Moving to Node #0,3,1
Current State: 60:[33, 26], Operations: ['83-11=72', '72-46=26']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,60 unequal: No Solution
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[72, 13], Operations: ['83-11=72', '46-33=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[46, 39], Operations: ['83-11=72', '72-33=39']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[72, 79], Operations: ['83-11=72', '33+46=79']
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,60 unequal: No Solution
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,60 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
33,
85,
37,
61
] | 66 | [
"85+37=122",
"33*122=4026",
"4026/61=66"
] | Current State: 66:[33, 85, 37, 61], Operations: []
Exploring Operation: 85+37=122, Resulting Numbers: [33, 61, 122]
Generated Node #2: [33, 61, 122] from Operation: 85+37=122
Current State: 66:[33, 61, 122], Operations: ['85+37=122']
Exploring Operation: 33*122=4026, Resulting Numbers: [61, 4026]
Generated Node #3: [61, 4026] from Operation: 33*122=4026
Current State: 66:[61, 4026], Operations: ['85+37=122', '33*122=4026']
Exploring Operation: 4026/61=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[33, 85, 37, 61], Operations: []
Exploring Operation: 85-37=48, Resulting Numbers: [33, 61, 48]
Generated Node #0,0: 66:[33, 61, 48] Operation: 85-37=48
Exploring Operation: 37-33=4, Resulting Numbers: [85, 61, 4]
Generated Node #0,1: 66:[85, 61, 4] Operation: 37-33=4
Exploring Operation: 85-33=52, Resulting Numbers: [37, 61, 52]
Generated Node #0,2: 66:[37, 61, 52] Operation: 85-33=52
Exploring Operation: 61-37=24, Resulting Numbers: [33, 85, 24]
Generated Node #0,3: 66:[33, 85, 24] Operation: 61-37=24
Exploring Operation: 85-61=24, Resulting Numbers: [33, 37, 24]
Generated Node #0,4: 66:[33, 37, 24] Operation: 85-61=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 66:[33, 37, 24], Operations: ['85-61=24']
Exploring Operation: 37-33=4, Resulting Numbers: [24, 4]
Generated Node #0,4,0: 66:[24, 4] Operation: 37-33=4
Exploring Operation: 37+24=61, Resulting Numbers: [33, 61]
Generated Node #0,4,1: 66:[33, 61] Operation: 37+24=61
Exploring Operation: 33+37=70, Resulting Numbers: [24, 70]
Generated Node #0,4,2: 66:[24, 70] Operation: 33+37=70
Exploring Operation: 33-24=9, Resulting Numbers: [37, 9]
Generated Node #0,4,3: 66:[37, 9] Operation: 33-24=9
Exploring Operation: 37-24=13, Resulting Numbers: [33, 13]
Generated Node #0,4,4: 66:[33, 13] Operation: 37-24=13
Moving to Node #0,4,4
Current State: 66:[33, 13], Operations: ['85-61=24', '37-24=13']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,66 unequal: No Solution
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Moving to Node #0,4,0
Current State: 66:[24, 4], Operations: ['85-61=24', '37-33=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,66 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Moving to Node #0,4,1
Current State: 66:[33, 61], Operations: ['85-61=24', '37+24=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,66 unequal: No Solution
Moving to Node #0,4,2
Current State: 66:[24, 70], Operations: ['85-61=24', '33+37=70']
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,66 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Moving to Node #0,4,3
Current State: 66:[37, 9], Operations: ['85-61=24', '33-24=9']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[33, 61, 48], Operations: ['85-37=48']
Exploring Operation: 33+48=81, Resulting Numbers: [61, 81]
Generated Node #0,0,0: 66:[61, 81] Operation: 33+48=81
Exploring Operation: 61-48=13, Resulting Numbers: [33, 13]
Generated Node #0,0,1: 66:[33, 13] Operation: 61-48=13
Exploring Operation: 33+61=94, Resulting Numbers: [48, 94]
Generated Node #0,0,2: 66:[48, 94] Operation: 33+61=94
Exploring Operation: 61-33=28, Resulting Numbers: [48, 28]
Generated Node #0,0,3: 66:[48, 28] Operation: 61-33=28
Exploring Operation: 48-33=15, Resulting Numbers: [61, 15]
Generated Node #0,0,4: 66:[61, 15] Operation: 48-33=15
Moving to Node #0,0,1
Current State: 66:[33, 13], Operations: ['85-37=48', '61-48=13']
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,66 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[61, 15], Operations: ['85-37=48', '48-33=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[61, 81], Operations: ['85-37=48', '33+48=81']
Exploring Operation: 61+81=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 61*81=4941, Resulting Numbers: [4941]
4941,66 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[48, 28], Operations: ['85-37=48', '61-33=28']
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[48, 94], Operations: ['85-37=48', '33+61=94']
Exploring Operation: 48+94=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 48*94=4512, Resulting Numbers: [4512]
4512,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[33, 85, 24], Operations: ['61-37=24']
Exploring Operation: 85-24=61, Resulting Numbers: [33, 61]
Generated Node #0,3,0: 66:[33, 61] Operation: 85-24=61
Exploring Operation: 85+24=109, Resulting Numbers: [33, 109]
Generated Node #0,3,1: 66:[33, 109] Operation: 85+24=109
Exploring Operation: 85-33=52, Resulting Numbers: [24, 52]
Generated Node #0,3,2: 66:[24, 52] Operation: 85-33=52
Exploring Operation: 33-24=9, Resulting Numbers: [85, 9]
Generated Node #0,3,3: 66:[85, 9] Operation: 33-24=9
Exploring Operation: 33+24=57, Resulting Numbers: [85, 57]
Generated Node #0,3,4: 66:[85, 57] Operation: 33+24=57
Moving to Node #0,3,0
Current State: 66:[33, 61], Operations: ['61-37=24', '85-24=61']
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,66 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[24, 52], Operations: ['61-37=24', '85-33=52']
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 24*52=1248, Resulting Numbers: [1248]
1248,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[85, 9], Operations: ['61-37=24', '33-24=9']
Exploring Operation: 85*9=765, Resulting Numbers: [765]
765,66 unequal: No Solution
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[85, 57], Operations: ['61-37=24', '33+24=57']
Exploring Operation: 85*57=4845, Resulting Numbers: [4845]
4845,66 unequal: No Solution
Exploring Operation: 85+57=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[33, 109], Operations: ['61-37=24', '85+24=109']
Exploring Operation: 109-33=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 33*109=3597, Resulting Numbers: [3597]
3597,66 unequal: No Solution
Exploring Operation: 33+109=142, Resulting Numbers: [142]
142,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[37, 61, 52], Operations: ['85-33=52']
Exploring Operation: 52-37=15, Resulting Numbers: [61, 15]
Generated Node #0,2,0: 66:[61, 15] Operation: 52-37=15
Exploring Operation: 37+61=98, Resulting Numbers: [52, 98]
Generated Node #0,2,1: 66:[52, 98] Operation: 37+61=98
Exploring Operation: 37+52=89, Resulting Numbers: [61, 89]
Generated Node #0,2,2: 66:[61, 89] Operation: 37+52=89
Exploring Operation: 61-37=24, Resulting Numbers: [52, 24]
Generated Node #0,2,3: 66:[52, 24] Operation: 61-37=24
Exploring Operation: 61-52=9, Resulting Numbers: [37, 9]
Generated Node #0,2,4: 66:[37, 9] Operation: 61-52=9
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 66:[37, 9], Operations: ['85-33=52', '61-52=9']
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,66 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[61, 15], Operations: ['85-33=52', '52-37=15']
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 66:[52, 24], Operations: ['85-33=52', '61-37=24']
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,66 unequal: No Solution
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[61, 89], Operations: ['85-33=52', '37+52=89']
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,66 unequal: No Solution
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,66 unequal: No Solution
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[52, 98], Operations: ['85-33=52', '37+61=98']
Exploring Operation: 52*98=5096, Resulting Numbers: [5096]
5096,66 unequal: No Solution
Exploring Operation: 98-52=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 52+98=150, Resulting Numbers: [150]
150,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[85, 61, 4], Operations: ['37-33=4']
Exploring Operation: 61-4=57, Resulting Numbers: [85, 57]
Generated Node #0,1,0: 66:[85, 57] Operation: 61-4=57
Exploring Operation: 85-61=24, Resulting Numbers: [4, 24]
Generated Node #0,1,1: 66:[4, 24] Operation: 85-61=24
Exploring Operation: 85+4=89, Resulting Numbers: [61, 89]
Generated Node #0,1,2: 66:[61, 89] Operation: 85+4=89
Exploring Operation: 61+4=65, Resulting Numbers: [85, 65]
Generated Node #0,1,3: 66:[85, 65] Operation: 61+4=65
Exploring Operation: 85-4=81, Resulting Numbers: [61, 81]
Generated Node #0,1,4: 66:[61, 81] Operation: 85-4=81
Moving to Node #0,1,1
Current State: 66:[4, 24], Operations: ['37-33=4', '85-61=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,66 unequal: No Solution
Moving to Node #0,1,4
Current State: 66:[61, 81], Operations: ['37-33=4', '85-4=81']
Exploring Operation: 61+81=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 61*81=4941, Resulting Numbers: [4941]
4941,66 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[85, 65], Operations: ['37-33=4', '61+4=65']
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 85*65=5525, Resulting Numbers: [5525]
5525,66 unequal: No Solution
Exploring Operation: 85+65=150, Resulting Numbers: [150]
150,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[85, 57], Operations: ['37-33=4', '61-4=57']
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 85*57=4845, Resulting Numbers: [4845]
4845,66 unequal: No Solution
Exploring Operation: 85+57=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[61, 89], Operations: ['37-33=4', '85+4=89']
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,66 unequal: No Solution
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,66 unequal: No Solution
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
21,
84,
78,
49
] | 42 | [
"21*84=1764",
"1764/49=36",
"78-36=42"
] | Current State: 42:[21, 84, 78, 49], Operations: []
Exploring Operation: 21*84=1764, Resulting Numbers: [78, 49, 1764]
Generated Node #2: [78, 49, 1764] from Operation: 21*84=1764
Current State: 42:[78, 49, 1764], Operations: ['21*84=1764']
Exploring Operation: 1764/49=36, Resulting Numbers: [78, 36]
Generated Node #3: [78, 36] from Operation: 1764/49=36
Current State: 42:[78, 36], Operations: ['21*84=1764', '1764/49=36']
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[21, 84, 78, 49], Operations: []
Exploring Operation: 84-49=35, Resulting Numbers: [21, 78, 35]
Generated Node #0,0: 42:[21, 78, 35] Operation: 84-49=35
Exploring Operation: 84-78=6, Resulting Numbers: [21, 49, 6]
Generated Node #0,1: 42:[21, 49, 6] Operation: 84-78=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[21, 49, 6], Operations: ['84-78=6']
Exploring Operation: 49-21=28, Resulting Numbers: [6, 28]
Generated Node #0,1,0: 42:[6, 28] Operation: 49-21=28
Exploring Operation: 49-6=43, Resulting Numbers: [21, 43]
Generated Node #0,1,1: 42:[21, 43] Operation: 49-6=43
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[21, 43], Operations: ['84-78=6', '49-6=43']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[6, 28], Operations: ['84-78=6', '49-21=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[21, 78, 35], Operations: ['84-49=35']
Exploring Operation: 78-35=43, Resulting Numbers: [21, 43]
Generated Node #0,0,0: 42:[21, 43] Operation: 78-35=43
Exploring Operation: 78-21=57, Resulting Numbers: [35, 57]
Generated Node #0,0,1: 42:[35, 57] Operation: 78-21=57
Moving to Node #0,0,0
Current State: 42:[21, 43], Operations: ['84-49=35', '78-35=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[35, 57], Operations: ['84-49=35', '78-21=57']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
92,
37,
80,
52
] | 27 | [
"92-37=55",
"80-52=28",
"55-28=27"
] | Current State: 27:[92, 37, 80, 52], Operations: []
Exploring Operation: 92-37=55, Resulting Numbers: [80, 52, 55]
Generated Node #2: [80, 52, 55] from Operation: 92-37=55
Current State: 27:[80, 52, 55], Operations: ['92-37=55']
Exploring Operation: 80-52=28, Resulting Numbers: [55, 28]
Generated Node #3: [55, 28] from Operation: 80-52=28
Current State: 27:[55, 28], Operations: ['92-37=55', '80-52=28']
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[92, 37, 80, 52], Operations: []
Exploring Operation: 92-52=40, Resulting Numbers: [37, 80, 40]
Generated Node #0,0: 27:[37, 80, 40] Operation: 92-52=40
Exploring Operation: 80-52=28, Resulting Numbers: [92, 37, 28]
Generated Node #0,1: 27:[92, 37, 28] Operation: 80-52=28
Exploring Operation: 92-37=55, Resulting Numbers: [80, 52, 55]
Generated Node #0,2: 27:[80, 52, 55] Operation: 92-37=55
Exploring Operation: 92-80=12, Resulting Numbers: [37, 52, 12]
Generated Node #0,3: 27:[37, 52, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[37, 52, 12], Operations: ['92-80=12']
Exploring Operation: 37+12=49, Resulting Numbers: [52, 49]
Generated Node #0,3,0: 27:[52, 49] Operation: 37+12=49
Exploring Operation: 52-37=15, Resulting Numbers: [12, 15]
Generated Node #0,3,1: 27:[12, 15] Operation: 52-37=15
Exploring Operation: 52-12=40, Resulting Numbers: [37, 40]
Generated Node #0,3,2: 27:[37, 40] Operation: 52-12=40
Exploring Operation: 37-12=25, Resulting Numbers: [52, 25]
Generated Node #0,3,3: 27:[52, 25] Operation: 37-12=25
Moving to Node #0,3,1
Current State: 27:[12, 15], Operations: ['92-80=12', '52-37=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[92, 37, 80, 52], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [37, 52, 12]
Generated Node #0,3: 27:[37, 52, 12] Operation: 92-80=12
Moving to Node #0,3
Current State: 27:[37, 52, 12], Operations: ['92-80=12']
Exploring Operation: 52-37=15, Resulting Numbers: [12, 15]
Generated Node #0,3,1: 27:[12, 15] Operation: 52-37=15
Moving to Node #0,3,1
Current State: 27:[12, 15], Operations: ['92-80=12', '52-37=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
23,
2,
8,
75
] | 56 | [
"75-23=52",
"8/2=4",
"52+4=56"
] | Current State: 56:[23, 2, 8, 75], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [2, 8, 52]
Generated Node #2: [2, 8, 52] from Operation: 75-23=52
Current State: 56:[2, 8, 52], Operations: ['75-23=52']
Exploring Operation: 8/2=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 8/2=4
Current State: 56:[52, 4], Operations: ['75-23=52', '8/2=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[23, 2, 8, 75], Operations: []
Exploring Operation: 75-8=67, Resulting Numbers: [23, 2, 67]
Generated Node #0,0: 56:[23, 2, 67] Operation: 75-8=67
Exploring Operation: 23+2=25, Resulting Numbers: [8, 75, 25]
Generated Node #0,1: 56:[8, 75, 25] Operation: 23+2=25
Exploring Operation: 75-23=52, Resulting Numbers: [2, 8, 52]
Generated Node #0,2: 56:[2, 8, 52] Operation: 75-23=52
Exploring Operation: 23-8=15, Resulting Numbers: [2, 75, 15]
Generated Node #0,3: 56:[2, 75, 15] Operation: 23-8=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[2, 8, 52], Operations: ['75-23=52']
Exploring Operation: 52/2=26, Resulting Numbers: [8, 26]
Generated Node #0,2,0: 56:[8, 26] Operation: 52/2=26
Exploring Operation: 8/2=4, Resulting Numbers: [52, 4]
Generated Node #0,2,1: 56:[52, 4] Operation: 8/2=4
Exploring Operation: 2+52=54, Resulting Numbers: [8, 54]
Generated Node #0,2,2: 56:[8, 54] Operation: 2+52=54
Exploring Operation: 8+52=60, Resulting Numbers: [2, 60]
Generated Node #0,2,3: 56:[2, 60] Operation: 8+52=60
Moving to Node #0,2,0
Current State: 56:[8, 26], Operations: ['75-23=52', '52/2=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[8, 54], Operations: ['75-23=52', '2+52=54']
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,56 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[2, 60], Operations: ['75-23=52', '8+52=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,56 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[52, 4], Operations: ['75-23=52', '8/2=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,56 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[23, 2, 8, 75], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [2, 8, 52]
Generated Node #0,2: 56:[2, 8, 52] Operation: 75-23=52
Moving to Node #0,2
Current State: 56:[2, 8, 52], Operations: ['75-23=52']
Exploring Operation: 8/2=4, Resulting Numbers: [52, 4]
Generated Node #0,2,1: 56:[52, 4] Operation: 8/2=4
Moving to Node #0,2,1
Current State: 56:[52, 4], Operations: ['75-23=52', '8/2=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
32,
82,
21,
56
] | 27 | [
"82-32=50",
"21+56=77",
"77-50=27"
] | Current State: 27:[32, 82, 21, 56], Operations: []
Exploring Operation: 82-32=50, Resulting Numbers: [21, 56, 50]
Generated Node #2: [21, 56, 50] from Operation: 82-32=50
Current State: 27:[21, 56, 50], Operations: ['82-32=50']
Exploring Operation: 21+56=77, Resulting Numbers: [50, 77]
Generated Node #3: [50, 77] from Operation: 21+56=77
Current State: 27:[50, 77], Operations: ['82-32=50', '21+56=77']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[32, 82, 21, 56], Operations: []
Exploring Operation: 82-32=50, Resulting Numbers: [21, 56, 50]
Generated Node #0,0: 27:[21, 56, 50] Operation: 82-32=50
Exploring Operation: 82-56=26, Resulting Numbers: [32, 21, 26]
Generated Node #0,1: 27:[32, 21, 26] Operation: 82-56=26
Moving to Node #0,1
Current State: 27:[32, 21, 26], Operations: ['82-56=26']
Exploring Operation: 26-21=5, Resulting Numbers: [32, 5]
Generated Node #0,1,0: 27:[32, 5] Operation: 26-21=5
Exploring Operation: 32-21=11, Resulting Numbers: [26, 11]
Generated Node #0,1,1: 27:[26, 11] Operation: 32-21=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[26, 11], Operations: ['82-56=26', '32-21=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[32, 5], Operations: ['82-56=26', '26-21=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[32, 82, 21, 56], Operations: []
Exploring Operation: 82-56=26, Resulting Numbers: [32, 21, 26]
Generated Node #0,1: 27:[32, 21, 26] Operation: 82-56=26
Moving to Node #0,1
Current State: 27:[32, 21, 26], Operations: ['82-56=26']
Exploring Operation: 26-21=5, Resulting Numbers: [32, 5]
Generated Node #0,1,0: 27:[32, 5] Operation: 26-21=5
Moving to Node #0,1,0
Current State: 27:[32, 5], Operations: ['82-56=26', '26-21=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
3,
65,
24,
31
] | 61 | [
"3+65=68",
"31-24=7",
"68-7=61"
] | Current State: 61:[3, 65, 24, 31], Operations: []
Exploring Operation: 3+65=68, Resulting Numbers: [24, 31, 68]
Generated Node #2: [24, 31, 68] from Operation: 3+65=68
Current State: 61:[24, 31, 68], Operations: ['3+65=68']
Exploring Operation: 31-24=7, Resulting Numbers: [68, 7]
Generated Node #3: [68, 7] from Operation: 31-24=7
Current State: 61:[68, 7], Operations: ['3+65=68', '31-24=7']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[3, 65, 24, 31], Operations: []
Exploring Operation: 65-3=62, Resulting Numbers: [24, 31, 62]
Generated Node #0,0: 61:[24, 31, 62] Operation: 65-3=62
Exploring Operation: 3+24=27, Resulting Numbers: [65, 31, 27]
Generated Node #0,1: 61:[65, 31, 27] Operation: 3+24=27
Exploring Operation: 3*24=72, Resulting Numbers: [65, 31, 72]
Generated Node #0,2: 61:[65, 31, 72] Operation: 3*24=72
Exploring Operation: 3+31=34, Resulting Numbers: [65, 24, 34]
Generated Node #0,3: 61:[65, 24, 34] Operation: 3+31=34
Moving to Node #0,2
Current State: 61:[65, 31, 72], Operations: ['3*24=72']
Exploring Operation: 65-31=34, Resulting Numbers: [72, 34]
Generated Node #0,2,0: 61:[72, 34] Operation: 65-31=34
Exploring Operation: 72-31=41, Resulting Numbers: [65, 41]
Generated Node #0,2,1: 61:[65, 41] Operation: 72-31=41
Exploring Operation: 31+72=103, Resulting Numbers: [65, 103]
Generated Node #0,2,2: 61:[65, 103] Operation: 31+72=103
Exploring Operation: 65+31=96, Resulting Numbers: [72, 96]
Generated Node #0,2,3: 61:[72, 96] Operation: 65+31=96
Moving to Node #0,1
Current State: 61:[65, 31, 27], Operations: ['3+24=27']
Exploring Operation: 31+27=58, Resulting Numbers: [65, 58]
Generated Node #0,1,0: 61:[65, 58] Operation: 31+27=58
Exploring Operation: 65-31=34, Resulting Numbers: [27, 34]
Generated Node #0,1,1: 61:[27, 34] Operation: 65-31=34
Exploring Operation: 65-27=38, Resulting Numbers: [31, 38]
Generated Node #0,1,2: 61:[31, 38] Operation: 65-27=38
Exploring Operation: 65+27=92, Resulting Numbers: [31, 92]
Generated Node #0,1,3: 61:[31, 92] Operation: 65+27=92
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[65, 58], Operations: ['3+24=27', '31+27=58']
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 65+58=123, Resulting Numbers: [123]
123,61 unequal: No Solution
Exploring Operation: 65*58=3770, Resulting Numbers: [3770]
3770,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[31, 38], Operations: ['3+24=27', '65-27=38']
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[27, 34], Operations: ['3+24=27', '65-31=34']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[3, 65, 24, 31], Operations: []
Exploring Operation: 3+24=27, Resulting Numbers: [65, 31, 27]
Generated Node #0,1: 61:[65, 31, 27] Operation: 3+24=27
Moving to Node #0,1
Current State: 61:[65, 31, 27], Operations: ['3+24=27']
Exploring Operation: 65-31=34, Resulting Numbers: [27, 34]
Generated Node #0,1,1: 61:[27, 34] Operation: 65-31=34
Moving to Node #0,1,1
Current State: 61:[27, 34], Operations: ['3+24=27', '65-31=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
47,
37,
94,
68
] | 71 | [
"94/47=2",
"68/2=34",
"37+34=71"
] | Current State: 71:[47, 37, 94, 68], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [37, 68, 2]
Generated Node #2: [37, 68, 2] from Operation: 94/47=2
Current State: 71:[37, 68, 2], Operations: ['94/47=2']
Exploring Operation: 68/2=34, Resulting Numbers: [37, 34]
Generated Node #3: [37, 34] from Operation: 68/2=34
Current State: 71:[37, 34], Operations: ['94/47=2', '68/2=34']
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[47, 37, 94, 68], Operations: []
Exploring Operation: 47+37=84, Resulting Numbers: [94, 68, 84]
Generated Node #0,0: 71:[94, 68, 84] Operation: 47+37=84
Moving to Node #0,0
Current State: 71:[94, 68, 84], Operations: ['47+37=84']
Exploring Operation: 94-68=26, Resulting Numbers: [84, 26]
Generated Node #0,0,0: 71:[84, 26] Operation: 94-68=26
Moving to Node #0,0,0
Current State: 71:[84, 26], Operations: ['47+37=84', '94-68=26']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,71 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
63,
20,
68
] | 54 | [
"68-63=5",
"20*5=100",
"100-46=54"
] | Current State: 54:[46, 63, 20, 68], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [46, 20, 5]
Generated Node #2: [46, 20, 5] from Operation: 68-63=5
Current State: 54:[46, 20, 5], Operations: ['68-63=5']
Exploring Operation: 20*5=100, Resulting Numbers: [46, 100]
Generated Node #3: [46, 100] from Operation: 20*5=100
Current State: 54:[46, 100], Operations: ['68-63=5', '20*5=100']
Exploring Operation: 100-46=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[46, 63, 20, 68], Operations: []
Exploring Operation: 68-20=48, Resulting Numbers: [46, 63, 48]
Generated Node #0,0: 54:[46, 63, 48] Operation: 68-20=48
Exploring Operation: 68-63=5, Resulting Numbers: [46, 20, 5]
Generated Node #0,1: 54:[46, 20, 5] Operation: 68-63=5
Exploring Operation: 63-46=17, Resulting Numbers: [20, 68, 17]
Generated Node #0,2: 54:[20, 68, 17] Operation: 63-46=17
Exploring Operation: 68-46=22, Resulting Numbers: [63, 20, 22]
Generated Node #0,3: 54:[63, 20, 22] Operation: 68-46=22
Moving to Node #0,1
Current State: 54:[46, 20, 5], Operations: ['68-63=5']
Exploring Operation: 46+5=51, Resulting Numbers: [20, 51]
Generated Node #0,1,0: 54:[20, 51] Operation: 46+5=51
Exploring Operation: 46-20=26, Resulting Numbers: [5, 26]
Generated Node #0,1,1: 54:[5, 26] Operation: 46-20=26
Exploring Operation: 20/5=4, Resulting Numbers: [46, 4]
Generated Node #0,1,2: 54:[46, 4] Operation: 20/5=4
Exploring Operation: 20+5=25, Resulting Numbers: [46, 25]
Generated Node #0,1,3: 54:[46, 25] Operation: 20+5=25
Moving to Node #0,3
Current State: 54:[63, 20, 22], Operations: ['68-46=22']
Exploring Operation: 63-20=43, Resulting Numbers: [22, 43]
Generated Node #0,3,0: 54:[22, 43] Operation: 63-20=43
Exploring Operation: 22-20=2, Resulting Numbers: [63, 2]
Generated Node #0,3,1: 54:[63, 2] Operation: 22-20=2
Exploring Operation: 20+22=42, Resulting Numbers: [63, 42]
Generated Node #0,3,2: 54:[63, 42] Operation: 20+22=42
Exploring Operation: 63-22=41, Resulting Numbers: [20, 41]
Generated Node #0,3,3: 54:[20, 41] Operation: 63-22=41
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[63, 2], Operations: ['68-46=22', '22-20=2']
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,54 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[22, 43], Operations: ['68-46=22', '63-20=43']
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 22*43=946, Resulting Numbers: [946]
946,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[20, 41], Operations: ['68-46=22', '63-22=41']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,54 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 54:[63, 42], Operations: ['68-46=22', '20+22=42']
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,54 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 54:[20, 68, 17], Operations: ['63-46=17']
Exploring Operation: 68-20=48, Resulting Numbers: [17, 48]
Generated Node #0,2,0: 54:[17, 48] Operation: 68-20=48
Exploring Operation: 68-17=51, Resulting Numbers: [20, 51]
Generated Node #0,2,1: 54:[20, 51] Operation: 68-17=51
Exploring Operation: 20-17=3, Resulting Numbers: [68, 3]
Generated Node #0,2,2: 54:[68, 3] Operation: 20-17=3
Exploring Operation: 68/17=4, Resulting Numbers: [20, 4]
Generated Node #0,2,3: 54:[20, 4] Operation: 68/17=4
Moving to Node #0,0
Current State: 54:[46, 63, 48], Operations: ['68-20=48']
Exploring Operation: 63-46=17, Resulting Numbers: [48, 17]
Generated Node #0,0,0: 54:[48, 17] Operation: 63-46=17
Exploring Operation: 48-46=2, Resulting Numbers: [63, 2]
Generated Node #0,0,1: 54:[63, 2] Operation: 48-46=2
Exploring Operation: 46+48=94, Resulting Numbers: [63, 94]
Generated Node #0,0,2: 54:[63, 94] Operation: 46+48=94
Exploring Operation: 63-48=15, Resulting Numbers: [46, 15]
Generated Node #0,0,3: 54:[46, 15] Operation: 63-48=15
Moving to Node #0,1,1
Current State: 54:[5, 26], Operations: ['68-63=5', '46-20=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,54 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[20, 4], Operations: ['63-46=17', '68/17=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[20, 51], Operations: ['63-46=17', '68-17=51']
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[20, 51], Operations: ['68-63=5', '46+5=51']
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,54 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[17, 48], Operations: ['63-46=17', '68-20=48']
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,54 unequal: No Solution
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[48, 17], Operations: ['68-20=48', '63-46=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[46, 4], Operations: ['68-63=5', '20/5=4']
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,54 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[63, 2], Operations: ['68-20=48', '48-46=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[46, 25], Operations: ['68-63=5', '20+5=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,54 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[46, 15], Operations: ['68-20=48', '63-48=15']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,54 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[68, 3], Operations: ['63-46=17', '20-17=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,54 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[63, 94], Operations: ['68-20=48', '46+48=94']
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,54 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,54 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
53,
64,
3,
6
] | 99 | [
"53+64=117",
"3*6=18",
"117-18=99"
] | Current State: 99:[53, 64, 3, 6], Operations: []
Exploring Operation: 53+64=117, Resulting Numbers: [3, 6, 117]
Generated Node #2: [3, 6, 117] from Operation: 53+64=117
Current State: 99:[3, 6, 117], Operations: ['53+64=117']
Exploring Operation: 3*6=18, Resulting Numbers: [117, 18]
Generated Node #3: [117, 18] from Operation: 3*6=18
Current State: 99:[117, 18], Operations: ['53+64=117', '3*6=18']
Exploring Operation: 117-18=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[53, 64, 3, 6], Operations: []
Exploring Operation: 53+64=117, Resulting Numbers: [3, 6, 117]
Generated Node #0,0: 99:[3, 6, 117] Operation: 53+64=117
Exploring Operation: 64-53=11, Resulting Numbers: [3, 6, 11]
Generated Node #0,1: 99:[3, 6, 11] Operation: 64-53=11
Exploring Operation: 64-6=58, Resulting Numbers: [53, 3, 58]
Generated Node #0,2: 99:[53, 3, 58] Operation: 64-6=58
Exploring Operation: 53-6=47, Resulting Numbers: [64, 3, 47]
Generated Node #0,3: 99:[64, 3, 47] Operation: 53-6=47
Moving to Node #0,1
Current State: 99:[3, 6, 11], Operations: ['64-53=11']
Exploring Operation: 11-6=5, Resulting Numbers: [3, 5]
Generated Node #0,1,0: 99:[3, 5] Operation: 11-6=5
Exploring Operation: 6-3=3, Resulting Numbers: [11, 3]
Generated Node #0,1,1: 99:[11, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [11, 2]
Generated Node #0,1,2: 99:[11, 2] Operation: 6/3=2
Exploring Operation: 3+6=9, Resulting Numbers: [11, 9]
Generated Node #0,1,3: 99:[11, 9] Operation: 3+6=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[11, 3], Operations: ['64-53=11', '6-3=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 99:[11, 9], Operations: ['64-53=11', '3+6=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[53, 64, 3, 6], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [3, 6, 11]
Generated Node #0,1: 99:[3, 6, 11] Operation: 64-53=11
Moving to Node #0,1
Current State: 99:[3, 6, 11], Operations: ['64-53=11']
Exploring Operation: 3+6=9, Resulting Numbers: [11, 9]
Generated Node #0,1,3: 99:[11, 9] Operation: 3+6=9
Moving to Node #0,1,3
Current State: 99:[11, 9], Operations: ['64-53=11', '3+6=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
14,
58,
30,
6
] | 87 | [
"14+6=20",
"58*30=1740",
"1740/20=87"
] | Current State: 87:[14, 58, 30, 6], Operations: []
Exploring Operation: 14+6=20, Resulting Numbers: [58, 30, 20]
Generated Node #2: [58, 30, 20] from Operation: 14+6=20
Current State: 87:[58, 30, 20], Operations: ['14+6=20']
Exploring Operation: 58*30=1740, Resulting Numbers: [20, 1740]
Generated Node #3: [20, 1740] from Operation: 58*30=1740
Current State: 87:[20, 1740], Operations: ['14+6=20', '58*30=1740']
Exploring Operation: 1740/20=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[14, 58, 30, 6], Operations: []
Exploring Operation: 58+30=88, Resulting Numbers: [14, 6, 88]
Generated Node #0,0: 87:[14, 6, 88] Operation: 58+30=88
Exploring Operation: 58-14=44, Resulting Numbers: [30, 6, 44]
Generated Node #0,1: 87:[30, 6, 44] Operation: 58-14=44
Exploring Operation: 58-30=28, Resulting Numbers: [14, 6, 28]
Generated Node #0,2: 87:[14, 6, 28] Operation: 58-30=28
Exploring Operation: 14+58=72, Resulting Numbers: [30, 6, 72]
Generated Node #0,3: 87:[30, 6, 72] Operation: 14+58=72
Moving to Node #0,0
Current State: 87:[14, 6, 88], Operations: ['58+30=88']
Exploring Operation: 14+6=20, Resulting Numbers: [88, 20]
Generated Node #0,0,0: 87:[88, 20] Operation: 14+6=20
Exploring Operation: 88-14=74, Resulting Numbers: [6, 74]
Generated Node #0,0,1: 87:[6, 74] Operation: 88-14=74
Exploring Operation: 14-6=8, Resulting Numbers: [88, 8]
Generated Node #0,0,2: 87:[88, 8] Operation: 14-6=8
Exploring Operation: 14*6=84, Resulting Numbers: [88, 84]
Generated Node #0,0,3: 87:[88, 84] Operation: 14*6=84
Moving to Node #0,2
Current State: 87:[14, 6, 28], Operations: ['58-30=28']
Exploring Operation: 28/14=2, Resulting Numbers: [6, 2]
Generated Node #0,2,0: 87:[6, 2] Operation: 28/14=2
Exploring Operation: 14-6=8, Resulting Numbers: [28, 8]
Generated Node #0,2,1: 87:[28, 8] Operation: 14-6=8
Exploring Operation: 14*6=84, Resulting Numbers: [28, 84]
Generated Node #0,2,2: 87:[28, 84] Operation: 14*6=84
Exploring Operation: 14+6=20, Resulting Numbers: [28, 20]
Generated Node #0,2,3: 87:[28, 20] Operation: 14+6=20
Moving to Node #0,3
Current State: 87:[30, 6, 72], Operations: ['14+58=72']
Exploring Operation: 72-30=42, Resulting Numbers: [6, 42]
Generated Node #0,3,0: 87:[6, 42] Operation: 72-30=42
Exploring Operation: 72/6=12, Resulting Numbers: [30, 12]
Generated Node #0,3,1: 87:[30, 12] Operation: 72/6=12
Exploring Operation: 6+72=78, Resulting Numbers: [30, 78]
Generated Node #0,3,2: 87:[30, 78] Operation: 6+72=78
Exploring Operation: 30/6=5, Resulting Numbers: [72, 5]
Generated Node #0,3,3: 87:[72, 5] Operation: 30/6=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[30, 12], Operations: ['14+58=72', '72/6=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,87 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[30, 78], Operations: ['14+58=72', '6+72=78']
Exploring Operation: 30+78=108, Resulting Numbers: [108]
108,87 unequal: No Solution
Exploring Operation: 30*78=2340, Resulting Numbers: [2340]
2340,87 unequal: No Solution
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[6, 42], Operations: ['14+58=72', '72-30=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[72, 5], Operations: ['14+58=72', '30/6=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[30, 6, 44], Operations: ['58-14=44']
Exploring Operation: 44-30=14, Resulting Numbers: [6, 14]
Generated Node #0,1,0: 87:[6, 14] Operation: 44-30=14
Exploring Operation: 30+44=74, Resulting Numbers: [6, 74]
Generated Node #0,1,1: 87:[6, 74] Operation: 30+44=74
Exploring Operation: 44-6=38, Resulting Numbers: [30, 38]
Generated Node #0,1,2: 87:[30, 38] Operation: 44-6=38
Exploring Operation: 30/6=5, Resulting Numbers: [44, 5]
Generated Node #0,1,3: 87:[44, 5] Operation: 30/6=5
Moving to Node #0,0,3
Current State: 87:[88, 84], Operations: ['58+30=88', '14*6=84']
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 88*84=7392, Resulting Numbers: [7392]
7392,87 unequal: No Solution
Exploring Operation: 88+84=172, Resulting Numbers: [172]
172,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[28, 84], Operations: ['58-30=28', '14*6=84']
Exploring Operation: 28+84=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Exploring Operation: 28*84=2352, Resulting Numbers: [2352]
2352,87 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[6, 2], Operations: ['58-30=28', '28/14=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[28, 8], Operations: ['58-30=28', '14-6=8']
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,87 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[88, 8], Operations: ['58+30=88', '14-6=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,87 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[88, 20], Operations: ['58+30=88', '14+6=20']
Exploring Operation: 88*20=1760, Resulting Numbers: [1760]
1760,87 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 88+20=108, Resulting Numbers: [108]
108,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[28, 20], Operations: ['58-30=28', '14+6=20']
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,87 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[30, 38], Operations: ['58-14=44', '44-6=38']
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,87 unequal: No Solution
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[6, 14], Operations: ['58-14=44', '44-30=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[6, 74], Operations: ['58-14=44', '30+44=74']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 6*74=444, Resulting Numbers: [444]
444,87 unequal: No Solution
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[6, 74], Operations: ['58+30=88', '88-14=74']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,87 unequal: No Solution
Exploring Operation: 6*74=444, Resulting Numbers: [444]
444,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[44, 5], Operations: ['58-14=44', '30/6=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,87 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,87 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,87 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
66,
16,
17
] | 64 | [
"17-9=8",
"16/8=2",
"66-2=64"
] | Current State: 64:[9, 66, 16, 17], Operations: []
Exploring Operation: 17-9=8, Resulting Numbers: [66, 16, 8]
Generated Node #2: [66, 16, 8] from Operation: 17-9=8
Current State: 64:[66, 16, 8], Operations: ['17-9=8']
Exploring Operation: 16/8=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 16/8=2
Current State: 64:[66, 2], Operations: ['17-9=8', '16/8=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[9, 66, 16, 17], Operations: []
Exploring Operation: 16+17=33, Resulting Numbers: [9, 66, 33]
Generated Node #0,0: 64:[9, 66, 33] Operation: 16+17=33
Exploring Operation: 17-9=8, Resulting Numbers: [66, 16, 8]
Generated Node #0,1: 64:[66, 16, 8] Operation: 17-9=8
Exploring Operation: 16-9=7, Resulting Numbers: [66, 17, 7]
Generated Node #0,2: 64:[66, 17, 7] Operation: 16-9=7
Moving to Node #0,1
Current State: 64:[66, 16, 8], Operations: ['17-9=8']
Exploring Operation: 66-8=58, Resulting Numbers: [16, 58]
Generated Node #0,1,0: 64:[16, 58] Operation: 66-8=58
Exploring Operation: 16-8=8, Resulting Numbers: [66, 8]
Generated Node #0,1,1: 64:[66, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [66, 2]
Generated Node #0,1,2: 64:[66, 2] Operation: 16/8=2
Moving to Node #0,0
Current State: 64:[9, 66, 33], Operations: ['16+17=33']
Exploring Operation: 66-9=57, Resulting Numbers: [33, 57]
Generated Node #0,0,0: 64:[33, 57] Operation: 66-9=57
Exploring Operation: 66-33=33, Resulting Numbers: [9, 33]
Generated Node #0,0,1: 64:[9, 33] Operation: 66-33=33
Exploring Operation: 66/33=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 64:[9, 2] Operation: 66/33=2
Moving to Node #0,2
Current State: 64:[66, 17, 7], Operations: ['16-9=7']
Exploring Operation: 66+7=73, Resulting Numbers: [17, 73]
Generated Node #0,2,0: 64:[17, 73] Operation: 66+7=73
Exploring Operation: 17-7=10, Resulting Numbers: [66, 10]
Generated Node #0,2,1: 64:[66, 10] Operation: 17-7=10
Exploring Operation: 66-7=59, Resulting Numbers: [17, 59]
Generated Node #0,2,2: 64:[17, 59] Operation: 66-7=59
Moving to Node #0,0,2
Current State: 64:[9, 2], Operations: ['16+17=33', '66/33=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[66, 8], Operations: ['17-9=8', '16-8=8']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[9, 33], Operations: ['16+17=33', '66-33=33']
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,64 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[66, 2], Operations: ['17-9=8', '16/8=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[9, 66, 16, 17], Operations: []
Exploring Operation: 17-9=8, Resulting Numbers: [66, 16, 8]
Generated Node #0,1: 64:[66, 16, 8] Operation: 17-9=8
Moving to Node #0,1
Current State: 64:[66, 16, 8], Operations: ['17-9=8']
Exploring Operation: 16/8=2, Resulting Numbers: [66, 2]
Generated Node #0,1,2: 64:[66, 2] Operation: 16/8=2
Moving to Node #0,1,2
Current State: 64:[66, 2], Operations: ['17-9=8', '16/8=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
47,
2,
26,
77
] | 69 | [
"47+26=73",
"2*73=146",
"146-77=69"
] | Current State: 69:[47, 2, 26, 77], Operations: []
Exploring Operation: 47+26=73, Resulting Numbers: [2, 77, 73]
Generated Node #2: [2, 77, 73] from Operation: 47+26=73
Current State: 69:[2, 77, 73], Operations: ['47+26=73']
Exploring Operation: 2*73=146, Resulting Numbers: [77, 146]
Generated Node #3: [77, 146] from Operation: 2*73=146
Current State: 69:[77, 146], Operations: ['47+26=73', '2*73=146']
Exploring Operation: 146-77=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[47, 2, 26, 77], Operations: []
Exploring Operation: 47-26=21, Resulting Numbers: [2, 77, 21]
Generated Node #0,0: 69:[2, 77, 21] Operation: 47-26=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 77, 21], Operations: ['47-26=21']
Exploring Operation: 77-2=75, Resulting Numbers: [21, 75]
Generated Node #0,0,0: 69:[21, 75] Operation: 77-2=75
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[21, 75], Operations: ['47-26=21', '77-2=75']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
51,
89,
64
] | 39 | [
"92-89=3",
"64-51=13",
"3*13=39"
] | Current State: 39:[92, 51, 89, 64], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [51, 64, 3]
Generated Node #2: [51, 64, 3] from Operation: 92-89=3
Current State: 39:[51, 64, 3], Operations: ['92-89=3']
Exploring Operation: 64-51=13, Resulting Numbers: [3, 13]
Generated Node #3: [3, 13] from Operation: 64-51=13
Current State: 39:[3, 13], Operations: ['92-89=3', '64-51=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[92, 51, 89, 64], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [51, 64, 3]
Generated Node #0,0: 39:[51, 64, 3] Operation: 92-89=3
Moving to Node #0,0
Current State: 39:[51, 64, 3], Operations: ['92-89=3']
Exploring Operation: 64-51=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 39:[3, 13] Operation: 64-51=13
Moving to Node #0,0,0
Current State: 39:[3, 13], Operations: ['92-89=3', '64-51=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[92, 51, 89, 64], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [51, 64, 3]
Generated Node #0,0: 39:[51, 64, 3] Operation: 92-89=3
Moving to Node #0,0
Current State: 39:[51, 64, 3], Operations: ['92-89=3']
Exploring Operation: 64-51=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 39:[3, 13] Operation: 64-51=13
Moving to Node #0,0,0
Current State: 39:[3, 13], Operations: ['92-89=3', '64-51=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
30,
51,
11,
30
] | 63 | [
"30/30=1",
"51+11=62",
"1+62=63"
] | Current State: 63:[30, 51, 11, 30], Operations: []
Exploring Operation: 30/30=1, Resulting Numbers: [51, 11, 1]
Generated Node #2: [51, 11, 1] from Operation: 30/30=1
Current State: 63:[51, 11, 1], Operations: ['30/30=1']
Exploring Operation: 51+11=62, Resulting Numbers: [1, 62]
Generated Node #3: [1, 62] from Operation: 51+11=62
Current State: 63:[1, 62], Operations: ['30/30=1', '51+11=62']
Exploring Operation: 1+62=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[30, 51, 11, 30], Operations: []
Exploring Operation: 51-30=21, Resulting Numbers: [11, 30, 21]
Generated Node #0,0: 63:[11, 30, 21] Operation: 51-30=21
Moving to Node #0,0
Current State: 63:[11, 30, 21], Operations: ['51-30=21']
Exploring Operation: 30-11=19, Resulting Numbers: [21, 19]
Generated Node #0,0,0: 63:[21, 19] Operation: 30-11=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[21, 19], Operations: ['51-30=21', '30-11=19']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
7,
97,
3
] | 70 | [
"92+97=189",
"189/3=63",
"7+63=70"
] | Current State: 70:[92, 7, 97, 3], Operations: []
Exploring Operation: 92+97=189, Resulting Numbers: [7, 3, 189]
Generated Node #2: [7, 3, 189] from Operation: 92+97=189
Current State: 70:[7, 3, 189], Operations: ['92+97=189']
Exploring Operation: 189/3=63, Resulting Numbers: [7, 63]
Generated Node #3: [7, 63] from Operation: 189/3=63
Current State: 70:[7, 63], Operations: ['92+97=189', '189/3=63']
Exploring Operation: 7+63=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[92, 7, 97, 3], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [7, 3, 5]
Generated Node #0,0: 70:[7, 3, 5] Operation: 97-92=5
Moving to Node #0,0
Current State: 70:[7, 3, 5], Operations: ['97-92=5']
Exploring Operation: 7+3=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 70:[5, 10] Operation: 7+3=10
Moving to Node #0,0,0
Current State: 70:[5, 10], Operations: ['97-92=5', '7+3=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,70 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
71,
30,
11,
46
] | 92 | [
"71-11=60",
"60/30=2",
"46*2=92"
] | Current State: 92:[71, 30, 11, 46], Operations: []
Exploring Operation: 71-11=60, Resulting Numbers: [30, 46, 60]
Generated Node #2: [30, 46, 60] from Operation: 71-11=60
Current State: 92:[30, 46, 60], Operations: ['71-11=60']
Exploring Operation: 60/30=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 60/30=2
Current State: 92:[46, 2], Operations: ['71-11=60', '60/30=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[71, 30, 11, 46], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [30, 11, 25]
Generated Node #0,0: 92:[30, 11, 25] Operation: 71-46=25
Exploring Operation: 71+30=101, Resulting Numbers: [11, 46, 101]
Generated Node #0,1: 92:[11, 46, 101] Operation: 71+30=101
Exploring Operation: 71-30=41, Resulting Numbers: [11, 46, 41]
Generated Node #0,2: 92:[11, 46, 41] Operation: 71-30=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[11, 46, 41], Operations: ['71-30=41']
Exploring Operation: 11+41=52, Resulting Numbers: [46, 52]
Generated Node #0,2,0: 92:[46, 52] Operation: 11+41=52
Exploring Operation: 41-11=30, Resulting Numbers: [46, 30]
Generated Node #0,2,1: 92:[46, 30] Operation: 41-11=30
Exploring Operation: 46-41=5, Resulting Numbers: [11, 5]
Generated Node #0,2,2: 92:[11, 5] Operation: 46-41=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[46, 52], Operations: ['71-30=41', '11+41=52']
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,92 unequal: No Solution
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[46, 30], Operations: ['71-30=41', '41-11=30']
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,92 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[11, 5], Operations: ['71-30=41', '46-41=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[30, 11, 25], Operations: ['71-46=25']
Exploring Operation: 30+11=41, Resulting Numbers: [25, 41]
Generated Node #0,0,0: 92:[25, 41] Operation: 30+11=41
Exploring Operation: 30-25=5, Resulting Numbers: [11, 5]
Generated Node #0,0,1: 92:[11, 5] Operation: 30-25=5
Exploring Operation: 30-11=19, Resulting Numbers: [25, 19]
Generated Node #0,0,2: 92:[25, 19] Operation: 30-11=19
Moving to Node #0,0,2
Current State: 92:[25, 19], Operations: ['71-46=25', '30-11=19']
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,92 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[25, 41], Operations: ['71-46=25', '30+11=41']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[11, 5], Operations: ['71-46=25', '30-25=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[11, 46, 101], Operations: ['71+30=101']
Exploring Operation: 11+46=57, Resulting Numbers: [101, 57]
Generated Node #0,1,0: 92:[101, 57] Operation: 11+46=57
Exploring Operation: 101-11=90, Resulting Numbers: [46, 90]
Generated Node #0,1,1: 92:[46, 90] Operation: 101-11=90
Exploring Operation: 101-46=55, Resulting Numbers: [11, 55]
Generated Node #0,1,2: 92:[11, 55] Operation: 101-46=55
Moving to Node #0,1,1
Current State: 92:[46, 90], Operations: ['71+30=101', '101-11=90']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,92 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[11, 55], Operations: ['71+30=101', '101-46=55']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[101, 57], Operations: ['71+30=101', '11+46=57']
Exploring Operation: 101+57=158, Resulting Numbers: [158]
158,92 unequal: No Solution
Exploring Operation: 101-57=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 101*57=5757, Resulting Numbers: [5757]
5757,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
35,
97,
13
] | 39 | [
"35+97=132",
"132/44=3",
"13*3=39"
] | Current State: 39:[44, 35, 97, 13], Operations: []
Exploring Operation: 35+97=132, Resulting Numbers: [44, 13, 132]
Generated Node #2: [44, 13, 132] from Operation: 35+97=132
Current State: 39:[44, 13, 132], Operations: ['35+97=132']
Exploring Operation: 132/44=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 132/44=3
Current State: 39:[13, 3], Operations: ['35+97=132', '132/44=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[44, 35, 97, 13], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [44, 35, 84]
Generated Node #0,0: 39:[44, 35, 84] Operation: 97-13=84
Exploring Operation: 97-35=62, Resulting Numbers: [44, 13, 62]
Generated Node #0,1: 39:[44, 13, 62] Operation: 97-35=62
Exploring Operation: 97-44=53, Resulting Numbers: [35, 13, 53]
Generated Node #0,2: 39:[35, 13, 53] Operation: 97-44=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[35, 13, 53], Operations: ['97-44=53']
Exploring Operation: 53-13=40, Resulting Numbers: [35, 40]
Generated Node #0,2,0: 39:[35, 40] Operation: 53-13=40
Exploring Operation: 35+13=48, Resulting Numbers: [53, 48]
Generated Node #0,2,1: 39:[53, 48] Operation: 35+13=48
Exploring Operation: 53-35=18, Resulting Numbers: [13, 18]
Generated Node #0,2,2: 39:[13, 18] Operation: 53-35=18
Moving to Node #0,2,0
Current State: 39:[35, 40], Operations: ['97-44=53', '53-13=40']
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,39 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[13, 18], Operations: ['97-44=53', '53-35=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,39 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[53, 48], Operations: ['97-44=53', '35+13=48']
Exploring Operation: 53+48=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Exploring Operation: 53*48=2544, Resulting Numbers: [2544]
2544,39 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[44, 13, 62], Operations: ['97-35=62']
Exploring Operation: 62-13=49, Resulting Numbers: [44, 49]
Generated Node #0,1,0: 39:[44, 49] Operation: 62-13=49
Exploring Operation: 62-44=18, Resulting Numbers: [13, 18]
Generated Node #0,1,1: 39:[13, 18] Operation: 62-44=18
Exploring Operation: 44-13=31, Resulting Numbers: [62, 31]
Generated Node #0,1,2: 39:[62, 31] Operation: 44-13=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[13, 18], Operations: ['97-35=62', '62-44=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[44, 49], Operations: ['97-35=62', '62-13=49']
Exploring Operation: 44+49=93, Resulting Numbers: [93]
93,39 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 44*49=2156, Resulting Numbers: [2156]
2156,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[62, 31], Operations: ['97-35=62', '44-13=31']
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,39 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[44, 35, 84], Operations: ['97-13=84']
Exploring Operation: 84-44=40, Resulting Numbers: [35, 40]
Generated Node #0,0,0: 39:[35, 40] Operation: 84-44=40
Exploring Operation: 84-35=49, Resulting Numbers: [44, 49]
Generated Node #0,0,1: 39:[44, 49] Operation: 84-35=49
Exploring Operation: 44-35=9, Resulting Numbers: [84, 9]
Generated Node #0,0,2: 39:[84, 9] Operation: 44-35=9
Moving to Node #0,0,0
Current State: 39:[35, 40], Operations: ['97-13=84', '84-44=40']
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,39 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,39 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[44, 49], Operations: ['97-13=84', '84-35=49']
Exploring Operation: 44+49=93, Resulting Numbers: [93]
93,39 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 44*49=2156, Resulting Numbers: [2156]
2156,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[84, 9], Operations: ['97-13=84', '44-35=9']
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,39 unequal: No Solution
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,39 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
80,
14,
35
] | 41 | [
"56/14=4",
"80-35=45",
"45-4=41"
] | Current State: 41:[56, 80, 14, 35], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [80, 35, 4]
Generated Node #2: [80, 35, 4] from Operation: 56/14=4
Current State: 41:[80, 35, 4], Operations: ['56/14=4']
Exploring Operation: 80-35=45, Resulting Numbers: [4, 45]
Generated Node #3: [4, 45] from Operation: 80-35=45
Current State: 41:[4, 45], Operations: ['56/14=4', '80-35=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[56, 80, 14, 35], Operations: []
Exploring Operation: 80-35=45, Resulting Numbers: [56, 14, 45]
Generated Node #0,0: 41:[56, 14, 45] Operation: 80-35=45
Exploring Operation: 80-14=66, Resulting Numbers: [56, 35, 66]
Generated Node #0,1: 41:[56, 35, 66] Operation: 80-14=66
Exploring Operation: 56-14=42, Resulting Numbers: [80, 35, 42]
Generated Node #0,2: 41:[80, 35, 42] Operation: 56-14=42
Exploring Operation: 80-56=24, Resulting Numbers: [14, 35, 24]
Generated Node #0,3: 41:[14, 35, 24] Operation: 80-56=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[56, 14, 45], Operations: ['80-35=45']
Exploring Operation: 14+45=59, Resulting Numbers: [56, 59]
Generated Node #0,0,0: 41:[56, 59] Operation: 14+45=59
Exploring Operation: 56+14=70, Resulting Numbers: [45, 70]
Generated Node #0,0,1: 41:[45, 70] Operation: 56+14=70
Exploring Operation: 45-14=31, Resulting Numbers: [56, 31]
Generated Node #0,0,2: 41:[56, 31] Operation: 45-14=31
Exploring Operation: 56-14=42, Resulting Numbers: [45, 42]
Generated Node #0,0,3: 41:[45, 42] Operation: 56-14=42
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 41:[45, 42], Operations: ['80-35=45', '56-14=42']
Exploring Operation: 45*42=1890, Resulting Numbers: [1890]
1890,41 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[56, 31], Operations: ['80-35=45', '45-14=31']
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,41 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[56, 59], Operations: ['80-35=45', '14+45=59']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Exploring Operation: 56*59=3304, Resulting Numbers: [3304]
3304,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[45, 70], Operations: ['80-35=45', '56+14=70']
Exploring Operation: 45+70=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 45*70=3150, Resulting Numbers: [3150]
3150,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[56, 35, 66], Operations: ['80-14=66']
Exploring Operation: 66-56=10, Resulting Numbers: [35, 10]
Generated Node #0,1,0: 41:[35, 10] Operation: 66-56=10
Exploring Operation: 56-35=21, Resulting Numbers: [66, 21]
Generated Node #0,1,1: 41:[66, 21] Operation: 56-35=21
Exploring Operation: 56+35=91, Resulting Numbers: [66, 91]
Generated Node #0,1,2: 41:[66, 91] Operation: 56+35=91
Exploring Operation: 66-35=31, Resulting Numbers: [56, 31]
Generated Node #0,1,3: 41:[56, 31] Operation: 66-35=31
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[56, 31], Operations: ['80-14=66', '66-35=31']
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,41 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[35, 10], Operations: ['80-14=66', '66-56=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,41 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[66, 21], Operations: ['80-14=66', '56-35=21']
Exploring Operation: 66+21=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 66*21=1386, Resulting Numbers: [1386]
1386,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[66, 91], Operations: ['80-14=66', '56+35=91']
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 66*91=6006, Resulting Numbers: [6006]
6006,41 unequal: No Solution
Exploring Operation: 66+91=157, Resulting Numbers: [157]
157,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[80, 35, 42], Operations: ['56-14=42']
Exploring Operation: 42-35=7, Resulting Numbers: [80, 7]
Generated Node #0,2,0: 41:[80, 7] Operation: 42-35=7
Exploring Operation: 80-35=45, Resulting Numbers: [42, 45]
Generated Node #0,2,1: 41:[42, 45] Operation: 80-35=45
Exploring Operation: 80+35=115, Resulting Numbers: [42, 115]
Generated Node #0,2,2: 41:[42, 115] Operation: 80+35=115
Exploring Operation: 80-42=38, Resulting Numbers: [35, 38]
Generated Node #0,2,3: 41:[35, 38] Operation: 80-42=38
Moving to Node #0,2,1
Current State: 41:[42, 45], Operations: ['56-14=42', '80-35=45']
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 42*45=1890, Resulting Numbers: [1890]
1890,41 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[35, 38], Operations: ['56-14=42', '80-42=38']
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[80, 7], Operations: ['56-14=42', '42-35=7']
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[42, 115], Operations: ['56-14=42', '80+35=115']
Exploring Operation: 42+115=157, Resulting Numbers: [157]
157,41 unequal: No Solution
Exploring Operation: 115-42=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Exploring Operation: 42*115=4830, Resulting Numbers: [4830]
4830,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[14, 35, 24], Operations: ['80-56=24']
Exploring Operation: 14+35=49, Resulting Numbers: [24, 49]
Generated Node #0,3,0: 41:[24, 49] Operation: 14+35=49
Exploring Operation: 24-14=10, Resulting Numbers: [35, 10]
Generated Node #0,3,1: 41:[35, 10] Operation: 24-14=10
Exploring Operation: 35-14=21, Resulting Numbers: [24, 21]
Generated Node #0,3,2: 41:[24, 21] Operation: 35-14=21
Exploring Operation: 14+24=38, Resulting Numbers: [35, 38]
Generated Node #0,3,3: 41:[35, 38] Operation: 14+24=38
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 41:[35, 38], Operations: ['80-56=24', '14+24=38']
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,41 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 41:[24, 49], Operations: ['80-56=24', '14+35=49']
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,41 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 41:[35, 10], Operations: ['80-56=24', '24-14=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,41 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 41:[24, 21], Operations: ['80-56=24', '35-14=21']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
71,
78,
2,
64
] | 39 | [
"78-71=7",
"64/2=32",
"7+32=39"
] | Current State: 39:[71, 78, 2, 64], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [2, 64, 7]
Generated Node #2: [2, 64, 7] from Operation: 78-71=7
Current State: 39:[2, 64, 7], Operations: ['78-71=7']
Exploring Operation: 64/2=32, Resulting Numbers: [7, 32]
Generated Node #3: [7, 32] from Operation: 64/2=32
Current State: 39:[7, 32], Operations: ['78-71=7', '64/2=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[71, 78, 2, 64], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [2, 64, 7]
Generated Node #0,0: 39:[2, 64, 7] Operation: 78-71=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[2, 64, 7], Operations: ['78-71=7']
Exploring Operation: 64/2=32, Resulting Numbers: [7, 32]
Generated Node #0,0,0: 39:[7, 32] Operation: 64/2=32
Moving to Node #0,0,0
Current State: 39:[7, 32], Operations: ['78-71=7', '64/2=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[71, 78, 2, 64], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [2, 64, 7]
Generated Node #0,0: 39:[2, 64, 7] Operation: 78-71=7
Moving to Node #0,0
Current State: 39:[2, 64, 7], Operations: ['78-71=7']
Exploring Operation: 64/2=32, Resulting Numbers: [7, 32]
Generated Node #0,0,0: 39:[7, 32] Operation: 64/2=32
Moving to Node #0,0,0
Current State: 39:[7, 32], Operations: ['78-71=7', '64/2=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
61,
10,
36,
9
] | 78 | [
"61-10=51",
"36-9=27",
"51+27=78"
] | Current State: 78:[61, 10, 36, 9], Operations: []
Exploring Operation: 61-10=51, Resulting Numbers: [36, 9, 51]
Generated Node #2: [36, 9, 51] from Operation: 61-10=51
Current State: 78:[36, 9, 51], Operations: ['61-10=51']
Exploring Operation: 36-9=27, Resulting Numbers: [51, 27]
Generated Node #3: [51, 27] from Operation: 36-9=27
Current State: 78:[51, 27], Operations: ['61-10=51', '36-9=27']
Exploring Operation: 51+27=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[61, 10, 36, 9], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [10, 9, 25]
Generated Node #0,0: 78:[10, 9, 25] Operation: 61-36=25
Exploring Operation: 61+10=71, Resulting Numbers: [36, 9, 71]
Generated Node #0,1: 78:[36, 9, 71] Operation: 61+10=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[10, 9, 25], Operations: ['61-36=25']
Exploring Operation: 10-9=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 78:[25, 1] Operation: 10-9=1
Exploring Operation: 25-10=15, Resulting Numbers: [9, 15]
Generated Node #0,0,1: 78:[9, 15] Operation: 25-10=15
Moving to Node #0,0,0
Current State: 78:[25, 1], Operations: ['61-36=25', '10-9=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[9, 15], Operations: ['61-36=25', '25-10=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[36, 9, 71], Operations: ['61+10=71']
Exploring Operation: 71-36=35, Resulting Numbers: [9, 35]
Generated Node #0,1,0: 78:[9, 35] Operation: 71-36=35
Exploring Operation: 9+71=80, Resulting Numbers: [36, 80]
Generated Node #0,1,1: 78:[36, 80] Operation: 9+71=80
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[36, 80], Operations: ['61+10=71', '9+71=80']
Exploring Operation: 36+80=116, Resulting Numbers: [116]
116,78 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[9, 35], Operations: ['61+10=71', '71-36=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
89,
3,
81,
10
] | 14 | [
"89+81=170",
"170/10=17",
"17-3=14"
] | Current State: 14:[89, 3, 81, 10], Operations: []
Exploring Operation: 89+81=170, Resulting Numbers: [3, 10, 170]
Generated Node #2: [3, 10, 170] from Operation: 89+81=170
Current State: 14:[3, 10, 170], Operations: ['89+81=170']
Exploring Operation: 170/10=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 170/10=17
Current State: 14:[3, 17], Operations: ['89+81=170', '170/10=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[89, 3, 81, 10], Operations: []
Exploring Operation: 89-81=8, Resulting Numbers: [3, 10, 8]
Generated Node #0,0: 14:[3, 10, 8] Operation: 89-81=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[3, 10, 8], Operations: ['89-81=8']
Exploring Operation: 10-3=7, Resulting Numbers: [8, 7]
Generated Node #0,0,0: 14:[8, 7] Operation: 10-3=7
Moving to Node #0,0,0
Current State: 14:[8, 7], Operations: ['89-81=8', '10-3=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
11,
42,
53
] | 19 | [
"65+11=76",
"42+53=95",
"95-76=19"
] | Current State: 19:[65, 11, 42, 53], Operations: []
Exploring Operation: 65+11=76, Resulting Numbers: [42, 53, 76]
Generated Node #2: [42, 53, 76] from Operation: 65+11=76
Current State: 19:[42, 53, 76], Operations: ['65+11=76']
Exploring Operation: 42+53=95, Resulting Numbers: [76, 95]
Generated Node #3: [76, 95] from Operation: 42+53=95
Current State: 19:[76, 95], Operations: ['65+11=76', '42+53=95']
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[65, 11, 42, 53], Operations: []
Exploring Operation: 53-42=11, Resulting Numbers: [65, 11, 11]
Generated Node #0,0: 19:[65, 11, 11] Operation: 53-42=11
Exploring Operation: 65-42=23, Resulting Numbers: [11, 53, 23]
Generated Node #0,1: 19:[11, 53, 23] Operation: 65-42=23
Exploring Operation: 42-11=31, Resulting Numbers: [65, 53, 31]
Generated Node #0,2: 19:[65, 53, 31] Operation: 42-11=31
Exploring Operation: 65-53=12, Resulting Numbers: [11, 42, 12]
Generated Node #0,3: 19:[11, 42, 12] Operation: 65-53=12
Exploring Operation: 65-11=54, Resulting Numbers: [42, 53, 54]
Generated Node #0,4: 19:[42, 53, 54] Operation: 65-11=54
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[11, 42, 12], Operations: ['65-53=12']
Exploring Operation: 12-11=1, Resulting Numbers: [42, 1]
Generated Node #0,3,0: 19:[42, 1] Operation: 12-11=1
Exploring Operation: 11+42=53, Resulting Numbers: [12, 53]
Generated Node #0,3,1: 19:[12, 53] Operation: 11+42=53
Exploring Operation: 42-12=30, Resulting Numbers: [11, 30]
Generated Node #0,3,2: 19:[11, 30] Operation: 42-12=30
Exploring Operation: 42-11=31, Resulting Numbers: [12, 31]
Generated Node #0,3,3: 19:[12, 31] Operation: 42-11=31
Exploring Operation: 11+12=23, Resulting Numbers: [42, 23]
Generated Node #0,3,4: 19:[42, 23] Operation: 11+12=23
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 19:[11, 30], Operations: ['65-53=12', '42-12=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[65, 11, 42, 53], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [11, 42, 12]
Generated Node #0,3: 19:[11, 42, 12] Operation: 65-53=12
Moving to Node #0,3
Current State: 19:[11, 42, 12], Operations: ['65-53=12']
Exploring Operation: 42-12=30, Resulting Numbers: [11, 30]
Generated Node #0,3,2: 19:[11, 30] Operation: 42-12=30
Moving to Node #0,3,2
Current State: 19:[11, 30], Operations: ['65-53=12', '42-12=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
60,
42,
2,
48
] | 84 | [
"60-42=18",
"2*18=36",
"48+36=84"
] | Current State: 84:[60, 42, 2, 48], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [2, 48, 18]
Generated Node #2: [2, 48, 18] from Operation: 60-42=18
Current State: 84:[2, 48, 18], Operations: ['60-42=18']
Exploring Operation: 2*18=36, Resulting Numbers: [48, 36]
Generated Node #3: [48, 36] from Operation: 2*18=36
Current State: 84:[48, 36], Operations: ['60-42=18', '2*18=36']
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[60, 42, 2, 48], Operations: []
Exploring Operation: 60-48=12, Resulting Numbers: [42, 2, 12]
Generated Node #0,0: 84:[42, 2, 12] Operation: 60-48=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[42, 2, 12], Operations: ['60-48=12']
Exploring Operation: 42*2=84, Resulting Numbers: [12, 84]
Generated Node #0,0,0: 84:[12, 84] Operation: 42*2=84
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[12, 84], Operations: ['60-48=12', '42*2=84']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
85,
3,
34,
9
] | 45 | [
"85+3=88",
"34+9=43",
"88-43=45"
] | Current State: 45:[85, 3, 34, 9], Operations: []
Exploring Operation: 85+3=88, Resulting Numbers: [34, 9, 88]
Generated Node #2: [34, 9, 88] from Operation: 85+3=88
Current State: 45:[34, 9, 88], Operations: ['85+3=88']
Exploring Operation: 34+9=43, Resulting Numbers: [88, 43]
Generated Node #3: [88, 43] from Operation: 34+9=43
Current State: 45:[88, 43], Operations: ['85+3=88', '34+9=43']
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[85, 3, 34, 9], Operations: []
Exploring Operation: 85-9=76, Resulting Numbers: [3, 34, 76]
Generated Node #0,0: 45:[3, 34, 76] Operation: 85-9=76
Exploring Operation: 85-34=51, Resulting Numbers: [3, 9, 51]
Generated Node #0,1: 45:[3, 9, 51] Operation: 85-34=51
Moving to Node #0,1
Current State: 45:[3, 9, 51], Operations: ['85-34=51']
Exploring Operation: 51-3=48, Resulting Numbers: [9, 48]
Generated Node #0,1,0: 45:[9, 48] Operation: 51-3=48
Exploring Operation: 51/3=17, Resulting Numbers: [9, 17]
Generated Node #0,1,1: 45:[9, 17] Operation: 51/3=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[9, 17], Operations: ['85-34=51', '51/3=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[9, 48], Operations: ['85-34=51', '51-3=48']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 45:[3, 34, 76], Operations: ['85-9=76']
Exploring Operation: 3+34=37, Resulting Numbers: [76, 37]
Generated Node #0,0,0: 45:[76, 37] Operation: 3+34=37
Exploring Operation: 76-34=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 45:[3, 42] Operation: 76-34=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[3, 42], Operations: ['85-9=76', '76-34=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[85, 3, 34, 9], Operations: []
Exploring Operation: 85-9=76, Resulting Numbers: [3, 34, 76]
Generated Node #0,0: 45:[3, 34, 76] Operation: 85-9=76
Moving to Node #0,0
Current State: 45:[3, 34, 76], Operations: ['85-9=76']
Exploring Operation: 76-34=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 45:[3, 42] Operation: 76-34=42
Moving to Node #0,0,1
Current State: 45:[3, 42], Operations: ['85-9=76', '76-34=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
52,
60,
87,
64
] | 79 | [
"60-52=8",
"64/8=8",
"87-8=79"
] | Current State: 79:[52, 60, 87, 64], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [87, 64, 8]
Generated Node #2: [87, 64, 8] from Operation: 60-52=8
Current State: 79:[87, 64, 8], Operations: ['60-52=8']
Exploring Operation: 64/8=8, Resulting Numbers: [87, 8]
Generated Node #3: [87, 8] from Operation: 64/8=8
Current State: 79:[87, 8], Operations: ['60-52=8', '64/8=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[52, 60, 87, 64], Operations: []
Exploring Operation: 52+64=116, Resulting Numbers: [60, 87, 116]
Generated Node #0,0: 79:[60, 87, 116] Operation: 52+64=116
Exploring Operation: 52+60=112, Resulting Numbers: [87, 64, 112]
Generated Node #0,1: 79:[87, 64, 112] Operation: 52+60=112
Moving to Node #0,1
Current State: 79:[87, 64, 112], Operations: ['52+60=112']
Exploring Operation: 112-64=48, Resulting Numbers: [87, 48]
Generated Node #0,1,0: 79:[87, 48] Operation: 112-64=48
Exploring Operation: 112-87=25, Resulting Numbers: [64, 25]
Generated Node #0,1,1: 79:[64, 25] Operation: 112-87=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[87, 48], Operations: ['52+60=112', '112-64=48']
Exploring Operation: 87+48=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[64, 25], Operations: ['52+60=112', '112-87=25']
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 79:[60, 87, 116], Operations: ['52+64=116']
Exploring Operation: 116-60=56, Resulting Numbers: [87, 56]
Generated Node #0,0,0: 79:[87, 56] Operation: 116-60=56
Exploring Operation: 116-87=29, Resulting Numbers: [60, 29]
Generated Node #0,0,1: 79:[60, 29] Operation: 116-87=29
Moving to Node #0,0,0
Current State: 79:[87, 56], Operations: ['52+64=116', '116-60=56']
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[60, 29], Operations: ['52+64=116', '116-87=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,79 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
95,
57,
41,
8
] | 60 | [
"95+57=152",
"152/8=19",
"41+19=60"
] | Current State: 60:[95, 57, 41, 8], Operations: []
Exploring Operation: 95+57=152, Resulting Numbers: [41, 8, 152]
Generated Node #2: [41, 8, 152] from Operation: 95+57=152
Current State: 60:[41, 8, 152], Operations: ['95+57=152']
Exploring Operation: 152/8=19, Resulting Numbers: [41, 19]
Generated Node #3: [41, 19] from Operation: 152/8=19
Current State: 60:[41, 19], Operations: ['95+57=152', '152/8=19']
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[95, 57, 41, 8], Operations: []
Exploring Operation: 95-41=54, Resulting Numbers: [57, 8, 54]
Generated Node #0,0: 60:[57, 8, 54] Operation: 95-41=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[57, 8, 54], Operations: ['95-41=54']
Exploring Operation: 57-54=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 60:[8, 3] Operation: 57-54=3
Moving to Node #0,0,0
Current State: 60:[8, 3], Operations: ['95-41=54', '57-54=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
80,
81,
83
] | 96 | [
"13+83=96",
"81-80=1",
"96*1=96"
] | Current State: 96:[13, 80, 81, 83], Operations: []
Exploring Operation: 13+83=96, Resulting Numbers: [80, 81, 96]
Generated Node #2: [80, 81, 96] from Operation: 13+83=96
Current State: 96:[80, 81, 96], Operations: ['13+83=96']
Exploring Operation: 81-80=1, Resulting Numbers: [96, 1]
Generated Node #3: [96, 1] from Operation: 81-80=1
Current State: 96:[96, 1], Operations: ['13+83=96', '81-80=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[13, 80, 81, 83], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [13, 81, 3]
Generated Node #0,0: 96:[13, 81, 3] Operation: 83-80=3
Exploring Operation: 81-80=1, Resulting Numbers: [13, 83, 1]
Generated Node #0,1: 96:[13, 83, 1] Operation: 81-80=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[13, 83, 1], Operations: ['81-80=1']
Exploring Operation: 13+83=96, Resulting Numbers: [1, 96]
Generated Node #0,1,0: 96:[1, 96] Operation: 13+83=96
Exploring Operation: 13-1=12, Resulting Numbers: [83, 12]
Generated Node #0,1,1: 96:[83, 12] Operation: 13-1=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[1, 96], Operations: ['81-80=1', '13+83=96']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[13, 80, 81, 83], Operations: []
Exploring Operation: 81-80=1, Resulting Numbers: [13, 83, 1]
Generated Node #0,1: 96:[13, 83, 1] Operation: 81-80=1
Moving to Node #0,1
Current State: 96:[13, 83, 1], Operations: ['81-80=1']
Exploring Operation: 13+83=96, Resulting Numbers: [1, 96]
Generated Node #0,1,0: 96:[1, 96] Operation: 13+83=96
Moving to Node #0,1,0
Current State: 96:[1, 96], Operations: ['81-80=1', '13+83=96']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
76,
95,
4,
1
] | 100 | [
"95+1=96",
"96/4=24",
"76+24=100"
] | Current State: 100:[76, 95, 4, 1], Operations: []
Exploring Operation: 95+1=96, Resulting Numbers: [76, 4, 96]
Generated Node #2: [76, 4, 96] from Operation: 95+1=96
Current State: 100:[76, 4, 96], Operations: ['95+1=96']
Exploring Operation: 96/4=24, Resulting Numbers: [76, 24]
Generated Node #3: [76, 24] from Operation: 96/4=24
Current State: 100:[76, 24], Operations: ['95+1=96', '96/4=24']
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[76, 95, 4, 1], Operations: []
Exploring Operation: 95-76=19, Resulting Numbers: [4, 1, 19]
Generated Node #0,0: 100:[4, 1, 19] Operation: 95-76=19
Exploring Operation: 76/4=19, Resulting Numbers: [95, 1, 19]
Generated Node #0,1: 100:[95, 1, 19] Operation: 76/4=19
Moving to Node #0,0
Current State: 100:[4, 1, 19], Operations: ['95-76=19']
Exploring Operation: 4+1=5, Resulting Numbers: [19, 5]
Generated Node #0,0,0: 100:[19, 5] Operation: 4+1=5
Exploring Operation: 1+19=20, Resulting Numbers: [4, 20]
Generated Node #0,0,1: 100:[4, 20] Operation: 1+19=20
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[4, 20], Operations: ['95-76=19', '1+19=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[19, 5], Operations: ['95-76=19', '4+1=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 100:[95, 1, 19], Operations: ['76/4=19']
Exploring Operation: 95+1=96, Resulting Numbers: [19, 96]
Generated Node #0,1,0: 100:[19, 96] Operation: 95+1=96
Exploring Operation: 95/19=5, Resulting Numbers: [1, 5]
Generated Node #0,1,1: 100:[1, 5] Operation: 95/19=5
Moving to Node #0,1,1
Current State: 100:[1, 5], Operations: ['76/4=19', '95/19=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[19, 96], Operations: ['76/4=19', '95+1=96']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,100 unequal: No Solution
Exploring Operation: 19+96=115, Resulting Numbers: [115]
115,100 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
34,
90,
17,
63
] | 18 | [
"34/17=2",
"90/2=45",
"63-45=18"
] | Current State: 18:[34, 90, 17, 63], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [90, 63, 2]
Generated Node #2: [90, 63, 2] from Operation: 34/17=2
Current State: 18:[90, 63, 2], Operations: ['34/17=2']
Exploring Operation: 90/2=45, Resulting Numbers: [63, 45]
Generated Node #3: [63, 45] from Operation: 90/2=45
Current State: 18:[63, 45], Operations: ['34/17=2', '90/2=45']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[34, 90, 17, 63], Operations: []
Exploring Operation: 90-34=56, Resulting Numbers: [17, 63, 56]
Generated Node #0,0: 18:[17, 63, 56] Operation: 90-34=56
Exploring Operation: 90-63=27, Resulting Numbers: [34, 17, 27]
Generated Node #0,1: 18:[34, 17, 27] Operation: 90-63=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[34, 17, 27], Operations: ['90-63=27']
Exploring Operation: 34/17=2, Resulting Numbers: [27, 2]
Generated Node #0,1,0: 18:[27, 2] Operation: 34/17=2
Exploring Operation: 34-27=7, Resulting Numbers: [17, 7]
Generated Node #0,1,1: 18:[17, 7] Operation: 34-27=7
Moving to Node #0,1,1
Current State: 18:[17, 7], Operations: ['90-63=27', '34-27=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[27, 2], Operations: ['90-63=27', '34/17=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[17, 63, 56], Operations: ['90-34=56']
Exploring Operation: 63-17=46, Resulting Numbers: [56, 46]
Generated Node #0,0,0: 18:[56, 46] Operation: 63-17=46
Exploring Operation: 63-56=7, Resulting Numbers: [17, 7]
Generated Node #0,0,1: 18:[17, 7] Operation: 63-56=7
Moving to Node #0,0,1
Current State: 18:[17, 7], Operations: ['90-34=56', '63-56=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[56, 46], Operations: ['90-34=56', '63-17=46']
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
91,
48,
22,
10
] | 87 | [
"22-10=12",
"48/12=4",
"91-4=87"
] | Current State: 87:[91, 48, 22, 10], Operations: []
Exploring Operation: 22-10=12, Resulting Numbers: [91, 48, 12]
Generated Node #2: [91, 48, 12] from Operation: 22-10=12
Current State: 87:[91, 48, 12], Operations: ['22-10=12']
Exploring Operation: 48/12=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 48/12=4
Current State: 87:[91, 4], Operations: ['22-10=12', '48/12=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[91, 48, 22, 10], Operations: []
Exploring Operation: 48+22=70, Resulting Numbers: [91, 10, 70]
Generated Node #0,0: 87:[91, 10, 70] Operation: 48+22=70
Exploring Operation: 48-22=26, Resulting Numbers: [91, 10, 26]
Generated Node #0,1: 87:[91, 10, 26] Operation: 48-22=26
Exploring Operation: 22+10=32, Resulting Numbers: [91, 48, 32]
Generated Node #0,2: 87:[91, 48, 32] Operation: 22+10=32
Exploring Operation: 91-48=43, Resulting Numbers: [22, 10, 43]
Generated Node #0,3: 87:[22, 10, 43] Operation: 91-48=43
Exploring Operation: 48-10=38, Resulting Numbers: [91, 22, 38]
Generated Node #0,4: 87:[91, 22, 38] Operation: 48-10=38
Moving to Node #0,1
Current State: 87:[91, 10, 26], Operations: ['48-22=26']
Exploring Operation: 91-26=65, Resulting Numbers: [10, 65]
Generated Node #0,1,0: 87:[10, 65] Operation: 91-26=65
Exploring Operation: 91+10=101, Resulting Numbers: [26, 101]
Generated Node #0,1,1: 87:[26, 101] Operation: 91+10=101
Exploring Operation: 10+26=36, Resulting Numbers: [91, 36]
Generated Node #0,1,2: 87:[91, 36] Operation: 10+26=36
Exploring Operation: 26-10=16, Resulting Numbers: [91, 16]
Generated Node #0,1,3: 87:[91, 16] Operation: 26-10=16
Exploring Operation: 91-10=81, Resulting Numbers: [26, 81]
Generated Node #0,1,4: 87:[26, 81] Operation: 91-10=81
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 87:[26, 81], Operations: ['48-22=26', '91-10=81']
Exploring Operation: 26*81=2106, Resulting Numbers: [2106]
2106,87 unequal: No Solution
Exploring Operation: 26+81=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[91, 36], Operations: ['48-22=26', '10+26=36']
Exploring Operation: 91+36=127, Resulting Numbers: [127]
127,87 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Exploring Operation: 91*36=3276, Resulting Numbers: [3276]
3276,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[26, 101], Operations: ['48-22=26', '91+10=101']
Exploring Operation: 101-26=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 26+101=127, Resulting Numbers: [127]
127,87 unequal: No Solution
Exploring Operation: 26*101=2626, Resulting Numbers: [2626]
2626,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 87:[91, 16], Operations: ['48-22=26', '26-10=16']
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,87 unequal: No Solution
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[10, 65], Operations: ['48-22=26', '91-26=65']
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,87 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 87:[91, 22, 38], Operations: ['48-10=38']
Exploring Operation: 91-38=53, Resulting Numbers: [22, 53]
Generated Node #0,4,0: 87:[22, 53] Operation: 91-38=53
Exploring Operation: 22+38=60, Resulting Numbers: [91, 60]
Generated Node #0,4,1: 87:[91, 60] Operation: 22+38=60
Exploring Operation: 91-22=69, Resulting Numbers: [38, 69]
Generated Node #0,4,2: 87:[38, 69] Operation: 91-22=69
Exploring Operation: 91+22=113, Resulting Numbers: [38, 113]
Generated Node #0,4,3: 87:[38, 113] Operation: 91+22=113
Exploring Operation: 38-22=16, Resulting Numbers: [91, 16]
Generated Node #0,4,4: 87:[91, 16] Operation: 38-22=16
Moving to Node #0,2
Current State: 87:[91, 48, 32], Operations: ['22+10=32']
Exploring Operation: 91+48=139, Resulting Numbers: [32, 139]
Generated Node #0,2,0: 87:[32, 139] Operation: 91+48=139
Exploring Operation: 48-32=16, Resulting Numbers: [91, 16]
Generated Node #0,2,1: 87:[91, 16] Operation: 48-32=16
Exploring Operation: 91-32=59, Resulting Numbers: [48, 59]
Generated Node #0,2,2: 87:[48, 59] Operation: 91-32=59
Exploring Operation: 48+32=80, Resulting Numbers: [91, 80]
Generated Node #0,2,3: 87:[91, 80] Operation: 48+32=80
Exploring Operation: 91-48=43, Resulting Numbers: [32, 43]
Generated Node #0,2,4: 87:[32, 43] Operation: 91-48=43
Moving to Node #0,0
Current State: 87:[91, 10, 70], Operations: ['48+22=70']
Exploring Operation: 91-70=21, Resulting Numbers: [10, 21]
Generated Node #0,0,0: 87:[10, 21] Operation: 91-70=21
Exploring Operation: 91+10=101, Resulting Numbers: [70, 101]
Generated Node #0,0,1: 87:[70, 101] Operation: 91+10=101
Exploring Operation: 91-10=81, Resulting Numbers: [70, 81]
Generated Node #0,0,2: 87:[70, 81] Operation: 91-10=81
Exploring Operation: 10+70=80, Resulting Numbers: [91, 80]
Generated Node #0,0,3: 87:[91, 80] Operation: 10+70=80
Exploring Operation: 70/10=7, Resulting Numbers: [91, 7]
Generated Node #0,0,4: 87:[91, 7] Operation: 70/10=7
Moving to Node #0,3
Current State: 87:[22, 10, 43], Operations: ['91-48=43']
Exploring Operation: 43-10=33, Resulting Numbers: [22, 33]
Generated Node #0,3,0: 87:[22, 33] Operation: 43-10=33
Exploring Operation: 22+43=65, Resulting Numbers: [10, 65]
Generated Node #0,3,1: 87:[10, 65] Operation: 22+43=65
Exploring Operation: 22-10=12, Resulting Numbers: [43, 12]
Generated Node #0,3,2: 87:[43, 12] Operation: 22-10=12
Exploring Operation: 22+10=32, Resulting Numbers: [43, 32]
Generated Node #0,3,3: 87:[43, 32] Operation: 22+10=32
Exploring Operation: 43-22=21, Resulting Numbers: [10, 21]
Generated Node #0,3,4: 87:[10, 21] Operation: 43-22=21
Moving to Node #0,0,4
Current State: 87:[91, 7], Operations: ['48+22=70', '70/10=7']
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,87 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[91, 80], Operations: ['48+22=70', '10+70=80']
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,87 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[91, 80], Operations: ['22+10=32', '48+32=80']
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,87 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[22, 33], Operations: ['91-48=43', '43-10=33']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[10, 21], Operations: ['48+22=70', '91-70=21']
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,87 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[10, 21], Operations: ['91-48=43', '43-22=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,87 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[91, 16], Operations: ['22+10=32', '48-32=16']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,87 unequal: No Solution
Moving to Node #0,4,4
Current State: 87:[91, 16], Operations: ['48-10=38', '38-22=16']
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,87 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[32, 43], Operations: ['22+10=32', '91-48=43']
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,87 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[43, 32], Operations: ['91-48=43', '22+10=32']
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[70, 81], Operations: ['48+22=70', '91-10=81']
Exploring Operation: 70+81=151, Resulting Numbers: [151]
151,87 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 70*81=5670, Resulting Numbers: [5670]
5670,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[43, 12], Operations: ['91-48=43', '22-10=12']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,87 unequal: No Solution
Moving to Node #0,4,2
Current State: 87:[38, 69], Operations: ['48-10=38', '91-22=69']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 38+69=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 38*69=2622, Resulting Numbers: [2622]
2622,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[10, 65], Operations: ['91-48=43', '22+43=65']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,87 unequal: No Solution
Moving to Node #0,4,0
Current State: 87:[22, 53], Operations: ['48-10=38', '91-38=53']
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 22*53=1166, Resulting Numbers: [1166]
1166,87 unequal: No Solution
Moving to Node #0,4,1
Current State: 87:[91, 60], Operations: ['48-10=38', '22+38=60']
Exploring Operation: 91*60=5460, Resulting Numbers: [5460]
5460,87 unequal: No Solution
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,87 unequal: No Solution
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[70, 101], Operations: ['48+22=70', '91+10=101']
Exploring Operation: 70*101=7070, Resulting Numbers: [7070]
7070,87 unequal: No Solution
Exploring Operation: 70+101=171, Resulting Numbers: [171]
171,87 unequal: No Solution
Exploring Operation: 101-70=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Moving to Node #0,4,3
Current State: 87:[38, 113], Operations: ['48-10=38', '91+22=113']
Exploring Operation: 113-38=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 38*113=4294, Resulting Numbers: [4294]
4294,87 unequal: No Solution
Exploring Operation: 38+113=151, Resulting Numbers: [151]
151,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[48, 59], Operations: ['22+10=32', '91-32=59']
Exploring Operation: 48+59=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 48*59=2832, Resulting Numbers: [2832]
2832,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[32, 139], Operations: ['22+10=32', '91+48=139']
Exploring Operation: 32*139=4448, Resulting Numbers: [4448]
4448,87 unequal: No Solution
Exploring Operation: 139-32=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 32+139=171, Resulting Numbers: [171]
171,87 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
65,
64,
74,
4
] | 59 | [
"65+64=129",
"74-4=70",
"129-70=59"
] | Current State: 59:[65, 64, 74, 4], Operations: []
Exploring Operation: 65+64=129, Resulting Numbers: [74, 4, 129]
Generated Node #2: [74, 4, 129] from Operation: 65+64=129
Current State: 59:[74, 4, 129], Operations: ['65+64=129']
Exploring Operation: 74-4=70, Resulting Numbers: [129, 70]
Generated Node #3: [129, 70] from Operation: 74-4=70
Current State: 59:[129, 70], Operations: ['65+64=129', '74-4=70']
Exploring Operation: 129-70=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[65, 64, 74, 4], Operations: []
Exploring Operation: 65-4=61, Resulting Numbers: [64, 74, 61]
Generated Node #0,0: 59:[64, 74, 61] Operation: 65-4=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[64, 74, 61], Operations: ['65-4=61']
Exploring Operation: 74-64=10, Resulting Numbers: [61, 10]
Generated Node #0,0,0: 59:[61, 10] Operation: 74-64=10
Moving to Node #0,0,0
Current State: 59:[61, 10], Operations: ['65-4=61', '74-64=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
3,
49,
87
] | 41 | [
"85-49=36",
"87+36=123",
"123/3=41"
] | Current State: 41:[85, 3, 49, 87], Operations: []
Exploring Operation: 85-49=36, Resulting Numbers: [3, 87, 36]
Generated Node #2: [3, 87, 36] from Operation: 85-49=36
Current State: 41:[3, 87, 36], Operations: ['85-49=36']
Exploring Operation: 87+36=123, Resulting Numbers: [3, 123]
Generated Node #3: [3, 123] from Operation: 87+36=123
Current State: 41:[3, 123], Operations: ['85-49=36', '87+36=123']
Exploring Operation: 123/3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[85, 3, 49, 87], Operations: []
Exploring Operation: 87-49=38, Resulting Numbers: [85, 3, 38]
Generated Node #0,0: 41:[85, 3, 38] Operation: 87-49=38
Exploring Operation: 87/3=29, Resulting Numbers: [85, 49, 29]
Generated Node #0,1: 41:[85, 49, 29] Operation: 87/3=29
Exploring Operation: 85-3=82, Resulting Numbers: [49, 87, 82]
Generated Node #0,2: 41:[49, 87, 82] Operation: 85-3=82
Exploring Operation: 87-85=2, Resulting Numbers: [3, 49, 2]
Generated Node #0,3: 41:[3, 49, 2] Operation: 87-85=2
Exploring Operation: 85-49=36, Resulting Numbers: [3, 87, 36]
Generated Node #0,4: 41:[3, 87, 36] Operation: 85-49=36
Moving to Node #0,1
Current State: 41:[85, 49, 29], Operations: ['87/3=29']
Exploring Operation: 85-49=36, Resulting Numbers: [29, 36]
Generated Node #0,1,0: 41:[29, 36] Operation: 85-49=36
Exploring Operation: 49-29=20, Resulting Numbers: [85, 20]
Generated Node #0,1,1: 41:[85, 20] Operation: 49-29=20
Exploring Operation: 49+29=78, Resulting Numbers: [85, 78]
Generated Node #0,1,2: 41:[85, 78] Operation: 49+29=78
Exploring Operation: 85+29=114, Resulting Numbers: [49, 114]
Generated Node #0,1,3: 41:[49, 114] Operation: 85+29=114
Exploring Operation: 85-29=56, Resulting Numbers: [49, 56]
Generated Node #0,1,4: 41:[49, 56] Operation: 85-29=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[29, 36], Operations: ['87/3=29', '85-49=36']
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,41 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[49, 56], Operations: ['87/3=29', '85-29=56']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,41 unequal: No Solution
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[85, 20], Operations: ['87/3=29', '49-29=20']
Exploring Operation: 85*20=1700, Resulting Numbers: [1700]
1700,41 unequal: No Solution
Exploring Operation: 85+20=105, Resulting Numbers: [105]
105,41 unequal: No Solution
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[85, 78], Operations: ['87/3=29', '49+29=78']
Exploring Operation: 85*78=6630, Resulting Numbers: [6630]
6630,41 unequal: No Solution
Exploring Operation: 85+78=163, Resulting Numbers: [163]
163,41 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[49, 114], Operations: ['87/3=29', '85+29=114']
Exploring Operation: 114-49=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 49+114=163, Resulting Numbers: [163]
163,41 unequal: No Solution
Exploring Operation: 49*114=5586, Resulting Numbers: [5586]
5586,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 41:[3, 49, 2], Operations: ['87-85=2']
Exploring Operation: 3-2=1, Resulting Numbers: [49, 1]
Generated Node #0,3,0: 41:[49, 1] Operation: 3-2=1
Exploring Operation: 49-2=47, Resulting Numbers: [3, 47]
Generated Node #0,3,1: 41:[3, 47] Operation: 49-2=47
Exploring Operation: 49-3=46, Resulting Numbers: [2, 46]
Generated Node #0,3,2: 41:[2, 46] Operation: 49-3=46
Exploring Operation: 3+2=5, Resulting Numbers: [49, 5]
Generated Node #0,3,3: 41:[49, 5] Operation: 3+2=5
Exploring Operation: 3*2=6, Resulting Numbers: [49, 6]
Generated Node #0,3,4: 41:[49, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[49, 6], Operations: ['87-85=2', '3*2=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,41 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[3, 47], Operations: ['87-85=2', '49-2=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[2, 46], Operations: ['87-85=2', '49-3=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[49, 5], Operations: ['87-85=2', '3+2=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[49, 1], Operations: ['87-85=2', '3-2=1']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 41:[85, 3, 38], Operations: ['87-49=38']
Exploring Operation: 38-3=35, Resulting Numbers: [85, 35]
Generated Node #0,0,0: 41:[85, 35] Operation: 38-3=35
Exploring Operation: 85-3=82, Resulting Numbers: [38, 82]
Generated Node #0,0,1: 41:[38, 82] Operation: 85-3=82
Exploring Operation: 85-38=47, Resulting Numbers: [3, 47]
Generated Node #0,0,2: 41:[3, 47] Operation: 85-38=47
Exploring Operation: 85+3=88, Resulting Numbers: [38, 88]
Generated Node #0,0,3: 41:[38, 88] Operation: 85+3=88
Exploring Operation: 3+38=41, Resulting Numbers: [85, 41]
Generated Node #0,0,4: 41:[85, 41] Operation: 3+38=41
Moving to Node #0,4
Current State: 41:[3, 87, 36], Operations: ['85-49=36']
Exploring Operation: 3+36=39, Resulting Numbers: [87, 39]
Generated Node #0,4,0: 41:[87, 39] Operation: 3+36=39
Exploring Operation: 3+87=90, Resulting Numbers: [36, 90]
Generated Node #0,4,1: 41:[36, 90] Operation: 3+87=90
Exploring Operation: 87-3=84, Resulting Numbers: [36, 84]
Generated Node #0,4,2: 41:[36, 84] Operation: 87-3=84
Exploring Operation: 87/3=29, Resulting Numbers: [36, 29]
Generated Node #0,4,3: 41:[36, 29] Operation: 87/3=29
Exploring Operation: 87-36=51, Resulting Numbers: [3, 51]
Generated Node #0,4,4: 41:[3, 51] Operation: 87-36=51
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[36, 29], Operations: ['85-49=36', '87/3=29']
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,41 unequal: No Solution
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[87, 39], Operations: ['85-49=36', '3+36=39']
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[36, 84], Operations: ['85-49=36', '87-3=84']
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,41 unequal: No Solution
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 41:[3, 51], Operations: ['85-49=36', '87-36=51']
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,41 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[36, 90], Operations: ['85-49=36', '3+87=90']
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 36*90=3240, Resulting Numbers: [3240]
3240,41 unequal: No Solution
Exploring Operation: 36+90=126, Resulting Numbers: [126]
126,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 41:[49, 87, 82], Operations: ['85-3=82']
Exploring Operation: 82-49=33, Resulting Numbers: [87, 33]
Generated Node #0,2,0: 41:[87, 33] Operation: 82-49=33
Exploring Operation: 49+82=131, Resulting Numbers: [87, 131]
Generated Node #0,2,1: 41:[87, 131] Operation: 49+82=131
Exploring Operation: 87-49=38, Resulting Numbers: [82, 38]
Generated Node #0,2,2: 41:[82, 38] Operation: 87-49=38
Exploring Operation: 87-82=5, Resulting Numbers: [49, 5]
Generated Node #0,2,3: 41:[49, 5] Operation: 87-82=5
Exploring Operation: 49+87=136, Resulting Numbers: [82, 136]
Generated Node #0,2,4: 41:[82, 136] Operation: 49+87=136
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[82, 38], Operations: ['85-3=82', '87-49=38']
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,41 unequal: No Solution
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[49, 5], Operations: ['85-3=82', '87-82=5']
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,41 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[87, 33], Operations: ['85-3=82', '82-49=33']
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,41 unequal: No Solution
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[87, 131], Operations: ['85-3=82', '49+82=131']
Exploring Operation: 131-87=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 87+131=218, Resulting Numbers: [218]
218,41 unequal: No Solution
Exploring Operation: 87*131=11397, Resulting Numbers: [11397]
11397,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 41:[82, 136], Operations: ['85-3=82', '49+87=136']
Exploring Operation: 82*136=11152, Resulting Numbers: [11152]
11152,41 unequal: No Solution
Exploring Operation: 82+136=218, Resulting Numbers: [218]
218,41 unequal: No Solution
Exploring Operation: 136-82=54, Resulting Numbers: [54]
54,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 41:[38, 82], Operations: ['87-49=38', '85-3=82']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,41 unequal: No Solution
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[85, 41], Operations: ['87-49=38', '3+38=41']
Exploring Operation: 85+41=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 85*41=3485, Resulting Numbers: [3485]
3485,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[3, 47], Operations: ['87-49=38', '85-38=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,41 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[85, 35], Operations: ['87-49=38', '38-3=35']
Exploring Operation: 85+35=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Exploring Operation: 85*35=2975, Resulting Numbers: [2975]
2975,41 unequal: No Solution
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[38, 88], Operations: ['87-49=38', '85+3=88']
Exploring Operation: 38+88=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 38*88=3344, Resulting Numbers: [3344]
3344,41 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,41 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
32,
87,
29,
62
] | 97 | [
"32+62=94",
"87/29=3",
"94+3=97"
] | Current State: 97:[32, 87, 29, 62], Operations: []
Exploring Operation: 32+62=94, Resulting Numbers: [87, 29, 94]
Generated Node #2: [87, 29, 94] from Operation: 32+62=94
Current State: 97:[87, 29, 94], Operations: ['32+62=94']
Exploring Operation: 87/29=3, Resulting Numbers: [94, 3]
Generated Node #3: [94, 3] from Operation: 87/29=3
Current State: 97:[94, 3], Operations: ['32+62=94', '87/29=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[32, 87, 29, 62], Operations: []
Exploring Operation: 32+29=61, Resulting Numbers: [87, 62, 61]
Generated Node #0,0: 97:[87, 62, 61] Operation: 32+29=61
Exploring Operation: 32+62=94, Resulting Numbers: [87, 29, 94]
Generated Node #0,1: 97:[87, 29, 94] Operation: 32+62=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[87, 62, 61], Operations: ['32+29=61']
Exploring Operation: 87+61=148, Resulting Numbers: [62, 148]
Generated Node #0,0,0: 97:[62, 148] Operation: 87+61=148
Exploring Operation: 62+61=123, Resulting Numbers: [87, 123]
Generated Node #0,0,1: 97:[87, 123] Operation: 62+61=123
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[87, 123], Operations: ['32+29=61', '62+61=123']
Exploring Operation: 123-87=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 87+123=210, Resulting Numbers: [210]
210,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[62, 148], Operations: ['32+29=61', '87+61=148']
Exploring Operation: 148-62=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 62+148=210, Resulting Numbers: [210]
210,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[87, 29, 94], Operations: ['32+62=94']
Exploring Operation: 87+29=116, Resulting Numbers: [94, 116]
Generated Node #0,1,0: 97:[94, 116] Operation: 87+29=116
Exploring Operation: 29+94=123, Resulting Numbers: [87, 123]
Generated Node #0,1,1: 97:[87, 123] Operation: 29+94=123
Moving to Node #0,1,0
Current State: 97:[94, 116], Operations: ['32+62=94', '87+29=116']
Exploring Operation: 94+116=210, Resulting Numbers: [210]
210,97 unequal: No Solution
Exploring Operation: 116-94=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[87, 123], Operations: ['32+62=94', '29+94=123']
Exploring Operation: 87+123=210, Resulting Numbers: [210]
210,97 unequal: No Solution
Exploring Operation: 123-87=36, Resulting Numbers: [36]
36,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
28,
56,
79,
8
] | 58 | [
"79-28=51",
"56/8=7",
"51+7=58"
] | Current State: 58:[28, 56, 79, 8], Operations: []
Exploring Operation: 79-28=51, Resulting Numbers: [56, 8, 51]
Generated Node #2: [56, 8, 51] from Operation: 79-28=51
Current State: 58:[56, 8, 51], Operations: ['79-28=51']
Exploring Operation: 56/8=7, Resulting Numbers: [51, 7]
Generated Node #3: [51, 7] from Operation: 56/8=7
Current State: 58:[51, 7], Operations: ['79-28=51', '56/8=7']
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[28, 56, 79, 8], Operations: []
Exploring Operation: 56/8=7, Resulting Numbers: [28, 79, 7]
Generated Node #0,0: 58:[28, 79, 7] Operation: 56/8=7
Exploring Operation: 79-56=23, Resulting Numbers: [28, 8, 23]
Generated Node #0,1: 58:[28, 8, 23] Operation: 79-56=23
Exploring Operation: 79-8=71, Resulting Numbers: [28, 56, 71]
Generated Node #0,2: 58:[28, 56, 71] Operation: 79-8=71
Exploring Operation: 79-28=51, Resulting Numbers: [56, 8, 51]
Generated Node #0,3: 58:[56, 8, 51] Operation: 79-28=51
Exploring Operation: 56/28=2, Resulting Numbers: [79, 8, 2]
Generated Node #0,4: 58:[79, 8, 2] Operation: 56/28=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[28, 8, 23], Operations: ['79-56=23']
Exploring Operation: 28+23=51, Resulting Numbers: [8, 51]
Generated Node #0,1,0: 58:[8, 51] Operation: 28+23=51
Exploring Operation: 23-8=15, Resulting Numbers: [28, 15]
Generated Node #0,1,1: 58:[28, 15] Operation: 23-8=15
Exploring Operation: 28-23=5, Resulting Numbers: [8, 5]
Generated Node #0,1,2: 58:[8, 5] Operation: 28-23=5
Exploring Operation: 8+23=31, Resulting Numbers: [28, 31]
Generated Node #0,1,3: 58:[28, 31] Operation: 8+23=31
Exploring Operation: 28+8=36, Resulting Numbers: [23, 36]
Generated Node #0,1,4: 58:[23, 36] Operation: 28+8=36
Moving to Node #0,1,3
Current State: 58:[28, 31], Operations: ['79-56=23', '8+23=31']
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,58 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[8, 5], Operations: ['79-56=23', '28-23=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[8, 51], Operations: ['79-56=23', '28+23=51']
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,58 unequal: No Solution
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Moving to Node #0,1,4
Current State: 58:[23, 36], Operations: ['79-56=23', '28+8=36']
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[28, 15], Operations: ['79-56=23', '23-8=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,58 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[56, 8, 51], Operations: ['79-28=51']
Exploring Operation: 56+8=64, Resulting Numbers: [51, 64]
Generated Node #0,3,0: 58:[51, 64] Operation: 56+8=64
Exploring Operation: 56/8=7, Resulting Numbers: [51, 7]
Generated Node #0,3,1: 58:[51, 7] Operation: 56/8=7
Exploring Operation: 51-8=43, Resulting Numbers: [56, 43]
Generated Node #0,3,2: 58:[56, 43] Operation: 51-8=43
Exploring Operation: 8+51=59, Resulting Numbers: [56, 59]
Generated Node #0,3,3: 58:[56, 59] Operation: 8+51=59
Exploring Operation: 56-51=5, Resulting Numbers: [8, 5]
Generated Node #0,3,4: 58:[8, 5] Operation: 56-51=5
Moving to Node #0,3,3
Current State: 58:[56, 59], Operations: ['79-28=51', '8+51=59']
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,58 unequal: No Solution
Exploring Operation: 56*59=3304, Resulting Numbers: [3304]
3304,58 unequal: No Solution
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Moving to Node #0,3,4
Current State: 58:[8, 5], Operations: ['79-28=51', '56-51=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[51, 7], Operations: ['79-28=51', '56/8=7']
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,58 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[28, 56, 79, 8], Operations: []
Exploring Operation: 79-28=51, Resulting Numbers: [56, 8, 51]
Generated Node #0,3: 58:[56, 8, 51] Operation: 79-28=51
Moving to Node #0,3
Current State: 58:[56, 8, 51], Operations: ['79-28=51']
Exploring Operation: 56/8=7, Resulting Numbers: [51, 7]
Generated Node #0,3,1: 58:[51, 7] Operation: 56/8=7
Moving to Node #0,3,1
Current State: 58:[51, 7], Operations: ['79-28=51', '56/8=7']
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
94,
20,
35,
77
] | 38 | [
"94-20=74",
"35+77=112",
"112-74=38"
] | Current State: 38:[94, 20, 35, 77], Operations: []
Exploring Operation: 94-20=74, Resulting Numbers: [35, 77, 74]
Generated Node #2: [35, 77, 74] from Operation: 94-20=74
Current State: 38:[35, 77, 74], Operations: ['94-20=74']
Exploring Operation: 35+77=112, Resulting Numbers: [74, 112]
Generated Node #3: [74, 112] from Operation: 35+77=112
Current State: 38:[74, 112], Operations: ['94-20=74', '35+77=112']
Exploring Operation: 112-74=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[94, 20, 35, 77], Operations: []
Exploring Operation: 94-77=17, Resulting Numbers: [20, 35, 17]
Generated Node #0,0: 38:[20, 35, 17] Operation: 94-77=17
Exploring Operation: 94-35=59, Resulting Numbers: [20, 77, 59]
Generated Node #0,1: 38:[20, 77, 59] Operation: 94-35=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[20, 35, 17], Operations: ['94-77=17']
Exploring Operation: 20+17=37, Resulting Numbers: [35, 37]
Generated Node #0,0,0: 38:[35, 37] Operation: 20+17=37
Exploring Operation: 35-17=18, Resulting Numbers: [20, 18]
Generated Node #0,0,1: 38:[20, 18] Operation: 35-17=18
Moving to Node #0,0,1
Current State: 38:[20, 18], Operations: ['94-77=17', '35-17=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[94, 20, 35, 77], Operations: []
Exploring Operation: 94-77=17, Resulting Numbers: [20, 35, 17]
Generated Node #0,0: 38:[20, 35, 17] Operation: 94-77=17
Moving to Node #0,0
Current State: 38:[20, 35, 17], Operations: ['94-77=17']
Exploring Operation: 35-17=18, Resulting Numbers: [20, 18]
Generated Node #0,0,1: 38:[20, 18] Operation: 35-17=18
Moving to Node #0,0,1
Current State: 38:[20, 18], Operations: ['94-77=17', '35-17=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
21,
4,
49,
95
] | 39 | [
"95-4=91",
"21*91=1911",
"1911/49=39"
] | Current State: 39:[21, 4, 49, 95], Operations: []
Exploring Operation: 95-4=91, Resulting Numbers: [21, 49, 91]
Generated Node #2: [21, 49, 91] from Operation: 95-4=91
Current State: 39:[21, 49, 91], Operations: ['95-4=91']
Exploring Operation: 21*91=1911, Resulting Numbers: [49, 1911]
Generated Node #3: [49, 1911] from Operation: 21*91=1911
Current State: 39:[49, 1911], Operations: ['95-4=91', '21*91=1911']
Exploring Operation: 1911/49=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[21, 4, 49, 95], Operations: []
Exploring Operation: 49-21=28, Resulting Numbers: [4, 95, 28]
Generated Node #0,0: 39:[4, 95, 28] Operation: 49-21=28
Exploring Operation: 95-21=74, Resulting Numbers: [4, 49, 74]
Generated Node #0,1: 39:[4, 49, 74] Operation: 95-21=74
Exploring Operation: 95-49=46, Resulting Numbers: [21, 4, 46]
Generated Node #0,2: 39:[21, 4, 46] Operation: 95-49=46
Exploring Operation: 21-4=17, Resulting Numbers: [49, 95, 17]
Generated Node #0,3: 39:[49, 95, 17] Operation: 21-4=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[21, 4, 46], Operations: ['95-49=46']
Exploring Operation: 21-4=17, Resulting Numbers: [46, 17]
Generated Node #0,2,0: 39:[46, 17] Operation: 21-4=17
Exploring Operation: 21+4=25, Resulting Numbers: [46, 25]
Generated Node #0,2,1: 39:[46, 25] Operation: 21+4=25
Exploring Operation: 46-21=25, Resulting Numbers: [4, 25]
Generated Node #0,2,2: 39:[4, 25] Operation: 46-21=25
Exploring Operation: 46-4=42, Resulting Numbers: [21, 42]
Generated Node #0,2,3: 39:[21, 42] Operation: 46-4=42
Moving to Node #0,2,0
Current State: 39:[46, 17], Operations: ['95-49=46', '21-4=17']
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,39 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[21, 42], Operations: ['95-49=46', '46-4=42']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[4, 25], Operations: ['95-49=46', '46-21=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[46, 25], Operations: ['95-49=46', '21+4=25']
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,39 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[4, 49, 74], Operations: ['95-21=74']
Exploring Operation: 4+49=53, Resulting Numbers: [74, 53]
Generated Node #0,1,0: 39:[74, 53] Operation: 4+49=53
Exploring Operation: 74-49=25, Resulting Numbers: [4, 25]
Generated Node #0,1,1: 39:[4, 25] Operation: 74-49=25
Exploring Operation: 49-4=45, Resulting Numbers: [74, 45]
Generated Node #0,1,2: 39:[74, 45] Operation: 49-4=45
Exploring Operation: 74-4=70, Resulting Numbers: [49, 70]
Generated Node #0,1,3: 39:[49, 70] Operation: 74-4=70
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[4, 25], Operations: ['95-21=74', '74-49=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[74, 45], Operations: ['95-21=74', '49-4=45']
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 74+45=119, Resulting Numbers: [119]
119,39 unequal: No Solution
Exploring Operation: 74*45=3330, Resulting Numbers: [3330]
3330,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[49, 70], Operations: ['95-21=74', '74-4=70']
Exploring Operation: 49*70=3430, Resulting Numbers: [3430]
3430,39 unequal: No Solution
Exploring Operation: 49+70=119, Resulting Numbers: [119]
119,39 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[74, 53], Operations: ['95-21=74', '4+49=53']
Exploring Operation: 74+53=127, Resulting Numbers: [127]
127,39 unequal: No Solution
Exploring Operation: 74*53=3922, Resulting Numbers: [3922]
3922,39 unequal: No Solution
Exploring Operation: 74-53=21, Resulting Numbers: [21]
21,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[4, 95, 28], Operations: ['49-21=28']
Exploring Operation: 4+28=32, Resulting Numbers: [95, 32]
Generated Node #0,0,0: 39:[95, 32] Operation: 4+28=32
Exploring Operation: 28/4=7, Resulting Numbers: [95, 7]
Generated Node #0,0,1: 39:[95, 7] Operation: 28/4=7
Exploring Operation: 95-28=67, Resulting Numbers: [4, 67]
Generated Node #0,0,2: 39:[4, 67] Operation: 95-28=67
Exploring Operation: 95-4=91, Resulting Numbers: [28, 91]
Generated Node #0,0,3: 39:[28, 91] Operation: 95-4=91
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[4, 67], Operations: ['49-21=28', '95-28=67']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,39 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[95, 7], Operations: ['49-21=28', '28/4=7']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 95*7=665, Resulting Numbers: [665]
665,39 unequal: No Solution
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[95, 32], Operations: ['49-21=28', '4+28=32']
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 95+32=127, Resulting Numbers: [127]
127,39 unequal: No Solution
Exploring Operation: 95*32=3040, Resulting Numbers: [3040]
3040,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[28, 91], Operations: ['49-21=28', '95-4=91']
Exploring Operation: 28*91=2548, Resulting Numbers: [2548]
2548,39 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 28+91=119, Resulting Numbers: [119]
119,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[49, 95, 17], Operations: ['21-4=17']
Exploring Operation: 95-17=78, Resulting Numbers: [49, 78]
Generated Node #0,3,0: 39:[49, 78] Operation: 95-17=78
Exploring Operation: 49+17=66, Resulting Numbers: [95, 66]
Generated Node #0,3,1: 39:[95, 66] Operation: 49+17=66
Exploring Operation: 95-49=46, Resulting Numbers: [17, 46]
Generated Node #0,3,2: 39:[17, 46] Operation: 95-49=46
Exploring Operation: 49-17=32, Resulting Numbers: [95, 32]
Generated Node #0,3,3: 39:[95, 32] Operation: 49-17=32
Moving to Node #0,3,2
Current State: 39:[17, 46], Operations: ['21-4=17', '95-49=46']
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[49, 78], Operations: ['21-4=17', '95-17=78']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 49*78=3822, Resulting Numbers: [3822]
3822,39 unequal: No Solution
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[95, 32], Operations: ['21-4=17', '49-17=32']
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 95+32=127, Resulting Numbers: [127]
127,39 unequal: No Solution
Exploring Operation: 95*32=3040, Resulting Numbers: [3040]
3040,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[95, 66], Operations: ['21-4=17', '49+17=66']
Exploring Operation: 95+66=161, Resulting Numbers: [161]
161,39 unequal: No Solution
Exploring Operation: 95*66=6270, Resulting Numbers: [6270]
6270,39 unequal: No Solution
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
85,
90,
30,
15
] | 80 | [
"85*30=2550",
"2550/15=170",
"170-90=80"
] | Current State: 80:[85, 90, 30, 15], Operations: []
Exploring Operation: 85*30=2550, Resulting Numbers: [90, 15, 2550]
Generated Node #2: [90, 15, 2550] from Operation: 85*30=2550
Current State: 80:[90, 15, 2550], Operations: ['85*30=2550']
Exploring Operation: 2550/15=170, Resulting Numbers: [90, 170]
Generated Node #3: [90, 170] from Operation: 2550/15=170
Current State: 80:[90, 170], Operations: ['85*30=2550', '2550/15=170']
Exploring Operation: 170-90=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[85, 90, 30, 15], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [30, 15, 5]
Generated Node #0,0: 80:[30, 15, 5] Operation: 90-85=5
Exploring Operation: 90/30=3, Resulting Numbers: [85, 15, 3]
Generated Node #0,1: 80:[85, 15, 3] Operation: 90/30=3
Exploring Operation: 90/15=6, Resulting Numbers: [85, 30, 6]
Generated Node #0,2: 80:[85, 30, 6] Operation: 90/15=6
Exploring Operation: 30/15=2, Resulting Numbers: [85, 90, 2]
Generated Node #0,3: 80:[85, 90, 2] Operation: 30/15=2
Exploring Operation: 30-15=15, Resulting Numbers: [85, 90, 15]
Generated Node #0,4: 80:[85, 90, 15] Operation: 30-15=15
Moving to Node #0,1
Current State: 80:[85, 15, 3], Operations: ['90/30=3']
Exploring Operation: 15-3=12, Resulting Numbers: [85, 12]
Generated Node #0,1,0: 80:[85, 12] Operation: 15-3=12
Exploring Operation: 85-3=82, Resulting Numbers: [15, 82]
Generated Node #0,1,1: 80:[15, 82] Operation: 85-3=82
Exploring Operation: 15+3=18, Resulting Numbers: [85, 18]
Generated Node #0,1,2: 80:[85, 18] Operation: 15+3=18
Exploring Operation: 85+3=88, Resulting Numbers: [15, 88]
Generated Node #0,1,3: 80:[15, 88] Operation: 85+3=88
Exploring Operation: 15/3=5, Resulting Numbers: [85, 5]
Generated Node #0,1,4: 80:[85, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[15, 82], Operations: ['90/30=3', '85-3=82']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 15+82=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 15*82=1230, Resulting Numbers: [1230]
1230,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 80:[85, 5], Operations: ['90/30=3', '15/3=5']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[85, 90, 30, 15], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [85, 15, 3]
Generated Node #0,1: 80:[85, 15, 3] Operation: 90/30=3
Moving to Node #0,1
Current State: 80:[85, 15, 3], Operations: ['90/30=3']
Exploring Operation: 15/3=5, Resulting Numbers: [85, 5]
Generated Node #0,1,4: 80:[85, 5] Operation: 15/3=5
Moving to Node #0,1,4
Current State: 80:[85, 5], Operations: ['90/30=3', '15/3=5']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
4,
24,
98,
63
] | 44 | [
"98-24=74",
"74-63=11",
"4*11=44"
] | Current State: 44:[4, 24, 98, 63], Operations: []
Exploring Operation: 98-24=74, Resulting Numbers: [4, 63, 74]
Generated Node #2: [4, 63, 74] from Operation: 98-24=74
Current State: 44:[4, 63, 74], Operations: ['98-24=74']
Exploring Operation: 74-63=11, Resulting Numbers: [4, 11]
Generated Node #3: [4, 11] from Operation: 74-63=11
Current State: 44:[4, 11], Operations: ['98-24=74', '74-63=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[4, 24, 98, 63], Operations: []
Exploring Operation: 98-4=94, Resulting Numbers: [24, 63, 94]
Generated Node #0,0: 44:[24, 63, 94] Operation: 98-4=94
Exploring Operation: 98-24=74, Resulting Numbers: [4, 63, 74]
Generated Node #0,1: 44:[4, 63, 74] Operation: 98-24=74
Exploring Operation: 63-4=59, Resulting Numbers: [24, 98, 59]
Generated Node #0,2: 44:[24, 98, 59] Operation: 63-4=59
Exploring Operation: 98-63=35, Resulting Numbers: [4, 24, 35]
Generated Node #0,3: 44:[4, 24, 35] Operation: 98-63=35
Exploring Operation: 63-24=39, Resulting Numbers: [4, 98, 39]
Generated Node #0,4: 44:[4, 98, 39] Operation: 63-24=39
Moving to Node #0,3
Current State: 44:[4, 24, 35], Operations: ['98-63=35']
Exploring Operation: 35-24=11, Resulting Numbers: [4, 11]
Generated Node #0,3,0: 44:[4, 11] Operation: 35-24=11
Exploring Operation: 24/4=6, Resulting Numbers: [35, 6]
Generated Node #0,3,1: 44:[35, 6] Operation: 24/4=6
Exploring Operation: 4+35=39, Resulting Numbers: [24, 39]
Generated Node #0,3,2: 44:[24, 39] Operation: 4+35=39
Exploring Operation: 35-4=31, Resulting Numbers: [24, 31]
Generated Node #0,3,3: 44:[24, 31] Operation: 35-4=31
Exploring Operation: 24-4=20, Resulting Numbers: [35, 20]
Generated Node #0,3,4: 44:[35, 20] Operation: 24-4=20
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[4, 11], Operations: ['98-63=35', '35-24=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,44 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[4, 24, 98, 63], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [4, 24, 35]
Generated Node #0,3: 44:[4, 24, 35] Operation: 98-63=35
Moving to Node #0,3
Current State: 44:[4, 24, 35], Operations: ['98-63=35']
Exploring Operation: 35-24=11, Resulting Numbers: [4, 11]
Generated Node #0,3,0: 44:[4, 11] Operation: 35-24=11
Moving to Node #0,3,0
Current State: 44:[4, 11], Operations: ['98-63=35', '35-24=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
81,
93,
13,
33
] | 33 | [
"93-81=12",
"13-12=1",
"33*1=33"
] | Current State: 33:[81, 93, 13, 33], Operations: []
Exploring Operation: 93-81=12, Resulting Numbers: [13, 33, 12]
Generated Node #2: [13, 33, 12] from Operation: 93-81=12
Current State: 33:[13, 33, 12], Operations: ['93-81=12']
Exploring Operation: 13-12=1, Resulting Numbers: [33, 1]
Generated Node #3: [33, 1] from Operation: 13-12=1
Current State: 33:[33, 1], Operations: ['93-81=12', '13-12=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[81, 93, 13, 33], Operations: []
Exploring Operation: 93-81=12, Resulting Numbers: [13, 33, 12]
Generated Node #0,0: 33:[13, 33, 12] Operation: 93-81=12
Exploring Operation: 81-13=68, Resulting Numbers: [93, 33, 68]
Generated Node #0,1: 33:[93, 33, 68] Operation: 81-13=68
Exploring Operation: 81-33=48, Resulting Numbers: [93, 13, 48]
Generated Node #0,2: 33:[93, 13, 48] Operation: 81-33=48
Exploring Operation: 93-33=60, Resulting Numbers: [81, 13, 60]
Generated Node #0,3: 33:[81, 13, 60] Operation: 93-33=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[13, 33, 12], Operations: ['93-81=12']
Exploring Operation: 13-12=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 33:[33, 1] Operation: 13-12=1
Exploring Operation: 33-13=20, Resulting Numbers: [12, 20]
Generated Node #0,0,1: 33:[12, 20] Operation: 33-13=20
Exploring Operation: 13+12=25, Resulting Numbers: [33, 25]
Generated Node #0,0,2: 33:[33, 25] Operation: 13+12=25
Exploring Operation: 33-12=21, Resulting Numbers: [13, 21]
Generated Node #0,0,3: 33:[13, 21] Operation: 33-12=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[33, 1], Operations: ['93-81=12', '13-12=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[81, 93, 13, 33], Operations: []
Exploring Operation: 93-81=12, Resulting Numbers: [13, 33, 12]
Generated Node #0,0: 33:[13, 33, 12] Operation: 93-81=12
Moving to Node #0,0
Current State: 33:[13, 33, 12], Operations: ['93-81=12']
Exploring Operation: 13-12=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 33:[33, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 33:[33, 1], Operations: ['93-81=12', '13-12=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
9,
73,
51,
44
] | 31 | [
"73-9=64",
"51+44=95",
"95-64=31"
] | Current State: 31:[9, 73, 51, 44], Operations: []
Exploring Operation: 73-9=64, Resulting Numbers: [51, 44, 64]
Generated Node #2: [51, 44, 64] from Operation: 73-9=64
Current State: 31:[51, 44, 64], Operations: ['73-9=64']
Exploring Operation: 51+44=95, Resulting Numbers: [64, 95]
Generated Node #3: [64, 95] from Operation: 51+44=95
Current State: 31:[64, 95], Operations: ['73-9=64', '51+44=95']
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[9, 73, 51, 44], Operations: []
Exploring Operation: 73-44=29, Resulting Numbers: [9, 51, 29]
Generated Node #0,0: 31:[9, 51, 29] Operation: 73-44=29
Exploring Operation: 73-51=22, Resulting Numbers: [9, 44, 22]
Generated Node #0,1: 31:[9, 44, 22] Operation: 73-51=22
Exploring Operation: 73-9=64, Resulting Numbers: [51, 44, 64]
Generated Node #0,2: 31:[51, 44, 64] Operation: 73-9=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[9, 51, 29], Operations: ['73-44=29']
Exploring Operation: 9+29=38, Resulting Numbers: [51, 38]
Generated Node #0,0,0: 31:[51, 38] Operation: 9+29=38
Exploring Operation: 9+51=60, Resulting Numbers: [29, 60]
Generated Node #0,0,1: 31:[29, 60] Operation: 9+51=60
Exploring Operation: 51-9=42, Resulting Numbers: [29, 42]
Generated Node #0,0,2: 31:[29, 42] Operation: 51-9=42
Moving to Node #0,0,2
Current State: 31:[29, 42], Operations: ['73-44=29', '51-9=42']
Exploring Operation: 29*42=1218, Resulting Numbers: [1218]
1218,31 unequal: No Solution
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[51, 38], Operations: ['73-44=29', '9+29=38']
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,31 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[29, 60], Operations: ['73-44=29', '9+51=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,31 unequal: No Solution
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,31 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[9, 73, 51, 44], Operations: []
Exploring Operation: 73-44=29, Resulting Numbers: [9, 51, 29]
Generated Node #0,0: 31:[9, 51, 29] Operation: 73-44=29
Moving to Node #0,0
Current State: 31:[9, 51, 29], Operations: ['73-44=29']
Exploring Operation: 9+51=60, Resulting Numbers: [29, 60]
Generated Node #0,0,1: 31:[29, 60] Operation: 9+51=60
Moving to Node #0,0,1
Current State: 31:[29, 60], Operations: ['73-44=29', '9+51=60']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
50,
93,
45,
22
] | 24 | [
"93-50=43",
"45+22=67",
"67-43=24"
] | Current State: 24:[50, 93, 45, 22], Operations: []
Exploring Operation: 93-50=43, Resulting Numbers: [45, 22, 43]
Generated Node #2: [45, 22, 43] from Operation: 93-50=43
Current State: 24:[45, 22, 43], Operations: ['93-50=43']
Exploring Operation: 45+22=67, Resulting Numbers: [43, 67]
Generated Node #3: [43, 67] from Operation: 45+22=67
Current State: 24:[43, 67], Operations: ['93-50=43', '45+22=67']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[50, 93, 45, 22], Operations: []
Exploring Operation: 93-50=43, Resulting Numbers: [45, 22, 43]
Generated Node #0,0: 24:[45, 22, 43] Operation: 93-50=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[45, 22, 43], Operations: ['93-50=43']
Exploring Operation: 45-43=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 24:[22, 2] Operation: 45-43=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[22, 2], Operations: ['93-50=43', '45-43=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[50, 93, 45, 22], Operations: []
Exploring Operation: 93-50=43, Resulting Numbers: [45, 22, 43]
Generated Node #0,0: 24:[45, 22, 43] Operation: 93-50=43
Moving to Node #0,0
Current State: 24:[45, 22, 43], Operations: ['93-50=43']
Exploring Operation: 45-43=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 24:[22, 2] Operation: 45-43=2
Moving to Node #0,0,0
Current State: 24:[22, 2], Operations: ['93-50=43', '45-43=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
92,
91,
6,
93
] | 46 | [
"92+91=183",
"93+183=276",
"276/6=46"
] | Current State: 46:[92, 91, 6, 93], Operations: []
Exploring Operation: 92+91=183, Resulting Numbers: [6, 93, 183]
Generated Node #2: [6, 93, 183] from Operation: 92+91=183
Current State: 46:[6, 93, 183], Operations: ['92+91=183']
Exploring Operation: 93+183=276, Resulting Numbers: [6, 276]
Generated Node #3: [6, 276] from Operation: 93+183=276
Current State: 46:[6, 276], Operations: ['92+91=183', '93+183=276']
Exploring Operation: 276/6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[92, 91, 6, 93], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [91, 6, 1]
Generated Node #0,0: 46:[91, 6, 1] Operation: 93-92=1
Exploring Operation: 92-91=1, Resulting Numbers: [6, 93, 1]
Generated Node #0,1: 46:[6, 93, 1] Operation: 92-91=1
Exploring Operation: 93-91=2, Resulting Numbers: [92, 6, 2]
Generated Node #0,2: 46:[92, 6, 2] Operation: 93-91=2
Exploring Operation: 92-6=86, Resulting Numbers: [91, 93, 86]
Generated Node #0,3: 46:[91, 93, 86] Operation: 92-6=86
Moving to Node #0,0
Current State: 46:[91, 6, 1], Operations: ['93-92=1']
Exploring Operation: 91-1=90, Resulting Numbers: [6, 90]
Generated Node #0,0,0: 46:[6, 90] Operation: 91-1=90
Exploring Operation: 6-1=5, Resulting Numbers: [91, 5]
Generated Node #0,0,1: 46:[91, 5] Operation: 6-1=5
Exploring Operation: 91*1=91, Resulting Numbers: [6, 91]
Generated Node #0,0,2: 46:[6, 91] Operation: 91*1=91
Exploring Operation: 91-6=85, Resulting Numbers: [1, 85]
Generated Node #0,0,3: 46:[1, 85] Operation: 91-6=85
Moving to Node #0,2
Current State: 46:[92, 6, 2], Operations: ['93-91=2']
Exploring Operation: 92/2=46, Resulting Numbers: [6, 46]
Generated Node #0,2,0: 46:[6, 46] Operation: 92/2=46
Exploring Operation: 92-6=86, Resulting Numbers: [2, 86]
Generated Node #0,2,1: 46:[2, 86] Operation: 92-6=86
Exploring Operation: 92-2=90, Resulting Numbers: [6, 90]
Generated Node #0,2,2: 46:[6, 90] Operation: 92-2=90
Exploring Operation: 6/2=3, Resulting Numbers: [92, 3]
Generated Node #0,2,3: 46:[92, 3] Operation: 6/2=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[6, 46], Operations: ['93-91=2', '92/2=46']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,46 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[2, 86], Operations: ['93-91=2', '92-6=86']
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,46 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 46:[92, 3], Operations: ['93-91=2', '6/2=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,46 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[6, 90], Operations: ['93-91=2', '92-2=90']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 6*90=540, Resulting Numbers: [540]
540,46 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 46:[6, 93, 1], Operations: ['92-91=1']
Exploring Operation: 6*1=6, Resulting Numbers: [93, 6]
Generated Node #0,1,0: 46:[93, 6] Operation: 6*1=6
Exploring Operation: 93-6=87, Resulting Numbers: [1, 87]
Generated Node #0,1,1: 46:[1, 87] Operation: 93-6=87
Exploring Operation: 93-1=92, Resulting Numbers: [6, 92]
Generated Node #0,1,2: 46:[6, 92] Operation: 93-1=92
Exploring Operation: 6-1=5, Resulting Numbers: [93, 5]
Generated Node #0,1,3: 46:[93, 5] Operation: 6-1=5
Moving to Node #0,3
Current State: 46:[91, 93, 86], Operations: ['92-6=86']
Exploring Operation: 93-86=7, Resulting Numbers: [91, 7]
Generated Node #0,3,0: 46:[91, 7] Operation: 93-86=7
Exploring Operation: 91-86=5, Resulting Numbers: [93, 5]
Generated Node #0,3,1: 46:[93, 5] Operation: 91-86=5
Exploring Operation: 91+93=184, Resulting Numbers: [86, 184]
Generated Node #0,3,2: 46:[86, 184] Operation: 91+93=184
Exploring Operation: 93-91=2, Resulting Numbers: [86, 2]
Generated Node #0,3,3: 46:[86, 2] Operation: 93-91=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[86, 2], Operations: ['92-6=86', '93-91=2']
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,46 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[91, 7], Operations: ['92-6=86', '93-86=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,46 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[93, 5], Operations: ['92-6=86', '91-86=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 46:[86, 184], Operations: ['92-6=86', '91+93=184']
Exploring Operation: 86+184=270, Resulting Numbers: [270]
270,46 unequal: No Solution
Exploring Operation: 86*184=15824, Resulting Numbers: [15824]
15824,46 unequal: No Solution
Exploring Operation: 184-86=98, Resulting Numbers: [98]
98,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 46:[1, 85], Operations: ['93-92=1', '91-6=85']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[1, 87], Operations: ['92-91=1', '93-6=87']
Exploring Operation: 1+87=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 1*87=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[91, 5], Operations: ['93-92=1', '6-1=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[6, 90], Operations: ['93-92=1', '91-1=90']
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 6*90=540, Resulting Numbers: [540]
540,46 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[6, 91], Operations: ['93-92=1', '91*1=91']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 6*91=546, Resulting Numbers: [546]
546,46 unequal: No Solution
Exploring Operation: 6+91=97, Resulting Numbers: [97]
97,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[6, 92], Operations: ['92-91=1', '93-1=92']
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 6*92=552, Resulting Numbers: [552]
552,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[93, 5], Operations: ['92-91=1', '6-1=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,46 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[93, 6], Operations: ['92-91=1', '6*1=6']
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,46 unequal: No Solution
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,46 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
48,
3,
68,
8
] | 84 | [
"48*3=144",
"68-8=60",
"144-60=84"
] | Current State: 84:[48, 3, 68, 8], Operations: []
Exploring Operation: 48*3=144, Resulting Numbers: [68, 8, 144]
Generated Node #2: [68, 8, 144] from Operation: 48*3=144
Current State: 84:[68, 8, 144], Operations: ['48*3=144']
Exploring Operation: 68-8=60, Resulting Numbers: [144, 60]
Generated Node #3: [144, 60] from Operation: 68-8=60
Current State: 84:[144, 60], Operations: ['48*3=144', '68-8=60']
Exploring Operation: 144-60=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[48, 3, 68, 8], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [3, 8, 20]
Generated Node #0,0: 84:[3, 8, 20] Operation: 68-48=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[3, 8, 20], Operations: ['68-48=20']
Exploring Operation: 8+20=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 84:[3, 28] Operation: 8+20=28
Moving to Node #0,0,0
Current State: 84:[3, 28], Operations: ['68-48=20', '8+20=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[48, 3, 68, 8], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [3, 8, 20]
Generated Node #0,0: 84:[3, 8, 20] Operation: 68-48=20
Moving to Node #0,0
Current State: 84:[3, 8, 20], Operations: ['68-48=20']
Exploring Operation: 8+20=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 84:[3, 28] Operation: 8+20=28
Moving to Node #0,0,0
Current State: 84:[3, 28], Operations: ['68-48=20', '8+20=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
42,
72,
53,
54
] | 59 | [
"54-42=12",
"72/12=6",
"53+6=59"
] | Current State: 59:[42, 72, 53, 54], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [72, 53, 12]
Generated Node #2: [72, 53, 12] from Operation: 54-42=12
Current State: 59:[72, 53, 12], Operations: ['54-42=12']
Exploring Operation: 72/12=6, Resulting Numbers: [53, 6]
Generated Node #3: [53, 6] from Operation: 72/12=6
Current State: 59:[53, 6], Operations: ['54-42=12', '72/12=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[42, 72, 53, 54], Operations: []
Exploring Operation: 42+54=96, Resulting Numbers: [72, 53, 96]
Generated Node #0,0: 59:[72, 53, 96] Operation: 42+54=96
Exploring Operation: 72-42=30, Resulting Numbers: [53, 54, 30]
Generated Node #0,1: 59:[53, 54, 30] Operation: 72-42=30
Exploring Operation: 72-53=19, Resulting Numbers: [42, 54, 19]
Generated Node #0,2: 59:[42, 54, 19] Operation: 72-53=19
Exploring Operation: 42+53=95, Resulting Numbers: [72, 54, 95]
Generated Node #0,3: 59:[72, 54, 95] Operation: 42+53=95
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[53, 54, 30], Operations: ['72-42=30']
Exploring Operation: 53+30=83, Resulting Numbers: [54, 83]
Generated Node #0,1,0: 59:[54, 83] Operation: 53+30=83
Exploring Operation: 54+30=84, Resulting Numbers: [53, 84]
Generated Node #0,1,1: 59:[53, 84] Operation: 54+30=84
Exploring Operation: 53-30=23, Resulting Numbers: [54, 23]
Generated Node #0,1,2: 59:[54, 23] Operation: 53-30=23
Exploring Operation: 54-30=24, Resulting Numbers: [53, 24]
Generated Node #0,1,3: 59:[53, 24] Operation: 54-30=24
Moving to Node #0,1,0
Current State: 59:[54, 83], Operations: ['72-42=30', '53+30=83']
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 54*83=4482, Resulting Numbers: [4482]
4482,59 unequal: No Solution
Exploring Operation: 54+83=137, Resulting Numbers: [137]
137,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[53, 84], Operations: ['72-42=30', '54+30=84']
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,59 unequal: No Solution
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[53, 24], Operations: ['72-42=30', '54-30=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[54, 23], Operations: ['72-42=30', '53-30=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,59 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[72, 54, 95], Operations: ['42+53=95']
Exploring Operation: 95-54=41, Resulting Numbers: [72, 41]
Generated Node #0,3,0: 59:[72, 41] Operation: 95-54=41
Exploring Operation: 72-54=18, Resulting Numbers: [95, 18]
Generated Node #0,3,1: 59:[95, 18] Operation: 72-54=18
Exploring Operation: 72+54=126, Resulting Numbers: [95, 126]
Generated Node #0,3,2: 59:[95, 126] Operation: 72+54=126
Exploring Operation: 95-72=23, Resulting Numbers: [54, 23]
Generated Node #0,3,3: 59:[54, 23] Operation: 95-72=23
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[72, 41], Operations: ['42+53=95', '95-54=41']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 59:[54, 23], Operations: ['42+53=95', '95-72=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,59 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[95, 18], Operations: ['42+53=95', '72-54=18']
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,59 unequal: No Solution
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 59:[95, 126], Operations: ['42+53=95', '72+54=126']
Exploring Operation: 95*126=11970, Resulting Numbers: [11970]
11970,59 unequal: No Solution
Exploring Operation: 95+126=221, Resulting Numbers: [221]
221,59 unequal: No Solution
Exploring Operation: 126-95=31, Resulting Numbers: [31]
31,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[72, 53, 96], Operations: ['42+54=96']
Exploring Operation: 96-53=43, Resulting Numbers: [72, 43]
Generated Node #0,0,0: 59:[72, 43] Operation: 96-53=43
Exploring Operation: 72+53=125, Resulting Numbers: [96, 125]
Generated Node #0,0,1: 59:[96, 125] Operation: 72+53=125
Exploring Operation: 72-53=19, Resulting Numbers: [96, 19]
Generated Node #0,0,2: 59:[96, 19] Operation: 72-53=19
Exploring Operation: 96-72=24, Resulting Numbers: [53, 24]
Generated Node #0,0,3: 59:[53, 24] Operation: 96-72=24
Moving to Node #0,0,0
Current State: 59:[72, 43], Operations: ['42+54=96', '96-53=43']
Exploring Operation: 72*43=3096, Resulting Numbers: [3096]
3096,59 unequal: No Solution
Exploring Operation: 72+43=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[53, 24], Operations: ['42+54=96', '96-72=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,59 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[96, 19], Operations: ['42+54=96', '72-53=19']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[96, 125], Operations: ['42+54=96', '72+53=125']
Exploring Operation: 96*125=12000, Resulting Numbers: [12000]
12000,59 unequal: No Solution
Exploring Operation: 96+125=221, Resulting Numbers: [221]
221,59 unequal: No Solution
Exploring Operation: 125-96=29, Resulting Numbers: [29]
29,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[42, 54, 19], Operations: ['72-53=19']
Exploring Operation: 54-19=35, Resulting Numbers: [42, 35]
Generated Node #0,2,0: 59:[42, 35] Operation: 54-19=35
Exploring Operation: 54+19=73, Resulting Numbers: [42, 73]
Generated Node #0,2,1: 59:[42, 73] Operation: 54+19=73
Exploring Operation: 42-19=23, Resulting Numbers: [54, 23]
Generated Node #0,2,2: 59:[54, 23] Operation: 42-19=23
Exploring Operation: 42+19=61, Resulting Numbers: [54, 61]
Generated Node #0,2,3: 59:[54, 61] Operation: 42+19=61
Moving to Node #0,2,3
Current State: 59:[54, 61], Operations: ['72-53=19', '42+19=61']
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,59 unequal: No Solution
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,59 unequal: No Solution
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[42, 73], Operations: ['72-53=19', '54+19=73']
Exploring Operation: 42+73=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 42*73=3066, Resulting Numbers: [3066]
3066,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[54, 23], Operations: ['72-53=19', '42-19=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,59 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[42, 35], Operations: ['72-53=19', '54-19=35']
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,59 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,59 unequal: No Solution
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
36,
3,
15,
90
] | 12 | [
"90/15=6",
"6-3=3",
"36/3=12"
] | Current State: 12:[36, 3, 15, 90], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [36, 3, 6]
Generated Node #2: [36, 3, 6] from Operation: 90/15=6
Current State: 12:[36, 3, 6], Operations: ['90/15=6']
Exploring Operation: 6-3=3, Resulting Numbers: [36, 3]
Generated Node #3: [36, 3] from Operation: 6-3=3
Current State: 12:[36, 3], Operations: ['90/15=6', '6-3=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[36, 3, 15, 90], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [3, 15, 54]
Generated Node #0,0: 12:[3, 15, 54] Operation: 90-36=54
Exploring Operation: 90/15=6, Resulting Numbers: [36, 3, 6]
Generated Node #0,1: 12:[36, 3, 6] Operation: 90/15=6
Exploring Operation: 36-15=21, Resulting Numbers: [3, 90, 21]
Generated Node #0,2: 12:[3, 90, 21] Operation: 36-15=21
Exploring Operation: 90/3=30, Resulting Numbers: [36, 15, 30]
Generated Node #0,3: 12:[36, 15, 30] Operation: 90/3=30
Exploring Operation: 36/3=12, Resulting Numbers: [15, 90, 12]
Generated Node #0,4: 12:[15, 90, 12] Operation: 36/3=12
Moving to Node #0,1
Current State: 12:[36, 3, 6], Operations: ['90/15=6']
Exploring Operation: 36/6=6, Resulting Numbers: [3, 6]
Generated Node #0,1,0: 12:[3, 6] Operation: 36/6=6
Exploring Operation: 36-3=33, Resulting Numbers: [6, 33]
Generated Node #0,1,1: 12:[6, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [6, 12]
Generated Node #0,1,2: 12:[6, 12] Operation: 36/3=12
Exploring Operation: 36-6=30, Resulting Numbers: [3, 30]
Generated Node #0,1,3: 12:[3, 30] Operation: 36-6=30
Exploring Operation: 6-3=3, Resulting Numbers: [36, 3]
Generated Node #0,1,4: 12:[36, 3] Operation: 6-3=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[3, 6], Operations: ['90/15=6', '36/6=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[6, 12], Operations: ['90/15=6', '36/3=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[3, 30], Operations: ['90/15=6', '36-6=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,12 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[6, 33], Operations: ['90/15=6', '36-3=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,12 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 12:[36, 3], Operations: ['90/15=6', '6-3=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[36, 3, 15, 90], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [36, 3, 6]
Generated Node #0,1: 12:[36, 3, 6] Operation: 90/15=6
Moving to Node #0,1
Current State: 12:[36, 3, 6], Operations: ['90/15=6']
Exploring Operation: 6-3=3, Resulting Numbers: [36, 3]
Generated Node #0,1,4: 12:[36, 3] Operation: 6-3=3
Moving to Node #0,1,4
Current State: 12:[36, 3], Operations: ['90/15=6', '6-3=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
16,
25,
34,
93
] | 100 | [
"16+25=41",
"93-34=59",
"41+59=100"
] | Current State: 100:[16, 25, 34, 93], Operations: []
Exploring Operation: 16+25=41, Resulting Numbers: [34, 93, 41]
Generated Node #2: [34, 93, 41] from Operation: 16+25=41
Current State: 100:[34, 93, 41], Operations: ['16+25=41']
Exploring Operation: 93-34=59, Resulting Numbers: [41, 59]
Generated Node #3: [41, 59] from Operation: 93-34=59
Current State: 100:[41, 59], Operations: ['16+25=41', '93-34=59']
Exploring Operation: 41+59=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[16, 25, 34, 93], Operations: []
Exploring Operation: 16+34=50, Resulting Numbers: [25, 93, 50]
Generated Node #0,0: 100:[25, 93, 50] Operation: 16+34=50
Exploring Operation: 34-16=18, Resulting Numbers: [25, 93, 18]
Generated Node #0,1: 100:[25, 93, 18] Operation: 34-16=18
Exploring Operation: 93-34=59, Resulting Numbers: [16, 25, 59]
Generated Node #0,2: 100:[16, 25, 59] Operation: 93-34=59
Exploring Operation: 34-25=9, Resulting Numbers: [16, 93, 9]
Generated Node #0,3: 100:[16, 93, 9] Operation: 34-25=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[25, 93, 50], Operations: ['16+34=50']
Exploring Operation: 50/25=2, Resulting Numbers: [93, 2]
Generated Node #0,0,0: 100:[93, 2] Operation: 50/25=2
Exploring Operation: 25+93=118, Resulting Numbers: [50, 118]
Generated Node #0,0,1: 100:[50, 118] Operation: 25+93=118
Exploring Operation: 50-25=25, Resulting Numbers: [93, 25]
Generated Node #0,0,2: 100:[93, 25] Operation: 50-25=25
Exploring Operation: 93-50=43, Resulting Numbers: [25, 43]
Generated Node #0,0,3: 100:[25, 43] Operation: 93-50=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[93, 2], Operations: ['16+34=50', '50/25=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,100 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,100 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[93, 25], Operations: ['16+34=50', '50-25=25']
Exploring Operation: 93*25=2325, Resulting Numbers: [2325]
2325,100 unequal: No Solution
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,100 unequal: No Solution
Exploring Operation: 93+25=118, Resulting Numbers: [118]
118,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 100:[25, 43], Operations: ['16+34=50', '93-50=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,100 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[50, 118], Operations: ['16+34=50', '25+93=118']
Exploring Operation: 50+118=168, Resulting Numbers: [168]
168,100 unequal: No Solution
Exploring Operation: 118-50=68, Resulting Numbers: [68]
68,100 unequal: No Solution
Exploring Operation: 50*118=5900, Resulting Numbers: [5900]
5900,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[25, 93, 18], Operations: ['34-16=18']
Exploring Operation: 25+93=118, Resulting Numbers: [18, 118]
Generated Node #0,1,0: 100:[18, 118] Operation: 25+93=118
Exploring Operation: 93+18=111, Resulting Numbers: [25, 111]
Generated Node #0,1,1: 100:[25, 111] Operation: 93+18=111
Exploring Operation: 25+18=43, Resulting Numbers: [93, 43]
Generated Node #0,1,2: 100:[93, 43] Operation: 25+18=43
Exploring Operation: 25-18=7, Resulting Numbers: [93, 7]
Generated Node #0,1,3: 100:[93, 7] Operation: 25-18=7
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 100:[93, 7], Operations: ['34-16=18', '25-18=7']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,100 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[16, 25, 34, 93], Operations: []
Exploring Operation: 34-16=18, Resulting Numbers: [25, 93, 18]
Generated Node #0,1: 100:[25, 93, 18] Operation: 34-16=18
Moving to Node #0,1
Current State: 100:[25, 93, 18], Operations: ['34-16=18']
Exploring Operation: 25-18=7, Resulting Numbers: [93, 7]
Generated Node #0,1,3: 100:[93, 7] Operation: 25-18=7
Moving to Node #0,1,3
Current State: 100:[93, 7], Operations: ['34-16=18', '25-18=7']
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
48,
2,
36,
98
] | 55 | [
"48-36=12",
"98+12=110",
"110/2=55"
] | Current State: 55:[48, 2, 36, 98], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [2, 98, 12]
Generated Node #2: [2, 98, 12] from Operation: 48-36=12
Current State: 55:[2, 98, 12], Operations: ['48-36=12']
Exploring Operation: 98+12=110, Resulting Numbers: [2, 110]
Generated Node #3: [2, 110] from Operation: 98+12=110
Current State: 55:[2, 110], Operations: ['48-36=12', '98+12=110']
Exploring Operation: 110/2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[48, 2, 36, 98], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [48, 2, 62]
Generated Node #0,0: 55:[48, 2, 62] Operation: 98-36=62
Exploring Operation: 98-48=50, Resulting Numbers: [2, 36, 50]
Generated Node #0,1: 55:[2, 36, 50] Operation: 98-48=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[48, 2, 62], Operations: ['98-36=62']
Exploring Operation: 48+2=50, Resulting Numbers: [62, 50]
Generated Node #0,0,0: 55:[62, 50] Operation: 48+2=50
Exploring Operation: 62-48=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 55:[2, 14] Operation: 62-48=14
Moving to Node #0,0,1
Current State: 55:[2, 14], Operations: ['98-36=62', '62-48=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[62, 50], Operations: ['98-36=62', '48+2=50']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 62+50=112, Resulting Numbers: [112]
112,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[2, 36, 50], Operations: ['98-48=50']
Exploring Operation: 36/2=18, Resulting Numbers: [50, 18]
Generated Node #0,1,0: 55:[50, 18] Operation: 36/2=18
Exploring Operation: 50-36=14, Resulting Numbers: [2, 14]
Generated Node #0,1,1: 55:[2, 14] Operation: 50-36=14
Moving to Node #0,1,1
Current State: 55:[2, 14], Operations: ['98-48=50', '50-36=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[50, 18], Operations: ['98-48=50', '36/2=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
24,
52,
2
] | 38 | [
"24-12=12",
"52-2=50",
"50-12=38"
] | Current State: 38:[12, 24, 52, 2], Operations: []
Exploring Operation: 24-12=12, Resulting Numbers: [52, 2, 12]
Generated Node #2: [52, 2, 12] from Operation: 24-12=12
Current State: 38:[52, 2, 12], Operations: ['24-12=12']
Exploring Operation: 52-2=50, Resulting Numbers: [12, 50]
Generated Node #3: [12, 50] from Operation: 52-2=50
Current State: 38:[12, 50], Operations: ['24-12=12', '52-2=50']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[12, 24, 52, 2], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [52, 2, 2]
Generated Node #0,0: 38:[52, 2, 2] Operation: 24/12=2
Exploring Operation: 12+24=36, Resulting Numbers: [52, 2, 36]
Generated Node #0,1: 38:[52, 2, 36] Operation: 12+24=36
Exploring Operation: 52-12=40, Resulting Numbers: [24, 2, 40]
Generated Node #0,2: 38:[24, 2, 40] Operation: 52-12=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[24, 2, 40], Operations: ['52-12=40']
Exploring Operation: 40-2=38, Resulting Numbers: [24, 38]
Generated Node #0,2,0: 38:[24, 38] Operation: 40-2=38
Exploring Operation: 24-2=22, Resulting Numbers: [40, 22]
Generated Node #0,2,1: 38:[40, 22] Operation: 24-2=22
Exploring Operation: 40-24=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 38:[2, 16] Operation: 40-24=16
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[2, 16], Operations: ['52-12=40', '40-24=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[24, 38], Operations: ['52-12=40', '40-2=38']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,38 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[40, 22], Operations: ['52-12=40', '24-2=22']
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,38 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[52, 2, 2], Operations: ['24/12=2']
Exploring Operation: 52/2=26, Resulting Numbers: [2, 26]
Generated Node #0,0,0: 38:[2, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 38:[2, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [2, 26]
Generated Node #0,0,2: 38:[2, 26] Operation: 52/2=26
Moving to Node #0,0,0
Current State: 38:[2, 26], Operations: ['24/12=2', '52/2=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[2, 26], Operations: ['24/12=2', '52/2=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[2, 50], Operations: ['24/12=2', '52-2=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[52, 2, 36], Operations: ['12+24=36']
Exploring Operation: 52-2=50, Resulting Numbers: [36, 50]
Generated Node #0,1,0: 38:[36, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [36, 26]
Generated Node #0,1,1: 38:[36, 26] Operation: 52/2=26
Exploring Operation: 52-36=16, Resulting Numbers: [2, 16]
Generated Node #0,1,2: 38:[2, 16] Operation: 52-36=16
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[2, 16], Operations: ['12+24=36', '52-36=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[36, 26], Operations: ['12+24=36', '52/2=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,38 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[36, 50], Operations: ['12+24=36', '52-2=50']
Exploring Operation: 36+50=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 36*50=1800, Resulting Numbers: [1800]
1800,38 unequal: No Solution
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
17,
6,
27,
35
] | 30 | [
"35-17=18",
"18/6=3",
"27+3=30"
] | Current State: 30:[17, 6, 27, 35], Operations: []
Exploring Operation: 35-17=18, Resulting Numbers: [6, 27, 18]
Generated Node #2: [6, 27, 18] from Operation: 35-17=18
Current State: 30:[6, 27, 18], Operations: ['35-17=18']
Exploring Operation: 18/6=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 18/6=3
Current State: 30:[27, 3], Operations: ['35-17=18', '18/6=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[17, 6, 27, 35], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [17, 27, 29]
Generated Node #0,0: 30:[17, 27, 29] Operation: 35-6=29
Exploring Operation: 35-17=18, Resulting Numbers: [6, 27, 18]
Generated Node #0,1: 30:[6, 27, 18] Operation: 35-17=18
Exploring Operation: 27-17=10, Resulting Numbers: [6, 35, 10]
Generated Node #0,2: 30:[6, 35, 10] Operation: 27-17=10
Exploring Operation: 35-27=8, Resulting Numbers: [17, 6, 8]
Generated Node #0,3: 30:[17, 6, 8] Operation: 35-27=8
Moving to Node #0,3
Current State: 30:[17, 6, 8], Operations: ['35-27=8']
Exploring Operation: 17-8=9, Resulting Numbers: [6, 9]
Generated Node #0,3,0: 30:[6, 9] Operation: 17-8=9
Exploring Operation: 8-6=2, Resulting Numbers: [17, 2]
Generated Node #0,3,1: 30:[17, 2] Operation: 8-6=2
Exploring Operation: 6+8=14, Resulting Numbers: [17, 14]
Generated Node #0,3,2: 30:[17, 14] Operation: 6+8=14
Exploring Operation: 17-6=11, Resulting Numbers: [8, 11]
Generated Node #0,3,3: 30:[8, 11] Operation: 17-6=11
Moving to Node #0,2
Current State: 30:[6, 35, 10], Operations: ['27-17=10']
Exploring Operation: 35-10=25, Resulting Numbers: [6, 25]
Generated Node #0,2,0: 30:[6, 25] Operation: 35-10=25
Exploring Operation: 6+10=16, Resulting Numbers: [35, 16]
Generated Node #0,2,1: 30:[35, 16] Operation: 6+10=16
Exploring Operation: 35-6=29, Resulting Numbers: [10, 29]
Generated Node #0,2,2: 30:[10, 29] Operation: 35-6=29
Exploring Operation: 10-6=4, Resulting Numbers: [35, 4]
Generated Node #0,2,3: 30:[35, 4] Operation: 10-6=4
Moving to Node #0,1
Current State: 30:[6, 27, 18], Operations: ['35-17=18']
Exploring Operation: 18/6=3, Resulting Numbers: [27, 3]
Generated Node #0,1,0: 30:[27, 3] Operation: 18/6=3
Exploring Operation: 27-18=9, Resulting Numbers: [6, 9]
Generated Node #0,1,1: 30:[6, 9] Operation: 27-18=9
Exploring Operation: 18-6=12, Resulting Numbers: [27, 12]
Generated Node #0,1,2: 30:[27, 12] Operation: 18-6=12
Exploring Operation: 6+27=33, Resulting Numbers: [18, 33]
Generated Node #0,1,3: 30:[18, 33] Operation: 6+27=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[6, 9], Operations: ['35-17=18', '27-18=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[27, 3], Operations: ['35-17=18', '18/6=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,30 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[17, 6, 27, 35], Operations: []
Exploring Operation: 35-17=18, Resulting Numbers: [6, 27, 18]
Generated Node #0,1: 30:[6, 27, 18] Operation: 35-17=18
Moving to Node #0,1
Current State: 30:[6, 27, 18], Operations: ['35-17=18']
Exploring Operation: 18/6=3, Resulting Numbers: [27, 3]
Generated Node #0,1,0: 30:[27, 3] Operation: 18/6=3
Moving to Node #0,1,0
Current State: 30:[27, 3], Operations: ['35-17=18', '18/6=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | sum_heuristic |
[
67,
50,
37,
98
] | 71 | [
"50+98=148",
"148/37=4",
"67+4=71"
] | Current State: 71:[67, 50, 37, 98], Operations: []
Exploring Operation: 50+98=148, Resulting Numbers: [67, 37, 148]
Generated Node #2: [67, 37, 148] from Operation: 50+98=148
Current State: 71:[67, 37, 148], Operations: ['50+98=148']
Exploring Operation: 148/37=4, Resulting Numbers: [67, 4]
Generated Node #3: [67, 4] from Operation: 148/37=4
Current State: 71:[67, 4], Operations: ['50+98=148', '148/37=4']
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[67, 50, 37, 98], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [67, 50, 61]
Generated Node #0,0: 71:[67, 50, 61] Operation: 98-37=61
Moving to Node #0,0
Current State: 71:[67, 50, 61], Operations: ['98-37=61']
Exploring Operation: 50+61=111, Resulting Numbers: [67, 111]
Generated Node #0,0,0: 71:[67, 111] Operation: 50+61=111
Moving to Node #0,0,0
Current State: 71:[67, 111], Operations: ['98-37=61', '50+61=111']
Exploring Operation: 111-67=44, Resulting Numbers: [44]
44,71 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
12,
25,
8,
24
] | 31 | [
"12-8=4",
"24/4=6",
"25+6=31"
] | Current State: 31:[12, 25, 8, 24], Operations: []
Exploring Operation: 12-8=4, Resulting Numbers: [25, 24, 4]
Generated Node #2: [25, 24, 4] from Operation: 12-8=4
Current State: 31:[25, 24, 4], Operations: ['12-8=4']
Exploring Operation: 24/4=6, Resulting Numbers: [25, 6]
Generated Node #3: [25, 6] from Operation: 24/4=6
Current State: 31:[25, 6], Operations: ['12-8=4', '24/4=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[12, 25, 8, 24], Operations: []
Exploring Operation: 12+8=20, Resulting Numbers: [25, 24, 20]
Generated Node #0,0: 31:[25, 24, 20] Operation: 12+8=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[25, 24, 20], Operations: ['12+8=20']
Exploring Operation: 24+20=44, Resulting Numbers: [25, 44]
Generated Node #0,0,0: 31:[25, 44] Operation: 24+20=44
Moving to Node #0,0,0
Current State: 31:[25, 44], Operations: ['12+8=20', '24+20=44']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
14,
47,
94
] | 53 | [
"74+14=88",
"47+94=141",
"141-88=53"
] | Current State: 53:[74, 14, 47, 94], Operations: []
Exploring Operation: 74+14=88, Resulting Numbers: [47, 94, 88]
Generated Node #2: [47, 94, 88] from Operation: 74+14=88
Current State: 53:[47, 94, 88], Operations: ['74+14=88']
Exploring Operation: 47+94=141, Resulting Numbers: [88, 141]
Generated Node #3: [88, 141] from Operation: 47+94=141
Current State: 53:[88, 141], Operations: ['74+14=88', '47+94=141']
Exploring Operation: 141-88=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[74, 14, 47, 94], Operations: []
Exploring Operation: 74-14=60, Resulting Numbers: [47, 94, 60]
Generated Node #0,0: 53:[47, 94, 60] Operation: 74-14=60
Exploring Operation: 94-14=80, Resulting Numbers: [74, 47, 80]
Generated Node #0,1: 53:[74, 47, 80] Operation: 94-14=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[47, 94, 60], Operations: ['74-14=60']
Exploring Operation: 94-47=47, Resulting Numbers: [60, 47]
Generated Node #0,0,0: 53:[60, 47] Operation: 94-47=47
Exploring Operation: 94-60=34, Resulting Numbers: [47, 34]
Generated Node #0,0,1: 53:[47, 34] Operation: 94-60=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[60, 47], Operations: ['74-14=60', '94-47=47']
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[47, 34], Operations: ['74-14=60', '94-60=34']
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[74, 47, 80], Operations: ['94-14=80']
Exploring Operation: 80-47=33, Resulting Numbers: [74, 33]
Generated Node #0,1,0: 53:[74, 33] Operation: 80-47=33
Exploring Operation: 74-47=27, Resulting Numbers: [80, 27]
Generated Node #0,1,1: 53:[80, 27] Operation: 74-47=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[74, 33], Operations: ['94-14=80', '80-47=33']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 74+33=107, Resulting Numbers: [107]
107,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[80, 27], Operations: ['94-14=80', '74-47=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[74, 14, 47, 94], Operations: []
Exploring Operation: 94-14=80, Resulting Numbers: [74, 47, 80]
Generated Node #0,1: 53:[74, 47, 80] Operation: 94-14=80
Moving to Node #0,1
Current State: 53:[74, 47, 80], Operations: ['94-14=80']
Exploring Operation: 74-47=27, Resulting Numbers: [80, 27]
Generated Node #0,1,1: 53:[80, 27] Operation: 74-47=27
Moving to Node #0,1,1
Current State: 53:[80, 27], Operations: ['94-14=80', '74-47=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
13,
68,
91,
47
] | 57 | [
"13+68=81",
"91+47=138",
"138-81=57"
] | Current State: 57:[13, 68, 91, 47], Operations: []
Exploring Operation: 13+68=81, Resulting Numbers: [91, 47, 81]
Generated Node #2: [91, 47, 81] from Operation: 13+68=81
Current State: 57:[91, 47, 81], Operations: ['13+68=81']
Exploring Operation: 91+47=138, Resulting Numbers: [81, 138]
Generated Node #3: [81, 138] from Operation: 91+47=138
Current State: 57:[81, 138], Operations: ['13+68=81', '91+47=138']
Exploring Operation: 138-81=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[13, 68, 91, 47], Operations: []
Exploring Operation: 91-68=23, Resulting Numbers: [13, 47, 23]
Generated Node #0,0: 57:[13, 47, 23] Operation: 91-68=23
Moving to Node #0,0
Current State: 57:[13, 47, 23], Operations: ['91-68=23']
Exploring Operation: 13+47=60, Resulting Numbers: [23, 60]
Generated Node #0,0,0: 57:[23, 60] Operation: 13+47=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[23, 60], Operations: ['91-68=23', '13+47=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
37,
56,
37
] | 36 | [
"91-56=35",
"37/37=1",
"35+1=36"
] | Current State: 36:[91, 37, 56, 37], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [37, 37, 35]
Generated Node #2: [37, 37, 35] from Operation: 91-56=35
Current State: 36:[37, 37, 35], Operations: ['91-56=35']
Exploring Operation: 37/37=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 37/37=1
Current State: 36:[35, 1], Operations: ['91-56=35', '37/37=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[91, 37, 56, 37], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [37, 37, 35]
Generated Node #0,0: 36:[37, 37, 35] Operation: 91-56=35
Exploring Operation: 91-37=54, Resulting Numbers: [37, 56, 54]
Generated Node #0,1: 36:[37, 56, 54] Operation: 91-37=54
Exploring Operation: 91-37=54, Resulting Numbers: [56, 37, 54]
Generated Node #0,2: 36:[56, 37, 54] Operation: 91-37=54
Moving to Node #0,0
Current State: 36:[37, 37, 35], Operations: ['91-56=35']
Exploring Operation: 37/37=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 36:[35, 1] Operation: 37/37=1
Exploring Operation: 37-35=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 36:[37, 2] Operation: 37-35=2
Exploring Operation: 37-35=2, Resulting Numbers: [37, 2]
Generated Node #0,0,2: 36:[37, 2] Operation: 37-35=2
Moving to Node #0,1
Current State: 36:[37, 56, 54], Operations: ['91-37=54']
Exploring Operation: 54-37=17, Resulting Numbers: [56, 17]
Generated Node #0,1,0: 36:[56, 17] Operation: 54-37=17
Exploring Operation: 56-54=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 36:[37, 2] Operation: 56-54=2
Exploring Operation: 56-37=19, Resulting Numbers: [54, 19]
Generated Node #0,1,2: 36:[54, 19] Operation: 56-37=19
Moving to Node #0,2
Current State: 36:[56, 37, 54], Operations: ['91-37=54']
Exploring Operation: 54-37=17, Resulting Numbers: [56, 17]
Generated Node #0,2,0: 36:[56, 17] Operation: 54-37=17
Exploring Operation: 56-37=19, Resulting Numbers: [54, 19]
Generated Node #0,2,1: 36:[54, 19] Operation: 56-37=19
Exploring Operation: 56-54=2, Resulting Numbers: [37, 2]
Generated Node #0,2,2: 36:[37, 2] Operation: 56-54=2
Moving to Node #0,0,1
Current State: 36:[37, 2], Operations: ['91-56=35', '37-35=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[37, 2], Operations: ['91-37=54', '56-54=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[37, 2], Operations: ['91-56=35', '37-35=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[37, 2], Operations: ['91-37=54', '56-54=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[35, 1], Operations: ['91-56=35', '37/37=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[91, 37, 56, 37], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [37, 37, 35]
Generated Node #0,0: 36:[37, 37, 35] Operation: 91-56=35
Moving to Node #0,0
Current State: 36:[37, 37, 35], Operations: ['91-56=35']
Exploring Operation: 37/37=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 36:[35, 1] Operation: 37/37=1
Moving to Node #0,0,0
Current State: 36:[35, 1], Operations: ['91-56=35', '37/37=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
1,
66,
36,
40
] | 11 | [
"66-1=65",
"36+40=76",
"76-65=11"
] | Current State: 11:[1, 66, 36, 40], Operations: []
Exploring Operation: 66-1=65, Resulting Numbers: [36, 40, 65]
Generated Node #2: [36, 40, 65] from Operation: 66-1=65
Current State: 11:[36, 40, 65], Operations: ['66-1=65']
Exploring Operation: 36+40=76, Resulting Numbers: [65, 76]
Generated Node #3: [65, 76] from Operation: 36+40=76
Current State: 11:[65, 76], Operations: ['66-1=65', '36+40=76']
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[1, 66, 36, 40], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [1, 40, 30]
Generated Node #0,0: 11:[1, 40, 30] Operation: 66-36=30
Exploring Operation: 66-40=26, Resulting Numbers: [1, 36, 26]
Generated Node #0,1: 11:[1, 36, 26] Operation: 66-40=26
Exploring Operation: 40-36=4, Resulting Numbers: [1, 66, 4]
Generated Node #0,2: 11:[1, 66, 4] Operation: 40-36=4
Moving to Node #0,1
Current State: 11:[1, 36, 26], Operations: ['66-40=26']
Exploring Operation: 36-26=10, Resulting Numbers: [1, 10]
Generated Node #0,1,0: 11:[1, 10] Operation: 36-26=10
Exploring Operation: 36-1=35, Resulting Numbers: [26, 35]
Generated Node #0,1,1: 11:[26, 35] Operation: 36-1=35
Exploring Operation: 26-1=25, Resulting Numbers: [36, 25]
Generated Node #0,1,2: 11:[36, 25] Operation: 26-1=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[1, 10], Operations: ['66-40=26', '36-26=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[1, 66, 36, 40], Operations: []
Exploring Operation: 66-40=26, Resulting Numbers: [1, 36, 26]
Generated Node #0,1: 11:[1, 36, 26] Operation: 66-40=26
Moving to Node #0,1
Current State: 11:[1, 36, 26], Operations: ['66-40=26']
Exploring Operation: 36-26=10, Resulting Numbers: [1, 10]
Generated Node #0,1,0: 11:[1, 10] Operation: 36-26=10
Moving to Node #0,1,0
Current State: 11:[1, 10], Operations: ['66-40=26', '36-26=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
31,
21,
7,
9
] | 19 | [
"31-9=22",
"21/7=3",
"22-3=19"
] | Current State: 19:[31, 21, 7, 9], Operations: []
Exploring Operation: 31-9=22, Resulting Numbers: [21, 7, 22]
Generated Node #2: [21, 7, 22] from Operation: 31-9=22
Current State: 19:[21, 7, 22], Operations: ['31-9=22']
Exploring Operation: 21/7=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 21/7=3
Current State: 19:[22, 3], Operations: ['31-9=22', '21/7=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[31, 21, 7, 9], Operations: []
Exploring Operation: 7+9=16, Resulting Numbers: [31, 21, 16]
Generated Node #0,0: 19:[31, 21, 16] Operation: 7+9=16
Exploring Operation: 21-7=14, Resulting Numbers: [31, 9, 14]
Generated Node #0,1: 19:[31, 9, 14] Operation: 21-7=14
Exploring Operation: 31-7=24, Resulting Numbers: [21, 9, 24]
Generated Node #0,2: 19:[21, 9, 24] Operation: 31-7=24
Exploring Operation: 31-9=22, Resulting Numbers: [21, 7, 22]
Generated Node #0,3: 19:[21, 7, 22] Operation: 31-9=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[31, 21, 16], Operations: ['7+9=16']
Exploring Operation: 31-21=10, Resulting Numbers: [16, 10]
Generated Node #0,0,0: 19:[16, 10] Operation: 31-21=10
Exploring Operation: 31+16=47, Resulting Numbers: [21, 47]
Generated Node #0,0,1: 19:[21, 47] Operation: 31+16=47
Exploring Operation: 31-16=15, Resulting Numbers: [21, 15]
Generated Node #0,0,2: 19:[21, 15] Operation: 31-16=15
Exploring Operation: 21-16=5, Resulting Numbers: [31, 5]
Generated Node #0,0,3: 19:[31, 5] Operation: 21-16=5
Moving to Node #0,0,2
Current State: 19:[21, 15], Operations: ['7+9=16', '31-16=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,19 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[16, 10], Operations: ['7+9=16', '31-21=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,19 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[31, 5], Operations: ['7+9=16', '21-16=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[21, 47], Operations: ['7+9=16', '31+16=47']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[21, 9, 24], Operations: ['31-7=24']
Exploring Operation: 9+24=33, Resulting Numbers: [21, 33]
Generated Node #0,2,0: 19:[21, 33] Operation: 9+24=33
Exploring Operation: 21-9=12, Resulting Numbers: [24, 12]
Generated Node #0,2,1: 19:[24, 12] Operation: 21-9=12
Exploring Operation: 21+9=30, Resulting Numbers: [24, 30]
Generated Node #0,2,2: 19:[24, 30] Operation: 21+9=30
Exploring Operation: 24-9=15, Resulting Numbers: [21, 15]
Generated Node #0,2,3: 19:[21, 15] Operation: 24-9=15
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 19:[21, 15], Operations: ['31-7=24', '24-9=15']
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,19 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[24, 12], Operations: ['31-7=24', '21-9=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,19 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 19:[21, 33], Operations: ['31-7=24', '9+24=33']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,19 unequal: No Solution
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 19:[24, 30], Operations: ['31-7=24', '21+9=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[21, 7, 22], Operations: ['31-9=22']
Exploring Operation: 7+22=29, Resulting Numbers: [21, 29]
Generated Node #0,3,0: 19:[21, 29] Operation: 7+22=29
Exploring Operation: 21-7=14, Resulting Numbers: [22, 14]
Generated Node #0,3,1: 19:[22, 14] Operation: 21-7=14
Exploring Operation: 22-7=15, Resulting Numbers: [21, 15]
Generated Node #0,3,2: 19:[21, 15] Operation: 22-7=15
Exploring Operation: 21+7=28, Resulting Numbers: [22, 28]
Generated Node #0,3,3: 19:[22, 28] Operation: 21+7=28
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 19:[21, 15], Operations: ['31-9=22', '22-7=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 19:[22, 14], Operations: ['31-9=22', '21-7=14']
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,19 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 19:[21, 29], Operations: ['31-9=22', '7+22=29']
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,19 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 19:[22, 28], Operations: ['31-9=22', '21+7=28']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,19 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[31, 9, 14], Operations: ['21-7=14']
Exploring Operation: 31-9=22, Resulting Numbers: [14, 22]
Generated Node #0,1,0: 19:[14, 22] Operation: 31-9=22
Exploring Operation: 31+9=40, Resulting Numbers: [14, 40]
Generated Node #0,1,1: 19:[14, 40] Operation: 31+9=40
Exploring Operation: 9+14=23, Resulting Numbers: [31, 23]
Generated Node #0,1,2: 19:[31, 23] Operation: 9+14=23
Exploring Operation: 31-14=17, Resulting Numbers: [9, 17]
Generated Node #0,1,3: 19:[9, 17] Operation: 31-14=17
Moving to Node #0,1,0
Current State: 19:[14, 22], Operations: ['21-7=14', '31-9=22']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[9, 17], Operations: ['21-7=14', '31-14=17']
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,19 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[31, 23], Operations: ['21-7=14', '9+14=23']
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,19 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[14, 40], Operations: ['21-7=14', '31+9=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
6,
4,
79,
56
] | 46 | [
"6-4=2",
"79-56=23",
"2*23=46"
] | Current State: 46:[6, 4, 79, 56], Operations: []
Exploring Operation: 6-4=2, Resulting Numbers: [79, 56, 2]
Generated Node #2: [79, 56, 2] from Operation: 6-4=2
Current State: 46:[79, 56, 2], Operations: ['6-4=2']
Exploring Operation: 79-56=23, Resulting Numbers: [2, 23]
Generated Node #3: [2, 23] from Operation: 79-56=23
Current State: 46:[2, 23], Operations: ['6-4=2', '79-56=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[6, 4, 79, 56], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [6, 4, 23]
Generated Node #0,0: 46:[6, 4, 23] Operation: 79-56=23
Exploring Operation: 79-6=73, Resulting Numbers: [4, 56, 73]
Generated Node #0,1: 46:[4, 56, 73] Operation: 79-6=73
Moving to Node #0,0
Current State: 46:[6, 4, 23], Operations: ['79-56=23']
Exploring Operation: 6-4=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 46:[23, 2] Operation: 6-4=2
Exploring Operation: 6*4=24, Resulting Numbers: [23, 24]
Generated Node #0,0,1: 46:[23, 24] Operation: 6*4=24
Moving to Node #0,1
Current State: 46:[4, 56, 73], Operations: ['79-6=73']
Exploring Operation: 73-56=17, Resulting Numbers: [4, 17]
Generated Node #0,1,0: 46:[4, 17] Operation: 73-56=17
Exploring Operation: 56-4=52, Resulting Numbers: [73, 52]
Generated Node #0,1,1: 46:[73, 52] Operation: 56-4=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[4, 17], Operations: ['79-6=73', '73-56=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[73, 52], Operations: ['79-6=73', '56-4=52']
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 73+52=125, Resulting Numbers: [125]
125,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 46:[23, 2], Operations: ['79-56=23', '6-4=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[6, 4, 79, 56], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [6, 4, 23]
Generated Node #0,0: 46:[6, 4, 23] Operation: 79-56=23
Moving to Node #0,0
Current State: 46:[6, 4, 23], Operations: ['79-56=23']
Exploring Operation: 6-4=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 46:[23, 2] Operation: 6-4=2
Moving to Node #0,0,0
Current State: 46:[23, 2], Operations: ['79-56=23', '6-4=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
45,
48,
2,
84
] | 90 | [
"48-45=3",
"2*3=6",
"84+6=90"
] | Current State: 90:[45, 48, 2, 84], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [2, 84, 3]
Generated Node #2: [2, 84, 3] from Operation: 48-45=3
Current State: 90:[2, 84, 3], Operations: ['48-45=3']
Exploring Operation: 2*3=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 2*3=6
Current State: 90:[84, 6], Operations: ['48-45=3', '2*3=6']
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[45, 48, 2, 84], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [45, 48, 42]
Generated Node #0,0: 90:[45, 48, 42] Operation: 84/2=42
Exploring Operation: 48-2=46, Resulting Numbers: [45, 84, 46]
Generated Node #0,1: 90:[45, 84, 46] Operation: 48-2=46
Exploring Operation: 48-45=3, Resulting Numbers: [2, 84, 3]
Generated Node #0,2: 90:[2, 84, 3] Operation: 48-45=3
Exploring Operation: 84-48=36, Resulting Numbers: [45, 2, 36]
Generated Node #0,3: 90:[45, 2, 36] Operation: 84-48=36
Moving to Node #0,0
Current State: 90:[45, 48, 42], Operations: ['84/2=42']
Exploring Operation: 45-42=3, Resulting Numbers: [48, 3]
Generated Node #0,0,0: 90:[48, 3] Operation: 45-42=3
Exploring Operation: 48-42=6, Resulting Numbers: [45, 6]
Generated Node #0,0,1: 90:[45, 6] Operation: 48-42=6
Exploring Operation: 48-45=3, Resulting Numbers: [42, 3]
Generated Node #0,0,2: 90:[42, 3] Operation: 48-45=3
Exploring Operation: 48+42=90, Resulting Numbers: [45, 90]
Generated Node #0,0,3: 90:[45, 90] Operation: 48+42=90
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[45, 6], Operations: ['84/2=42', '48-42=6']
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,90 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 90:[45, 90], Operations: ['84/2=42', '48+42=90']
Exploring Operation: 45*90=4050, Resulting Numbers: [4050]
4050,90 unequal: No Solution
Exploring Operation: 45+90=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[48, 3], Operations: ['84/2=42', '45-42=3']
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,90 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[42, 3], Operations: ['84/2=42', '48-45=3']
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 90:[45, 2, 36], Operations: ['84-48=36']
Exploring Operation: 45-36=9, Resulting Numbers: [2, 9]
Generated Node #0,3,0: 90:[2, 9] Operation: 45-36=9
Exploring Operation: 36/2=18, Resulting Numbers: [45, 18]
Generated Node #0,3,1: 90:[45, 18] Operation: 36/2=18
Exploring Operation: 45*2=90, Resulting Numbers: [36, 90]
Generated Node #0,3,2: 90:[36, 90] Operation: 45*2=90
Exploring Operation: 36-2=34, Resulting Numbers: [45, 34]
Generated Node #0,3,3: 90:[45, 34] Operation: 36-2=34
Moving to Node #0,2
Current State: 90:[2, 84, 3], Operations: ['48-45=3']
Exploring Operation: 2+84=86, Resulting Numbers: [3, 86]
Generated Node #0,2,0: 90:[3, 86] Operation: 2+84=86
Exploring Operation: 84+3=87, Resulting Numbers: [2, 87]
Generated Node #0,2,1: 90:[2, 87] Operation: 84+3=87
Exploring Operation: 84/2=42, Resulting Numbers: [3, 42]
Generated Node #0,2,2: 90:[3, 42] Operation: 84/2=42
Exploring Operation: 84/3=28, Resulting Numbers: [2, 28]
Generated Node #0,2,3: 90:[2, 28] Operation: 84/3=28
Moving to Node #0,1
Current State: 90:[45, 84, 46], Operations: ['48-2=46']
Exploring Operation: 46-45=1, Resulting Numbers: [84, 1]
Generated Node #0,1,0: 90:[84, 1] Operation: 46-45=1
Exploring Operation: 45+46=91, Resulting Numbers: [84, 91]
Generated Node #0,1,1: 90:[84, 91] Operation: 45+46=91
Exploring Operation: 84-46=38, Resulting Numbers: [45, 38]
Generated Node #0,1,2: 90:[45, 38] Operation: 84-46=38
Exploring Operation: 84-45=39, Resulting Numbers: [46, 39]
Generated Node #0,1,3: 90:[46, 39] Operation: 84-45=39
Moving to Node #0,3,0
Current State: 90:[2, 9], Operations: ['84-48=36', '45-36=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[45, 18], Operations: ['84-48=36', '36/2=18']
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,90 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[2, 28], Operations: ['48-45=3', '84/3=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[2, 87], Operations: ['48-45=3', '84+3=87']
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[3, 42], Operations: ['48-45=3', '84/2=42']
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[45, 34], Operations: ['84-48=36', '36-2=34']
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,90 unequal: No Solution
Exploring Operation: 45*34=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[3, 86], Operations: ['48-45=3', '2+84=86']
Exploring Operation: 3*86=258, Resulting Numbers: [258]
258,90 unequal: No Solution
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[36, 90], Operations: ['84-48=36', '45*2=90']
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 36+90=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 36*90=3240, Resulting Numbers: [3240]
3240,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[84, 91], Operations: ['48-2=46', '45+46=91']
Exploring Operation: 84*91=7644, Resulting Numbers: [7644]
7644,90 unequal: No Solution
Exploring Operation: 84+91=175, Resulting Numbers: [175]
175,90 unequal: No Solution
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[84, 1], Operations: ['48-2=46', '46-45=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,90 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[45, 38], Operations: ['48-2=46', '84-46=38']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[46, 39], Operations: ['48-2=46', '84-45=39']
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,90 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
57,
93,
3,
63
] | 33 | [
"93-57=36",
"63+36=99",
"99/3=33"
] | Current State: 33:[57, 93, 3, 63], Operations: []
Exploring Operation: 93-57=36, Resulting Numbers: [3, 63, 36]
Generated Node #2: [3, 63, 36] from Operation: 93-57=36
Current State: 33:[3, 63, 36], Operations: ['93-57=36']
Exploring Operation: 63+36=99, Resulting Numbers: [3, 99]
Generated Node #3: [3, 99] from Operation: 63+36=99
Current State: 33:[3, 99], Operations: ['93-57=36', '63+36=99']
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[57, 93, 3, 63], Operations: []
Exploring Operation: 93-57=36, Resulting Numbers: [3, 63, 36]
Generated Node #0,0: 33:[3, 63, 36] Operation: 93-57=36
Exploring Operation: 93/3=31, Resulting Numbers: [57, 63, 31]
Generated Node #0,1: 33:[57, 63, 31] Operation: 93/3=31
Exploring Operation: 93-63=30, Resulting Numbers: [57, 3, 30]
Generated Node #0,2: 33:[57, 3, 30] Operation: 93-63=30
Exploring Operation: 63/3=21, Resulting Numbers: [57, 93, 21]
Generated Node #0,3: 33:[57, 93, 21] Operation: 63/3=21
Exploring Operation: 63-57=6, Resulting Numbers: [93, 3, 6]
Generated Node #0,4: 33:[93, 3, 6] Operation: 63-57=6
Moving to Node #0,2
Current State: 33:[57, 3, 30], Operations: ['93-63=30']
Exploring Operation: 30/3=10, Resulting Numbers: [57, 10]
Generated Node #0,2,0: 33:[57, 10] Operation: 30/3=10
Exploring Operation: 57-3=54, Resulting Numbers: [30, 54]
Generated Node #0,2,1: 33:[30, 54] Operation: 57-3=54
Exploring Operation: 3+30=33, Resulting Numbers: [57, 33]
Generated Node #0,2,2: 33:[57, 33] Operation: 3+30=33
Exploring Operation: 57-30=27, Resulting Numbers: [3, 27]
Generated Node #0,2,3: 33:[3, 27] Operation: 57-30=27
Exploring Operation: 57/3=19, Resulting Numbers: [30, 19]
Generated Node #0,2,4: 33:[30, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 33:[3, 27], Operations: ['93-63=30', '57-30=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 33:[30, 19], Operations: ['93-63=30', '57/3=19']
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,33 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[30, 54], Operations: ['93-63=30', '57-3=54']
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,33 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[57, 33], Operations: ['93-63=30', '3+30=33']
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[57, 10], Operations: ['93-63=30', '30/3=10']
Exploring Operation: 57*10=570, Resulting Numbers: [570]
570,33 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,33 unequal: No Solution
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 33:[3, 63, 36], Operations: ['93-57=36']
Exploring Operation: 63/3=21, Resulting Numbers: [36, 21]
Generated Node #0,0,0: 33:[36, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [36, 60]
Generated Node #0,0,1: 33:[36, 60] Operation: 63-3=60
Exploring Operation: 63-36=27, Resulting Numbers: [3, 27]
Generated Node #0,0,2: 33:[3, 27] Operation: 63-36=27
Exploring Operation: 36-3=33, Resulting Numbers: [63, 33]
Generated Node #0,0,3: 33:[63, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [63, 12]
Generated Node #0,0,4: 33:[63, 12] Operation: 36/3=12
Moving to Node #0,1
Current State: 33:[57, 63, 31], Operations: ['93/3=31']
Exploring Operation: 63+31=94, Resulting Numbers: [57, 94]
Generated Node #0,1,0: 33:[57, 94] Operation: 63+31=94
Exploring Operation: 57-31=26, Resulting Numbers: [63, 26]
Generated Node #0,1,1: 33:[63, 26] Operation: 57-31=26
Exploring Operation: 63-31=32, Resulting Numbers: [57, 32]
Generated Node #0,1,2: 33:[57, 32] Operation: 63-31=32
Exploring Operation: 63-57=6, Resulting Numbers: [31, 6]
Generated Node #0,1,3: 33:[31, 6] Operation: 63-57=6
Exploring Operation: 57+31=88, Resulting Numbers: [63, 88]
Generated Node #0,1,4: 33:[63, 88] Operation: 57+31=88
Moving to Node #0,4
Current State: 33:[93, 3, 6], Operations: ['63-57=6']
Exploring Operation: 93-6=87, Resulting Numbers: [3, 87]
Generated Node #0,4,0: 33:[3, 87] Operation: 93-6=87
Exploring Operation: 6-3=3, Resulting Numbers: [93, 3]
Generated Node #0,4,1: 33:[93, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [93, 2]
Generated Node #0,4,2: 33:[93, 2] Operation: 6/3=2
Exploring Operation: 93-3=90, Resulting Numbers: [6, 90]
Generated Node #0,4,3: 33:[6, 90] Operation: 93-3=90
Exploring Operation: 93/3=31, Resulting Numbers: [6, 31]
Generated Node #0,4,4: 33:[6, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 33:[6, 31], Operations: ['63-57=6', '93/3=31']
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,33 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 33:[3, 87], Operations: ['63-57=6', '93-6=87']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,33 unequal: No Solution
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 33:[93, 3], Operations: ['63-57=6', '6-3=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,33 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 33:[6, 90], Operations: ['63-57=6', '93-3=90']
Exploring Operation: 6*90=540, Resulting Numbers: [540]
540,33 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,33 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 33:[93, 2], Operations: ['63-57=6', '6/3=2']
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,33 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,33 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 33:[57, 93, 21], Operations: ['63/3=21']
Exploring Operation: 93-21=72, Resulting Numbers: [57, 72]
Generated Node #0,3,0: 33:[57, 72] Operation: 93-21=72
Exploring Operation: 57-21=36, Resulting Numbers: [93, 36]
Generated Node #0,3,1: 33:[93, 36] Operation: 57-21=36
Exploring Operation: 93-57=36, Resulting Numbers: [21, 36]
Generated Node #0,3,2: 33:[21, 36] Operation: 93-57=36
Exploring Operation: 57+21=78, Resulting Numbers: [93, 78]
Generated Node #0,3,3: 33:[93, 78] Operation: 57+21=78
Exploring Operation: 93+21=114, Resulting Numbers: [57, 114]
Generated Node #0,3,4: 33:[57, 114] Operation: 93+21=114
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[21, 36], Operations: ['63/3=21', '93-57=36']
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,33 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[57, 72], Operations: ['63/3=21', '93-21=72']
Exploring Operation: 57*72=4104, Resulting Numbers: [4104]
4104,33 unequal: No Solution
Exploring Operation: 57+72=129, Resulting Numbers: [129]
129,33 unequal: No Solution
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[93, 36], Operations: ['63/3=21', '57-21=36']
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,33 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,33 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 33:[93, 78], Operations: ['63/3=21', '57+21=78']
Exploring Operation: 93+78=171, Resulting Numbers: [171]
171,33 unequal: No Solution
Exploring Operation: 93*78=7254, Resulting Numbers: [7254]
7254,33 unequal: No Solution
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 33:[57, 114], Operations: ['63/3=21', '93+21=114']
Exploring Operation: 57+114=171, Resulting Numbers: [171]
171,33 unequal: No Solution
Exploring Operation: 57*114=6498, Resulting Numbers: [6498]
6498,33 unequal: No Solution
Exploring Operation: 114/57=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 114-57=57, Resulting Numbers: [57]
57,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 33:[31, 6], Operations: ['93/3=31', '63-57=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,33 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[3, 27], Operations: ['93-57=36', '63-36=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[36, 21], Operations: ['93-57=36', '63/3=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[57, 32], Operations: ['93/3=31', '63-31=32']
Exploring Operation: 57+32=89, Resulting Numbers: [89]
89,33 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 57*32=1824, Resulting Numbers: [1824]
1824,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[36, 60], Operations: ['93-57=36', '63-3=60']
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,33 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[63, 33], Operations: ['93-57=36', '36-3=33']
Exploring Operation: 63+33=96, Resulting Numbers: [96]
96,33 unequal: No Solution
Exploring Operation: 63*33=2079, Resulting Numbers: [2079]
2079,33 unequal: No Solution
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Moving to Node #0,0,4
Current State: 33:[63, 12], Operations: ['93-57=36', '36/3=12']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,33 unequal: No Solution
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[63, 26], Operations: ['93/3=31', '57-31=26']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,33 unequal: No Solution
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,33 unequal: No Solution
Moving to Node #0,1,4
Current State: 33:[63, 88], Operations: ['93/3=31', '57+31=88']
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 63*88=5544, Resulting Numbers: [5544]
5544,33 unequal: No Solution
Exploring Operation: 63+88=151, Resulting Numbers: [151]
151,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[57, 94], Operations: ['93/3=31', '63+31=94']
Exploring Operation: 57*94=5358, Resulting Numbers: [5358]
5358,33 unequal: No Solution
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 57+94=151, Resulting Numbers: [151]
151,33 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
53,
45,
48,
6
] | 46 | [
"53-45=8",
"48+6=54",
"54-8=46"
] | Current State: 46:[53, 45, 48, 6], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [48, 6, 8]
Generated Node #2: [48, 6, 8] from Operation: 53-45=8
Current State: 46:[48, 6, 8], Operations: ['53-45=8']
Exploring Operation: 48+6=54, Resulting Numbers: [8, 54]
Generated Node #3: [8, 54] from Operation: 48+6=54
Current State: 46:[8, 54], Operations: ['53-45=8', '48+6=54']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[53, 45, 48, 6], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [45, 6, 5]
Generated Node #0,0: 46:[45, 6, 5] Operation: 53-48=5
Exploring Operation: 53-45=8, Resulting Numbers: [48, 6, 8]
Generated Node #0,1: 46:[48, 6, 8] Operation: 53-45=8
Exploring Operation: 53-6=47, Resulting Numbers: [45, 48, 47]
Generated Node #0,2: 46:[45, 48, 47] Operation: 53-6=47
Exploring Operation: 48-45=3, Resulting Numbers: [53, 6, 3]
Generated Node #0,3: 46:[53, 6, 3] Operation: 48-45=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[45, 48, 47], Operations: ['53-6=47']
Exploring Operation: 48-47=1, Resulting Numbers: [45, 1]
Generated Node #0,2,0: 46:[45, 1] Operation: 48-47=1
Exploring Operation: 48-45=3, Resulting Numbers: [47, 3]
Generated Node #0,2,1: 46:[47, 3] Operation: 48-45=3
Exploring Operation: 47-45=2, Resulting Numbers: [48, 2]
Generated Node #0,2,2: 46:[48, 2] Operation: 47-45=2
Exploring Operation: 45+48=93, Resulting Numbers: [47, 93]
Generated Node #0,2,3: 46:[47, 93] Operation: 45+48=93
Moving to Node #0,2,0
Current State: 46:[45, 1], Operations: ['53-6=47', '48-47=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[53, 45, 48, 6], Operations: []
Exploring Operation: 53-6=47, Resulting Numbers: [45, 48, 47]
Generated Node #0,2: 46:[45, 48, 47] Operation: 53-6=47
Moving to Node #0,2
Current State: 46:[45, 48, 47], Operations: ['53-6=47']
Exploring Operation: 48-47=1, Resulting Numbers: [45, 1]
Generated Node #0,2,0: 46:[45, 1] Operation: 48-47=1
Moving to Node #0,2,0
Current State: 46:[45, 1], Operations: ['53-6=47', '48-47=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
27,
77,
73,
61
] | 47 | [
"77-73=4",
"27*4=108",
"108-61=47"
] | Current State: 47:[27, 77, 73, 61], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [27, 61, 4]
Generated Node #2: [27, 61, 4] from Operation: 77-73=4
Current State: 47:[27, 61, 4], Operations: ['77-73=4']
Exploring Operation: 27*4=108, Resulting Numbers: [61, 108]
Generated Node #3: [61, 108] from Operation: 27*4=108
Current State: 47:[61, 108], Operations: ['77-73=4', '27*4=108']
Exploring Operation: 108-61=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[27, 77, 73, 61], Operations: []
Exploring Operation: 77-27=50, Resulting Numbers: [73, 61, 50]
Generated Node #0,0: 47:[73, 61, 50] Operation: 77-27=50
Exploring Operation: 73-27=46, Resulting Numbers: [77, 61, 46]
Generated Node #0,1: 47:[77, 61, 46] Operation: 73-27=46
Moving to Node #0,0
Current State: 47:[73, 61, 50], Operations: ['77-27=50']
Exploring Operation: 73-50=23, Resulting Numbers: [61, 23]
Generated Node #0,0,0: 47:[61, 23] Operation: 73-50=23
Exploring Operation: 73-61=12, Resulting Numbers: [50, 12]
Generated Node #0,0,1: 47:[50, 12] Operation: 73-61=12
Moving to Node #0,1
Current State: 47:[77, 61, 46], Operations: ['73-27=46']
Exploring Operation: 77-46=31, Resulting Numbers: [61, 31]
Generated Node #0,1,0: 47:[61, 31] Operation: 77-46=31
Exploring Operation: 77-61=16, Resulting Numbers: [46, 16]
Generated Node #0,1,1: 47:[46, 16] Operation: 77-61=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[61, 31], Operations: ['73-27=46', '77-46=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[46, 16], Operations: ['73-27=46', '77-61=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 47:[61, 23], Operations: ['77-27=50', '73-50=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[50, 12], Operations: ['77-27=50', '73-61=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,47 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
47,
56,
39
] | 87 | [
"2*39=78",
"56-47=9",
"78+9=87"
] | Current State: 87:[2, 47, 56, 39], Operations: []
Exploring Operation: 2*39=78, Resulting Numbers: [47, 56, 78]
Generated Node #2: [47, 56, 78] from Operation: 2*39=78
Current State: 87:[47, 56, 78], Operations: ['2*39=78']
Exploring Operation: 56-47=9, Resulting Numbers: [78, 9]
Generated Node #3: [78, 9] from Operation: 56-47=9
Current State: 87:[78, 9], Operations: ['2*39=78', '56-47=9']
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[2, 47, 56, 39], Operations: []
Exploring Operation: 56-47=9, Resulting Numbers: [2, 39, 9]
Generated Node #0,0: 87:[2, 39, 9] Operation: 56-47=9
Exploring Operation: 56+39=95, Resulting Numbers: [2, 47, 95]
Generated Node #0,1: 87:[2, 47, 95] Operation: 56+39=95
Exploring Operation: 47+56=103, Resulting Numbers: [2, 39, 103]
Generated Node #0,2: 87:[2, 39, 103] Operation: 47+56=103
Moving to Node #0,0
Current State: 87:[2, 39, 9], Operations: ['56-47=9']
Exploring Operation: 39-9=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 87:[2, 30] Operation: 39-9=30
Exploring Operation: 9-2=7, Resulting Numbers: [39, 7]
Generated Node #0,0,1: 87:[39, 7] Operation: 9-2=7
Exploring Operation: 39-2=37, Resulting Numbers: [9, 37]
Generated Node #0,0,2: 87:[9, 37] Operation: 39-2=37
Moving to Node #0,1
Current State: 87:[2, 47, 95], Operations: ['56+39=95']
Exploring Operation: 2*47=94, Resulting Numbers: [95, 94]
Generated Node #0,1,0: 87:[95, 94] Operation: 2*47=94
Exploring Operation: 47-2=45, Resulting Numbers: [95, 45]
Generated Node #0,1,1: 87:[95, 45] Operation: 47-2=45
Exploring Operation: 95-47=48, Resulting Numbers: [2, 48]
Generated Node #0,1,2: 87:[2, 48] Operation: 95-47=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[95, 94], Operations: ['56+39=95', '2*47=94']
Exploring Operation: 95*94=8930, Resulting Numbers: [8930]
8930,87 unequal: No Solution
Exploring Operation: 95+94=189, Resulting Numbers: [189]
189,87 unequal: No Solution
Exploring Operation: 95-94=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[2, 48], Operations: ['56+39=95', '95-47=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[95, 45], Operations: ['56+39=95', '47-2=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,87 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 87:[2, 39, 103], Operations: ['47+56=103']
Exploring Operation: 39-2=37, Resulting Numbers: [103, 37]
Generated Node #0,2,0: 87:[103, 37] Operation: 39-2=37
Exploring Operation: 103-39=64, Resulting Numbers: [2, 64]
Generated Node #0,2,1: 87:[2, 64] Operation: 103-39=64
Exploring Operation: 103-2=101, Resulting Numbers: [39, 101]
Generated Node #0,2,2: 87:[39, 101] Operation: 103-2=101
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[103, 37], Operations: ['47+56=103', '39-2=37']
Exploring Operation: 103+37=140, Resulting Numbers: [140]
140,87 unequal: No Solution
Exploring Operation: 103-37=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 103*37=3811, Resulting Numbers: [3811]
3811,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[2, 64], Operations: ['47+56=103', '103-39=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[39, 101], Operations: ['47+56=103', '103-2=101']
Exploring Operation: 101-39=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Exploring Operation: 39+101=140, Resulting Numbers: [140]
140,87 unequal: No Solution
Exploring Operation: 39*101=3939, Resulting Numbers: [3939]
3939,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 87:[2, 30], Operations: ['56-47=9', '39-9=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[39, 7], Operations: ['56-47=9', '9-2=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[9, 37], Operations: ['56-47=9', '39-2=37']
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,87 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,87 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
30,
36,
66,
67
] | 67 | [
"30+36=66",
"66+67=133",
"133-66=67"
] | Current State: 67:[30, 36, 66, 67], Operations: []
Exploring Operation: 30+36=66, Resulting Numbers: [66, 67, 66]
Generated Node #2: [66, 67, 66] from Operation: 30+36=66
Current State: 67:[66, 67, 66], Operations: ['30+36=66']
Exploring Operation: 66+67=133, Resulting Numbers: [133]
133,67 equal: Goal Reached
Exploring Operation: 133-66=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[30, 36, 66, 67], Operations: []
Exploring Operation: 30+36=66, Resulting Numbers: [66, 67, 66]
Generated Node #0,0: 67:[66, 67, 66] Operation: 30+36=66
Exploring Operation: 30+66=96, Resulting Numbers: [36, 67, 96]
Generated Node #0,1: 67:[36, 67, 96] Operation: 30+66=96
Exploring Operation: 36-30=6, Resulting Numbers: [66, 67, 6]
Generated Node #0,2: 67:[66, 67, 6] Operation: 36-30=6
Moving to Node #0,0
Current State: 67:[66, 67, 66], Operations: ['30+36=66']
Exploring Operation: 66+66=132, Resulting Numbers: [67, 132]
Generated Node #0,0,0: 67:[67, 132] Operation: 66+66=132
Exploring Operation: 66/66=1, Resulting Numbers: [67, 1]
Generated Node #0,0,1: 67:[67, 1] Operation: 66/66=1
Exploring Operation: 66+67=133, Resulting Numbers: [66, 133]
Generated Node #0,0,2: 67:[66, 133] Operation: 66+67=133
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[67, 132], Operations: ['30+36=66', '66+66=132']
Exploring Operation: 67*132=8844, Resulting Numbers: [8844]
8844,67 unequal: No Solution
Exploring Operation: 67+132=199, Resulting Numbers: [199]
199,67 unequal: No Solution
Exploring Operation: 132-67=65, Resulting Numbers: [65]
65,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[67, 1], Operations: ['30+36=66', '66/66=1']
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[30, 36, 66, 67], Operations: []
Exploring Operation: 30+36=66, Resulting Numbers: [66, 67, 66]
Generated Node #0,0: 67:[66, 67, 66] Operation: 30+36=66
Moving to Node #0,0
Current State: 67:[66, 67, 66], Operations: ['30+36=66']
Exploring Operation: 66/66=1, Resulting Numbers: [67, 1]
Generated Node #0,0,1: 67:[67, 1] Operation: 66/66=1
Moving to Node #0,0,1
Current State: 67:[67, 1], Operations: ['30+36=66', '66/66=1']
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
25,
23,
55,
52
] | 58 | [
"25-23=2",
"55*2=110",
"110-52=58"
] | Current State: 58:[25, 23, 55, 52], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [55, 52, 2]
Generated Node #2: [55, 52, 2] from Operation: 25-23=2
Current State: 58:[55, 52, 2], Operations: ['25-23=2']
Exploring Operation: 55*2=110, Resulting Numbers: [52, 110]
Generated Node #3: [52, 110] from Operation: 55*2=110
Current State: 58:[52, 110], Operations: ['25-23=2', '55*2=110']
Exploring Operation: 110-52=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[25, 23, 55, 52], Operations: []
Exploring Operation: 52-23=29, Resulting Numbers: [25, 55, 29]
Generated Node #0,0: 58:[25, 55, 29] Operation: 52-23=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[25, 55, 29], Operations: ['52-23=29']
Exploring Operation: 55-25=30, Resulting Numbers: [29, 30]
Generated Node #0,0,0: 58:[29, 30] Operation: 55-25=30
Moving to Node #0,0,0
Current State: 58:[29, 30], Operations: ['52-23=29', '55-25=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
76,
1,
12
] | 17 | [
"80-76=4",
"1+12=13",
"4+13=17"
] | Current State: 17:[80, 76, 1, 12], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [1, 12, 4]
Generated Node #2: [1, 12, 4] from Operation: 80-76=4
Current State: 17:[1, 12, 4], Operations: ['80-76=4']
Exploring Operation: 1+12=13, Resulting Numbers: [4, 13]
Generated Node #3: [4, 13] from Operation: 1+12=13
Current State: 17:[4, 13], Operations: ['80-76=4', '1+12=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[80, 76, 1, 12], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [1, 12, 4]
Generated Node #0,0: 17:[1, 12, 4] Operation: 80-76=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[1, 12, 4], Operations: ['80-76=4']
Exploring Operation: 1+12=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 17:[4, 13] Operation: 1+12=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[4, 13], Operations: ['80-76=4', '1+12=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[80, 76, 1, 12], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [1, 12, 4]
Generated Node #0,0: 17:[1, 12, 4] Operation: 80-76=4
Moving to Node #0,0
Current State: 17:[1, 12, 4], Operations: ['80-76=4']
Exploring Operation: 1+12=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 17:[4, 13] Operation: 1+12=13
Moving to Node #0,0,0
Current State: 17:[4, 13], Operations: ['80-76=4', '1+12=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
54,
70,
26,
88
] | 29 | [
"88-70=18",
"54/18=3",
"26+3=29"
] | Current State: 29:[54, 70, 26, 88], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [54, 26, 18]
Generated Node #2: [54, 26, 18] from Operation: 88-70=18
Current State: 29:[54, 26, 18], Operations: ['88-70=18']
Exploring Operation: 54/18=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 54/18=3
Current State: 29:[26, 3], Operations: ['88-70=18', '54/18=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[54, 70, 26, 88], Operations: []
Exploring Operation: 70-54=16, Resulting Numbers: [26, 88, 16]
Generated Node #0,0: 29:[26, 88, 16] Operation: 70-54=16
Exploring Operation: 70-26=44, Resulting Numbers: [54, 88, 44]
Generated Node #0,1: 29:[54, 88, 44] Operation: 70-26=44
Exploring Operation: 88-54=34, Resulting Numbers: [70, 26, 34]
Generated Node #0,2: 29:[70, 26, 34] Operation: 88-54=34
Exploring Operation: 88-70=18, Resulting Numbers: [54, 26, 18]
Generated Node #0,3: 29:[54, 26, 18] Operation: 88-70=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[54, 26, 18], Operations: ['88-70=18']
Exploring Operation: 54-18=36, Resulting Numbers: [26, 36]
Generated Node #0,3,0: 29:[26, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [26, 3]
Generated Node #0,3,1: 29:[26, 3] Operation: 54/18=3
Exploring Operation: 26+18=44, Resulting Numbers: [54, 44]
Generated Node #0,3,2: 29:[54, 44] Operation: 26+18=44
Exploring Operation: 54-26=28, Resulting Numbers: [18, 28]
Generated Node #0,3,3: 29:[18, 28] Operation: 54-26=28
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[26, 36], Operations: ['88-70=18', '54-18=36']
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,29 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[18, 28], Operations: ['88-70=18', '54-26=28']
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[26, 3], Operations: ['88-70=18', '54/18=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[54, 70, 26, 88], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [54, 26, 18]
Generated Node #0,3: 29:[54, 26, 18] Operation: 88-70=18
Moving to Node #0,3
Current State: 29:[54, 26, 18], Operations: ['88-70=18']
Exploring Operation: 54/18=3, Resulting Numbers: [26, 3]
Generated Node #0,3,1: 29:[26, 3] Operation: 54/18=3
Moving to Node #0,3,1
Current State: 29:[26, 3], Operations: ['88-70=18', '54/18=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
95,
25,
98,
25
] | 100 | [
"98-95=3",
"25*3=75",
"25+75=100"
] | Current State: 100:[95, 25, 98, 25], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [25, 25, 3]
Generated Node #2: [25, 25, 3] from Operation: 98-95=3
Current State: 100:[25, 25, 3], Operations: ['98-95=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,100 equal: Goal Reached
Exploring Operation: 25+75=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[95, 25, 98, 25], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [25, 25, 3]
Generated Node #0,0: 100:[25, 25, 3] Operation: 98-95=3
Moving to Node #0,0
Current State: 100:[25, 25, 3], Operations: ['98-95=3']
Exploring Operation: 25+25=50, Resulting Numbers: [3, 50]
Generated Node #0,0,0: 100:[3, 50] Operation: 25+25=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[3, 50], Operations: ['98-95=3', '25+25=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
64,
59,
8
] | 44 | [
"87-64=23",
"59+8=67",
"67-23=44"
] | Current State: 44:[87, 64, 59, 8], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [59, 8, 23]
Generated Node #2: [59, 8, 23] from Operation: 87-64=23
Current State: 44:[59, 8, 23], Operations: ['87-64=23']
Exploring Operation: 59+8=67, Resulting Numbers: [23, 67]
Generated Node #3: [23, 67] from Operation: 59+8=67
Current State: 44:[23, 67], Operations: ['87-64=23', '59+8=67']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[87, 64, 59, 8], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [59, 8, 23]
Generated Node #0,0: 44:[59, 8, 23] Operation: 87-64=23
Exploring Operation: 87-59=28, Resulting Numbers: [64, 8, 28]
Generated Node #0,1: 44:[64, 8, 28] Operation: 87-59=28
Exploring Operation: 64-59=5, Resulting Numbers: [87, 8, 5]
Generated Node #0,2: 44:[87, 8, 5] Operation: 64-59=5
Moving to Node #0,0
Current State: 44:[59, 8, 23], Operations: ['87-64=23']
Exploring Operation: 59-8=51, Resulting Numbers: [23, 51]
Generated Node #0,0,0: 44:[23, 51] Operation: 59-8=51
Exploring Operation: 23-8=15, Resulting Numbers: [59, 15]
Generated Node #0,0,1: 44:[59, 15] Operation: 23-8=15
Exploring Operation: 59-23=36, Resulting Numbers: [8, 36]
Generated Node #0,0,2: 44:[8, 36] Operation: 59-23=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[23, 51], Operations: ['87-64=23', '59-8=51']
Exploring Operation: 23*51=1173, Resulting Numbers: [1173]
1173,44 unequal: No Solution
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[8, 36], Operations: ['87-64=23', '59-23=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[87, 64, 59, 8], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [59, 8, 23]
Generated Node #0,0: 44:[59, 8, 23] Operation: 87-64=23
Moving to Node #0,0
Current State: 44:[59, 8, 23], Operations: ['87-64=23']
Exploring Operation: 59-23=36, Resulting Numbers: [8, 36]
Generated Node #0,0,2: 44:[8, 36] Operation: 59-23=36
Moving to Node #0,0,2
Current State: 44:[8, 36], Operations: ['87-64=23', '59-23=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
11,
72,
64,
74
] | 21 | [
"74-72=2",
"64/2=32",
"32-11=21"
] | Current State: 21:[11, 72, 64, 74], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [11, 64, 2]
Generated Node #2: [11, 64, 2] from Operation: 74-72=2
Current State: 21:[11, 64, 2], Operations: ['74-72=2']
Exploring Operation: 64/2=32, Resulting Numbers: [11, 32]
Generated Node #3: [11, 32] from Operation: 64/2=32
Current State: 21:[11, 32], Operations: ['74-72=2', '64/2=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[11, 72, 64, 74], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [11, 72, 10]
Generated Node #0,0: 21:[11, 72, 10] Operation: 74-64=10
Exploring Operation: 74-72=2, Resulting Numbers: [11, 64, 2]
Generated Node #0,1: 21:[11, 64, 2] Operation: 74-72=2
Exploring Operation: 72-11=61, Resulting Numbers: [64, 74, 61]
Generated Node #0,2: 21:[64, 74, 61] Operation: 72-11=61
Exploring Operation: 72-64=8, Resulting Numbers: [11, 74, 8]
Generated Node #0,3: 21:[11, 74, 8] Operation: 72-64=8
Moving to Node #0,1
Current State: 21:[11, 64, 2], Operations: ['74-72=2']
Exploring Operation: 11-2=9, Resulting Numbers: [64, 9]
Generated Node #0,1,0: 21:[64, 9] Operation: 11-2=9
Exploring Operation: 64/2=32, Resulting Numbers: [11, 32]
Generated Node #0,1,1: 21:[11, 32] Operation: 64/2=32
Exploring Operation: 11*2=22, Resulting Numbers: [64, 22]
Generated Node #0,1,2: 21:[64, 22] Operation: 11*2=22
Exploring Operation: 64-11=53, Resulting Numbers: [2, 53]
Generated Node #0,1,3: 21:[2, 53] Operation: 64-11=53
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[11, 32], Operations: ['74-72=2', '64/2=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,21 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[11, 72, 64, 74], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [11, 64, 2]
Generated Node #0,1: 21:[11, 64, 2] Operation: 74-72=2
Moving to Node #0,1
Current State: 21:[11, 64, 2], Operations: ['74-72=2']
Exploring Operation: 64/2=32, Resulting Numbers: [11, 32]
Generated Node #0,1,1: 21:[11, 32] Operation: 64/2=32
Moving to Node #0,1,1
Current State: 21:[11, 32], Operations: ['74-72=2', '64/2=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
37,
88,
3,
31
] | 42 | [
"88-37=51",
"3*31=93",
"93-51=42"
] | Current State: 42:[37, 88, 3, 31], Operations: []
Exploring Operation: 88-37=51, Resulting Numbers: [3, 31, 51]
Generated Node #2: [3, 31, 51] from Operation: 88-37=51
Current State: 42:[3, 31, 51], Operations: ['88-37=51']
Exploring Operation: 3*31=93, Resulting Numbers: [51, 93]
Generated Node #3: [51, 93] from Operation: 3*31=93
Current State: 42:[51, 93], Operations: ['88-37=51', '3*31=93']
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[37, 88, 3, 31], Operations: []
Exploring Operation: 88-37=51, Resulting Numbers: [3, 31, 51]
Generated Node #0,0: 42:[3, 31, 51] Operation: 88-37=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[3, 31, 51], Operations: ['88-37=51']
Exploring Operation: 51-31=20, Resulting Numbers: [3, 20]
Generated Node #0,0,0: 42:[3, 20] Operation: 51-31=20
Moving to Node #0,0,0
Current State: 42:[3, 20], Operations: ['88-37=51', '51-31=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
36,
32,
50
] | 28 | [
"64/32=2",
"50-36=14",
"2*14=28"
] | Current State: 28:[64, 36, 32, 50], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [36, 50, 2]
Generated Node #2: [36, 50, 2] from Operation: 64/32=2
Current State: 28:[36, 50, 2], Operations: ['64/32=2']
Exploring Operation: 50-36=14, Resulting Numbers: [2, 14]
Generated Node #3: [2, 14] from Operation: 50-36=14
Current State: 28:[2, 14], Operations: ['64/32=2', '50-36=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[64, 36, 32, 50], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [36, 32, 14]
Generated Node #0,0: 28:[36, 32, 14] Operation: 64-50=14
Exploring Operation: 64/32=2, Resulting Numbers: [36, 50, 2]
Generated Node #0,1: 28:[36, 50, 2] Operation: 64/32=2
Exploring Operation: 64-36=28, Resulting Numbers: [32, 50, 28]
Generated Node #0,2: 28:[32, 50, 28] Operation: 64-36=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[36, 32, 14], Operations: ['64-50=14']
Exploring Operation: 36-14=22, Resulting Numbers: [32, 22]
Generated Node #0,0,0: 28:[32, 22] Operation: 36-14=22
Exploring Operation: 32-14=18, Resulting Numbers: [36, 18]
Generated Node #0,0,1: 28:[36, 18] Operation: 32-14=18
Exploring Operation: 36-32=4, Resulting Numbers: [14, 4]
Generated Node #0,0,2: 28:[14, 4] Operation: 36-32=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[14, 4], Operations: ['64-50=14', '36-32=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[32, 22], Operations: ['64-50=14', '36-14=22']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,28 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[36, 18], Operations: ['64-50=14', '32-14=18']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[32, 50, 28], Operations: ['64-36=28']
Exploring Operation: 32-28=4, Resulting Numbers: [50, 4]
Generated Node #0,2,0: 28:[50, 4] Operation: 32-28=4
Exploring Operation: 50-32=18, Resulting Numbers: [28, 18]
Generated Node #0,2,1: 28:[28, 18] Operation: 50-32=18
Exploring Operation: 50-28=22, Resulting Numbers: [32, 22]
Generated Node #0,2,2: 28:[32, 22] Operation: 50-28=22
Moving to Node #0,2,1
Current State: 28:[28, 18], Operations: ['64-36=28', '50-32=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,28 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[32, 22], Operations: ['64-36=28', '50-28=22']
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[50, 4], Operations: ['64-36=28', '32-28=4']
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,28 unequal: No Solution
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[36, 50, 2], Operations: ['64/32=2']
Exploring Operation: 50/2=25, Resulting Numbers: [36, 25]
Generated Node #0,1,0: 28:[36, 25] Operation: 50/2=25
Exploring Operation: 36/2=18, Resulting Numbers: [50, 18]
Generated Node #0,1,1: 28:[50, 18] Operation: 36/2=18
Exploring Operation: 50-36=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 28:[2, 14] Operation: 50-36=14
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[2, 14], Operations: ['64/32=2', '50-36=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[64, 36, 32, 50], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [36, 50, 2]
Generated Node #0,1: 28:[36, 50, 2] Operation: 64/32=2
Moving to Node #0,1
Current State: 28:[36, 50, 2], Operations: ['64/32=2']
Exploring Operation: 50-36=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 28:[2, 14] Operation: 50-36=14
Moving to Node #0,1,2
Current State: 28:[2, 14], Operations: ['64/32=2', '50-36=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
74,
3,
38,
95
] | 97 | [
"95-38=57",
"3*57=171",
"171-74=97"
] | Current State: 97:[74, 3, 38, 95], Operations: []
Exploring Operation: 95-38=57, Resulting Numbers: [74, 3, 57]
Generated Node #2: [74, 3, 57] from Operation: 95-38=57
Current State: 97:[74, 3, 57], Operations: ['95-38=57']
Exploring Operation: 3*57=171, Resulting Numbers: [74, 171]
Generated Node #3: [74, 171] from Operation: 3*57=171
Current State: 97:[74, 171], Operations: ['95-38=57', '3*57=171']
Exploring Operation: 171-74=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[74, 3, 38, 95], Operations: []
Exploring Operation: 74+3=77, Resulting Numbers: [38, 95, 77]
Generated Node #0,0: 97:[38, 95, 77] Operation: 74+3=77
Exploring Operation: 3*38=114, Resulting Numbers: [74, 95, 114]
Generated Node #0,1: 97:[74, 95, 114] Operation: 3*38=114
Moving to Node #0,1
Current State: 97:[74, 95, 114], Operations: ['3*38=114']
Exploring Operation: 114-74=40, Resulting Numbers: [95, 40]
Generated Node #0,1,0: 97:[95, 40] Operation: 114-74=40
Exploring Operation: 74+95=169, Resulting Numbers: [114, 169]
Generated Node #0,1,1: 97:[114, 169] Operation: 74+95=169
Moving to Node #0,0
Current State: 97:[38, 95, 77], Operations: ['74+3=77']
Exploring Operation: 38+77=115, Resulting Numbers: [95, 115]
Generated Node #0,0,0: 97:[95, 115] Operation: 38+77=115
Exploring Operation: 38+95=133, Resulting Numbers: [77, 133]
Generated Node #0,0,1: 97:[77, 133] Operation: 38+95=133
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[95, 115], Operations: ['74+3=77', '38+77=115']
Exploring Operation: 95+115=210, Resulting Numbers: [210]
210,97 unequal: No Solution
Exploring Operation: 115-95=20, Resulting Numbers: [20]
20,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[77, 133], Operations: ['74+3=77', '38+95=133']
Exploring Operation: 77+133=210, Resulting Numbers: [210]
210,97 unequal: No Solution
Exploring Operation: 133-77=56, Resulting Numbers: [56]
56,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 97:[95, 40], Operations: ['3*38=114', '114-74=40']
Exploring Operation: 95-40=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 95+40=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[114, 169], Operations: ['3*38=114', '74+95=169']
Exploring Operation: 169-114=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 114+169=283, Resulting Numbers: [283]
283,97 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
21,
10,
38
] | 43 | [
"21-6=15",
"38-10=28",
"15+28=43"
] | Current State: 43:[6, 21, 10, 38], Operations: []
Exploring Operation: 21-6=15, Resulting Numbers: [10, 38, 15]
Generated Node #2: [10, 38, 15] from Operation: 21-6=15
Current State: 43:[10, 38, 15], Operations: ['21-6=15']
Exploring Operation: 38-10=28, Resulting Numbers: [15, 28]
Generated Node #3: [15, 28] from Operation: 38-10=28
Current State: 43:[15, 28], Operations: ['21-6=15', '38-10=28']
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[6, 21, 10, 38], Operations: []
Exploring Operation: 6+21=27, Resulting Numbers: [10, 38, 27]
Generated Node #0,0: 43:[10, 38, 27] Operation: 6+21=27
Exploring Operation: 6*10=60, Resulting Numbers: [21, 38, 60]
Generated Node #0,1: 43:[21, 38, 60] Operation: 6*10=60
Exploring Operation: 6+10=16, Resulting Numbers: [21, 38, 16]
Generated Node #0,2: 43:[21, 38, 16] Operation: 6+10=16
Moving to Node #0,1
Current State: 43:[21, 38, 60], Operations: ['6*10=60']
Exploring Operation: 38-21=17, Resulting Numbers: [60, 17]
Generated Node #0,1,0: 43:[60, 17] Operation: 38-21=17
Exploring Operation: 21+38=59, Resulting Numbers: [60, 59]
Generated Node #0,1,1: 43:[60, 59] Operation: 21+38=59
Exploring Operation: 60-21=39, Resulting Numbers: [38, 39]
Generated Node #0,1,2: 43:[38, 39] Operation: 60-21=39
Moving to Node #0,0
Current State: 43:[10, 38, 27], Operations: ['6+21=27']
Exploring Operation: 10+38=48, Resulting Numbers: [27, 48]
Generated Node #0,0,0: 43:[27, 48] Operation: 10+38=48
Exploring Operation: 10+27=37, Resulting Numbers: [38, 37]
Generated Node #0,0,1: 43:[38, 37] Operation: 10+27=37
Exploring Operation: 38-10=28, Resulting Numbers: [27, 28]
Generated Node #0,0,2: 43:[27, 28] Operation: 38-10=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[38, 37], Operations: ['6+21=27', '10+27=37']
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,43 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[27, 48], Operations: ['6+21=27', '10+38=48']
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,43 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[27, 28], Operations: ['6+21=27', '38-10=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 43:[21, 38, 16], Operations: ['6+10=16']
Exploring Operation: 21+38=59, Resulting Numbers: [16, 59]
Generated Node #0,2,0: 43:[16, 59] Operation: 21+38=59
Exploring Operation: 21+16=37, Resulting Numbers: [38, 37]
Generated Node #0,2,1: 43:[38, 37] Operation: 21+16=37
Exploring Operation: 38+16=54, Resulting Numbers: [21, 54]
Generated Node #0,2,2: 43:[21, 54] Operation: 38+16=54
Moving to Node #0,1,2
Current State: 43:[38, 39], Operations: ['6*10=60', '60-21=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[38, 37], Operations: ['6+10=16', '21+16=37']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[21, 54], Operations: ['6+10=16', '38+16=54']
Exploring Operation: 21*54=1134, Resulting Numbers: [1134]
1134,43 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 21+54=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[60, 59], Operations: ['6*10=60', '21+38=59']
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,43 unequal: No Solution
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,43 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[16, 59], Operations: ['6+10=16', '21+38=59']
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,43 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[6, 21, 10, 38], Operations: []
Exploring Operation: 6+10=16, Resulting Numbers: [21, 38, 16]
Generated Node #0,2: 43:[21, 38, 16] Operation: 6+10=16
Moving to Node #0,2
Current State: 43:[21, 38, 16], Operations: ['6+10=16']
Exploring Operation: 21+38=59, Resulting Numbers: [16, 59]
Generated Node #0,2,0: 43:[16, 59] Operation: 21+38=59
Moving to Node #0,2,0
Current State: 43:[16, 59], Operations: ['6+10=16', '21+38=59']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.965278 | hs_3 | sum_heuristic |
[
28,
8,
26,
11
] | 66 | [
"28-8=20",
"26-20=6",
"11*6=66"
] | Current State: 66:[28, 8, 26, 11], Operations: []
Exploring Operation: 28-8=20, Resulting Numbers: [26, 11, 20]
Generated Node #2: [26, 11, 20] from Operation: 28-8=20
Current State: 66:[26, 11, 20], Operations: ['28-8=20']
Exploring Operation: 26-20=6, Resulting Numbers: [11, 6]
Generated Node #3: [11, 6] from Operation: 26-20=6
Current State: 66:[11, 6], Operations: ['28-8=20', '26-20=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[28, 8, 26, 11], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [8, 11, 2]
Generated Node #0,0: 66:[8, 11, 2] Operation: 28-26=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[8, 11, 2], Operations: ['28-26=2']
Exploring Operation: 11-8=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 66:[2, 3] Operation: 11-8=3
Moving to Node #0,0,0
Current State: 66:[2, 3], Operations: ['28-26=2', '11-8=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
25,
44,
63
] | 40 | [
"84-25=59",
"63-44=19",
"59-19=40"
] | Current State: 40:[84, 25, 44, 63], Operations: []
Exploring Operation: 84-25=59, Resulting Numbers: [44, 63, 59]
Generated Node #2: [44, 63, 59] from Operation: 84-25=59
Current State: 40:[44, 63, 59], Operations: ['84-25=59']
Exploring Operation: 63-44=19, Resulting Numbers: [59, 19]
Generated Node #3: [59, 19] from Operation: 63-44=19
Current State: 40:[59, 19], Operations: ['84-25=59', '63-44=19']
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[84, 25, 44, 63], Operations: []
Exploring Operation: 84-25=59, Resulting Numbers: [44, 63, 59]
Generated Node #0,0: 40:[44, 63, 59] Operation: 84-25=59
Exploring Operation: 84-44=40, Resulting Numbers: [25, 63, 40]
Generated Node #0,1: 40:[25, 63, 40] Operation: 84-44=40
Exploring Operation: 84-63=21, Resulting Numbers: [25, 44, 21]
Generated Node #0,2: 40:[25, 44, 21] Operation: 84-63=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[25, 44, 21], Operations: ['84-63=21']
Exploring Operation: 44-21=23, Resulting Numbers: [25, 23]
Generated Node #0,2,0: 40:[25, 23] Operation: 44-21=23
Exploring Operation: 44-25=19, Resulting Numbers: [21, 19]
Generated Node #0,2,1: 40:[21, 19] Operation: 44-25=19
Exploring Operation: 25-21=4, Resulting Numbers: [44, 4]
Generated Node #0,2,2: 40:[44, 4] Operation: 25-21=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 40:[21, 19], Operations: ['84-63=21', '44-25=19']
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[84, 25, 44, 63], Operations: []
Exploring Operation: 84-63=21, Resulting Numbers: [25, 44, 21]
Generated Node #0,2: 40:[25, 44, 21] Operation: 84-63=21
Moving to Node #0,2
Current State: 40:[25, 44, 21], Operations: ['84-63=21']
Exploring Operation: 44-25=19, Resulting Numbers: [21, 19]
Generated Node #0,2,1: 40:[21, 19] Operation: 44-25=19
Moving to Node #0,2,1
Current State: 40:[21, 19], Operations: ['84-63=21', '44-25=19']
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
17,
96,
62,
90
] | 45 | [
"17*90=1530",
"96-62=34",
"1530/34=45"
] | Current State: 45:[17, 96, 62, 90], Operations: []
Exploring Operation: 17*90=1530, Resulting Numbers: [96, 62, 1530]
Generated Node #2: [96, 62, 1530] from Operation: 17*90=1530
Current State: 45:[96, 62, 1530], Operations: ['17*90=1530']
Exploring Operation: 96-62=34, Resulting Numbers: [1530, 34]
Generated Node #3: [1530, 34] from Operation: 96-62=34
Current State: 45:[1530, 34], Operations: ['17*90=1530', '96-62=34']
Exploring Operation: 1530/34=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[17, 96, 62, 90], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [17, 62, 6]
Generated Node #0,0: 45:[17, 62, 6] Operation: 96-90=6
Exploring Operation: 62-17=45, Resulting Numbers: [96, 90, 45]
Generated Node #0,1: 45:[96, 90, 45] Operation: 62-17=45
Exploring Operation: 96-17=79, Resulting Numbers: [62, 90, 79]
Generated Node #0,2: 45:[62, 90, 79] Operation: 96-17=79
Exploring Operation: 90-62=28, Resulting Numbers: [17, 96, 28]
Generated Node #0,3: 45:[17, 96, 28] Operation: 90-62=28
Exploring Operation: 96-62=34, Resulting Numbers: [17, 90, 34]
Generated Node #0,4: 45:[17, 90, 34] Operation: 96-62=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[17, 62, 6], Operations: ['96-90=6']
Exploring Operation: 17-6=11, Resulting Numbers: [62, 11]
Generated Node #0,0,0: 45:[62, 11] Operation: 17-6=11
Exploring Operation: 62-6=56, Resulting Numbers: [17, 56]
Generated Node #0,0,1: 45:[17, 56] Operation: 62-6=56
Exploring Operation: 62+6=68, Resulting Numbers: [17, 68]
Generated Node #0,0,2: 45:[17, 68] Operation: 62+6=68
Exploring Operation: 62-17=45, Resulting Numbers: [6, 45]
Generated Node #0,0,3: 45:[6, 45] Operation: 62-17=45
Exploring Operation: 17+6=23, Resulting Numbers: [62, 23]
Generated Node #0,0,4: 45:[62, 23] Operation: 17+6=23
Moving to Node #0,0,3
Current State: 45:[6, 45], Operations: ['96-90=6', '62-17=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,45 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[17, 56], Operations: ['96-90=6', '62-6=56']
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,45 unequal: No Solution
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,45 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[62, 11], Operations: ['96-90=6', '17-6=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,45 unequal: No Solution
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,45 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[17, 68], Operations: ['96-90=6', '62+6=68']
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 17*68=1156, Resulting Numbers: [1156]
1156,45 unequal: No Solution
Moving to Node #0,0,4
Current State: 45:[62, 23], Operations: ['96-90=6', '17+6=23']
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,45 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 45:[17, 90, 34], Operations: ['96-62=34']
Exploring Operation: 90-34=56, Resulting Numbers: [17, 56]
Generated Node #0,4,0: 45:[17, 56] Operation: 90-34=56
Exploring Operation: 17+34=51, Resulting Numbers: [90, 51]
Generated Node #0,4,1: 45:[90, 51] Operation: 17+34=51
Exploring Operation: 34-17=17, Resulting Numbers: [90, 17]
Generated Node #0,4,2: 45:[90, 17] Operation: 34-17=17
Exploring Operation: 34/17=2, Resulting Numbers: [90, 2]
Generated Node #0,4,3: 45:[90, 2] Operation: 34/17=2
Exploring Operation: 90-17=73, Resulting Numbers: [34, 73]
Generated Node #0,4,4: 45:[34, 73] Operation: 90-17=73
Moving to Node #0,4,0
Current State: 45:[17, 56], Operations: ['96-62=34', '90-34=56']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,45 unequal: No Solution
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,45 unequal: No Solution
Moving to Node #0,4,4
Current State: 45:[34, 73], Operations: ['96-62=34', '90-17=73']
Exploring Operation: 34*73=2482, Resulting Numbers: [2482]
2482,45 unequal: No Solution
Exploring Operation: 34+73=107, Resulting Numbers: [107]
107,45 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Moving to Node #0,4,3
Current State: 45:[90, 2], Operations: ['96-62=34', '34/17=2']
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,45 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[17, 96, 62, 90], Operations: []
Exploring Operation: 96-62=34, Resulting Numbers: [17, 90, 34]
Generated Node #0,4: 45:[17, 90, 34] Operation: 96-62=34
Moving to Node #0,4
Current State: 45:[17, 90, 34], Operations: ['96-62=34']
Exploring Operation: 34/17=2, Resulting Numbers: [90, 2]
Generated Node #0,4,3: 45:[90, 2] Operation: 34/17=2
Moving to Node #0,4,3
Current State: 45:[90, 2], Operations: ['96-62=34', '34/17=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | mult_heuristic |
[
49,
88,
90,
6
] | 54 | [
"88-49=39",
"90/6=15",
"39+15=54"
] | Current State: 54:[49, 88, 90, 6], Operations: []
Exploring Operation: 88-49=39, Resulting Numbers: [90, 6, 39]
Generated Node #2: [90, 6, 39] from Operation: 88-49=39
Current State: 54:[90, 6, 39], Operations: ['88-49=39']
Exploring Operation: 90/6=15, Resulting Numbers: [39, 15]
Generated Node #3: [39, 15] from Operation: 90/6=15
Current State: 54:[39, 15], Operations: ['88-49=39', '90/6=15']
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[49, 88, 90, 6], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [49, 88, 15]
Generated Node #0,0: 54:[49, 88, 15] Operation: 90/6=15
Exploring Operation: 90-88=2, Resulting Numbers: [49, 6, 2]
Generated Node #0,1: 54:[49, 6, 2] Operation: 90-88=2
Exploring Operation: 90-49=41, Resulting Numbers: [88, 6, 41]
Generated Node #0,2: 54:[88, 6, 41] Operation: 90-49=41
Moving to Node #0,1
Current State: 54:[49, 6, 2], Operations: ['90-88=2']
Exploring Operation: 49+6=55, Resulting Numbers: [2, 55]
Generated Node #0,1,0: 54:[2, 55] Operation: 49+6=55
Exploring Operation: 6/2=3, Resulting Numbers: [49, 3]
Generated Node #0,1,1: 54:[49, 3] Operation: 6/2=3
Exploring Operation: 49+2=51, Resulting Numbers: [6, 51]
Generated Node #0,1,2: 54:[6, 51] Operation: 49+2=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[2, 55], Operations: ['90-88=2', '49+6=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[6, 51], Operations: ['90-88=2', '49+2=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[49, 3], Operations: ['90-88=2', '6/2=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,54 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 54:[49, 88, 15], Operations: ['90/6=15']
Exploring Operation: 49-15=34, Resulting Numbers: [88, 34]
Generated Node #0,0,0: 54:[88, 34] Operation: 49-15=34
Exploring Operation: 88-15=73, Resulting Numbers: [49, 73]
Generated Node #0,0,1: 54:[49, 73] Operation: 88-15=73
Exploring Operation: 88-49=39, Resulting Numbers: [15, 39]
Generated Node #0,0,2: 54:[15, 39] Operation: 88-49=39
Moving to Node #0,2
Current State: 54:[88, 6, 41], Operations: ['90-49=41']
Exploring Operation: 6+41=47, Resulting Numbers: [88, 47]
Generated Node #0,2,0: 54:[88, 47] Operation: 6+41=47
Exploring Operation: 88-41=47, Resulting Numbers: [6, 47]
Generated Node #0,2,1: 54:[6, 47] Operation: 88-41=47
Exploring Operation: 88-6=82, Resulting Numbers: [41, 82]
Generated Node #0,2,2: 54:[41, 82] Operation: 88-6=82
Moving to Node #0,2,1
Current State: 54:[6, 47], Operations: ['90-49=41', '88-41=47']
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,54 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[15, 39], Operations: ['90/6=15', '88-49=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[49, 88, 90, 6], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [49, 88, 15]
Generated Node #0,0: 54:[49, 88, 15] Operation: 90/6=15
Moving to Node #0,0
Current State: 54:[49, 88, 15], Operations: ['90/6=15']
Exploring Operation: 88-49=39, Resulting Numbers: [15, 39]
Generated Node #0,0,2: 54:[15, 39] Operation: 88-49=39
Moving to Node #0,0,2
Current State: 54:[15, 39], Operations: ['90/6=15', '88-49=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
67,
5,
53,
45
] | 69 | [
"67+53=120",
"120/5=24",
"45+24=69"
] | Current State: 69:[67, 5, 53, 45], Operations: []
Exploring Operation: 67+53=120, Resulting Numbers: [5, 45, 120]
Generated Node #2: [5, 45, 120] from Operation: 67+53=120
Current State: 69:[5, 45, 120], Operations: ['67+53=120']
Exploring Operation: 120/5=24, Resulting Numbers: [45, 24]
Generated Node #3: [45, 24] from Operation: 120/5=24
Current State: 69:[45, 24], Operations: ['67+53=120', '120/5=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[67, 5, 53, 45], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [67, 5, 8]
Generated Node #0,0: 69:[67, 5, 8] Operation: 53-45=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[67, 5, 8], Operations: ['53-45=8']
Exploring Operation: 8-5=3, Resulting Numbers: [67, 3]
Generated Node #0,0,0: 69:[67, 3] Operation: 8-5=3
Moving to Node #0,0,0
Current State: 69:[67, 3], Operations: ['53-45=8', '8-5=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
51,
38,
16
] | 51 | [
"80-51=29",
"38-16=22",
"29+22=51"
] | Current State: 51:[80, 51, 38, 16], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [38, 16, 29]
Generated Node #2: [38, 16, 29] from Operation: 80-51=29
Current State: 51:[38, 16, 29], Operations: ['80-51=29']
Exploring Operation: 38-16=22, Resulting Numbers: [29, 22]
Generated Node #3: [29, 22] from Operation: 38-16=22
Current State: 51:[29, 22], Operations: ['80-51=29', '38-16=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[80, 51, 38, 16], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [38, 16, 29]
Generated Node #0,0: 51:[38, 16, 29] Operation: 80-51=29
Exploring Operation: 80-38=42, Resulting Numbers: [51, 16, 42]
Generated Node #0,1: 51:[51, 16, 42] Operation: 80-38=42
Exploring Operation: 80/16=5, Resulting Numbers: [51, 38, 5]
Generated Node #0,2: 51:[51, 38, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [51, 38, 64]
Generated Node #0,3: 51:[51, 38, 64] Operation: 80-16=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[51, 16, 42], Operations: ['80-38=42']
Exploring Operation: 51+16=67, Resulting Numbers: [42, 67]
Generated Node #0,1,0: 51:[42, 67] Operation: 51+16=67
Exploring Operation: 42-16=26, Resulting Numbers: [51, 26]
Generated Node #0,1,1: 51:[51, 26] Operation: 42-16=26
Exploring Operation: 16+42=58, Resulting Numbers: [51, 58]
Generated Node #0,1,2: 51:[51, 58] Operation: 16+42=58
Exploring Operation: 51-42=9, Resulting Numbers: [16, 9]
Generated Node #0,1,3: 51:[16, 9] Operation: 51-42=9
Moving to Node #0,1,2
Current State: 51:[51, 58], Operations: ['80-38=42', '16+42=58']
Exploring Operation: 51*58=2958, Resulting Numbers: [2958]
2958,51 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 51+58=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[16, 9], Operations: ['80-38=42', '51-42=9']
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,51 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[51, 26], Operations: ['80-38=42', '42-16=26']
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[42, 67], Operations: ['80-38=42', '51+16=67']
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,51 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[51, 38, 5], Operations: ['80/16=5']
Exploring Operation: 38+5=43, Resulting Numbers: [51, 43]
Generated Node #0,2,0: 51:[51, 43] Operation: 38+5=43
Exploring Operation: 51-38=13, Resulting Numbers: [5, 13]
Generated Node #0,2,1: 51:[5, 13] Operation: 51-38=13
Exploring Operation: 51+5=56, Resulting Numbers: [38, 56]
Generated Node #0,2,2: 51:[38, 56] Operation: 51+5=56
Exploring Operation: 38-5=33, Resulting Numbers: [51, 33]
Generated Node #0,2,3: 51:[51, 33] Operation: 38-5=33
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[5, 13], Operations: ['80/16=5', '51-38=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[51, 43], Operations: ['80/16=5', '38+5=43']
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,51 unequal: No Solution
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,51 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[51, 33], Operations: ['80/16=5', '38-5=33']
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,51 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[38, 56], Operations: ['80/16=5', '51+5=56']
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,51 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,51 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[38, 16, 29], Operations: ['80-51=29']
Exploring Operation: 38-16=22, Resulting Numbers: [29, 22]
Generated Node #0,0,0: 51:[29, 22] Operation: 38-16=22
Exploring Operation: 38+29=67, Resulting Numbers: [16, 67]
Generated Node #0,0,1: 51:[16, 67] Operation: 38+29=67
Exploring Operation: 38-29=9, Resulting Numbers: [16, 9]
Generated Node #0,0,2: 51:[16, 9] Operation: 38-29=9
Exploring Operation: 38+16=54, Resulting Numbers: [29, 54]
Generated Node #0,0,3: 51:[29, 54] Operation: 38+16=54
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[16, 9], Operations: ['80-51=29', '38-29=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,51 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[29, 54], Operations: ['80-51=29', '38+16=54']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,51 unequal: No Solution
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[29, 22], Operations: ['80-51=29', '38-16=22']
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,51 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[80, 51, 38, 16], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [38, 16, 29]
Generated Node #0,0: 51:[38, 16, 29] Operation: 80-51=29
Moving to Node #0,0
Current State: 51:[38, 16, 29], Operations: ['80-51=29']
Exploring Operation: 38-16=22, Resulting Numbers: [29, 22]
Generated Node #0,0,0: 51:[29, 22] Operation: 38-16=22
Moving to Node #0,0,0
Current State: 51:[29, 22], Operations: ['80-51=29', '38-16=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.954861 | hs_4 | mult_heuristic |
[
16,
64,
22,
2
] | 83 | [
"16+22=38",
"38/2=19",
"64+19=83"
] | Current State: 83:[16, 64, 22, 2], Operations: []
Exploring Operation: 16+22=38, Resulting Numbers: [64, 2, 38]
Generated Node #2: [64, 2, 38] from Operation: 16+22=38
Current State: 83:[64, 2, 38], Operations: ['16+22=38']
Exploring Operation: 38/2=19, Resulting Numbers: [64, 19]
Generated Node #3: [64, 19] from Operation: 38/2=19
Current State: 83:[64, 19], Operations: ['16+22=38', '38/2=19']
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[16, 64, 22, 2], Operations: []
Exploring Operation: 16*2=32, Resulting Numbers: [64, 22, 32]
Generated Node #0,0: 83:[64, 22, 32] Operation: 16*2=32
Exploring Operation: 16+64=80, Resulting Numbers: [22, 2, 80]
Generated Node #0,1: 83:[22, 2, 80] Operation: 16+64=80
Exploring Operation: 16+2=18, Resulting Numbers: [64, 22, 18]
Generated Node #0,2: 83:[64, 22, 18] Operation: 16+2=18
Exploring Operation: 22*2=44, Resulting Numbers: [16, 64, 44]
Generated Node #0,3: 83:[16, 64, 44] Operation: 22*2=44
Exploring Operation: 16+22=38, Resulting Numbers: [64, 2, 38]
Generated Node #0,4: 83:[64, 2, 38] Operation: 16+22=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[16, 64, 44], Operations: ['22*2=44']
Exploring Operation: 64+44=108, Resulting Numbers: [16, 108]
Generated Node #0,3,0: 83:[16, 108] Operation: 64+44=108
Exploring Operation: 44-16=28, Resulting Numbers: [64, 28]
Generated Node #0,3,1: 83:[64, 28] Operation: 44-16=28
Exploring Operation: 64-16=48, Resulting Numbers: [44, 48]
Generated Node #0,3,2: 83:[44, 48] Operation: 64-16=48
Exploring Operation: 16+64=80, Resulting Numbers: [44, 80]
Generated Node #0,3,3: 83:[44, 80] Operation: 16+64=80
Exploring Operation: 16+44=60, Resulting Numbers: [64, 60]
Generated Node #0,3,4: 83:[64, 60] Operation: 16+44=60
Moving to Node #0,3,3
Current State: 83:[44, 80], Operations: ['22*2=44', '16+64=80']
Exploring Operation: 44*80=3520, Resulting Numbers: [3520]
3520,83 unequal: No Solution
Exploring Operation: 44+80=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 80-44=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[64, 60], Operations: ['22*2=44', '16+44=60']
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[64, 28], Operations: ['22*2=44', '44-16=28']
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[44, 48], Operations: ['22*2=44', '64-16=48']
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,83 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[16, 108], Operations: ['22*2=44', '64+44=108']
Exploring Operation: 16*108=1728, Resulting Numbers: [1728]
1728,83 unequal: No Solution
Exploring Operation: 16+108=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 108-16=92, Resulting Numbers: [92]
92,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[64, 22, 32], Operations: ['16*2=32']
Exploring Operation: 64-22=42, Resulting Numbers: [32, 42]
Generated Node #0,0,0: 83:[32, 42] Operation: 64-22=42
Exploring Operation: 64+22=86, Resulting Numbers: [32, 86]
Generated Node #0,0,1: 83:[32, 86] Operation: 64+22=86
Exploring Operation: 64+32=96, Resulting Numbers: [22, 96]
Generated Node #0,0,2: 83:[22, 96] Operation: 64+32=96
Exploring Operation: 22+32=54, Resulting Numbers: [64, 54]
Generated Node #0,0,3: 83:[64, 54] Operation: 22+32=54
Exploring Operation: 32-22=10, Resulting Numbers: [64, 10]
Generated Node #0,0,4: 83:[64, 10] Operation: 32-22=10
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[64, 54], Operations: ['16*2=32', '22+32=54']
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,83 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[32, 86], Operations: ['16*2=32', '64+22=86']
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[22, 96], Operations: ['16*2=32', '64+32=96']
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 22*96=2112, Resulting Numbers: [2112]
2112,83 unequal: No Solution
Exploring Operation: 22+96=118, Resulting Numbers: [118]
118,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[32, 42], Operations: ['16*2=32', '64-22=42']
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,83 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 83:[64, 10], Operations: ['16*2=32', '32-22=10']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 64*10=640, Resulting Numbers: [640]
640,83 unequal: No Solution
Exploring Operation: 64+10=74, Resulting Numbers: [74]
74,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[22, 2, 80], Operations: ['16+64=80']
Exploring Operation: 22+2=24, Resulting Numbers: [80, 24]
Generated Node #0,1,0: 83:[80, 24] Operation: 22+2=24
Exploring Operation: 80-2=78, Resulting Numbers: [22, 78]
Generated Node #0,1,1: 83:[22, 78] Operation: 80-2=78
Exploring Operation: 22*2=44, Resulting Numbers: [80, 44]
Generated Node #0,1,2: 83:[80, 44] Operation: 22*2=44
Exploring Operation: 22-2=20, Resulting Numbers: [80, 20]
Generated Node #0,1,3: 83:[80, 20] Operation: 22-2=20
Exploring Operation: 2+80=82, Resulting Numbers: [22, 82]
Generated Node #0,1,4: 83:[22, 82] Operation: 2+80=82
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[80, 44], Operations: ['16+64=80', '22*2=44']
Exploring Operation: 80-44=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 80+44=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 80*44=3520, Resulting Numbers: [3520]
3520,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[80, 24], Operations: ['16+64=80', '22+2=24']
Exploring Operation: 80*24=1920, Resulting Numbers: [1920]
1920,83 unequal: No Solution
Exploring Operation: 80+24=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 83:[22, 82], Operations: ['16+64=80', '2+80=82']
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 22+82=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 22*82=1804, Resulting Numbers: [1804]
1804,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[22, 78], Operations: ['16+64=80', '80-2=78']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 22*78=1716, Resulting Numbers: [1716]
1716,83 unequal: No Solution
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[80, 20], Operations: ['16+64=80', '22-2=20']
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 80*20=1600, Resulting Numbers: [1600]
1600,83 unequal: No Solution
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[64, 22, 18], Operations: ['16+2=18']
Exploring Operation: 64-18=46, Resulting Numbers: [22, 46]
Generated Node #0,2,0: 83:[22, 46] Operation: 64-18=46
Exploring Operation: 22+18=40, Resulting Numbers: [64, 40]
Generated Node #0,2,1: 83:[64, 40] Operation: 22+18=40
Exploring Operation: 64+22=86, Resulting Numbers: [18, 86]
Generated Node #0,2,2: 83:[18, 86] Operation: 64+22=86
Exploring Operation: 64+18=82, Resulting Numbers: [22, 82]
Generated Node #0,2,3: 83:[22, 82] Operation: 64+18=82
Exploring Operation: 22-18=4, Resulting Numbers: [64, 4]
Generated Node #0,2,4: 83:[64, 4] Operation: 22-18=4
Moving to Node #0,2,1
Current State: 83:[64, 40], Operations: ['16+2=18', '22+18=40']
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,83 unequal: No Solution
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[22, 82], Operations: ['16+2=18', '64+18=82']
Exploring Operation: 22+82=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 22*82=1804, Resulting Numbers: [1804]
1804,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[18, 86], Operations: ['16+2=18', '64+22=86']
Exploring Operation: 18*86=1548, Resulting Numbers: [1548]
1548,83 unequal: No Solution
Exploring Operation: 18+86=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[22, 46], Operations: ['16+2=18', '64-18=46']
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,83 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[64, 4], Operations: ['16+2=18', '22-18=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,83 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[64, 2, 38], Operations: ['16+22=38']
Exploring Operation: 64-2=62, Resulting Numbers: [38, 62]
Generated Node #0,4,0: 83:[38, 62] Operation: 64-2=62
Exploring Operation: 2+38=40, Resulting Numbers: [64, 40]
Generated Node #0,4,1: 83:[64, 40] Operation: 2+38=40
Exploring Operation: 64+2=66, Resulting Numbers: [38, 66]
Generated Node #0,4,2: 83:[38, 66] Operation: 64+2=66
Exploring Operation: 38-2=36, Resulting Numbers: [64, 36]
Generated Node #0,4,3: 83:[64, 36] Operation: 38-2=36
Exploring Operation: 2*38=76, Resulting Numbers: [64, 76]
Generated Node #0,4,4: 83:[64, 76] Operation: 2*38=76
Moving to Node #0,4,4
Current State: 83:[64, 76], Operations: ['16+22=38', '2*38=76']
Exploring Operation: 64*76=4864, Resulting Numbers: [4864]
4864,83 unequal: No Solution
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 64+76=140, Resulting Numbers: [140]
140,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[38, 66], Operations: ['16+22=38', '64+2=66']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 38*66=2508, Resulting Numbers: [2508]
2508,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[64, 40], Operations: ['16+22=38', '2+38=40']
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,83 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[38, 62], Operations: ['16+22=38', '64-2=62']
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[64, 36], Operations: ['16+22=38', '38-2=36']
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
17,
65,
79,
56
] | 25 | [
"65-17=48",
"79-56=23",
"48-23=25"
] | Current State: 25:[17, 65, 79, 56], Operations: []
Exploring Operation: 65-17=48, Resulting Numbers: [79, 56, 48]
Generated Node #2: [79, 56, 48] from Operation: 65-17=48
Current State: 25:[79, 56, 48], Operations: ['65-17=48']
Exploring Operation: 79-56=23, Resulting Numbers: [48, 23]
Generated Node #3: [48, 23] from Operation: 79-56=23
Current State: 25:[48, 23], Operations: ['65-17=48', '79-56=23']
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[17, 65, 79, 56], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [17, 56, 14]
Generated Node #0,0: 25:[17, 56, 14] Operation: 79-65=14
Exploring Operation: 65-56=9, Resulting Numbers: [17, 79, 9]
Generated Node #0,1: 25:[17, 79, 9] Operation: 65-56=9
Exploring Operation: 65-17=48, Resulting Numbers: [79, 56, 48]
Generated Node #0,2: 25:[79, 56, 48] Operation: 65-17=48
Exploring Operation: 79-56=23, Resulting Numbers: [17, 65, 23]
Generated Node #0,3: 25:[17, 65, 23] Operation: 79-56=23
Moving to Node #0,0
Current State: 25:[17, 56, 14], Operations: ['79-65=14']
Exploring Operation: 17-14=3, Resulting Numbers: [56, 3]
Generated Node #0,0,0: 25:[56, 3] Operation: 17-14=3
Exploring Operation: 56/14=4, Resulting Numbers: [17, 4]
Generated Node #0,0,1: 25:[17, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [17, 42]
Generated Node #0,0,2: 25:[17, 42] Operation: 56-14=42
Exploring Operation: 56-17=39, Resulting Numbers: [14, 39]
Generated Node #0,0,3: 25:[14, 39] Operation: 56-17=39
Moving to Node #0,3
Current State: 25:[17, 65, 23], Operations: ['79-56=23']
Exploring Operation: 65-17=48, Resulting Numbers: [23, 48]
Generated Node #0,3,0: 25:[23, 48] Operation: 65-17=48
Exploring Operation: 23-17=6, Resulting Numbers: [65, 6]
Generated Node #0,3,1: 25:[65, 6] Operation: 23-17=6
Exploring Operation: 65-23=42, Resulting Numbers: [17, 42]
Generated Node #0,3,2: 25:[17, 42] Operation: 65-23=42
Exploring Operation: 17+23=40, Resulting Numbers: [65, 40]
Generated Node #0,3,3: 25:[65, 40] Operation: 17+23=40
Moving to Node #0,1
Current State: 25:[17, 79, 9], Operations: ['65-56=9']
Exploring Operation: 79-17=62, Resulting Numbers: [9, 62]
Generated Node #0,1,0: 25:[9, 62] Operation: 79-17=62
Exploring Operation: 79-9=70, Resulting Numbers: [17, 70]
Generated Node #0,1,1: 25:[17, 70] Operation: 79-9=70
Exploring Operation: 17-9=8, Resulting Numbers: [79, 8]
Generated Node #0,1,2: 25:[79, 8] Operation: 17-9=8
Exploring Operation: 17+9=26, Resulting Numbers: [79, 26]
Generated Node #0,1,3: 25:[79, 26] Operation: 17+9=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[9, 62], Operations: ['65-56=9', '79-17=62']
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,25 unequal: No Solution
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[17, 70], Operations: ['65-56=9', '79-9=70']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 17*70=1190, Resulting Numbers: [1190]
1190,25 unequal: No Solution
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[79, 26], Operations: ['65-56=9', '17+9=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[79, 8], Operations: ['65-56=9', '17-9=8']
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 25:[79, 56, 48], Operations: ['65-17=48']
Exploring Operation: 79-56=23, Resulting Numbers: [48, 23]
Generated Node #0,2,0: 25:[48, 23] Operation: 79-56=23
Exploring Operation: 56-48=8, Resulting Numbers: [79, 8]
Generated Node #0,2,1: 25:[79, 8] Operation: 56-48=8
Exploring Operation: 79-48=31, Resulting Numbers: [56, 31]
Generated Node #0,2,2: 25:[56, 31] Operation: 79-48=31
Exploring Operation: 79+56=135, Resulting Numbers: [48, 135]
Generated Node #0,2,3: 25:[48, 135] Operation: 79+56=135
Moving to Node #0,0,1
Current State: 25:[17, 4], Operations: ['79-65=14', '56/14=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[14, 39], Operations: ['79-65=14', '56-17=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[17, 65, 79, 56], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [17, 56, 14]
Generated Node #0,0: 25:[17, 56, 14] Operation: 79-65=14
Moving to Node #0,0
Current State: 25:[17, 56, 14], Operations: ['79-65=14']
Exploring Operation: 56-17=39, Resulting Numbers: [14, 39]
Generated Node #0,0,3: 25:[14, 39] Operation: 56-17=39
Moving to Node #0,0,3
Current State: 25:[14, 39], Operations: ['79-65=14', '56-17=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.965278 | hs_4 | mult_heuristic |
[
92,
99,
86,
84
] | 85 | [
"92-86=6",
"84/6=14",
"99-14=85"
] | Current State: 85:[92, 99, 86, 84], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [99, 84, 6]
Generated Node #2: [99, 84, 6] from Operation: 92-86=6
Current State: 85:[99, 84, 6], Operations: ['92-86=6']
Exploring Operation: 84/6=14, Resulting Numbers: [99, 14]
Generated Node #3: [99, 14] from Operation: 84/6=14
Current State: 85:[99, 14], Operations: ['92-86=6', '84/6=14']
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[92, 99, 86, 84], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [86, 84, 7]
Generated Node #0,0: 85:[86, 84, 7] Operation: 99-92=7
Exploring Operation: 92-84=8, Resulting Numbers: [99, 86, 8]
Generated Node #0,1: 85:[99, 86, 8] Operation: 92-84=8
Exploring Operation: 99-84=15, Resulting Numbers: [92, 86, 15]
Generated Node #0,2: 85:[92, 86, 15] Operation: 99-84=15
Exploring Operation: 99-86=13, Resulting Numbers: [92, 84, 13]
Generated Node #0,3: 85:[92, 84, 13] Operation: 99-86=13
Exploring Operation: 92-86=6, Resulting Numbers: [99, 84, 6]
Generated Node #0,4: 85:[99, 84, 6] Operation: 92-86=6
Moving to Node #0,0
Current State: 85:[86, 84, 7], Operations: ['99-92=7']
Exploring Operation: 86+7=93, Resulting Numbers: [84, 93]
Generated Node #0,0,0: 85:[84, 93] Operation: 86+7=93
Exploring Operation: 86-7=79, Resulting Numbers: [84, 79]
Generated Node #0,0,1: 85:[84, 79] Operation: 86-7=79
Exploring Operation: 84/7=12, Resulting Numbers: [86, 12]
Generated Node #0,0,2: 85:[86, 12] Operation: 84/7=12
Exploring Operation: 84+7=91, Resulting Numbers: [86, 91]
Generated Node #0,0,3: 85:[86, 91] Operation: 84+7=91
Exploring Operation: 86-84=2, Resulting Numbers: [7, 2]
Generated Node #0,0,4: 85:[7, 2] Operation: 86-84=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 85:[7, 2], Operations: ['99-92=7', '86-84=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[86, 12], Operations: ['99-92=7', '84/7=12']
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[84, 79], Operations: ['99-92=7', '86-7=79']
Exploring Operation: 84*79=6636, Resulting Numbers: [6636]
6636,85 unequal: No Solution
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 84+79=163, Resulting Numbers: [163]
163,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 85:[86, 91], Operations: ['99-92=7', '84+7=91']
Exploring Operation: 86*91=7826, Resulting Numbers: [7826]
7826,85 unequal: No Solution
Exploring Operation: 86+91=177, Resulting Numbers: [177]
177,85 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[84, 93], Operations: ['99-92=7', '86+7=93']
Exploring Operation: 84*93=7812, Resulting Numbers: [7812]
7812,85 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 84+93=177, Resulting Numbers: [177]
177,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 85:[92, 86, 15], Operations: ['99-84=15']
Exploring Operation: 92+15=107, Resulting Numbers: [86, 107]
Generated Node #0,2,0: 85:[86, 107] Operation: 92+15=107
Exploring Operation: 86+15=101, Resulting Numbers: [92, 101]
Generated Node #0,2,1: 85:[92, 101] Operation: 86+15=101
Exploring Operation: 86-15=71, Resulting Numbers: [92, 71]
Generated Node #0,2,2: 85:[92, 71] Operation: 86-15=71
Exploring Operation: 92-86=6, Resulting Numbers: [15, 6]
Generated Node #0,2,3: 85:[15, 6] Operation: 92-86=6
Exploring Operation: 92-15=77, Resulting Numbers: [86, 77]
Generated Node #0,2,4: 85:[86, 77] Operation: 92-15=77
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[15, 6], Operations: ['99-84=15', '92-86=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 85:[86, 77], Operations: ['99-84=15', '92-15=77']
Exploring Operation: 86+77=163, Resulting Numbers: [163]
163,85 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 86*77=6622, Resulting Numbers: [6622]
6622,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[92, 71], Operations: ['99-84=15', '86-15=71']
Exploring Operation: 92+71=163, Resulting Numbers: [163]
163,85 unequal: No Solution
Exploring Operation: 92*71=6532, Resulting Numbers: [6532]
6532,85 unequal: No Solution
Exploring Operation: 92-71=21, Resulting Numbers: [21]
21,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[86, 107], Operations: ['99-84=15', '92+15=107']
Exploring Operation: 107-86=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 86*107=9202, Resulting Numbers: [9202]
9202,85 unequal: No Solution
Exploring Operation: 86+107=193, Resulting Numbers: [193]
193,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[92, 101], Operations: ['99-84=15', '86+15=101']
Exploring Operation: 92+101=193, Resulting Numbers: [193]
193,85 unequal: No Solution
Exploring Operation: 101-92=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 92*101=9292, Resulting Numbers: [9292]
9292,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 85:[92, 84, 13], Operations: ['99-86=13']
Exploring Operation: 92+13=105, Resulting Numbers: [84, 105]
Generated Node #0,3,0: 85:[84, 105] Operation: 92+13=105
Exploring Operation: 92-13=79, Resulting Numbers: [84, 79]
Generated Node #0,3,1: 85:[84, 79] Operation: 92-13=79
Exploring Operation: 84-13=71, Resulting Numbers: [92, 71]
Generated Node #0,3,2: 85:[92, 71] Operation: 84-13=71
Exploring Operation: 84+13=97, Resulting Numbers: [92, 97]
Generated Node #0,3,3: 85:[92, 97] Operation: 84+13=97
Exploring Operation: 92-84=8, Resulting Numbers: [13, 8]
Generated Node #0,3,4: 85:[13, 8] Operation: 92-84=8
Moving to Node #0,4
Current State: 85:[99, 84, 6], Operations: ['92-86=6']
Exploring Operation: 84/6=14, Resulting Numbers: [99, 14]
Generated Node #0,4,0: 85:[99, 14] Operation: 84/6=14
Exploring Operation: 99+6=105, Resulting Numbers: [84, 105]
Generated Node #0,4,1: 85:[84, 105] Operation: 99+6=105
Exploring Operation: 99-6=93, Resulting Numbers: [84, 93]
Generated Node #0,4,2: 85:[84, 93] Operation: 99-6=93
Exploring Operation: 99-84=15, Resulting Numbers: [6, 15]
Generated Node #0,4,3: 85:[6, 15] Operation: 99-84=15
Exploring Operation: 84+6=90, Resulting Numbers: [99, 90]
Generated Node #0,4,4: 85:[99, 90] Operation: 84+6=90
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 85:[6, 15], Operations: ['92-86=6', '99-84=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 85:[84, 93], Operations: ['92-86=6', '99-6=93']
Exploring Operation: 84*93=7812, Resulting Numbers: [7812]
7812,85 unequal: No Solution
Exploring Operation: 84+93=177, Resulting Numbers: [177]
177,85 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 85:[99, 14], Operations: ['92-86=6', '84/6=14']
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[92, 99, 86, 84], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [99, 84, 6]
Generated Node #0,4: 85:[99, 84, 6] Operation: 92-86=6
Moving to Node #0,4
Current State: 85:[99, 84, 6], Operations: ['92-86=6']
Exploring Operation: 84/6=14, Resulting Numbers: [99, 14]
Generated Node #0,4,0: 85:[99, 14] Operation: 84/6=14
Moving to Node #0,4,0
Current State: 85:[99, 14], Operations: ['92-86=6', '84/6=14']
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.